ResourceHealthMetadataOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

WebSiteManagementClient's

<xref:resource_health_metadata> attribute.

Inheritance
builtins.object
ResourceHealthMetadataOperations

Constructor

ResourceHealthMetadataOperations(*args, **kwargs)

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.

get_by_site(resource_group_name: str, name: str, **kwargs: Any) -> ResourceHealthMetadata

Parameters

Name Description
resource_group_name
Required
str

Name of the resource group to which the resource belongs. Required.

name
Required
str

Name of web app. Required.

Returns

Type Description

ResourceHealthMetadata or the result of cls(response)

Exceptions

Type Description

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.

get_by_site_slot(resource_group_name: str, name: str, slot: str, **kwargs: Any) -> ResourceHealthMetadata

Parameters

Name Description
resource_group_name
Required
str

Name of the resource group to which the resource belongs. Required.

name
Required
str

Name of web app. Required.

slot
Required
str

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

Returns

Type Description

ResourceHealthMetadata or the result of cls(response)

Exceptions

Type Description

list

List all ResourceHealthMetadata for all sites in the subscription.

List all ResourceHealthMetadata for all sites in the subscription.

list(**kwargs: Any) -> Iterable[ResourceHealthMetadata]

Returns

Type Description

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

Exceptions

Type Description

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) -> Iterable[ResourceHealthMetadata]

Parameters

Name Description
resource_group_name
Required
str

Name of the resource group to which the resource belongs. Required.

Returns

Type Description

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

Exceptions

Type Description

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) -> Iterable[ResourceHealthMetadata]

Parameters

Name Description
resource_group_name
Required
str

Name of the resource group to which the resource belongs. Required.

name
Required
str

Name of web app. Required.

Returns

Type Description

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

Exceptions

Type Description

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) -> Iterable[ResourceHealthMetadata]

Parameters

Name Description
resource_group_name
Required
str

Name of the resource group to which the resource belongs. Required.

name
Required
str

Name of web app. Required.

slot
Required
str

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

Returns

Type Description

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

Exceptions

Type Description

Attributes

models

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