ContainerAppsLabelHistoryOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:container_apps_label_history> attribute.
Constructor
ContainerAppsLabelHistoryOperations(*args, **kwargs)
Methods
| delete_label_history |
Delete the history of a label. Deletes the revision history associated with a Container App label. |
| get_label_history |
Get the history of a label. Gets the revision history associated with a Container App label. |
| list_label_history |
Get the Label History for a given Container App. Lists the label revision histories for a Container App. |
delete_label_history
Delete the history of a label.
Deletes the revision history associated with a Container App label.
delete_label_history(resource_group_name: str, container_app_name: str, label_name: str, **kwargs: Any) -> None
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
container_app_name
Required
|
Name of the Container App. Required. |
|
label_name
Required
|
Name of the label. Required. |
Returns
| Type | Description |
|---|---|
|
None |
Exceptions
| Type | Description |
|---|---|
get_label_history
Get the history of a label.
Gets the revision history associated with a Container App label.
get_label_history(resource_group_name: str, container_app_name: str, label_name: str, **kwargs: Any) -> LabelHistory
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
container_app_name
Required
|
Name of the Container App. Required. |
|
label_name
Required
|
Name of the label. Required. |
Returns
| Type | Description |
|---|---|
|
LabelHistory. The LabelHistory is compatible with MutableMapping |
Exceptions
| Type | Description |
|---|---|
list_label_history
Get the Label History for a given Container App.
Lists the label revision histories for a Container App.
list_label_history(resource_group_name: str, container_app_name: str, *, filter: str | None = None, **kwargs: Any) -> ItemPaged[LabelHistory]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
container_app_name
Required
|
Name of the Container App. Required. |
Keyword-Only Parameters
| Name | Description |
|---|---|
|
filter
|
The filter to apply on the operation. Default value is None. Default value: None
|
Returns
| Type | Description |
|---|---|
|
An iterator like instance of LabelHistory |
Exceptions
| Type | Description |
|---|---|