ContainerAppsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:container_apps> attribute.
- Inheritance
-
builtins.objectContainerAppsOperations
Constructor
ContainerAppsOperations(*args, **kwargs)
Methods
begin_create_or_update |
Create or update a Container App. Description for Create or update a Container App. |
begin_delete |
Delete a Container App. Description for Delete a Container App. |
get |
Get the properties of a Container App. Get the properties of a Container App. |
list_by_resource_group |
Get the Container Apps in a given resource group. Get the Container Apps in a given resource group. |
list_by_subscription |
Get the Container Apps in a given subscription. Get the Container Apps in a given subscription. |
list_secrets |
List secrets for a container app. List secrets for a container app. |
begin_create_or_update
Create or update a Container App.
Description for Create or update a Container App.
begin_create_or_update(resource_group_name: str, name: str, container_app_envelope: _models.ContainerApp, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.ContainerApp]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
Name of the resource group to which the resource belongs. Required. |
name
Required
|
Name of the Container App. Required. |
container_app_envelope
Required
|
Is either a ContainerApp type or a IO[bytes] type. Required. |
Returns
Type | Description |
---|---|
An instance of LROPoller that returns either ContainerApp or the result of cls(response) |
Exceptions
Type | Description |
---|---|
begin_delete
Delete a Container App.
Description for Delete a Container App.
begin_delete(resource_group_name: str, name: str, **kwargs: Any) -> LROPoller[None]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
Name of the resource group to which the resource belongs. Required. |
name
Required
|
Name of the Container App. Required. |
Returns
Type | Description |
---|---|
An instance of LROPoller that returns either None or the result of cls(response) |
Exceptions
Type | Description |
---|---|
get
Get the properties of a Container App.
Get the properties of a Container App.
get(resource_group_name: str, name: str, **kwargs: Any) -> ContainerApp
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
Name of the resource group to which the resource belongs. Required. |
name
Required
|
Name of the Container App. Required. |
Returns
Type | Description |
---|---|
ContainerApp or the result of cls(response) |
Exceptions
Type | Description |
---|---|
list_by_resource_group
Get the Container Apps in a given resource group.
Get the Container Apps in a given resource group.
list_by_resource_group(resource_group_name: str, **kwargs: Any) -> Iterable[ContainerApp]
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 ContainerApp or the result of cls(response) |
Exceptions
Type | Description |
---|---|
list_by_subscription
Get the Container Apps in a given subscription.
Get the Container Apps in a given subscription.
list_by_subscription(**kwargs: Any) -> Iterable[ContainerApp]
Returns
Type | Description |
---|---|
An iterator like instance of either ContainerApp or the result of cls(response) |
Exceptions
Type | Description |
---|---|
list_secrets
List secrets for a container app.
List secrets for a container app.
list_secrets(name: str, **kwargs: Any) -> SecretsCollection
Parameters
Name | Description |
---|---|
name
Required
|
Name of the Container App. Required. |
Returns
Type | Description |
---|---|
SecretsCollection 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'>
Azure SDK for Python