Dela via


RoleAssignmentMetricsOperations Klass

Varning

Instansiera INTE den här klassen direkt.

I stället bör du komma åt följande åtgärder via

AuthorizationManagementClient's

<xref:role_assignment_metrics> Attributet.

Arv
builtins.object
RoleAssignmentMetricsOperations

Konstruktor

RoleAssignmentMetricsOperations(*args, **kwargs)

Metoder

get_metrics_for_subscription

Hämta användningsstatistik för rolltilldelning för en prenumeration.

get_metrics_for_subscription

Hämta användningsstatistik för rolltilldelning för en prenumeration.

async get_metrics_for_subscription(**kwargs: Any) -> RoleAssignmentMetricsResult

Keyword-Only parametrar

Name Description
cls

En anpassad typ eller funktion som skickas direktsvaret

Returer

Typ Description

RoleAssignmentMetricsResult eller resultatet av cls(response)

Undantag

Typ Description

Attribut

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'>