1. Packages
  2. Azure Native
  3. API Docs
  4. network
  5. getTrafficManagerUserMetricsKey
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native.network.getTrafficManagerUserMetricsKey

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

Get the subscription-level key used for Real User Metrics collection.

Uses Azure REST API version 2022-04-01.

Other available API versions: 2022-04-01-preview.

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>
Copy
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]
Copy
func LookupTrafficManagerUserMetricsKey(ctx *Context, args *LookupTrafficManagerUserMetricsKeyArgs, opts ...InvokeOption) (*LookupTrafficManagerUserMetricsKeyResult, error)
func LookupTrafficManagerUserMetricsKeyOutput(ctx *Context, args *LookupTrafficManagerUserMetricsKeyOutputArgs, opts ...InvokeOption) LookupTrafficManagerUserMetricsKeyResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetTrafficManagerUserMetricsKeyResult> getTrafficManagerUserMetricsKey(GetTrafficManagerUserMetricsKeyArgs args, InvokeOptions options)
public static Output<GetTrafficManagerUserMetricsKeyResult> getTrafficManagerUserMetricsKey(GetTrafficManagerUserMetricsKeyArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:network:getTrafficManagerUserMetricsKey
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

getTrafficManagerUserMetricsKey Result

The following output properties are available:

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.
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.
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.
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.
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.
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
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi