ContainerAppsAuthConfigsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:container_apps_auth_configs> attribute.
- Inheritance
-
builtins.objectContainerAppsAuthConfigsOperations
Constructor
ContainerAppsAuthConfigsOperations(*args, **kwargs)
Methods
create_or_update |
Create or update the AuthConfig for a Container App. Create or update the AuthConfig for a Container App. |
delete |
Delete a Container App AuthConfig. Delete a Container App AuthConfig. |
get |
Get a AuthConfig of a Container App. Get a AuthConfig of a Container App. |
list_by_container_app |
Get the Container App AuthConfigs in a given resource group. Get the Container App AuthConfigs in a given resource group. |
create_or_update
Create or update the AuthConfig for a Container App.
Create or update the AuthConfig for a Container App.
async create_or_update(resource_group_name: str, container_app_name: str, auth_config_name: str, auth_config_envelope: _models.AuthConfig, *, content_type: str = 'application/json', **kwargs: Any) -> _models.AuthConfig
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. |
auth_config_name
Required
|
Name of the Container App AuthConfig. Required. |
auth_config_envelope
Required
|
Properties used to create a Container App AuthConfig. Is either a AuthConfig type or a IO[bytes] type. Required. |
Returns
Type | Description |
---|---|
AuthConfig or the result of cls(response) |
Exceptions
Type | Description |
---|---|
delete
Delete a Container App AuthConfig.
Delete a Container App AuthConfig.
async delete(resource_group_name: str, container_app_name: str, auth_config_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. |
auth_config_name
Required
|
Name of the Container App AuthConfig. Required. |
Returns
Type | Description |
---|---|
None or the result of cls(response) |
Exceptions
Type | Description |
---|---|
get
Get a AuthConfig of a Container App.
Get a AuthConfig of a Container App.
async get(resource_group_name: str, container_app_name: str, auth_config_name: str, **kwargs: Any) -> AuthConfig
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. |
auth_config_name
Required
|
Name of the Container App AuthConfig. Required. |
Returns
Type | Description |
---|---|
AuthConfig or the result of cls(response) |
Exceptions
Type | Description |
---|---|
list_by_container_app
Get the Container App AuthConfigs in a given resource group.
Get the Container App AuthConfigs in a given resource group.
list_by_container_app(resource_group_name: str, container_app_name: str, **kwargs: Any) -> AsyncIterable[AuthConfig]
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. |
Returns
Type | Description |
---|---|
An iterator like instance of either AuthConfig 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'>
Azure SDK for Python