ResourceHealthMetadataOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:resource_health_metadata> attribute.
Constructor
ResourceHealthMetadataOperations(*args, **kwargs)
Methods
| get_by_site |
Gets the category of ResourceHealthMetadata to use for the given site. Description for 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. Description for Gets the category of ResourceHealthMetadata to use for the given site. |
| list |
List all ResourceHealthMetadata for all sites in the subscription. Description for 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. Description for 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. Description for 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. Description for 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.
Description for Gets the category of ResourceHealthMetadata to use for the given site.
async 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.
Description for 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) -> 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.
Description for List all ResourceHealthMetadata for all sites in the subscription.
list(**kwargs: Any) -> AsyncItemPaged[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.
Description for List all ResourceHealthMetadata for all sites in the resource group in the subscription.
list_by_resource_group(resource_group_name: str, **kwargs: Any) -> AsyncItemPaged[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.
Description for 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) -> AsyncItemPaged[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.
Description for 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) -> AsyncItemPaged[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.models' from 'C:\\ToolCache\\Python\\3.11.9\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv239\\Lib\\site-packages\\azure\\mgmt\\web\\models\\__init__.py'>