azurerm_compute_availability_set
#
Azure Resource Manager (ARM) Compute Availability Set Execution Module
New in version 2.1.0.
- maintainer:
- 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:
- if using username and password:
subscription_id
username
password
- if using a service principal:
subscription_id
tenant
client_id
secret
- if using managed identity:
subscription_id
Optional provider parameters:
cloud_environment: Used to point the cloud driver to different API endpoints, such as Azure GovCloud.
Possible values: *
AZURE_PUBLIC_CLOUD
(default) *AZURE_CHINA_CLOUD
*AZURE_US_GOV_CLOUD
*AZURE_GERMAN_CLOUD
- saltext.azurerm.modules.azurerm_compute_availability_set.create_or_update(name, resource_group, **kwargs)[source]#
New in version 2.1.0.
Create or update an availability set.
- Parameters:
name – The availability set to create.
resource_group – The resource group name assigned to the availability set.
CLI Example:
salt-call azurerm_compute_availability_set.create_or_update testset testgroup
- saltext.azurerm.modules.azurerm_compute_availability_set.delete(name, resource_group, **kwargs)[source]#
New in version 2.1.0.
Delete an availability set.
- Parameters:
name – The availability set to delete.
resource_group – The resource group name assigned to the availability set.
CLI Example:
salt-call azurerm_compute_availability_set.delete testset testgroup
- saltext.azurerm.modules.azurerm_compute_availability_set.get(name, resource_group, **kwargs)[source]#
New in version 2.1.0.
Get a dictionary representing an availability set’s properties.
- Parameters:
name – The availability set to get.
resource_group – The resource group name assigned to the availability set.
CLI Example:
salt-call azurerm_compute_availability_set.get testset testgroup
- saltext.azurerm.modules.azurerm_compute_availability_set.list_(resource_group=None, **kwargs)[source]#
New in version 2.1.0.
Lists all availability sets in a subscription.
- Parameters:
resource_group – The name of the resource group to limit the results.
CLI Example:
salt-call azurerm_compute_availability_set.list testgroup
- saltext.azurerm.modules.azurerm_compute_availability_set.list_available_sizes(name, resource_group, **kwargs)[source]#
New in version 2.1.0.
List all available virtual machine sizes that can be used to create a new virtual machine in an existing availability set.
- Parameters:
name – The availability set name to list available virtual machine sizes within.
resource_group – The resource group name to list available availability set sizes within.
CLI Example:
salt-call azurerm_compute_availability_set.list_available_sizes testset testgroup