@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.17 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Get the subscription-level key used for Real User Metrics collection.
*
* Uses Azure REST API version 2022-04-01.
*
* Other available API versions: 2017-09-01-preview, 2018-04-01, 2018-08-01, 2022-04-01-preview, 2024-04-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native trafficmanager [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getTrafficManagerUserMetricsKey(args?: GetTrafficManagerUserMetricsKeyArgs, opts?: pulumi.InvokeOptions): Promise<GetTrafficManagerUserMetricsKeyResult>;
export interface GetTrafficManagerUserMetricsKeyArgs {
}
/**
* Class representing Traffic Manager User Metrics.
*/
export interface GetTrafficManagerUserMetricsKeyResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
*/
readonly id?: string;
/**
* The key returned by the User Metrics operation.
*/
readonly key?: string;
/**
* The name of the resource
*/
readonly name?: string;
/**
* The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.
*/
readonly type?: string;
}
/**
* Get the subscription-level key used for Real User Metrics collection.
*
* Uses Azure REST API version 2022-04-01.
*
* Other available API versions: 2017-09-01-preview, 2018-04-01, 2018-08-01, 2022-04-01-preview, 2024-04-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native trafficmanager [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getTrafficManagerUserMetricsKeyOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetTrafficManagerUserMetricsKeyResult>;