Dela via


ProviderOperationsMetadataOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

AuthorizationManagementClient's

<xref:provider_operations_metadata> attribute.

Inheritance
builtins.object
ProviderOperationsMetadataOperations

Constructor

ProviderOperationsMetadataOperations(*args, **kwargs)

Methods

get

Gets provider operations metadata for the specified resource provider.

list

Gets provider operations metadata for all resource providers.

get

Gets provider operations metadata for the specified resource provider.

get(resource_provider_namespace: str, expand: str = 'resourceTypes', **kwargs: Any) -> ProviderOperationsMetadata

Parameters

Name Description
resource_provider_namespace
Required
str

The namespace of the resource provider. Required.

expand
Required
str

Specifies whether to expand the values. Default value is "resourceTypes".

Keyword-Only Parameters

Name Description
cls

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

Returns

Type Description

ProviderOperationsMetadata or the result of cls(response)

Exceptions

Type Description

list

Gets provider operations metadata for all resource providers.

list(expand: str = 'resourceTypes', **kwargs: Any) -> Iterable[ProviderOperationsMetadata]

Parameters

Name Description
expand
Required
str

Specifies whether to expand the values. Default value is "resourceTypes".

Keyword-Only Parameters

Name Description
cls

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

Returns

Type Description

An iterator like instance of either ProviderOperationsMetadata or the result of cls(response)

Exceptions

Type Description

Attributes

models

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