Compartilhar via


RoleAssignmentMetricsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

AuthorizationManagementClient's

<xref:role_assignment_metrics> attribute.

Inheritance
builtins.object
RoleAssignmentMetricsOperations

Constructor

RoleAssignmentMetricsOperations(*args, **kwargs)

Methods

get_metrics_for_subscription

Get role assignment usage metrics for a subscription.

get_metrics_for_subscription

Get role assignment usage metrics for a subscription.

get_metrics_for_subscription(**kwargs: Any) -> RoleAssignmentMetricsResult

Keyword-Only Parameters

Name Description
cls

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

Returns

Type Description

RoleAssignmentMetricsResult or the result of cls(response)

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.authorization.v2019_08_01_preview.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\authorization\\v2019_08_01_preview\\models\\__init__.py'>