azure.mgmt.authorization.v2019_08_01_preview.operations module

class azure.mgmt.authorization.v2019_08_01_preview.operations.RoleAssignmentMetricsOperations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through AuthorizationManagementClient’s role_assignment_metrics attribute.

get_metrics_for_subscription(**kwargs: Any)azure.mgmt.authorization.v2019_08_01_preview.models._models_py3.RoleAssignmentMetricsResult[source]

Get role assignment usage metrics for a subscription.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

RoleAssignmentMetricsResult or the result of cls(response)

Return type

RoleAssignmentMetricsResult

Raises

HttpResponseError

models = <module 'azure.mgmt.authorization.v2019_08_01_preview.models' from '/mnt/vss/_work/1/s/sdk/authorization/azure-mgmt-authorization/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/authorization/v2019_08_01_preview/models/__init__.py'>