ContainerAppsRevisionsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

WebSiteManagementClient's

<xref:container_apps_revisions> attribute.

Inheritance
builtins.object
ContainerAppsRevisionsOperations

Constructor

ContainerAppsRevisionsOperations(*args, **kwargs)

Methods

activate_revision

Activates a revision for a Container App.

Activates a revision for a Container App.

deactivate_revision

Deactivates a revision for a Container App.

Deactivates a revision for a Container App.

get_revision

Get a revision of a Container App.

Get a revision of a Container App.

list_revisions

Get the Revisions for a given Container App.

Get the Revisions for a given Container App.

restart_revision

Restarts a revision for a Container App.

Restarts a revision for a Container App.

activate_revision

Activates a revision for a Container App.

Activates a revision for a Container App.

activate_revision(resource_group_name: str, container_app_name: str, name: str, **kwargs: Any) -> None

Parameters

Name Description
resource_group_name
Required
str

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

container_app_name
Required
str

Name of the Container App. Required.

name
Required
str

Name of the Container App Revision to activate. Required.

Returns

Type Description

None or the result of cls(response)

Exceptions

Type Description

deactivate_revision

Deactivates a revision for a Container App.

Deactivates a revision for a Container App.

deactivate_revision(resource_group_name: str, container_app_name: str, name: str, **kwargs: Any) -> None

Parameters

Name Description
resource_group_name
Required
str

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

container_app_name
Required
str

Name of the Container App. Required.

name
Required
str

Name of the Container App Revision to deactivate. Required.

Returns

Type Description

None or the result of cls(response)

Exceptions

Type Description

get_revision

Get a revision of a Container App.

Get a revision of a Container App.

get_revision(resource_group_name: str, container_app_name: str, name: str, **kwargs: Any) -> Revision

Parameters

Name Description
resource_group_name
Required
str

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

container_app_name
Required
str

Name of the Container App. Required.

name
Required
str

Name of the Container App Revision. Required.

Returns

Type Description

Revision or the result of cls(response)

Exceptions

Type Description

list_revisions

Get the Revisions for a given Container App.

Get the Revisions for a given Container App.

list_revisions(resource_group_name: str, container_app_name: str, **kwargs: Any) -> Iterable[Revision]

Parameters

Name Description
resource_group_name
Required
str

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

container_app_name
Required
str

Name of the Container App for which Revisions are needed. Required.

Returns

Type Description

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

Exceptions

Type Description

restart_revision

Restarts a revision for a Container App.

Restarts a revision for a Container App.

restart_revision(resource_group_name: str, container_app_name: str, name: str, **kwargs: Any) -> None

Parameters

Name Description
resource_group_name
Required
str

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

container_app_name
Required
str

Name of the Container App. Required.

name
Required
str

Name of the Container App Revision to restart. Required.

Returns

Type Description

None or the result of cls(response)

Exceptions

Type Description

Attributes

models

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