ProviderOperationsMetadataOperations Class

ProviderOperationsMetadataOperations operations.

You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.

Inheritance
builtins.object
ProviderOperationsMetadataOperations

Constructor

ProviderOperationsMetadataOperations(client, config, serializer, deserializer)

Parameters

client
Required

Client for service requests.

config
Required

Configuration of service client.

serializer
Required

An object model serializer.

deserializer
Required

An object model deserializer.

Variables

models

Alias to model classes used in this operation group.

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: Optional[str] = 'resourceTypes', **kwargs: Any) -> _models.ProviderOperationsMetadata

Parameters

resource_provider_namespace
str
Required

The namespace of the resource provider.

expand
str
default value: resourceTypes

Specifies whether to expand the values.

cls
callable

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

Returns

ProviderOperationsMetadata, or the result of cls(response)

Return type

Exceptions

list

Gets provider operations metadata for all resource providers.

list(expand: Optional[str] = 'resourceTypes', **kwargs: Any) -> Iterable[_models.ProviderOperationsMetadataListResult]

Parameters

expand
str
default value: resourceTypes

Specifies whether to expand the values.

cls
callable

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

Returns

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

Return type

Exceptions

Attributes

models

models = <module 'azure.mgmt.authorization.v2018_01_01_preview.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\authorization\\v2018_01_01_preview\\models\\__init__.py'>