compute

package
v0.2.0-beta Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2015 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// APIVersion is the version of the Compute
	APIVersion = "2015-06-15"

	// 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 AdditionalUnattendContent

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

AdditionalUnattendContent is gets or sets 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 a 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"`
	Properties        *AvailabilitySetProperties `json:"properties,omitempty"`
}

AvailabilitySet is create or update Availability Set parameters.

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 *int                  `json:"platformUpdateDomainCount,omitempty"`
	PlatformFaultDomainCount  *int                  `json:"platformFaultDomainCount,omitempty"`
	VirtualMachines           *[]SubResource        `json:"virtualMachines,omitempty"`
	Statuses                  *[]InstanceViewStatus `json:"statuses,omitempty"`
}

AvailabilitySetProperties is the instance view of a resource.

type AvailabilitySetsManagementClient

type AvailabilitySetsManagementClient struct {
	ManagementClient
}

AvailabilitySetsManagementClient is the the Compute Management Client.

func NewAvailabilitySetsManagementClient

func NewAvailabilitySetsManagementClient(subscriptionID string) AvailabilitySetsManagementClient

NewAvailabilitySetsManagementClient creates an instance of the AvailabilitySetsManagementClient client.

func NewAvailabilitySetsManagementClientWithBaseURI

func NewAvailabilitySetsManagementClientWithBaseURI(baseURI string, subscriptionID string) AvailabilitySetsManagementClient

NewAvailabilitySetsManagementClientWithBaseURI creates an instance of the AvailabilitySetsManagementClient client.

func (AvailabilitySetsManagementClient) CreateOrUpdate

func (client AvailabilitySetsManagementClient) CreateOrUpdate(resourceGroupName string, name string, parameters AvailabilitySet) (result AvailabilitySet, ae error)

CreateOrUpdate the operation to create or update the availability set.

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

func (AvailabilitySetsManagementClient) CreateOrUpdatePreparer

func (client AvailabilitySetsManagementClient) CreateOrUpdatePreparer(resourceGroupName string, name string, parameters AvailabilitySet) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (AvailabilitySetsManagementClient) CreateOrUpdateResponder

func (client AvailabilitySetsManagementClient) 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 (AvailabilitySetsManagementClient) CreateOrUpdateSender

func (client AvailabilitySetsManagementClient) 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 (AvailabilitySetsManagementClient) Delete

func (client AvailabilitySetsManagementClient) Delete(resourceGroupName string, availabilitySetName string) (result autorest.Response, ae error)

Delete the operation to delete the availability set.

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

func (AvailabilitySetsManagementClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (AvailabilitySetsManagementClient) DeleteResponder

func (client AvailabilitySetsManagementClient) 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 (AvailabilitySetsManagementClient) DeleteSender

func (client AvailabilitySetsManagementClient) 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 (AvailabilitySetsManagementClient) Get

func (client AvailabilitySetsManagementClient) Get(resourceGroupName string, availabilitySetName string) (result AvailabilitySet, ae error)

Get the operation to get the availability set.

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

func (AvailabilitySetsManagementClient) GetPreparer

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

GetPreparer prepares the Get request.

func (AvailabilitySetsManagementClient) GetResponder

func (client AvailabilitySetsManagementClient) 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 (AvailabilitySetsManagementClient) GetSender

func (client AvailabilitySetsManagementClient) 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 (AvailabilitySetsManagementClient) List

func (client AvailabilitySetsManagementClient) List(resourceGroupName string) (result AvailabilitySetListResult, ae error)

List the operation to list the availability sets.

resourceGroupName is the name of the resource group.

func (AvailabilitySetsManagementClient) ListAvailableSizes

func (client AvailabilitySetsManagementClient) ListAvailableSizes(resourceGroupName string, availabilitySetName string) (result VirtualMachineSizeListResult, ae error)

ListAvailableSizes lists virtual-machine-sizes available to be used for an availability set.

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

func (AvailabilitySetsManagementClient) ListAvailableSizesPreparer

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

ListAvailableSizesPreparer prepares the ListAvailableSizes request.

func (AvailabilitySetsManagementClient) ListAvailableSizesResponder

func (client AvailabilitySetsManagementClient) 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 (AvailabilitySetsManagementClient) ListAvailableSizesSender

func (client AvailabilitySetsManagementClient) 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 (AvailabilitySetsManagementClient) ListPreparer

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

ListPreparer prepares the List request.

func (AvailabilitySetsManagementClient) ListResponder

func (client AvailabilitySetsManagementClient) 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 (AvailabilitySetsManagementClient) ListSender

func (client AvailabilitySetsManagementClient) 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 describes Boot Diagnostics.

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 (
	// None specifies the none state for caching types.
	None CachingTypes = "None"
	// ReadOnly specifies the read only state for caching types.
	ReadOnly CachingTypes = "ReadOnly"
	// ReadWrite specifies the read write state for caching types.
	ReadWrite 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 DataDisk

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

DataDisk is describes a data disk.

type DataDiskImage

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

DataDiskImage is contains the data disk images information.

type DeleteOperationResult

type DeleteOperationResult struct {
	OperationID *string         `json:"operationId,omitempty"`
	Status      OperationStatus `json:"status,omitempty"`
	StartTime   *date.Time      `json:"startTime,omitempty"`
	EndTime     *date.Time      `json:"endTime,omitempty"`
	Error       *APIError       `json:"error,omitempty"`
}

DeleteOperationResult is the compute long running operation response.

type DiagnosticsProfile

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

DiagnosticsProfile is describes a diagnostics profile.

type DiskCreateOptionTypes

type DiskCreateOptionTypes string

DiskCreateOptionTypes enumerates the values for disk create option types.

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

type DiskEncryptionSettings

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

DiskEncryptionSettings is describes a Encryption Settings for a Disk

type DiskInstanceView

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

DiskInstanceView is the instance view of the disk.

type HardwareProfile

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

HardwareProfile is describes a hardware profile.

type ImageReference

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

ImageReference is the image reference.

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         string     `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 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 describes Windows Configuration of the OS Profile.

type ListUsagesResult

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

ListUsagesResult is the List Usages operation response.

type LongRunningOperationProperties

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

LongRunningOperationProperties is compute-specific operation properties, including output

type LongRunningOperationResult

type LongRunningOperationResult struct {
	OperationID *string                         `json:"operationId,omitempty"`
	Status      OperationStatusEnum             `json:"status,omitempty"`
	StartTime   *date.Time                      `json:"startTime,omitempty"`
	EndTime     *date.Time                      `json:"endTime,omitempty"`
	Properties  *LongRunningOperationProperties `json:"properties,omitempty"`
	Error       *APIError                       `json:"error,omitempty"`
}

LongRunningOperationResult is the Compute service response for long-running operations.

type ManagementClient

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

ManagementClient is the the Compute Management Client.

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"`
	Properties *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 describes a network profile.

type OSDisk

type OSDisk struct {
	OsType             string                  `json:"osType,omitempty"`
	EncryptionSettings *DiskEncryptionSettings `json:"encryptionSettings,omitempty"`
	Name               *string                 `json:"name,omitempty"`
	Vhd                *VirtualHardDisk        `json:"vhd,omitempty"`
	Image              *VirtualHardDisk        `json:"image,omitempty"`
	Caching            string                  `json:"caching,omitempty"`
	CreateOption       string                  `json:"createOption,omitempty"`
	DiskSizeGB         *int                    `json:"diskSizeGB,omitempty"`
}

OSDisk is describes an Operating System disk.

type OSDiskImage

type OSDiskImage struct {
	OperatingSystem string `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 describes an OS profile.

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 OperationStatus

type OperationStatus string

OperationStatus enumerates the values for operation status.

const (
	// Failed specifies the failed state for operation status.
	Failed OperationStatus = "Failed"
	// InProgress specifies the in progress state for operation status.
	InProgress OperationStatus = "InProgress"
	// Succeeded specifies the succeeded state for operation status.
	Succeeded OperationStatus = "Succeeded"
)

type OperationStatusEnum

type OperationStatusEnum string

OperationStatusEnum enumerates the values for operation status enum.

const (
	// OperationStatusEnumFailed specifies the operation status enum failed
	// state for operation status enum.
	OperationStatusEnumFailed OperationStatusEnum = "Failed"
	// OperationStatusEnumInProgress specifies the operation status enum in
	// progress state for operation status enum.
	OperationStatusEnumInProgress OperationStatusEnum = "InProgress"
	// OperationStatusEnumPreempted specifies the operation status enum
	// preempted state for operation status enum.
	OperationStatusEnumPreempted OperationStatusEnum = "Preempted"
	// OperationStatusEnumSucceeded specifies the operation status enum
	// succeeded state for operation status enum.
	OperationStatusEnumSucceeded OperationStatusEnum = "Succeeded"
)

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 plan for the resource.

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

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 *int32  `json:"capacity,omitempty"`
}

Sku is describes a virtual machine scale set sku.

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 StorageProfile

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

StorageProfile is describes a storage profile.

type SubResource

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

SubResource is

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"
)

type UpgradePolicy

type UpgradePolicy struct {
	Mode string `json:"mode,omitempty"`
}

UpgradePolicy is describes an upgrade policy - automatic or manual.

type Usage

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

Usage is describes Compute Resource Usage.

type UsageName

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

UsageName is the Usage Names.

type UsageOperationsManagementClient

type UsageOperationsManagementClient struct {
	ManagementClient
}

UsageOperationsManagementClient is the the Compute Management Client.

func NewUsageOperationsManagementClient

func NewUsageOperationsManagementClient(subscriptionID string) UsageOperationsManagementClient

NewUsageOperationsManagementClient creates an instance of the UsageOperationsManagementClient client.

func NewUsageOperationsManagementClientWithBaseURI

func NewUsageOperationsManagementClientWithBaseURI(baseURI string, subscriptionID string) UsageOperationsManagementClient

NewUsageOperationsManagementClientWithBaseURI creates an instance of the UsageOperationsManagementClient client.

func (UsageOperationsManagementClient) List

func (client UsageOperationsManagementClient) List(location string) (result ListUsagesResult, ae error)

List lists compute usages for a subscription.

location is the location upon which resource usage is queried.

func (UsageOperationsManagementClient) ListPreparer

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

ListPreparer prepares the List request.

func (UsageOperationsManagementClient) ListResponder

func (client UsageOperationsManagementClient) 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 (UsageOperationsManagementClient) ListSender

func (client UsageOperationsManagementClient) 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 UsageUnit

type UsageUnit string

UsageUnit enumerates the values for usage unit.

const (
	// Count specifies the count state for usage unit.
	Count UsageUnit = "Count"
)

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"`
	Properties        *VirtualMachineProperties  `json:"properties,omitempty"`
	Resources         *[]VirtualMachineExtension `json:"resources,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"`
	Properties        *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"`
	Properties        *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"`
	Properties        *VirtualMachineExtensionImageProperties `json:"properties,omitempty"`
	Name              *string                                 `json:"name,omitempty"`
	Location          *string                                 `json:"location,omitempty"`
	Tags              *map[string]*string                     `json:"tags,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 VirtualMachineExtensionImagesManagementClient

type VirtualMachineExtensionImagesManagementClient struct {
	ManagementClient
}

VirtualMachineExtensionImagesManagementClient is the the Compute Management Client.

func NewVirtualMachineExtensionImagesManagementClient

func NewVirtualMachineExtensionImagesManagementClient(subscriptionID string) VirtualMachineExtensionImagesManagementClient

NewVirtualMachineExtensionImagesManagementClient creates an instance of the VirtualMachineExtensionImagesManagementClient client.

func NewVirtualMachineExtensionImagesManagementClientWithBaseURI

func NewVirtualMachineExtensionImagesManagementClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineExtensionImagesManagementClient

NewVirtualMachineExtensionImagesManagementClientWithBaseURI creates an instance of the VirtualMachineExtensionImagesManagementClient client.

func (VirtualMachineExtensionImagesManagementClient) Get

func (client VirtualMachineExtensionImagesManagementClient) Get(location string, publisherName string, typeParameter string, version string) (result VirtualMachineExtensionImage, ae error)

Get gets a virtual machine extension image.

func (VirtualMachineExtensionImagesManagementClient) GetPreparer

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

GetPreparer prepares the Get request.

func (VirtualMachineExtensionImagesManagementClient) GetResponder

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

func (VirtualMachineExtensionImagesManagementClient) GetSender

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

func (VirtualMachineExtensionImagesManagementClient) ListTypes

func (client VirtualMachineExtensionImagesManagementClient) ListTypes(location string, publisherName string) (result VirtualMachineImageResourceList, ae error)

ListTypes gets a list of virtual machine extension image types.

func (VirtualMachineExtensionImagesManagementClient) ListTypesPreparer

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

ListTypesPreparer prepares the ListTypes request.

func (VirtualMachineExtensionImagesManagementClient) ListTypesResponder

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

func (VirtualMachineExtensionImagesManagementClient) ListTypesSender

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

func (VirtualMachineExtensionImagesManagementClient) ListVersions

func (client VirtualMachineExtensionImagesManagementClient) ListVersions(location string, publisherName string, typeParameter string, filter string, top *int, orderBy string) (result VirtualMachineImageResourceList, ae error)

ListVersions gets a list of virtual machine extension image versions.

filter is the filter to apply on the operation.

func (VirtualMachineExtensionImagesManagementClient) ListVersionsPreparer

func (client VirtualMachineExtensionImagesManagementClient) ListVersionsPreparer(location string, publisherName string, typeParameter string, filter string, top *int, orderBy string) (*http.Request, error)

ListVersionsPreparer prepares the ListVersions request.

func (VirtualMachineExtensionImagesManagementClient) ListVersionsResponder

func (client VirtualMachineExtensionImagesManagementClient) ListVersionsResponder(resp *http.Response) (result VirtualMachineImageResourceList, err error)

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

func (VirtualMachineExtensionImagesManagementClient) ListVersionsSender

func (client VirtualMachineExtensionImagesManagementClient) 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 {
	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 VirtualMachineExtensionsManagementClient

type VirtualMachineExtensionsManagementClient struct {
	ManagementClient
}

VirtualMachineExtensionsManagementClient is the the Compute Management Client.

func NewVirtualMachineExtensionsManagementClient

func NewVirtualMachineExtensionsManagementClient(subscriptionID string) VirtualMachineExtensionsManagementClient

NewVirtualMachineExtensionsManagementClient creates an instance of the VirtualMachineExtensionsManagementClient client.

func NewVirtualMachineExtensionsManagementClientWithBaseURI

func NewVirtualMachineExtensionsManagementClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineExtensionsManagementClient

NewVirtualMachineExtensionsManagementClientWithBaseURI creates an instance of the VirtualMachineExtensionsManagementClient client.

func (VirtualMachineExtensionsManagementClient) CreateOrUpdate

func (client VirtualMachineExtensionsManagementClient) CreateOrUpdate(resourceGroupName string, vmName string, vmExtensionName string, extensionParameters VirtualMachineExtension) (result VirtualMachineExtension, ae error)

CreateOrUpdate the operation to create or update the extension.

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 (VirtualMachineExtensionsManagementClient) CreateOrUpdatePreparer

func (client VirtualMachineExtensionsManagementClient) CreateOrUpdatePreparer(resourceGroupName string, vmName string, vmExtensionName string, extensionParameters VirtualMachineExtension) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (VirtualMachineExtensionsManagementClient) CreateOrUpdateResponder

func (client VirtualMachineExtensionsManagementClient) 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 (VirtualMachineExtensionsManagementClient) CreateOrUpdateSender

func (client VirtualMachineExtensionsManagementClient) 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 (VirtualMachineExtensionsManagementClient) Delete

func (client VirtualMachineExtensionsManagementClient) Delete(resourceGroupName string, vmName string, vmExtensionName string) (result autorest.Response, ae error)

Delete the operation to delete the extension.

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 (VirtualMachineExtensionsManagementClient) DeletePreparer

func (client VirtualMachineExtensionsManagementClient) DeletePreparer(resourceGroupName string, vmName string, vmExtensionName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (VirtualMachineExtensionsManagementClient) DeleteResponder

func (client VirtualMachineExtensionsManagementClient) 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 (VirtualMachineExtensionsManagementClient) DeleteSender

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

func (VirtualMachineExtensionsManagementClient) Get

func (client VirtualMachineExtensionsManagementClient) Get(resourceGroupName string, vmName string, vmExtensionName string, expand string) (result VirtualMachineExtension, ae 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 (VirtualMachineExtensionsManagementClient) GetPreparer

func (client VirtualMachineExtensionsManagementClient) GetPreparer(resourceGroupName string, vmName string, vmExtensionName string, expand string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VirtualMachineExtensionsManagementClient) GetResponder

func (client VirtualMachineExtensionsManagementClient) 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 (VirtualMachineExtensionsManagementClient) GetSender

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

type VirtualMachineImage

type VirtualMachineImage struct {
	autorest.Response `json:"-"`
	ID                *string                        `json:"id,omitempty"`
	Properties        *VirtualMachineImageProperties `json:"properties,omitempty"`
	Name              *string                        `json:"name,omitempty"`
	Location          *string                        `json:"location,omitempty"`
	Tags              *map[string]*string            `json:"tags,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 VirtualMachineImageResourceList

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

VirtualMachineImageResourceList is

type VirtualMachineImagesManagementClient

type VirtualMachineImagesManagementClient struct {
	ManagementClient
}

VirtualMachineImagesManagementClient is the the Compute Management Client.

func NewVirtualMachineImagesManagementClient

func NewVirtualMachineImagesManagementClient(subscriptionID string) VirtualMachineImagesManagementClient

NewVirtualMachineImagesManagementClient creates an instance of the VirtualMachineImagesManagementClient client.

func NewVirtualMachineImagesManagementClientWithBaseURI

func NewVirtualMachineImagesManagementClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineImagesManagementClient

NewVirtualMachineImagesManagementClientWithBaseURI creates an instance of the VirtualMachineImagesManagementClient client.

func (VirtualMachineImagesManagementClient) Get

func (client VirtualMachineImagesManagementClient) Get(location string, publisherName string, offer string, skus string, version string) (result VirtualMachineImage, ae error)

Get gets a virtual machine image.

func (VirtualMachineImagesManagementClient) GetPreparer

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

GetPreparer prepares the Get request.

func (VirtualMachineImagesManagementClient) GetResponder

func (client VirtualMachineImagesManagementClient) 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 (VirtualMachineImagesManagementClient) GetSender

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

func (VirtualMachineImagesManagementClient) List

func (client VirtualMachineImagesManagementClient) List(location string, publisherName string, offer string, skus string, filter string, top *int, orderby string) (result VirtualMachineImageResourceList, ae error)

List gets a list of virtual machine images.

filter is the filter to apply on the operation.

func (VirtualMachineImagesManagementClient) ListOffers

func (client VirtualMachineImagesManagementClient) ListOffers(location string, publisherName string) (result VirtualMachineImageResourceList, ae error)

ListOffers gets a list of virtual machine image offers.

func (VirtualMachineImagesManagementClient) ListOffersPreparer

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

ListOffersPreparer prepares the ListOffers request.

func (VirtualMachineImagesManagementClient) ListOffersResponder

func (client VirtualMachineImagesManagementClient) ListOffersResponder(resp *http.Response) (result VirtualMachineImageResourceList, err error)

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

func (VirtualMachineImagesManagementClient) ListOffersSender

func (client VirtualMachineImagesManagementClient) 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 (VirtualMachineImagesManagementClient) ListPreparer

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

ListPreparer prepares the List request.

func (VirtualMachineImagesManagementClient) ListPublishers

func (client VirtualMachineImagesManagementClient) ListPublishers(location string) (result VirtualMachineImageResourceList, ae error)

ListPublishers gets a list of virtual machine image publishers.

func (VirtualMachineImagesManagementClient) ListPublishersPreparer

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

ListPublishersPreparer prepares the ListPublishers request.

func (VirtualMachineImagesManagementClient) ListPublishersResponder

func (client VirtualMachineImagesManagementClient) ListPublishersResponder(resp *http.Response) (result VirtualMachineImageResourceList, err error)

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

func (VirtualMachineImagesManagementClient) ListPublishersSender

func (client VirtualMachineImagesManagementClient) 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 (VirtualMachineImagesManagementClient) ListResponder

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

func (VirtualMachineImagesManagementClient) ListSender

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

func (VirtualMachineImagesManagementClient) ListSkus

func (client VirtualMachineImagesManagementClient) ListSkus(location string, publisherName string, offer string) (result VirtualMachineImageResourceList, ae error)

ListSkus gets a list of virtual machine image skus.

func (VirtualMachineImagesManagementClient) ListSkusPreparer

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

ListSkusPreparer prepares the ListSkus request.

func (VirtualMachineImagesManagementClient) ListSkusResponder

func (client VirtualMachineImagesManagementClient) ListSkusResponder(resp *http.Response) (result VirtualMachineImageResourceList, err error)

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

func (VirtualMachineImagesManagementClient) ListSkusSender

func (client VirtualMachineImagesManagementClient) 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 {
	PlatformUpdateDomain *int                                   `json:"platformUpdateDomain,omitempty"`
	PlatformFaultDomain  *int                                   `json:"platformFaultDomain,omitempty"`
	RdpThumbPrint        *string                                `json:"rdpThumbPrint,omitempty"`
	VMAgent              *VirtualMachineAgentInstanceView       `json:"vmAgent,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"`
}

VirtualMachineProperties is describes the properties of a Virtual Machine.

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"`
	Properties        *VirtualMachineScaleSetProperties `json:"properties,omitempty"`
}

VirtualMachineScaleSet is describes a Virtual Machine Scale Set.

type VirtualMachineScaleSetExtension

type VirtualMachineScaleSetExtension struct {
	ID         *string                                    `json:"id,omitempty"`
	Name       *string                                    `json:"name,omitempty"`
	Properties *VirtualMachineScaleSetExtensionProperties `json:"properties,omitempty"`
}

VirtualMachineScaleSetExtension is describes a Virtual Machine Scale Set Extension.

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 {
	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 VirtualMachineScaleSetIPConfiguration

type VirtualMachineScaleSetIPConfiguration struct {
	ID         *string                                          `json:"id,omitempty"`
	Name       *string                                          `json:"name,omitempty"`
	Properties *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"`
	LoadBalancerBackendAddressPools *[]SubResource      `json:"loadBalancerBackendAddressPools,omitempty"`
}

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

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"`
}

VirtualMachineScaleSetListResult is the List Virtual Machine operation response.

type VirtualMachineScaleSetListSkusResult

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

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

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 VirtualMachineScaleSetNetworkConfiguration

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

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

type VirtualMachineScaleSetNetworkConfigurationProperties

type VirtualMachineScaleSetNetworkConfigurationProperties struct {
	Primary          *bool                                    `json:"primary,omitempty"`
	IPConfigurations *[]VirtualMachineScaleSetIPConfiguration `json:"ipConfigurations,omitempty"`
}

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

type VirtualMachineScaleSetNetworkProfile

type VirtualMachineScaleSetNetworkProfile struct {
	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       string           `json:"caching,omitempty"`
	CreateOption  string           `json:"createOption,omitempty"`
	OsType        string           `json:"osType,omitempty"`
	Image         *VirtualHardDisk `json:"image,omitempty"`
	VhdContainers *[]string        `json:"vhdContainers,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"`
}

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

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         *int32 `json:"minimum,omitempty"`
	Maximum         *int32 `json:"maximum,omitempty"`
	DefaultCapacity *int32 `json:"defaultCapacity,omitempty"`
	ScaleType       string `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"`
}

VirtualMachineScaleSetStorageProfile is describes a virtual machine scale set storage 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"`
	Properties        *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 the list of virtual machine scale set instance IDs.

type VirtualMachineScaleSetVMInstanceRequiredIDs

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

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

type VirtualMachineScaleSetVMInstanceView

type VirtualMachineScaleSetVMInstanceView struct {
	autorest.Response    `json:"-"`
	PlatformUpdateDomain *int                                   `json:"platformUpdateDomain,omitempty"`
	PlatformFaultDomain  *int                                   `json:"platformFaultDomain,omitempty"`
	RdpThumbPrint        *string                                `json:"rdpThumbPrint,omitempty"`
	VMAgent              *VirtualMachineAgentInstanceView       `json:"vmAgent,omitempty"`
	Disks                *[]DiskInstanceView                    `json:"disks,omitempty"`
	Extensions           *[]VirtualMachineExtensionInstanceView `json:"extensions,omitempty"`
	BootDiagnostics      *BootDiagnosticsInstanceView           `json:"bootDiagnostics,omitempty"`
	Statuses             *[]InstanceViewStatus                  `json:"statuses,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"`
}

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

type VirtualMachineScaleSetVMProfile

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

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

type VirtualMachineScaleSetVMProperties

type VirtualMachineScaleSetVMProperties struct {
	LatestModelApplied *bool                       `json:"latestModelApplied,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"`
}

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

type VirtualMachineScaleSetVMsManagementClient

type VirtualMachineScaleSetVMsManagementClient struct {
	ManagementClient
}

VirtualMachineScaleSetVMsManagementClient is the the Compute Management Client.

func NewVirtualMachineScaleSetVMsManagementClient

func NewVirtualMachineScaleSetVMsManagementClient(subscriptionID string) VirtualMachineScaleSetVMsManagementClient

NewVirtualMachineScaleSetVMsManagementClient creates an instance of the VirtualMachineScaleSetVMsManagementClient client.

func NewVirtualMachineScaleSetVMsManagementClientWithBaseURI

func NewVirtualMachineScaleSetVMsManagementClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineScaleSetVMsManagementClient

NewVirtualMachineScaleSetVMsManagementClientWithBaseURI creates an instance of the VirtualMachineScaleSetVMsManagementClient client.

func (VirtualMachineScaleSetVMsManagementClient) Deallocate

func (client VirtualMachineScaleSetVMsManagementClient) Deallocate(resourceGroupName string, vmScaleSetName string, instanceID string) (result autorest.Response, ae error)

Deallocate the operation to deallocate a virtual machine scale set.

resourceGroupName is the name of the resource group. vmScaleSetName is the name of the virtual machine scale set. instanceID is the instance id of the virtual machine.

func (VirtualMachineScaleSetVMsManagementClient) DeallocatePreparer

func (client VirtualMachineScaleSetVMsManagementClient) DeallocatePreparer(resourceGroupName string, vmScaleSetName string, instanceID string) (*http.Request, error)

DeallocatePreparer prepares the Deallocate request.

func (VirtualMachineScaleSetVMsManagementClient) DeallocateResponder

func (client VirtualMachineScaleSetVMsManagementClient) DeallocateResponder(resp *http.Response) (result autorest.Response, err error)

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

func (VirtualMachineScaleSetVMsManagementClient) DeallocateSender

func (client VirtualMachineScaleSetVMsManagementClient) 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 (VirtualMachineScaleSetVMsManagementClient) Delete

func (client VirtualMachineScaleSetVMsManagementClient) Delete(resourceGroupName string, vmScaleSetName string, instanceID string) (result autorest.Response, ae error)

Delete the operation to delete a virtual machine scale set.

resourceGroupName is the name of the resource group. vmScaleSetName is the name of the virtual machine scale set. instanceID is the instance id of the virtual machine.

func (VirtualMachineScaleSetVMsManagementClient) DeletePreparer

func (client VirtualMachineScaleSetVMsManagementClient) DeletePreparer(resourceGroupName string, vmScaleSetName string, instanceID string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (VirtualMachineScaleSetVMsManagementClient) DeleteResponder

func (client VirtualMachineScaleSetVMsManagementClient) 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 (VirtualMachineScaleSetVMsManagementClient) DeleteSender

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

func (VirtualMachineScaleSetVMsManagementClient) Get

func (client VirtualMachineScaleSetVMsManagementClient) Get(resourceGroupName string, vmScaleSetName string, instanceID string) (result VirtualMachineScaleSetVM, ae error)

Get the operation to get a virtual machine scale set virtual machine.

resourceGroupName is the name of the resource group. vmScaleSetName is the name of the virtual machine scale set. instanceID is the instance id of the virtual machine.

func (VirtualMachineScaleSetVMsManagementClient) GetInstanceView

func (client VirtualMachineScaleSetVMsManagementClient) GetInstanceView(resourceGroupName string, vmScaleSetName string, instanceID string) (result VirtualMachineScaleSetVMInstanceView, ae error)

GetInstanceView the operation to get a virtual machine scale set virtual machine.

resourceGroupName is the name of the resource group. vmScaleSetName is the name of the virtual machine scale set. instanceID is the instance id of the virtual machine.

func (VirtualMachineScaleSetVMsManagementClient) GetInstanceViewPreparer

func (client VirtualMachineScaleSetVMsManagementClient) GetInstanceViewPreparer(resourceGroupName string, vmScaleSetName string, instanceID string) (*http.Request, error)

GetInstanceViewPreparer prepares the GetInstanceView request.

func (VirtualMachineScaleSetVMsManagementClient) GetInstanceViewResponder

func (client VirtualMachineScaleSetVMsManagementClient) 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 (VirtualMachineScaleSetVMsManagementClient) GetInstanceViewSender

func (client VirtualMachineScaleSetVMsManagementClient) 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 (VirtualMachineScaleSetVMsManagementClient) GetPreparer

func (client VirtualMachineScaleSetVMsManagementClient) GetPreparer(resourceGroupName string, vmScaleSetName string, instanceID string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VirtualMachineScaleSetVMsManagementClient) GetResponder

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

func (VirtualMachineScaleSetVMsManagementClient) GetSender

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

func (VirtualMachineScaleSetVMsManagementClient) List

func (client VirtualMachineScaleSetVMsManagementClient) List(resourceGroupName string, virtualMachineScaleSetName string, filter string, selectParameter string, expand string) (result VirtualMachineScaleSetVMListResult, ae error)

List the operation to list virtual machine scale sets VMs.

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

func (VirtualMachineScaleSetVMsManagementClient) ListPreparer

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

ListPreparer prepares the List request.

func (VirtualMachineScaleSetVMsManagementClient) ListResponder

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

func (VirtualMachineScaleSetVMsManagementClient) ListSender

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

func (VirtualMachineScaleSetVMsManagementClient) PowerOff

func (client VirtualMachineScaleSetVMsManagementClient) PowerOff(resourceGroupName string, vmScaleSetName string, instanceID string) (result autorest.Response, ae error)

PowerOff the operation to power off (stop) a virtual machine scale set.

resourceGroupName is the name of the resource group. vmScaleSetName is the name of the virtual machine scale set. instanceID is the instance id of the virtual machine.

func (VirtualMachineScaleSetVMsManagementClient) PowerOffPreparer

func (client VirtualMachineScaleSetVMsManagementClient) PowerOffPreparer(resourceGroupName string, vmScaleSetName string, instanceID string) (*http.Request, error)

PowerOffPreparer prepares the PowerOff request.

func (VirtualMachineScaleSetVMsManagementClient) PowerOffResponder

func (client VirtualMachineScaleSetVMsManagementClient) PowerOffResponder(resp *http.Response) (result autorest.Response, err error)

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

func (VirtualMachineScaleSetVMsManagementClient) PowerOffSender

func (client VirtualMachineScaleSetVMsManagementClient) 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 (VirtualMachineScaleSetVMsManagementClient) Restart

func (client VirtualMachineScaleSetVMsManagementClient) Restart(resourceGroupName string, vmScaleSetName string, instanceID string) (result autorest.Response, ae error)

Restart the operation to restart a virtual machine scale set.

resourceGroupName is the name of the resource group. vmScaleSetName is the name of the virtual machine scale set. instanceID is the instance id of the virtual machine.

func (VirtualMachineScaleSetVMsManagementClient) RestartPreparer

func (client VirtualMachineScaleSetVMsManagementClient) RestartPreparer(resourceGroupName string, vmScaleSetName string, instanceID string) (*http.Request, error)

RestartPreparer prepares the Restart request.

func (VirtualMachineScaleSetVMsManagementClient) RestartResponder

func (client VirtualMachineScaleSetVMsManagementClient) RestartResponder(resp *http.Response) (result autorest.Response, err error)

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

func (VirtualMachineScaleSetVMsManagementClient) RestartSender

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

func (VirtualMachineScaleSetVMsManagementClient) Start

func (client VirtualMachineScaleSetVMsManagementClient) Start(resourceGroupName string, vmScaleSetName string, instanceID string) (result autorest.Response, ae error)

Start the operation to start a virtual machine scale set.

resourceGroupName is the name of the resource group. vmScaleSetName is the name of the virtual machine scale set. instanceID is the instance id of the virtual machine.

func (VirtualMachineScaleSetVMsManagementClient) StartPreparer

func (client VirtualMachineScaleSetVMsManagementClient) StartPreparer(resourceGroupName string, vmScaleSetName string, instanceID string) (*http.Request, error)

StartPreparer prepares the Start request.

func (VirtualMachineScaleSetVMsManagementClient) StartResponder

func (client VirtualMachineScaleSetVMsManagementClient) StartResponder(resp *http.Response) (result autorest.Response, err error)

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

func (VirtualMachineScaleSetVMsManagementClient) StartSender

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

type VirtualMachineScaleSetsManagementClient

type VirtualMachineScaleSetsManagementClient struct {
	ManagementClient
}

VirtualMachineScaleSetsManagementClient is the the Compute Management Client.

func NewVirtualMachineScaleSetsManagementClient

func NewVirtualMachineScaleSetsManagementClient(subscriptionID string) VirtualMachineScaleSetsManagementClient

NewVirtualMachineScaleSetsManagementClient creates an instance of the VirtualMachineScaleSetsManagementClient client.

func NewVirtualMachineScaleSetsManagementClientWithBaseURI

func NewVirtualMachineScaleSetsManagementClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineScaleSetsManagementClient

NewVirtualMachineScaleSetsManagementClientWithBaseURI creates an instance of the VirtualMachineScaleSetsManagementClient client.

func (VirtualMachineScaleSetsManagementClient) CreateOrUpdate

func (client VirtualMachineScaleSetsManagementClient) CreateOrUpdate(resourceGroupName string, name string, parameters VirtualMachineScaleSet) (result VirtualMachineScaleSet, ae error)

CreateOrUpdate the operation to create or update a virtual machine scale set.

resourceGroupName is the name of the resource group. name is parameters supplied to the Create Virtual Machine Scale Set operation. parameters is parameters supplied to the Create Virtual Machine Scale Set operation.

func (VirtualMachineScaleSetsManagementClient) CreateOrUpdatePreparer

func (client VirtualMachineScaleSetsManagementClient) CreateOrUpdatePreparer(resourceGroupName string, name string, parameters VirtualMachineScaleSet) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (VirtualMachineScaleSetsManagementClient) CreateOrUpdateResponder

func (client VirtualMachineScaleSetsManagementClient) 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 (VirtualMachineScaleSetsManagementClient) CreateOrUpdateSender

func (client VirtualMachineScaleSetsManagementClient) 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 (VirtualMachineScaleSetsManagementClient) Deallocate

func (client VirtualMachineScaleSetsManagementClient) Deallocate(resourceGroupName string, vmScaleSetName string, vmInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (result autorest.Response, ae error)

Deallocate the operation to deallocate virtual machines in a virtual machine scale set.

resourceGroupName is the name of the resource group. vmScaleSetName is the name of the virtual machine scale set. vmInstanceIDs is the list of virtual machine scale set instance IDs.

func (VirtualMachineScaleSetsManagementClient) DeallocatePreparer

func (client VirtualMachineScaleSetsManagementClient) DeallocatePreparer(resourceGroupName string, vmScaleSetName string, vmInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (*http.Request, error)

DeallocatePreparer prepares the Deallocate request.

func (VirtualMachineScaleSetsManagementClient) DeallocateResponder

func (client VirtualMachineScaleSetsManagementClient) DeallocateResponder(resp *http.Response) (result autorest.Response, err error)

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

func (VirtualMachineScaleSetsManagementClient) DeallocateSender

func (client VirtualMachineScaleSetsManagementClient) 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 (VirtualMachineScaleSetsManagementClient) Delete

func (client VirtualMachineScaleSetsManagementClient) Delete(resourceGroupName string, vmScaleSetName string) (result autorest.Response, ae error)

Delete the operation to delete a virtual machine scale set.

resourceGroupName is the name of the resource group. vmScaleSetName is the name of the virtual machine scale set.

func (VirtualMachineScaleSetsManagementClient) DeleteInstances

func (client VirtualMachineScaleSetsManagementClient) DeleteInstances(resourceGroupName string, vmScaleSetName string, vmInstanceIDs VirtualMachineScaleSetVMInstanceRequiredIDs) (result autorest.Response, ae error)

DeleteInstances the operation to delete virtual machines in a virtual machine scale set.

resourceGroupName is the name of the resource group. vmScaleSetName is the name of the virtual machine scale set. vmInstanceIDs is the list of virtual machine scale set instance IDs.

func (VirtualMachineScaleSetsManagementClient) DeleteInstancesPreparer

func (client VirtualMachineScaleSetsManagementClient) DeleteInstancesPreparer(resourceGroupName string, vmScaleSetName string, vmInstanceIDs VirtualMachineScaleSetVMInstanceRequiredIDs) (*http.Request, error)

DeleteInstancesPreparer prepares the DeleteInstances request.

func (VirtualMachineScaleSetsManagementClient) DeleteInstancesResponder

func (client VirtualMachineScaleSetsManagementClient) DeleteInstancesResponder(resp *http.Response) (result autorest.Response, err error)

DeleteInstancesResponder handles the response to the DeleteInstances request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetsManagementClient) DeleteInstancesSender

func (client VirtualMachineScaleSetsManagementClient) 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 (VirtualMachineScaleSetsManagementClient) DeletePreparer

func (client VirtualMachineScaleSetsManagementClient) DeletePreparer(resourceGroupName string, vmScaleSetName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (VirtualMachineScaleSetsManagementClient) DeleteResponder

func (client VirtualMachineScaleSetsManagementClient) 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 (VirtualMachineScaleSetsManagementClient) DeleteSender

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

func (VirtualMachineScaleSetsManagementClient) Get

func (client VirtualMachineScaleSetsManagementClient) Get(resourceGroupName string, vmScaleSetName string) (result VirtualMachineScaleSet, ae error)

Get the operation to get a virtual machine scale set.

resourceGroupName is the name of the resource group. vmScaleSetName is the name of the virtual machine scale set.

func (VirtualMachineScaleSetsManagementClient) GetInstanceView

func (client VirtualMachineScaleSetsManagementClient) GetInstanceView(resourceGroupName string, vmScaleSetName string) (result VirtualMachineScaleSetInstanceView, ae error)

GetInstanceView the operation to get a virtual machine scale set instance view.

resourceGroupName is the name of the resource group. vmScaleSetName is the name of the virtual machine scale set.

func (VirtualMachineScaleSetsManagementClient) GetInstanceViewPreparer

func (client VirtualMachineScaleSetsManagementClient) GetInstanceViewPreparer(resourceGroupName string, vmScaleSetName string) (*http.Request, error)

GetInstanceViewPreparer prepares the GetInstanceView request.

func (VirtualMachineScaleSetsManagementClient) GetInstanceViewResponder

func (client VirtualMachineScaleSetsManagementClient) 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 (VirtualMachineScaleSetsManagementClient) GetInstanceViewSender

func (client VirtualMachineScaleSetsManagementClient) 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 (VirtualMachineScaleSetsManagementClient) GetPreparer

func (client VirtualMachineScaleSetsManagementClient) GetPreparer(resourceGroupName string, vmScaleSetName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VirtualMachineScaleSetsManagementClient) GetResponder

func (client VirtualMachineScaleSetsManagementClient) 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 (VirtualMachineScaleSetsManagementClient) GetSender

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

func (VirtualMachineScaleSetsManagementClient) List

func (client VirtualMachineScaleSetsManagementClient) List(resourceGroupName string) (result VirtualMachineScaleSetListResult, ae error)

List the operation to list virtual machine scale sets under a resource group.

resourceGroupName is the name of the resource group.

func (VirtualMachineScaleSetsManagementClient) ListAll

ListAll gets the list of Virtual Machine Scale Sets in the subscription. Use nextLink property in the response to get the next page of Virtual Machine Scale Sets. Do this till nextLink is not null to fetch all the Virtual Machine Scale Sets.

func (VirtualMachineScaleSetsManagementClient) ListAllNextResults

ListAllNextResults retrieves the next set of results, if any.

func (VirtualMachineScaleSetsManagementClient) ListAllPreparer

func (client VirtualMachineScaleSetsManagementClient) ListAllPreparer() (*http.Request, error)

ListAllPreparer prepares the ListAll request.

func (VirtualMachineScaleSetsManagementClient) ListAllResponder

ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetsManagementClient) ListAllSender

func (client VirtualMachineScaleSetsManagementClient) 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 (VirtualMachineScaleSetsManagementClient) ListPreparer

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

ListPreparer prepares the List request.

func (VirtualMachineScaleSetsManagementClient) ListResponder

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

func (VirtualMachineScaleSetsManagementClient) ListSender

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

func (VirtualMachineScaleSetsManagementClient) ListSkus

func (client VirtualMachineScaleSetsManagementClient) ListSkus(resourceGroupName string, vmScaleSetName string) (result VirtualMachineScaleSetListSkusResult, ae error)

ListSkus the operation to list available skus for a virtual machine scale set.

resourceGroupName is the name of the resource group. vmScaleSetName is the name of the virtual machine scale set.

func (VirtualMachineScaleSetsManagementClient) ListSkusPreparer

func (client VirtualMachineScaleSetsManagementClient) ListSkusPreparer(resourceGroupName string, vmScaleSetName string) (*http.Request, error)

ListSkusPreparer prepares the ListSkus request.

func (VirtualMachineScaleSetsManagementClient) ListSkusResponder

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

func (VirtualMachineScaleSetsManagementClient) ListSkusSender

func (client VirtualMachineScaleSetsManagementClient) 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 (VirtualMachineScaleSetsManagementClient) PowerOff

func (client VirtualMachineScaleSetsManagementClient) PowerOff(resourceGroupName string, vmScaleSetName string, vmInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (result autorest.Response, ae error)

PowerOff the operation to power off (stop) virtual machines in a virtual machine scale set.

resourceGroupName is the name of the resource group. vmScaleSetName is the name of the virtual machine scale set. vmInstanceIDs is the list of virtual machine scale set instance IDs.

func (VirtualMachineScaleSetsManagementClient) PowerOffPreparer

func (client VirtualMachineScaleSetsManagementClient) PowerOffPreparer(resourceGroupName string, vmScaleSetName string, vmInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (*http.Request, error)

PowerOffPreparer prepares the PowerOff request.

func (VirtualMachineScaleSetsManagementClient) PowerOffResponder

func (client VirtualMachineScaleSetsManagementClient) PowerOffResponder(resp *http.Response) (result autorest.Response, err error)

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

func (VirtualMachineScaleSetsManagementClient) PowerOffSender

func (client VirtualMachineScaleSetsManagementClient) 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 (VirtualMachineScaleSetsManagementClient) Restart

func (client VirtualMachineScaleSetsManagementClient) Restart(resourceGroupName string, vmScaleSetName string, vmInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (result autorest.Response, ae error)

Restart the operation to restart virtual machines in a virtual machine scale set.

resourceGroupName is the name of the resource group. vmScaleSetName is the name of the virtual machine scale set. vmInstanceIDs is the list of virtual machine scale set instance IDs.

func (VirtualMachineScaleSetsManagementClient) RestartPreparer

func (client VirtualMachineScaleSetsManagementClient) RestartPreparer(resourceGroupName string, vmScaleSetName string, vmInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (*http.Request, error)

RestartPreparer prepares the Restart request.

func (VirtualMachineScaleSetsManagementClient) RestartResponder

func (client VirtualMachineScaleSetsManagementClient) RestartResponder(resp *http.Response) (result autorest.Response, err error)

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

func (VirtualMachineScaleSetsManagementClient) RestartSender

func (client VirtualMachineScaleSetsManagementClient) 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 (VirtualMachineScaleSetsManagementClient) Start

func (client VirtualMachineScaleSetsManagementClient) Start(resourceGroupName string, vmScaleSetName string, vmInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (result autorest.Response, ae error)

Start the operation to start virtual machines in a virtual machine scale set.

resourceGroupName is the name of the resource group. vmScaleSetName is the name of the virtual machine scale set. vmInstanceIDs is the list of virtual machine scale set instance IDs.

func (VirtualMachineScaleSetsManagementClient) StartPreparer

func (client VirtualMachineScaleSetsManagementClient) StartPreparer(resourceGroupName string, vmScaleSetName string, vmInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (*http.Request, error)

StartPreparer prepares the Start request.

func (VirtualMachineScaleSetsManagementClient) StartResponder

func (client VirtualMachineScaleSetsManagementClient) StartResponder(resp *http.Response) (result autorest.Response, err error)

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

func (VirtualMachineScaleSetsManagementClient) StartSender

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

func (VirtualMachineScaleSetsManagementClient) UpdateInstances

func (client VirtualMachineScaleSetsManagementClient) UpdateInstances(resourceGroupName string, vmScaleSetName string, vmInstanceIDs VirtualMachineScaleSetVMInstanceRequiredIDs) (result autorest.Response, ae error)

UpdateInstances the operation to manually upgrade virtual machines in a virtual machine scale set.

resourceGroupName is the name of the resource group. vmScaleSetName is the name of the virtual machine scale set. vmInstanceIDs is the list of virtual machine scale set instance IDs.

func (VirtualMachineScaleSetsManagementClient) UpdateInstancesPreparer

func (client VirtualMachineScaleSetsManagementClient) UpdateInstancesPreparer(resourceGroupName string, vmScaleSetName string, vmInstanceIDs VirtualMachineScaleSetVMInstanceRequiredIDs) (*http.Request, error)

UpdateInstancesPreparer prepares the UpdateInstances request.

func (VirtualMachineScaleSetsManagementClient) UpdateInstancesResponder

func (client VirtualMachineScaleSetsManagementClient) UpdateInstancesResponder(resp *http.Response) (result autorest.Response, err error)

UpdateInstancesResponder handles the response to the UpdateInstances request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetsManagementClient) UpdateInstancesSender

func (client VirtualMachineScaleSetsManagementClient) 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.

type VirtualMachineSize

type VirtualMachineSize struct {
	Name                 *string `json:"name,omitempty"`
	NumberOfCores        *int    `json:"numberOfCores,omitempty"`
	OsDiskSizeInMB       *int    `json:"osDiskSizeInMB,omitempty"`
	ResourceDiskSizeInMB *int    `json:"resourceDiskSizeInMB,omitempty"`
	MemoryInMB           *int    `json:"memoryInMB,omitempty"`
	MaxDataDiskCount     *int    `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 (
	// BasicA0 specifies the basic a0 state for virtual machine size types.
	BasicA0 VirtualMachineSizeTypes = "Basic_A0"
	// BasicA1 specifies the basic a1 state for virtual machine size types.
	BasicA1 VirtualMachineSizeTypes = "Basic_A1"
	// BasicA2 specifies the basic a2 state for virtual machine size types.
	BasicA2 VirtualMachineSizeTypes = "Basic_A2"
	// BasicA3 specifies the basic a3 state for virtual machine size types.
	BasicA3 VirtualMachineSizeTypes = "Basic_A3"
	// BasicA4 specifies the basic a4 state for virtual machine size types.
	BasicA4 VirtualMachineSizeTypes = "Basic_A4"
	// StandardA0 specifies the standard a0 state for virtual machine size
	// types.
	StandardA0 VirtualMachineSizeTypes = "Standard_A0"
	// StandardA1 specifies the standard a1 state for virtual machine size
	// types.
	StandardA1 VirtualMachineSizeTypes = "Standard_A1"
	// StandardA10 specifies the standard a10 state for virtual machine size
	// types.
	StandardA10 VirtualMachineSizeTypes = "Standard_A10"
	// StandardA11 specifies the standard a11 state for virtual machine size
	// types.
	StandardA11 VirtualMachineSizeTypes = "Standard_A11"
	// StandardA2 specifies the standard a2 state for virtual machine size
	// types.
	StandardA2 VirtualMachineSizeTypes = "Standard_A2"
	// StandardA3 specifies the standard a3 state for virtual machine size
	// types.
	StandardA3 VirtualMachineSizeTypes = "Standard_A3"
	// StandardA4 specifies the standard a4 state for virtual machine size
	// types.
	StandardA4 VirtualMachineSizeTypes = "Standard_A4"
	// StandardA5 specifies the standard a5 state for virtual machine size
	// types.
	StandardA5 VirtualMachineSizeTypes = "Standard_A5"
	// StandardA6 specifies the standard a6 state for virtual machine size
	// types.
	StandardA6 VirtualMachineSizeTypes = "Standard_A6"
	// StandardA7 specifies the standard a7 state for virtual machine size
	// types.
	StandardA7 VirtualMachineSizeTypes = "Standard_A7"
	// StandardA8 specifies the standard a8 state for virtual machine size
	// types.
	StandardA8 VirtualMachineSizeTypes = "Standard_A8"
	// StandardA9 specifies the standard a9 state for virtual machine size
	// types.
	StandardA9 VirtualMachineSizeTypes = "Standard_A9"
	// StandardD1 specifies the standard d1 state for virtual machine size
	// types.
	StandardD1 VirtualMachineSizeTypes = "Standard_D1"
	// StandardD11 specifies the standard d11 state for virtual machine size
	// types.
	StandardD11 VirtualMachineSizeTypes = "Standard_D11"
	// StandardD11V2 specifies the standard d11v2 state for virtual machine
	// size types.
	StandardD11V2 VirtualMachineSizeTypes = "Standard_D11_v2"
	// StandardD12 specifies the standard d12 state for virtual machine size
	// types.
	StandardD12 VirtualMachineSizeTypes = "Standard_D12"
	// StandardD12V2 specifies the standard d12v2 state for virtual machine
	// size types.
	StandardD12V2 VirtualMachineSizeTypes = "Standard_D12_v2"
	// StandardD13 specifies the standard d13 state for virtual machine size
	// types.
	StandardD13 VirtualMachineSizeTypes = "Standard_D13"
	// StandardD13V2 specifies the standard d13v2 state for virtual machine
	// size types.
	StandardD13V2 VirtualMachineSizeTypes = "Standard_D13_v2"
	// StandardD14 specifies the standard d14 state for virtual machine size
	// types.
	StandardD14 VirtualMachineSizeTypes = "Standard_D14"
	// StandardD14V2 specifies the standard d14v2 state for virtual machine
	// size types.
	StandardD14V2 VirtualMachineSizeTypes = "Standard_D14_v2"
	// StandardD1V2 specifies the standard d1v2 state for virtual machine size
	// types.
	StandardD1V2 VirtualMachineSizeTypes = "Standard_D1_v2"
	// StandardD2 specifies the standard d2 state for virtual machine size
	// types.
	StandardD2 VirtualMachineSizeTypes = "Standard_D2"
	// StandardD2V2 specifies the standard d2v2 state for virtual machine size
	// types.
	StandardD2V2 VirtualMachineSizeTypes = "Standard_D2_v2"
	// StandardD3 specifies the standard d3 state for virtual machine size
	// types.
	StandardD3 VirtualMachineSizeTypes = "Standard_D3"
	// StandardD3V2 specifies the standard d3v2 state for virtual machine size
	// types.
	StandardD3V2 VirtualMachineSizeTypes = "Standard_D3_v2"
	// StandardD4 specifies the standard d4 state for virtual machine size
	// types.
	StandardD4 VirtualMachineSizeTypes = "Standard_D4"
	// StandardD4V2 specifies the standard d4v2 state for virtual machine size
	// types.
	StandardD4V2 VirtualMachineSizeTypes = "Standard_D4_v2"
	// StandardD5V2 specifies the standard d5v2 state for virtual machine size
	// types.
	StandardD5V2 VirtualMachineSizeTypes = "Standard_D5_v2"
	// StandardDS1 specifies the standard ds1 state for virtual machine size
	// types.
	StandardDS1 VirtualMachineSizeTypes = "Standard_DS1"
	// StandardDS11 specifies the standard ds11 state for virtual machine size
	// types.
	StandardDS11 VirtualMachineSizeTypes = "Standard_DS11"
	// StandardDS12 specifies the standard ds12 state for virtual machine size
	// types.
	StandardDS12 VirtualMachineSizeTypes = "Standard_DS12"
	// StandardDS13 specifies the standard ds13 state for virtual machine size
	// types.
	StandardDS13 VirtualMachineSizeTypes = "Standard_DS13"
	// StandardDS14 specifies the standard ds14 state for virtual machine size
	// types.
	StandardDS14 VirtualMachineSizeTypes = "Standard_DS14"
	// StandardDS2 specifies the standard ds2 state for virtual machine size
	// types.
	StandardDS2 VirtualMachineSizeTypes = "Standard_DS2"
	// StandardDS3 specifies the standard ds3 state for virtual machine size
	// types.
	StandardDS3 VirtualMachineSizeTypes = "Standard_DS3"
	// StandardDS4 specifies the standard ds4 state for virtual machine size
	// types.
	StandardDS4 VirtualMachineSizeTypes = "Standard_DS4"
	// StandardG1 specifies the standard g1 state for virtual machine size
	// types.
	StandardG1 VirtualMachineSizeTypes = "Standard_G1"
	// StandardG2 specifies the standard g2 state for virtual machine size
	// types.
	StandardG2 VirtualMachineSizeTypes = "Standard_G2"
	// StandardG3 specifies the standard g3 state for virtual machine size
	// types.
	StandardG3 VirtualMachineSizeTypes = "Standard_G3"
	// StandardG4 specifies the standard g4 state for virtual machine size
	// types.
	StandardG4 VirtualMachineSizeTypes = "Standard_G4"
	// StandardG5 specifies the standard g5 state for virtual machine size
	// types.
	StandardG5 VirtualMachineSizeTypes = "Standard_G5"
	// StandardGS1 specifies the standard gs1 state for virtual machine size
	// types.
	StandardGS1 VirtualMachineSizeTypes = "Standard_GS1"
	// StandardGS2 specifies the standard gs2 state for virtual machine size
	// types.
	StandardGS2 VirtualMachineSizeTypes = "Standard_GS2"
	// StandardGS3 specifies the standard gs3 state for virtual machine size
	// types.
	StandardGS3 VirtualMachineSizeTypes = "Standard_GS3"
	// StandardGS4 specifies the standard gs4 state for virtual machine size
	// types.
	StandardGS4 VirtualMachineSizeTypes = "Standard_GS4"
	// StandardGS5 specifies the standard gs5 state for virtual machine size
	// types.
	StandardGS5 VirtualMachineSizeTypes = "Standard_GS5"
)

type VirtualMachineSizesManagementClient

type VirtualMachineSizesManagementClient struct {
	ManagementClient
}

VirtualMachineSizesManagementClient is the the Compute Management Client.

func NewVirtualMachineSizesManagementClient

func NewVirtualMachineSizesManagementClient(subscriptionID string) VirtualMachineSizesManagementClient

NewVirtualMachineSizesManagementClient creates an instance of the VirtualMachineSizesManagementClient client.

func NewVirtualMachineSizesManagementClientWithBaseURI

func NewVirtualMachineSizesManagementClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineSizesManagementClient

NewVirtualMachineSizesManagementClientWithBaseURI creates an instance of the VirtualMachineSizesManagementClient client.

func (VirtualMachineSizesManagementClient) List

List lists virtual-machine-sizes available in a location for a subscription.

location is the location upon which virtual-machine-sizes is queried.

func (VirtualMachineSizesManagementClient) ListPreparer

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

ListPreparer prepares the List request.

func (VirtualMachineSizesManagementClient) ListResponder

func (client VirtualMachineSizesManagementClient) 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 (VirtualMachineSizesManagementClient) ListSender

func (client VirtualMachineSizesManagementClient) 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 *int    `json:"count,omitempty"`
}

VirtualMachineStatusCodeCount is the status code and count of the virtual machine scale set instance view status summary.

type VirtualMachinesManagementClient

type VirtualMachinesManagementClient struct {
	ManagementClient
}

VirtualMachinesManagementClient is the the Compute Management Client.

func NewVirtualMachinesManagementClient

func NewVirtualMachinesManagementClient(subscriptionID string) VirtualMachinesManagementClient

NewVirtualMachinesManagementClient creates an instance of the VirtualMachinesManagementClient client.

func NewVirtualMachinesManagementClientWithBaseURI

func NewVirtualMachinesManagementClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachinesManagementClient

NewVirtualMachinesManagementClientWithBaseURI creates an instance of the VirtualMachinesManagementClient client.

func (VirtualMachinesManagementClient) Capture

func (client VirtualMachinesManagementClient) Capture(resourceGroupName string, vmName string, parameters VirtualMachineCaptureParameters) (result VirtualMachineCaptureResult, ae error)

Capture captures the VM by copying VirtualHardDisks of the VM and outputs a template that can be used to create similar VMs.

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 (VirtualMachinesManagementClient) CapturePreparer

func (client VirtualMachinesManagementClient) CapturePreparer(resourceGroupName string, vmName string, parameters VirtualMachineCaptureParameters) (*http.Request, error)

CapturePreparer prepares the Capture request.

func (VirtualMachinesManagementClient) CaptureResponder

func (client VirtualMachinesManagementClient) 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 (VirtualMachinesManagementClient) CaptureSender

func (client VirtualMachinesManagementClient) 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 (VirtualMachinesManagementClient) CreateOrUpdate

func (client VirtualMachinesManagementClient) CreateOrUpdate(resourceGroupName string, vmName string, parameters VirtualMachine) (result VirtualMachine, ae error)

CreateOrUpdate the operation to create or update a virtual machine.

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 (VirtualMachinesManagementClient) CreateOrUpdatePreparer

func (client VirtualMachinesManagementClient) CreateOrUpdatePreparer(resourceGroupName string, vmName string, parameters VirtualMachine) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (VirtualMachinesManagementClient) CreateOrUpdateResponder

func (client VirtualMachinesManagementClient) 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 (VirtualMachinesManagementClient) CreateOrUpdateSender

func (client VirtualMachinesManagementClient) 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 (VirtualMachinesManagementClient) Deallocate

func (client VirtualMachinesManagementClient) Deallocate(resourceGroupName string, vmName string) (result autorest.Response, ae 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.

resourceGroupName is the name of the resource group. vmName is the name of the virtual machine.

func (VirtualMachinesManagementClient) DeallocatePreparer

func (client VirtualMachinesManagementClient) DeallocatePreparer(resourceGroupName string, vmName string) (*http.Request, error)

DeallocatePreparer prepares the Deallocate request.

func (VirtualMachinesManagementClient) DeallocateResponder

func (client VirtualMachinesManagementClient) DeallocateResponder(resp *http.Response) (result autorest.Response, err error)

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

func (VirtualMachinesManagementClient) DeallocateSender

func (client VirtualMachinesManagementClient) 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 (VirtualMachinesManagementClient) Delete

func (client VirtualMachinesManagementClient) Delete(resourceGroupName string, vmName string) (result autorest.Response, ae error)

Delete the operation to delete a virtual machine.

resourceGroupName is the name of the resource group. vmName is the name of the virtual machine.

func (VirtualMachinesManagementClient) DeletePreparer

func (client VirtualMachinesManagementClient) DeletePreparer(resourceGroupName string, vmName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (VirtualMachinesManagementClient) DeleteResponder

func (client VirtualMachinesManagementClient) 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 (VirtualMachinesManagementClient) DeleteSender

func (client VirtualMachinesManagementClient) 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 (VirtualMachinesManagementClient) Generalize

func (client VirtualMachinesManagementClient) Generalize(resourceGroupName string, vmName string) (result autorest.Response, ae error)

Generalize sets the state of the VM as Generalized.

resourceGroupName is the name of the resource group. vmName is the name of the virtual machine.

func (VirtualMachinesManagementClient) GeneralizePreparer

func (client VirtualMachinesManagementClient) GeneralizePreparer(resourceGroupName string, vmName string) (*http.Request, error)

GeneralizePreparer prepares the Generalize request.

func (VirtualMachinesManagementClient) GeneralizeResponder

func (client VirtualMachinesManagementClient) GeneralizeResponder(resp *http.Response) (result autorest.Response, err error)

GeneralizeResponder handles the response to the Generalize request. The method always closes the http.Response Body.

func (VirtualMachinesManagementClient) GeneralizeSender

func (client VirtualMachinesManagementClient) 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 (VirtualMachinesManagementClient) Get

func (client VirtualMachinesManagementClient) Get(resourceGroupName string, vmName string, expand string) (result VirtualMachine, ae error)

Get the operation to get 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 (VirtualMachinesManagementClient) GetPreparer

func (client VirtualMachinesManagementClient) GetPreparer(resourceGroupName string, vmName string, expand string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VirtualMachinesManagementClient) GetResponder

func (client VirtualMachinesManagementClient) 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 (VirtualMachinesManagementClient) GetSender

func (client VirtualMachinesManagementClient) 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 (VirtualMachinesManagementClient) List

func (client VirtualMachinesManagementClient) List(resourceGroupName string) (result VirtualMachineListResult, ae error)

List the operation to list virtual machines under a resource group.

resourceGroupName is the name of the resource group.

func (VirtualMachinesManagementClient) ListAll

func (client VirtualMachinesManagementClient) ListAll() (result VirtualMachineListResult, ae error)

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

func (VirtualMachinesManagementClient) ListAllNextResults

func (client VirtualMachinesManagementClient) ListAllNextResults(lastResults VirtualMachineListResult) (result VirtualMachineListResult, ae error)

ListAllNextResults retrieves the next set of results, if any.

func (VirtualMachinesManagementClient) ListAllPreparer

func (client VirtualMachinesManagementClient) ListAllPreparer() (*http.Request, error)

ListAllPreparer prepares the ListAll request.

func (VirtualMachinesManagementClient) ListAllResponder

func (client VirtualMachinesManagementClient) 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 (VirtualMachinesManagementClient) ListAllSender

func (client VirtualMachinesManagementClient) 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 (VirtualMachinesManagementClient) ListAvailableSizes

func (client VirtualMachinesManagementClient) ListAvailableSizes(resourceGroupName string, vmName string) (result VirtualMachineSizeListResult, ae error)

ListAvailableSizes lists virtual-machine-sizes available to be used for a virtual machine.

resourceGroupName is the name of the resource group. vmName is the name of the virtual machine.

func (VirtualMachinesManagementClient) ListAvailableSizesPreparer

func (client VirtualMachinesManagementClient) ListAvailableSizesPreparer(resourceGroupName string, vmName string) (*http.Request, error)

ListAvailableSizesPreparer prepares the ListAvailableSizes request.

func (VirtualMachinesManagementClient) ListAvailableSizesResponder

func (client VirtualMachinesManagementClient) 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 (VirtualMachinesManagementClient) ListAvailableSizesSender

func (client VirtualMachinesManagementClient) 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 (VirtualMachinesManagementClient) ListNextResults

func (client VirtualMachinesManagementClient) ListNextResults(lastResults VirtualMachineListResult) (result VirtualMachineListResult, ae error)

ListNextResults retrieves the next set of results, if any.

func (VirtualMachinesManagementClient) ListPreparer

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

ListPreparer prepares the List request.

func (VirtualMachinesManagementClient) ListResponder

func (client VirtualMachinesManagementClient) 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 (VirtualMachinesManagementClient) ListSender

func (client VirtualMachinesManagementClient) 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 (VirtualMachinesManagementClient) PowerOff

func (client VirtualMachinesManagementClient) PowerOff(resourceGroupName string, vmName string) (result autorest.Response, ae error)

PowerOff the operation to power off (stop) a virtual machine.

resourceGroupName is the name of the resource group. vmName is the name of the virtual machine.

func (VirtualMachinesManagementClient) PowerOffPreparer

func (client VirtualMachinesManagementClient) PowerOffPreparer(resourceGroupName string, vmName string) (*http.Request, error)

PowerOffPreparer prepares the PowerOff request.

func (VirtualMachinesManagementClient) PowerOffResponder

func (client VirtualMachinesManagementClient) PowerOffResponder(resp *http.Response) (result autorest.Response, err error)

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

func (VirtualMachinesManagementClient) PowerOffSender

func (client VirtualMachinesManagementClient) 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 (VirtualMachinesManagementClient) Restart

func (client VirtualMachinesManagementClient) Restart(resourceGroupName string, vmName string) (result autorest.Response, ae error)

Restart the operation to restart a virtual machine.

resourceGroupName is the name of the resource group. vmName is the name of the virtual machine.

func (VirtualMachinesManagementClient) RestartPreparer

func (client VirtualMachinesManagementClient) RestartPreparer(resourceGroupName string, vmName string) (*http.Request, error)

RestartPreparer prepares the Restart request.

func (VirtualMachinesManagementClient) RestartResponder

func (client VirtualMachinesManagementClient) RestartResponder(resp *http.Response) (result autorest.Response, err error)

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

func (VirtualMachinesManagementClient) RestartSender

func (client VirtualMachinesManagementClient) 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 (VirtualMachinesManagementClient) Start

func (client VirtualMachinesManagementClient) Start(resourceGroupName string, vmName string) (result autorest.Response, ae error)

Start the operation to start a virtual machine.

resourceGroupName is the name of the resource group. vmName is the name of the virtual machine.

func (VirtualMachinesManagementClient) StartPreparer

func (client VirtualMachinesManagementClient) StartPreparer(resourceGroupName string, vmName string) (*http.Request, error)

StartPreparer prepares the Start request.

func (VirtualMachinesManagementClient) StartResponder

func (client VirtualMachinesManagementClient) StartResponder(resp *http.Response) (result autorest.Response, err error)

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

func (VirtualMachinesManagementClient) StartSender

func (client VirtualMachinesManagementClient) 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       string  `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 describes Windows Configuration of the OS Profile.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL