ContainerAppsSourceControlsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:container_apps_source_controls> attribute.
- Inheritance
-
builtins.objectContainerAppsSourceControlsOperations
Constructor
ContainerAppsSourceControlsOperations(*args, **kwargs)
Methods
begin_create_or_update |
Create or update the SourceControl for a Container App. Create or update the SourceControl for a Container App. |
begin_delete |
Delete a Container App SourceControl. Delete a Container App SourceControl. |
get |
Get a SourceControl of a Container App. Get a SourceControl of a Container App. |
list_by_container_app |
Get the Container App SourceControls in a given resource group. Get the Container App SourceControls in a given resource group. |
begin_create_or_update
Create or update the SourceControl for a Container App.
Create or update the SourceControl for a Container App.
begin_create_or_update(resource_group_name: str, container_app_name: str, source_control_name: str, source_control_envelope: _models.SourceControl, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.SourceControl]
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. |
source_control_name
Required
|
Name of the Container App SourceControl. Required. |
source_control_envelope
Required
|
SourceControl or
IO
Properties used to create a Container App SourceControl. Is either a SourceControl type or a IO type. Required. |
Keyword-Only Parameters
Name | Description |
---|---|
content_type
|
Body Parameter content-type. Known values are: 'application/json'. Default value is None. |
cls
|
A custom type or function that will be passed the direct response |
continuation_token
|
A continuation token to restart a poller from a saved state. |
polling
|
By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. |
polling_interval
|
Default waiting time between two polls for LRO operations if no Retry-After header is present. |
Returns
Type | Description |
---|---|
An instance of LROPoller that returns either SourceControl or the result of cls(response) |
Exceptions
Type | Description |
---|---|
begin_delete
Delete a Container App SourceControl.
Delete a Container App SourceControl.
begin_delete(resource_group_name: str, container_app_name: str, source_control_name: str, **kwargs: Any) -> LROPoller[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. |
source_control_name
Required
|
Name of the Container App SourceControl. Required. |
Keyword-Only Parameters
Name | Description |
---|---|
cls
|
A custom type or function that will be passed the direct response |
continuation_token
|
A continuation token to restart a poller from a saved state. |
polling
|
By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. |
polling_interval
|
Default waiting time between two polls for LRO operations if no Retry-After header is present. |
Returns
Type | Description |
---|---|
An instance of LROPoller that returns either None or the result of cls(response) |
Exceptions
Type | Description |
---|---|
get
Get a SourceControl of a Container App.
Get a SourceControl of a Container App.
get(resource_group_name: str, container_app_name: str, source_control_name: str, **kwargs: Any) -> SourceControl
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. |
source_control_name
Required
|
Name of the Container App SourceControl. Required. |
Keyword-Only Parameters
Name | Description |
---|---|
cls
|
A custom type or function that will be passed the direct response |
Returns
Type | Description |
---|---|
SourceControl or the result of cls(response) |
Exceptions
Type | Description |
---|---|
list_by_container_app
Get the Container App SourceControls in a given resource group.
Get the Container App SourceControls in a given resource group.
list_by_container_app(resource_group_name: str, container_app_name: str, **kwargs: Any) -> Iterable[SourceControl]
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 |
---|---|
cls
|
A custom type or function that will be passed the direct response |
Returns
Type | Description |
---|---|
An iterator like instance of either SourceControl 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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for