ProviderResourceTypesOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

ResourceManagementClient's

<xref:provider_resource_types> attribute.

Inheritance
builtins.object
ProviderResourceTypesOperations

Constructor

ProviderResourceTypesOperations(*args, **kwargs)

Methods

list

List the resource types for a specified resource provider.

list

List the resource types for a specified resource provider.

list(resource_provider_namespace: str, expand: str | None = None, **kwargs: Any) -> ProviderResourceTypeListResult

Parameters

Name Description
resource_provider_namespace
Required
str

The namespace of the resource provider. Required.

expand
Required
str

The $expand query parameter. For example, to include property aliases in response, use $expand=resourceTypes/aliases. Default value is None.

Keyword-Only Parameters

Name Description
cls

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

Returns

Type Description

ProviderResourceTypeListResult or the result of cls(response)

Exceptions

Type Description

Attributes

models

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