Pack which contains integrations for different Microsoft Azure services.
Copy the example configuration in azure.yaml.example
to /opt/stackstorm/configs/azure.yaml
and edit as required.
compute.subscription_id
- Your Azure subscription ID.compute.cert_file
- Path to the certificate file used for authentication.
For information on how to obtain your subscription ID and generate and upload a certificate file, see the following page Generating and uploading a certificate file and obtaining subscription ID.
storage.name
- Your storage account name.storage.access_key
- Your storage account access key.
For information on how to obtain those credentials, see the following page Connecting to Azure Blobs.
resource_manager.client_id
Resource manager client IDresource_manager.secret
Resource manager tokenresource_manager.tenant
Resource manager tenant identifierdefault_resource_group
- Default resource group
For usage of the Resource Manager actions you will need to create a Service Principal
You can also use dynamic values from the datastore. See the docs for more info.
Note : When modifying the configuration in /opt/stackstorm/configs/
please
remember to tell StackStorm to load these new values by running
st2ctl reload --register-configs
list_vms
- List available VMs.create_vm
- Create a new VM.reboot_vm
- Reboot a VM.destroy_vm
- Destroy a VM.
list_containers
- List containers.list_container_objects
- List container objects.upload_file
- Upload local file to the provided container.delete_object
- Delete the provided object.
create_resource
- Create a generic ARM resourcecreate_linked_resource_url
- Create a linked (template and parameter) resource from a URIlist_resource_groups
- List the names of the resource groups
create_ticket
- Creates a new ticket with the given subject and description.search_tickets
- Searches all tickets for the given phrase.update_ticket
- Updates the ticket with the given ID with a new comment.update_ticket_status
- Updates the status of the ticket with the given ID.