TrafficManagerUserMetricsKeysOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

TrafficManagerManagementClient's

<xref:traffic_manager_user_metrics_keys> attribute.

Constructor

TrafficManagerUserMetricsKeysOperations(*args, **kwargs)

Methods

create_or_update

Create or update a subscription-level key used for Real User Metrics collection.

delete

Delete a subscription-level key used for Real User Metrics collection.

get

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

create_or_update

Create or update a subscription-level key used for Real User Metrics collection.

async create_or_update(**kwargs: Any) -> UserMetricsModel

Keyword-Only Parameters

Name Description
cls

A custom type or function that will be passed the direct response

Returns

Type Description

UserMetricsModel or the result of cls(response)

Exceptions

Type Description

delete

Delete a subscription-level key used for Real User Metrics collection.

async delete(**kwargs: Any) -> DeleteOperationResult

Keyword-Only Parameters

Name Description
cls

A custom type or function that will be passed the direct response

Returns

Type Description

DeleteOperationResult or the result of cls(response)

Exceptions

Type Description

get

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

async get(**kwargs: Any) -> UserMetricsModel

Keyword-Only Parameters

Name Description
cls

A custom type or function that will be passed the direct response

Returns

Type Description

UserMetricsModel or the result of cls(response)

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.trafficmanager.models' from 'C:\\ToolCache\\Python\\3.12.10\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv264\\Lib\\site-packages\\azure\\mgmt\\trafficmanager\\models\\__init__.py'>