DeploymentStacksOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:deployment_stacks> attribute.
- Inheritance
-
builtins.objectDeploymentStacksOperations
Constructor
DeploymentStacksOperations(*args, **kwargs)
Methods
begin_create_or_update_at_management_group |
Creates or updates a Deployment Stack. |
begin_create_or_update_at_resource_group |
Creates or updates a Deployment Stack. |
begin_create_or_update_at_subscription |
Creates or updates a Deployment Stack. |
begin_delete_at_management_group |
Deletes a Deployment Stack by name. When operation completes, status code 200 returned without content. |
begin_delete_at_resource_group |
Deletes a Deployment Stack by name. When operation completes, status code 200 returned without content. |
begin_delete_at_subscription |
Deletes a Deployment Stack by name. When operation completes, status code 200 returned without content. |
export_template_at_management_group |
Exports the template used to create the deployment stack. |
export_template_at_resource_group |
Exports the template used to create the deployment stack. |
export_template_at_subscription |
Exports the template used to create the deployment stack. |
get_at_management_group |
Gets a Deployment Stack with a given name. |
get_at_resource_group |
Gets a Deployment Stack with a given name. |
get_at_subscription |
Gets a Deployment Stack with a given name. |
list_at_management_group |
Lists all the Deployment Stacks within the specified management group. |
list_at_resource_group |
Lists all the Deployment Stacks within the specified resource group. |
list_at_subscription |
Lists all the Deployment Stacks within the specified subscription. |
begin_create_or_update_at_management_group
Creates or updates a Deployment Stack.
begin_create_or_update_at_management_group(management_group_id: str, deployment_stack_name: str, deployment_stack: _models.DeploymentStack, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.DeploymentStack]
Parameters
Name | Description |
---|---|
management_group_id
Required
|
Management Group. Required. |
deployment_stack_name
Required
|
Name of the deployment stack. Required. |
deployment_stack
Required
|
Deployment Stack supplied to the operation. Is either a DeploymentStack type or a IO[bytes] type. Required. |
Returns
Type | Description |
---|---|
An instance of LROPoller that returns either DeploymentStack or the result of cls(response) |
Exceptions
Type | Description |
---|---|
begin_create_or_update_at_resource_group
Creates or updates a Deployment Stack.
begin_create_or_update_at_resource_group(resource_group_name: str, deployment_stack_name: str, deployment_stack: _models.DeploymentStack, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.DeploymentStack]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
deployment_stack_name
Required
|
Name of the deployment stack. Required. |
deployment_stack
Required
|
Deployment Stack supplied to the operation. Is either a DeploymentStack type or a IO[bytes] type. Required. |
Returns
Type | Description |
---|---|
An instance of LROPoller that returns either DeploymentStack or the result of cls(response) |
Exceptions
Type | Description |
---|---|
begin_create_or_update_at_subscription
Creates or updates a Deployment Stack.
begin_create_or_update_at_subscription(deployment_stack_name: str, deployment_stack: _models.DeploymentStack, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.DeploymentStack]
Parameters
Name | Description |
---|---|
deployment_stack_name
Required
|
Name of the deployment stack. Required. |
deployment_stack
Required
|
Deployment Stack supplied to the operation. Is either a DeploymentStack type or a IO[bytes] type. Required. |
Returns
Type | Description |
---|---|
An instance of LROPoller that returns either DeploymentStack or the result of cls(response) |
Exceptions
Type | Description |
---|---|
begin_delete_at_management_group
Deletes a Deployment Stack by name. When operation completes, status code 200 returned without content.
begin_delete_at_management_group(management_group_id: str, deployment_stack_name: str, unmanage_action_resources: str | UnmanageActionResourceMode | None = None, unmanage_action_resource_groups: str | UnmanageActionResourceGroupMode | None = None, unmanage_action_management_groups: str | UnmanageActionManagementGroupMode | None = None, **kwargs: Any) -> LROPoller[None]
Parameters
Name | Description |
---|---|
management_group_id
Required
|
Management Group. Required. |
deployment_stack_name
Required
|
Name of the deployment stack. Required. |
unmanage_action_resources
Required
|
Flag to indicate delete rather than detach for the resources. Known values are: "delete" and "detach". Default value is None. |
unmanage_action_resource_groups
Required
|
Flag to indicate delete rather than detach for the resource groups. Known values are: "delete" and "detach". Default value is None. |
unmanage_action_management_groups
Required
|
Flag to indicate delete rather than detach for the management groups. Known values are: "delete" and "detach". Default value is None. |
Returns
Type | Description |
---|---|
An instance of LROPoller that returns either None or the result of cls(response) |
Exceptions
Type | Description |
---|---|
begin_delete_at_resource_group
Deletes a Deployment Stack by name. When operation completes, status code 200 returned without content.
begin_delete_at_resource_group(resource_group_name: str, deployment_stack_name: str, unmanage_action_resources: str | UnmanageActionResourceMode | None = None, unmanage_action_resource_groups: str | UnmanageActionResourceGroupMode | None = None, **kwargs: Any) -> LROPoller[None]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
deployment_stack_name
Required
|
Name of the deployment stack. Required. |
unmanage_action_resources
Required
|
Flag to indicate delete rather than detach for the resources. Known values are: "delete" and "detach". Default value is None. |
unmanage_action_resource_groups
Required
|
Flag to indicate delete rather than detach for the resource groups. Known values are: "delete" and "detach". Default value is None. |
Returns
Type | Description |
---|---|
An instance of LROPoller that returns either None or the result of cls(response) |
Exceptions
Type | Description |
---|---|
begin_delete_at_subscription
Deletes a Deployment Stack by name. When operation completes, status code 200 returned without content.
begin_delete_at_subscription(deployment_stack_name: str, unmanage_action_resources: str | UnmanageActionResourceMode | None = None, unmanage_action_resource_groups: str | UnmanageActionResourceGroupMode | None = None, **kwargs: Any) -> LROPoller[None]
Parameters
Name | Description |
---|---|
deployment_stack_name
Required
|
Name of the deployment stack. Required. |
unmanage_action_resources
Required
|
Flag to indicate delete rather than detach for the resources. Known values are: "delete" and "detach". Default value is None. |
unmanage_action_resource_groups
Required
|
Flag to indicate delete rather than detach for the resource groups. Known values are: "delete" and "detach". Default value is None. |
Returns
Type | Description |
---|---|
An instance of LROPoller that returns either None or the result of cls(response) |
Exceptions
Type | Description |
---|---|
export_template_at_management_group
Exports the template used to create the deployment stack.
export_template_at_management_group(management_group_id: str, deployment_stack_name: str, **kwargs: Any) -> DeploymentStackTemplateDefinition
Parameters
Name | Description |
---|---|
management_group_id
Required
|
Management Group. Required. |
deployment_stack_name
Required
|
Name of the deployment stack. Required. |
Returns
Type | Description |
---|---|
DeploymentStackTemplateDefinition or the result of cls(response) |
Exceptions
Type | Description |
---|---|
export_template_at_resource_group
Exports the template used to create the deployment stack.
export_template_at_resource_group(resource_group_name: str, deployment_stack_name: str, **kwargs: Any) -> DeploymentStackTemplateDefinition
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
deployment_stack_name
Required
|
Name of the deployment stack. Required. |
Returns
Type | Description |
---|---|
DeploymentStackTemplateDefinition or the result of cls(response) |
Exceptions
Type | Description |
---|---|
export_template_at_subscription
Exports the template used to create the deployment stack.
export_template_at_subscription(deployment_stack_name: str, **kwargs: Any) -> DeploymentStackTemplateDefinition
Parameters
Name | Description |
---|---|
deployment_stack_name
Required
|
Name of the deployment stack. Required. |
Returns
Type | Description |
---|---|
DeploymentStackTemplateDefinition or the result of cls(response) |
Exceptions
Type | Description |
---|---|
get_at_management_group
Gets a Deployment Stack with a given name.
get_at_management_group(management_group_id: str, deployment_stack_name: str, **kwargs: Any) -> DeploymentStack
Parameters
Name | Description |
---|---|
management_group_id
Required
|
Management Group. Required. |
deployment_stack_name
Required
|
Name of the deployment stack. Required. |
Returns
Type | Description |
---|---|
DeploymentStack or the result of cls(response) |
Exceptions
Type | Description |
---|---|
get_at_resource_group
Gets a Deployment Stack with a given name.
get_at_resource_group(resource_group_name: str, deployment_stack_name: str, **kwargs: Any) -> DeploymentStack
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
deployment_stack_name
Required
|
Name of the deployment stack. Required. |
Returns
Type | Description |
---|---|
DeploymentStack or the result of cls(response) |
Exceptions
Type | Description |
---|---|
get_at_subscription
Gets a Deployment Stack with a given name.
get_at_subscription(deployment_stack_name: str, **kwargs: Any) -> DeploymentStack
Parameters
Name | Description |
---|---|
deployment_stack_name
Required
|
Name of the deployment stack. Required. |
Returns
Type | Description |
---|---|
DeploymentStack or the result of cls(response) |
Exceptions
Type | Description |
---|---|
list_at_management_group
Lists all the Deployment Stacks within the specified management group.
list_at_management_group(management_group_id: str, **kwargs: Any) -> Iterable[DeploymentStack]
Parameters
Name | Description |
---|---|
management_group_id
Required
|
Management Group. Required. |
Returns
Type | Description |
---|---|
An iterator like instance of either DeploymentStack or the result of cls(response) |
Exceptions
Type | Description |
---|---|
list_at_resource_group
Lists all the Deployment Stacks within the specified resource group.
list_at_resource_group(resource_group_name: str, **kwargs: Any) -> Iterable[DeploymentStack]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
Returns
Type | Description |
---|---|
An iterator like instance of either DeploymentStack or the result of cls(response) |
Exceptions
Type | Description |
---|---|
list_at_subscription
Lists all the Deployment Stacks within the specified subscription.
list_at_subscription(**kwargs: Any) -> Iterable[DeploymentStack]
Returns
Type | Description |
---|---|
An iterator like instance of either DeploymentStack or the result of cls(response) |
Exceptions
Type | Description |
---|---|
Attributes
models
models = <module 'azure.mgmt.resource.deploymentstacks.v2022_08_01_preview.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\resource\\deploymentstacks\\v2022_08_01_preview\\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