terraform/vendor/github.com/Azure/azure-sdk-for-go/management/README.md

1.1 KiB

Azure Service Management packages for Go

The github.com/Azure/azure-sdk-for-go/management packages are used to perform operations using the Azure Service Management (ASM), aka classic deployment model. Read more about Azure Resource Manager vs. classic deployment. Packages for Azure Resource Manager are in the arm folder.

First a Sidenote: Authentication and the Azure Service Manager

The client currently supports authentication to the Service Management API with certificates or Azure .publishSettings file. You can download the .publishSettings file for your subscriptions here.

Example: Creating a Linux Virtual Machine

Complete source code for this example can be found in example.go.To try this example, download your .publishSettings and add its path in the first line of the main function. Run the example with commands:

$ cd management/examples
$ go run example.go