Azure (ARM) Resource Execution Module
New in version 2019.2.0.
maintainer: | |
---|---|
maturity: |
new |
depends: |
|
platform: |
linux |
configuration: |
This module requires Azure Resource Manager credentials to be passed as keyword arguments to every function in order to work properly. Required provider parameters:
Optional provider parameters: |
AZURE_PUBLIC_CLOUD
(default)AZURE_CHINA_CLOUD
AZURE_US_GOV_CLOUD
AZURE_GERMAN_CLOUD
New in version 2019.2.0.
Cancel a deployment if in 'Accepted' or 'Running' state.
Parameters: |
|
---|
CLI Example:
salt-call azurearm_resource.deployment_cancel testdeploy testgroup
New in version 2019.2.0.
Check the existence of a deployment.
Parameters: |
|
---|
CLI Example:
salt-call azurearm_resource.deployment_check_existence testdeploy testgroup
New in version 2019.2.0.
Deploys resources to a resource group.
Parameters: |
|
---|
CLI Example:
salt-call azurearm_resource.deployment_create_or_update testdeploy testgroup
New in version 2019.2.0.
Delete a deployment.
Parameters: |
|
---|
CLI Example:
salt-call azurearm_resource.deployment_delete testdeploy testgroup
New in version 2019.2.0.
Exports the template used for the specified deployment.
Parameters: |
|
---|
CLI Example:
salt-call azurearm_resource.deployment_export_template testdeploy testgroup
New in version 2019.2.0.
Get details about a specific deployment.
Parameters: |
|
---|
CLI Example:
salt-call azurearm_resource.deployment_get testdeploy testgroup
New in version 2019.2.0.
Get a deployment operation within a deployment.
Parameters: |
|
---|
CLI Example:
salt-call azurearm_resource.deployment_operation_get XXXXX testdeploy testgroup
New in version 2019.2.0.
List all deployment operations within a deployment.
Parameters: |
|
---|
CLI Example:
salt-call azurearm_resource.deployment_operations_list testdeploy testgroup
New in version 2019.2.0.
Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager.
Parameters: |
|
---|
CLI Example:
salt-call azurearm_resource.deployment_validate testdeploy testgroup
New in version 2019.2.0.
List all deployments within a resource group.
CLI Example:
salt-call azurearm_resource.deployments_list testgroup
New in version 2019.2.0.
Create a policy assignment.
Parameters: |
|
---|
CLI Example:
salt-call azurearm_resource.policy_assignment_create testassign /subscriptions/bc75htn-a0fhsi-349b-56gh-4fghti-f84852 testpolicy
New in version 2019.2.0.
Delete a policy assignment.
Parameters: |
|
---|
CLI Example:
salt-call azurearm_resource.policy_assignment_delete testassign /subscriptions/bc75htn-a0fhsi-349b-56gh-4fghti-f84852
New in version 2019.2.0.
Get details about a specific policy assignment.
Parameters: |
|
---|
CLI Example:
salt-call azurearm_resource.policy_assignment_get testassign /subscriptions/bc75htn-a0fhsi-349b-56gh-4fghti-f84852
New in version 2019.2.0.
List all policy assignments for a subscription.
CLI Example:
salt-call azurearm_resource.policy_assignments_list
New in version 2019.2.0.
List all policy assignments for a resource group.
Parameters: | resource_group -- The resource group name to list policy assignments within. |
---|
CLI Example:
salt-call azurearm_resource.policy_assignments_list_for_resource_group testgroup
New in version 2019.2.0.
Create or update a policy definition.
Parameters: |
|
---|
CLI Example:
salt-call azurearm_resource.policy_definition_create_or_update testpolicy '{...rule definition..}'
New in version 2019.2.0.
Delete a policy definition.
Parameters: | name -- The name of the policy definition to delete. |
---|
CLI Example:
salt-call azurearm_resource.policy_definition_delete testpolicy
New in version 2019.2.0.
Get details about a specific policy definition.
Parameters: | name -- The name of the policy definition to query. |
---|
CLI Example:
salt-call azurearm_resource.policy_definition_get testpolicy
New in version 2019.2.0.
List all policy definitions for a subscription.
Parameters: | hide_builtin -- Boolean which will filter out BuiltIn policy definitions from the result. |
---|
CLI Example:
salt-call azurearm_resource.policy_definitions_list
New in version 2019.2.0.
Check for the existence of a named resource group in the current subscription.
Parameters: | name -- The resource group name to check. |
---|
CLI Example:
salt-call azurearm_resource.resource_group_check_existence testgroup
New in version 2019.2.0.
Create or update a resource group in a given location.
Parameters: |
|
---|
CLI Example:
salt-call azurearm_resource.resource_group_create_or_update testgroup westus
New in version 2019.2.0.
Delete a resource group from the subscription.
Parameters: | name -- The resource group name to delete. |
---|
CLI Example:
salt-call azurearm_resource.resource_group_delete testgroup
New in version 2019.2.0.
Get a dictionary representing a resource group's properties.
Parameters: | name -- The resource group name to get. |
---|
CLI Example:
salt-call azurearm_resource.resource_group_get testgroup
New in version 2019.2.0.
List all resource groups within a subscription.
CLI Example:
salt-call azurearm_resource.resource_groups_list
New in version 2019.2.0.
Get details about a subscription.
Parameters: | subscription_id -- The ID of the subscription to query. |
---|
CLI Example:
salt-call azurearm_resource.subscription_get XXXXXXXX
New in version 2019.2.0.
List all subscriptions for a tenant.
CLI Example:
salt-call azurearm_resource.subscriptions_list
New in version 2019.2.0.
List all locations for a subscription.
Parameters: | subscription_id -- The ID of the subscription to query. |
---|
CLI Example:
salt-call azurearm_resource.subscriptions_list_locations XXXXXXXX
New in version 2019.2.0.
List all tenants for your account.
CLI Example:
salt-call azurearm_resource.tenants_list
© 2019 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.azurearm_resource.html