compute

package
v12.3.0-beta+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 30, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package compute implements the Azure ARM Compute service API version .

Compute Client

Deprecated: Please instead use github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2017-03-30/compute

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Compute
	DefaultBaseURI = "https://management.azure.com"
)

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

Types

type APIEntityReference

type APIEntityReference struct {
	ID *string `json:"id,omitempty"`
}

APIEntityReference is the API entity reference.

type APIError

type APIError struct {
	Details    *[]APIErrorBase `json:"details,omitempty"`
	Innererror *InnerError     `json:"innererror,omitempty"`
	Code       *string         `json:"code,omitempty"`
	Target     *string         `json:"target,omitempty"`
	Message    *string         `json:"message,omitempty"`
}

APIError is api error.

type APIErrorBase

type APIErrorBase struct {
	Code    *string `json:"code,omitempty"`
	Target  *string `json:"target,omitempty"`
	Message *string `json:"message,omitempty"`
}

APIErrorBase is api error base.

type AccessLevel

type AccessLevel string

AccessLevel enumerates the values for access level.

const (
	// None specifies the none state for access level.
	None AccessLevel = "None"
	// Read specifies the read state for access level.
	Read AccessLevel = "Read"
)

type AccessURI

type AccessURI struct {
	autorest.Response `json:"-"`
	*AccessURIOutput  `json:"properties,omitempty"`
}

AccessURI is a disk access SAS uri.

type AccessURIOutput

type AccessURIOutput struct {
	*AccessURIRaw `json:"output,omitempty"`
}

AccessURIOutput is azure properties, including output.

type AccessURIRaw

type AccessURIRaw struct {
	AccessSAS *string `json:"accessSAS,omitempty"`
}

AccessURIRaw is this object gets 'bubbled up' through flattening.

type AdditionalUnattendContent

type AdditionalUnattendContent struct {
	PassName      PassNames      `json:"passName,omitempty"`
	ComponentName ComponentNames `json:"componentName,omitempty"`
	SettingName   SettingNames   `json:"settingName,omitempty"`
	Content       *string        `json:"content,omitempty"`
}

AdditionalUnattendContent is specifies additional XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name, and the pass in which the content is applied.

type AvailabilitySet

type AvailabilitySet struct {
	autorest.Response          `json:"-"`
	ID                         *string             `json:"id,omitempty"`
	Name                       *string             `json:"name,omitempty"`
	Type                       *string             `json:"type,omitempty"`
	Location                   *string             `json:"location,omitempty"`
	Tags                       *map[string]*string `json:"tags,omitempty"`
	*AvailabilitySetProperties `json:"properties,omitempty"`
	Sku                        *Sku `json:"sku,omitempty"`
}

AvailabilitySet is specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). <br><br> For more information on Azure planned maintainance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json) <br><br> Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set.

type AvailabilitySetListResult

type AvailabilitySetListResult struct {
	autorest.Response `json:"-"`
	Value             *[]AvailabilitySet `json:"value,omitempty"`
}

AvailabilitySetListResult is the List Availability Set operation response.

type AvailabilitySetProperties

type AvailabilitySetProperties struct {
	PlatformUpdateDomainCount *int32                `json:"platformUpdateDomainCount,omitempty"`
	PlatformFaultDomainCount  *int32                `json:"platformFaultDomainCount,omitempty"`
	VirtualMachines           *[]SubResource        `json:"virtualMachines,omitempty"`
	Statuses                  *[]InstanceViewStatus `json:"statuses,omitempty"`
}

AvailabilitySetProperties is the instance view of a resource.

type AvailabilitySetsClient

type AvailabilitySetsClient struct {
	ManagementClient
}

AvailabilitySetsClient is the compute Client

func NewAvailabilitySetsClient

func NewAvailabilitySetsClient(subscriptionID string) AvailabilitySetsClient

NewAvailabilitySetsClient creates an instance of the AvailabilitySetsClient client.

func NewAvailabilitySetsClientWithBaseURI

func NewAvailabilitySetsClientWithBaseURI(baseURI string, subscriptionID string) AvailabilitySetsClient

NewAvailabilitySetsClientWithBaseURI creates an instance of the AvailabilitySetsClient client.

func (AvailabilitySetsClient) CreateOrUpdate

func (client AvailabilitySetsClient) CreateOrUpdate(resourceGroupName string, availabilitySetName string, parameters AvailabilitySet) (result AvailabilitySet, err error)

CreateOrUpdate create or update an availability set.

resourceGroupName is the name of the resource group. availabilitySetName is the name of the availability set. parameters is parameters supplied to the Create Availability Set operation.

func (AvailabilitySetsClient) CreateOrUpdatePreparer

func (client AvailabilitySetsClient) CreateOrUpdatePreparer(resourceGroupName string, availabilitySetName string, parameters AvailabilitySet) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (AvailabilitySetsClient) CreateOrUpdateResponder

func (client AvailabilitySetsClient) CreateOrUpdateResponder(resp *http.Response) (result AvailabilitySet, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (AvailabilitySetsClient) CreateOrUpdateSender

func (client AvailabilitySetsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (AvailabilitySetsClient) Delete

func (client AvailabilitySetsClient) Delete(resourceGroupName string, availabilitySetName string) (result OperationStatusResponse, err error)

Delete delete an availability set.

resourceGroupName is the name of the resource group. availabilitySetName is the name of the availability set.

func (AvailabilitySetsClient) DeletePreparer

func (client AvailabilitySetsClient) DeletePreparer(resourceGroupName string, availabilitySetName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (AvailabilitySetsClient) DeleteResponder

func (client AvailabilitySetsClient) DeleteResponder(resp *http.Response) (result OperationStatusResponse, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (AvailabilitySetsClient) DeleteSender

func (client AvailabilitySetsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (AvailabilitySetsClient) Get

func (client AvailabilitySetsClient) Get(resourceGroupName string, availabilitySetName string) (result AvailabilitySet, err error)

Get retrieves information about an availability set.

resourceGroupName is the name of the resource group. availabilitySetName is the name of the availability set.

func (AvailabilitySetsClient) GetPreparer

func (client AvailabilitySetsClient) GetPreparer(resourceGroupName string, availabilitySetName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (AvailabilitySetsClient) GetResponder

func (client AvailabilitySetsClient) GetResponder(resp *http.Response) (result AvailabilitySet, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (AvailabilitySetsClient) GetSender

func (client AvailabilitySetsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (AvailabilitySetsClient) List

func (client AvailabilitySetsClient) List(resourceGroupName string) (result AvailabilitySetListResult, err error)

List lists all availability sets in a resource group.

resourceGroupName is the name of the resource group.

func (AvailabilitySetsClient) ListAvailableSizes

func (client AvailabilitySetsClient) ListAvailableSizes(resourceGroupName string, availabilitySetName string) (result VirtualMachineSizeListResult, err error)

ListAvailableSizes lists all available virtual machine sizes that can be used to create a new virtual machine in an existing availability set.

resourceGroupName is the name of the resource group. availabilitySetName is the name of the availability set.

func (AvailabilitySetsClient) ListAvailableSizesPreparer

func (client AvailabilitySetsClient) ListAvailableSizesPreparer(resourceGroupName string, availabilitySetName string) (*http.Request, error)

ListAvailableSizesPreparer prepares the ListAvailableSizes request.

func (AvailabilitySetsClient) ListAvailableSizesResponder

func (client AvailabilitySetsClient) ListAvailableSizesResponder(resp *http.Response) (result VirtualMachineSizeListResult, err error)

ListAvailableSizesResponder handles the response to the ListAvailableSizes request. The method always closes the http.Response Body.

func (AvailabilitySetsClient) ListAvailableSizesSender

func (client AvailabilitySetsClient) ListAvailableSizesSender(req *http.Request) (*http.Response, error)

ListAvailableSizesSender sends the ListAvailableSizes request. The method will close the http.Response Body if it receives an error.

func (AvailabilitySetsClient) ListPreparer

func (client AvailabilitySetsClient) ListPreparer(resourceGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (AvailabilitySetsClient) ListResponder

func (client AvailabilitySetsClient) ListResponder(resp *http.Response) (result AvailabilitySetListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (AvailabilitySetsClient) ListSender

func (client AvailabilitySetsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type BootDiagnostics

type BootDiagnostics struct {
	Enabled    *bool   `json:"enabled,omitempty"`
	StorageURI *string `json:"storageUri,omitempty"`
}

BootDiagnostics is boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. <br><br> For Linux Virtual Machines, you can easily view the output of your console log. <br><br> For both Windows and Linux virtual machines, Azure also enables you to see a screenshot of the VM from the hypervisor.

type BootDiagnosticsInstanceView

type BootDiagnosticsInstanceView struct {
	ConsoleScreenshotBlobURI *string `json:"consoleScreenshotBlobUri,omitempty"`
	SerialConsoleLogBlobURI  *string `json:"serialConsoleLogBlobUri,omitempty"`
}

BootDiagnosticsInstanceView is the instance view of a virtual machine boot diagnostics.

type CachingTypes

type CachingTypes string

CachingTypes enumerates the values for caching types.

const (
	// CachingTypesNone specifies the caching types none state for caching types.
	CachingTypesNone CachingTypes = "None"
	// CachingTypesReadOnly specifies the caching types read only state for caching types.
	CachingTypesReadOnly CachingTypes = "ReadOnly"
	// CachingTypesReadWrite specifies the caching types read write state for caching types.
	CachingTypesReadWrite CachingTypes = "ReadWrite"
)

type ComponentNames

type ComponentNames string

ComponentNames enumerates the values for component names.

const (
	// MicrosoftWindowsShellSetup specifies the microsoft windows shell setup state for component names.
	MicrosoftWindowsShellSetup ComponentNames = "Microsoft-Windows-Shell-Setup"
)

type ContainerService

type ContainerService struct {
	autorest.Response           `json:"-"`
	ID                          *string             `json:"id,omitempty"`
	Name                        *string             `json:"name,omitempty"`
	Type                        *string             `json:"type,omitempty"`
	Location                    *string             `json:"location,omitempty"`
	Tags                        *map[string]*string `json:"tags,omitempty"`
	*ContainerServiceProperties `json:"properties,omitempty"`
}

ContainerService is container service.

type ContainerServiceAgentPoolProfile

type ContainerServiceAgentPoolProfile struct {
	Name      *string                     `json:"name,omitempty"`
	Count     *int32                      `json:"count,omitempty"`
	VMSize    ContainerServiceVMSizeTypes `json:"vmSize,omitempty"`
	DNSPrefix *string                     `json:"dnsPrefix,omitempty"`
	Fqdn      *string                     `json:"fqdn,omitempty"`
}

ContainerServiceAgentPoolProfile is profile for the container service agent pool.

type ContainerServiceCustomProfile

type ContainerServiceCustomProfile struct {
	Orchestrator *string `json:"orchestrator,omitempty"`
}

ContainerServiceCustomProfile is properties to configure a custom container service cluster.

type ContainerServiceDiagnosticsProfile

type ContainerServiceDiagnosticsProfile struct {
	VMDiagnostics *ContainerServiceVMDiagnostics `json:"vmDiagnostics,omitempty"`
}

ContainerServiceDiagnosticsProfile is

type ContainerServiceLinuxProfile

type ContainerServiceLinuxProfile struct {
	AdminUsername *string                           `json:"adminUsername,omitempty"`
	SSH           *ContainerServiceSSHConfiguration `json:"ssh,omitempty"`
}

ContainerServiceLinuxProfile is profile for Linux VMs in the container service cluster.

type ContainerServiceListResult

type ContainerServiceListResult struct {
	autorest.Response `json:"-"`
	Value             *[]ContainerService `json:"value,omitempty"`
	NextLink          *string             `json:"nextLink,omitempty"`
}

ContainerServiceListResult is the response from the List Container Services operation.

func (ContainerServiceListResult) ContainerServiceListResultPreparer

func (client ContainerServiceListResult) ContainerServiceListResultPreparer() (*http.Request, error)

ContainerServiceListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type ContainerServiceMasterProfile

type ContainerServiceMasterProfile struct {
	Count     *int32  `json:"count,omitempty"`
	DNSPrefix *string `json:"dnsPrefix,omitempty"`
	Fqdn      *string `json:"fqdn,omitempty"`
}

ContainerServiceMasterProfile is profile for the container service master.

type ContainerServiceOrchestratorProfile

type ContainerServiceOrchestratorProfile struct {
	OrchestratorType ContainerServiceOrchestratorTypes `json:"orchestratorType,omitempty"`
}

ContainerServiceOrchestratorProfile is profile for the container service orchestrator.

type ContainerServiceOrchestratorTypes

type ContainerServiceOrchestratorTypes string

ContainerServiceOrchestratorTypes enumerates the values for container service orchestrator types.

const (
	// Custom specifies the custom state for container service orchestrator types.
	Custom ContainerServiceOrchestratorTypes = "Custom"
	// DCOS specifies the dcos state for container service orchestrator types.
	DCOS ContainerServiceOrchestratorTypes = "DCOS"
	// Kubernetes specifies the kubernetes state for container service orchestrator types.
	Kubernetes ContainerServiceOrchestratorTypes = "Kubernetes"
	// Swarm specifies the swarm state for container service orchestrator types.
	Swarm ContainerServiceOrchestratorTypes = "Swarm"
)

type ContainerServiceProperties

type ContainerServiceProperties struct {
	ProvisioningState       *string                                  `json:"provisioningState,omitempty"`
	OrchestratorProfile     *ContainerServiceOrchestratorProfile     `json:"orchestratorProfile,omitempty"`
	CustomProfile           *ContainerServiceCustomProfile           `json:"customProfile,omitempty"`
	ServicePrincipalProfile *ContainerServiceServicePrincipalProfile `json:"servicePrincipalProfile,omitempty"`
	MasterProfile           *ContainerServiceMasterProfile           `json:"masterProfile,omitempty"`
	AgentPoolProfiles       *[]ContainerServiceAgentPoolProfile      `json:"agentPoolProfiles,omitempty"`
	WindowsProfile          *ContainerServiceWindowsProfile          `json:"windowsProfile,omitempty"`
	LinuxProfile            *ContainerServiceLinuxProfile            `json:"linuxProfile,omitempty"`
	DiagnosticsProfile      *ContainerServiceDiagnosticsProfile      `json:"diagnosticsProfile,omitempty"`
}

ContainerServiceProperties is properties of the container service.

type ContainerServiceSSHConfiguration

type ContainerServiceSSHConfiguration struct {
	PublicKeys *[]ContainerServiceSSHPublicKey `json:"publicKeys,omitempty"`
}

ContainerServiceSSHConfiguration is SSH configuration for Linux-based VMs running on Azure.

type ContainerServiceSSHPublicKey

type ContainerServiceSSHPublicKey struct {
	KeyData *string `json:"keyData,omitempty"`
}

ContainerServiceSSHPublicKey is contains information about SSH certificate public key data.

type ContainerServiceServicePrincipalProfile

type ContainerServiceServicePrincipalProfile struct {
	ClientID *string `json:"clientId,omitempty"`
	Secret   *string `json:"secret,omitempty"`
}

ContainerServiceServicePrincipalProfile is information about a service principal identity for the cluster to use for manipulating Azure APIs.

type ContainerServiceVMDiagnostics

type ContainerServiceVMDiagnostics struct {
	Enabled    *bool   `json:"enabled,omitempty"`
	StorageURI *string `json:"storageUri,omitempty"`
}

ContainerServiceVMDiagnostics is profile for diagnostics on the container service VMs.

type ContainerServiceVMSizeTypes

type ContainerServiceVMSizeTypes string

ContainerServiceVMSizeTypes enumerates the values for container service vm size types.

const (
	// StandardA0 specifies the standard a0 state for container service vm size types.
	StandardA0 ContainerServiceVMSizeTypes = "Standard_A0"
	// StandardA1 specifies the standard a1 state for container service vm size types.
	StandardA1 ContainerServiceVMSizeTypes = "Standard_A1"
	// StandardA10 specifies the standard a10 state for container service vm size types.
	StandardA10 ContainerServiceVMSizeTypes = "Standard_A10"
	// StandardA11 specifies the standard a11 state for container service vm size types.
	StandardA11 ContainerServiceVMSizeTypes = "Standard_A11"
	// StandardA2 specifies the standard a2 state for container service vm size types.
	StandardA2 ContainerServiceVMSizeTypes = "Standard_A2"
	// StandardA3 specifies the standard a3 state for container service vm size types.
	StandardA3 ContainerServiceVMSizeTypes = "Standard_A3"
	// StandardA4 specifies the standard a4 state for container service vm size types.
	StandardA4 ContainerServiceVMSizeTypes = "Standard_A4"
	// StandardA5 specifies the standard a5 state for container service vm size types.
	StandardA5 ContainerServiceVMSizeTypes = "Standard_A5"
	// StandardA6 specifies the standard a6 state for container service vm size types.
	StandardA6 ContainerServiceVMSizeTypes = "Standard_A6"
	// StandardA7 specifies the standard a7 state for container service vm size types.
	StandardA7 ContainerServiceVMSizeTypes = "Standard_A7"
	// StandardA8 specifies the standard a8 state for container service vm size types.
	StandardA8 ContainerServiceVMSizeTypes = "Standard_A8"
	// StandardA9 specifies the standard a9 state for container service vm size types.
	StandardA9 ContainerServiceVMSizeTypes = "Standard_A9"
	// StandardD1 specifies the standard d1 state for container service vm size types.
	StandardD1 ContainerServiceVMSizeTypes = "Standard_D1"
	// StandardD11 specifies the standard d11 state for container service vm size types.
	StandardD11 ContainerServiceVMSizeTypes = "Standard_D11"
	// StandardD11V2 specifies the standard d11v2 state for container service vm size types.
	StandardD11V2 ContainerServiceVMSizeTypes = "Standard_D11_v2"
	// StandardD12 specifies the standard d12 state for container service vm size types.
	StandardD12 ContainerServiceVMSizeTypes = "Standard_D12"
	// StandardD12V2 specifies the standard d12v2 state for container service vm size types.
	StandardD12V2 ContainerServiceVMSizeTypes = "Standard_D12_v2"
	// StandardD13 specifies the standard d13 state for container service vm size types.
	StandardD13 ContainerServiceVMSizeTypes = "Standard_D13"
	// StandardD13V2 specifies the standard d13v2 state for container service vm size types.
	StandardD13V2 ContainerServiceVMSizeTypes = "Standard_D13_v2"
	// StandardD14 specifies the standard d14 state for container service vm size types.
	StandardD14 ContainerServiceVMSizeTypes = "Standard_D14"
	// StandardD14V2 specifies the standard d14v2 state for container service vm size types.
	StandardD14V2 ContainerServiceVMSizeTypes = "Standard_D14_v2"
	// StandardD1V2 specifies the standard d1v2 state for container service vm size types.
	StandardD1V2 ContainerServiceVMSizeTypes = "Standard_D1_v2"
	// StandardD2 specifies the standard d2 state for container service vm size types.
	StandardD2 ContainerServiceVMSizeTypes = "Standard_D2"
	// StandardD2V2 specifies the standard d2v2 state for container service vm size types.
	StandardD2V2 ContainerServiceVMSizeTypes = "Standard_D2_v2"
	// StandardD3 specifies the standard d3 state for container service vm size types.
	StandardD3 ContainerServiceVMSizeTypes = "Standard_D3"
	// StandardD3V2 specifies the standard d3v2 state for container service vm size types.
	StandardD3V2 ContainerServiceVMSizeTypes = "Standard_D3_v2"
	// StandardD4 specifies the standard d4 state for container service vm size types.
	StandardD4 ContainerServiceVMSizeTypes = "Standard_D4"
	// StandardD4V2 specifies the standard d4v2 state for container service vm size types.
	StandardD4V2 ContainerServiceVMSizeTypes = "Standard_D4_v2"
	// StandardD5V2 specifies the standard d5v2 state for container service vm size types.
	StandardD5V2 ContainerServiceVMSizeTypes = "Standard_D5_v2"
	// StandardDS1 specifies the standard ds1 state for container service vm size types.
	StandardDS1 ContainerServiceVMSizeTypes = "Standard_DS1"
	// StandardDS11 specifies the standard ds11 state for container service vm size types.
	StandardDS11 ContainerServiceVMSizeTypes = "Standard_DS11"
	// StandardDS12 specifies the standard ds12 state for container service vm size types.
	StandardDS12 ContainerServiceVMSizeTypes = "Standard_DS12"
	// StandardDS13 specifies the standard ds13 state for container service vm size types.
	StandardDS13 ContainerServiceVMSizeTypes = "Standard_DS13"
	// StandardDS14 specifies the standard ds14 state for container service vm size types.
	StandardDS14 ContainerServiceVMSizeTypes = "Standard_DS14"
	// StandardDS2 specifies the standard ds2 state for container service vm size types.
	StandardDS2 ContainerServiceVMSizeTypes = "Standard_DS2"
	// StandardDS3 specifies the standard ds3 state for container service vm size types.
	StandardDS3 ContainerServiceVMSizeTypes = "Standard_DS3"
	// StandardDS4 specifies the standard ds4 state for container service vm size types.
	StandardDS4 ContainerServiceVMSizeTypes = "Standard_DS4"
	// StandardG1 specifies the standard g1 state for container service vm size types.
	StandardG1 ContainerServiceVMSizeTypes = "Standard_G1"
	// StandardG2 specifies the standard g2 state for container service vm size types.
	StandardG2 ContainerServiceVMSizeTypes = "Standard_G2"
	// StandardG3 specifies the standard g3 state for container service vm size types.
	StandardG3 ContainerServiceVMSizeTypes = "Standard_G3"
	// StandardG4 specifies the standard g4 state for container service vm size types.
	StandardG4 ContainerServiceVMSizeTypes = "Standard_G4"
	// StandardG5 specifies the standard g5 state for container service vm size types.
	StandardG5 ContainerServiceVMSizeTypes = "Standard_G5"
	// StandardGS1 specifies the standard gs1 state for container service vm size types.
	StandardGS1 ContainerServiceVMSizeTypes = "Standard_GS1"
	// StandardGS2 specifies the standard gs2 state for container service vm size types.
	StandardGS2 ContainerServiceVMSizeTypes = "Standard_GS2"
	// StandardGS3 specifies the standard gs3 state for container service vm size types.
	StandardGS3 ContainerServiceVMSizeTypes = "Standard_GS3"
	// StandardGS4 specifies the standard gs4 state for container service vm size types.
	StandardGS4 ContainerServiceVMSizeTypes = "Standard_GS4"
	// StandardGS5 specifies the standard gs5 state for container service vm size types.
	StandardGS5 ContainerServiceVMSizeTypes = "Standard_GS5"
)

type ContainerServiceWindowsProfile

type ContainerServiceWindowsProfile struct {
	AdminUsername *string `json:"adminUsername,omitempty"`
	AdminPassword *string `json:"adminPassword,omitempty"`
}

ContainerServiceWindowsProfile is profile for Windows VMs in the container service cluster.

type ContainerServicesClient

type ContainerServicesClient struct {
	ManagementClient
}

ContainerServicesClient is the compute Client

func NewContainerServicesClient

func NewContainerServicesClient(subscriptionID string) ContainerServicesClient

NewContainerServicesClient creates an instance of the ContainerServicesClient client.

func NewContainerServicesClientWithBaseURI

func NewContainerServicesClientWithBaseURI(baseURI string, subscriptionID string) ContainerServicesClient

NewContainerServicesClientWithBaseURI creates an instance of the ContainerServicesClient client.

func (ContainerServicesClient) CreateOrUpdate

func (client ContainerServicesClient) CreateOrUpdate(resourceGroupName string, containerServiceName string, parameters ContainerService, cancel <-chan struct{}) (<-chan ContainerService, <-chan error)

CreateOrUpdate creates or updates a container service with the specified configuration of orchestrator, masters, and agents. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. containerServiceName is the name of the container service in the specified subscription and resource group. parameters is parameters supplied to the Create or Update a Container Service operation.

func (ContainerServicesClient) CreateOrUpdatePreparer

func (client ContainerServicesClient) CreateOrUpdatePreparer(resourceGroupName string, containerServiceName string, parameters ContainerService, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ContainerServicesClient) CreateOrUpdateResponder

func (client ContainerServicesClient) CreateOrUpdateResponder(resp *http.Response) (result ContainerService, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (ContainerServicesClient) CreateOrUpdateSender

func (client ContainerServicesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (ContainerServicesClient) Delete

func (client ContainerServicesClient) Delete(resourceGroupName string, containerServiceName string, cancel <-chan struct{}) (<-chan autorest.Response, <-chan error)

Delete deletes the specified container service in the specified subscription and resource group. The operation does not delete other resources created as part of creating a container service, including storage accounts, VMs, and availability sets. All the other resources created with the container service are part of the same resource group and can be deleted individually. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. containerServiceName is the name of the container service in the specified subscription and resource group.

func (ContainerServicesClient) DeletePreparer

func (client ContainerServicesClient) DeletePreparer(resourceGroupName string, containerServiceName string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ContainerServicesClient) DeleteResponder

func (client ContainerServicesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ContainerServicesClient) DeleteSender

func (client ContainerServicesClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ContainerServicesClient) Get

func (client ContainerServicesClient) Get(resourceGroupName string, containerServiceName string) (result ContainerService, err error)

Get gets the properties of the specified container service in the specified subscription and resource group. The operation returns the properties including state, orchestrator, number of masters and agents, and FQDNs of masters and agents.

resourceGroupName is the name of the resource group. containerServiceName is the name of the container service in the specified subscription and resource group.

func (ContainerServicesClient) GetPreparer

func (client ContainerServicesClient) GetPreparer(resourceGroupName string, containerServiceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ContainerServicesClient) GetResponder

func (client ContainerServicesClient) GetResponder(resp *http.Response) (result ContainerService, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ContainerServicesClient) GetSender

func (client ContainerServicesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ContainerServicesClient) List

func (client ContainerServicesClient) List() (result ContainerServiceListResult, err error)

List gets a list of container services in the specified subscription. The operation returns properties of each container service including state, orchestrator, number of masters and agents, and FQDNs of masters and agents.

func (ContainerServicesClient) ListByResourceGroup

func (client ContainerServicesClient) ListByResourceGroup(resourceGroupName string) (result ContainerServiceListResult, err error)

ListByResourceGroup gets a list of container services in the specified subscription and resource group. The operation returns properties of each container service including state, orchestrator, number of masters and agents, and FQDNs of masters and agents.

resourceGroupName is the name of the resource group.

func (ContainerServicesClient) ListByResourceGroupComplete

func (client ContainerServicesClient) ListByResourceGroupComplete(resourceGroupName string, cancel <-chan struct{}) (<-chan ContainerService, <-chan error)

ListByResourceGroupComplete gets all elements from the list without paging.

func (ContainerServicesClient) ListByResourceGroupNextResults

func (client ContainerServicesClient) ListByResourceGroupNextResults(lastResults ContainerServiceListResult) (result ContainerServiceListResult, err error)

ListByResourceGroupNextResults retrieves the next set of results, if any.

func (ContainerServicesClient) ListByResourceGroupPreparer

func (client ContainerServicesClient) ListByResourceGroupPreparer(resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (ContainerServicesClient) ListByResourceGroupResponder

func (client ContainerServicesClient) ListByResourceGroupResponder(resp *http.Response) (result ContainerServiceListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (ContainerServicesClient) ListByResourceGroupSender

func (client ContainerServicesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (ContainerServicesClient) ListComplete

func (client ContainerServicesClient) ListComplete(cancel <-chan struct{}) (<-chan ContainerService, <-chan error)

ListComplete gets all elements from the list without paging.

func (ContainerServicesClient) ListNextResults

func (client ContainerServicesClient) ListNextResults(lastResults ContainerServiceListResult) (result ContainerServiceListResult, err error)

ListNextResults retrieves the next set of results, if any.

func (ContainerServicesClient) ListPreparer

func (client ContainerServicesClient) ListPreparer() (*http.Request, error)

ListPreparer prepares the List request.

func (ContainerServicesClient) ListResponder

func (client ContainerServicesClient) ListResponder(resp *http.Response) (result ContainerServiceListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ContainerServicesClient) ListSender

func (client ContainerServicesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type CreationData

type CreationData struct {
	CreateOption     DiskCreateOption    `json:"createOption,omitempty"`
	StorageAccountID *string             `json:"storageAccountId,omitempty"`
	ImageReference   *ImageDiskReference `json:"imageReference,omitempty"`
	SourceURI        *string             `json:"sourceUri,omitempty"`
	SourceResourceID *string             `json:"sourceResourceId,omitempty"`
}

CreationData is data used when creating a disk.

type DataDisk

type DataDisk struct {
	Lun          *int32                 `json:"lun,omitempty"`
	Name         *string                `json:"name,omitempty"`
	Vhd          *VirtualHardDisk       `json:"vhd,omitempty"`
	Image        *VirtualHardDisk       `json:"image,omitempty"`
	Caching      CachingTypes           `json:"caching,omitempty"`
	CreateOption DiskCreateOptionTypes  `json:"createOption,omitempty"`
	DiskSizeGB   *int32                 `json:"diskSizeGB,omitempty"`
	ManagedDisk  *ManagedDiskParameters `json:"managedDisk,omitempty"`
}

DataDisk is describes a data disk.

type DataDiskImage

type DataDiskImage struct {
	Lun *int32 `json:"lun,omitempty"`
}

DataDiskImage is contains the data disk images information.

type DiagnosticsProfile

type DiagnosticsProfile struct {
	BootDiagnostics *BootDiagnostics `json:"bootDiagnostics,omitempty"`
}

DiagnosticsProfile is specifies the boot diagnostic settings state. <br><br>Minimum api-version: 2015-06-15.

type Disk

type Disk struct {
	autorest.Response `json:"-"`
	ID                *string             `json:"id,omitempty"`
	Name              *string             `json:"name,omitempty"`
	Type              *string             `json:"type,omitempty"`
	Location          *string             `json:"location,omitempty"`
	Tags              *map[string]*string `json:"tags,omitempty"`
	ManagedBy         *string             `json:"managedBy,omitempty"`
	Sku               *DiskSku            `json:"sku,omitempty"`
	Zones             *[]string           `json:"zones,omitempty"`
	*DiskProperties   `json:"properties,omitempty"`
}

Disk is disk resource.

type DiskCreateOption

type DiskCreateOption string

DiskCreateOption enumerates the values for disk create option.

const (
	// Attach specifies the attach state for disk create option.
	Attach DiskCreateOption = "Attach"
	// Copy specifies the copy state for disk create option.
	Copy DiskCreateOption = "Copy"
	// Empty specifies the empty state for disk create option.
	Empty DiskCreateOption = "Empty"
	// FromImage specifies the from image state for disk create option.
	FromImage DiskCreateOption = "FromImage"
	// Import specifies the import state for disk create option.
	Import DiskCreateOption = "Import"
)

type DiskCreateOptionTypes

type DiskCreateOptionTypes string

DiskCreateOptionTypes enumerates the values for disk create option types.

const (
	// DiskCreateOptionTypesAttach specifies the disk create option types attach state for disk create option types.
	DiskCreateOptionTypesAttach DiskCreateOptionTypes = "Attach"
	// DiskCreateOptionTypesEmpty specifies the disk create option types empty state for disk create option types.
	DiskCreateOptionTypesEmpty DiskCreateOptionTypes = "Empty"
	// DiskCreateOptionTypesFromImage specifies the disk create option types from image state for disk create option types.
	DiskCreateOptionTypesFromImage DiskCreateOptionTypes = "FromImage"
)

type DiskEncryptionSettings

type DiskEncryptionSettings struct {
	DiskEncryptionKey *KeyVaultSecretReference `json:"diskEncryptionKey,omitempty"`
	KeyEncryptionKey  *KeyVaultKeyReference    `json:"keyEncryptionKey,omitempty"`
	Enabled           *bool                    `json:"enabled,omitempty"`
}

DiskEncryptionSettings is describes a Encryption Settings for a Disk

type DiskInstanceView

type DiskInstanceView struct {
	Name               *string                   `json:"name,omitempty"`
	EncryptionSettings *[]DiskEncryptionSettings `json:"encryptionSettings,omitempty"`
	Statuses           *[]InstanceViewStatus     `json:"statuses,omitempty"`
}

DiskInstanceView is the instance view of the disk.

type DiskList

type DiskList struct {
	autorest.Response `json:"-"`
	Value             *[]Disk `json:"value,omitempty"`
	NextLink          *string `json:"nextLink,omitempty"`
}

DiskList is the List Disks operation response.

func (DiskList) DiskListPreparer

func (client DiskList) DiskListPreparer() (*http.Request, error)

DiskListPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type DiskProperties

type DiskProperties struct {
	TimeCreated        *date.Time           `json:"timeCreated,omitempty"`
	OsType             OperatingSystemTypes `json:"osType,omitempty"`
	CreationData       *CreationData        `json:"creationData,omitempty"`
	DiskSizeGB         *int32               `json:"diskSizeGB,omitempty"`
	EncryptionSettings *EncryptionSettings  `json:"encryptionSettings,omitempty"`
	ProvisioningState  *string              `json:"provisioningState,omitempty"`
}

DiskProperties is disk resource properties.

type DiskSku

type DiskSku struct {
	Name StorageAccountTypes `json:"name,omitempty"`
	Tier *string             `json:"tier,omitempty"`
}

DiskSku is the disks and snapshots sku name. Can be Standard_LRS or Premium_LRS.

type DiskUpdate

type DiskUpdate struct {
	Tags                  *map[string]*string `json:"tags,omitempty"`
	Sku                   *DiskSku            `json:"sku,omitempty"`
	*DiskUpdateProperties `json:"properties,omitempty"`
}

DiskUpdate is disk update resource.

type DiskUpdateProperties

type DiskUpdateProperties struct {
	OsType             OperatingSystemTypes `json:"osType,omitempty"`
	DiskSizeGB         *int32               `json:"diskSizeGB,omitempty"`
	EncryptionSettings *EncryptionSettings  `json:"encryptionSettings,omitempty"`
}

DiskUpdateProperties is disk resource update properties.

type DisksClient

type DisksClient struct {
	ManagementClient
}

DisksClient is the compute Client

func NewDisksClient

func NewDisksClient(subscriptionID string) DisksClient

NewDisksClient creates an instance of the DisksClient client.

func NewDisksClientWithBaseURI

func NewDisksClientWithBaseURI(baseURI string, subscriptionID string) DisksClient

NewDisksClientWithBaseURI creates an instance of the DisksClient client.

func (DisksClient) CreateOrUpdate

func (client DisksClient) CreateOrUpdate(resourceGroupName string, diskName string, disk Disk, cancel <-chan struct{}) (<-chan Disk, <-chan error)

CreateOrUpdate creates or updates a disk. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. diskName is the name of the disk within the given subscription and resource group. disk is disk object supplied in the body of the Put disk operation.

func (DisksClient) CreateOrUpdatePreparer

func (client DisksClient) CreateOrUpdatePreparer(resourceGroupName string, diskName string, disk Disk, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (DisksClient) CreateOrUpdateResponder

func (client DisksClient) CreateOrUpdateResponder(resp *http.Response) (result Disk, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (DisksClient) CreateOrUpdateSender

func (client DisksClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (DisksClient) Delete

func (client DisksClient) Delete(resourceGroupName string, diskName string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)

Delete deletes a disk. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. diskName is the name of the disk within the given subscription and resource group.

func (DisksClient) DeletePreparer

func (client DisksClient) DeletePreparer(resourceGroupName string, diskName string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (DisksClient) DeleteResponder

func (client DisksClient) DeleteResponder(resp *http.Response) (result OperationStatusResponse, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (DisksClient) DeleteSender

func (client DisksClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (DisksClient) Get

func (client DisksClient) Get(resourceGroupName string, diskName string) (result Disk, err error)

Get gets information about a disk.

resourceGroupName is the name of the resource group. diskName is the name of the disk within the given subscription and resource group.

func (DisksClient) GetPreparer

func (client DisksClient) GetPreparer(resourceGroupName string, diskName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DisksClient) GetResponder

func (client DisksClient) GetResponder(resp *http.Response) (result Disk, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (DisksClient) GetSender

func (client DisksClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (DisksClient) GrantAccess

func (client DisksClient) GrantAccess(resourceGroupName string, diskName string, grantAccessData GrantAccessData, cancel <-chan struct{}) (<-chan AccessURI, <-chan error)

GrantAccess grants access to a disk. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. diskName is the name of the disk within the given subscription and resource group. grantAccessData is access data object supplied in the body of the get disk access operation.

func (DisksClient) GrantAccessPreparer

func (client DisksClient) GrantAccessPreparer(resourceGroupName string, diskName string, grantAccessData GrantAccessData, cancel <-chan struct{}) (*http.Request, error)

GrantAccessPreparer prepares the GrantAccess request.

func (DisksClient) GrantAccessResponder

func (client DisksClient) GrantAccessResponder(resp *http.Response) (result AccessURI, err error)

GrantAccessResponder handles the response to the GrantAccess request. The method always closes the http.Response Body.

func (DisksClient) GrantAccessSender

func (client DisksClient) GrantAccessSender(req *http.Request) (*http.Response, error)

GrantAccessSender sends the GrantAccess request. The method will close the http.Response Body if it receives an error.

func (DisksClient) List

func (client DisksClient) List() (result DiskList, err error)

List lists all the disks under a subscription.

func (DisksClient) ListByResourceGroup

func (client DisksClient) ListByResourceGroup(resourceGroupName string) (result DiskList, err error)

ListByResourceGroup lists all the disks under a resource group.

resourceGroupName is the name of the resource group.

func (DisksClient) ListByResourceGroupComplete

func (client DisksClient) ListByResourceGroupComplete(resourceGroupName string, cancel <-chan struct{}) (<-chan Disk, <-chan error)

ListByResourceGroupComplete gets all elements from the list without paging.

func (DisksClient) ListByResourceGroupNextResults

func (client DisksClient) ListByResourceGroupNextResults(lastResults DiskList) (result DiskList, err error)

ListByResourceGroupNextResults retrieves the next set of results, if any.

func (DisksClient) ListByResourceGroupPreparer

func (client DisksClient) ListByResourceGroupPreparer(resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (DisksClient) ListByResourceGroupResponder

func (client DisksClient) ListByResourceGroupResponder(resp *http.Response) (result DiskList, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (DisksClient) ListByResourceGroupSender

func (client DisksClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (DisksClient) ListComplete

func (client DisksClient) ListComplete(cancel <-chan struct{}) (<-chan Disk, <-chan error)

ListComplete gets all elements from the list without paging.

func (DisksClient) ListNextResults

func (client DisksClient) ListNextResults(lastResults DiskList) (result DiskList, err error)

ListNextResults retrieves the next set of results, if any.

func (DisksClient) ListPreparer

func (client DisksClient) ListPreparer() (*http.Request, error)

ListPreparer prepares the List request.

func (DisksClient) ListResponder

func (client DisksClient) ListResponder(resp *http.Response) (result DiskList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (DisksClient) ListSender

func (client DisksClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (DisksClient) RevokeAccess

func (client DisksClient) RevokeAccess(resourceGroupName string, diskName string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)

RevokeAccess revokes access to a disk. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. diskName is the name of the disk within the given subscription and resource group.

func (DisksClient) RevokeAccessPreparer

func (client DisksClient) RevokeAccessPreparer(resourceGroupName string, diskName string, cancel <-chan struct{}) (*http.Request, error)

RevokeAccessPreparer prepares the RevokeAccess request.

func (DisksClient) RevokeAccessResponder

func (client DisksClient) RevokeAccessResponder(resp *http.Response) (result OperationStatusResponse, err error)

RevokeAccessResponder handles the response to the RevokeAccess request. The method always closes the http.Response Body.

func (DisksClient) RevokeAccessSender

func (client DisksClient) RevokeAccessSender(req *http.Request) (*http.Response, error)

RevokeAccessSender sends the RevokeAccess request. The method will close the http.Response Body if it receives an error.

func (DisksClient) Update

func (client DisksClient) Update(resourceGroupName string, diskName string, disk DiskUpdate, cancel <-chan struct{}) (<-chan Disk, <-chan error)

Update updates (patches) a disk. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. diskName is the name of the disk within the given subscription and resource group. disk is disk object supplied in the body of the Patch disk operation.

func (DisksClient) UpdatePreparer

func (client DisksClient) UpdatePreparer(resourceGroupName string, diskName string, disk DiskUpdate, cancel <-chan struct{}) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (DisksClient) UpdateResponder

func (client DisksClient) UpdateResponder(resp *http.Response) (result Disk, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (DisksClient) UpdateSender

func (client DisksClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type EncryptionSettings

type EncryptionSettings struct {
	Enabled           *bool                       `json:"enabled,omitempty"`
	DiskEncryptionKey *KeyVaultAndSecretReference `json:"diskEncryptionKey,omitempty"`
	KeyEncryptionKey  *KeyVaultAndKeyReference    `json:"keyEncryptionKey,omitempty"`
}

EncryptionSettings is encryption settings for disk or snapshot

type GrantAccessData

type GrantAccessData struct {
	Access            AccessLevel `json:"access,omitempty"`
	DurationInSeconds *int32      `json:"durationInSeconds,omitempty"`
}

GrantAccessData is data used for requesting a SAS.

type HardwareProfile

type HardwareProfile struct {
	VMSize VirtualMachineSizeTypes `json:"vmSize,omitempty"`
}

HardwareProfile is specifies the hardware settings for the virtual machine.

type IPVersion

type IPVersion string

IPVersion enumerates the values for ip version.

const (
	// IPv4 specifies the i pv 4 state for ip version.
	IPv4 IPVersion = "IPv4"
	// IPv6 specifies the i pv 6 state for ip version.
	IPv6 IPVersion = "IPv6"
)

type Image

type Image struct {
	autorest.Response `json:"-"`
	ID                *string             `json:"id,omitempty"`
	Name              *string             `json:"name,omitempty"`
	Type              *string             `json:"type,omitempty"`
	Location          *string             `json:"location,omitempty"`
	Tags              *map[string]*string `json:"tags,omitempty"`
	*ImageProperties  `json:"properties,omitempty"`
}

Image is the source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.

type ImageDataDisk

type ImageDataDisk struct {
	Lun                *int32              `json:"lun,omitempty"`
	Snapshot           *SubResource        `json:"snapshot,omitempty"`
	ManagedDisk        *SubResource        `json:"managedDisk,omitempty"`
	BlobURI            *string             `json:"blobUri,omitempty"`
	Caching            CachingTypes        `json:"caching,omitempty"`
	DiskSizeGB         *int32              `json:"diskSizeGB,omitempty"`
	StorageAccountType StorageAccountTypes `json:"storageAccountType,omitempty"`
}

ImageDataDisk is describes a data disk.

type ImageDiskReference

type ImageDiskReference struct {
	ID  *string `json:"id,omitempty"`
	Lun *int32  `json:"lun,omitempty"`
}

ImageDiskReference is the source image used for creating the disk.

type ImageListResult

type ImageListResult struct {
	autorest.Response `json:"-"`
	Value             *[]Image `json:"value,omitempty"`
	NextLink          *string  `json:"nextLink,omitempty"`
}

ImageListResult is the List Image operation response.

func (ImageListResult) ImageListResultPreparer

func (client ImageListResult) ImageListResultPreparer() (*http.Request, error)

ImageListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type ImageOSDisk

type ImageOSDisk struct {
	OsType             OperatingSystemTypes      `json:"osType,omitempty"`
	OsState            OperatingSystemStateTypes `json:"osState,omitempty"`
	Snapshot           *SubResource              `json:"snapshot,omitempty"`
	ManagedDisk        *SubResource              `json:"managedDisk,omitempty"`
	BlobURI            *string                   `json:"blobUri,omitempty"`
	Caching            CachingTypes              `json:"caching,omitempty"`
	DiskSizeGB         *int32                    `json:"diskSizeGB,omitempty"`
	StorageAccountType StorageAccountTypes       `json:"storageAccountType,omitempty"`
}

ImageOSDisk is describes an Operating System disk.

type ImageProperties

type ImageProperties struct {
	SourceVirtualMachine *SubResource         `json:"sourceVirtualMachine,omitempty"`
	StorageProfile       *ImageStorageProfile `json:"storageProfile,omitempty"`
	ProvisioningState    *string              `json:"provisioningState,omitempty"`
}

ImageProperties is describes the properties of an Image.

type ImageReference

type ImageReference struct {
	ID        *string `json:"id,omitempty"`
	Publisher *string `json:"publisher,omitempty"`
	Offer     *string `json:"offer,omitempty"`
	Sku       *string `json:"sku,omitempty"`
	Version   *string `json:"version,omitempty"`
}

ImageReference is specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.

type ImageStorageProfile

type ImageStorageProfile struct {
	OsDisk    *ImageOSDisk     `json:"osDisk,omitempty"`
	DataDisks *[]ImageDataDisk `json:"dataDisks,omitempty"`
}

ImageStorageProfile is describes a storage profile.

type ImagesClient

type ImagesClient struct {
	ManagementClient
}

ImagesClient is the compute Client

func NewImagesClient

func NewImagesClient(subscriptionID string) ImagesClient

NewImagesClient creates an instance of the ImagesClient client.

func NewImagesClientWithBaseURI

func NewImagesClientWithBaseURI(baseURI string, subscriptionID string) ImagesClient

NewImagesClientWithBaseURI creates an instance of the ImagesClient client.

func (ImagesClient) CreateOrUpdate

func (client ImagesClient) CreateOrUpdate(resourceGroupName string, imageName string, parameters Image, cancel <-chan struct{}) (<-chan Image, <-chan error)

CreateOrUpdate create or update an image. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. imageName is the name of the image. parameters is parameters supplied to the Create Image operation.

func (ImagesClient) CreateOrUpdatePreparer

func (client ImagesClient) CreateOrUpdatePreparer(resourceGroupName string, imageName string, parameters Image, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ImagesClient) CreateOrUpdateResponder

func (client ImagesClient) CreateOrUpdateResponder(resp *http.Response) (result Image, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (ImagesClient) CreateOrUpdateSender

func (client ImagesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (ImagesClient) Delete

func (client ImagesClient) Delete(resourceGroupName string, imageName string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)

Delete deletes an Image. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. imageName is the name of the image.

func (ImagesClient) DeletePreparer

func (client ImagesClient) DeletePreparer(resourceGroupName string, imageName string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ImagesClient) DeleteResponder

func (client ImagesClient) DeleteResponder(resp *http.Response) (result OperationStatusResponse, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ImagesClient) DeleteSender

func (client ImagesClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ImagesClient) Get

func (client ImagesClient) Get(resourceGroupName string, imageName string, expand string) (result Image, err error)

Get gets an image.

resourceGroupName is the name of the resource group. imageName is the name of the image. expand is the expand expression to apply on the operation.

func (ImagesClient) GetPreparer

func (client ImagesClient) GetPreparer(resourceGroupName string, imageName string, expand string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ImagesClient) GetResponder

func (client ImagesClient) GetResponder(resp *http.Response) (result Image, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ImagesClient) GetSender

func (client ImagesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ImagesClient) List

func (client ImagesClient) List() (result ImageListResult, err error)

List gets the list of Images in the subscription. Use nextLink property in the response to get the next page of Images. Do this till nextLink is not null to fetch all the Images.

func (ImagesClient) ListByResourceGroup

func (client ImagesClient) ListByResourceGroup(resourceGroupName string) (result ImageListResult, err error)

ListByResourceGroup gets the list of images under a resource group.

resourceGroupName is the name of the resource group.

func (ImagesClient) ListByResourceGroupComplete

func (client ImagesClient) ListByResourceGroupComplete(resourceGroupName string, cancel <-chan struct{}) (<-chan Image, <-chan error)

ListByResourceGroupComplete gets all elements from the list without paging.

func (ImagesClient) ListByResourceGroupNextResults

func (client ImagesClient) ListByResourceGroupNextResults(lastResults ImageListResult) (result ImageListResult, err error)

ListByResourceGroupNextResults retrieves the next set of results, if any.

func (ImagesClient) ListByResourceGroupPreparer

func (client ImagesClient) ListByResourceGroupPreparer(resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (ImagesClient) ListByResourceGroupResponder

func (client ImagesClient) ListByResourceGroupResponder(resp *http.Response) (result ImageListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (ImagesClient) ListByResourceGroupSender

func (client ImagesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (ImagesClient) ListComplete

func (client ImagesClient) ListComplete(cancel <-chan struct{}) (<-chan Image, <-chan error)

ListComplete gets all elements from the list without paging.

func (ImagesClient) ListNextResults

func (client ImagesClient) ListNextResults(lastResults ImageListResult) (result ImageListResult, err error)

ListNextResults retrieves the next set of results, if any.

func (ImagesClient) ListPreparer

func (client ImagesClient) ListPreparer() (*http.Request, error)

ListPreparer prepares the List request.

func (ImagesClient) ListResponder

func (client ImagesClient) ListResponder(resp *http.Response) (result ImageListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ImagesClient) ListSender

func (client ImagesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type InnerError

type InnerError struct {
	Exceptiontype *string `json:"exceptiontype,omitempty"`
	Errordetail   *string `json:"errordetail,omitempty"`
}

InnerError is inner error details.

type InstanceViewStatus

type InstanceViewStatus struct {
	Code          *string          `json:"code,omitempty"`
	Level         StatusLevelTypes `json:"level,omitempty"`
	DisplayStatus *string          `json:"displayStatus,omitempty"`
	Message       *string          `json:"message,omitempty"`
	Time          *date.Time       `json:"time,omitempty"`
}

InstanceViewStatus is instance view status.

type InstanceViewTypes

type InstanceViewTypes string

InstanceViewTypes enumerates the values for instance view types.

const (
	// InstanceView specifies the instance view state for instance view types.
	InstanceView InstanceViewTypes = "instanceView"
)

type KeyVaultAndKeyReference

type KeyVaultAndKeyReference struct {
	SourceVault *SourceVault `json:"sourceVault,omitempty"`
	KeyURL      *string      `json:"keyUrl,omitempty"`
}

KeyVaultAndKeyReference is key Vault Key Url and vault id of KeK, KeK is optional and when provided is used to unwrap the encryptionKey

type KeyVaultAndSecretReference

type KeyVaultAndSecretReference struct {
	SourceVault *SourceVault `json:"sourceVault,omitempty"`
	SecretURL   *string      `json:"secretUrl,omitempty"`
}

KeyVaultAndSecretReference is key Vault Secret Url and vault id of the encryption key

type KeyVaultKeyReference

type KeyVaultKeyReference struct {
	KeyURL      *string      `json:"keyUrl,omitempty"`
	SourceVault *SubResource `json:"sourceVault,omitempty"`
}

KeyVaultKeyReference is describes a reference to Key Vault Key

type KeyVaultSecretReference

type KeyVaultSecretReference struct {
	SecretURL   *string      `json:"secretUrl,omitempty"`
	SourceVault *SubResource `json:"sourceVault,omitempty"`
}

KeyVaultSecretReference is describes a reference to Key Vault Secret

type LinuxConfiguration

type LinuxConfiguration struct {
	DisablePasswordAuthentication *bool             `json:"disablePasswordAuthentication,omitempty"`
	SSH                           *SSHConfiguration `json:"ssh,omitempty"`
}

LinuxConfiguration is specifies the Linux operating system settings on the virtual machine. <br><br>For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json) <br><br> For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).

type ListUsagesResult

type ListUsagesResult struct {
	autorest.Response `json:"-"`
	Value             *[]Usage `json:"value,omitempty"`
	NextLink          *string  `json:"nextLink,omitempty"`
}

ListUsagesResult is the List Usages operation response.

func (ListUsagesResult) ListUsagesResultPreparer

func (client ListUsagesResult) ListUsagesResultPreparer() (*http.Request, error)

ListUsagesResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type ListVirtualMachineExtensionImage

type ListVirtualMachineExtensionImage struct {
	autorest.Response `json:"-"`
	Value             *[]VirtualMachineExtensionImage `json:"value,omitempty"`
}

ListVirtualMachineExtensionImage is

type ListVirtualMachineImageResource

type ListVirtualMachineImageResource struct {
	autorest.Response `json:"-"`
	Value             *[]VirtualMachineImageResource `json:"value,omitempty"`
}

ListVirtualMachineImageResource is

type LongRunningOperationProperties

type LongRunningOperationProperties struct {
	Output *map[string]interface{} `json:"output,omitempty"`
}

LongRunningOperationProperties is compute-specific operation properties, including output

type MaintenanceOperationResultCodeTypes

type MaintenanceOperationResultCodeTypes string

MaintenanceOperationResultCodeTypes enumerates the values for maintenance operation result code types.

const (
	// MaintenanceOperationResultCodeTypesMaintenanceAborted specifies the maintenance operation result code types
	// maintenance aborted state for maintenance operation result code types.
	MaintenanceOperationResultCodeTypesMaintenanceAborted MaintenanceOperationResultCodeTypes = "MaintenanceAborted"
	// MaintenanceOperationResultCodeTypesMaintenanceCompleted specifies the maintenance operation result code types
	// maintenance completed state for maintenance operation result code types.
	MaintenanceOperationResultCodeTypesMaintenanceCompleted MaintenanceOperationResultCodeTypes = "MaintenanceCompleted"
	// MaintenanceOperationResultCodeTypesNone specifies the maintenance operation result code types none state for
	// maintenance operation result code types.
	MaintenanceOperationResultCodeTypesNone MaintenanceOperationResultCodeTypes = "None"
	// MaintenanceOperationResultCodeTypesRetryLater specifies the maintenance operation result code types retry later
	// state for maintenance operation result code types.
	MaintenanceOperationResultCodeTypesRetryLater MaintenanceOperationResultCodeTypes = "RetryLater"
)

type MaintenanceRedeployStatus

type MaintenanceRedeployStatus struct {
	IsCustomerInitiatedMaintenanceAllowed *bool                               `json:"isCustomerInitiatedMaintenanceAllowed,omitempty"`
	PreMaintenanceWindowStartTime         *date.Time                          `json:"preMaintenanceWindowStartTime,omitempty"`
	PreMaintenanceWindowEndTime           *date.Time                          `json:"preMaintenanceWindowEndTime,omitempty"`
	MaintenanceWindowStartTime            *date.Time                          `json:"maintenanceWindowStartTime,omitempty"`
	MaintenanceWindowEndTime              *date.Time                          `json:"maintenanceWindowEndTime,omitempty"`
	LastOperationResultCode               MaintenanceOperationResultCodeTypes `json:"lastOperationResultCode,omitempty"`
	LastOperationMessage                  *string                             `json:"lastOperationMessage,omitempty"`
}

MaintenanceRedeployStatus is maintenance Operation Status.

type ManagedDiskParameters

type ManagedDiskParameters struct {
	ID                 *string             `json:"id,omitempty"`
	StorageAccountType StorageAccountTypes `json:"storageAccountType,omitempty"`
}

ManagedDiskParameters is the parameters of a managed disk.

type ManagementClient

type ManagementClient struct {
	autorest.Client
	BaseURI        string
	SubscriptionID string
}

ManagementClient is the base client for Compute.

func New

func New(subscriptionID string) ManagementClient

New creates an instance of the ManagementClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) ManagementClient

NewWithBaseURI creates an instance of the ManagementClient client.

type NetworkInterfaceReference

type NetworkInterfaceReference struct {
	ID                                   *string `json:"id,omitempty"`
	*NetworkInterfaceReferenceProperties `json:"properties,omitempty"`
}

NetworkInterfaceReference is describes a network interface reference.

type NetworkInterfaceReferenceProperties

type NetworkInterfaceReferenceProperties struct {
	Primary *bool `json:"primary,omitempty"`
}

NetworkInterfaceReferenceProperties is describes a network interface reference properties.

type NetworkProfile

type NetworkProfile struct {
	NetworkInterfaces *[]NetworkInterfaceReference `json:"networkInterfaces,omitempty"`
}

NetworkProfile is specifies the network interfaces of the virtual machine.

type OSDisk

type OSDisk struct {
	OsType             OperatingSystemTypes    `json:"osType,omitempty"`
	EncryptionSettings *DiskEncryptionSettings `json:"encryptionSettings,omitempty"`
	Name               *string                 `json:"name,omitempty"`
	Vhd                *VirtualHardDisk        `json:"vhd,omitempty"`
	Image              *VirtualHardDisk        `json:"image,omitempty"`
	Caching            CachingTypes            `json:"caching,omitempty"`
	CreateOption       DiskCreateOptionTypes   `json:"createOption,omitempty"`
	DiskSizeGB         *int32                  `json:"diskSizeGB,omitempty"`
	ManagedDisk        *ManagedDiskParameters  `json:"managedDisk,omitempty"`
}

OSDisk is specifies information about the operating system disk used by the virtual machine. <br><br> For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).

type OSDiskImage

type OSDiskImage struct {
	OperatingSystem OperatingSystemTypes `json:"operatingSystem,omitempty"`
}

OSDiskImage is contains the os disk image information.

type OSProfile

type OSProfile struct {
	ComputerName         *string               `json:"computerName,omitempty"`
	AdminUsername        *string               `json:"adminUsername,omitempty"`
	AdminPassword        *string               `json:"adminPassword,omitempty"`
	CustomData           *string               `json:"customData,omitempty"`
	WindowsConfiguration *WindowsConfiguration `json:"windowsConfiguration,omitempty"`
	LinuxConfiguration   *LinuxConfiguration   `json:"linuxConfiguration,omitempty"`
	Secrets              *[]VaultSecretGroup   `json:"secrets,omitempty"`
}

OSProfile is specifies the operating system settings for the virtual machine.

type OperatingSystemStateTypes

type OperatingSystemStateTypes string

OperatingSystemStateTypes enumerates the values for operating system state types.

const (
	// Generalized specifies the generalized state for operating system state types.
	Generalized OperatingSystemStateTypes = "Generalized"
	// Specialized specifies the specialized state for operating system state types.
	Specialized OperatingSystemStateTypes = "Specialized"
)

type OperatingSystemTypes

type OperatingSystemTypes string

OperatingSystemTypes enumerates the values for operating system types.

const (
	// Linux specifies the linux state for operating system types.
	Linux OperatingSystemTypes = "Linux"
	// Windows specifies the windows state for operating system types.
	Windows OperatingSystemTypes = "Windows"
)

type OperationStatusResponse

type OperationStatusResponse struct {
	autorest.Response `json:"-"`
	Name              *string    `json:"name,omitempty"`
	Status            *string    `json:"status,omitempty"`
	StartTime         *date.Time `json:"startTime,omitempty"`
	EndTime           *date.Time `json:"endTime,omitempty"`
	Error             *APIError  `json:"error,omitempty"`
}

OperationStatusResponse is operation status response

type PassNames

type PassNames string

PassNames enumerates the values for pass names.

const (
	// OobeSystem specifies the oobe system state for pass names.
	OobeSystem PassNames = "OobeSystem"
)

type Plan

type Plan struct {
	Name          *string `json:"name,omitempty"`
	Publisher     *string `json:"publisher,omitempty"`
	Product       *string `json:"product,omitempty"`
	PromotionCode *string `json:"promotionCode,omitempty"`
}

Plan is specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.

type ProtocolTypes

type ProtocolTypes string

ProtocolTypes enumerates the values for protocol types.

const (
	// HTTP specifies the http state for protocol types.
	HTTP ProtocolTypes = "Http"
	// HTTPS specifies the https state for protocol types.
	HTTPS ProtocolTypes = "Https"
)

type PurchasePlan

type PurchasePlan struct {
	Publisher *string `json:"publisher,omitempty"`
	Name      *string `json:"name,omitempty"`
	Product   *string `json:"product,omitempty"`
}

PurchasePlan is used for establishing the purchase context of any 3rd Party artifact through MarketPlace.

type Resource

type Resource struct {
	ID       *string             `json:"id,omitempty"`
	Name     *string             `json:"name,omitempty"`
	Type     *string             `json:"type,omitempty"`
	Location *string             `json:"location,omitempty"`
	Tags     *map[string]*string `json:"tags,omitempty"`
}

Resource is the Resource model definition.

type ResourceIdentityType

type ResourceIdentityType string

ResourceIdentityType enumerates the values for resource identity type.

const (
	// SystemAssigned specifies the system assigned state for resource identity type.
	SystemAssigned ResourceIdentityType = "SystemAssigned"
)

type ResourceSku

type ResourceSku struct {
	ResourceType *string                    `json:"resourceType,omitempty"`
	Name         *string                    `json:"name,omitempty"`
	Tier         *string                    `json:"tier,omitempty"`
	Size         *string                    `json:"size,omitempty"`
	Family       *string                    `json:"family,omitempty"`
	Kind         *string                    `json:"kind,omitempty"`
	Capacity     *ResourceSkuCapacity       `json:"capacity,omitempty"`
	Locations    *[]string                  `json:"locations,omitempty"`
	APIVersions  *[]string                  `json:"apiVersions,omitempty"`
	Costs        *[]ResourceSkuCosts        `json:"costs,omitempty"`
	Capabilities *[]ResourceSkuCapabilities `json:"capabilities,omitempty"`
	Restrictions *[]ResourceSkuRestrictions `json:"restrictions,omitempty"`
}

ResourceSku is describes an available Compute SKU.

type ResourceSkuCapabilities

type ResourceSkuCapabilities struct {
	Name  *string `json:"name,omitempty"`
	Value *string `json:"value,omitempty"`
}

ResourceSkuCapabilities is describes The SKU capabilites object.

type ResourceSkuCapacity

type ResourceSkuCapacity struct {
	Minimum   *int64                       `json:"minimum,omitempty"`
	Maximum   *int64                       `json:"maximum,omitempty"`
	Default   *int64                       `json:"default,omitempty"`
	ScaleType ResourceSkuCapacityScaleType `json:"scaleType,omitempty"`
}

ResourceSkuCapacity is describes scaling information of a SKU.

type ResourceSkuCapacityScaleType

type ResourceSkuCapacityScaleType string

ResourceSkuCapacityScaleType enumerates the values for resource sku capacity scale type.

const (
	// ResourceSkuCapacityScaleTypeAutomatic specifies the resource sku capacity scale type automatic state for resource
	// sku capacity scale type.
	ResourceSkuCapacityScaleTypeAutomatic ResourceSkuCapacityScaleType = "Automatic"
	// ResourceSkuCapacityScaleTypeManual specifies the resource sku capacity scale type manual state for resource sku
	// capacity scale type.
	ResourceSkuCapacityScaleTypeManual ResourceSkuCapacityScaleType = "Manual"
	// ResourceSkuCapacityScaleTypeNone specifies the resource sku capacity scale type none state for resource sku capacity
	// scale type.
	ResourceSkuCapacityScaleTypeNone ResourceSkuCapacityScaleType = "None"
)

type ResourceSkuCosts

type ResourceSkuCosts struct {
	MeterID      *string `json:"meterID,omitempty"`
	Quantity     *int64  `json:"quantity,omitempty"`
	ExtendedUnit *string `json:"extendedUnit,omitempty"`
}

ResourceSkuCosts is describes metadata for retrieving price info.

type ResourceSkuRestrictions

type ResourceSkuRestrictions struct {
	Type       ResourceSkuRestrictionsType       `json:"type,omitempty"`
	Values     *[]string                         `json:"values,omitempty"`
	ReasonCode ResourceSkuRestrictionsReasonCode `json:"reasonCode,omitempty"`
}

ResourceSkuRestrictions is describes scaling information of a SKU.

type ResourceSkuRestrictionsReasonCode

type ResourceSkuRestrictionsReasonCode string

ResourceSkuRestrictionsReasonCode enumerates the values for resource sku restrictions reason code.

const (
	// NotAvailableForSubscription specifies the not available for subscription state for resource sku restrictions reason
	// code.
	NotAvailableForSubscription ResourceSkuRestrictionsReasonCode = "NotAvailableForSubscription"
	// QuotaID specifies the quota id state for resource sku restrictions reason code.
	QuotaID ResourceSkuRestrictionsReasonCode = "QuotaId"
)

type ResourceSkuRestrictionsType

type ResourceSkuRestrictionsType string

ResourceSkuRestrictionsType enumerates the values for resource sku restrictions type.

const (
	// Location specifies the location state for resource sku restrictions type.
	Location ResourceSkuRestrictionsType = "Location"
)

type ResourceSkusClient

type ResourceSkusClient struct {
	ManagementClient
}

ResourceSkusClient is the compute Client

func NewResourceSkusClient

func NewResourceSkusClient(subscriptionID string) ResourceSkusClient

NewResourceSkusClient creates an instance of the ResourceSkusClient client.

func NewResourceSkusClientWithBaseURI

func NewResourceSkusClientWithBaseURI(baseURI string, subscriptionID string) ResourceSkusClient

NewResourceSkusClientWithBaseURI creates an instance of the ResourceSkusClient client.

func (ResourceSkusClient) List

func (client ResourceSkusClient) List() (result ResourceSkusResult, err error)

List gets the list of Microsoft.Compute SKUs available for your Subscription.

func (ResourceSkusClient) ListComplete

func (client ResourceSkusClient) ListComplete(cancel <-chan struct{}) (<-chan ResourceSku, <-chan error)

ListComplete gets all elements from the list without paging.

func (ResourceSkusClient) ListNextResults

func (client ResourceSkusClient) ListNextResults(lastResults ResourceSkusResult) (result ResourceSkusResult, err error)

ListNextResults retrieves the next set of results, if any.

func (ResourceSkusClient) ListPreparer

func (client ResourceSkusClient) ListPreparer() (*http.Request, error)

ListPreparer prepares the List request.

func (ResourceSkusClient) ListResponder

func (client ResourceSkusClient) ListResponder(resp *http.Response) (result ResourceSkusResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ResourceSkusClient) ListSender

func (client ResourceSkusClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type ResourceSkusResult

type ResourceSkusResult struct {
	autorest.Response `json:"-"`
	Value             *[]ResourceSku `json:"value,omitempty"`
	NextLink          *string        `json:"nextLink,omitempty"`
}

ResourceSkusResult is the Compute List Skus operation response.

func (ResourceSkusResult) ResourceSkusResultPreparer

func (client ResourceSkusResult) ResourceSkusResultPreparer() (*http.Request, error)

ResourceSkusResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type ResourceUpdate

type ResourceUpdate struct {
	Tags *map[string]*string `json:"tags,omitempty"`
	Sku  *DiskSku            `json:"sku,omitempty"`
}

ResourceUpdate is the Resource model definition.

type RollingUpgradeActionType

type RollingUpgradeActionType string

RollingUpgradeActionType enumerates the values for rolling upgrade action type.

const (
	// Cancel specifies the cancel state for rolling upgrade action type.
	Cancel RollingUpgradeActionType = "Cancel"
	// Start specifies the start state for rolling upgrade action type.
	Start RollingUpgradeActionType = "Start"
)

type RollingUpgradePolicy

type RollingUpgradePolicy struct {
	MaxBatchInstancePercent             *int32  `json:"maxBatchInstancePercent,omitempty"`
	MaxUnhealthyInstancePercent         *int32  `json:"maxUnhealthyInstancePercent,omitempty"`
	MaxUnhealthyUpgradedInstancePercent *int32  `json:"maxUnhealthyUpgradedInstancePercent,omitempty"`
	PauseTimeBetweenBatches             *string `json:"pauseTimeBetweenBatches,omitempty"`
}

RollingUpgradePolicy is the configuration parameters used while performing a rolling upgrade.

type RollingUpgradeProgressInfo

type RollingUpgradeProgressInfo struct {
	SuccessfulInstanceCount *int32 `json:"successfulInstanceCount,omitempty"`
	FailedInstanceCount     *int32 `json:"failedInstanceCount,omitempty"`
	InProgressInstanceCount *int32 `json:"inProgressInstanceCount,omitempty"`
	PendingInstanceCount    *int32 `json:"pendingInstanceCount,omitempty"`
}

RollingUpgradeProgressInfo is information about the number of virtual machine instances in each upgrade state.

type RollingUpgradeRunningStatus

type RollingUpgradeRunningStatus struct {
	Code           RollingUpgradeStatusCode `json:"code,omitempty"`
	StartTime      *date.Time               `json:"startTime,omitempty"`
	LastAction     RollingUpgradeActionType `json:"lastAction,omitempty"`
	LastActionTime *date.Time               `json:"lastActionTime,omitempty"`
}

RollingUpgradeRunningStatus is information about the current running state of the overall upgrade.

type RollingUpgradeStatusCode

type RollingUpgradeStatusCode string

RollingUpgradeStatusCode enumerates the values for rolling upgrade status code.

const (
	// Cancelled specifies the cancelled state for rolling upgrade status code.
	Cancelled RollingUpgradeStatusCode = "Cancelled"
	// Completed specifies the completed state for rolling upgrade status code.
	Completed RollingUpgradeStatusCode = "Completed"
	// Faulted specifies the faulted state for rolling upgrade status code.
	Faulted RollingUpgradeStatusCode = "Faulted"
	// RollingForward specifies the rolling forward state for rolling upgrade status code.
	RollingForward RollingUpgradeStatusCode = "RollingForward"
)

type RollingUpgradeStatusInfo

type RollingUpgradeStatusInfo struct {
	autorest.Response                   `json:"-"`
	ID                                  *string             `json:"id,omitempty"`
	Name                                *string             `json:"name,omitempty"`
	Type                                *string             `json:"type,omitempty"`
	Location                            *string             `json:"location,omitempty"`
	Tags                                *map[string]*string `json:"tags,omitempty"`
	*RollingUpgradeStatusInfoProperties `json:"properties,omitempty"`
}

RollingUpgradeStatusInfo is the status of the latest virtual machine scale set rolling upgrade.

type RollingUpgradeStatusInfoProperties

type RollingUpgradeStatusInfoProperties struct {
	Policy        *RollingUpgradePolicy        `json:"policy,omitempty"`
	RunningStatus *RollingUpgradeRunningStatus `json:"runningStatus,omitempty"`
	Progress      *RollingUpgradeProgressInfo  `json:"progress,omitempty"`
	Error         *APIError                    `json:"error,omitempty"`
}

RollingUpgradeStatusInfoProperties is the status of the latest virtual machine scale set rolling upgrade.

type RunCommandDocument

type RunCommandDocument struct {
	autorest.Response `json:"-"`
	Schema            *string                          `json:"$schema,omitempty"`
	ID                *string                          `json:"id,omitempty"`
	OsType            OperatingSystemTypes             `json:"osType,omitempty"`
	Label             *string                          `json:"label,omitempty"`
	Description       *string                          `json:"description,omitempty"`
	Script            *[]string                        `json:"script,omitempty"`
	Parameters        *[]RunCommandParameterDefinition `json:"parameters,omitempty"`
}

RunCommandDocument is describes the properties of a Run Command.

type RunCommandDocumentBase

type RunCommandDocumentBase struct {
	Schema      *string              `json:"$schema,omitempty"`
	ID          *string              `json:"id,omitempty"`
	OsType      OperatingSystemTypes `json:"osType,omitempty"`
	Label       *string              `json:"label,omitempty"`
	Description *string              `json:"description,omitempty"`
}

RunCommandDocumentBase is describes the properties of a Run Command metadata.

type RunCommandInput

type RunCommandInput struct {
	CommandID  *string                     `json:"commandId,omitempty"`
	Script     *[]string                   `json:"script,omitempty"`
	Parameters *[]RunCommandInputParameter `json:"parameters,omitempty"`
}

RunCommandInput is capture Virtual Machine parameters.

type RunCommandInputParameter

type RunCommandInputParameter struct {
	Name  *string `json:"name,omitempty"`
	Value *string `json:"value,omitempty"`
}

RunCommandInputParameter is describes the properties of a run command parameter.

type RunCommandListResult

type RunCommandListResult struct {
	autorest.Response `json:"-"`
	Value             *[]RunCommandDocumentBase `json:"value,omitempty"`
	NextLink          *string                   `json:"nextLink,omitempty"`
}

RunCommandListResult is the List Virtual Machine operation response.

func (RunCommandListResult) RunCommandListResultPreparer

func (client RunCommandListResult) RunCommandListResultPreparer() (*http.Request, error)

RunCommandListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type RunCommandParameterDefinition

type RunCommandParameterDefinition struct {
	Name         *string `json:"name,omitempty"`
	Type         *string `json:"type,omitempty"`
	DefaultValue *string `json:"defaultValue,omitempty"`
	Required     *bool   `json:"required,omitempty"`
}

RunCommandParameterDefinition is describes the properties of a run command parameter.

type RunCommandResult

type RunCommandResult struct {
	autorest.Response           `json:"-"`
	Name                        *string    `json:"name,omitempty"`
	Status                      *string    `json:"status,omitempty"`
	StartTime                   *date.Time `json:"startTime,omitempty"`
	EndTime                     *date.Time `json:"endTime,omitempty"`
	Error                       *APIError  `json:"error,omitempty"`
	*RunCommandResultProperties `json:"properties,omitempty"`
}

RunCommandResult is run command operation response.

type RunCommandResultProperties

type RunCommandResultProperties struct {
	Output *map[string]interface{} `json:"output,omitempty"`
}

RunCommandResultProperties is compute-specific operation properties, including output

type SSHConfiguration

type SSHConfiguration struct {
	PublicKeys *[]SSHPublicKey `json:"publicKeys,omitempty"`
}

SSHConfiguration is SSH configuration for Linux based VMs running on Azure

type SSHPublicKey

type SSHPublicKey struct {
	Path    *string `json:"path,omitempty"`
	KeyData *string `json:"keyData,omitempty"`
}

SSHPublicKey is contains information about SSH certificate public key and the path on the Linux VM where the public key is placed.

type SettingNames

type SettingNames string

SettingNames enumerates the values for setting names.

const (
	// AutoLogon specifies the auto logon state for setting names.
	AutoLogon SettingNames = "AutoLogon"
	// FirstLogonCommands specifies the first logon commands state for setting names.
	FirstLogonCommands SettingNames = "FirstLogonCommands"
)

type Sku

type Sku struct {
	Name     *string `json:"name,omitempty"`
	Tier     *string `json:"tier,omitempty"`
	Capacity *int64  `json:"capacity,omitempty"`
}

Sku is describes a virtual machine scale set sku.

type Snapshot

type Snapshot struct {
	autorest.Response `json:"-"`
	ID                *string             `json:"id,omitempty"`
	Name              *string             `json:"name,omitempty"`
	Type              *string             `json:"type,omitempty"`
	Location          *string             `json:"location,omitempty"`
	Tags              *map[string]*string `json:"tags,omitempty"`
	ManagedBy         *string             `json:"managedBy,omitempty"`
	Sku               *DiskSku            `json:"sku,omitempty"`
	*DiskProperties   `json:"properties,omitempty"`
}

Snapshot is snapshot resource.

type SnapshotList

type SnapshotList struct {
	autorest.Response `json:"-"`
	Value             *[]Snapshot `json:"value,omitempty"`
	NextLink          *string     `json:"nextLink,omitempty"`
}

SnapshotList is the List Snapshots operation response.

func (SnapshotList) SnapshotListPreparer

func (client SnapshotList) SnapshotListPreparer() (*http.Request, error)

SnapshotListPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type SnapshotUpdate

type SnapshotUpdate struct {
	Tags                  *map[string]*string `json:"tags,omitempty"`
	Sku                   *DiskSku            `json:"sku,omitempty"`
	*DiskUpdateProperties `json:"properties,omitempty"`
}

SnapshotUpdate is snapshot update resource.

type SnapshotsClient

type SnapshotsClient struct {
	ManagementClient
}

SnapshotsClient is the compute Client

func NewSnapshotsClient

func NewSnapshotsClient(subscriptionID string) SnapshotsClient

NewSnapshotsClient creates an instance of the SnapshotsClient client.

func NewSnapshotsClientWithBaseURI

func NewSnapshotsClientWithBaseURI(baseURI string, subscriptionID string) SnapshotsClient

NewSnapshotsClientWithBaseURI creates an instance of the SnapshotsClient client.

func (SnapshotsClient) CreateOrUpdate

func (client SnapshotsClient) CreateOrUpdate(resourceGroupName string, snapshotName string, snapshot Snapshot, cancel <-chan struct{}) (<-chan Snapshot, <-chan error)

CreateOrUpdate creates or updates a snapshot. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. snapshotName is the name of the snapshot within the given subscription and resource group. snapshot is snapshot object supplied in the body of the Put disk operation.

func (SnapshotsClient) CreateOrUpdatePreparer

func (client SnapshotsClient) CreateOrUpdatePreparer(resourceGroupName string, snapshotName string, snapshot Snapshot, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (SnapshotsClient) CreateOrUpdateResponder

func (client SnapshotsClient) CreateOrUpdateResponder(resp *http.Response) (result Snapshot, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (SnapshotsClient) CreateOrUpdateSender

func (client SnapshotsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (SnapshotsClient) Delete

func (client SnapshotsClient) Delete(resourceGroupName string, snapshotName string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)

Delete deletes a snapshot. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. snapshotName is the name of the snapshot within the given subscription and resource group.

func (SnapshotsClient) DeletePreparer

func (client SnapshotsClient) DeletePreparer(resourceGroupName string, snapshotName string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (SnapshotsClient) DeleteResponder

func (client SnapshotsClient) DeleteResponder(resp *http.Response) (result OperationStatusResponse, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (SnapshotsClient) DeleteSender

func (client SnapshotsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (SnapshotsClient) Get

func (client SnapshotsClient) Get(resourceGroupName string, snapshotName string) (result Snapshot, err error)

Get gets information about a snapshot.

resourceGroupName is the name of the resource group. snapshotName is the name of the snapshot within the given subscription and resource group.

func (SnapshotsClient) GetPreparer

func (client SnapshotsClient) GetPreparer(resourceGroupName string, snapshotName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (SnapshotsClient) GetResponder

func (client SnapshotsClient) GetResponder(resp *http.Response) (result Snapshot, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (SnapshotsClient) GetSender

func (client SnapshotsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (SnapshotsClient) GrantAccess

func (client SnapshotsClient) GrantAccess(resourceGroupName string, snapshotName string, grantAccessData GrantAccessData, cancel <-chan struct{}) (<-chan AccessURI, <-chan error)

GrantAccess grants access to a snapshot. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. snapshotName is the name of the snapshot within the given subscription and resource group. grantAccessData is access data object supplied in the body of the get snapshot access operation.

func (SnapshotsClient) GrantAccessPreparer

func (client SnapshotsClient) GrantAccessPreparer(resourceGroupName string, snapshotName string, grantAccessData GrantAccessData, cancel <-chan struct{}) (*http.Request, error)

GrantAccessPreparer prepares the GrantAccess request.

func (SnapshotsClient) GrantAccessResponder

func (client SnapshotsClient) GrantAccessResponder(resp *http.Response) (result AccessURI, err error)

GrantAccessResponder handles the response to the GrantAccess request. The method always closes the http.Response Body.

func (SnapshotsClient) GrantAccessSender

func (client SnapshotsClient) GrantAccessSender(req *http.Request) (*http.Response, error)

GrantAccessSender sends the GrantAccess request. The method will close the http.Response Body if it receives an error.

func (SnapshotsClient) List

func (client SnapshotsClient) List() (result SnapshotList, err error)

List lists snapshots under a subscription.

func (SnapshotsClient) ListByResourceGroup

func (client SnapshotsClient) ListByResourceGroup(resourceGroupName string) (result SnapshotList, err error)

ListByResourceGroup lists snapshots under a resource group.

resourceGroupName is the name of the resource group.

func (SnapshotsClient) ListByResourceGroupComplete

func (client SnapshotsClient) ListByResourceGroupComplete(resourceGroupName string, cancel <-chan struct{}) (<-chan Snapshot, <-chan error)

ListByResourceGroupComplete gets all elements from the list without paging.

func (SnapshotsClient) ListByResourceGroupNextResults

func (client SnapshotsClient) ListByResourceGroupNextResults(lastResults SnapshotList) (result SnapshotList, err error)

ListByResourceGroupNextResults retrieves the next set of results, if any.

func (SnapshotsClient) ListByResourceGroupPreparer

func (client SnapshotsClient) ListByResourceGroupPreparer(resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (SnapshotsClient) ListByResourceGroupResponder

func (client SnapshotsClient) ListByResourceGroupResponder(resp *http.Response) (result SnapshotList, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (SnapshotsClient) ListByResourceGroupSender

func (client SnapshotsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (SnapshotsClient) ListComplete

func (client SnapshotsClient) ListComplete(cancel <-chan struct{}) (<-chan Snapshot, <-chan error)

ListComplete gets all elements from the list without paging.

func (SnapshotsClient) ListNextResults

func (client SnapshotsClient) ListNextResults(lastResults SnapshotList) (result SnapshotList, err error)

ListNextResults retrieves the next set of results, if any.

func (SnapshotsClient) ListPreparer

func (client SnapshotsClient) ListPreparer() (*http.Request, error)

ListPreparer prepares the List request.

func (SnapshotsClient) ListResponder

func (client SnapshotsClient) ListResponder(resp *http.Response) (result SnapshotList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (SnapshotsClient) ListSender

func (client SnapshotsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (SnapshotsClient) RevokeAccess

func (client SnapshotsClient) RevokeAccess(resourceGroupName string, snapshotName string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)

RevokeAccess revokes access to a snapshot. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. snapshotName is the name of the snapshot within the given subscription and resource group.

func (SnapshotsClient) RevokeAccessPreparer

func (client SnapshotsClient) RevokeAccessPreparer(resourceGroupName string, snapshotName string, cancel <-chan struct{}) (*http.Request, error)

RevokeAccessPreparer prepares the RevokeAccess request.

func (SnapshotsClient) RevokeAccessResponder

func (client SnapshotsClient) RevokeAccessResponder(resp *http.Response) (result OperationStatusResponse, err error)

RevokeAccessResponder handles the response to the RevokeAccess request. The method always closes the http.Response Body.

func (SnapshotsClient) RevokeAccessSender

func (client SnapshotsClient) RevokeAccessSender(req *http.Request) (*http.Response, error)

RevokeAccessSender sends the RevokeAccess request. The method will close the http.Response Body if it receives an error.

func (SnapshotsClient) Update

func (client SnapshotsClient) Update(resourceGroupName string, snapshotName string, snapshot SnapshotUpdate, cancel <-chan struct{}) (<-chan Snapshot, <-chan error)

Update updates (patches) a snapshot. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. snapshotName is the name of the snapshot within the given subscription and resource group. snapshot is snapshot object supplied in the body of the Patch snapshot operation.

func (SnapshotsClient) UpdatePreparer

func (client SnapshotsClient) UpdatePreparer(resourceGroupName string, snapshotName string, snapshot SnapshotUpdate, cancel <-chan struct{}) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (SnapshotsClient) UpdateResponder

func (client SnapshotsClient) UpdateResponder(resp *http.Response) (result Snapshot, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (SnapshotsClient) UpdateSender

func (client SnapshotsClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type SourceVault

type SourceVault struct {
	ID *string `json:"id,omitempty"`
}

SourceVault is the vault id is an Azure Resource Manager Resoure id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}

type StatusLevelTypes

type StatusLevelTypes string

StatusLevelTypes enumerates the values for status level types.

const (
	// Error specifies the error state for status level types.
	Error StatusLevelTypes = "Error"
	// Info specifies the info state for status level types.
	Info StatusLevelTypes = "Info"
	// Warning specifies the warning state for status level types.
	Warning StatusLevelTypes = "Warning"
)

type StorageAccountTypes

type StorageAccountTypes string

StorageAccountTypes enumerates the values for storage account types.

const (
	// PremiumLRS specifies the premium lrs state for storage account types.
	PremiumLRS StorageAccountTypes = "Premium_LRS"
	// StandardLRS specifies the standard lrs state for storage account types.
	StandardLRS StorageAccountTypes = "Standard_LRS"
)

type StorageProfile

type StorageProfile struct {
	ImageReference *ImageReference `json:"imageReference,omitempty"`
	OsDisk         *OSDisk         `json:"osDisk,omitempty"`
	DataDisks      *[]DataDisk     `json:"dataDisks,omitempty"`
}

StorageProfile is specifies the storage settings for the virtual machine disks.

type SubResource

type SubResource struct {
	ID *string `json:"id,omitempty"`
}

SubResource is

type SubResourceReadOnly

type SubResourceReadOnly struct {
	ID *string `json:"id,omitempty"`
}

SubResourceReadOnly is

type UpdateResource

type UpdateResource struct {
	Tags *map[string]*string `json:"tags,omitempty"`
}

UpdateResource is the Update Resource model definition.

type UpgradeMode

type UpgradeMode string

UpgradeMode enumerates the values for upgrade mode.

const (
	// Automatic specifies the automatic state for upgrade mode.
	Automatic UpgradeMode = "Automatic"
	// Manual specifies the manual state for upgrade mode.
	Manual UpgradeMode = "Manual"
	// Rolling specifies the rolling state for upgrade mode.
	Rolling UpgradeMode = "Rolling"
)

type UpgradePolicy

type UpgradePolicy struct {
	Mode                 UpgradeMode           `json:"mode,omitempty"`
	RollingUpgradePolicy *RollingUpgradePolicy `json:"rollingUpgradePolicy,omitempty"`
	AutomaticOSUpgrade   *bool                 `json:"automaticOSUpgrade,omitempty"`
}

UpgradePolicy is describes an upgrade policy - automatic, manual, or rolling.

type Usage

type Usage struct {
	Unit         *string    `json:"unit,omitempty"`
	CurrentValue *int32     `json:"currentValue,omitempty"`
	Limit        *int64     `json:"limit,omitempty"`
	Name         *UsageName `json:"name,omitempty"`
}

Usage is describes Compute Resource Usage.

type UsageClient

type UsageClient struct {
	ManagementClient
}

UsageClient is the compute Client

func NewUsageClient

func NewUsageClient(subscriptionID string) UsageClient

NewUsageClient creates an instance of the UsageClient client.

func NewUsageClientWithBaseURI

func NewUsageClientWithBaseURI(baseURI string, subscriptionID string) UsageClient

NewUsageClientWithBaseURI creates an instance of the UsageClient client.

func (UsageClient) List

func (client UsageClient) List(location string) (result ListUsagesResult, err error)

List gets, for the specified location, the current compute resource usage information as well as the limits for compute resources under the subscription.

location is the location for which resource usage is queried.

func (UsageClient) ListComplete

func (client UsageClient) ListComplete(location string, cancel <-chan struct{}) (<-chan Usage, <-chan error)

ListComplete gets all elements from the list without paging.

func (UsageClient) ListNextResults

func (client UsageClient) ListNextResults(lastResults ListUsagesResult) (result ListUsagesResult, err error)

ListNextResults retrieves the next set of results, if any.

func (UsageClient) ListPreparer

func (client UsageClient) ListPreparer(location string) (*http.Request, error)

ListPreparer prepares the List request.

func (UsageClient) ListResponder

func (client UsageClient) ListResponder(resp *http.Response) (result ListUsagesResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (UsageClient) ListSender

func (client UsageClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type UsageName

type UsageName struct {
	Value          *string `json:"value,omitempty"`
	LocalizedValue *string `json:"localizedValue,omitempty"`
}

UsageName is the Usage Names.

type VaultCertificate

type VaultCertificate struct {
	CertificateURL   *string `json:"certificateUrl,omitempty"`
	CertificateStore *string `json:"certificateStore,omitempty"`
}

VaultCertificate is describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM.

type VaultSecretGroup

type VaultSecretGroup struct {
	SourceVault       *SubResource        `json:"sourceVault,omitempty"`
	VaultCertificates *[]VaultCertificate `json:"vaultCertificates,omitempty"`
}

VaultSecretGroup is describes a set of certificates which are all in the same Key Vault.

type VirtualHardDisk

type VirtualHardDisk struct {
	URI *string `json:"uri,omitempty"`
}

VirtualHardDisk is describes the uri of a disk.

type VirtualMachine

type VirtualMachine struct {
	autorest.Response         `json:"-"`
	ID                        *string             `json:"id,omitempty"`
	Name                      *string             `json:"name,omitempty"`
	Type                      *string             `json:"type,omitempty"`
	Location                  *string             `json:"location,omitempty"`
	Tags                      *map[string]*string `json:"tags,omitempty"`
	Plan                      *Plan               `json:"plan,omitempty"`
	*VirtualMachineProperties `json:"properties,omitempty"`
	Resources                 *[]VirtualMachineExtension `json:"resources,omitempty"`
	Identity                  *VirtualMachineIdentity    `json:"identity,omitempty"`
	Zones                     *[]string                  `json:"zones,omitempty"`
}

VirtualMachine is describes a Virtual Machine.

type VirtualMachineAgentInstanceView

type VirtualMachineAgentInstanceView struct {
	VMAgentVersion    *string                                       `json:"vmAgentVersion,omitempty"`
	ExtensionHandlers *[]VirtualMachineExtensionHandlerInstanceView `json:"extensionHandlers,omitempty"`
	Statuses          *[]InstanceViewStatus                         `json:"statuses,omitempty"`
}

VirtualMachineAgentInstanceView is the instance view of the VM Agent running on the virtual machine.

type VirtualMachineCaptureParameters

type VirtualMachineCaptureParameters struct {
	VhdPrefix                *string `json:"vhdPrefix,omitempty"`
	DestinationContainerName *string `json:"destinationContainerName,omitempty"`
	OverwriteVhds            *bool   `json:"overwriteVhds,omitempty"`
}

VirtualMachineCaptureParameters is capture Virtual Machine parameters.

type VirtualMachineCaptureResult

type VirtualMachineCaptureResult struct {
	autorest.Response                      `json:"-"`
	ID                                     *string `json:"id,omitempty"`
	*VirtualMachineCaptureResultProperties `json:"properties,omitempty"`
}

VirtualMachineCaptureResult is resource Id.

type VirtualMachineCaptureResultProperties

type VirtualMachineCaptureResultProperties struct {
	Output *map[string]interface{} `json:"output,omitempty"`
}

VirtualMachineCaptureResultProperties is compute-specific operation properties, including output

type VirtualMachineExtension

type VirtualMachineExtension struct {
	autorest.Response                  `json:"-"`
	ID                                 *string             `json:"id,omitempty"`
	Name                               *string             `json:"name,omitempty"`
	Type                               *string             `json:"type,omitempty"`
	Location                           *string             `json:"location,omitempty"`
	Tags                               *map[string]*string `json:"tags,omitempty"`
	*VirtualMachineExtensionProperties `json:"properties,omitempty"`
}

VirtualMachineExtension is describes a Virtual Machine Extension.

type VirtualMachineExtensionHandlerInstanceView

type VirtualMachineExtensionHandlerInstanceView struct {
	Type               *string             `json:"type,omitempty"`
	TypeHandlerVersion *string             `json:"typeHandlerVersion,omitempty"`
	Status             *InstanceViewStatus `json:"status,omitempty"`
}

VirtualMachineExtensionHandlerInstanceView is the instance view of a virtual machine extension handler.

type VirtualMachineExtensionImage

type VirtualMachineExtensionImage struct {
	autorest.Response                       `json:"-"`
	ID                                      *string             `json:"id,omitempty"`
	Name                                    *string             `json:"name,omitempty"`
	Type                                    *string             `json:"type,omitempty"`
	Location                                *string             `json:"location,omitempty"`
	Tags                                    *map[string]*string `json:"tags,omitempty"`
	*VirtualMachineExtensionImageProperties `json:"properties,omitempty"`
}

VirtualMachineExtensionImage is describes a Virtual Machine Extension Image.

type VirtualMachineExtensionImageProperties

type VirtualMachineExtensionImageProperties struct {
	OperatingSystem            *string `json:"operatingSystem,omitempty"`
	ComputeRole                *string `json:"computeRole,omitempty"`
	HandlerSchema              *string `json:"handlerSchema,omitempty"`
	VMScaleSetEnabled          *bool   `json:"vmScaleSetEnabled,omitempty"`
	SupportsMultipleExtensions *bool   `json:"supportsMultipleExtensions,omitempty"`
}

VirtualMachineExtensionImageProperties is describes the properties of a Virtual Machine Extension Image.

type VirtualMachineExtensionImagesClient

type VirtualMachineExtensionImagesClient struct {
	ManagementClient
}

VirtualMachineExtensionImagesClient is the compute Client

func NewVirtualMachineExtensionImagesClient

func NewVirtualMachineExtensionImagesClient(subscriptionID string) VirtualMachineExtensionImagesClient

NewVirtualMachineExtensionImagesClient creates an instance of the VirtualMachineExtensionImagesClient client.

func NewVirtualMachineExtensionImagesClientWithBaseURI

func NewVirtualMachineExtensionImagesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineExtensionImagesClient

NewVirtualMachineExtensionImagesClientWithBaseURI creates an instance of the VirtualMachineExtensionImagesClient client.

func (VirtualMachineExtensionImagesClient) Get

func (client VirtualMachineExtensionImagesClient) Get(location string, publisherName string, typeParameter string, version string) (result VirtualMachineExtensionImage, err error)

Get gets a virtual machine extension image.

location is the name of a supported Azure region.

func (VirtualMachineExtensionImagesClient) GetPreparer

func (client VirtualMachineExtensionImagesClient) GetPreparer(location string, publisherName string, typeParameter string, version string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VirtualMachineExtensionImagesClient) GetResponder

func (client VirtualMachineExtensionImagesClient) GetResponder(resp *http.Response) (result VirtualMachineExtensionImage, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (VirtualMachineExtensionImagesClient) GetSender

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineExtensionImagesClient) ListTypes

func (client VirtualMachineExtensionImagesClient) ListTypes(location string, publisherName string) (result ListVirtualMachineExtensionImage, err error)

ListTypes gets a list of virtual machine extension image types.

location is the name of a supported Azure region.

func (VirtualMachineExtensionImagesClient) ListTypesPreparer

func (client VirtualMachineExtensionImagesClient) ListTypesPreparer(location string, publisherName string) (*http.Request, error)

ListTypesPreparer prepares the ListTypes request.

func (VirtualMachineExtensionImagesClient) ListTypesResponder

func (client VirtualMachineExtensionImagesClient) ListTypesResponder(resp *http.Response) (result ListVirtualMachineExtensionImage, err error)

ListTypesResponder handles the response to the ListTypes request. The method always closes the http.Response Body.

func (VirtualMachineExtensionImagesClient) ListTypesSender

func (client VirtualMachineExtensionImagesClient) ListTypesSender(req *http.Request) (*http.Response, error)

ListTypesSender sends the ListTypes request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineExtensionImagesClient) ListVersions

func (client VirtualMachineExtensionImagesClient) ListVersions(location string, publisherName string, typeParameter string, filter string, top *int32, orderby string) (result ListVirtualMachineExtensionImage, err error)

ListVersions gets a list of virtual machine extension image versions.

location is the name of a supported Azure region. filter is the filter to apply on the operation.

func (VirtualMachineExtensionImagesClient) ListVersionsPreparer

func (client VirtualMachineExtensionImagesClient) ListVersionsPreparer(location string, publisherName string, typeParameter string, filter string, top *int32, orderby string) (*http.Request, error)

ListVersionsPreparer prepares the ListVersions request.

func (VirtualMachineExtensionImagesClient) ListVersionsResponder

func (client VirtualMachineExtensionImagesClient) ListVersionsResponder(resp *http.Response) (result ListVirtualMachineExtensionImage, err error)

ListVersionsResponder handles the response to the ListVersions request. The method always closes the http.Response Body.

func (VirtualMachineExtensionImagesClient) ListVersionsSender

func (client VirtualMachineExtensionImagesClient) ListVersionsSender(req *http.Request) (*http.Response, error)

ListVersionsSender sends the ListVersions request. The method will close the http.Response Body if it receives an error.

type VirtualMachineExtensionInstanceView

type VirtualMachineExtensionInstanceView struct {
	Name               *string               `json:"name,omitempty"`
	Type               *string               `json:"type,omitempty"`
	TypeHandlerVersion *string               `json:"typeHandlerVersion,omitempty"`
	Substatuses        *[]InstanceViewStatus `json:"substatuses,omitempty"`
	Statuses           *[]InstanceViewStatus `json:"statuses,omitempty"`
}

VirtualMachineExtensionInstanceView is the instance view of a virtual machine extension.

type VirtualMachineExtensionProperties

type VirtualMachineExtensionProperties struct {
	ForceUpdateTag          *string                              `json:"forceUpdateTag,omitempty"`
	Publisher               *string                              `json:"publisher,omitempty"`
	Type                    *string                              `json:"type,omitempty"`
	TypeHandlerVersion      *string                              `json:"typeHandlerVersion,omitempty"`
	AutoUpgradeMinorVersion *bool                                `json:"autoUpgradeMinorVersion,omitempty"`
	Settings                *map[string]interface{}              `json:"settings,omitempty"`
	ProtectedSettings       *map[string]interface{}              `json:"protectedSettings,omitempty"`
	ProvisioningState       *string                              `json:"provisioningState,omitempty"`
	InstanceView            *VirtualMachineExtensionInstanceView `json:"instanceView,omitempty"`
}

VirtualMachineExtensionProperties is describes the properties of a Virtual Machine Extension.

type VirtualMachineExtensionsClient

type VirtualMachineExtensionsClient struct {
	ManagementClient
}

VirtualMachineExtensionsClient is the compute Client

func NewVirtualMachineExtensionsClient

func NewVirtualMachineExtensionsClient(subscriptionID string) VirtualMachineExtensionsClient

NewVirtualMachineExtensionsClient creates an instance of the VirtualMachineExtensionsClient client.

func NewVirtualMachineExtensionsClientWithBaseURI

func NewVirtualMachineExtensionsClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineExtensionsClient

NewVirtualMachineExtensionsClientWithBaseURI creates an instance of the VirtualMachineExtensionsClient client.

func (VirtualMachineExtensionsClient) CreateOrUpdate

func (client VirtualMachineExtensionsClient) CreateOrUpdate(resourceGroupName string, VMName string, VMExtensionName string, extensionParameters VirtualMachineExtension, cancel <-chan struct{}) (<-chan VirtualMachineExtension, <-chan error)

CreateOrUpdate the operation to create or update the extension. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. VMName is the name of the virtual machine where the extension should be create or updated. VMExtensionName is the name of the virtual machine extension. extensionParameters is parameters supplied to the Create Virtual Machine Extension operation.

func (VirtualMachineExtensionsClient) CreateOrUpdatePreparer

func (client VirtualMachineExtensionsClient) CreateOrUpdatePreparer(resourceGroupName string, VMName string, VMExtensionName string, extensionParameters VirtualMachineExtension, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (VirtualMachineExtensionsClient) CreateOrUpdateResponder

func (client VirtualMachineExtensionsClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualMachineExtension, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (VirtualMachineExtensionsClient) CreateOrUpdateSender

func (client VirtualMachineExtensionsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineExtensionsClient) Delete

func (client VirtualMachineExtensionsClient) Delete(resourceGroupName string, VMName string, VMExtensionName string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)

Delete the operation to delete the extension. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. VMName is the name of the virtual machine where the extension should be deleted. VMExtensionName is the name of the virtual machine extension.

func (VirtualMachineExtensionsClient) DeletePreparer

func (client VirtualMachineExtensionsClient) DeletePreparer(resourceGroupName string, VMName string, VMExtensionName string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (VirtualMachineExtensionsClient) DeleteResponder

func (client VirtualMachineExtensionsClient) DeleteResponder(resp *http.Response) (result OperationStatusResponse, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (VirtualMachineExtensionsClient) DeleteSender

func (client VirtualMachineExtensionsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineExtensionsClient) Get

func (client VirtualMachineExtensionsClient) Get(resourceGroupName string, VMName string, VMExtensionName string, expand string) (result VirtualMachineExtension, err error)

Get the operation to get the extension.

resourceGroupName is the name of the resource group. VMName is the name of the virtual machine containing the extension. VMExtensionName is the name of the virtual machine extension. expand is the expand expression to apply on the operation.

func (VirtualMachineExtensionsClient) GetPreparer

func (client VirtualMachineExtensionsClient) GetPreparer(resourceGroupName string, VMName string, VMExtensionName string, expand string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VirtualMachineExtensionsClient) GetResponder

func (client VirtualMachineExtensionsClient) GetResponder(resp *http.Response) (result VirtualMachineExtension, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (VirtualMachineExtensionsClient) GetSender

func (client VirtualMachineExtensionsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type VirtualMachineHealthStatus

type VirtualMachineHealthStatus struct {
	Status *InstanceViewStatus `json:"status,omitempty"`
}

VirtualMachineHealthStatus is the health status of the VM.

type VirtualMachineIdentity

type VirtualMachineIdentity struct {
	PrincipalID *string              `json:"principalId,omitempty"`
	TenantID    *string              `json:"tenantId,omitempty"`
	Type        ResourceIdentityType `json:"type,omitempty"`
}

VirtualMachineIdentity is identity for the virtual machine.

type VirtualMachineImage

type VirtualMachineImage struct {
	autorest.Response              `json:"-"`
	ID                             *string             `json:"id,omitempty"`
	Name                           *string             `json:"name,omitempty"`
	Location                       *string             `json:"location,omitempty"`
	Tags                           *map[string]*string `json:"tags,omitempty"`
	*VirtualMachineImageProperties `json:"properties,omitempty"`
}

VirtualMachineImage is describes a Virtual Machine Image.

type VirtualMachineImageProperties

type VirtualMachineImageProperties struct {
	Plan           *PurchasePlan    `json:"plan,omitempty"`
	OsDiskImage    *OSDiskImage     `json:"osDiskImage,omitempty"`
	DataDiskImages *[]DataDiskImage `json:"dataDiskImages,omitempty"`
}

VirtualMachineImageProperties is describes the properties of a Virtual Machine Image.

type VirtualMachineImageResource

type VirtualMachineImageResource struct {
	ID       *string             `json:"id,omitempty"`
	Name     *string             `json:"name,omitempty"`
	Location *string             `json:"location,omitempty"`
	Tags     *map[string]*string `json:"tags,omitempty"`
}

VirtualMachineImageResource is virtual machine image resource information.

type VirtualMachineImagesClient

type VirtualMachineImagesClient struct {
	ManagementClient
}

VirtualMachineImagesClient is the compute Client

func NewVirtualMachineImagesClient

func NewVirtualMachineImagesClient(subscriptionID string) VirtualMachineImagesClient

NewVirtualMachineImagesClient creates an instance of the VirtualMachineImagesClient client.

func NewVirtualMachineImagesClientWithBaseURI

func NewVirtualMachineImagesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineImagesClient

NewVirtualMachineImagesClientWithBaseURI creates an instance of the VirtualMachineImagesClient client.

func (VirtualMachineImagesClient) Get

func (client VirtualMachineImagesClient) Get(location string, publisherName string, offer string, skus string, version string) (result VirtualMachineImage, err error)

Get gets a virtual machine image.

location is the name of a supported Azure region. publisherName is a valid image publisher. offer is a valid image publisher offer. skus is a valid image SKU. version is a valid image SKU version.

func (VirtualMachineImagesClient) GetPreparer

func (client VirtualMachineImagesClient) GetPreparer(location string, publisherName string, offer string, skus string, version string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VirtualMachineImagesClient) GetResponder

func (client VirtualMachineImagesClient) GetResponder(resp *http.Response) (result VirtualMachineImage, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (VirtualMachineImagesClient) GetSender

func (client VirtualMachineImagesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineImagesClient) List

func (client VirtualMachineImagesClient) List(location string, publisherName string, offer string, skus string, filter string, top *int32, orderby string) (result ListVirtualMachineImageResource, err error)

List gets a list of all virtual machine image versions for the specified location, publisher, offer, and SKU.

location is the name of a supported Azure region. publisherName is a valid image publisher. offer is a valid image publisher offer. skus is a valid image SKU. filter is the filter to apply on the operation.

func (VirtualMachineImagesClient) ListOffers

func (client VirtualMachineImagesClient) ListOffers(location string, publisherName string) (result ListVirtualMachineImageResource, err error)

ListOffers gets a list of virtual machine image offers for the specified location and publisher.

location is the name of a supported Azure region. publisherName is a valid image publisher.

func (VirtualMachineImagesClient) ListOffersPreparer

func (client VirtualMachineImagesClient) ListOffersPreparer(location string, publisherName string) (*http.Request, error)

ListOffersPreparer prepares the ListOffers request.

func (VirtualMachineImagesClient) ListOffersResponder

func (client VirtualMachineImagesClient) ListOffersResponder(resp *http.Response) (result ListVirtualMachineImageResource, err error)

ListOffersResponder handles the response to the ListOffers request. The method always closes the http.Response Body.

func (VirtualMachineImagesClient) ListOffersSender

func (client VirtualMachineImagesClient) ListOffersSender(req *http.Request) (*http.Response, error)

ListOffersSender sends the ListOffers request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineImagesClient) ListPreparer

func (client VirtualMachineImagesClient) ListPreparer(location string, publisherName string, offer string, skus string, filter string, top *int32, orderby string) (*http.Request, error)

ListPreparer prepares the List request.

func (VirtualMachineImagesClient) ListPublishers

func (client VirtualMachineImagesClient) ListPublishers(location string) (result ListVirtualMachineImageResource, err error)

ListPublishers gets a list of virtual machine image publishers for the specified Azure location.

location is the name of a supported Azure region.

func (VirtualMachineImagesClient) ListPublishersPreparer

func (client VirtualMachineImagesClient) ListPublishersPreparer(location string) (*http.Request, error)

ListPublishersPreparer prepares the ListPublishers request.

func (VirtualMachineImagesClient) ListPublishersResponder

func (client VirtualMachineImagesClient) ListPublishersResponder(resp *http.Response) (result ListVirtualMachineImageResource, err error)

ListPublishersResponder handles the response to the ListPublishers request. The method always closes the http.Response Body.

func (VirtualMachineImagesClient) ListPublishersSender

func (client VirtualMachineImagesClient) ListPublishersSender(req *http.Request) (*http.Response, error)

ListPublishersSender sends the ListPublishers request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineImagesClient) ListResponder

func (client VirtualMachineImagesClient) ListResponder(resp *http.Response) (result ListVirtualMachineImageResource, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (VirtualMachineImagesClient) ListSender

func (client VirtualMachineImagesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineImagesClient) ListSkus

func (client VirtualMachineImagesClient) ListSkus(location string, publisherName string, offer string) (result ListVirtualMachineImageResource, err error)

ListSkus gets a list of virtual machine image SKUs for the specified location, publisher, and offer.

location is the name of a supported Azure region. publisherName is a valid image publisher. offer is a valid image publisher offer.

func (VirtualMachineImagesClient) ListSkusPreparer

func (client VirtualMachineImagesClient) ListSkusPreparer(location string, publisherName string, offer string) (*http.Request, error)

ListSkusPreparer prepares the ListSkus request.

func (VirtualMachineImagesClient) ListSkusResponder

func (client VirtualMachineImagesClient) ListSkusResponder(resp *http.Response) (result ListVirtualMachineImageResource, err error)

ListSkusResponder handles the response to the ListSkus request. The method always closes the http.Response Body.

func (VirtualMachineImagesClient) ListSkusSender

func (client VirtualMachineImagesClient) ListSkusSender(req *http.Request) (*http.Response, error)

ListSkusSender sends the ListSkus request. The method will close the http.Response Body if it receives an error.

type VirtualMachineInstanceView

type VirtualMachineInstanceView struct {
	autorest.Response         `json:"-"`
	PlatformUpdateDomain      *int32                                 `json:"platformUpdateDomain,omitempty"`
	PlatformFaultDomain       *int32                                 `json:"platformFaultDomain,omitempty"`
	RdpThumbPrint             *string                                `json:"rdpThumbPrint,omitempty"`
	VMAgent                   *VirtualMachineAgentInstanceView       `json:"vmAgent,omitempty"`
	MaintenanceRedeployStatus *MaintenanceRedeployStatus             `json:"maintenanceRedeployStatus,omitempty"`
	Disks                     *[]DiskInstanceView                    `json:"disks,omitempty"`
	Extensions                *[]VirtualMachineExtensionInstanceView `json:"extensions,omitempty"`
	BootDiagnostics           *BootDiagnosticsInstanceView           `json:"bootDiagnostics,omitempty"`
	Statuses                  *[]InstanceViewStatus                  `json:"statuses,omitempty"`
}

VirtualMachineInstanceView is the instance view of a virtual machine.

type VirtualMachineListResult

type VirtualMachineListResult struct {
	autorest.Response `json:"-"`
	Value             *[]VirtualMachine `json:"value,omitempty"`
	NextLink          *string           `json:"nextLink,omitempty"`
}

VirtualMachineListResult is the List Virtual Machine operation response.

func (VirtualMachineListResult) VirtualMachineListResultPreparer

func (client VirtualMachineListResult) VirtualMachineListResultPreparer() (*http.Request, error)

VirtualMachineListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type VirtualMachineProperties

type VirtualMachineProperties struct {
	HardwareProfile    *HardwareProfile            `json:"hardwareProfile,omitempty"`
	StorageProfile     *StorageProfile             `json:"storageProfile,omitempty"`
	OsProfile          *OSProfile                  `json:"osProfile,omitempty"`
	NetworkProfile     *NetworkProfile             `json:"networkProfile,omitempty"`
	DiagnosticsProfile *DiagnosticsProfile         `json:"diagnosticsProfile,omitempty"`
	AvailabilitySet    *SubResource                `json:"availabilitySet,omitempty"`
	ProvisioningState  *string                     `json:"provisioningState,omitempty"`
	InstanceView       *VirtualMachineInstanceView `json:"instanceView,omitempty"`
	LicenseType        *string                     `json:"licenseType,omitempty"`
	VMID               *string                     `json:"vmId,omitempty"`
}

VirtualMachineProperties is describes the properties of a Virtual Machine.

type VirtualMachineRunCommandsClient

type VirtualMachineRunCommandsClient struct {
	ManagementClient
}

VirtualMachineRunCommandsClient is the compute Client

func NewVirtualMachineRunCommandsClient

func NewVirtualMachineRunCommandsClient(subscriptionID string) VirtualMachineRunCommandsClient

NewVirtualMachineRunCommandsClient creates an instance of the VirtualMachineRunCommandsClient client.

func NewVirtualMachineRunCommandsClientWithBaseURI

func NewVirtualMachineRunCommandsClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineRunCommandsClient

NewVirtualMachineRunCommandsClientWithBaseURI creates an instance of the VirtualMachineRunCommandsClient client.

func (VirtualMachineRunCommandsClient) Get

func (client VirtualMachineRunCommandsClient) Get(location string, commandID string) (result RunCommandDocument, err error)

Get gets specific run command for a subscription in a location.

location is the location upon which run commands is queried. commandID is the command id.

func (VirtualMachineRunCommandsClient) GetPreparer

func (client VirtualMachineRunCommandsClient) GetPreparer(location string, commandID string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VirtualMachineRunCommandsClient) GetResponder

func (client VirtualMachineRunCommandsClient) GetResponder(resp *http.Response) (result RunCommandDocument, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (VirtualMachineRunCommandsClient) GetSender

func (client VirtualMachineRunCommandsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineRunCommandsClient) List

func (client VirtualMachineRunCommandsClient) List(location string) (result RunCommandListResult, err error)

List lists all available run commands for a subscription in a location.

location is the location upon which run commands is queried.

func (VirtualMachineRunCommandsClient) ListComplete

func (client VirtualMachineRunCommandsClient) ListComplete(location string, cancel <-chan struct{}) (<-chan RunCommandDocumentBase, <-chan error)

ListComplete gets all elements from the list without paging.

func (VirtualMachineRunCommandsClient) ListNextResults

func (client VirtualMachineRunCommandsClient) ListNextResults(lastResults RunCommandListResult) (result RunCommandListResult, err error)

ListNextResults retrieves the next set of results, if any.

func (VirtualMachineRunCommandsClient) ListPreparer

func (client VirtualMachineRunCommandsClient) ListPreparer(location string) (*http.Request, error)

ListPreparer prepares the List request.

func (VirtualMachineRunCommandsClient) ListResponder

func (client VirtualMachineRunCommandsClient) ListResponder(resp *http.Response) (result RunCommandListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (VirtualMachineRunCommandsClient) ListSender

func (client VirtualMachineRunCommandsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type VirtualMachineScaleSet

type VirtualMachineScaleSet struct {
	autorest.Response                 `json:"-"`
	ID                                *string             `json:"id,omitempty"`
	Name                              *string             `json:"name,omitempty"`
	Type                              *string             `json:"type,omitempty"`
	Location                          *string             `json:"location,omitempty"`
	Tags                              *map[string]*string `json:"tags,omitempty"`
	Sku                               *Sku                `json:"sku,omitempty"`
	Plan                              *Plan               `json:"plan,omitempty"`
	*VirtualMachineScaleSetProperties `json:"properties,omitempty"`
	Identity                          *VirtualMachineScaleSetIdentity `json:"identity,omitempty"`
	Zones                             *[]string                       `json:"zones,omitempty"`
}

VirtualMachineScaleSet is describes a Virtual Machine Scale Set.

type VirtualMachineScaleSetDataDisk

type VirtualMachineScaleSetDataDisk struct {
	Name         *string                                      `json:"name,omitempty"`
	Lun          *int32                                       `json:"lun,omitempty"`
	Caching      CachingTypes                                 `json:"caching,omitempty"`
	CreateOption DiskCreateOptionTypes                        `json:"createOption,omitempty"`
	DiskSizeGB   *int32                                       `json:"diskSizeGB,omitempty"`
	ManagedDisk  *VirtualMachineScaleSetManagedDiskParameters `json:"managedDisk,omitempty"`
}

VirtualMachineScaleSetDataDisk is describes a virtual machine scale set data disk.

type VirtualMachineScaleSetExtension

type VirtualMachineScaleSetExtension struct {
	autorest.Response                          `json:"-"`
	ID                                         *string `json:"id,omitempty"`
	Name                                       *string `json:"name,omitempty"`
	*VirtualMachineScaleSetExtensionProperties `json:"properties,omitempty"`
}

VirtualMachineScaleSetExtension is describes a Virtual Machine Scale Set Extension.

type VirtualMachineScaleSetExtensionListResult

type VirtualMachineScaleSetExtensionListResult struct {
	autorest.Response `json:"-"`
	Value             *[]VirtualMachineScaleSetExtension `json:"value,omitempty"`
	NextLink          *string                            `json:"nextLink,omitempty"`
}

VirtualMachineScaleSetExtensionListResult is the List VM scale set extension operation response.

func (VirtualMachineScaleSetExtensionListResult) VirtualMachineScaleSetExtensionListResultPreparer

func (client VirtualMachineScaleSetExtensionListResult) VirtualMachineScaleSetExtensionListResultPreparer() (*http.Request, error)

VirtualMachineScaleSetExtensionListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type VirtualMachineScaleSetExtensionProfile

type VirtualMachineScaleSetExtensionProfile struct {
	Extensions *[]VirtualMachineScaleSetExtension `json:"extensions,omitempty"`
}

VirtualMachineScaleSetExtensionProfile is describes a virtual machine scale set extension profile.

type VirtualMachineScaleSetExtensionProperties

type VirtualMachineScaleSetExtensionProperties struct {
	ForceUpdateTag          *string                 `json:"forceUpdateTag,omitempty"`
	Publisher               *string                 `json:"publisher,omitempty"`
	Type                    *string                 `json:"type,omitempty"`
	TypeHandlerVersion      *string                 `json:"typeHandlerVersion,omitempty"`
	AutoUpgradeMinorVersion *bool                   `json:"autoUpgradeMinorVersion,omitempty"`
	Settings                *map[string]interface{} `json:"settings,omitempty"`
	ProtectedSettings       *map[string]interface{} `json:"protectedSettings,omitempty"`
	ProvisioningState       *string                 `json:"provisioningState,omitempty"`
}

VirtualMachineScaleSetExtensionProperties is describes the properties of a Virtual Machine Scale Set Extension.

type VirtualMachineScaleSetExtensionsClient

type VirtualMachineScaleSetExtensionsClient struct {
	ManagementClient
}

VirtualMachineScaleSetExtensionsClient is the compute Client

func NewVirtualMachineScaleSetExtensionsClient

func NewVirtualMachineScaleSetExtensionsClient(subscriptionID string) VirtualMachineScaleSetExtensionsClient

NewVirtualMachineScaleSetExtensionsClient creates an instance of the VirtualMachineScaleSetExtensionsClient client.

func NewVirtualMachineScaleSetExtensionsClientWithBaseURI

func NewVirtualMachineScaleSetExtensionsClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineScaleSetExtensionsClient

NewVirtualMachineScaleSetExtensionsClientWithBaseURI creates an instance of the VirtualMachineScaleSetExtensionsClient client.

func (VirtualMachineScaleSetExtensionsClient) CreateOrUpdate

func (client VirtualMachineScaleSetExtensionsClient) CreateOrUpdate(resourceGroupName string, VMScaleSetName string, vmssExtensionName string, extensionParameters VirtualMachineScaleSetExtension, cancel <-chan struct{}) (<-chan VirtualMachineScaleSetExtension, <-chan error)

CreateOrUpdate the operation to create or update an extension. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set where the extension should be create or updated. vmssExtensionName is the name of the VM scale set extension. extensionParameters is parameters supplied to the Create VM scale set Extension operation.

func (VirtualMachineScaleSetExtensionsClient) CreateOrUpdatePreparer

func (client VirtualMachineScaleSetExtensionsClient) CreateOrUpdatePreparer(resourceGroupName string, VMScaleSetName string, vmssExtensionName string, extensionParameters VirtualMachineScaleSetExtension, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (VirtualMachineScaleSetExtensionsClient) CreateOrUpdateResponder

func (client VirtualMachineScaleSetExtensionsClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualMachineScaleSetExtension, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetExtensionsClient) CreateOrUpdateSender

func (client VirtualMachineScaleSetExtensionsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetExtensionsClient) Delete

func (client VirtualMachineScaleSetExtensionsClient) Delete(resourceGroupName string, VMScaleSetName string, vmssExtensionName string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)

Delete the operation to delete the extension. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set where the extension should be deleted. vmssExtensionName is the name of the VM scale set extension.

func (VirtualMachineScaleSetExtensionsClient) DeletePreparer

func (client VirtualMachineScaleSetExtensionsClient) DeletePreparer(resourceGroupName string, VMScaleSetName string, vmssExtensionName string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (VirtualMachineScaleSetExtensionsClient) DeleteResponder

func (client VirtualMachineScaleSetExtensionsClient) DeleteResponder(resp *http.Response) (result OperationStatusResponse, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetExtensionsClient) DeleteSender

func (client VirtualMachineScaleSetExtensionsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetExtensionsClient) Get

func (client VirtualMachineScaleSetExtensionsClient) Get(resourceGroupName string, VMScaleSetName string, vmssExtensionName string, expand string) (result VirtualMachineScaleSetExtension, err error)

Get the operation to get the extension.

resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set containing the extension. vmssExtensionName is the name of the VM scale set extension. expand is the expand expression to apply on the operation.

func (VirtualMachineScaleSetExtensionsClient) GetPreparer

func (client VirtualMachineScaleSetExtensionsClient) GetPreparer(resourceGroupName string, VMScaleSetName string, vmssExtensionName string, expand string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VirtualMachineScaleSetExtensionsClient) GetResponder

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetExtensionsClient) GetSender

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetExtensionsClient) List

func (client VirtualMachineScaleSetExtensionsClient) List(resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetExtensionListResult, err error)

List gets a list of all extensions in a VM scale set.

resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set containing the extension.

func (VirtualMachineScaleSetExtensionsClient) ListComplete

func (client VirtualMachineScaleSetExtensionsClient) ListComplete(resourceGroupName string, VMScaleSetName string, cancel <-chan struct{}) (<-chan VirtualMachineScaleSetExtension, <-chan error)

ListComplete gets all elements from the list without paging.

func (VirtualMachineScaleSetExtensionsClient) ListNextResults

ListNextResults retrieves the next set of results, if any.

func (VirtualMachineScaleSetExtensionsClient) ListPreparer

func (client VirtualMachineScaleSetExtensionsClient) ListPreparer(resourceGroupName string, VMScaleSetName string) (*http.Request, error)

ListPreparer prepares the List request.

func (VirtualMachineScaleSetExtensionsClient) ListResponder

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetExtensionsClient) ListSender

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type VirtualMachineScaleSetIPConfiguration

type VirtualMachineScaleSetIPConfiguration struct {
	ID                                               *string `json:"id,omitempty"`
	Name                                             *string `json:"name,omitempty"`
	*VirtualMachineScaleSetIPConfigurationProperties `json:"properties,omitempty"`
}

VirtualMachineScaleSetIPConfiguration is describes a virtual machine scale set network profile's IP configuration.

type VirtualMachineScaleSetIPConfigurationProperties

type VirtualMachineScaleSetIPConfigurationProperties struct {
	Subnet                                *APIEntityReference                                 `json:"subnet,omitempty"`
	Primary                               *bool                                               `json:"primary,omitempty"`
	PublicIPAddressConfiguration          *VirtualMachineScaleSetPublicIPAddressConfiguration `json:"publicIPAddressConfiguration,omitempty"`
	PrivateIPAddressVersion               IPVersion                                           `json:"privateIPAddressVersion,omitempty"`
	ApplicationGatewayBackendAddressPools *[]SubResource                                      `json:"applicationGatewayBackendAddressPools,omitempty"`
	LoadBalancerBackendAddressPools       *[]SubResource                                      `json:"loadBalancerBackendAddressPools,omitempty"`
	LoadBalancerInboundNatPools           *[]SubResource                                      `json:"loadBalancerInboundNatPools,omitempty"`
}

VirtualMachineScaleSetIPConfigurationProperties is describes a virtual machine scale set network profile's IP configuration properties.

type VirtualMachineScaleSetIdentity

type VirtualMachineScaleSetIdentity struct {
	PrincipalID *string              `json:"principalId,omitempty"`
	TenantID    *string              `json:"tenantId,omitempty"`
	Type        ResourceIdentityType `json:"type,omitempty"`
}

VirtualMachineScaleSetIdentity is identity for the virtual machine scale set.

type VirtualMachineScaleSetInstanceView

type VirtualMachineScaleSetInstanceView struct {
	autorest.Response `json:"-"`
	VirtualMachine    *VirtualMachineScaleSetInstanceViewStatusesSummary `json:"virtualMachine,omitempty"`
	Extensions        *[]VirtualMachineScaleSetVMExtensionsSummary       `json:"extensions,omitempty"`
	Statuses          *[]InstanceViewStatus                              `json:"statuses,omitempty"`
}

VirtualMachineScaleSetInstanceView is the instance view of a virtual machine scale set.

type VirtualMachineScaleSetInstanceViewStatusesSummary

type VirtualMachineScaleSetInstanceViewStatusesSummary struct {
	StatusesSummary *[]VirtualMachineStatusCodeCount `json:"statusesSummary,omitempty"`
}

VirtualMachineScaleSetInstanceViewStatusesSummary is instance view statuses summary for virtual machines of a virtual machine scale set.

type VirtualMachineScaleSetListResult

type VirtualMachineScaleSetListResult struct {
	autorest.Response `json:"-"`
	Value             *[]VirtualMachineScaleSet `json:"value,omitempty"`
	NextLink          *string                   `json:"nextLink,omitempty"`
}

VirtualMachineScaleSetListResult is the List Virtual Machine operation response.

func (VirtualMachineScaleSetListResult) VirtualMachineScaleSetListResultPreparer

func (client VirtualMachineScaleSetListResult) VirtualMachineScaleSetListResultPreparer() (*http.Request, error)

VirtualMachineScaleSetListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type VirtualMachineScaleSetListSkusResult

type VirtualMachineScaleSetListSkusResult struct {
	autorest.Response `json:"-"`
	Value             *[]VirtualMachineScaleSetSku `json:"value,omitempty"`
	NextLink          *string                      `json:"nextLink,omitempty"`
}

VirtualMachineScaleSetListSkusResult is the Virtual Machine Scale Set List Skus operation response.

func (VirtualMachineScaleSetListSkusResult) VirtualMachineScaleSetListSkusResultPreparer

func (client VirtualMachineScaleSetListSkusResult) VirtualMachineScaleSetListSkusResultPreparer() (*http.Request, error)

VirtualMachineScaleSetListSkusResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type VirtualMachineScaleSetListWithLinkResult

type VirtualMachineScaleSetListWithLinkResult struct {
	autorest.Response `json:"-"`
	Value             *[]VirtualMachineScaleSet `json:"value,omitempty"`
	NextLink          *string                   `json:"nextLink,omitempty"`
}

VirtualMachineScaleSetListWithLinkResult is the List Virtual Machine operation response.

func (VirtualMachineScaleSetListWithLinkResult) VirtualMachineScaleSetListWithLinkResultPreparer

func (client VirtualMachineScaleSetListWithLinkResult) VirtualMachineScaleSetListWithLinkResultPreparer() (*http.Request, error)

VirtualMachineScaleSetListWithLinkResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type VirtualMachineScaleSetManagedDiskParameters

type VirtualMachineScaleSetManagedDiskParameters struct {
	StorageAccountType StorageAccountTypes `json:"storageAccountType,omitempty"`
}

VirtualMachineScaleSetManagedDiskParameters is describes the parameters of a ScaleSet managed disk.

type VirtualMachineScaleSetNetworkConfiguration

type VirtualMachineScaleSetNetworkConfiguration struct {
	ID                                                    *string `json:"id,omitempty"`
	Name                                                  *string `json:"name,omitempty"`
	*VirtualMachineScaleSetNetworkConfigurationProperties `json:"properties,omitempty"`
}

VirtualMachineScaleSetNetworkConfiguration is describes a virtual machine scale set network profile's network configurations.

type VirtualMachineScaleSetNetworkConfigurationDNSSettings

type VirtualMachineScaleSetNetworkConfigurationDNSSettings struct {
	DNSServers *[]string `json:"dnsServers,omitempty"`
}

VirtualMachineScaleSetNetworkConfigurationDNSSettings is describes a virtual machines scale sets network configuration's DNS settings.

type VirtualMachineScaleSetNetworkConfigurationProperties

type VirtualMachineScaleSetNetworkConfigurationProperties struct {
	Primary                     *bool                                                  `json:"primary,omitempty"`
	EnableAcceleratedNetworking *bool                                                  `json:"enableAcceleratedNetworking,omitempty"`
	NetworkSecurityGroup        *SubResource                                           `json:"networkSecurityGroup,omitempty"`
	DNSSettings                 *VirtualMachineScaleSetNetworkConfigurationDNSSettings `json:"dnsSettings,omitempty"`
	IPConfigurations            *[]VirtualMachineScaleSetIPConfiguration               `json:"ipConfigurations,omitempty"`
}

VirtualMachineScaleSetNetworkConfigurationProperties is describes a virtual machine scale set network profile's IP configuration.

type VirtualMachineScaleSetNetworkProfile

type VirtualMachineScaleSetNetworkProfile struct {
	HealthProbe                    *APIEntityReference                           `json:"healthProbe,omitempty"`
	NetworkInterfaceConfigurations *[]VirtualMachineScaleSetNetworkConfiguration `json:"networkInterfaceConfigurations,omitempty"`
}

VirtualMachineScaleSetNetworkProfile is describes a virtual machine scale set network profile.

type VirtualMachineScaleSetOSDisk

type VirtualMachineScaleSetOSDisk struct {
	Name          *string                                      `json:"name,omitempty"`
	Caching       CachingTypes                                 `json:"caching,omitempty"`
	CreateOption  DiskCreateOptionTypes                        `json:"createOption,omitempty"`
	OsType        OperatingSystemTypes                         `json:"osType,omitempty"`
	Image         *VirtualHardDisk                             `json:"image,omitempty"`
	VhdContainers *[]string                                    `json:"vhdContainers,omitempty"`
	ManagedDisk   *VirtualMachineScaleSetManagedDiskParameters `json:"managedDisk,omitempty"`
}

VirtualMachineScaleSetOSDisk is describes a virtual machine scale set operating system disk.

type VirtualMachineScaleSetOSProfile

type VirtualMachineScaleSetOSProfile struct {
	ComputerNamePrefix   *string               `json:"computerNamePrefix,omitempty"`
	AdminUsername        *string               `json:"adminUsername,omitempty"`
	AdminPassword        *string               `json:"adminPassword,omitempty"`
	CustomData           *string               `json:"customData,omitempty"`
	WindowsConfiguration *WindowsConfiguration `json:"windowsConfiguration,omitempty"`
	LinuxConfiguration   *LinuxConfiguration   `json:"linuxConfiguration,omitempty"`
	Secrets              *[]VaultSecretGroup   `json:"secrets,omitempty"`
}

VirtualMachineScaleSetOSProfile is describes a virtual machine scale set OS profile.

type VirtualMachineScaleSetProperties

type VirtualMachineScaleSetProperties struct {
	UpgradePolicy         *UpgradePolicy                   `json:"upgradePolicy,omitempty"`
	VirtualMachineProfile *VirtualMachineScaleSetVMProfile `json:"virtualMachineProfile,omitempty"`
	ProvisioningState     *string                          `json:"provisioningState,omitempty"`
	Overprovision         *bool                            `json:"overprovision,omitempty"`
	UniqueID              *string                          `json:"uniqueId,omitempty"`
	SinglePlacementGroup  *bool                            `json:"singlePlacementGroup,omitempty"`
}

VirtualMachineScaleSetProperties is describes the properties of a Virtual Machine Scale Set.

type VirtualMachineScaleSetPublicIPAddressConfiguration

type VirtualMachineScaleSetPublicIPAddressConfiguration struct {
	Name                                                          *string `json:"name,omitempty"`
	*VirtualMachineScaleSetPublicIPAddressConfigurationProperties `json:"properties,omitempty"`
}

VirtualMachineScaleSetPublicIPAddressConfiguration is describes a virtual machines scale set IP Configuration's PublicIPAddress configuration

type VirtualMachineScaleSetPublicIPAddressConfigurationDNSSettings

type VirtualMachineScaleSetPublicIPAddressConfigurationDNSSettings struct {
	DomainNameLabel *string `json:"domainNameLabel,omitempty"`
}

VirtualMachineScaleSetPublicIPAddressConfigurationDNSSettings is describes a virtual machines scale sets network configuration's DNS settings.

type VirtualMachineScaleSetPublicIPAddressConfigurationProperties

type VirtualMachineScaleSetPublicIPAddressConfigurationProperties struct {
	IdleTimeoutInMinutes *int32                                                         `json:"idleTimeoutInMinutes,omitempty"`
	DNSSettings          *VirtualMachineScaleSetPublicIPAddressConfigurationDNSSettings `json:"dnsSettings,omitempty"`
}

VirtualMachineScaleSetPublicIPAddressConfigurationProperties is describes a virtual machines scale set IP Configuration's PublicIPAddress configuration

type VirtualMachineScaleSetRollingUpgradesClient

type VirtualMachineScaleSetRollingUpgradesClient struct {
	ManagementClient
}

VirtualMachineScaleSetRollingUpgradesClient is the compute Client

func NewVirtualMachineScaleSetRollingUpgradesClient

func NewVirtualMachineScaleSetRollingUpgradesClient(subscriptionID string) VirtualMachineScaleSetRollingUpgradesClient

NewVirtualMachineScaleSetRollingUpgradesClient creates an instance of the VirtualMachineScaleSetRollingUpgradesClient client.

func NewVirtualMachineScaleSetRollingUpgradesClientWithBaseURI

func NewVirtualMachineScaleSetRollingUpgradesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineScaleSetRollingUpgradesClient

NewVirtualMachineScaleSetRollingUpgradesClientWithBaseURI creates an instance of the VirtualMachineScaleSetRollingUpgradesClient client.

func (VirtualMachineScaleSetRollingUpgradesClient) Cancel

func (client VirtualMachineScaleSetRollingUpgradesClient) Cancel(resourceGroupName string, VMScaleSetName string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)

Cancel cancels the current virtual machine scale set rolling upgrade. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set.

func (VirtualMachineScaleSetRollingUpgradesClient) CancelPreparer

func (client VirtualMachineScaleSetRollingUpgradesClient) CancelPreparer(resourceGroupName string, VMScaleSetName string, cancel <-chan struct{}) (*http.Request, error)

CancelPreparer prepares the Cancel request.

func (VirtualMachineScaleSetRollingUpgradesClient) CancelResponder

func (client VirtualMachineScaleSetRollingUpgradesClient) CancelResponder(resp *http.Response) (result OperationStatusResponse, err error)

CancelResponder handles the response to the Cancel request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetRollingUpgradesClient) CancelSender

CancelSender sends the Cancel request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetRollingUpgradesClient) GetLatest

func (client VirtualMachineScaleSetRollingUpgradesClient) GetLatest(resourceGroupName string, VMScaleSetName string) (result RollingUpgradeStatusInfo, err error)

GetLatest gets the status of the latest virtual machine scale set rolling upgrade.

resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set.

func (VirtualMachineScaleSetRollingUpgradesClient) GetLatestPreparer

func (client VirtualMachineScaleSetRollingUpgradesClient) GetLatestPreparer(resourceGroupName string, VMScaleSetName string) (*http.Request, error)

GetLatestPreparer prepares the GetLatest request.

func (VirtualMachineScaleSetRollingUpgradesClient) GetLatestResponder

func (client VirtualMachineScaleSetRollingUpgradesClient) GetLatestResponder(resp *http.Response) (result RollingUpgradeStatusInfo, err error)

GetLatestResponder handles the response to the GetLatest request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetRollingUpgradesClient) GetLatestSender

GetLatestSender sends the GetLatest request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgrade

func (client VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgrade(resourceGroupName string, VMScaleSetName string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)

StartOSUpgrade starts a rolling upgrade to move all virtual machine scale set instances to the latest available Platform Image OS version. Instances which are already running the latest available OS version are not affected. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set.

func (VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgradePreparer

func (client VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgradePreparer(resourceGroupName string, VMScaleSetName string, cancel <-chan struct{}) (*http.Request, error)

StartOSUpgradePreparer prepares the StartOSUpgrade request.

func (VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgradeResponder

func (client VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgradeResponder(resp *http.Response) (result OperationStatusResponse, err error)

StartOSUpgradeResponder handles the response to the StartOSUpgrade request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgradeSender

func (client VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgradeSender(req *http.Request) (*http.Response, error)

StartOSUpgradeSender sends the StartOSUpgrade request. The method will close the http.Response Body if it receives an error.

type VirtualMachineScaleSetSku

type VirtualMachineScaleSetSku struct {
	ResourceType *string                            `json:"resourceType,omitempty"`
	Sku          *Sku                               `json:"sku,omitempty"`
	Capacity     *VirtualMachineScaleSetSkuCapacity `json:"capacity,omitempty"`
}

VirtualMachineScaleSetSku is describes an available virtual machine scale set sku.

type VirtualMachineScaleSetSkuCapacity

type VirtualMachineScaleSetSkuCapacity struct {
	Minimum         *int64                             `json:"minimum,omitempty"`
	Maximum         *int64                             `json:"maximum,omitempty"`
	DefaultCapacity *int64                             `json:"defaultCapacity,omitempty"`
	ScaleType       VirtualMachineScaleSetSkuScaleType `json:"scaleType,omitempty"`
}

VirtualMachineScaleSetSkuCapacity is describes scaling information of a sku.

type VirtualMachineScaleSetSkuScaleType

type VirtualMachineScaleSetSkuScaleType string

VirtualMachineScaleSetSkuScaleType enumerates the values for virtual machine scale set sku scale type.

const (
	// VirtualMachineScaleSetSkuScaleTypeAutomatic specifies the virtual machine scale set sku scale type automatic state
	// for virtual machine scale set sku scale type.
	VirtualMachineScaleSetSkuScaleTypeAutomatic VirtualMachineScaleSetSkuScaleType = "Automatic"
	// VirtualMachineScaleSetSkuScaleTypeNone specifies the virtual machine scale set sku scale type none state for virtual
	// machine scale set sku scale type.
	VirtualMachineScaleSetSkuScaleTypeNone VirtualMachineScaleSetSkuScaleType = "None"
)

type VirtualMachineScaleSetStorageProfile

type VirtualMachineScaleSetStorageProfile struct {
	ImageReference *ImageReference                   `json:"imageReference,omitempty"`
	OsDisk         *VirtualMachineScaleSetOSDisk     `json:"osDisk,omitempty"`
	DataDisks      *[]VirtualMachineScaleSetDataDisk `json:"dataDisks,omitempty"`
}

VirtualMachineScaleSetStorageProfile is describes a virtual machine scale set storage profile.

type VirtualMachineScaleSetUpdate

type VirtualMachineScaleSetUpdate struct {
	Tags                                    *map[string]*string `json:"tags,omitempty"`
	Sku                                     *Sku                `json:"sku,omitempty"`
	Plan                                    *Plan               `json:"plan,omitempty"`
	*VirtualMachineScaleSetUpdateProperties `json:"properties,omitempty"`
	Identity                                *VirtualMachineScaleSetIdentity `json:"identity,omitempty"`
}

VirtualMachineScaleSetUpdate is describes a Virtual Machine Scale Set.

type VirtualMachineScaleSetUpdateIPConfiguration

type VirtualMachineScaleSetUpdateIPConfiguration struct {
	ID                                                     *string `json:"id,omitempty"`
	Name                                                   *string `json:"name,omitempty"`
	*VirtualMachineScaleSetUpdateIPConfigurationProperties `json:"properties,omitempty"`
}

VirtualMachineScaleSetUpdateIPConfiguration is describes a virtual machine scale set network profile's IP configuration.

type VirtualMachineScaleSetUpdateIPConfigurationProperties

type VirtualMachineScaleSetUpdateIPConfigurationProperties struct {
	Subnet                                *APIEntityReference                                       `json:"subnet,omitempty"`
	Primary                               *bool                                                     `json:"primary,omitempty"`
	PublicIPAddressConfiguration          *VirtualMachineScaleSetUpdatePublicIPAddressConfiguration `json:"publicIPAddressConfiguration,omitempty"`
	PrivateIPAddressVersion               IPVersion                                                 `json:"privateIPAddressVersion,omitempty"`
	ApplicationGatewayBackendAddressPools *[]SubResource                                            `json:"applicationGatewayBackendAddressPools,omitempty"`
	LoadBalancerBackendAddressPools       *[]SubResource                                            `json:"loadBalancerBackendAddressPools,omitempty"`
	LoadBalancerInboundNatPools           *[]SubResource                                            `json:"loadBalancerInboundNatPools,omitempty"`
}

VirtualMachineScaleSetUpdateIPConfigurationProperties is describes a virtual machine scale set network profile's IP configuration properties.

type VirtualMachineScaleSetUpdateNetworkConfiguration

type VirtualMachineScaleSetUpdateNetworkConfiguration struct {
	ID                                                          *string `json:"id,omitempty"`
	Name                                                        *string `json:"name,omitempty"`
	*VirtualMachineScaleSetUpdateNetworkConfigurationProperties `json:"properties,omitempty"`
}

VirtualMachineScaleSetUpdateNetworkConfiguration is describes a virtual machine scale set network profile's network configurations.

type VirtualMachineScaleSetUpdateNetworkConfigurationProperties

type VirtualMachineScaleSetUpdateNetworkConfigurationProperties struct {
	Primary                     *bool                                                  `json:"primary,omitempty"`
	EnableAcceleratedNetworking *bool                                                  `json:"enableAcceleratedNetworking,omitempty"`
	NetworkSecurityGroup        *SubResource                                           `json:"networkSecurityGroup,omitempty"`
	DNSSettings                 *VirtualMachineScaleSetNetworkConfigurationDNSSettings `json:"dnsSettings,omitempty"`
	IPConfigurations            *[]VirtualMachineScaleSetUpdateIPConfiguration         `json:"ipConfigurations,omitempty"`
}

VirtualMachineScaleSetUpdateNetworkConfigurationProperties is describes a virtual machine scale set updatable network profile's IP configuration.Use this object for updating network profile's IP Configuration.

type VirtualMachineScaleSetUpdateNetworkProfile

type VirtualMachineScaleSetUpdateNetworkProfile struct {
	NetworkInterfaceConfigurations *[]VirtualMachineScaleSetUpdateNetworkConfiguration `json:"networkInterfaceConfigurations,omitempty"`
}

VirtualMachineScaleSetUpdateNetworkProfile is describes a virtual machine scale set network profile.

type VirtualMachineScaleSetUpdateOSDisk

type VirtualMachineScaleSetUpdateOSDisk struct {
	Caching       CachingTypes                                 `json:"caching,omitempty"`
	Image         *VirtualHardDisk                             `json:"image,omitempty"`
	VhdContainers *[]string                                    `json:"vhdContainers,omitempty"`
	ManagedDisk   *VirtualMachineScaleSetManagedDiskParameters `json:"managedDisk,omitempty"`
}

VirtualMachineScaleSetUpdateOSDisk is describes virtual machine scale set operating system disk Update Object. This should be used for Updating VMSS OS Disk.

type VirtualMachineScaleSetUpdateOSProfile

type VirtualMachineScaleSetUpdateOSProfile struct {
	CustomData           *string               `json:"customData,omitempty"`
	WindowsConfiguration *WindowsConfiguration `json:"windowsConfiguration,omitempty"`
	LinuxConfiguration   *LinuxConfiguration   `json:"linuxConfiguration,omitempty"`
	Secrets              *[]VaultSecretGroup   `json:"secrets,omitempty"`
}

VirtualMachineScaleSetUpdateOSProfile is describes a virtual machine scale set OS profile.

type VirtualMachineScaleSetUpdateProperties

type VirtualMachineScaleSetUpdateProperties struct {
	UpgradePolicy         *UpgradePolicy                         `json:"upgradePolicy,omitempty"`
	VirtualMachineProfile *VirtualMachineScaleSetUpdateVMProfile `json:"virtualMachineProfile,omitempty"`
	Overprovision         *bool                                  `json:"overprovision,omitempty"`
	SinglePlacementGroup  *bool                                  `json:"singlePlacementGroup,omitempty"`
}

VirtualMachineScaleSetUpdateProperties is describes the properties of a Virtual Machine Scale Set.

type VirtualMachineScaleSetUpdatePublicIPAddressConfiguration

type VirtualMachineScaleSetUpdatePublicIPAddressConfiguration struct {
	Name                                                                *string `json:"name,omitempty"`
	*VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties `json:"properties,omitempty"`
}

VirtualMachineScaleSetUpdatePublicIPAddressConfiguration is describes a virtual machines scale set IP Configuration's PublicIPAddress configuration

type VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties

type VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties struct {
	IdleTimeoutInMinutes *int32                                                         `json:"idleTimeoutInMinutes,omitempty"`
	DNSSettings          *VirtualMachineScaleSetPublicIPAddressConfigurationDNSSettings `json:"dnsSettings,omitempty"`
}

VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties is describes a virtual machines scale set IP Configuration's PublicIPAddress configuration

type VirtualMachineScaleSetUpdateStorageProfile

type VirtualMachineScaleSetUpdateStorageProfile struct {
	ImageReference *ImageReference                     `json:"imageReference,omitempty"`
	OsDisk         *VirtualMachineScaleSetUpdateOSDisk `json:"osDisk,omitempty"`
	DataDisks      *[]VirtualMachineScaleSetDataDisk   `json:"dataDisks,omitempty"`
}

VirtualMachineScaleSetUpdateStorageProfile is describes a virtual machine scale set storage profile.

type VirtualMachineScaleSetUpdateVMProfile

type VirtualMachineScaleSetUpdateVMProfile struct {
	OsProfile          *VirtualMachineScaleSetUpdateOSProfile      `json:"osProfile,omitempty"`
	StorageProfile     *VirtualMachineScaleSetUpdateStorageProfile `json:"storageProfile,omitempty"`
	NetworkProfile     *VirtualMachineScaleSetUpdateNetworkProfile `json:"networkProfile,omitempty"`
	DiagnosticsProfile *DiagnosticsProfile                         `json:"diagnosticsProfile,omitempty"`
	ExtensionProfile   *VirtualMachineScaleSetExtensionProfile     `json:"extensionProfile,omitempty"`
	LicenseType        *string                                     `json:"licenseType,omitempty"`
}

VirtualMachineScaleSetUpdateVMProfile is describes a virtual machine scale set virtual machine profile.

type VirtualMachineScaleSetVM

type VirtualMachineScaleSetVM struct {
	autorest.Response                   `json:"-"`
	ID                                  *string             `json:"id,omitempty"`
	Name                                *string             `json:"name,omitempty"`
	Type                                *string             `json:"type,omitempty"`
	Location                            *string             `json:"location,omitempty"`
	Tags                                *map[string]*string `json:"tags,omitempty"`
	InstanceID                          *string             `json:"instanceId,omitempty"`
	Sku                                 *Sku                `json:"sku,omitempty"`
	*VirtualMachineScaleSetVMProperties `json:"properties,omitempty"`
	Plan                                *Plan                      `json:"plan,omitempty"`
	Resources                           *[]VirtualMachineExtension `json:"resources,omitempty"`
}

VirtualMachineScaleSetVM is describes a virtual machine scale set virtual machine.

type VirtualMachineScaleSetVMExtensionsSummary

type VirtualMachineScaleSetVMExtensionsSummary struct {
	Name            *string                          `json:"name,omitempty"`
	StatusesSummary *[]VirtualMachineStatusCodeCount `json:"statusesSummary,omitempty"`
}

VirtualMachineScaleSetVMExtensionsSummary is extensions summary for virtual machines of a virtual machine scale set.

type VirtualMachineScaleSetVMInstanceIDs

type VirtualMachineScaleSetVMInstanceIDs struct {
	InstanceIds *[]string `json:"instanceIds,omitempty"`
}

VirtualMachineScaleSetVMInstanceIDs is specifies a list of virtual machine instance IDs from the VM scale set.

type VirtualMachineScaleSetVMInstanceRequiredIDs

type VirtualMachineScaleSetVMInstanceRequiredIDs struct {
	InstanceIds *[]string `json:"instanceIds,omitempty"`
}

VirtualMachineScaleSetVMInstanceRequiredIDs is specifies a list of virtual machine instance IDs from the VM scale set.

type VirtualMachineScaleSetVMInstanceView

type VirtualMachineScaleSetVMInstanceView struct {
	autorest.Response    `json:"-"`
	PlatformUpdateDomain *int32                                 `json:"platformUpdateDomain,omitempty"`
	PlatformFaultDomain  *int32                                 `json:"platformFaultDomain,omitempty"`
	RdpThumbPrint        *string                                `json:"rdpThumbPrint,omitempty"`
	VMAgent              *VirtualMachineAgentInstanceView       `json:"vmAgent,omitempty"`
	Disks                *[]DiskInstanceView                    `json:"disks,omitempty"`
	Extensions           *[]VirtualMachineExtensionInstanceView `json:"extensions,omitempty"`
	VMHealth             *VirtualMachineHealthStatus            `json:"vmHealth,omitempty"`
	BootDiagnostics      *BootDiagnosticsInstanceView           `json:"bootDiagnostics,omitempty"`
	Statuses             *[]InstanceViewStatus                  `json:"statuses,omitempty"`
	PlacementGroupID     *string                                `json:"placementGroupId,omitempty"`
}

VirtualMachineScaleSetVMInstanceView is the instance view of a virtual machine scale set VM.

type VirtualMachineScaleSetVMListResult

type VirtualMachineScaleSetVMListResult struct {
	autorest.Response `json:"-"`
	Value             *[]VirtualMachineScaleSetVM `json:"value,omitempty"`
	NextLink          *string                     `json:"nextLink,omitempty"`
}

VirtualMachineScaleSetVMListResult is the List Virtual Machine Scale Set VMs operation response.

func (VirtualMachineScaleSetVMListResult) VirtualMachineScaleSetVMListResultPreparer

func (client VirtualMachineScaleSetVMListResult) VirtualMachineScaleSetVMListResultPreparer() (*http.Request, error)

VirtualMachineScaleSetVMListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type VirtualMachineScaleSetVMProfile

type VirtualMachineScaleSetVMProfile struct {
	OsProfile          *VirtualMachineScaleSetOSProfile        `json:"osProfile,omitempty"`
	StorageProfile     *VirtualMachineScaleSetStorageProfile   `json:"storageProfile,omitempty"`
	NetworkProfile     *VirtualMachineScaleSetNetworkProfile   `json:"networkProfile,omitempty"`
	DiagnosticsProfile *DiagnosticsProfile                     `json:"diagnosticsProfile,omitempty"`
	ExtensionProfile   *VirtualMachineScaleSetExtensionProfile `json:"extensionProfile,omitempty"`
	LicenseType        *string                                 `json:"licenseType,omitempty"`
}

VirtualMachineScaleSetVMProfile is describes a virtual machine scale set virtual machine profile.

type VirtualMachineScaleSetVMProperties

type VirtualMachineScaleSetVMProperties struct {
	LatestModelApplied *bool                       `json:"latestModelApplied,omitempty"`
	VMID               *string                     `json:"vmId,omitempty"`
	InstanceView       *VirtualMachineInstanceView `json:"instanceView,omitempty"`
	HardwareProfile    *HardwareProfile            `json:"hardwareProfile,omitempty"`
	StorageProfile     *StorageProfile             `json:"storageProfile,omitempty"`
	OsProfile          *OSProfile                  `json:"osProfile,omitempty"`
	NetworkProfile     *NetworkProfile             `json:"networkProfile,omitempty"`
	DiagnosticsProfile *DiagnosticsProfile         `json:"diagnosticsProfile,omitempty"`
	AvailabilitySet    *SubResource                `json:"availabilitySet,omitempty"`
	ProvisioningState  *string                     `json:"provisioningState,omitempty"`
	LicenseType        *string                     `json:"licenseType,omitempty"`
}

VirtualMachineScaleSetVMProperties is describes the properties of a virtual machine scale set virtual machine.

type VirtualMachineScaleSetVMsClient

type VirtualMachineScaleSetVMsClient struct {
	ManagementClient
}

VirtualMachineScaleSetVMsClient is the compute Client

func NewVirtualMachineScaleSetVMsClient

func NewVirtualMachineScaleSetVMsClient(subscriptionID string) VirtualMachineScaleSetVMsClient

NewVirtualMachineScaleSetVMsClient creates an instance of the VirtualMachineScaleSetVMsClient client.

func NewVirtualMachineScaleSetVMsClientWithBaseURI

func NewVirtualMachineScaleSetVMsClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineScaleSetVMsClient

NewVirtualMachineScaleSetVMsClientWithBaseURI creates an instance of the VirtualMachineScaleSetVMsClient client.

func (VirtualMachineScaleSetVMsClient) Deallocate

func (client VirtualMachineScaleSetVMsClient) Deallocate(resourceGroupName string, VMScaleSetName string, instanceID string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)

Deallocate deallocates a specific virtual machine in a VM scale set. Shuts down the virtual machine and releases the compute resources it uses. You are not billed for the compute resources of this virtual machine once it is deallocated. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set. instanceID is the instance ID of the virtual machine.

func (VirtualMachineScaleSetVMsClient) DeallocatePreparer

func (client VirtualMachineScaleSetVMsClient) DeallocatePreparer(resourceGroupName string, VMScaleSetName string, instanceID string, cancel <-chan struct{}) (*http.Request, error)

DeallocatePreparer prepares the Deallocate request.

func (VirtualMachineScaleSetVMsClient) DeallocateResponder

func (client VirtualMachineScaleSetVMsClient) DeallocateResponder(resp *http.Response) (result OperationStatusResponse, err error)

DeallocateResponder handles the response to the Deallocate request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetVMsClient) DeallocateSender

func (client VirtualMachineScaleSetVMsClient) DeallocateSender(req *http.Request) (*http.Response, error)

DeallocateSender sends the Deallocate request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetVMsClient) Delete

func (client VirtualMachineScaleSetVMsClient) Delete(resourceGroupName string, VMScaleSetName string, instanceID string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)

Delete deletes a virtual machine from a VM scale set. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set. instanceID is the instance ID of the virtual machine.

func (VirtualMachineScaleSetVMsClient) DeletePreparer

func (client VirtualMachineScaleSetVMsClient) DeletePreparer(resourceGroupName string, VMScaleSetName string, instanceID string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (VirtualMachineScaleSetVMsClient) DeleteResponder

func (client VirtualMachineScaleSetVMsClient) DeleteResponder(resp *http.Response) (result OperationStatusResponse, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetVMsClient) DeleteSender

func (client VirtualMachineScaleSetVMsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetVMsClient) Get

func (client VirtualMachineScaleSetVMsClient) Get(resourceGroupName string, VMScaleSetName string, instanceID string) (result VirtualMachineScaleSetVM, err error)

Get gets a virtual machine from a VM scale set.

resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set. instanceID is the instance ID of the virtual machine.

func (VirtualMachineScaleSetVMsClient) GetInstanceView

func (client VirtualMachineScaleSetVMsClient) GetInstanceView(resourceGroupName string, VMScaleSetName string, instanceID string) (result VirtualMachineScaleSetVMInstanceView, err error)

GetInstanceView gets the status of a virtual machine from a VM scale set.

resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set. instanceID is the instance ID of the virtual machine.

func (VirtualMachineScaleSetVMsClient) GetInstanceViewPreparer

func (client VirtualMachineScaleSetVMsClient) GetInstanceViewPreparer(resourceGroupName string, VMScaleSetName string, instanceID string) (*http.Request, error)

GetInstanceViewPreparer prepares the GetInstanceView request.

func (VirtualMachineScaleSetVMsClient) GetInstanceViewResponder

func (client VirtualMachineScaleSetVMsClient) GetInstanceViewResponder(resp *http.Response) (result VirtualMachineScaleSetVMInstanceView, err error)

GetInstanceViewResponder handles the response to the GetInstanceView request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetVMsClient) GetInstanceViewSender

func (client VirtualMachineScaleSetVMsClient) GetInstanceViewSender(req *http.Request) (*http.Response, error)

GetInstanceViewSender sends the GetInstanceView request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetVMsClient) GetPreparer

func (client VirtualMachineScaleSetVMsClient) GetPreparer(resourceGroupName string, VMScaleSetName string, instanceID string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VirtualMachineScaleSetVMsClient) GetResponder

func (client VirtualMachineScaleSetVMsClient) GetResponder(resp *http.Response) (result VirtualMachineScaleSetVM, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetVMsClient) GetSender

func (client VirtualMachineScaleSetVMsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetVMsClient) List

func (client VirtualMachineScaleSetVMsClient) List(resourceGroupName string, virtualMachineScaleSetName string, filter string, selectParameter string, expand string) (result VirtualMachineScaleSetVMListResult, err error)

List gets a list of all virtual machines in a VM scale sets.

resourceGroupName is the name of the resource group. virtualMachineScaleSetName is the name of the VM scale set. filter is the filter to apply to the operation. selectParameter is the list parameters. expand is the expand expression to apply to the operation.

func (VirtualMachineScaleSetVMsClient) ListComplete

func (client VirtualMachineScaleSetVMsClient) ListComplete(resourceGroupName string, virtualMachineScaleSetName string, filter string, selectParameter string, expand string, cancel <-chan struct{}) (<-chan VirtualMachineScaleSetVM, <-chan error)

ListComplete gets all elements from the list without paging.

func (VirtualMachineScaleSetVMsClient) ListNextResults

ListNextResults retrieves the next set of results, if any.

func (VirtualMachineScaleSetVMsClient) ListPreparer

func (client VirtualMachineScaleSetVMsClient) ListPreparer(resourceGroupName string, virtualMachineScaleSetName string, filter string, selectParameter string, expand string) (*http.Request, error)

ListPreparer prepares the List request.

func (VirtualMachineScaleSetVMsClient) ListResponder

func (client VirtualMachineScaleSetVMsClient) ListResponder(resp *http.Response) (result VirtualMachineScaleSetVMListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetVMsClient) ListSender

func (client VirtualMachineScaleSetVMsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetVMsClient) PowerOff

func (client VirtualMachineScaleSetVMsClient) PowerOff(resourceGroupName string, VMScaleSetName string, instanceID string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)

PowerOff power off (stop) a virtual machine in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set. instanceID is the instance ID of the virtual machine.

func (VirtualMachineScaleSetVMsClient) PowerOffPreparer

func (client VirtualMachineScaleSetVMsClient) PowerOffPreparer(resourceGroupName string, VMScaleSetName string, instanceID string, cancel <-chan struct{}) (*http.Request, error)

PowerOffPreparer prepares the PowerOff request.

func (VirtualMachineScaleSetVMsClient) PowerOffResponder

func (client VirtualMachineScaleSetVMsClient) PowerOffResponder(resp *http.Response) (result OperationStatusResponse, err error)

PowerOffResponder handles the response to the PowerOff request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetVMsClient) PowerOffSender

func (client VirtualMachineScaleSetVMsClient) PowerOffSender(req *http.Request) (*http.Response, error)

PowerOffSender sends the PowerOff request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetVMsClient) Reimage

func (client VirtualMachineScaleSetVMsClient) Reimage(resourceGroupName string, VMScaleSetName string, instanceID string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)

Reimage reimages (upgrade the operating system) a specific virtual machine in a VM scale set. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set. instanceID is the instance ID of the virtual machine.

func (VirtualMachineScaleSetVMsClient) ReimageAll

func (client VirtualMachineScaleSetVMsClient) ReimageAll(resourceGroupName string, VMScaleSetName string, instanceID string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)

ReimageAll allows you to re-image all the disks ( including data disks ) in the a VM scale set instance. This operation is only supported for managed disks. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set. instanceID is the instance ID of the virtual machine.

func (VirtualMachineScaleSetVMsClient) ReimageAllPreparer

func (client VirtualMachineScaleSetVMsClient) ReimageAllPreparer(resourceGroupName string, VMScaleSetName string, instanceID string, cancel <-chan struct{}) (*http.Request, error)

ReimageAllPreparer prepares the ReimageAll request.

func (VirtualMachineScaleSetVMsClient) ReimageAllResponder

func (client VirtualMachineScaleSetVMsClient) ReimageAllResponder(resp *http.Response) (result OperationStatusResponse, err error)

ReimageAllResponder handles the response to the ReimageAll request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetVMsClient) ReimageAllSender

func (client VirtualMachineScaleSetVMsClient) ReimageAllSender(req *http.Request) (*http.Response, error)

ReimageAllSender sends the ReimageAll request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetVMsClient) ReimagePreparer

func (client VirtualMachineScaleSetVMsClient) ReimagePreparer(resourceGroupName string, VMScaleSetName string, instanceID string, cancel <-chan struct{}) (*http.Request, error)

ReimagePreparer prepares the Reimage request.

func (VirtualMachineScaleSetVMsClient) ReimageResponder

func (client VirtualMachineScaleSetVMsClient) ReimageResponder(resp *http.Response) (result OperationStatusResponse, err error)

ReimageResponder handles the response to the Reimage request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetVMsClient) ReimageSender

func (client VirtualMachineScaleSetVMsClient) ReimageSender(req *http.Request) (*http.Response, error)

ReimageSender sends the Reimage request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetVMsClient) Restart

func (client VirtualMachineScaleSetVMsClient) Restart(resourceGroupName string, VMScaleSetName string, instanceID string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)

Restart restarts a virtual machine in a VM scale set. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set. instanceID is the instance ID of the virtual machine.

func (VirtualMachineScaleSetVMsClient) RestartPreparer

func (client VirtualMachineScaleSetVMsClient) RestartPreparer(resourceGroupName string, VMScaleSetName string, instanceID string, cancel <-chan struct{}) (*http.Request, error)

RestartPreparer prepares the Restart request.

func (VirtualMachineScaleSetVMsClient) RestartResponder

func (client VirtualMachineScaleSetVMsClient) RestartResponder(resp *http.Response) (result OperationStatusResponse, err error)

RestartResponder handles the response to the Restart request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetVMsClient) RestartSender

func (client VirtualMachineScaleSetVMsClient) RestartSender(req *http.Request) (*http.Response, error)

RestartSender sends the Restart request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetVMsClient) Start

func (client VirtualMachineScaleSetVMsClient) Start(resourceGroupName string, VMScaleSetName string, instanceID string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)

Start starts a virtual machine in a VM scale set. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set. instanceID is the instance ID of the virtual machine.

func (VirtualMachineScaleSetVMsClient) StartPreparer

func (client VirtualMachineScaleSetVMsClient) StartPreparer(resourceGroupName string, VMScaleSetName string, instanceID string, cancel <-chan struct{}) (*http.Request, error)

StartPreparer prepares the Start request.

func (VirtualMachineScaleSetVMsClient) StartResponder

func (client VirtualMachineScaleSetVMsClient) StartResponder(resp *http.Response) (result OperationStatusResponse, err error)

StartResponder handles the response to the Start request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetVMsClient) StartSender

func (client VirtualMachineScaleSetVMsClient) StartSender(req *http.Request) (*http.Response, error)

StartSender sends the Start request. The method will close the http.Response Body if it receives an error.

type VirtualMachineScaleSetsClient

type VirtualMachineScaleSetsClient struct {
	ManagementClient
}

VirtualMachineScaleSetsClient is the compute Client

func NewVirtualMachineScaleSetsClient

func NewVirtualMachineScaleSetsClient(subscriptionID string) VirtualMachineScaleSetsClient

NewVirtualMachineScaleSetsClient creates an instance of the VirtualMachineScaleSetsClient client.

func NewVirtualMachineScaleSetsClientWithBaseURI

func NewVirtualMachineScaleSetsClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineScaleSetsClient

NewVirtualMachineScaleSetsClientWithBaseURI creates an instance of the VirtualMachineScaleSetsClient client.

func (VirtualMachineScaleSetsClient) CreateOrUpdate

func (client VirtualMachineScaleSetsClient) CreateOrUpdate(resourceGroupName string, VMScaleSetName string, parameters VirtualMachineScaleSet, cancel <-chan struct{}) (<-chan VirtualMachineScaleSet, <-chan error)

CreateOrUpdate create or update a VM scale set. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set to create or update. parameters is the scale set object.

func (VirtualMachineScaleSetsClient) CreateOrUpdatePreparer

func (client VirtualMachineScaleSetsClient) CreateOrUpdatePreparer(resourceGroupName string, VMScaleSetName string, parameters VirtualMachineScaleSet, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (VirtualMachineScaleSetsClient) CreateOrUpdateResponder

func (client VirtualMachineScaleSetsClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualMachineScaleSet, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetsClient) CreateOrUpdateSender

func (client VirtualMachineScaleSetsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetsClient) Deallocate

func (client VirtualMachineScaleSetsClient) Deallocate(resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)

Deallocate deallocates specific virtual machines in a VM scale set. Shuts down the virtual machines and releases the compute resources. You are not billed for the compute resources that this virtual machine scale set deallocates. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set. VMInstanceIDs is a list of virtual machine instance IDs from the VM scale set.

func (VirtualMachineScaleSetsClient) DeallocatePreparer

func (client VirtualMachineScaleSetsClient) DeallocatePreparer(resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs, cancel <-chan struct{}) (*http.Request, error)

DeallocatePreparer prepares the Deallocate request.

func (VirtualMachineScaleSetsClient) DeallocateResponder

func (client VirtualMachineScaleSetsClient) DeallocateResponder(resp *http.Response) (result OperationStatusResponse, err error)

DeallocateResponder handles the response to the Deallocate request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetsClient) DeallocateSender

func (client VirtualMachineScaleSetsClient) DeallocateSender(req *http.Request) (*http.Response, error)

DeallocateSender sends the Deallocate request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetsClient) Delete

func (client VirtualMachineScaleSetsClient) Delete(resourceGroupName string, VMScaleSetName string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)

Delete deletes a VM scale set. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set.

func (VirtualMachineScaleSetsClient) DeleteInstances

func (client VirtualMachineScaleSetsClient) DeleteInstances(resourceGroupName string, VMScaleSetName string, VMInstanceIDs VirtualMachineScaleSetVMInstanceRequiredIDs, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)

DeleteInstances deletes virtual machines in a VM scale set. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set. VMInstanceIDs is a list of virtual machine instance IDs from the VM scale set.

func (VirtualMachineScaleSetsClient) DeleteInstancesPreparer

func (client VirtualMachineScaleSetsClient) DeleteInstancesPreparer(resourceGroupName string, VMScaleSetName string, VMInstanceIDs VirtualMachineScaleSetVMInstanceRequiredIDs, cancel <-chan struct{}) (*http.Request, error)

DeleteInstancesPreparer prepares the DeleteInstances request.

func (VirtualMachineScaleSetsClient) DeleteInstancesResponder

func (client VirtualMachineScaleSetsClient) DeleteInstancesResponder(resp *http.Response) (result OperationStatusResponse, err error)

DeleteInstancesResponder handles the response to the DeleteInstances request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetsClient) DeleteInstancesSender

func (client VirtualMachineScaleSetsClient) DeleteInstancesSender(req *http.Request) (*http.Response, error)

DeleteInstancesSender sends the DeleteInstances request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetsClient) DeletePreparer

func (client VirtualMachineScaleSetsClient) DeletePreparer(resourceGroupName string, VMScaleSetName string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (VirtualMachineScaleSetsClient) DeleteResponder

func (client VirtualMachineScaleSetsClient) DeleteResponder(resp *http.Response) (result OperationStatusResponse, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetsClient) DeleteSender

func (client VirtualMachineScaleSetsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetsClient) Get

func (client VirtualMachineScaleSetsClient) Get(resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSet, err error)

Get display information about a virtual machine scale set.

resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set.

func (VirtualMachineScaleSetsClient) GetInstanceView

func (client VirtualMachineScaleSetsClient) GetInstanceView(resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetInstanceView, err error)

GetInstanceView gets the status of a VM scale set instance.

resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set.

func (VirtualMachineScaleSetsClient) GetInstanceViewPreparer

func (client VirtualMachineScaleSetsClient) GetInstanceViewPreparer(resourceGroupName string, VMScaleSetName string) (*http.Request, error)

GetInstanceViewPreparer prepares the GetInstanceView request.

func (VirtualMachineScaleSetsClient) GetInstanceViewResponder

func (client VirtualMachineScaleSetsClient) GetInstanceViewResponder(resp *http.Response) (result VirtualMachineScaleSetInstanceView, err error)

GetInstanceViewResponder handles the response to the GetInstanceView request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetsClient) GetInstanceViewSender

func (client VirtualMachineScaleSetsClient) GetInstanceViewSender(req *http.Request) (*http.Response, error)

GetInstanceViewSender sends the GetInstanceView request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetsClient) GetPreparer

func (client VirtualMachineScaleSetsClient) GetPreparer(resourceGroupName string, VMScaleSetName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VirtualMachineScaleSetsClient) GetResponder

func (client VirtualMachineScaleSetsClient) GetResponder(resp *http.Response) (result VirtualMachineScaleSet, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetsClient) GetSender

func (client VirtualMachineScaleSetsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetsClient) List

func (client VirtualMachineScaleSetsClient) List(resourceGroupName string) (result VirtualMachineScaleSetListResult, err error)

List gets a list of all VM scale sets under a resource group.

resourceGroupName is the name of the resource group.

func (VirtualMachineScaleSetsClient) ListAll

ListAll gets a list of all VM Scale Sets in the subscription, regardless of the associated resource group. Use nextLink property in the response to get the next page of VM Scale Sets. Do this till nextLink is not null to fetch all the VM Scale Sets.

func (VirtualMachineScaleSetsClient) ListAllComplete

func (client VirtualMachineScaleSetsClient) ListAllComplete(cancel <-chan struct{}) (<-chan VirtualMachineScaleSet, <-chan error)

ListAllComplete gets all elements from the list without paging.

func (VirtualMachineScaleSetsClient) ListAllNextResults

ListAllNextResults retrieves the next set of results, if any.

func (VirtualMachineScaleSetsClient) ListAllPreparer

func (client VirtualMachineScaleSetsClient) ListAllPreparer() (*http.Request, error)

ListAllPreparer prepares the ListAll request.

func (VirtualMachineScaleSetsClient) ListAllResponder

func (client VirtualMachineScaleSetsClient) ListAllResponder(resp *http.Response) (result VirtualMachineScaleSetListWithLinkResult, err error)

ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetsClient) ListAllSender

func (client VirtualMachineScaleSetsClient) ListAllSender(req *http.Request) (*http.Response, error)

ListAllSender sends the ListAll request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetsClient) ListComplete

func (client VirtualMachineScaleSetsClient) ListComplete(resourceGroupName string, cancel <-chan struct{}) (<-chan VirtualMachineScaleSet, <-chan error)

ListComplete gets all elements from the list without paging.

func (VirtualMachineScaleSetsClient) ListNextResults

ListNextResults retrieves the next set of results, if any.

func (VirtualMachineScaleSetsClient) ListPreparer

func (client VirtualMachineScaleSetsClient) ListPreparer(resourceGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (VirtualMachineScaleSetsClient) ListResponder

func (client VirtualMachineScaleSetsClient) ListResponder(resp *http.Response) (result VirtualMachineScaleSetListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetsClient) ListSender

func (client VirtualMachineScaleSetsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetsClient) ListSkus

func (client VirtualMachineScaleSetsClient) ListSkus(resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetListSkusResult, err error)

ListSkus gets a list of SKUs available for your VM scale set, including the minimum and maximum VM instances allowed for each SKU.

resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set.

func (VirtualMachineScaleSetsClient) ListSkusComplete

func (client VirtualMachineScaleSetsClient) ListSkusComplete(resourceGroupName string, VMScaleSetName string, cancel <-chan struct{}) (<-chan VirtualMachineScaleSetSku, <-chan error)

ListSkusComplete gets all elements from the list without paging.

func (VirtualMachineScaleSetsClient) ListSkusNextResults

ListSkusNextResults retrieves the next set of results, if any.

func (VirtualMachineScaleSetsClient) ListSkusPreparer

func (client VirtualMachineScaleSetsClient) ListSkusPreparer(resourceGroupName string, VMScaleSetName string) (*http.Request, error)

ListSkusPreparer prepares the ListSkus request.

func (VirtualMachineScaleSetsClient) ListSkusResponder

func (client VirtualMachineScaleSetsClient) ListSkusResponder(resp *http.Response) (result VirtualMachineScaleSetListSkusResult, err error)

ListSkusResponder handles the response to the ListSkus request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetsClient) ListSkusSender

func (client VirtualMachineScaleSetsClient) ListSkusSender(req *http.Request) (*http.Response, error)

ListSkusSender sends the ListSkus request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetsClient) PowerOff

func (client VirtualMachineScaleSetsClient) PowerOff(resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)

PowerOff power off (stop) one or more virtual machines in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set. VMInstanceIDs is a list of virtual machine instance IDs from the VM scale set.

func (VirtualMachineScaleSetsClient) PowerOffPreparer

func (client VirtualMachineScaleSetsClient) PowerOffPreparer(resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs, cancel <-chan struct{}) (*http.Request, error)

PowerOffPreparer prepares the PowerOff request.

func (VirtualMachineScaleSetsClient) PowerOffResponder

func (client VirtualMachineScaleSetsClient) PowerOffResponder(resp *http.Response) (result OperationStatusResponse, err error)

PowerOffResponder handles the response to the PowerOff request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetsClient) PowerOffSender

func (client VirtualMachineScaleSetsClient) PowerOffSender(req *http.Request) (*http.Response, error)

PowerOffSender sends the PowerOff request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetsClient) Reimage

func (client VirtualMachineScaleSetsClient) Reimage(resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)

Reimage reimages (upgrade the operating system) one or more virtual machines in a VM scale set. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set. VMInstanceIDs is a list of virtual machine instance IDs from the VM scale set.

func (VirtualMachineScaleSetsClient) ReimageAll

func (client VirtualMachineScaleSetsClient) ReimageAll(resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)

ReimageAll reimages all the disks ( including data disks ) in the virtual machines in a VM scale set. This operation is only supported for managed disks. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set. VMInstanceIDs is a list of virtual machine instance IDs from the VM scale set.

func (VirtualMachineScaleSetsClient) ReimageAllPreparer

func (client VirtualMachineScaleSetsClient) ReimageAllPreparer(resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs, cancel <-chan struct{}) (*http.Request, error)

ReimageAllPreparer prepares the ReimageAll request.

func (VirtualMachineScaleSetsClient) ReimageAllResponder

func (client VirtualMachineScaleSetsClient) ReimageAllResponder(resp *http.Response) (result OperationStatusResponse, err error)

ReimageAllResponder handles the response to the ReimageAll request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetsClient) ReimageAllSender

func (client VirtualMachineScaleSetsClient) ReimageAllSender(req *http.Request) (*http.Response, error)

ReimageAllSender sends the ReimageAll request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetsClient) ReimagePreparer

func (client VirtualMachineScaleSetsClient) ReimagePreparer(resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs, cancel <-chan struct{}) (*http.Request, error)

ReimagePreparer prepares the Reimage request.

func (VirtualMachineScaleSetsClient) ReimageResponder

func (client VirtualMachineScaleSetsClient) ReimageResponder(resp *http.Response) (result OperationStatusResponse, err error)

ReimageResponder handles the response to the Reimage request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetsClient) ReimageSender

func (client VirtualMachineScaleSetsClient) ReimageSender(req *http.Request) (*http.Response, error)

ReimageSender sends the Reimage request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetsClient) Restart

func (client VirtualMachineScaleSetsClient) Restart(resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)

Restart restarts one or more virtual machines in a VM scale set. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set. VMInstanceIDs is a list of virtual machine instance IDs from the VM scale set.

func (VirtualMachineScaleSetsClient) RestartPreparer

func (client VirtualMachineScaleSetsClient) RestartPreparer(resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs, cancel <-chan struct{}) (*http.Request, error)

RestartPreparer prepares the Restart request.

func (VirtualMachineScaleSetsClient) RestartResponder

func (client VirtualMachineScaleSetsClient) RestartResponder(resp *http.Response) (result OperationStatusResponse, err error)

RestartResponder handles the response to the Restart request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetsClient) RestartSender

func (client VirtualMachineScaleSetsClient) RestartSender(req *http.Request) (*http.Response, error)

RestartSender sends the Restart request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetsClient) Start

func (client VirtualMachineScaleSetsClient) Start(resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)

Start starts one or more virtual machines in a VM scale set. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set. VMInstanceIDs is a list of virtual machine instance IDs from the VM scale set.

func (VirtualMachineScaleSetsClient) StartPreparer

func (client VirtualMachineScaleSetsClient) StartPreparer(resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs, cancel <-chan struct{}) (*http.Request, error)

StartPreparer prepares the Start request.

func (VirtualMachineScaleSetsClient) StartResponder

func (client VirtualMachineScaleSetsClient) StartResponder(resp *http.Response) (result OperationStatusResponse, err error)

StartResponder handles the response to the Start request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetsClient) StartSender

func (client VirtualMachineScaleSetsClient) StartSender(req *http.Request) (*http.Response, error)

StartSender sends the Start request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetsClient) Update

func (client VirtualMachineScaleSetsClient) Update(resourceGroupName string, VMScaleSetName string, parameters VirtualMachineScaleSetUpdate, cancel <-chan struct{}) (<-chan VirtualMachineScaleSet, <-chan error)

Update update a VM scale set. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set to create or update. parameters is the scale set object.

func (VirtualMachineScaleSetsClient) UpdateInstances

func (client VirtualMachineScaleSetsClient) UpdateInstances(resourceGroupName string, VMScaleSetName string, VMInstanceIDs VirtualMachineScaleSetVMInstanceRequiredIDs, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)

UpdateInstances upgrades one or more virtual machines to the latest SKU set in the VM scale set model. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set. VMInstanceIDs is a list of virtual machine instance IDs from the VM scale set.

func (VirtualMachineScaleSetsClient) UpdateInstancesPreparer

func (client VirtualMachineScaleSetsClient) UpdateInstancesPreparer(resourceGroupName string, VMScaleSetName string, VMInstanceIDs VirtualMachineScaleSetVMInstanceRequiredIDs, cancel <-chan struct{}) (*http.Request, error)

UpdateInstancesPreparer prepares the UpdateInstances request.

func (VirtualMachineScaleSetsClient) UpdateInstancesResponder

func (client VirtualMachineScaleSetsClient) UpdateInstancesResponder(resp *http.Response) (result OperationStatusResponse, err error)

UpdateInstancesResponder handles the response to the UpdateInstances request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetsClient) UpdateInstancesSender

func (client VirtualMachineScaleSetsClient) UpdateInstancesSender(req *http.Request) (*http.Response, error)

UpdateInstancesSender sends the UpdateInstances request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetsClient) UpdatePreparer

func (client VirtualMachineScaleSetsClient) UpdatePreparer(resourceGroupName string, VMScaleSetName string, parameters VirtualMachineScaleSetUpdate, cancel <-chan struct{}) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (VirtualMachineScaleSetsClient) UpdateResponder

func (client VirtualMachineScaleSetsClient) UpdateResponder(resp *http.Response) (result VirtualMachineScaleSet, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetsClient) UpdateSender

func (client VirtualMachineScaleSetsClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type VirtualMachineSize

type VirtualMachineSize struct {
	Name                 *string `json:"name,omitempty"`
	NumberOfCores        *int32  `json:"numberOfCores,omitempty"`
	OsDiskSizeInMB       *int32  `json:"osDiskSizeInMB,omitempty"`
	ResourceDiskSizeInMB *int32  `json:"resourceDiskSizeInMB,omitempty"`
	MemoryInMB           *int32  `json:"memoryInMB,omitempty"`
	MaxDataDiskCount     *int32  `json:"maxDataDiskCount,omitempty"`
}

VirtualMachineSize is describes the properties of a VM size.

type VirtualMachineSizeListResult

type VirtualMachineSizeListResult struct {
	autorest.Response `json:"-"`
	Value             *[]VirtualMachineSize `json:"value,omitempty"`
}

VirtualMachineSizeListResult is the List Virtual Machine operation response.

type VirtualMachineSizeTypes

type VirtualMachineSizeTypes string

VirtualMachineSizeTypes enumerates the values for virtual machine size types.

const (
	// VirtualMachineSizeTypesBasicA0 specifies the virtual machine size types basic a0 state for virtual machine size
	// types.
	VirtualMachineSizeTypesBasicA0 VirtualMachineSizeTypes = "Basic_A0"
	// VirtualMachineSizeTypesBasicA1 specifies the virtual machine size types basic a1 state for virtual machine size
	// types.
	VirtualMachineSizeTypesBasicA1 VirtualMachineSizeTypes = "Basic_A1"
	// VirtualMachineSizeTypesBasicA2 specifies the virtual machine size types basic a2 state for virtual machine size
	// types.
	VirtualMachineSizeTypesBasicA2 VirtualMachineSizeTypes = "Basic_A2"
	// VirtualMachineSizeTypesBasicA3 specifies the virtual machine size types basic a3 state for virtual machine size
	// types.
	VirtualMachineSizeTypesBasicA3 VirtualMachineSizeTypes = "Basic_A3"
	// VirtualMachineSizeTypesBasicA4 specifies the virtual machine size types basic a4 state for virtual machine size
	// types.
	VirtualMachineSizeTypesBasicA4 VirtualMachineSizeTypes = "Basic_A4"
	// VirtualMachineSizeTypesStandardA0 specifies the virtual machine size types standard a0 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardA0 VirtualMachineSizeTypes = "Standard_A0"
	// VirtualMachineSizeTypesStandardA1 specifies the virtual machine size types standard a1 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardA1 VirtualMachineSizeTypes = "Standard_A1"
	// VirtualMachineSizeTypesStandardA10 specifies the virtual machine size types standard a10 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardA10 VirtualMachineSizeTypes = "Standard_A10"
	// VirtualMachineSizeTypesStandardA11 specifies the virtual machine size types standard a11 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardA11 VirtualMachineSizeTypes = "Standard_A11"
	// VirtualMachineSizeTypesStandardA1V2 specifies the virtual machine size types standard a1v2 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardA1V2 VirtualMachineSizeTypes = "Standard_A1_v2"
	// VirtualMachineSizeTypesStandardA2 specifies the virtual machine size types standard a2 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardA2 VirtualMachineSizeTypes = "Standard_A2"
	// VirtualMachineSizeTypesStandardA2mV2 specifies the virtual machine size types standard a2mv2 state for virtual
	// machine size types.
	VirtualMachineSizeTypesStandardA2mV2 VirtualMachineSizeTypes = "Standard_A2m_v2"
	// VirtualMachineSizeTypesStandardA2V2 specifies the virtual machine size types standard a2v2 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardA2V2 VirtualMachineSizeTypes = "Standard_A2_v2"
	// VirtualMachineSizeTypesStandardA3 specifies the virtual machine size types standard a3 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardA3 VirtualMachineSizeTypes = "Standard_A3"
	// VirtualMachineSizeTypesStandardA4 specifies the virtual machine size types standard a4 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardA4 VirtualMachineSizeTypes = "Standard_A4"
	// VirtualMachineSizeTypesStandardA4mV2 specifies the virtual machine size types standard a4mv2 state for virtual
	// machine size types.
	VirtualMachineSizeTypesStandardA4mV2 VirtualMachineSizeTypes = "Standard_A4m_v2"
	// VirtualMachineSizeTypesStandardA4V2 specifies the virtual machine size types standard a4v2 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardA4V2 VirtualMachineSizeTypes = "Standard_A4_v2"
	// VirtualMachineSizeTypesStandardA5 specifies the virtual machine size types standard a5 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardA5 VirtualMachineSizeTypes = "Standard_A5"
	// VirtualMachineSizeTypesStandardA6 specifies the virtual machine size types standard a6 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardA6 VirtualMachineSizeTypes = "Standard_A6"
	// VirtualMachineSizeTypesStandardA7 specifies the virtual machine size types standard a7 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardA7 VirtualMachineSizeTypes = "Standard_A7"
	// VirtualMachineSizeTypesStandardA8 specifies the virtual machine size types standard a8 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardA8 VirtualMachineSizeTypes = "Standard_A8"
	// VirtualMachineSizeTypesStandardA8mV2 specifies the virtual machine size types standard a8mv2 state for virtual
	// machine size types.
	VirtualMachineSizeTypesStandardA8mV2 VirtualMachineSizeTypes = "Standard_A8m_v2"
	// VirtualMachineSizeTypesStandardA8V2 specifies the virtual machine size types standard a8v2 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardA8V2 VirtualMachineSizeTypes = "Standard_A8_v2"
	// VirtualMachineSizeTypesStandardA9 specifies the virtual machine size types standard a9 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardA9 VirtualMachineSizeTypes = "Standard_A9"
	// VirtualMachineSizeTypesStandardD1 specifies the virtual machine size types standard d1 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardD1 VirtualMachineSizeTypes = "Standard_D1"
	// VirtualMachineSizeTypesStandardD11 specifies the virtual machine size types standard d11 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardD11 VirtualMachineSizeTypes = "Standard_D11"
	// VirtualMachineSizeTypesStandardD11V2 specifies the virtual machine size types standard d11v2 state for virtual
	// machine size types.
	VirtualMachineSizeTypesStandardD11V2 VirtualMachineSizeTypes = "Standard_D11_v2"
	// VirtualMachineSizeTypesStandardD12 specifies the virtual machine size types standard d12 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardD12 VirtualMachineSizeTypes = "Standard_D12"
	// VirtualMachineSizeTypesStandardD12V2 specifies the virtual machine size types standard d12v2 state for virtual
	// machine size types.
	VirtualMachineSizeTypesStandardD12V2 VirtualMachineSizeTypes = "Standard_D12_v2"
	// VirtualMachineSizeTypesStandardD13 specifies the virtual machine size types standard d13 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardD13 VirtualMachineSizeTypes = "Standard_D13"
	// VirtualMachineSizeTypesStandardD13V2 specifies the virtual machine size types standard d13v2 state for virtual
	// machine size types.
	VirtualMachineSizeTypesStandardD13V2 VirtualMachineSizeTypes = "Standard_D13_v2"
	// VirtualMachineSizeTypesStandardD14 specifies the virtual machine size types standard d14 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardD14 VirtualMachineSizeTypes = "Standard_D14"
	// VirtualMachineSizeTypesStandardD14V2 specifies the virtual machine size types standard d14v2 state for virtual
	// machine size types.
	VirtualMachineSizeTypesStandardD14V2 VirtualMachineSizeTypes = "Standard_D14_v2"
	// VirtualMachineSizeTypesStandardD15V2 specifies the virtual machine size types standard d15v2 state for virtual
	// machine size types.
	VirtualMachineSizeTypesStandardD15V2 VirtualMachineSizeTypes = "Standard_D15_v2"
	// VirtualMachineSizeTypesStandardD1V2 specifies the virtual machine size types standard d1v2 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardD1V2 VirtualMachineSizeTypes = "Standard_D1_v2"
	// VirtualMachineSizeTypesStandardD2 specifies the virtual machine size types standard d2 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardD2 VirtualMachineSizeTypes = "Standard_D2"
	// VirtualMachineSizeTypesStandardD2V2 specifies the virtual machine size types standard d2v2 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardD2V2 VirtualMachineSizeTypes = "Standard_D2_v2"
	// VirtualMachineSizeTypesStandardD3 specifies the virtual machine size types standard d3 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardD3 VirtualMachineSizeTypes = "Standard_D3"
	// VirtualMachineSizeTypesStandardD3V2 specifies the virtual machine size types standard d3v2 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardD3V2 VirtualMachineSizeTypes = "Standard_D3_v2"
	// VirtualMachineSizeTypesStandardD4 specifies the virtual machine size types standard d4 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardD4 VirtualMachineSizeTypes = "Standard_D4"
	// VirtualMachineSizeTypesStandardD4V2 specifies the virtual machine size types standard d4v2 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardD4V2 VirtualMachineSizeTypes = "Standard_D4_v2"
	// VirtualMachineSizeTypesStandardD5V2 specifies the virtual machine size types standard d5v2 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardD5V2 VirtualMachineSizeTypes = "Standard_D5_v2"
	// VirtualMachineSizeTypesStandardDS1 specifies the virtual machine size types standard ds1 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardDS1 VirtualMachineSizeTypes = "Standard_DS1"
	// VirtualMachineSizeTypesStandardDS11 specifies the virtual machine size types standard ds11 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardDS11 VirtualMachineSizeTypes = "Standard_DS11"
	// VirtualMachineSizeTypesStandardDS11V2 specifies the virtual machine size types standard ds11v2 state for virtual
	// machine size types.
	VirtualMachineSizeTypesStandardDS11V2 VirtualMachineSizeTypes = "Standard_DS11_v2"
	// VirtualMachineSizeTypesStandardDS12 specifies the virtual machine size types standard ds12 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardDS12 VirtualMachineSizeTypes = "Standard_DS12"
	// VirtualMachineSizeTypesStandardDS12V2 specifies the virtual machine size types standard ds12v2 state for virtual
	// machine size types.
	VirtualMachineSizeTypesStandardDS12V2 VirtualMachineSizeTypes = "Standard_DS12_v2"
	// VirtualMachineSizeTypesStandardDS13 specifies the virtual machine size types standard ds13 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardDS13 VirtualMachineSizeTypes = "Standard_DS13"
	// VirtualMachineSizeTypesStandardDS13V2 specifies the virtual machine size types standard ds13v2 state for virtual
	// machine size types.
	VirtualMachineSizeTypesStandardDS13V2 VirtualMachineSizeTypes = "Standard_DS13_v2"
	// VirtualMachineSizeTypesStandardDS14 specifies the virtual machine size types standard ds14 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardDS14 VirtualMachineSizeTypes = "Standard_DS14"
	// VirtualMachineSizeTypesStandardDS14V2 specifies the virtual machine size types standard ds14v2 state for virtual
	// machine size types.
	VirtualMachineSizeTypesStandardDS14V2 VirtualMachineSizeTypes = "Standard_DS14_v2"
	// VirtualMachineSizeTypesStandardDS15V2 specifies the virtual machine size types standard ds15v2 state for virtual
	// machine size types.
	VirtualMachineSizeTypesStandardDS15V2 VirtualMachineSizeTypes = "Standard_DS15_v2"
	// VirtualMachineSizeTypesStandardDS1V2 specifies the virtual machine size types standard ds1v2 state for virtual
	// machine size types.
	VirtualMachineSizeTypesStandardDS1V2 VirtualMachineSizeTypes = "Standard_DS1_v2"
	// VirtualMachineSizeTypesStandardDS2 specifies the virtual machine size types standard ds2 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardDS2 VirtualMachineSizeTypes = "Standard_DS2"
	// VirtualMachineSizeTypesStandardDS2V2 specifies the virtual machine size types standard ds2v2 state for virtual
	// machine size types.
	VirtualMachineSizeTypesStandardDS2V2 VirtualMachineSizeTypes = "Standard_DS2_v2"
	// VirtualMachineSizeTypesStandardDS3 specifies the virtual machine size types standard ds3 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardDS3 VirtualMachineSizeTypes = "Standard_DS3"
	// VirtualMachineSizeTypesStandardDS3V2 specifies the virtual machine size types standard ds3v2 state for virtual
	// machine size types.
	VirtualMachineSizeTypesStandardDS3V2 VirtualMachineSizeTypes = "Standard_DS3_v2"
	// VirtualMachineSizeTypesStandardDS4 specifies the virtual machine size types standard ds4 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardDS4 VirtualMachineSizeTypes = "Standard_DS4"
	// VirtualMachineSizeTypesStandardDS4V2 specifies the virtual machine size types standard ds4v2 state for virtual
	// machine size types.
	VirtualMachineSizeTypesStandardDS4V2 VirtualMachineSizeTypes = "Standard_DS4_v2"
	// VirtualMachineSizeTypesStandardDS5V2 specifies the virtual machine size types standard ds5v2 state for virtual
	// machine size types.
	VirtualMachineSizeTypesStandardDS5V2 VirtualMachineSizeTypes = "Standard_DS5_v2"
	// VirtualMachineSizeTypesStandardF1 specifies the virtual machine size types standard f1 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardF1 VirtualMachineSizeTypes = "Standard_F1"
	// VirtualMachineSizeTypesStandardF16 specifies the virtual machine size types standard f16 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardF16 VirtualMachineSizeTypes = "Standard_F16"
	// VirtualMachineSizeTypesStandardF16s specifies the virtual machine size types standard f16s state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardF16s VirtualMachineSizeTypes = "Standard_F16s"
	// VirtualMachineSizeTypesStandardF1s specifies the virtual machine size types standard f1s state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardF1s VirtualMachineSizeTypes = "Standard_F1s"
	// VirtualMachineSizeTypesStandardF2 specifies the virtual machine size types standard f2 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardF2 VirtualMachineSizeTypes = "Standard_F2"
	// VirtualMachineSizeTypesStandardF2s specifies the virtual machine size types standard f2s state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardF2s VirtualMachineSizeTypes = "Standard_F2s"
	// VirtualMachineSizeTypesStandardF4 specifies the virtual machine size types standard f4 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardF4 VirtualMachineSizeTypes = "Standard_F4"
	// VirtualMachineSizeTypesStandardF4s specifies the virtual machine size types standard f4s state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardF4s VirtualMachineSizeTypes = "Standard_F4s"
	// VirtualMachineSizeTypesStandardF8 specifies the virtual machine size types standard f8 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardF8 VirtualMachineSizeTypes = "Standard_F8"
	// VirtualMachineSizeTypesStandardF8s specifies the virtual machine size types standard f8s state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardF8s VirtualMachineSizeTypes = "Standard_F8s"
	// VirtualMachineSizeTypesStandardG1 specifies the virtual machine size types standard g1 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardG1 VirtualMachineSizeTypes = "Standard_G1"
	// VirtualMachineSizeTypesStandardG2 specifies the virtual machine size types standard g2 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardG2 VirtualMachineSizeTypes = "Standard_G2"
	// VirtualMachineSizeTypesStandardG3 specifies the virtual machine size types standard g3 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardG3 VirtualMachineSizeTypes = "Standard_G3"
	// VirtualMachineSizeTypesStandardG4 specifies the virtual machine size types standard g4 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardG4 VirtualMachineSizeTypes = "Standard_G4"
	// VirtualMachineSizeTypesStandardG5 specifies the virtual machine size types standard g5 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardG5 VirtualMachineSizeTypes = "Standard_G5"
	// VirtualMachineSizeTypesStandardGS1 specifies the virtual machine size types standard gs1 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardGS1 VirtualMachineSizeTypes = "Standard_GS1"
	// VirtualMachineSizeTypesStandardGS2 specifies the virtual machine size types standard gs2 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardGS2 VirtualMachineSizeTypes = "Standard_GS2"
	// VirtualMachineSizeTypesStandardGS3 specifies the virtual machine size types standard gs3 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardGS3 VirtualMachineSizeTypes = "Standard_GS3"
	// VirtualMachineSizeTypesStandardGS4 specifies the virtual machine size types standard gs4 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardGS4 VirtualMachineSizeTypes = "Standard_GS4"
	// VirtualMachineSizeTypesStandardGS5 specifies the virtual machine size types standard gs5 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardGS5 VirtualMachineSizeTypes = "Standard_GS5"
	// VirtualMachineSizeTypesStandardH16 specifies the virtual machine size types standard h16 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardH16 VirtualMachineSizeTypes = "Standard_H16"
	// VirtualMachineSizeTypesStandardH16m specifies the virtual machine size types standard h16m state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardH16m VirtualMachineSizeTypes = "Standard_H16m"
	// VirtualMachineSizeTypesStandardH16mr specifies the virtual machine size types standard h16mr state for virtual
	// machine size types.
	VirtualMachineSizeTypesStandardH16mr VirtualMachineSizeTypes = "Standard_H16mr"
	// VirtualMachineSizeTypesStandardH16r specifies the virtual machine size types standard h16r state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardH16r VirtualMachineSizeTypes = "Standard_H16r"
	// VirtualMachineSizeTypesStandardH8 specifies the virtual machine size types standard h8 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardH8 VirtualMachineSizeTypes = "Standard_H8"
	// VirtualMachineSizeTypesStandardH8m specifies the virtual machine size types standard h8m state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardH8m VirtualMachineSizeTypes = "Standard_H8m"
	// VirtualMachineSizeTypesStandardL16s specifies the virtual machine size types standard l16s state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardL16s VirtualMachineSizeTypes = "Standard_L16s"
	// VirtualMachineSizeTypesStandardL32s specifies the virtual machine size types standard l32s state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardL32s VirtualMachineSizeTypes = "Standard_L32s"
	// VirtualMachineSizeTypesStandardL4s specifies the virtual machine size types standard l4s state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardL4s VirtualMachineSizeTypes = "Standard_L4s"
	// VirtualMachineSizeTypesStandardL8s specifies the virtual machine size types standard l8s state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardL8s VirtualMachineSizeTypes = "Standard_L8s"
	// VirtualMachineSizeTypesStandardNC12 specifies the virtual machine size types standard nc12 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardNC12 VirtualMachineSizeTypes = "Standard_NC12"
	// VirtualMachineSizeTypesStandardNC24 specifies the virtual machine size types standard nc24 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardNC24 VirtualMachineSizeTypes = "Standard_NC24"
	// VirtualMachineSizeTypesStandardNC24r specifies the virtual machine size types standard nc24r state for virtual
	// machine size types.
	VirtualMachineSizeTypesStandardNC24r VirtualMachineSizeTypes = "Standard_NC24r"
	// VirtualMachineSizeTypesStandardNC6 specifies the virtual machine size types standard nc6 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardNC6 VirtualMachineSizeTypes = "Standard_NC6"
	// VirtualMachineSizeTypesStandardNV12 specifies the virtual machine size types standard nv12 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardNV12 VirtualMachineSizeTypes = "Standard_NV12"
	// VirtualMachineSizeTypesStandardNV24 specifies the virtual machine size types standard nv24 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardNV24 VirtualMachineSizeTypes = "Standard_NV24"
	// VirtualMachineSizeTypesStandardNV6 specifies the virtual machine size types standard nv6 state for virtual machine
	// size types.
	VirtualMachineSizeTypesStandardNV6 VirtualMachineSizeTypes = "Standard_NV6"
)

type VirtualMachineSizesClient

type VirtualMachineSizesClient struct {
	ManagementClient
}

VirtualMachineSizesClient is the compute Client

func NewVirtualMachineSizesClient

func NewVirtualMachineSizesClient(subscriptionID string) VirtualMachineSizesClient

NewVirtualMachineSizesClient creates an instance of the VirtualMachineSizesClient client.

func NewVirtualMachineSizesClientWithBaseURI

func NewVirtualMachineSizesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineSizesClient

NewVirtualMachineSizesClientWithBaseURI creates an instance of the VirtualMachineSizesClient client.

func (VirtualMachineSizesClient) List

func (client VirtualMachineSizesClient) List(location string) (result VirtualMachineSizeListResult, err error)

List lists all available virtual machine sizes for a subscription in a location.

location is the location upon which virtual-machine-sizes is queried.

func (VirtualMachineSizesClient) ListPreparer

func (client VirtualMachineSizesClient) ListPreparer(location string) (*http.Request, error)

ListPreparer prepares the List request.

func (VirtualMachineSizesClient) ListResponder

func (client VirtualMachineSizesClient) ListResponder(resp *http.Response) (result VirtualMachineSizeListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (VirtualMachineSizesClient) ListSender

func (client VirtualMachineSizesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type VirtualMachineStatusCodeCount

type VirtualMachineStatusCodeCount struct {
	Code  *string `json:"code,omitempty"`
	Count *int32  `json:"count,omitempty"`
}

VirtualMachineStatusCodeCount is the status code and count of the virtual machine scale set instance view status summary.

type VirtualMachinesClient

type VirtualMachinesClient struct {
	ManagementClient
}

VirtualMachinesClient is the compute Client

func NewVirtualMachinesClient

func NewVirtualMachinesClient(subscriptionID string) VirtualMachinesClient

NewVirtualMachinesClient creates an instance of the VirtualMachinesClient client.

func NewVirtualMachinesClientWithBaseURI

func NewVirtualMachinesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachinesClient

NewVirtualMachinesClientWithBaseURI creates an instance of the VirtualMachinesClient client.

func (VirtualMachinesClient) Capture

func (client VirtualMachinesClient) Capture(resourceGroupName string, VMName string, parameters VirtualMachineCaptureParameters, cancel <-chan struct{}) (<-chan VirtualMachineCaptureResult, <-chan error)

Capture captures the VM by copying virtual hard disks of the VM and outputs a template that can be used to create similar VMs. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. VMName is the name of the virtual machine. parameters is parameters supplied to the Capture Virtual Machine operation.

func (VirtualMachinesClient) CapturePreparer

func (client VirtualMachinesClient) CapturePreparer(resourceGroupName string, VMName string, parameters VirtualMachineCaptureParameters, cancel <-chan struct{}) (*http.Request, error)

CapturePreparer prepares the Capture request.

func (VirtualMachinesClient) CaptureResponder

func (client VirtualMachinesClient) CaptureResponder(resp *http.Response) (result VirtualMachineCaptureResult, err error)

CaptureResponder handles the response to the Capture request. The method always closes the http.Response Body.

func (VirtualMachinesClient) CaptureSender

func (client VirtualMachinesClient) CaptureSender(req *http.Request) (*http.Response, error)

CaptureSender sends the Capture request. The method will close the http.Response Body if it receives an error.

func (VirtualMachinesClient) ConvertToManagedDisks

func (client VirtualMachinesClient) ConvertToManagedDisks(resourceGroupName string, VMName string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)

ConvertToManagedDisks converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-deallocated before invoking this operation. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. VMName is the name of the virtual machine.

func (VirtualMachinesClient) ConvertToManagedDisksPreparer

func (client VirtualMachinesClient) ConvertToManagedDisksPreparer(resourceGroupName string, VMName string, cancel <-chan struct{}) (*http.Request, error)

ConvertToManagedDisksPreparer prepares the ConvertToManagedDisks request.

func (VirtualMachinesClient) ConvertToManagedDisksResponder

func (client VirtualMachinesClient) ConvertToManagedDisksResponder(resp *http.Response) (result OperationStatusResponse, err error)

ConvertToManagedDisksResponder handles the response to the ConvertToManagedDisks request. The method always closes the http.Response Body.

func (VirtualMachinesClient) ConvertToManagedDisksSender

func (client VirtualMachinesClient) ConvertToManagedDisksSender(req *http.Request) (*http.Response, error)

ConvertToManagedDisksSender sends the ConvertToManagedDisks request. The method will close the http.Response Body if it receives an error.

func (VirtualMachinesClient) CreateOrUpdate

func (client VirtualMachinesClient) CreateOrUpdate(resourceGroupName string, VMName string, parameters VirtualMachine, cancel <-chan struct{}) (<-chan VirtualMachine, <-chan error)

CreateOrUpdate the operation to create or update a virtual machine. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. VMName is the name of the virtual machine. parameters is parameters supplied to the Create Virtual Machine operation.

func (VirtualMachinesClient) CreateOrUpdatePreparer

func (client VirtualMachinesClient) CreateOrUpdatePreparer(resourceGroupName string, VMName string, parameters VirtualMachine, cancel <-chan struct{}) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (VirtualMachinesClient) CreateOrUpdateResponder

func (client VirtualMachinesClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualMachine, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (VirtualMachinesClient) CreateOrUpdateSender

func (client VirtualMachinesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (VirtualMachinesClient) Deallocate

func (client VirtualMachinesClient) Deallocate(resourceGroupName string, VMName string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)

Deallocate shuts down the virtual machine and releases the compute resources. You are not billed for the compute resources that this virtual machine uses. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. VMName is the name of the virtual machine.

func (VirtualMachinesClient) DeallocatePreparer

func (client VirtualMachinesClient) DeallocatePreparer(resourceGroupName string, VMName string, cancel <-chan struct{}) (*http.Request, error)

DeallocatePreparer prepares the Deallocate request.

func (VirtualMachinesClient) DeallocateResponder

func (client VirtualMachinesClient) DeallocateResponder(resp *http.Response) (result OperationStatusResponse, err error)

DeallocateResponder handles the response to the Deallocate request. The method always closes the http.Response Body.

func (VirtualMachinesClient) DeallocateSender

func (client VirtualMachinesClient) DeallocateSender(req *http.Request) (*http.Response, error)

DeallocateSender sends the Deallocate request. The method will close the http.Response Body if it receives an error.

func (VirtualMachinesClient) Delete

func (client VirtualMachinesClient) Delete(resourceGroupName string, VMName string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)

Delete the operation to delete a virtual machine. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. VMName is the name of the virtual machine.

func (VirtualMachinesClient) DeletePreparer

func (client VirtualMachinesClient) DeletePreparer(resourceGroupName string, VMName string, cancel <-chan struct{}) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (VirtualMachinesClient) DeleteResponder

func (client VirtualMachinesClient) DeleteResponder(resp *http.Response) (result OperationStatusResponse, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (VirtualMachinesClient) DeleteSender

func (client VirtualMachinesClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (VirtualMachinesClient) Generalize

func (client VirtualMachinesClient) Generalize(resourceGroupName string, VMName string) (result OperationStatusResponse, err error)

Generalize sets the state of the virtual machine to generalized.

resourceGroupName is the name of the resource group. VMName is the name of the virtual machine.

func (VirtualMachinesClient) GeneralizePreparer

func (client VirtualMachinesClient) GeneralizePreparer(resourceGroupName string, VMName string) (*http.Request, error)

GeneralizePreparer prepares the Generalize request.

func (VirtualMachinesClient) GeneralizeResponder

func (client VirtualMachinesClient) GeneralizeResponder(resp *http.Response) (result OperationStatusResponse, err error)

GeneralizeResponder handles the response to the Generalize request. The method always closes the http.Response Body.

func (VirtualMachinesClient) GeneralizeSender

func (client VirtualMachinesClient) GeneralizeSender(req *http.Request) (*http.Response, error)

GeneralizeSender sends the Generalize request. The method will close the http.Response Body if it receives an error.

func (VirtualMachinesClient) Get

func (client VirtualMachinesClient) Get(resourceGroupName string, VMName string, expand InstanceViewTypes) (result VirtualMachine, err error)

Get retrieves information about the model view or the instance view of a virtual machine.

resourceGroupName is the name of the resource group. VMName is the name of the virtual machine. expand is the expand expression to apply on the operation.

func (VirtualMachinesClient) GetPreparer

func (client VirtualMachinesClient) GetPreparer(resourceGroupName string, VMName string, expand InstanceViewTypes) (*http.Request, error)

GetPreparer prepares the Get request.

func (VirtualMachinesClient) GetResponder

func (client VirtualMachinesClient) GetResponder(resp *http.Response) (result VirtualMachine, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (VirtualMachinesClient) GetSender

func (client VirtualMachinesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (VirtualMachinesClient) InstanceView

func (client VirtualMachinesClient) InstanceView(resourceGroupName string, VMName string) (result VirtualMachineInstanceView, err error)

InstanceView retrieves information about the run-time state of a virtual machine.

resourceGroupName is the name of the resource group. VMName is the name of the virtual machine.

func (VirtualMachinesClient) InstanceViewPreparer

func (client VirtualMachinesClient) InstanceViewPreparer(resourceGroupName string, VMName string) (*http.Request, error)

InstanceViewPreparer prepares the InstanceView request.

func (VirtualMachinesClient) InstanceViewResponder

func (client VirtualMachinesClient) InstanceViewResponder(resp *http.Response) (result VirtualMachineInstanceView, err error)

InstanceViewResponder handles the response to the InstanceView request. The method always closes the http.Response Body.

func (VirtualMachinesClient) InstanceViewSender

func (client VirtualMachinesClient) InstanceViewSender(req *http.Request) (*http.Response, error)

InstanceViewSender sends the InstanceView request. The method will close the http.Response Body if it receives an error.

func (VirtualMachinesClient) List

func (client VirtualMachinesClient) List(resourceGroupName string) (result VirtualMachineListResult, err error)

List lists all of the virtual machines in the specified resource group. Use the nextLink property in the response to get the next page of virtual machines.

resourceGroupName is the name of the resource group.

func (VirtualMachinesClient) ListAll

func (client VirtualMachinesClient) ListAll() (result VirtualMachineListResult, err error)

ListAll lists all of the virtual machines in the specified subscription. Use the nextLink property in the response to get the next page of virtual machines.

func (VirtualMachinesClient) ListAllComplete

func (client VirtualMachinesClient) ListAllComplete(cancel <-chan struct{}) (<-chan VirtualMachine, <-chan error)

ListAllComplete gets all elements from the list without paging.

func (VirtualMachinesClient) ListAllNextResults

func (client VirtualMachinesClient) ListAllNextResults(lastResults VirtualMachineListResult) (result VirtualMachineListResult, err error)

ListAllNextResults retrieves the next set of results, if any.

func (VirtualMachinesClient) ListAllPreparer

func (client VirtualMachinesClient) ListAllPreparer() (*http.Request, error)

ListAllPreparer prepares the ListAll request.

func (VirtualMachinesClient) ListAllResponder

func (client VirtualMachinesClient) ListAllResponder(resp *http.Response) (result VirtualMachineListResult, err error)

ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.

func (VirtualMachinesClient) ListAllSender

func (client VirtualMachinesClient) ListAllSender(req *http.Request) (*http.Response, error)

ListAllSender sends the ListAll request. The method will close the http.Response Body if it receives an error.

func (VirtualMachinesClient) ListAvailableSizes

func (client VirtualMachinesClient) ListAvailableSizes(resourceGroupName string, VMName string) (result VirtualMachineSizeListResult, err error)

ListAvailableSizes lists all available virtual machine sizes to which the specified virtual machine can be resized.

resourceGroupName is the name of the resource group. VMName is the name of the virtual machine.

func (VirtualMachinesClient) ListAvailableSizesPreparer

func (client VirtualMachinesClient) ListAvailableSizesPreparer(resourceGroupName string, VMName string) (*http.Request, error)

ListAvailableSizesPreparer prepares the ListAvailableSizes request.

func (VirtualMachinesClient) ListAvailableSizesResponder

func (client VirtualMachinesClient) ListAvailableSizesResponder(resp *http.Response) (result VirtualMachineSizeListResult, err error)

ListAvailableSizesResponder handles the response to the ListAvailableSizes request. The method always closes the http.Response Body.

func (VirtualMachinesClient) ListAvailableSizesSender

func (client VirtualMachinesClient) ListAvailableSizesSender(req *http.Request) (*http.Response, error)

ListAvailableSizesSender sends the ListAvailableSizes request. The method will close the http.Response Body if it receives an error.

func (VirtualMachinesClient) ListComplete

func (client VirtualMachinesClient) ListComplete(resourceGroupName string, cancel <-chan struct{}) (<-chan VirtualMachine, <-chan error)

ListComplete gets all elements from the list without paging.

func (VirtualMachinesClient) ListNextResults

func (client VirtualMachinesClient) ListNextResults(lastResults VirtualMachineListResult) (result VirtualMachineListResult, err error)

ListNextResults retrieves the next set of results, if any.

func (VirtualMachinesClient) ListPreparer

func (client VirtualMachinesClient) ListPreparer(resourceGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (VirtualMachinesClient) ListResponder

func (client VirtualMachinesClient) ListResponder(resp *http.Response) (result VirtualMachineListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (VirtualMachinesClient) ListSender

func (client VirtualMachinesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (VirtualMachinesClient) PerformMaintenance

func (client VirtualMachinesClient) PerformMaintenance(resourceGroupName string, VMName string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)

PerformMaintenance the operation to perform maintenance on a virtual machine. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. VMName is the name of the virtual machine.

func (VirtualMachinesClient) PerformMaintenancePreparer

func (client VirtualMachinesClient) PerformMaintenancePreparer(resourceGroupName string, VMName string, cancel <-chan struct{}) (*http.Request, error)

PerformMaintenancePreparer prepares the PerformMaintenance request.

func (VirtualMachinesClient) PerformMaintenanceResponder

func (client VirtualMachinesClient) PerformMaintenanceResponder(resp *http.Response) (result OperationStatusResponse, err error)

PerformMaintenanceResponder handles the response to the PerformMaintenance request. The method always closes the http.Response Body.

func (VirtualMachinesClient) PerformMaintenanceSender

func (client VirtualMachinesClient) PerformMaintenanceSender(req *http.Request) (*http.Response, error)

PerformMaintenanceSender sends the PerformMaintenance request. The method will close the http.Response Body if it receives an error.

func (VirtualMachinesClient) PowerOff

func (client VirtualMachinesClient) PowerOff(resourceGroupName string, VMName string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)

PowerOff the operation to power off (stop) a virtual machine. The virtual machine can be restarted with the same provisioned resources. You are still charged for this virtual machine. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. VMName is the name of the virtual machine.

func (VirtualMachinesClient) PowerOffPreparer

func (client VirtualMachinesClient) PowerOffPreparer(resourceGroupName string, VMName string, cancel <-chan struct{}) (*http.Request, error)

PowerOffPreparer prepares the PowerOff request.

func (VirtualMachinesClient) PowerOffResponder

func (client VirtualMachinesClient) PowerOffResponder(resp *http.Response) (result OperationStatusResponse, err error)

PowerOffResponder handles the response to the PowerOff request. The method always closes the http.Response Body.

func (VirtualMachinesClient) PowerOffSender

func (client VirtualMachinesClient) PowerOffSender(req *http.Request) (*http.Response, error)

PowerOffSender sends the PowerOff request. The method will close the http.Response Body if it receives an error.

func (VirtualMachinesClient) Redeploy

func (client VirtualMachinesClient) Redeploy(resourceGroupName string, VMName string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)

Redeploy the operation to redeploy a virtual machine. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. VMName is the name of the virtual machine.

func (VirtualMachinesClient) RedeployPreparer

func (client VirtualMachinesClient) RedeployPreparer(resourceGroupName string, VMName string, cancel <-chan struct{}) (*http.Request, error)

RedeployPreparer prepares the Redeploy request.

func (VirtualMachinesClient) RedeployResponder

func (client VirtualMachinesClient) RedeployResponder(resp *http.Response) (result OperationStatusResponse, err error)

RedeployResponder handles the response to the Redeploy request. The method always closes the http.Response Body.

func (VirtualMachinesClient) RedeploySender

func (client VirtualMachinesClient) RedeploySender(req *http.Request) (*http.Response, error)

RedeploySender sends the Redeploy request. The method will close the http.Response Body if it receives an error.

func (VirtualMachinesClient) Restart

func (client VirtualMachinesClient) Restart(resourceGroupName string, VMName string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)

Restart the operation to restart a virtual machine. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. VMName is the name of the virtual machine.

func (VirtualMachinesClient) RestartPreparer

func (client VirtualMachinesClient) RestartPreparer(resourceGroupName string, VMName string, cancel <-chan struct{}) (*http.Request, error)

RestartPreparer prepares the Restart request.

func (VirtualMachinesClient) RestartResponder

func (client VirtualMachinesClient) RestartResponder(resp *http.Response) (result OperationStatusResponse, err error)

RestartResponder handles the response to the Restart request. The method always closes the http.Response Body.

func (VirtualMachinesClient) RestartSender

func (client VirtualMachinesClient) RestartSender(req *http.Request) (*http.Response, error)

RestartSender sends the Restart request. The method will close the http.Response Body if it receives an error.

func (VirtualMachinesClient) RunCommand

func (client VirtualMachinesClient) RunCommand(resourceGroupName string, VMName string, parameters RunCommandInput, cancel <-chan struct{}) (<-chan RunCommandResult, <-chan error)

RunCommand run command on the VM. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. VMName is the name of the virtual machine. parameters is parameters supplied to the Run command operation.

func (VirtualMachinesClient) RunCommandPreparer

func (client VirtualMachinesClient) RunCommandPreparer(resourceGroupName string, VMName string, parameters RunCommandInput, cancel <-chan struct{}) (*http.Request, error)

RunCommandPreparer prepares the RunCommand request.

func (VirtualMachinesClient) RunCommandResponder

func (client VirtualMachinesClient) RunCommandResponder(resp *http.Response) (result RunCommandResult, err error)

RunCommandResponder handles the response to the RunCommand request. The method always closes the http.Response Body.

func (VirtualMachinesClient) RunCommandSender

func (client VirtualMachinesClient) RunCommandSender(req *http.Request) (*http.Response, error)

RunCommandSender sends the RunCommand request. The method will close the http.Response Body if it receives an error.

func (VirtualMachinesClient) Start

func (client VirtualMachinesClient) Start(resourceGroupName string, VMName string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)

Start the operation to start a virtual machine. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.

resourceGroupName is the name of the resource group. VMName is the name of the virtual machine.

func (VirtualMachinesClient) StartPreparer

func (client VirtualMachinesClient) StartPreparer(resourceGroupName string, VMName string, cancel <-chan struct{}) (*http.Request, error)

StartPreparer prepares the Start request.

func (VirtualMachinesClient) StartResponder

func (client VirtualMachinesClient) StartResponder(resp *http.Response) (result OperationStatusResponse, err error)

StartResponder handles the response to the Start request. The method always closes the http.Response Body.

func (VirtualMachinesClient) StartSender

func (client VirtualMachinesClient) StartSender(req *http.Request) (*http.Response, error)

StartSender sends the Start request. The method will close the http.Response Body if it receives an error.

type WinRMConfiguration

type WinRMConfiguration struct {
	Listeners *[]WinRMListener `json:"listeners,omitempty"`
}

WinRMConfiguration is describes Windows Remote Management configuration of the VM

type WinRMListener

type WinRMListener struct {
	Protocol       ProtocolTypes `json:"protocol,omitempty"`
	CertificateURL *string       `json:"certificateUrl,omitempty"`
}

WinRMListener is describes Protocol and thumbprint of Windows Remote Management listener

type WindowsConfiguration

type WindowsConfiguration struct {
	ProvisionVMAgent          *bool                        `json:"provisionVMAgent,omitempty"`
	EnableAutomaticUpdates    *bool                        `json:"enableAutomaticUpdates,omitempty"`
	TimeZone                  *string                      `json:"timeZone,omitempty"`
	AdditionalUnattendContent *[]AdditionalUnattendContent `json:"additionalUnattendContent,omitempty"`
	WinRM                     *WinRMConfiguration          `json:"winRM,omitempty"`
}

WindowsConfiguration is specifies Windows operating system settings on the virtual machine.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL