azure-native.trafficmanager.getTrafficManagerUserMetricsKey
Explore with Pulumi AI
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. 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 for details.
Using getTrafficManagerUserMetricsKey
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getTrafficManagerUserMetricsKey(args: GetTrafficManagerUserMetricsKeyArgs, opts?: InvokeOptions): Promise<GetTrafficManagerUserMetricsKeyResult>
function getTrafficManagerUserMetricsKeyOutput(args: GetTrafficManagerUserMetricsKeyOutputArgs, opts?: InvokeOptions): Output<GetTrafficManagerUserMetricsKeyResult>
def get_traffic_manager_user_metrics_key(opts: Optional[InvokeOptions] = None) -> GetTrafficManagerUserMetricsKeyResult
def get_traffic_manager_user_metrics_key_output(opts: Optional[InvokeOptions] = None) -> Output[GetTrafficManagerUserMetricsKeyResult]
func LookupTrafficManagerUserMetricsKey(ctx *Context, args *LookupTrafficManagerUserMetricsKeyArgs, opts ...InvokeOption) (*LookupTrafficManagerUserMetricsKeyResult, error)
func LookupTrafficManagerUserMetricsKeyOutput(ctx *Context, args *LookupTrafficManagerUserMetricsKeyOutputArgs, opts ...InvokeOption) LookupTrafficManagerUserMetricsKeyResultOutput
> Note: This function is named LookupTrafficManagerUserMetricsKey
in the Go SDK.
public static class GetTrafficManagerUserMetricsKey
{
public static Task<GetTrafficManagerUserMetricsKeyResult> InvokeAsync(GetTrafficManagerUserMetricsKeyArgs args, InvokeOptions? opts = null)
public static Output<GetTrafficManagerUserMetricsKeyResult> Invoke(GetTrafficManagerUserMetricsKeyInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTrafficManagerUserMetricsKeyResult> getTrafficManagerUserMetricsKey(GetTrafficManagerUserMetricsKeyArgs args, InvokeOptions options)
public static Output<GetTrafficManagerUserMetricsKeyResult> getTrafficManagerUserMetricsKey(GetTrafficManagerUserMetricsKeyArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:trafficmanager:getTrafficManagerUserMetricsKey
arguments:
# arguments dictionary
The following arguments are supported:
getTrafficManagerUserMetricsKey Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
- Key string
- The key returned by the User Metrics operation.
- Name string
- The name of the resource
- Type string
- The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
- Key string
- The key returned by the User Metrics operation.
- Name string
- The name of the resource
- Type string
- The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
- key String
- The key returned by the User Metrics operation.
- name String
- The name of the resource
- type String
- The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
- key string
- The key returned by the User Metrics operation.
- name string
- The name of the resource
- type string
- The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.
- azure_
api_ strversion - The Azure API version of the resource.
- id str
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
- key str
- The key returned by the User Metrics operation.
- name str
- The name of the resource
- type str
- The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
- key String
- The key returned by the User Metrics operation.
- name String
- The name of the resource
- type String
- The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0