ResourceHealthMetadataOperations Class

ResourceHealthMetadataOperations async 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
ResourceHealthMetadataOperations

Constructor

ResourceHealthMetadataOperations(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_by_site

Gets the category of ResourceHealthMetadata to use for the given site.

Gets the category of ResourceHealthMetadata to use for the given site.

get_by_site_slot

Gets the category of ResourceHealthMetadata to use for the given site.

Gets the category of ResourceHealthMetadata to use for the given site.

list

List all ResourceHealthMetadata for all sites in the subscription.

List all ResourceHealthMetadata for all sites in the subscription.

list_by_resource_group

List all ResourceHealthMetadata for all sites in the resource group in the subscription.

List all ResourceHealthMetadata for all sites in the resource group in the subscription.

list_by_site

Gets the category of ResourceHealthMetadata to use for the given site as a collection.

Gets the category of ResourceHealthMetadata to use for the given site as a collection.

list_by_site_slot

Gets the category of ResourceHealthMetadata to use for the given site as a collection.

Gets the category of ResourceHealthMetadata to use for the given site as a collection.

get_by_site

Gets the category of ResourceHealthMetadata to use for the given site.

Gets the category of ResourceHealthMetadata to use for the given site.

async get_by_site(resource_group_name: str, name: str, **kwargs: Any) -> azure.mgmt.web.v2018_02_01.models._models_py3.ResourceHealthMetadata

Parameters

resource_group_name
str
Required

Name of the resource group to which the resource belongs.

name
str
Required

Name of web app.

cls
callable

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

Returns

ResourceHealthMetadata, or the result of cls(response)

Return type

Exceptions

get_by_site_slot

Gets the category of ResourceHealthMetadata to use for the given site.

Gets the category of ResourceHealthMetadata to use for the given site.

async get_by_site_slot(resource_group_name: str, name: str, slot: str, **kwargs: Any) -> azure.mgmt.web.v2018_02_01.models._models_py3.ResourceHealthMetadata

Parameters

resource_group_name
str
Required

Name of the resource group to which the resource belongs.

name
str
Required

Name of web app.

slot
str
Required

Name of web app slot. If not specified then will default to production slot.

cls
callable

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

Returns

ResourceHealthMetadata, or the result of cls(response)

Return type

Exceptions

list

List all ResourceHealthMetadata for all sites in the subscription.

List all ResourceHealthMetadata for all sites in the subscription.

list(**kwargs: Any) -> AsyncIterable[azure.mgmt.web.v2018_02_01.models._models_py3.ResourceHealthMetadataCollection]

Parameters

cls
callable

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

Returns

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

Return type

Exceptions

list_by_resource_group

List all ResourceHealthMetadata for all sites in the resource group in the subscription.

List all ResourceHealthMetadata for all sites in the resource group in the subscription.

list_by_resource_group(resource_group_name: str, **kwargs: Any) -> AsyncIterable[azure.mgmt.web.v2018_02_01.models._models_py3.ResourceHealthMetadataCollection]

Parameters

resource_group_name
str
Required

Name of the resource group to which the resource belongs.

cls
callable

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

Returns

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

Return type

Exceptions

list_by_site

Gets the category of ResourceHealthMetadata to use for the given site as a collection.

Gets the category of ResourceHealthMetadata to use for the given site as a collection.

list_by_site(resource_group_name: str, name: str, **kwargs: Any) -> AsyncIterable[azure.mgmt.web.v2018_02_01.models._models_py3.ResourceHealthMetadataCollection]

Parameters

resource_group_name
str
Required

Name of the resource group to which the resource belongs.

name
str
Required

Name of web app.

cls
callable

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

Returns

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

Return type

Exceptions

list_by_site_slot

Gets the category of ResourceHealthMetadata to use for the given site as a collection.

Gets the category of ResourceHealthMetadata to use for the given site as a collection.

list_by_site_slot(resource_group_name: str, name: str, slot: str, **kwargs: Any) -> AsyncIterable[azure.mgmt.web.v2018_02_01.models._models_py3.ResourceHealthMetadataCollection]

Parameters

resource_group_name
str
Required

Name of the resource group to which the resource belongs.

name
str
Required

Name of web app.

slot
str
Required

Name of web app slot. If not specified then will default to production slot.

cls
callable

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

Returns

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

Return type

Exceptions

Attributes

models

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