ResourceHealthMetadataOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:resource_health_metadata> attribute.
- Inheritance
-
builtins.objectResourceHealthMetadataOperations
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
|
Name of the resource group to which the resource belongs. Required. |
name
Required
|
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
|
Name of the resource group to which the resource belongs. Required. |
name
Required
|
Name of web app. Required. |
slot
Required
|
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
|
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
|
Name of the resource group to which the resource belongs. Required. |
name
Required
|
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
|
Name of the resource group to which the resource belongs. Required. |
name
Required
|
Name of web app. Required. |
slot
Required
|
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.v2018_02_01.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\web\\v2018_02_01\\models\\__init__.py'>
Azure SDK for Python