The Azure cloud module is used to control access to Microsoft Azure
depends: | |
---|---|
configuration: | Required provider parameters:
A Management Certificate (.pem and .crt files) must be created and the .pem file placed on the same machine that salt-cloud is run from. Information on creating the pem file to use, and uploading the associated cer file can be found at: http://www.windowsazure.com/en-us/develop/python/how-to-guides/service-management/ |
Example /etc/salt/cloud.providers
or
/etc/salt/cloud.providers.d/azure.conf
configuration:
my-azure-config:
provider: azure
subscription_id: 3287abc8-f98a-c678-3bde-326766fd3617
certificate_path: /etc/salt/azure.pem
management_host: management.core.windows.net
salt.cloud.clouds.msazure.
avail_sizes
(call=None)Because sizes are built into images with Azure, there will be no sizes to return here
salt.cloud.clouds.msazure.
create_attach_volumes
(name, kwargs, call=None, wait_to_finish=True)Create and attach volumes to created node
salt.cloud.clouds.msazure.
destroy
(name, conn=None, call=None, kwargs=None)Destroy a VM
CLI Examples:
salt-cloud -d myminion
salt-cloud -a destroy myminion service_name=myservice
salt.cloud.clouds.msazure.
list_hosted_services
(conn=None, call=None)List VMs on this Azure account, with full information
salt.cloud.clouds.msazure.
list_nodes_full
(conn=None, call=None)List VMs on this Azure account, with full information
salt.cloud.clouds.msazure.
list_nodes_select
(conn=None, call=None)Return a list of the VMs that are on the provider, with select fields
salt.cloud.clouds.msazure.
list_storage_services
(conn=None, call=None)List VMs on this Azure account, with full information