Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateVM ¶
func CreateVM(ctx context.Context, vmName, diskName, nicName, username, password, storageAccountName, sshPublicKeyPath, rgName, location, tenantID, clientID, certPass, certPath, armEndpoint, subscriptionID string) (vm compute.VirtualMachine, err error)
CreateVM creates a new virtual machine with the specified name using the specified network interface and storage account. Username, password, and sshPublicKeyPath determine logon credentials.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.