ContainerAppsRevisionsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

ContainerAppsAPIClient'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, revision_name: str, **kwargs: Any) -> None

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

container_app_name
Required
str

Name of the Container App. Required.

revision_name
Required
str

Name of the Container App Revision. 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, revision_name: str, **kwargs: Any) -> None

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

container_app_name
Required
str

Name of the Container App. Required.

revision_name
Required
str

Name of the Container App Revision. 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, revision_name: str, **kwargs: Any) -> Revision

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

container_app_name
Required
str

Name of the Container App. Required.

revision_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, filter: str | None = None, **kwargs: Any) -> Iterable[Revision]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

container_app_name
Required
str

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

filter
Required
str

The filter to apply on the operation. Default value is None.

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, revision_name: str, **kwargs: Any) -> None

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

container_app_name
Required
str

Name of the Container App. Required.

revision_name
Required
str

Name of the Container App Revision. Required.

Returns

Type Description

None or the result of cls(response)

Exceptions

Type Description

Attributes

models

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