Documentation ¶
Overview ¶
Package compute implements the Azure ARM Compute service API version 2017-03-30.
Compute Client
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type APIEntityReference
- type APIError
- type APIErrorBase
- type AccessLevel
- type AccessURI
- type AccessURIOutput
- type AccessURIRaw
- type AdditionalUnattendContent
- type AvailabilitySet
- type AvailabilitySetListResult
- type AvailabilitySetProperties
- type AvailabilitySetsClient
- func (client AvailabilitySetsClient) CreateOrUpdate(resourceGroupName string, availabilitySetName string, ...) (result AvailabilitySet, err error)
- func (client AvailabilitySetsClient) CreateOrUpdatePreparer(resourceGroupName string, availabilitySetName string, ...) (*http.Request, error)
- func (client AvailabilitySetsClient) CreateOrUpdateResponder(resp *http.Response) (result AvailabilitySet, err error)
- func (client AvailabilitySetsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client AvailabilitySetsClient) Delete(resourceGroupName string, availabilitySetName string) (result OperationStatusResponse, err error)
- func (client AvailabilitySetsClient) DeletePreparer(resourceGroupName string, availabilitySetName string) (*http.Request, error)
- func (client AvailabilitySetsClient) DeleteResponder(resp *http.Response) (result OperationStatusResponse, err error)
- func (client AvailabilitySetsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client AvailabilitySetsClient) Get(resourceGroupName string, availabilitySetName string) (result AvailabilitySet, err error)
- func (client AvailabilitySetsClient) GetPreparer(resourceGroupName string, availabilitySetName string) (*http.Request, error)
- func (client AvailabilitySetsClient) GetResponder(resp *http.Response) (result AvailabilitySet, err error)
- func (client AvailabilitySetsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client AvailabilitySetsClient) List(resourceGroupName string) (result AvailabilitySetListResult, err error)
- func (client AvailabilitySetsClient) ListAvailableSizes(resourceGroupName string, availabilitySetName string) (result VirtualMachineSizeListResult, err error)
- func (client AvailabilitySetsClient) ListAvailableSizesPreparer(resourceGroupName string, availabilitySetName string) (*http.Request, error)
- func (client AvailabilitySetsClient) ListAvailableSizesResponder(resp *http.Response) (result VirtualMachineSizeListResult, err error)
- func (client AvailabilitySetsClient) ListAvailableSizesSender(req *http.Request) (*http.Response, error)
- func (client AvailabilitySetsClient) ListPreparer(resourceGroupName string) (*http.Request, error)
- func (client AvailabilitySetsClient) ListResponder(resp *http.Response) (result AvailabilitySetListResult, err error)
- func (client AvailabilitySetsClient) ListSender(req *http.Request) (*http.Response, error)
- type BootDiagnostics
- type BootDiagnosticsInstanceView
- type CachingTypes
- type ComponentNames
- type CreationData
- type DataDisk
- type DataDiskImage
- type DiagnosticsProfile
- type Disk
- type DiskCreateOption
- type DiskCreateOptionTypes
- type DiskEncryptionSettings
- type DiskInstanceView
- type DiskList
- type DiskProperties
- type DiskSku
- type DiskUpdate
- type DiskUpdateProperties
- type DisksClient
- func (client DisksClient) CreateOrUpdate(resourceGroupName string, diskName string, disk Disk, cancel <-chan struct{}) (<-chan Disk, <-chan error)
- func (client DisksClient) CreateOrUpdatePreparer(resourceGroupName string, diskName string, disk Disk, cancel <-chan struct{}) (*http.Request, error)
- func (client DisksClient) CreateOrUpdateResponder(resp *http.Response) (result Disk, err error)
- func (client DisksClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client DisksClient) Delete(resourceGroupName string, diskName string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)
- func (client DisksClient) DeletePreparer(resourceGroupName string, diskName string, cancel <-chan struct{}) (*http.Request, error)
- func (client DisksClient) DeleteResponder(resp *http.Response) (result OperationStatusResponse, err error)
- func (client DisksClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client DisksClient) Get(resourceGroupName string, diskName string) (result Disk, err error)
- func (client DisksClient) GetPreparer(resourceGroupName string, diskName string) (*http.Request, error)
- func (client DisksClient) GetResponder(resp *http.Response) (result Disk, err error)
- func (client DisksClient) GetSender(req *http.Request) (*http.Response, error)
- func (client DisksClient) GrantAccess(resourceGroupName string, diskName string, grantAccessData GrantAccessData, ...) (<-chan AccessURI, <-chan error)
- func (client DisksClient) GrantAccessPreparer(resourceGroupName string, diskName string, grantAccessData GrantAccessData, ...) (*http.Request, error)
- func (client DisksClient) GrantAccessResponder(resp *http.Response) (result AccessURI, err error)
- func (client DisksClient) GrantAccessSender(req *http.Request) (*http.Response, error)
- func (client DisksClient) List() (result DiskList, err error)
- func (client DisksClient) ListByResourceGroup(resourceGroupName string) (result DiskList, err error)
- func (client DisksClient) ListByResourceGroupComplete(resourceGroupName string, cancel <-chan struct{}) (<-chan Disk, <-chan error)
- func (client DisksClient) ListByResourceGroupNextResults(lastResults DiskList) (result DiskList, err error)
- func (client DisksClient) ListByResourceGroupPreparer(resourceGroupName string) (*http.Request, error)
- func (client DisksClient) ListByResourceGroupResponder(resp *http.Response) (result DiskList, err error)
- func (client DisksClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client DisksClient) ListComplete(cancel <-chan struct{}) (<-chan Disk, <-chan error)
- func (client DisksClient) ListNextResults(lastResults DiskList) (result DiskList, err error)
- func (client DisksClient) ListPreparer() (*http.Request, error)
- func (client DisksClient) ListResponder(resp *http.Response) (result DiskList, err error)
- func (client DisksClient) ListSender(req *http.Request) (*http.Response, error)
- func (client DisksClient) RevokeAccess(resourceGroupName string, diskName string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)
- func (client DisksClient) RevokeAccessPreparer(resourceGroupName string, diskName string, cancel <-chan struct{}) (*http.Request, error)
- func (client DisksClient) RevokeAccessResponder(resp *http.Response) (result OperationStatusResponse, err error)
- func (client DisksClient) RevokeAccessSender(req *http.Request) (*http.Response, error)
- func (client DisksClient) Update(resourceGroupName string, diskName string, disk DiskUpdate, ...) (<-chan Disk, <-chan error)
- func (client DisksClient) UpdatePreparer(resourceGroupName string, diskName string, disk DiskUpdate, ...) (*http.Request, error)
- func (client DisksClient) UpdateResponder(resp *http.Response) (result Disk, err error)
- func (client DisksClient) UpdateSender(req *http.Request) (*http.Response, error)
- type EncryptionSettings
- type GrantAccessData
- type HardwareProfile
- type IPVersion
- type Image
- type ImageDataDisk
- type ImageDiskReference
- type ImageListResult
- type ImageOSDisk
- type ImageProperties
- type ImageReference
- type ImageStorageProfile
- type ImagesClient
- func (client ImagesClient) CreateOrUpdate(resourceGroupName string, imageName string, parameters Image, ...) (<-chan Image, <-chan error)
- func (client ImagesClient) CreateOrUpdatePreparer(resourceGroupName string, imageName string, parameters Image, ...) (*http.Request, error)
- func (client ImagesClient) CreateOrUpdateResponder(resp *http.Response) (result Image, err error)
- func (client ImagesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client ImagesClient) Delete(resourceGroupName string, imageName string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)
- func (client ImagesClient) DeletePreparer(resourceGroupName string, imageName string, cancel <-chan struct{}) (*http.Request, error)
- func (client ImagesClient) DeleteResponder(resp *http.Response) (result OperationStatusResponse, err error)
- func (client ImagesClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client ImagesClient) Get(resourceGroupName string, imageName string, expand string) (result Image, err error)
- func (client ImagesClient) GetPreparer(resourceGroupName string, imageName string, expand string) (*http.Request, error)
- func (client ImagesClient) GetResponder(resp *http.Response) (result Image, err error)
- func (client ImagesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ImagesClient) List() (result ImageListResult, err error)
- func (client ImagesClient) ListByResourceGroup(resourceGroupName string) (result ImageListResult, err error)
- func (client ImagesClient) ListByResourceGroupComplete(resourceGroupName string, cancel <-chan struct{}) (<-chan Image, <-chan error)
- func (client ImagesClient) ListByResourceGroupNextResults(lastResults ImageListResult) (result ImageListResult, err error)
- func (client ImagesClient) ListByResourceGroupPreparer(resourceGroupName string) (*http.Request, error)
- func (client ImagesClient) ListByResourceGroupResponder(resp *http.Response) (result ImageListResult, err error)
- func (client ImagesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client ImagesClient) ListComplete(cancel <-chan struct{}) (<-chan Image, <-chan error)
- func (client ImagesClient) ListNextResults(lastResults ImageListResult) (result ImageListResult, err error)
- func (client ImagesClient) ListPreparer() (*http.Request, error)
- func (client ImagesClient) ListResponder(resp *http.Response) (result ImageListResult, err error)
- func (client ImagesClient) ListSender(req *http.Request) (*http.Response, error)
- type InnerError
- type InstanceViewStatus
- type InstanceViewTypes
- type KeyVaultAndKeyReference
- type KeyVaultAndSecretReference
- type KeyVaultKeyReference
- type KeyVaultSecretReference
- type LinuxConfiguration
- type ListUsagesResult
- type ListVirtualMachineExtensionImage
- type ListVirtualMachineImageResource
- type LongRunningOperationProperties
- type MaintenanceOperationResultCodeTypes
- type MaintenanceRedeployStatus
- type ManagedDiskParameters
- type ManagementClient
- type NetworkInterfaceReference
- type NetworkInterfaceReferenceProperties
- type NetworkProfile
- type OSDisk
- type OSDiskImage
- type OSProfile
- type OperatingSystemStateTypes
- type OperatingSystemTypes
- type OperationStatusResponse
- type PassNames
- type Plan
- type ProtocolTypes
- type PurchasePlan
- type Resource
- type ResourceIdentityType
- type ResourceSku
- type ResourceSkuCapabilities
- type ResourceSkuCapacity
- type ResourceSkuCapacityScaleType
- type ResourceSkuCosts
- type ResourceSkuRestrictions
- type ResourceSkuRestrictionsReasonCode
- type ResourceSkuRestrictionsType
- type ResourceSkusClient
- func (client ResourceSkusClient) List() (result ResourceSkusResult, err error)
- func (client ResourceSkusClient) ListComplete(cancel <-chan struct{}) (<-chan ResourceSku, <-chan error)
- func (client ResourceSkusClient) ListNextResults(lastResults ResourceSkusResult) (result ResourceSkusResult, err error)
- func (client ResourceSkusClient) ListPreparer() (*http.Request, error)
- func (client ResourceSkusClient) ListResponder(resp *http.Response) (result ResourceSkusResult, err error)
- func (client ResourceSkusClient) ListSender(req *http.Request) (*http.Response, error)
- type ResourceSkusResult
- type ResourceUpdate
- type RollingUpgradeActionType
- type RollingUpgradePolicy
- type RollingUpgradeProgressInfo
- type RollingUpgradeRunningStatus
- type RollingUpgradeStatusCode
- type RollingUpgradeStatusInfo
- type RollingUpgradeStatusInfoProperties
- type RunCommandDocument
- type RunCommandDocumentBase
- type RunCommandInput
- type RunCommandInputParameter
- type RunCommandListResult
- type RunCommandParameterDefinition
- type RunCommandResult
- type RunCommandResultProperties
- type SSHConfiguration
- type SSHPublicKey
- type SettingNames
- type Sku
- type Snapshot
- type SnapshotList
- type SnapshotUpdate
- type SnapshotsClient
- func (client SnapshotsClient) CreateOrUpdate(resourceGroupName string, snapshotName string, snapshot Snapshot, ...) (<-chan Snapshot, <-chan error)
- func (client SnapshotsClient) CreateOrUpdatePreparer(resourceGroupName string, snapshotName string, snapshot Snapshot, ...) (*http.Request, error)
- func (client SnapshotsClient) CreateOrUpdateResponder(resp *http.Response) (result Snapshot, err error)
- func (client SnapshotsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client SnapshotsClient) Delete(resourceGroupName string, snapshotName string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)
- func (client SnapshotsClient) DeletePreparer(resourceGroupName string, snapshotName string, cancel <-chan struct{}) (*http.Request, error)
- func (client SnapshotsClient) DeleteResponder(resp *http.Response) (result OperationStatusResponse, err error)
- func (client SnapshotsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client SnapshotsClient) Get(resourceGroupName string, snapshotName string) (result Snapshot, err error)
- func (client SnapshotsClient) GetPreparer(resourceGroupName string, snapshotName string) (*http.Request, error)
- func (client SnapshotsClient) GetResponder(resp *http.Response) (result Snapshot, err error)
- func (client SnapshotsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client SnapshotsClient) GrantAccess(resourceGroupName string, snapshotName string, grantAccessData GrantAccessData, ...) (<-chan AccessURI, <-chan error)
- func (client SnapshotsClient) GrantAccessPreparer(resourceGroupName string, snapshotName string, grantAccessData GrantAccessData, ...) (*http.Request, error)
- func (client SnapshotsClient) GrantAccessResponder(resp *http.Response) (result AccessURI, err error)
- func (client SnapshotsClient) GrantAccessSender(req *http.Request) (*http.Response, error)
- func (client SnapshotsClient) List() (result SnapshotList, err error)
- func (client SnapshotsClient) ListByResourceGroup(resourceGroupName string) (result SnapshotList, err error)
- func (client SnapshotsClient) ListByResourceGroupComplete(resourceGroupName string, cancel <-chan struct{}) (<-chan Snapshot, <-chan error)
- func (client SnapshotsClient) ListByResourceGroupNextResults(lastResults SnapshotList) (result SnapshotList, err error)
- func (client SnapshotsClient) ListByResourceGroupPreparer(resourceGroupName string) (*http.Request, error)
- func (client SnapshotsClient) ListByResourceGroupResponder(resp *http.Response) (result SnapshotList, err error)
- func (client SnapshotsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client SnapshotsClient) ListComplete(cancel <-chan struct{}) (<-chan Snapshot, <-chan error)
- func (client SnapshotsClient) ListNextResults(lastResults SnapshotList) (result SnapshotList, err error)
- func (client SnapshotsClient) ListPreparer() (*http.Request, error)
- func (client SnapshotsClient) ListResponder(resp *http.Response) (result SnapshotList, err error)
- func (client SnapshotsClient) ListSender(req *http.Request) (*http.Response, error)
- func (client SnapshotsClient) RevokeAccess(resourceGroupName string, snapshotName string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)
- func (client SnapshotsClient) RevokeAccessPreparer(resourceGroupName string, snapshotName string, cancel <-chan struct{}) (*http.Request, error)
- func (client SnapshotsClient) RevokeAccessResponder(resp *http.Response) (result OperationStatusResponse, err error)
- func (client SnapshotsClient) RevokeAccessSender(req *http.Request) (*http.Response, error)
- func (client SnapshotsClient) Update(resourceGroupName string, snapshotName string, snapshot SnapshotUpdate, ...) (<-chan Snapshot, <-chan error)
- func (client SnapshotsClient) UpdatePreparer(resourceGroupName string, snapshotName string, snapshot SnapshotUpdate, ...) (*http.Request, error)
- func (client SnapshotsClient) UpdateResponder(resp *http.Response) (result Snapshot, err error)
- func (client SnapshotsClient) UpdateSender(req *http.Request) (*http.Response, error)
- type SourceVault
- type StatusLevelTypes
- type StorageAccountTypes
- type StorageProfile
- type SubResource
- type SubResourceReadOnly
- type UpdateResource
- type UpgradeMode
- type UpgradePolicy
- type Usage
- type UsageClient
- func (client UsageClient) List(location string) (result ListUsagesResult, err error)
- func (client UsageClient) ListComplete(location string, cancel <-chan struct{}) (<-chan Usage, <-chan error)
- func (client UsageClient) ListNextResults(lastResults ListUsagesResult) (result ListUsagesResult, err error)
- func (client UsageClient) ListPreparer(location string) (*http.Request, error)
- func (client UsageClient) ListResponder(resp *http.Response) (result ListUsagesResult, err error)
- func (client UsageClient) ListSender(req *http.Request) (*http.Response, error)
- type UsageName
- type VaultCertificate
- type VaultSecretGroup
- type VirtualHardDisk
- type VirtualMachine
- type VirtualMachineAgentInstanceView
- type VirtualMachineCaptureParameters
- type VirtualMachineCaptureResult
- type VirtualMachineCaptureResultProperties
- type VirtualMachineExtension
- type VirtualMachineExtensionHandlerInstanceView
- type VirtualMachineExtensionImage
- type VirtualMachineExtensionImageProperties
- type VirtualMachineExtensionImagesClient
- func (client VirtualMachineExtensionImagesClient) Get(location string, publisherName string, typeParameter string, version string) (result VirtualMachineExtensionImage, err error)
- func (client VirtualMachineExtensionImagesClient) GetPreparer(location string, publisherName string, typeParameter string, version string) (*http.Request, error)
- func (client VirtualMachineExtensionImagesClient) GetResponder(resp *http.Response) (result VirtualMachineExtensionImage, err error)
- func (client VirtualMachineExtensionImagesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachineExtensionImagesClient) ListTypes(location string, publisherName string) (result ListVirtualMachineExtensionImage, err error)
- func (client VirtualMachineExtensionImagesClient) ListTypesPreparer(location string, publisherName string) (*http.Request, error)
- func (client VirtualMachineExtensionImagesClient) ListTypesResponder(resp *http.Response) (result ListVirtualMachineExtensionImage, err error)
- func (client VirtualMachineExtensionImagesClient) ListTypesSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachineExtensionImagesClient) ListVersions(location string, publisherName string, typeParameter string, filter string, ...) (result ListVirtualMachineExtensionImage, err error)
- func (client VirtualMachineExtensionImagesClient) ListVersionsPreparer(location string, publisherName string, typeParameter string, filter string, ...) (*http.Request, error)
- func (client VirtualMachineExtensionImagesClient) ListVersionsResponder(resp *http.Response) (result ListVirtualMachineExtensionImage, err error)
- func (client VirtualMachineExtensionImagesClient) ListVersionsSender(req *http.Request) (*http.Response, error)
- type VirtualMachineExtensionInstanceView
- type VirtualMachineExtensionProperties
- type VirtualMachineExtensionsClient
- func (client VirtualMachineExtensionsClient) CreateOrUpdate(resourceGroupName string, VMName string, VMExtensionName string, ...) (<-chan VirtualMachineExtension, <-chan error)
- func (client VirtualMachineExtensionsClient) CreateOrUpdatePreparer(resourceGroupName string, VMName string, VMExtensionName string, ...) (*http.Request, error)
- func (client VirtualMachineExtensionsClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualMachineExtension, err error)
- func (client VirtualMachineExtensionsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachineExtensionsClient) Delete(resourceGroupName string, VMName string, VMExtensionName string, ...) (<-chan OperationStatusResponse, <-chan error)
- func (client VirtualMachineExtensionsClient) DeletePreparer(resourceGroupName string, VMName string, VMExtensionName string, ...) (*http.Request, error)
- func (client VirtualMachineExtensionsClient) DeleteResponder(resp *http.Response) (result OperationStatusResponse, err error)
- func (client VirtualMachineExtensionsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachineExtensionsClient) Get(resourceGroupName string, VMName string, VMExtensionName string, expand string) (result VirtualMachineExtension, err error)
- func (client VirtualMachineExtensionsClient) GetPreparer(resourceGroupName string, VMName string, VMExtensionName string, expand string) (*http.Request, error)
- func (client VirtualMachineExtensionsClient) GetResponder(resp *http.Response) (result VirtualMachineExtension, err error)
- func (client VirtualMachineExtensionsClient) GetSender(req *http.Request) (*http.Response, error)
- type VirtualMachineHealthStatus
- type VirtualMachineIdentity
- type VirtualMachineImage
- type VirtualMachineImageProperties
- type VirtualMachineImageResource
- type VirtualMachineImagesClient
- func (client VirtualMachineImagesClient) Get(location string, publisherName string, offer string, skus string, ...) (result VirtualMachineImage, err error)
- func (client VirtualMachineImagesClient) GetPreparer(location string, publisherName string, offer string, skus string, ...) (*http.Request, error)
- func (client VirtualMachineImagesClient) GetResponder(resp *http.Response) (result VirtualMachineImage, err error)
- func (client VirtualMachineImagesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachineImagesClient) List(location string, publisherName string, offer string, skus string, ...) (result ListVirtualMachineImageResource, err error)
- func (client VirtualMachineImagesClient) ListOffers(location string, publisherName string) (result ListVirtualMachineImageResource, err error)
- func (client VirtualMachineImagesClient) ListOffersPreparer(location string, publisherName string) (*http.Request, error)
- func (client VirtualMachineImagesClient) ListOffersResponder(resp *http.Response) (result ListVirtualMachineImageResource, err error)
- func (client VirtualMachineImagesClient) ListOffersSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachineImagesClient) ListPreparer(location string, publisherName string, offer string, skus string, ...) (*http.Request, error)
- func (client VirtualMachineImagesClient) ListPublishers(location string) (result ListVirtualMachineImageResource, err error)
- func (client VirtualMachineImagesClient) ListPublishersPreparer(location string) (*http.Request, error)
- func (client VirtualMachineImagesClient) ListPublishersResponder(resp *http.Response) (result ListVirtualMachineImageResource, err error)
- func (client VirtualMachineImagesClient) ListPublishersSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachineImagesClient) ListResponder(resp *http.Response) (result ListVirtualMachineImageResource, err error)
- func (client VirtualMachineImagesClient) ListSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachineImagesClient) ListSkus(location string, publisherName string, offer string) (result ListVirtualMachineImageResource, err error)
- func (client VirtualMachineImagesClient) ListSkusPreparer(location string, publisherName string, offer string) (*http.Request, error)
- func (client VirtualMachineImagesClient) ListSkusResponder(resp *http.Response) (result ListVirtualMachineImageResource, err error)
- func (client VirtualMachineImagesClient) ListSkusSender(req *http.Request) (*http.Response, error)
- type VirtualMachineInstanceView
- type VirtualMachineListResult
- type VirtualMachineProperties
- type VirtualMachineRunCommandsClient
- func (client VirtualMachineRunCommandsClient) Get(location string, commandID string) (result RunCommandDocument, err error)
- func (client VirtualMachineRunCommandsClient) GetPreparer(location string, commandID string) (*http.Request, error)
- func (client VirtualMachineRunCommandsClient) GetResponder(resp *http.Response) (result RunCommandDocument, err error)
- func (client VirtualMachineRunCommandsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachineRunCommandsClient) List(location string) (result RunCommandListResult, err error)
- func (client VirtualMachineRunCommandsClient) ListComplete(location string, cancel <-chan struct{}) (<-chan RunCommandDocumentBase, <-chan error)
- func (client VirtualMachineRunCommandsClient) ListNextResults(lastResults RunCommandListResult) (result RunCommandListResult, err error)
- func (client VirtualMachineRunCommandsClient) ListPreparer(location string) (*http.Request, error)
- func (client VirtualMachineRunCommandsClient) ListResponder(resp *http.Response) (result RunCommandListResult, err error)
- func (client VirtualMachineRunCommandsClient) ListSender(req *http.Request) (*http.Response, error)
- type VirtualMachineScaleSet
- type VirtualMachineScaleSetDataDisk
- type VirtualMachineScaleSetExtension
- type VirtualMachineScaleSetExtensionListResult
- type VirtualMachineScaleSetExtensionProfile
- type VirtualMachineScaleSetExtensionProperties
- type VirtualMachineScaleSetExtensionsClient
- func (client VirtualMachineScaleSetExtensionsClient) CreateOrUpdate(resourceGroupName string, VMScaleSetName string, vmssExtensionName string, ...) (<-chan VirtualMachineScaleSetExtension, <-chan error)
- func (client VirtualMachineScaleSetExtensionsClient) CreateOrUpdatePreparer(resourceGroupName string, VMScaleSetName string, vmssExtensionName string, ...) (*http.Request, error)
- func (client VirtualMachineScaleSetExtensionsClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualMachineScaleSetExtension, err error)
- func (client VirtualMachineScaleSetExtensionsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachineScaleSetExtensionsClient) Delete(resourceGroupName string, VMScaleSetName string, vmssExtensionName string, ...) (<-chan OperationStatusResponse, <-chan error)
- func (client VirtualMachineScaleSetExtensionsClient) DeletePreparer(resourceGroupName string, VMScaleSetName string, vmssExtensionName string, ...) (*http.Request, error)
- func (client VirtualMachineScaleSetExtensionsClient) DeleteResponder(resp *http.Response) (result OperationStatusResponse, err error)
- func (client VirtualMachineScaleSetExtensionsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachineScaleSetExtensionsClient) Get(resourceGroupName string, VMScaleSetName string, vmssExtensionName string, ...) (result VirtualMachineScaleSetExtension, err error)
- func (client VirtualMachineScaleSetExtensionsClient) GetPreparer(resourceGroupName string, VMScaleSetName string, vmssExtensionName string, ...) (*http.Request, error)
- func (client VirtualMachineScaleSetExtensionsClient) GetResponder(resp *http.Response) (result VirtualMachineScaleSetExtension, err error)
- func (client VirtualMachineScaleSetExtensionsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachineScaleSetExtensionsClient) List(resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetExtensionListResult, err error)
- func (client VirtualMachineScaleSetExtensionsClient) ListComplete(resourceGroupName string, VMScaleSetName string, cancel <-chan struct{}) (<-chan VirtualMachineScaleSetExtension, <-chan error)
- func (client VirtualMachineScaleSetExtensionsClient) ListNextResults(lastResults VirtualMachineScaleSetExtensionListResult) (result VirtualMachineScaleSetExtensionListResult, err error)
- func (client VirtualMachineScaleSetExtensionsClient) ListPreparer(resourceGroupName string, VMScaleSetName string) (*http.Request, error)
- func (client VirtualMachineScaleSetExtensionsClient) ListResponder(resp *http.Response) (result VirtualMachineScaleSetExtensionListResult, err error)
- func (client VirtualMachineScaleSetExtensionsClient) ListSender(req *http.Request) (*http.Response, error)
- type VirtualMachineScaleSetIPConfiguration
- type VirtualMachineScaleSetIPConfigurationProperties
- type VirtualMachineScaleSetIdentity
- type VirtualMachineScaleSetInstanceView
- type VirtualMachineScaleSetInstanceViewStatusesSummary
- type VirtualMachineScaleSetListResult
- type VirtualMachineScaleSetListSkusResult
- type VirtualMachineScaleSetListWithLinkResult
- type VirtualMachineScaleSetManagedDiskParameters
- type VirtualMachineScaleSetNetworkConfiguration
- type VirtualMachineScaleSetNetworkConfigurationDNSSettings
- type VirtualMachineScaleSetNetworkConfigurationProperties
- type VirtualMachineScaleSetNetworkProfile
- type VirtualMachineScaleSetOSDisk
- type VirtualMachineScaleSetOSProfile
- type VirtualMachineScaleSetProperties
- type VirtualMachineScaleSetPublicIPAddressConfiguration
- type VirtualMachineScaleSetPublicIPAddressConfigurationDNSSettings
- type VirtualMachineScaleSetPublicIPAddressConfigurationProperties
- type VirtualMachineScaleSetRollingUpgradesClient
- func (client VirtualMachineScaleSetRollingUpgradesClient) Cancel(resourceGroupName string, VMScaleSetName string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)
- func (client VirtualMachineScaleSetRollingUpgradesClient) CancelPreparer(resourceGroupName string, VMScaleSetName string, cancel <-chan struct{}) (*http.Request, error)
- func (client VirtualMachineScaleSetRollingUpgradesClient) CancelResponder(resp *http.Response) (result OperationStatusResponse, err error)
- func (client VirtualMachineScaleSetRollingUpgradesClient) CancelSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachineScaleSetRollingUpgradesClient) GetLatest(resourceGroupName string, VMScaleSetName string) (result RollingUpgradeStatusInfo, err error)
- func (client VirtualMachineScaleSetRollingUpgradesClient) GetLatestPreparer(resourceGroupName string, VMScaleSetName string) (*http.Request, error)
- func (client VirtualMachineScaleSetRollingUpgradesClient) GetLatestResponder(resp *http.Response) (result RollingUpgradeStatusInfo, err error)
- func (client VirtualMachineScaleSetRollingUpgradesClient) GetLatestSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgrade(resourceGroupName string, VMScaleSetName string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)
- func (client VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgradePreparer(resourceGroupName string, VMScaleSetName string, cancel <-chan struct{}) (*http.Request, error)
- func (client VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgradeResponder(resp *http.Response) (result OperationStatusResponse, err error)
- func (client VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgradeSender(req *http.Request) (*http.Response, error)
- type VirtualMachineScaleSetSku
- type VirtualMachineScaleSetSkuCapacity
- type VirtualMachineScaleSetSkuScaleType
- type VirtualMachineScaleSetStorageProfile
- type VirtualMachineScaleSetUpdate
- type VirtualMachineScaleSetUpdateIPConfiguration
- type VirtualMachineScaleSetUpdateIPConfigurationProperties
- type VirtualMachineScaleSetUpdateNetworkConfiguration
- type VirtualMachineScaleSetUpdateNetworkConfigurationProperties
- type VirtualMachineScaleSetUpdateNetworkProfile
- type VirtualMachineScaleSetUpdateOSDisk
- type VirtualMachineScaleSetUpdateOSProfile
- type VirtualMachineScaleSetUpdateProperties
- type VirtualMachineScaleSetUpdatePublicIPAddressConfiguration
- type VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties
- type VirtualMachineScaleSetUpdateStorageProfile
- type VirtualMachineScaleSetUpdateVMProfile
- type VirtualMachineScaleSetVM
- type VirtualMachineScaleSetVMExtensionsSummary
- type VirtualMachineScaleSetVMInstanceIDs
- type VirtualMachineScaleSetVMInstanceRequiredIDs
- type VirtualMachineScaleSetVMInstanceView
- type VirtualMachineScaleSetVMListResult
- type VirtualMachineScaleSetVMProfile
- type VirtualMachineScaleSetVMProperties
- type VirtualMachineScaleSetVMsClient
- func (client VirtualMachineScaleSetVMsClient) Deallocate(resourceGroupName string, VMScaleSetName string, instanceID string, ...) (<-chan OperationStatusResponse, <-chan error)
- func (client VirtualMachineScaleSetVMsClient) DeallocatePreparer(resourceGroupName string, VMScaleSetName string, instanceID string, ...) (*http.Request, error)
- func (client VirtualMachineScaleSetVMsClient) DeallocateResponder(resp *http.Response) (result OperationStatusResponse, err error)
- func (client VirtualMachineScaleSetVMsClient) DeallocateSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachineScaleSetVMsClient) Delete(resourceGroupName string, VMScaleSetName string, instanceID string, ...) (<-chan OperationStatusResponse, <-chan error)
- func (client VirtualMachineScaleSetVMsClient) DeletePreparer(resourceGroupName string, VMScaleSetName string, instanceID string, ...) (*http.Request, error)
- func (client VirtualMachineScaleSetVMsClient) DeleteResponder(resp *http.Response) (result OperationStatusResponse, err error)
- func (client VirtualMachineScaleSetVMsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachineScaleSetVMsClient) Get(resourceGroupName string, VMScaleSetName string, instanceID string) (result VirtualMachineScaleSetVM, err error)
- func (client VirtualMachineScaleSetVMsClient) GetInstanceView(resourceGroupName string, VMScaleSetName string, instanceID string) (result VirtualMachineScaleSetVMInstanceView, err error)
- func (client VirtualMachineScaleSetVMsClient) GetInstanceViewPreparer(resourceGroupName string, VMScaleSetName string, instanceID string) (*http.Request, error)
- func (client VirtualMachineScaleSetVMsClient) GetInstanceViewResponder(resp *http.Response) (result VirtualMachineScaleSetVMInstanceView, err error)
- func (client VirtualMachineScaleSetVMsClient) GetInstanceViewSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachineScaleSetVMsClient) GetPreparer(resourceGroupName string, VMScaleSetName string, instanceID string) (*http.Request, error)
- func (client VirtualMachineScaleSetVMsClient) GetResponder(resp *http.Response) (result VirtualMachineScaleSetVM, err error)
- func (client VirtualMachineScaleSetVMsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachineScaleSetVMsClient) List(resourceGroupName string, virtualMachineScaleSetName string, filter string, ...) (result VirtualMachineScaleSetVMListResult, err error)
- func (client VirtualMachineScaleSetVMsClient) ListComplete(resourceGroupName string, virtualMachineScaleSetName string, filter string, ...) (<-chan VirtualMachineScaleSetVM, <-chan error)
- func (client VirtualMachineScaleSetVMsClient) ListNextResults(lastResults VirtualMachineScaleSetVMListResult) (result VirtualMachineScaleSetVMListResult, err error)
- func (client VirtualMachineScaleSetVMsClient) ListPreparer(resourceGroupName string, virtualMachineScaleSetName string, filter string, ...) (*http.Request, error)
- func (client VirtualMachineScaleSetVMsClient) ListResponder(resp *http.Response) (result VirtualMachineScaleSetVMListResult, err error)
- func (client VirtualMachineScaleSetVMsClient) ListSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachineScaleSetVMsClient) PowerOff(resourceGroupName string, VMScaleSetName string, instanceID string, ...) (<-chan OperationStatusResponse, <-chan error)
- func (client VirtualMachineScaleSetVMsClient) PowerOffPreparer(resourceGroupName string, VMScaleSetName string, instanceID string, ...) (*http.Request, error)
- func (client VirtualMachineScaleSetVMsClient) PowerOffResponder(resp *http.Response) (result OperationStatusResponse, err error)
- func (client VirtualMachineScaleSetVMsClient) PowerOffSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachineScaleSetVMsClient) Reimage(resourceGroupName string, VMScaleSetName string, instanceID string, ...) (<-chan OperationStatusResponse, <-chan error)
- func (client VirtualMachineScaleSetVMsClient) ReimageAll(resourceGroupName string, VMScaleSetName string, instanceID string, ...) (<-chan OperationStatusResponse, <-chan error)
- func (client VirtualMachineScaleSetVMsClient) ReimageAllPreparer(resourceGroupName string, VMScaleSetName string, instanceID string, ...) (*http.Request, error)
- func (client VirtualMachineScaleSetVMsClient) ReimageAllResponder(resp *http.Response) (result OperationStatusResponse, err error)
- func (client VirtualMachineScaleSetVMsClient) ReimageAllSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachineScaleSetVMsClient) ReimagePreparer(resourceGroupName string, VMScaleSetName string, instanceID string, ...) (*http.Request, error)
- func (client VirtualMachineScaleSetVMsClient) ReimageResponder(resp *http.Response) (result OperationStatusResponse, err error)
- func (client VirtualMachineScaleSetVMsClient) ReimageSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachineScaleSetVMsClient) Restart(resourceGroupName string, VMScaleSetName string, instanceID string, ...) (<-chan OperationStatusResponse, <-chan error)
- func (client VirtualMachineScaleSetVMsClient) RestartPreparer(resourceGroupName string, VMScaleSetName string, instanceID string, ...) (*http.Request, error)
- func (client VirtualMachineScaleSetVMsClient) RestartResponder(resp *http.Response) (result OperationStatusResponse, err error)
- func (client VirtualMachineScaleSetVMsClient) RestartSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachineScaleSetVMsClient) Start(resourceGroupName string, VMScaleSetName string, instanceID string, ...) (<-chan OperationStatusResponse, <-chan error)
- func (client VirtualMachineScaleSetVMsClient) StartPreparer(resourceGroupName string, VMScaleSetName string, instanceID string, ...) (*http.Request, error)
- func (client VirtualMachineScaleSetVMsClient) StartResponder(resp *http.Response) (result OperationStatusResponse, err error)
- func (client VirtualMachineScaleSetVMsClient) StartSender(req *http.Request) (*http.Response, error)
- type VirtualMachineScaleSetsClient
- func (client VirtualMachineScaleSetsClient) CreateOrUpdate(resourceGroupName string, VMScaleSetName string, ...) (<-chan VirtualMachineScaleSet, <-chan error)
- func (client VirtualMachineScaleSetsClient) CreateOrUpdatePreparer(resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)
- func (client VirtualMachineScaleSetsClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualMachineScaleSet, err error)
- func (client VirtualMachineScaleSetsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachineScaleSetsClient) Deallocate(resourceGroupName string, VMScaleSetName string, ...) (<-chan OperationStatusResponse, <-chan error)
- func (client VirtualMachineScaleSetsClient) DeallocatePreparer(resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)
- func (client VirtualMachineScaleSetsClient) DeallocateResponder(resp *http.Response) (result OperationStatusResponse, err error)
- func (client VirtualMachineScaleSetsClient) DeallocateSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachineScaleSetsClient) Delete(resourceGroupName string, VMScaleSetName string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)
- func (client VirtualMachineScaleSetsClient) DeleteInstances(resourceGroupName string, VMScaleSetName string, ...) (<-chan OperationStatusResponse, <-chan error)
- func (client VirtualMachineScaleSetsClient) DeleteInstancesPreparer(resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)
- func (client VirtualMachineScaleSetsClient) DeleteInstancesResponder(resp *http.Response) (result OperationStatusResponse, err error)
- func (client VirtualMachineScaleSetsClient) DeleteInstancesSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachineScaleSetsClient) DeletePreparer(resourceGroupName string, VMScaleSetName string, cancel <-chan struct{}) (*http.Request, error)
- func (client VirtualMachineScaleSetsClient) DeleteResponder(resp *http.Response) (result OperationStatusResponse, err error)
- func (client VirtualMachineScaleSetsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachineScaleSetsClient) Get(resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSet, err error)
- func (client VirtualMachineScaleSetsClient) GetInstanceView(resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetInstanceView, err error)
- func (client VirtualMachineScaleSetsClient) GetInstanceViewPreparer(resourceGroupName string, VMScaleSetName string) (*http.Request, error)
- func (client VirtualMachineScaleSetsClient) GetInstanceViewResponder(resp *http.Response) (result VirtualMachineScaleSetInstanceView, err error)
- func (client VirtualMachineScaleSetsClient) GetInstanceViewSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachineScaleSetsClient) GetPreparer(resourceGroupName string, VMScaleSetName string) (*http.Request, error)
- func (client VirtualMachineScaleSetsClient) GetResponder(resp *http.Response) (result VirtualMachineScaleSet, err error)
- func (client VirtualMachineScaleSetsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachineScaleSetsClient) List(resourceGroupName string) (result VirtualMachineScaleSetListResult, err error)
- func (client VirtualMachineScaleSetsClient) ListAll() (result VirtualMachineScaleSetListWithLinkResult, err error)
- func (client VirtualMachineScaleSetsClient) ListAllComplete(cancel <-chan struct{}) (<-chan VirtualMachineScaleSet, <-chan error)
- func (client VirtualMachineScaleSetsClient) ListAllNextResults(lastResults VirtualMachineScaleSetListWithLinkResult) (result VirtualMachineScaleSetListWithLinkResult, err error)
- func (client VirtualMachineScaleSetsClient) ListAllPreparer() (*http.Request, error)
- func (client VirtualMachineScaleSetsClient) ListAllResponder(resp *http.Response) (result VirtualMachineScaleSetListWithLinkResult, err error)
- func (client VirtualMachineScaleSetsClient) ListAllSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachineScaleSetsClient) ListComplete(resourceGroupName string, cancel <-chan struct{}) (<-chan VirtualMachineScaleSet, <-chan error)
- func (client VirtualMachineScaleSetsClient) ListNextResults(lastResults VirtualMachineScaleSetListResult) (result VirtualMachineScaleSetListResult, err error)
- func (client VirtualMachineScaleSetsClient) ListPreparer(resourceGroupName string) (*http.Request, error)
- func (client VirtualMachineScaleSetsClient) ListResponder(resp *http.Response) (result VirtualMachineScaleSetListResult, err error)
- func (client VirtualMachineScaleSetsClient) ListSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachineScaleSetsClient) ListSkus(resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetListSkusResult, err error)
- func (client VirtualMachineScaleSetsClient) ListSkusComplete(resourceGroupName string, VMScaleSetName string, cancel <-chan struct{}) (<-chan VirtualMachineScaleSetSku, <-chan error)
- func (client VirtualMachineScaleSetsClient) ListSkusNextResults(lastResults VirtualMachineScaleSetListSkusResult) (result VirtualMachineScaleSetListSkusResult, err error)
- func (client VirtualMachineScaleSetsClient) ListSkusPreparer(resourceGroupName string, VMScaleSetName string) (*http.Request, error)
- func (client VirtualMachineScaleSetsClient) ListSkusResponder(resp *http.Response) (result VirtualMachineScaleSetListSkusResult, err error)
- func (client VirtualMachineScaleSetsClient) ListSkusSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachineScaleSetsClient) PowerOff(resourceGroupName string, VMScaleSetName string, ...) (<-chan OperationStatusResponse, <-chan error)
- func (client VirtualMachineScaleSetsClient) PowerOffPreparer(resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)
- func (client VirtualMachineScaleSetsClient) PowerOffResponder(resp *http.Response) (result OperationStatusResponse, err error)
- func (client VirtualMachineScaleSetsClient) PowerOffSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachineScaleSetsClient) Reimage(resourceGroupName string, VMScaleSetName string, ...) (<-chan OperationStatusResponse, <-chan error)
- func (client VirtualMachineScaleSetsClient) ReimageAll(resourceGroupName string, VMScaleSetName string, ...) (<-chan OperationStatusResponse, <-chan error)
- func (client VirtualMachineScaleSetsClient) ReimageAllPreparer(resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)
- func (client VirtualMachineScaleSetsClient) ReimageAllResponder(resp *http.Response) (result OperationStatusResponse, err error)
- func (client VirtualMachineScaleSetsClient) ReimageAllSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachineScaleSetsClient) ReimagePreparer(resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)
- func (client VirtualMachineScaleSetsClient) ReimageResponder(resp *http.Response) (result OperationStatusResponse, err error)
- func (client VirtualMachineScaleSetsClient) ReimageSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachineScaleSetsClient) Restart(resourceGroupName string, VMScaleSetName string, ...) (<-chan OperationStatusResponse, <-chan error)
- func (client VirtualMachineScaleSetsClient) RestartPreparer(resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)
- func (client VirtualMachineScaleSetsClient) RestartResponder(resp *http.Response) (result OperationStatusResponse, err error)
- func (client VirtualMachineScaleSetsClient) RestartSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachineScaleSetsClient) Start(resourceGroupName string, VMScaleSetName string, ...) (<-chan OperationStatusResponse, <-chan error)
- func (client VirtualMachineScaleSetsClient) StartPreparer(resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)
- func (client VirtualMachineScaleSetsClient) StartResponder(resp *http.Response) (result OperationStatusResponse, err error)
- func (client VirtualMachineScaleSetsClient) StartSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachineScaleSetsClient) Update(resourceGroupName string, VMScaleSetName string, ...) (<-chan VirtualMachineScaleSet, <-chan error)
- func (client VirtualMachineScaleSetsClient) UpdateInstances(resourceGroupName string, VMScaleSetName string, ...) (<-chan OperationStatusResponse, <-chan error)
- func (client VirtualMachineScaleSetsClient) UpdateInstancesPreparer(resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)
- func (client VirtualMachineScaleSetsClient) UpdateInstancesResponder(resp *http.Response) (result OperationStatusResponse, err error)
- func (client VirtualMachineScaleSetsClient) UpdateInstancesSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachineScaleSetsClient) UpdatePreparer(resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)
- func (client VirtualMachineScaleSetsClient) UpdateResponder(resp *http.Response) (result VirtualMachineScaleSet, err error)
- func (client VirtualMachineScaleSetsClient) UpdateSender(req *http.Request) (*http.Response, error)
- type VirtualMachineSize
- type VirtualMachineSizeListResult
- type VirtualMachineSizeTypes
- type VirtualMachineSizesClient
- func (client VirtualMachineSizesClient) List(location string) (result VirtualMachineSizeListResult, err error)
- func (client VirtualMachineSizesClient) ListPreparer(location string) (*http.Request, error)
- func (client VirtualMachineSizesClient) ListResponder(resp *http.Response) (result VirtualMachineSizeListResult, err error)
- func (client VirtualMachineSizesClient) ListSender(req *http.Request) (*http.Response, error)
- type VirtualMachineStatusCodeCount
- type VirtualMachinesClient
- func (client VirtualMachinesClient) Capture(resourceGroupName string, VMName string, ...) (<-chan VirtualMachineCaptureResult, <-chan error)
- func (client VirtualMachinesClient) CapturePreparer(resourceGroupName string, VMName string, ...) (*http.Request, error)
- func (client VirtualMachinesClient) CaptureResponder(resp *http.Response) (result VirtualMachineCaptureResult, err error)
- func (client VirtualMachinesClient) CaptureSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachinesClient) ConvertToManagedDisks(resourceGroupName string, VMName string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)
- func (client VirtualMachinesClient) ConvertToManagedDisksPreparer(resourceGroupName string, VMName string, cancel <-chan struct{}) (*http.Request, error)
- func (client VirtualMachinesClient) ConvertToManagedDisksResponder(resp *http.Response) (result OperationStatusResponse, err error)
- func (client VirtualMachinesClient) ConvertToManagedDisksSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachinesClient) CreateOrUpdate(resourceGroupName string, VMName string, parameters VirtualMachine, ...) (<-chan VirtualMachine, <-chan error)
- func (client VirtualMachinesClient) CreateOrUpdatePreparer(resourceGroupName string, VMName string, parameters VirtualMachine, ...) (*http.Request, error)
- func (client VirtualMachinesClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualMachine, err error)
- func (client VirtualMachinesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachinesClient) Deallocate(resourceGroupName string, VMName string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)
- func (client VirtualMachinesClient) DeallocatePreparer(resourceGroupName string, VMName string, cancel <-chan struct{}) (*http.Request, error)
- func (client VirtualMachinesClient) DeallocateResponder(resp *http.Response) (result OperationStatusResponse, err error)
- func (client VirtualMachinesClient) DeallocateSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachinesClient) Delete(resourceGroupName string, VMName string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)
- func (client VirtualMachinesClient) DeletePreparer(resourceGroupName string, VMName string, cancel <-chan struct{}) (*http.Request, error)
- func (client VirtualMachinesClient) DeleteResponder(resp *http.Response) (result OperationStatusResponse, err error)
- func (client VirtualMachinesClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachinesClient) Generalize(resourceGroupName string, VMName string) (result OperationStatusResponse, err error)
- func (client VirtualMachinesClient) GeneralizePreparer(resourceGroupName string, VMName string) (*http.Request, error)
- func (client VirtualMachinesClient) GeneralizeResponder(resp *http.Response) (result OperationStatusResponse, err error)
- func (client VirtualMachinesClient) GeneralizeSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachinesClient) Get(resourceGroupName string, VMName string, expand InstanceViewTypes) (result VirtualMachine, err error)
- func (client VirtualMachinesClient) GetPreparer(resourceGroupName string, VMName string, expand InstanceViewTypes) (*http.Request, error)
- func (client VirtualMachinesClient) GetResponder(resp *http.Response) (result VirtualMachine, err error)
- func (client VirtualMachinesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachinesClient) InstanceView(resourceGroupName string, VMName string) (result VirtualMachineInstanceView, err error)
- func (client VirtualMachinesClient) InstanceViewPreparer(resourceGroupName string, VMName string) (*http.Request, error)
- func (client VirtualMachinesClient) InstanceViewResponder(resp *http.Response) (result VirtualMachineInstanceView, err error)
- func (client VirtualMachinesClient) InstanceViewSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachinesClient) List(resourceGroupName string) (result VirtualMachineListResult, err error)
- func (client VirtualMachinesClient) ListAll() (result VirtualMachineListResult, err error)
- func (client VirtualMachinesClient) ListAllComplete(cancel <-chan struct{}) (<-chan VirtualMachine, <-chan error)
- func (client VirtualMachinesClient) ListAllNextResults(lastResults VirtualMachineListResult) (result VirtualMachineListResult, err error)
- func (client VirtualMachinesClient) ListAllPreparer() (*http.Request, error)
- func (client VirtualMachinesClient) ListAllResponder(resp *http.Response) (result VirtualMachineListResult, err error)
- func (client VirtualMachinesClient) ListAllSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachinesClient) ListAvailableSizes(resourceGroupName string, VMName string) (result VirtualMachineSizeListResult, err error)
- func (client VirtualMachinesClient) ListAvailableSizesPreparer(resourceGroupName string, VMName string) (*http.Request, error)
- func (client VirtualMachinesClient) ListAvailableSizesResponder(resp *http.Response) (result VirtualMachineSizeListResult, err error)
- func (client VirtualMachinesClient) ListAvailableSizesSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachinesClient) ListComplete(resourceGroupName string, cancel <-chan struct{}) (<-chan VirtualMachine, <-chan error)
- func (client VirtualMachinesClient) ListNextResults(lastResults VirtualMachineListResult) (result VirtualMachineListResult, err error)
- func (client VirtualMachinesClient) ListPreparer(resourceGroupName string) (*http.Request, error)
- func (client VirtualMachinesClient) ListResponder(resp *http.Response) (result VirtualMachineListResult, err error)
- func (client VirtualMachinesClient) ListSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachinesClient) PerformMaintenance(resourceGroupName string, VMName string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)
- func (client VirtualMachinesClient) PerformMaintenancePreparer(resourceGroupName string, VMName string, cancel <-chan struct{}) (*http.Request, error)
- func (client VirtualMachinesClient) PerformMaintenanceResponder(resp *http.Response) (result OperationStatusResponse, err error)
- func (client VirtualMachinesClient) PerformMaintenanceSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachinesClient) PowerOff(resourceGroupName string, VMName string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)
- func (client VirtualMachinesClient) PowerOffPreparer(resourceGroupName string, VMName string, cancel <-chan struct{}) (*http.Request, error)
- func (client VirtualMachinesClient) PowerOffResponder(resp *http.Response) (result OperationStatusResponse, err error)
- func (client VirtualMachinesClient) PowerOffSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachinesClient) Redeploy(resourceGroupName string, VMName string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)
- func (client VirtualMachinesClient) RedeployPreparer(resourceGroupName string, VMName string, cancel <-chan struct{}) (*http.Request, error)
- func (client VirtualMachinesClient) RedeployResponder(resp *http.Response) (result OperationStatusResponse, err error)
- func (client VirtualMachinesClient) RedeploySender(req *http.Request) (*http.Response, error)
- func (client VirtualMachinesClient) Restart(resourceGroupName string, VMName string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)
- func (client VirtualMachinesClient) RestartPreparer(resourceGroupName string, VMName string, cancel <-chan struct{}) (*http.Request, error)
- func (client VirtualMachinesClient) RestartResponder(resp *http.Response) (result OperationStatusResponse, err error)
- func (client VirtualMachinesClient) RestartSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachinesClient) RunCommand(resourceGroupName string, VMName string, parameters RunCommandInput, ...) (<-chan RunCommandResult, <-chan error)
- func (client VirtualMachinesClient) RunCommandPreparer(resourceGroupName string, VMName string, parameters RunCommandInput, ...) (*http.Request, error)
- func (client VirtualMachinesClient) RunCommandResponder(resp *http.Response) (result RunCommandResult, err error)
- func (client VirtualMachinesClient) RunCommandSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachinesClient) Start(resourceGroupName string, VMName string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)
- func (client VirtualMachinesClient) StartPreparer(resourceGroupName string, VMName string, cancel <-chan struct{}) (*http.Request, error)
- func (client VirtualMachinesClient) StartResponder(resp *http.Response) (result OperationStatusResponse, err error)
- func (client VirtualMachinesClient) StartSender(req *http.Request) (*http.Response, error)
- type WinRMConfiguration
- type WinRMListener
- type WindowsConfiguration
Constants ¶
const (
// DefaultBaseURI is the default URI used for the service Compute
DefaultBaseURI = "https://management.azure.com"
)
Variables ¶
This section is empty.
Functions ¶
func UserAgent ¶
func UserAgent() string
UserAgent returns the UserAgent string to use when sending http.Requests.
func Version ¶
func Version() string
Version returns the semantic version (see http://semver.org) of the client.
Types ¶
type APIEntityReference ¶
type APIEntityReference struct {
ID *string `json:"id,omitempty"`
}
APIEntityReference is the API entity reference.
type APIError ¶
type APIError struct { Details *[]APIErrorBase `json:"details,omitempty"` Innererror *InnerError `json:"innererror,omitempty"` Code *string `json:"code,omitempty"` Target *string `json:"target,omitempty"` Message *string `json:"message,omitempty"` }
APIError is api error.
type APIErrorBase ¶
type APIErrorBase struct { Code *string `json:"code,omitempty"` Target *string `json:"target,omitempty"` Message *string `json:"message,omitempty"` }
APIErrorBase is api error base.
type AccessLevel ¶
type AccessLevel string
AccessLevel enumerates the values for access level.
const ( // None specifies the none state for access level. None AccessLevel = "None" // Read specifies the read state for access level. Read AccessLevel = "Read" )
type AccessURI ¶
type AccessURI struct { autorest.Response `json:"-"` *AccessURIOutput `json:"properties,omitempty"` }
AccessURI is a disk access SAS uri.
type AccessURIOutput ¶
type AccessURIOutput struct {
*AccessURIRaw `json:"output,omitempty"`
}
AccessURIOutput is azure properties, including output.
type AccessURIRaw ¶
type AccessURIRaw struct {
AccessSAS *string `json:"accessSAS,omitempty"`
}
AccessURIRaw is this object gets 'bubbled up' through flattening.
type AdditionalUnattendContent ¶
type AdditionalUnattendContent struct { PassName PassNames `json:"passName,omitempty"` ComponentName ComponentNames `json:"componentName,omitempty"` SettingName SettingNames `json:"settingName,omitempty"` Content *string `json:"content,omitempty"` }
AdditionalUnattendContent is specifies additional XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name, and the pass in which the content is applied.
type AvailabilitySet ¶
type AvailabilitySet struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Location *string `json:"location,omitempty"` Tags *map[string]*string `json:"tags,omitempty"` *AvailabilitySetProperties `json:"properties,omitempty"` Sku *Sku `json:"sku,omitempty"` }
AvailabilitySet is specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). <br><br> For more information on Azure planned maintainance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json) <br><br> Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set.
type AvailabilitySetListResult ¶
type AvailabilitySetListResult struct { autorest.Response `json:"-"` Value *[]AvailabilitySet `json:"value,omitempty"` }
AvailabilitySetListResult is the List Availability Set operation response.
type AvailabilitySetProperties ¶
type AvailabilitySetProperties struct { PlatformUpdateDomainCount *int32 `json:"platformUpdateDomainCount,omitempty"` PlatformFaultDomainCount *int32 `json:"platformFaultDomainCount,omitempty"` VirtualMachines *[]SubResource `json:"virtualMachines,omitempty"` Statuses *[]InstanceViewStatus `json:"statuses,omitempty"` }
AvailabilitySetProperties is the instance view of a resource.
type AvailabilitySetsClient ¶
type AvailabilitySetsClient struct {
ManagementClient
}
AvailabilitySetsClient is the compute Client
func NewAvailabilitySetsClient ¶
func NewAvailabilitySetsClient(subscriptionID string) AvailabilitySetsClient
NewAvailabilitySetsClient creates an instance of the AvailabilitySetsClient client.
func NewAvailabilitySetsClientWithBaseURI ¶
func NewAvailabilitySetsClientWithBaseURI(baseURI string, subscriptionID string) AvailabilitySetsClient
NewAvailabilitySetsClientWithBaseURI creates an instance of the AvailabilitySetsClient client.
func (AvailabilitySetsClient) CreateOrUpdate ¶
func (client AvailabilitySetsClient) CreateOrUpdate(resourceGroupName string, availabilitySetName string, parameters AvailabilitySet) (result AvailabilitySet, err error)
CreateOrUpdate create or update an availability set.
resourceGroupName is the name of the resource group. availabilitySetName is the name of the availability set. parameters is parameters supplied to the Create Availability Set operation.
func (AvailabilitySetsClient) CreateOrUpdatePreparer ¶
func (client AvailabilitySetsClient) CreateOrUpdatePreparer(resourceGroupName string, availabilitySetName string, parameters AvailabilitySet) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (AvailabilitySetsClient) CreateOrUpdateResponder ¶
func (client AvailabilitySetsClient) CreateOrUpdateResponder(resp *http.Response) (result AvailabilitySet, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (AvailabilitySetsClient) CreateOrUpdateSender ¶
func (client AvailabilitySetsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (AvailabilitySetsClient) Delete ¶
func (client AvailabilitySetsClient) Delete(resourceGroupName string, availabilitySetName string) (result OperationStatusResponse, err error)
Delete delete an availability set.
resourceGroupName is the name of the resource group. availabilitySetName is the name of the availability set.
func (AvailabilitySetsClient) DeletePreparer ¶
func (client AvailabilitySetsClient) DeletePreparer(resourceGroupName string, availabilitySetName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (AvailabilitySetsClient) DeleteResponder ¶
func (client AvailabilitySetsClient) DeleteResponder(resp *http.Response) (result OperationStatusResponse, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (AvailabilitySetsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (AvailabilitySetsClient) Get ¶
func (client AvailabilitySetsClient) Get(resourceGroupName string, availabilitySetName string) (result AvailabilitySet, err error)
Get retrieves information about an availability set.
resourceGroupName is the name of the resource group. availabilitySetName is the name of the availability set.
func (AvailabilitySetsClient) GetPreparer ¶
func (client AvailabilitySetsClient) GetPreparer(resourceGroupName string, availabilitySetName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (AvailabilitySetsClient) GetResponder ¶
func (client AvailabilitySetsClient) GetResponder(resp *http.Response) (result AvailabilitySet, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (AvailabilitySetsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (AvailabilitySetsClient) List ¶
func (client AvailabilitySetsClient) List(resourceGroupName string) (result AvailabilitySetListResult, err error)
List lists all availability sets in a resource group.
resourceGroupName is the name of the resource group.
func (AvailabilitySetsClient) ListAvailableSizes ¶
func (client AvailabilitySetsClient) ListAvailableSizes(resourceGroupName string, availabilitySetName string) (result VirtualMachineSizeListResult, err error)
ListAvailableSizes lists all available virtual machine sizes that can be used to create a new virtual machine in an existing availability set.
resourceGroupName is the name of the resource group. availabilitySetName is the name of the availability set.
func (AvailabilitySetsClient) ListAvailableSizesPreparer ¶
func (client AvailabilitySetsClient) ListAvailableSizesPreparer(resourceGroupName string, availabilitySetName string) (*http.Request, error)
ListAvailableSizesPreparer prepares the ListAvailableSizes request.
func (AvailabilitySetsClient) ListAvailableSizesResponder ¶
func (client AvailabilitySetsClient) ListAvailableSizesResponder(resp *http.Response) (result VirtualMachineSizeListResult, err error)
ListAvailableSizesResponder handles the response to the ListAvailableSizes request. The method always closes the http.Response Body.
func (AvailabilitySetsClient) ListAvailableSizesSender ¶
func (client AvailabilitySetsClient) ListAvailableSizesSender(req *http.Request) (*http.Response, error)
ListAvailableSizesSender sends the ListAvailableSizes request. The method will close the http.Response Body if it receives an error.
func (AvailabilitySetsClient) ListPreparer ¶
func (client AvailabilitySetsClient) ListPreparer(resourceGroupName string) (*http.Request, error)
ListPreparer prepares the List request.
func (AvailabilitySetsClient) ListResponder ¶
func (client AvailabilitySetsClient) ListResponder(resp *http.Response) (result AvailabilitySetListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (AvailabilitySetsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type BootDiagnostics ¶
type BootDiagnostics struct { Enabled *bool `json:"enabled,omitempty"` StorageURI *string `json:"storageUri,omitempty"` }
BootDiagnostics is boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. <br><br> For Linux Virtual Machines, you can easily view the output of your console log. <br><br> For both Windows and Linux virtual machines, Azure also enables you to see a screenshot of the VM from the hypervisor.
type BootDiagnosticsInstanceView ¶
type BootDiagnosticsInstanceView struct { ConsoleScreenshotBlobURI *string `json:"consoleScreenshotBlobUri,omitempty"` SerialConsoleLogBlobURI *string `json:"serialConsoleLogBlobUri,omitempty"` }
BootDiagnosticsInstanceView is the instance view of a virtual machine boot diagnostics.
type CachingTypes ¶
type CachingTypes string
CachingTypes enumerates the values for caching types.
const ( // CachingTypesNone specifies the caching types none state for caching types. CachingTypesNone CachingTypes = "None" // CachingTypesReadOnly specifies the caching types read only state for caching types. CachingTypesReadOnly CachingTypes = "ReadOnly" // CachingTypesReadWrite specifies the caching types read write state for caching types. CachingTypesReadWrite CachingTypes = "ReadWrite" )
type ComponentNames ¶
type ComponentNames string
ComponentNames enumerates the values for component names.
const ( // MicrosoftWindowsShellSetup specifies the microsoft windows shell setup state for component names. MicrosoftWindowsShellSetup ComponentNames = "Microsoft-Windows-Shell-Setup" )
type CreationData ¶
type CreationData struct { CreateOption DiskCreateOption `json:"createOption,omitempty"` StorageAccountID *string `json:"storageAccountId,omitempty"` ImageReference *ImageDiskReference `json:"imageReference,omitempty"` SourceURI *string `json:"sourceUri,omitempty"` SourceResourceID *string `json:"sourceResourceId,omitempty"` }
CreationData is data used when creating a disk.
type DataDisk ¶
type DataDisk struct { Lun *int32 `json:"lun,omitempty"` Name *string `json:"name,omitempty"` Vhd *VirtualHardDisk `json:"vhd,omitempty"` Image *VirtualHardDisk `json:"image,omitempty"` Caching CachingTypes `json:"caching,omitempty"` CreateOption DiskCreateOptionTypes `json:"createOption,omitempty"` DiskSizeGB *int32 `json:"diskSizeGB,omitempty"` ManagedDisk *ManagedDiskParameters `json:"managedDisk,omitempty"` }
DataDisk is describes a data disk.
type DataDiskImage ¶
type DataDiskImage struct {
Lun *int32 `json:"lun,omitempty"`
}
DataDiskImage is contains the data disk images information.
type DiagnosticsProfile ¶
type DiagnosticsProfile struct {
BootDiagnostics *BootDiagnostics `json:"bootDiagnostics,omitempty"`
}
DiagnosticsProfile is specifies the boot diagnostic settings state. <br><br>Minimum api-version: 2015-06-15.
type Disk ¶
type Disk struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Location *string `json:"location,omitempty"` Tags *map[string]*string `json:"tags,omitempty"` ManagedBy *string `json:"managedBy,omitempty"` Sku *DiskSku `json:"sku,omitempty"` Zones *[]string `json:"zones,omitempty"` *DiskProperties `json:"properties,omitempty"` }
Disk is disk resource.
type DiskCreateOption ¶
type DiskCreateOption string
DiskCreateOption enumerates the values for disk create option.
const ( // Attach specifies the attach state for disk create option. Attach DiskCreateOption = "Attach" // Copy specifies the copy state for disk create option. Copy DiskCreateOption = "Copy" // Empty specifies the empty state for disk create option. Empty DiskCreateOption = "Empty" // FromImage specifies the from image state for disk create option. FromImage DiskCreateOption = "FromImage" // Import specifies the import state for disk create option. Import DiskCreateOption = "Import" )
type DiskCreateOptionTypes ¶
type DiskCreateOptionTypes string
DiskCreateOptionTypes enumerates the values for disk create option types.
const ( // DiskCreateOptionTypesAttach specifies the disk create option types attach state for disk create option types. DiskCreateOptionTypesAttach DiskCreateOptionTypes = "Attach" // DiskCreateOptionTypesEmpty specifies the disk create option types empty state for disk create option types. DiskCreateOptionTypesEmpty DiskCreateOptionTypes = "Empty" // DiskCreateOptionTypesFromImage specifies the disk create option types from image state for disk create option types. DiskCreateOptionTypesFromImage DiskCreateOptionTypes = "FromImage" )
type DiskEncryptionSettings ¶
type DiskEncryptionSettings struct { DiskEncryptionKey *KeyVaultSecretReference `json:"diskEncryptionKey,omitempty"` KeyEncryptionKey *KeyVaultKeyReference `json:"keyEncryptionKey,omitempty"` Enabled *bool `json:"enabled,omitempty"` }
DiskEncryptionSettings is describes a Encryption Settings for a Disk
type DiskInstanceView ¶
type DiskInstanceView struct { Name *string `json:"name,omitempty"` EncryptionSettings *[]DiskEncryptionSettings `json:"encryptionSettings,omitempty"` Statuses *[]InstanceViewStatus `json:"statuses,omitempty"` }
DiskInstanceView is the instance view of the disk.
type DiskList ¶
type DiskList struct { autorest.Response `json:"-"` Value *[]Disk `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
DiskList is the List Disks operation response.
type DiskProperties ¶
type DiskProperties struct { TimeCreated *date.Time `json:"timeCreated,omitempty"` OsType OperatingSystemTypes `json:"osType,omitempty"` CreationData *CreationData `json:"creationData,omitempty"` DiskSizeGB *int32 `json:"diskSizeGB,omitempty"` EncryptionSettings *EncryptionSettings `json:"encryptionSettings,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` }
DiskProperties is disk resource properties.
type DiskSku ¶
type DiskSku struct { Name StorageAccountTypes `json:"name,omitempty"` Tier *string `json:"tier,omitempty"` }
DiskSku is the disks and snapshots sku name. Can be Standard_LRS or Premium_LRS.
type DiskUpdate ¶
type DiskUpdate struct { Tags *map[string]*string `json:"tags,omitempty"` Sku *DiskSku `json:"sku,omitempty"` *DiskUpdateProperties `json:"properties,omitempty"` }
DiskUpdate is disk update resource.
type DiskUpdateProperties ¶
type DiskUpdateProperties struct { OsType OperatingSystemTypes `json:"osType,omitempty"` DiskSizeGB *int32 `json:"diskSizeGB,omitempty"` EncryptionSettings *EncryptionSettings `json:"encryptionSettings,omitempty"` }
DiskUpdateProperties is disk resource update properties.
type DisksClient ¶
type DisksClient struct {
ManagementClient
}
DisksClient is the compute Client
func NewDisksClient ¶
func NewDisksClient(subscriptionID string) DisksClient
NewDisksClient creates an instance of the DisksClient client.
func NewDisksClientWithBaseURI ¶
func NewDisksClientWithBaseURI(baseURI string, subscriptionID string) DisksClient
NewDisksClientWithBaseURI creates an instance of the DisksClient client.
func (DisksClient) CreateOrUpdate ¶
func (client DisksClient) CreateOrUpdate(resourceGroupName string, diskName string, disk Disk, cancel <-chan struct{}) (<-chan Disk, <-chan error)
CreateOrUpdate creates or updates a disk. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group. diskName is the name of the disk within the given subscription and resource group. disk is disk object supplied in the body of the Put disk operation.
func (DisksClient) CreateOrUpdatePreparer ¶
func (client DisksClient) CreateOrUpdatePreparer(resourceGroupName string, diskName string, disk Disk, cancel <-chan struct{}) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (DisksClient) CreateOrUpdateResponder ¶
func (client DisksClient) CreateOrUpdateResponder(resp *http.Response) (result Disk, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (DisksClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (DisksClient) Delete ¶
func (client DisksClient) Delete(resourceGroupName string, diskName string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)
Delete deletes a disk. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group. diskName is the name of the disk within the given subscription and resource group.
func (DisksClient) DeletePreparer ¶
func (client DisksClient) DeletePreparer(resourceGroupName string, diskName string, cancel <-chan struct{}) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (DisksClient) DeleteResponder ¶
func (client DisksClient) DeleteResponder(resp *http.Response) (result OperationStatusResponse, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (DisksClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (DisksClient) Get ¶
func (client DisksClient) Get(resourceGroupName string, diskName string) (result Disk, err error)
Get gets information about a disk.
resourceGroupName is the name of the resource group. diskName is the name of the disk within the given subscription and resource group.
func (DisksClient) GetPreparer ¶
func (client DisksClient) GetPreparer(resourceGroupName string, diskName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (DisksClient) GetResponder ¶
func (client DisksClient) GetResponder(resp *http.Response) (result Disk, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (DisksClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (DisksClient) GrantAccess ¶
func (client DisksClient) GrantAccess(resourceGroupName string, diskName string, grantAccessData GrantAccessData, cancel <-chan struct{}) (<-chan AccessURI, <-chan error)
GrantAccess grants access to a disk. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group. diskName is the name of the disk within the given subscription and resource group. grantAccessData is access data object supplied in the body of the get disk access operation.
func (DisksClient) GrantAccessPreparer ¶
func (client DisksClient) GrantAccessPreparer(resourceGroupName string, diskName string, grantAccessData GrantAccessData, cancel <-chan struct{}) (*http.Request, error)
GrantAccessPreparer prepares the GrantAccess request.
func (DisksClient) GrantAccessResponder ¶
func (client DisksClient) GrantAccessResponder(resp *http.Response) (result AccessURI, err error)
GrantAccessResponder handles the response to the GrantAccess request. The method always closes the http.Response Body.
func (DisksClient) GrantAccessSender ¶
GrantAccessSender sends the GrantAccess request. The method will close the http.Response Body if it receives an error.
func (DisksClient) List ¶
func (client DisksClient) List() (result DiskList, err error)
List lists all the disks under a subscription.
func (DisksClient) ListByResourceGroup ¶
func (client DisksClient) ListByResourceGroup(resourceGroupName string) (result DiskList, err error)
ListByResourceGroup lists all the disks under a resource group.
resourceGroupName is the name of the resource group.
func (DisksClient) ListByResourceGroupComplete ¶
func (client DisksClient) ListByResourceGroupComplete(resourceGroupName string, cancel <-chan struct{}) (<-chan Disk, <-chan error)
ListByResourceGroupComplete gets all elements from the list without paging.
func (DisksClient) ListByResourceGroupNextResults ¶
func (client DisksClient) ListByResourceGroupNextResults(lastResults DiskList) (result DiskList, err error)
ListByResourceGroupNextResults retrieves the next set of results, if any.
func (DisksClient) ListByResourceGroupPreparer ¶
func (client DisksClient) ListByResourceGroupPreparer(resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (DisksClient) ListByResourceGroupResponder ¶
func (client DisksClient) ListByResourceGroupResponder(resp *http.Response) (result DiskList, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (DisksClient) ListByResourceGroupSender ¶
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (DisksClient) ListComplete ¶
func (client DisksClient) ListComplete(cancel <-chan struct{}) (<-chan Disk, <-chan error)
ListComplete gets all elements from the list without paging.
func (DisksClient) ListNextResults ¶
func (client DisksClient) ListNextResults(lastResults DiskList) (result DiskList, err error)
ListNextResults retrieves the next set of results, if any.
func (DisksClient) ListPreparer ¶
func (client DisksClient) ListPreparer() (*http.Request, error)
ListPreparer prepares the List request.
func (DisksClient) ListResponder ¶
func (client DisksClient) ListResponder(resp *http.Response) (result DiskList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (DisksClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (DisksClient) RevokeAccess ¶
func (client DisksClient) RevokeAccess(resourceGroupName string, diskName string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)
RevokeAccess revokes access to a disk. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group. diskName is the name of the disk within the given subscription and resource group.
func (DisksClient) RevokeAccessPreparer ¶
func (client DisksClient) RevokeAccessPreparer(resourceGroupName string, diskName string, cancel <-chan struct{}) (*http.Request, error)
RevokeAccessPreparer prepares the RevokeAccess request.
func (DisksClient) RevokeAccessResponder ¶
func (client DisksClient) RevokeAccessResponder(resp *http.Response) (result OperationStatusResponse, err error)
RevokeAccessResponder handles the response to the RevokeAccess request. The method always closes the http.Response Body.
func (DisksClient) RevokeAccessSender ¶
RevokeAccessSender sends the RevokeAccess request. The method will close the http.Response Body if it receives an error.
func (DisksClient) Update ¶
func (client DisksClient) Update(resourceGroupName string, diskName string, disk DiskUpdate, cancel <-chan struct{}) (<-chan Disk, <-chan error)
Update updates (patches) a disk. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group. diskName is the name of the disk within the given subscription and resource group. disk is disk object supplied in the body of the Patch disk operation.
func (DisksClient) UpdatePreparer ¶
func (client DisksClient) UpdatePreparer(resourceGroupName string, diskName string, disk DiskUpdate, cancel <-chan struct{}) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (DisksClient) UpdateResponder ¶
func (client DisksClient) UpdateResponder(resp *http.Response) (result Disk, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (DisksClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type EncryptionSettings ¶
type EncryptionSettings struct { Enabled *bool `json:"enabled,omitempty"` DiskEncryptionKey *KeyVaultAndSecretReference `json:"diskEncryptionKey,omitempty"` KeyEncryptionKey *KeyVaultAndKeyReference `json:"keyEncryptionKey,omitempty"` }
EncryptionSettings is encryption settings for disk or snapshot
type GrantAccessData ¶
type GrantAccessData struct { Access AccessLevel `json:"access,omitempty"` DurationInSeconds *int32 `json:"durationInSeconds,omitempty"` }
GrantAccessData is data used for requesting a SAS.
type HardwareProfile ¶
type HardwareProfile struct {
VMSize VirtualMachineSizeTypes `json:"vmSize,omitempty"`
}
HardwareProfile is specifies the hardware settings for the virtual machine.
type Image ¶
type Image struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Location *string `json:"location,omitempty"` Tags *map[string]*string `json:"tags,omitempty"` *ImageProperties `json:"properties,omitempty"` }
Image is the source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.
type ImageDataDisk ¶
type ImageDataDisk struct { Lun *int32 `json:"lun,omitempty"` Snapshot *SubResource `json:"snapshot,omitempty"` ManagedDisk *SubResource `json:"managedDisk,omitempty"` BlobURI *string `json:"blobUri,omitempty"` Caching CachingTypes `json:"caching,omitempty"` DiskSizeGB *int32 `json:"diskSizeGB,omitempty"` StorageAccountType StorageAccountTypes `json:"storageAccountType,omitempty"` }
ImageDataDisk is describes a data disk.
type ImageDiskReference ¶
type ImageDiskReference struct { ID *string `json:"id,omitempty"` Lun *int32 `json:"lun,omitempty"` }
ImageDiskReference is the source image used for creating the disk.
type ImageListResult ¶
type ImageListResult struct { autorest.Response `json:"-"` Value *[]Image `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
ImageListResult is the List Image operation response.
func (ImageListResult) ImageListResultPreparer ¶
func (client ImageListResult) ImageListResultPreparer() (*http.Request, error)
ImageListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type ImageOSDisk ¶
type ImageOSDisk struct { OsType OperatingSystemTypes `json:"osType,omitempty"` OsState OperatingSystemStateTypes `json:"osState,omitempty"` Snapshot *SubResource `json:"snapshot,omitempty"` ManagedDisk *SubResource `json:"managedDisk,omitempty"` BlobURI *string `json:"blobUri,omitempty"` Caching CachingTypes `json:"caching,omitempty"` DiskSizeGB *int32 `json:"diskSizeGB,omitempty"` StorageAccountType StorageAccountTypes `json:"storageAccountType,omitempty"` }
ImageOSDisk is describes an Operating System disk.
type ImageProperties ¶
type ImageProperties struct { SourceVirtualMachine *SubResource `json:"sourceVirtualMachine,omitempty"` StorageProfile *ImageStorageProfile `json:"storageProfile,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` }
ImageProperties is describes the properties of an Image.
type ImageReference ¶
type ImageReference struct { ID *string `json:"id,omitempty"` Publisher *string `json:"publisher,omitempty"` Offer *string `json:"offer,omitempty"` Sku *string `json:"sku,omitempty"` Version *string `json:"version,omitempty"` }
ImageReference is specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.
type ImageStorageProfile ¶
type ImageStorageProfile struct { OsDisk *ImageOSDisk `json:"osDisk,omitempty"` DataDisks *[]ImageDataDisk `json:"dataDisks,omitempty"` }
ImageStorageProfile is describes a storage profile.
type ImagesClient ¶
type ImagesClient struct {
ManagementClient
}
ImagesClient is the compute Client
func NewImagesClient ¶
func NewImagesClient(subscriptionID string) ImagesClient
NewImagesClient creates an instance of the ImagesClient client.
func NewImagesClientWithBaseURI ¶
func NewImagesClientWithBaseURI(baseURI string, subscriptionID string) ImagesClient
NewImagesClientWithBaseURI creates an instance of the ImagesClient client.
func (ImagesClient) CreateOrUpdate ¶
func (client ImagesClient) CreateOrUpdate(resourceGroupName string, imageName string, parameters Image, cancel <-chan struct{}) (<-chan Image, <-chan error)
CreateOrUpdate create or update an image. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group. imageName is the name of the image. parameters is parameters supplied to the Create Image operation.
func (ImagesClient) CreateOrUpdatePreparer ¶
func (client ImagesClient) CreateOrUpdatePreparer(resourceGroupName string, imageName string, parameters Image, cancel <-chan struct{}) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ImagesClient) CreateOrUpdateResponder ¶
func (client ImagesClient) CreateOrUpdateResponder(resp *http.Response) (result Image, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ImagesClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ImagesClient) Delete ¶
func (client ImagesClient) Delete(resourceGroupName string, imageName string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)
Delete deletes an Image. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group. imageName is the name of the image.
func (ImagesClient) DeletePreparer ¶
func (client ImagesClient) DeletePreparer(resourceGroupName string, imageName string, cancel <-chan struct{}) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ImagesClient) DeleteResponder ¶
func (client ImagesClient) DeleteResponder(resp *http.Response) (result OperationStatusResponse, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (ImagesClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ImagesClient) Get ¶
func (client ImagesClient) Get(resourceGroupName string, imageName string, expand string) (result Image, err error)
Get gets an image.
resourceGroupName is the name of the resource group. imageName is the name of the image. expand is the expand expression to apply on the operation.
func (ImagesClient) GetPreparer ¶
func (client ImagesClient) GetPreparer(resourceGroupName string, imageName string, expand string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ImagesClient) GetResponder ¶
func (client ImagesClient) GetResponder(resp *http.Response) (result Image, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ImagesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ImagesClient) List ¶
func (client ImagesClient) List() (result ImageListResult, err error)
List gets the list of Images in the subscription. Use nextLink property in the response to get the next page of Images. Do this till nextLink is not null to fetch all the Images.
func (ImagesClient) ListByResourceGroup ¶
func (client ImagesClient) ListByResourceGroup(resourceGroupName string) (result ImageListResult, err error)
ListByResourceGroup gets the list of images under a resource group.
resourceGroupName is the name of the resource group.
func (ImagesClient) ListByResourceGroupComplete ¶
func (client ImagesClient) ListByResourceGroupComplete(resourceGroupName string, cancel <-chan struct{}) (<-chan Image, <-chan error)
ListByResourceGroupComplete gets all elements from the list without paging.
func (ImagesClient) ListByResourceGroupNextResults ¶
func (client ImagesClient) ListByResourceGroupNextResults(lastResults ImageListResult) (result ImageListResult, err error)
ListByResourceGroupNextResults retrieves the next set of results, if any.
func (ImagesClient) ListByResourceGroupPreparer ¶
func (client ImagesClient) ListByResourceGroupPreparer(resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (ImagesClient) ListByResourceGroupResponder ¶
func (client ImagesClient) ListByResourceGroupResponder(resp *http.Response) (result ImageListResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (ImagesClient) ListByResourceGroupSender ¶
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (ImagesClient) ListComplete ¶
func (client ImagesClient) ListComplete(cancel <-chan struct{}) (<-chan Image, <-chan error)
ListComplete gets all elements from the list without paging.
func (ImagesClient) ListNextResults ¶
func (client ImagesClient) ListNextResults(lastResults ImageListResult) (result ImageListResult, err error)
ListNextResults retrieves the next set of results, if any.
func (ImagesClient) ListPreparer ¶
func (client ImagesClient) ListPreparer() (*http.Request, error)
ListPreparer prepares the List request.
func (ImagesClient) ListResponder ¶
func (client ImagesClient) ListResponder(resp *http.Response) (result ImageListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (ImagesClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type InnerError ¶
type InnerError struct { Exceptiontype *string `json:"exceptiontype,omitempty"` Errordetail *string `json:"errordetail,omitempty"` }
InnerError is inner error details.
type InstanceViewStatus ¶
type InstanceViewStatus struct { Code *string `json:"code,omitempty"` Level StatusLevelTypes `json:"level,omitempty"` DisplayStatus *string `json:"displayStatus,omitempty"` Message *string `json:"message,omitempty"` Time *date.Time `json:"time,omitempty"` }
InstanceViewStatus is instance view status.
type InstanceViewTypes ¶
type InstanceViewTypes string
InstanceViewTypes enumerates the values for instance view types.
const ( // InstanceView specifies the instance view state for instance view types. InstanceView InstanceViewTypes = "instanceView" )
type KeyVaultAndKeyReference ¶
type KeyVaultAndKeyReference struct { SourceVault *SourceVault `json:"sourceVault,omitempty"` KeyURL *string `json:"keyUrl,omitempty"` }
KeyVaultAndKeyReference is key Vault Key Url and vault id of KeK, KeK is optional and when provided is used to unwrap the encryptionKey
type KeyVaultAndSecretReference ¶
type KeyVaultAndSecretReference struct { SourceVault *SourceVault `json:"sourceVault,omitempty"` SecretURL *string `json:"secretUrl,omitempty"` }
KeyVaultAndSecretReference is key Vault Secret Url and vault id of the encryption key
type KeyVaultKeyReference ¶
type KeyVaultKeyReference struct { KeyURL *string `json:"keyUrl,omitempty"` SourceVault *SubResource `json:"sourceVault,omitempty"` }
KeyVaultKeyReference is describes a reference to Key Vault Key
type KeyVaultSecretReference ¶
type KeyVaultSecretReference struct { SecretURL *string `json:"secretUrl,omitempty"` SourceVault *SubResource `json:"sourceVault,omitempty"` }
KeyVaultSecretReference is describes a reference to Key Vault Secret
type LinuxConfiguration ¶
type LinuxConfiguration struct { DisablePasswordAuthentication *bool `json:"disablePasswordAuthentication,omitempty"` SSH *SSHConfiguration `json:"ssh,omitempty"` }
LinuxConfiguration is specifies the Linux operating system settings on the virtual machine. <br><br>For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json) <br><br> For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).
type ListUsagesResult ¶
type ListUsagesResult struct { autorest.Response `json:"-"` Value *[]Usage `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
ListUsagesResult is the List Usages operation response.
func (ListUsagesResult) ListUsagesResultPreparer ¶
func (client ListUsagesResult) ListUsagesResultPreparer() (*http.Request, error)
ListUsagesResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type ListVirtualMachineExtensionImage ¶
type ListVirtualMachineExtensionImage struct { autorest.Response `json:"-"` Value *[]VirtualMachineExtensionImage `json:"value,omitempty"` }
ListVirtualMachineExtensionImage is
type ListVirtualMachineImageResource ¶
type ListVirtualMachineImageResource struct { autorest.Response `json:"-"` Value *[]VirtualMachineImageResource `json:"value,omitempty"` }
ListVirtualMachineImageResource is
type LongRunningOperationProperties ¶
type LongRunningOperationProperties struct {
Output *map[string]interface{} `json:"output,omitempty"`
}
LongRunningOperationProperties is compute-specific operation properties, including output
type MaintenanceOperationResultCodeTypes ¶
type MaintenanceOperationResultCodeTypes string
MaintenanceOperationResultCodeTypes enumerates the values for maintenance operation result code types.
const ( // MaintenanceOperationResultCodeTypesMaintenanceAborted specifies the maintenance operation result code types // maintenance aborted state for maintenance operation result code types. MaintenanceOperationResultCodeTypesMaintenanceAborted MaintenanceOperationResultCodeTypes = "MaintenanceAborted" // MaintenanceOperationResultCodeTypesMaintenanceCompleted specifies the maintenance operation result code types // maintenance completed state for maintenance operation result code types. MaintenanceOperationResultCodeTypesMaintenanceCompleted MaintenanceOperationResultCodeTypes = "MaintenanceCompleted" // MaintenanceOperationResultCodeTypesNone specifies the maintenance operation result code types none state for // maintenance operation result code types. MaintenanceOperationResultCodeTypesNone MaintenanceOperationResultCodeTypes = "None" // MaintenanceOperationResultCodeTypesRetryLater specifies the maintenance operation result code types retry later // state for maintenance operation result code types. MaintenanceOperationResultCodeTypesRetryLater MaintenanceOperationResultCodeTypes = "RetryLater" )
type MaintenanceRedeployStatus ¶
type MaintenanceRedeployStatus struct { IsCustomerInitiatedMaintenanceAllowed *bool `json:"isCustomerInitiatedMaintenanceAllowed,omitempty"` PreMaintenanceWindowStartTime *date.Time `json:"preMaintenanceWindowStartTime,omitempty"` PreMaintenanceWindowEndTime *date.Time `json:"preMaintenanceWindowEndTime,omitempty"` MaintenanceWindowStartTime *date.Time `json:"maintenanceWindowStartTime,omitempty"` MaintenanceWindowEndTime *date.Time `json:"maintenanceWindowEndTime,omitempty"` LastOperationResultCode MaintenanceOperationResultCodeTypes `json:"lastOperationResultCode,omitempty"` LastOperationMessage *string `json:"lastOperationMessage,omitempty"` }
MaintenanceRedeployStatus is maintenance Operation Status.
type ManagedDiskParameters ¶
type ManagedDiskParameters struct { ID *string `json:"id,omitempty"` StorageAccountType StorageAccountTypes `json:"storageAccountType,omitempty"` }
ManagedDiskParameters is the parameters of a managed disk.
type ManagementClient ¶
ManagementClient is the base client for Compute.
func New ¶
func New(subscriptionID string) ManagementClient
New creates an instance of the ManagementClient client.
func NewWithBaseURI ¶
func NewWithBaseURI(baseURI string, subscriptionID string) ManagementClient
NewWithBaseURI creates an instance of the ManagementClient client.
type NetworkInterfaceReference ¶
type NetworkInterfaceReference struct { ID *string `json:"id,omitempty"` *NetworkInterfaceReferenceProperties `json:"properties,omitempty"` }
NetworkInterfaceReference is describes a network interface reference.
type NetworkInterfaceReferenceProperties ¶
type NetworkInterfaceReferenceProperties struct {
Primary *bool `json:"primary,omitempty"`
}
NetworkInterfaceReferenceProperties is describes a network interface reference properties.
type NetworkProfile ¶
type NetworkProfile struct {
NetworkInterfaces *[]NetworkInterfaceReference `json:"networkInterfaces,omitempty"`
}
NetworkProfile is specifies the network interfaces of the virtual machine.
type OSDisk ¶
type OSDisk struct { OsType OperatingSystemTypes `json:"osType,omitempty"` EncryptionSettings *DiskEncryptionSettings `json:"encryptionSettings,omitempty"` Name *string `json:"name,omitempty"` Vhd *VirtualHardDisk `json:"vhd,omitempty"` Image *VirtualHardDisk `json:"image,omitempty"` Caching CachingTypes `json:"caching,omitempty"` CreateOption DiskCreateOptionTypes `json:"createOption,omitempty"` DiskSizeGB *int32 `json:"diskSizeGB,omitempty"` ManagedDisk *ManagedDiskParameters `json:"managedDisk,omitempty"` }
OSDisk is specifies information about the operating system disk used by the virtual machine. <br><br> For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
type OSDiskImage ¶
type OSDiskImage struct {
OperatingSystem OperatingSystemTypes `json:"operatingSystem,omitempty"`
}
OSDiskImage is contains the os disk image information.
type OSProfile ¶
type OSProfile struct { ComputerName *string `json:"computerName,omitempty"` AdminUsername *string `json:"adminUsername,omitempty"` AdminPassword *string `json:"adminPassword,omitempty"` CustomData *string `json:"customData,omitempty"` WindowsConfiguration *WindowsConfiguration `json:"windowsConfiguration,omitempty"` LinuxConfiguration *LinuxConfiguration `json:"linuxConfiguration,omitempty"` Secrets *[]VaultSecretGroup `json:"secrets,omitempty"` }
OSProfile is specifies the operating system settings for the virtual machine.
type OperatingSystemStateTypes ¶
type OperatingSystemStateTypes string
OperatingSystemStateTypes enumerates the values for operating system state types.
const ( // Generalized specifies the generalized state for operating system state types. Generalized OperatingSystemStateTypes = "Generalized" // Specialized specifies the specialized state for operating system state types. Specialized OperatingSystemStateTypes = "Specialized" )
type OperatingSystemTypes ¶
type OperatingSystemTypes string
OperatingSystemTypes enumerates the values for operating system types.
const ( // Linux specifies the linux state for operating system types. Linux OperatingSystemTypes = "Linux" // Windows specifies the windows state for operating system types. Windows OperatingSystemTypes = "Windows" )
type OperationStatusResponse ¶
type OperationStatusResponse struct { autorest.Response `json:"-"` Name *string `json:"name,omitempty"` Status *string `json:"status,omitempty"` StartTime *date.Time `json:"startTime,omitempty"` EndTime *date.Time `json:"endTime,omitempty"` Error *APIError `json:"error,omitempty"` }
OperationStatusResponse is operation status response
type PassNames ¶
type PassNames string
PassNames enumerates the values for pass names.
const ( // OobeSystem specifies the oobe system state for pass names. OobeSystem PassNames = "OobeSystem" )
type Plan ¶
type Plan struct { Name *string `json:"name,omitempty"` Publisher *string `json:"publisher,omitempty"` Product *string `json:"product,omitempty"` PromotionCode *string `json:"promotionCode,omitempty"` }
Plan is specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.
type ProtocolTypes ¶
type ProtocolTypes string
ProtocolTypes enumerates the values for protocol types.
const ( // HTTP specifies the http state for protocol types. HTTP ProtocolTypes = "Http" // HTTPS specifies the https state for protocol types. HTTPS ProtocolTypes = "Https" )
type PurchasePlan ¶
type PurchasePlan struct { Publisher *string `json:"publisher,omitempty"` Name *string `json:"name,omitempty"` Product *string `json:"product,omitempty"` }
PurchasePlan is used for establishing the purchase context of any 3rd Party artifact through MarketPlace.
type Resource ¶
type Resource struct { ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Location *string `json:"location,omitempty"` Tags *map[string]*string `json:"tags,omitempty"` }
Resource is the Resource model definition.
type ResourceIdentityType ¶
type ResourceIdentityType string
ResourceIdentityType enumerates the values for resource identity type.
const ( // SystemAssigned specifies the system assigned state for resource identity type. SystemAssigned ResourceIdentityType = "SystemAssigned" )
type ResourceSku ¶
type ResourceSku struct { ResourceType *string `json:"resourceType,omitempty"` Name *string `json:"name,omitempty"` Tier *string `json:"tier,omitempty"` Size *string `json:"size,omitempty"` Family *string `json:"family,omitempty"` Kind *string `json:"kind,omitempty"` Capacity *ResourceSkuCapacity `json:"capacity,omitempty"` Locations *[]string `json:"locations,omitempty"` APIVersions *[]string `json:"apiVersions,omitempty"` Costs *[]ResourceSkuCosts `json:"costs,omitempty"` Capabilities *[]ResourceSkuCapabilities `json:"capabilities,omitempty"` Restrictions *[]ResourceSkuRestrictions `json:"restrictions,omitempty"` }
ResourceSku is describes an available Compute SKU.
type ResourceSkuCapabilities ¶
type ResourceSkuCapabilities struct { Name *string `json:"name,omitempty"` Value *string `json:"value,omitempty"` }
ResourceSkuCapabilities is describes The SKU capabilites object.
type ResourceSkuCapacity ¶
type ResourceSkuCapacity struct { Minimum *int64 `json:"minimum,omitempty"` Maximum *int64 `json:"maximum,omitempty"` Default *int64 `json:"default,omitempty"` ScaleType ResourceSkuCapacityScaleType `json:"scaleType,omitempty"` }
ResourceSkuCapacity is describes scaling information of a SKU.
type ResourceSkuCapacityScaleType ¶
type ResourceSkuCapacityScaleType string
ResourceSkuCapacityScaleType enumerates the values for resource sku capacity scale type.
const ( // ResourceSkuCapacityScaleTypeAutomatic specifies the resource sku capacity scale type automatic state for resource // sku capacity scale type. ResourceSkuCapacityScaleTypeAutomatic ResourceSkuCapacityScaleType = "Automatic" // ResourceSkuCapacityScaleTypeManual specifies the resource sku capacity scale type manual state for resource sku // capacity scale type. ResourceSkuCapacityScaleTypeManual ResourceSkuCapacityScaleType = "Manual" // ResourceSkuCapacityScaleTypeNone specifies the resource sku capacity scale type none state for resource sku capacity // scale type. ResourceSkuCapacityScaleTypeNone ResourceSkuCapacityScaleType = "None" )
type ResourceSkuCosts ¶
type ResourceSkuCosts struct { MeterID *string `json:"meterID,omitempty"` Quantity *int64 `json:"quantity,omitempty"` ExtendedUnit *string `json:"extendedUnit,omitempty"` }
ResourceSkuCosts is describes metadata for retrieving price info.
type ResourceSkuRestrictions ¶
type ResourceSkuRestrictions struct { Type ResourceSkuRestrictionsType `json:"type,omitempty"` Values *[]string `json:"values,omitempty"` ReasonCode ResourceSkuRestrictionsReasonCode `json:"reasonCode,omitempty"` }
ResourceSkuRestrictions is describes scaling information of a SKU.
type ResourceSkuRestrictionsReasonCode ¶
type ResourceSkuRestrictionsReasonCode string
ResourceSkuRestrictionsReasonCode enumerates the values for resource sku restrictions reason code.
const ( // NotAvailableForSubscription specifies the not available for subscription state for resource sku restrictions reason // code. NotAvailableForSubscription ResourceSkuRestrictionsReasonCode = "NotAvailableForSubscription" // QuotaID specifies the quota id state for resource sku restrictions reason code. QuotaID ResourceSkuRestrictionsReasonCode = "QuotaId" )
type ResourceSkuRestrictionsType ¶
type ResourceSkuRestrictionsType string
ResourceSkuRestrictionsType enumerates the values for resource sku restrictions type.
const ( // Location specifies the location state for resource sku restrictions type. Location ResourceSkuRestrictionsType = "Location" )
type ResourceSkusClient ¶
type ResourceSkusClient struct {
ManagementClient
}
ResourceSkusClient is the compute Client
func NewResourceSkusClient ¶
func NewResourceSkusClient(subscriptionID string) ResourceSkusClient
NewResourceSkusClient creates an instance of the ResourceSkusClient client.
func NewResourceSkusClientWithBaseURI ¶
func NewResourceSkusClientWithBaseURI(baseURI string, subscriptionID string) ResourceSkusClient
NewResourceSkusClientWithBaseURI creates an instance of the ResourceSkusClient client.
func (ResourceSkusClient) List ¶
func (client ResourceSkusClient) List() (result ResourceSkusResult, err error)
List gets the list of Microsoft.Compute SKUs available for your Subscription.
func (ResourceSkusClient) ListComplete ¶
func (client ResourceSkusClient) ListComplete(cancel <-chan struct{}) (<-chan ResourceSku, <-chan error)
ListComplete gets all elements from the list without paging.
func (ResourceSkusClient) ListNextResults ¶
func (client ResourceSkusClient) ListNextResults(lastResults ResourceSkusResult) (result ResourceSkusResult, err error)
ListNextResults retrieves the next set of results, if any.
func (ResourceSkusClient) ListPreparer ¶
func (client ResourceSkusClient) ListPreparer() (*http.Request, error)
ListPreparer prepares the List request.
func (ResourceSkusClient) ListResponder ¶
func (client ResourceSkusClient) ListResponder(resp *http.Response) (result ResourceSkusResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (ResourceSkusClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type ResourceSkusResult ¶
type ResourceSkusResult struct { autorest.Response `json:"-"` Value *[]ResourceSku `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
ResourceSkusResult is the Compute List Skus operation response.
func (ResourceSkusResult) ResourceSkusResultPreparer ¶
func (client ResourceSkusResult) ResourceSkusResultPreparer() (*http.Request, error)
ResourceSkusResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type ResourceUpdate ¶
type ResourceUpdate struct { Tags *map[string]*string `json:"tags,omitempty"` Sku *DiskSku `json:"sku,omitempty"` }
ResourceUpdate is the Resource model definition.
type RollingUpgradeActionType ¶
type RollingUpgradeActionType string
RollingUpgradeActionType enumerates the values for rolling upgrade action type.
const ( // Cancel specifies the cancel state for rolling upgrade action type. Cancel RollingUpgradeActionType = "Cancel" // Start specifies the start state for rolling upgrade action type. Start RollingUpgradeActionType = "Start" )
type RollingUpgradePolicy ¶
type RollingUpgradePolicy struct { MaxBatchInstancePercent *int32 `json:"maxBatchInstancePercent,omitempty"` MaxUnhealthyInstancePercent *int32 `json:"maxUnhealthyInstancePercent,omitempty"` MaxUnhealthyUpgradedInstancePercent *int32 `json:"maxUnhealthyUpgradedInstancePercent,omitempty"` PauseTimeBetweenBatches *string `json:"pauseTimeBetweenBatches,omitempty"` }
RollingUpgradePolicy is the configuration parameters used while performing a rolling upgrade.
type RollingUpgradeProgressInfo ¶
type RollingUpgradeProgressInfo struct { SuccessfulInstanceCount *int32 `json:"successfulInstanceCount,omitempty"` FailedInstanceCount *int32 `json:"failedInstanceCount,omitempty"` InProgressInstanceCount *int32 `json:"inProgressInstanceCount,omitempty"` PendingInstanceCount *int32 `json:"pendingInstanceCount,omitempty"` }
RollingUpgradeProgressInfo is information about the number of virtual machine instances in each upgrade state.
type RollingUpgradeRunningStatus ¶
type RollingUpgradeRunningStatus struct { Code RollingUpgradeStatusCode `json:"code,omitempty"` StartTime *date.Time `json:"startTime,omitempty"` LastAction RollingUpgradeActionType `json:"lastAction,omitempty"` LastActionTime *date.Time `json:"lastActionTime,omitempty"` }
RollingUpgradeRunningStatus is information about the current running state of the overall upgrade.
type RollingUpgradeStatusCode ¶
type RollingUpgradeStatusCode string
RollingUpgradeStatusCode enumerates the values for rolling upgrade status code.
const ( // Cancelled specifies the cancelled state for rolling upgrade status code. Cancelled RollingUpgradeStatusCode = "Cancelled" // Completed specifies the completed state for rolling upgrade status code. Completed RollingUpgradeStatusCode = "Completed" // Faulted specifies the faulted state for rolling upgrade status code. Faulted RollingUpgradeStatusCode = "Faulted" // RollingForward specifies the rolling forward state for rolling upgrade status code. RollingForward RollingUpgradeStatusCode = "RollingForward" )
type RollingUpgradeStatusInfo ¶
type RollingUpgradeStatusInfo struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Location *string `json:"location,omitempty"` Tags *map[string]*string `json:"tags,omitempty"` *RollingUpgradeStatusInfoProperties `json:"properties,omitempty"` }
RollingUpgradeStatusInfo is the status of the latest virtual machine scale set rolling upgrade.
type RollingUpgradeStatusInfoProperties ¶
type RollingUpgradeStatusInfoProperties struct { Policy *RollingUpgradePolicy `json:"policy,omitempty"` RunningStatus *RollingUpgradeRunningStatus `json:"runningStatus,omitempty"` Progress *RollingUpgradeProgressInfo `json:"progress,omitempty"` Error *APIError `json:"error,omitempty"` }
RollingUpgradeStatusInfoProperties is the status of the latest virtual machine scale set rolling upgrade.
type RunCommandDocument ¶
type RunCommandDocument struct { autorest.Response `json:"-"` Schema *string `json:"$schema,omitempty"` ID *string `json:"id,omitempty"` OsType OperatingSystemTypes `json:"osType,omitempty"` Label *string `json:"label,omitempty"` Description *string `json:"description,omitempty"` Script *[]string `json:"script,omitempty"` Parameters *[]RunCommandParameterDefinition `json:"parameters,omitempty"` }
RunCommandDocument is describes the properties of a Run Command.
type RunCommandDocumentBase ¶
type RunCommandDocumentBase struct { Schema *string `json:"$schema,omitempty"` ID *string `json:"id,omitempty"` OsType OperatingSystemTypes `json:"osType,omitempty"` Label *string `json:"label,omitempty"` Description *string `json:"description,omitempty"` }
RunCommandDocumentBase is describes the properties of a Run Command metadata.
type RunCommandInput ¶
type RunCommandInput struct { CommandID *string `json:"commandId,omitempty"` Script *[]string `json:"script,omitempty"` Parameters *[]RunCommandInputParameter `json:"parameters,omitempty"` }
RunCommandInput is capture Virtual Machine parameters.
type RunCommandInputParameter ¶
type RunCommandInputParameter struct { Name *string `json:"name,omitempty"` Value *string `json:"value,omitempty"` }
RunCommandInputParameter is describes the properties of a run command parameter.
type RunCommandListResult ¶
type RunCommandListResult struct { autorest.Response `json:"-"` Value *[]RunCommandDocumentBase `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
RunCommandListResult is the List Virtual Machine operation response.
func (RunCommandListResult) RunCommandListResultPreparer ¶
func (client RunCommandListResult) RunCommandListResultPreparer() (*http.Request, error)
RunCommandListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type RunCommandParameterDefinition ¶
type RunCommandParameterDefinition struct { Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` DefaultValue *string `json:"defaultValue,omitempty"` Required *bool `json:"required,omitempty"` }
RunCommandParameterDefinition is describes the properties of a run command parameter.
type RunCommandResult ¶
type RunCommandResult struct { autorest.Response `json:"-"` Name *string `json:"name,omitempty"` Status *string `json:"status,omitempty"` StartTime *date.Time `json:"startTime,omitempty"` EndTime *date.Time `json:"endTime,omitempty"` Error *APIError `json:"error,omitempty"` *RunCommandResultProperties `json:"properties,omitempty"` }
RunCommandResult is run command operation response.
type RunCommandResultProperties ¶
type RunCommandResultProperties struct {
Output *map[string]interface{} `json:"output,omitempty"`
}
RunCommandResultProperties is compute-specific operation properties, including output
type SSHConfiguration ¶
type SSHConfiguration struct {
PublicKeys *[]SSHPublicKey `json:"publicKeys,omitempty"`
}
SSHConfiguration is SSH configuration for Linux based VMs running on Azure
type SSHPublicKey ¶
type SSHPublicKey struct { Path *string `json:"path,omitempty"` KeyData *string `json:"keyData,omitempty"` }
SSHPublicKey is contains information about SSH certificate public key and the path on the Linux VM where the public key is placed.
type SettingNames ¶
type SettingNames string
SettingNames enumerates the values for setting names.
const ( // AutoLogon specifies the auto logon state for setting names. AutoLogon SettingNames = "AutoLogon" // FirstLogonCommands specifies the first logon commands state for setting names. FirstLogonCommands SettingNames = "FirstLogonCommands" )
type Sku ¶
type Sku struct { Name *string `json:"name,omitempty"` Tier *string `json:"tier,omitempty"` Capacity *int64 `json:"capacity,omitempty"` }
Sku is describes a virtual machine scale set sku.
type Snapshot ¶
type Snapshot struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Location *string `json:"location,omitempty"` Tags *map[string]*string `json:"tags,omitempty"` ManagedBy *string `json:"managedBy,omitempty"` Sku *DiskSku `json:"sku,omitempty"` *DiskProperties `json:"properties,omitempty"` }
Snapshot is snapshot resource.
type SnapshotList ¶
type SnapshotList struct { autorest.Response `json:"-"` Value *[]Snapshot `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
SnapshotList is the List Snapshots operation response.
func (SnapshotList) SnapshotListPreparer ¶
func (client SnapshotList) SnapshotListPreparer() (*http.Request, error)
SnapshotListPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type SnapshotUpdate ¶
type SnapshotUpdate struct { Tags *map[string]*string `json:"tags,omitempty"` Sku *DiskSku `json:"sku,omitempty"` *DiskUpdateProperties `json:"properties,omitempty"` }
SnapshotUpdate is snapshot update resource.
type SnapshotsClient ¶
type SnapshotsClient struct {
ManagementClient
}
SnapshotsClient is the compute Client
func NewSnapshotsClient ¶
func NewSnapshotsClient(subscriptionID string) SnapshotsClient
NewSnapshotsClient creates an instance of the SnapshotsClient client.
func NewSnapshotsClientWithBaseURI ¶
func NewSnapshotsClientWithBaseURI(baseURI string, subscriptionID string) SnapshotsClient
NewSnapshotsClientWithBaseURI creates an instance of the SnapshotsClient client.
func (SnapshotsClient) CreateOrUpdate ¶
func (client SnapshotsClient) CreateOrUpdate(resourceGroupName string, snapshotName string, snapshot Snapshot, cancel <-chan struct{}) (<-chan Snapshot, <-chan error)
CreateOrUpdate creates or updates a snapshot. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group. snapshotName is the name of the snapshot within the given subscription and resource group. snapshot is snapshot object supplied in the body of the Put disk operation.
func (SnapshotsClient) CreateOrUpdatePreparer ¶
func (client SnapshotsClient) CreateOrUpdatePreparer(resourceGroupName string, snapshotName string, snapshot Snapshot, cancel <-chan struct{}) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (SnapshotsClient) CreateOrUpdateResponder ¶
func (client SnapshotsClient) CreateOrUpdateResponder(resp *http.Response) (result Snapshot, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (SnapshotsClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (SnapshotsClient) Delete ¶
func (client SnapshotsClient) Delete(resourceGroupName string, snapshotName string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)
Delete deletes a snapshot. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group. snapshotName is the name of the snapshot within the given subscription and resource group.
func (SnapshotsClient) DeletePreparer ¶
func (client SnapshotsClient) DeletePreparer(resourceGroupName string, snapshotName string, cancel <-chan struct{}) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (SnapshotsClient) DeleteResponder ¶
func (client SnapshotsClient) DeleteResponder(resp *http.Response) (result OperationStatusResponse, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (SnapshotsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (SnapshotsClient) Get ¶
func (client SnapshotsClient) Get(resourceGroupName string, snapshotName string) (result Snapshot, err error)
Get gets information about a snapshot.
resourceGroupName is the name of the resource group. snapshotName is the name of the snapshot within the given subscription and resource group.
func (SnapshotsClient) GetPreparer ¶
func (client SnapshotsClient) GetPreparer(resourceGroupName string, snapshotName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (SnapshotsClient) GetResponder ¶
func (client SnapshotsClient) GetResponder(resp *http.Response) (result Snapshot, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (SnapshotsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (SnapshotsClient) GrantAccess ¶
func (client SnapshotsClient) GrantAccess(resourceGroupName string, snapshotName string, grantAccessData GrantAccessData, cancel <-chan struct{}) (<-chan AccessURI, <-chan error)
GrantAccess grants access to a snapshot. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group. snapshotName is the name of the snapshot within the given subscription and resource group. grantAccessData is access data object supplied in the body of the get snapshot access operation.
func (SnapshotsClient) GrantAccessPreparer ¶
func (client SnapshotsClient) GrantAccessPreparer(resourceGroupName string, snapshotName string, grantAccessData GrantAccessData, cancel <-chan struct{}) (*http.Request, error)
GrantAccessPreparer prepares the GrantAccess request.
func (SnapshotsClient) GrantAccessResponder ¶
func (client SnapshotsClient) GrantAccessResponder(resp *http.Response) (result AccessURI, err error)
GrantAccessResponder handles the response to the GrantAccess request. The method always closes the http.Response Body.
func (SnapshotsClient) GrantAccessSender ¶
GrantAccessSender sends the GrantAccess request. The method will close the http.Response Body if it receives an error.
func (SnapshotsClient) List ¶
func (client SnapshotsClient) List() (result SnapshotList, err error)
List lists snapshots under a subscription.
func (SnapshotsClient) ListByResourceGroup ¶
func (client SnapshotsClient) ListByResourceGroup(resourceGroupName string) (result SnapshotList, err error)
ListByResourceGroup lists snapshots under a resource group.
resourceGroupName is the name of the resource group.
func (SnapshotsClient) ListByResourceGroupComplete ¶
func (client SnapshotsClient) ListByResourceGroupComplete(resourceGroupName string, cancel <-chan struct{}) (<-chan Snapshot, <-chan error)
ListByResourceGroupComplete gets all elements from the list without paging.
func (SnapshotsClient) ListByResourceGroupNextResults ¶
func (client SnapshotsClient) ListByResourceGroupNextResults(lastResults SnapshotList) (result SnapshotList, err error)
ListByResourceGroupNextResults retrieves the next set of results, if any.
func (SnapshotsClient) ListByResourceGroupPreparer ¶
func (client SnapshotsClient) ListByResourceGroupPreparer(resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (SnapshotsClient) ListByResourceGroupResponder ¶
func (client SnapshotsClient) ListByResourceGroupResponder(resp *http.Response) (result SnapshotList, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (SnapshotsClient) ListByResourceGroupSender ¶
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (SnapshotsClient) ListComplete ¶
func (client SnapshotsClient) ListComplete(cancel <-chan struct{}) (<-chan Snapshot, <-chan error)
ListComplete gets all elements from the list without paging.
func (SnapshotsClient) ListNextResults ¶
func (client SnapshotsClient) ListNextResults(lastResults SnapshotList) (result SnapshotList, err error)
ListNextResults retrieves the next set of results, if any.
func (SnapshotsClient) ListPreparer ¶
func (client SnapshotsClient) ListPreparer() (*http.Request, error)
ListPreparer prepares the List request.
func (SnapshotsClient) ListResponder ¶
func (client SnapshotsClient) ListResponder(resp *http.Response) (result SnapshotList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (SnapshotsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (SnapshotsClient) RevokeAccess ¶
func (client SnapshotsClient) RevokeAccess(resourceGroupName string, snapshotName string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)
RevokeAccess revokes access to a snapshot. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group. snapshotName is the name of the snapshot within the given subscription and resource group.
func (SnapshotsClient) RevokeAccessPreparer ¶
func (client SnapshotsClient) RevokeAccessPreparer(resourceGroupName string, snapshotName string, cancel <-chan struct{}) (*http.Request, error)
RevokeAccessPreparer prepares the RevokeAccess request.
func (SnapshotsClient) RevokeAccessResponder ¶
func (client SnapshotsClient) RevokeAccessResponder(resp *http.Response) (result OperationStatusResponse, err error)
RevokeAccessResponder handles the response to the RevokeAccess request. The method always closes the http.Response Body.
func (SnapshotsClient) RevokeAccessSender ¶
RevokeAccessSender sends the RevokeAccess request. The method will close the http.Response Body if it receives an error.
func (SnapshotsClient) Update ¶
func (client SnapshotsClient) Update(resourceGroupName string, snapshotName string, snapshot SnapshotUpdate, cancel <-chan struct{}) (<-chan Snapshot, <-chan error)
Update updates (patches) a snapshot. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group. snapshotName is the name of the snapshot within the given subscription and resource group. snapshot is snapshot object supplied in the body of the Patch snapshot operation.
func (SnapshotsClient) UpdatePreparer ¶
func (client SnapshotsClient) UpdatePreparer(resourceGroupName string, snapshotName string, snapshot SnapshotUpdate, cancel <-chan struct{}) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (SnapshotsClient) UpdateResponder ¶
func (client SnapshotsClient) UpdateResponder(resp *http.Response) (result Snapshot, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (SnapshotsClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type SourceVault ¶
type SourceVault struct {
ID *string `json:"id,omitempty"`
}
SourceVault is the vault id is an Azure Resource Manager Resoure id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}
type StatusLevelTypes ¶
type StatusLevelTypes string
StatusLevelTypes enumerates the values for status level types.
const ( // Error specifies the error state for status level types. Error StatusLevelTypes = "Error" // Info specifies the info state for status level types. Info StatusLevelTypes = "Info" // Warning specifies the warning state for status level types. Warning StatusLevelTypes = "Warning" )
type StorageAccountTypes ¶
type StorageAccountTypes string
StorageAccountTypes enumerates the values for storage account types.
const ( // PremiumLRS specifies the premium lrs state for storage account types. PremiumLRS StorageAccountTypes = "Premium_LRS" // StandardLRS specifies the standard lrs state for storage account types. StandardLRS StorageAccountTypes = "Standard_LRS" )
type StorageProfile ¶
type StorageProfile struct { ImageReference *ImageReference `json:"imageReference,omitempty"` OsDisk *OSDisk `json:"osDisk,omitempty"` DataDisks *[]DataDisk `json:"dataDisks,omitempty"` }
StorageProfile is specifies the storage settings for the virtual machine disks.
type SubResourceReadOnly ¶
type SubResourceReadOnly struct {
ID *string `json:"id,omitempty"`
}
SubResourceReadOnly is
type UpdateResource ¶
UpdateResource is the Update Resource model definition.
type UpgradeMode ¶
type UpgradeMode string
UpgradeMode enumerates the values for upgrade mode.
const ( // Automatic specifies the automatic state for upgrade mode. Automatic UpgradeMode = "Automatic" // Manual specifies the manual state for upgrade mode. Manual UpgradeMode = "Manual" // Rolling specifies the rolling state for upgrade mode. Rolling UpgradeMode = "Rolling" )
type UpgradePolicy ¶
type UpgradePolicy struct { Mode UpgradeMode `json:"mode,omitempty"` RollingUpgradePolicy *RollingUpgradePolicy `json:"rollingUpgradePolicy,omitempty"` AutomaticOSUpgrade *bool `json:"automaticOSUpgrade,omitempty"` }
UpgradePolicy is describes an upgrade policy - automatic, manual, or rolling.
type Usage ¶
type Usage struct { Unit *string `json:"unit,omitempty"` CurrentValue *int32 `json:"currentValue,omitempty"` Limit *int64 `json:"limit,omitempty"` Name *UsageName `json:"name,omitempty"` }
Usage is describes Compute Resource Usage.
type UsageClient ¶
type UsageClient struct {
ManagementClient
}
UsageClient is the compute Client
func NewUsageClient ¶
func NewUsageClient(subscriptionID string) UsageClient
NewUsageClient creates an instance of the UsageClient client.
func NewUsageClientWithBaseURI ¶
func NewUsageClientWithBaseURI(baseURI string, subscriptionID string) UsageClient
NewUsageClientWithBaseURI creates an instance of the UsageClient client.
func (UsageClient) List ¶
func (client UsageClient) List(location string) (result ListUsagesResult, err error)
List gets, for the specified location, the current compute resource usage information as well as the limits for compute resources under the subscription.
location is the location for which resource usage is queried.
func (UsageClient) ListComplete ¶
func (client UsageClient) ListComplete(location string, cancel <-chan struct{}) (<-chan Usage, <-chan error)
ListComplete gets all elements from the list without paging.
func (UsageClient) ListNextResults ¶
func (client UsageClient) ListNextResults(lastResults ListUsagesResult) (result ListUsagesResult, err error)
ListNextResults retrieves the next set of results, if any.
func (UsageClient) ListPreparer ¶
func (client UsageClient) ListPreparer(location string) (*http.Request, error)
ListPreparer prepares the List request.
func (UsageClient) ListResponder ¶
func (client UsageClient) ListResponder(resp *http.Response) (result ListUsagesResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (UsageClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type UsageName ¶
type UsageName struct { Value *string `json:"value,omitempty"` LocalizedValue *string `json:"localizedValue,omitempty"` }
UsageName is the Usage Names.
type VaultCertificate ¶
type VaultCertificate struct { CertificateURL *string `json:"certificateUrl,omitempty"` CertificateStore *string `json:"certificateStore,omitempty"` }
VaultCertificate is describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM.
type VaultSecretGroup ¶
type VaultSecretGroup struct { SourceVault *SubResource `json:"sourceVault,omitempty"` VaultCertificates *[]VaultCertificate `json:"vaultCertificates,omitempty"` }
VaultSecretGroup is describes a set of certificates which are all in the same Key Vault.
type VirtualHardDisk ¶
type VirtualHardDisk struct {
URI *string `json:"uri,omitempty"`
}
VirtualHardDisk is describes the uri of a disk.
type VirtualMachine ¶
type VirtualMachine struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Location *string `json:"location,omitempty"` Tags *map[string]*string `json:"tags,omitempty"` Plan *Plan `json:"plan,omitempty"` *VirtualMachineProperties `json:"properties,omitempty"` Resources *[]VirtualMachineExtension `json:"resources,omitempty"` Identity *VirtualMachineIdentity `json:"identity,omitempty"` Zones *[]string `json:"zones,omitempty"` }
VirtualMachine is describes a Virtual Machine.
type VirtualMachineAgentInstanceView ¶
type VirtualMachineAgentInstanceView struct { VMAgentVersion *string `json:"vmAgentVersion,omitempty"` ExtensionHandlers *[]VirtualMachineExtensionHandlerInstanceView `json:"extensionHandlers,omitempty"` Statuses *[]InstanceViewStatus `json:"statuses,omitempty"` }
VirtualMachineAgentInstanceView is the instance view of the VM Agent running on the virtual machine.
type VirtualMachineCaptureParameters ¶
type VirtualMachineCaptureParameters struct { VhdPrefix *string `json:"vhdPrefix,omitempty"` DestinationContainerName *string `json:"destinationContainerName,omitempty"` OverwriteVhds *bool `json:"overwriteVhds,omitempty"` }
VirtualMachineCaptureParameters is capture Virtual Machine parameters.
type VirtualMachineCaptureResult ¶
type VirtualMachineCaptureResult struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` *VirtualMachineCaptureResultProperties `json:"properties,omitempty"` }
VirtualMachineCaptureResult is resource Id.
type VirtualMachineCaptureResultProperties ¶
type VirtualMachineCaptureResultProperties struct {
Output *map[string]interface{} `json:"output,omitempty"`
}
VirtualMachineCaptureResultProperties is compute-specific operation properties, including output
type VirtualMachineExtension ¶
type VirtualMachineExtension struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Location *string `json:"location,omitempty"` Tags *map[string]*string `json:"tags,omitempty"` *VirtualMachineExtensionProperties `json:"properties,omitempty"` }
VirtualMachineExtension is describes a Virtual Machine Extension.
type VirtualMachineExtensionHandlerInstanceView ¶
type VirtualMachineExtensionHandlerInstanceView struct { Type *string `json:"type,omitempty"` TypeHandlerVersion *string `json:"typeHandlerVersion,omitempty"` Status *InstanceViewStatus `json:"status,omitempty"` }
VirtualMachineExtensionHandlerInstanceView is the instance view of a virtual machine extension handler.
type VirtualMachineExtensionImage ¶
type VirtualMachineExtensionImage struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Location *string `json:"location,omitempty"` Tags *map[string]*string `json:"tags,omitempty"` *VirtualMachineExtensionImageProperties `json:"properties,omitempty"` }
VirtualMachineExtensionImage is describes a Virtual Machine Extension Image.
type VirtualMachineExtensionImageProperties ¶
type VirtualMachineExtensionImageProperties struct { OperatingSystem *string `json:"operatingSystem,omitempty"` ComputeRole *string `json:"computeRole,omitempty"` HandlerSchema *string `json:"handlerSchema,omitempty"` VMScaleSetEnabled *bool `json:"vmScaleSetEnabled,omitempty"` SupportsMultipleExtensions *bool `json:"supportsMultipleExtensions,omitempty"` }
VirtualMachineExtensionImageProperties is describes the properties of a Virtual Machine Extension Image.
type VirtualMachineExtensionImagesClient ¶
type VirtualMachineExtensionImagesClient struct {
ManagementClient
}
VirtualMachineExtensionImagesClient is the compute Client
func NewVirtualMachineExtensionImagesClient ¶
func NewVirtualMachineExtensionImagesClient(subscriptionID string) VirtualMachineExtensionImagesClient
NewVirtualMachineExtensionImagesClient creates an instance of the VirtualMachineExtensionImagesClient client.
func NewVirtualMachineExtensionImagesClientWithBaseURI ¶
func NewVirtualMachineExtensionImagesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineExtensionImagesClient
NewVirtualMachineExtensionImagesClientWithBaseURI creates an instance of the VirtualMachineExtensionImagesClient client.
func (VirtualMachineExtensionImagesClient) Get ¶
func (client VirtualMachineExtensionImagesClient) Get(location string, publisherName string, typeParameter string, version string) (result VirtualMachineExtensionImage, err error)
Get gets a virtual machine extension image.
location is the name of a supported Azure region.
func (VirtualMachineExtensionImagesClient) GetPreparer ¶
func (client VirtualMachineExtensionImagesClient) GetPreparer(location string, publisherName string, typeParameter string, version string) (*http.Request, error)
GetPreparer prepares the Get request.
func (VirtualMachineExtensionImagesClient) GetResponder ¶
func (client VirtualMachineExtensionImagesClient) GetResponder(resp *http.Response) (result VirtualMachineExtensionImage, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (VirtualMachineExtensionImagesClient) GetSender ¶
func (client VirtualMachineExtensionImagesClient) 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 (VirtualMachineExtensionImagesClient) ListTypes ¶
func (client VirtualMachineExtensionImagesClient) ListTypes(location string, publisherName string) (result ListVirtualMachineExtensionImage, err error)
ListTypes gets a list of virtual machine extension image types.
location is the name of a supported Azure region.
func (VirtualMachineExtensionImagesClient) ListTypesPreparer ¶
func (client VirtualMachineExtensionImagesClient) ListTypesPreparer(location string, publisherName string) (*http.Request, error)
ListTypesPreparer prepares the ListTypes request.
func (VirtualMachineExtensionImagesClient) ListTypesResponder ¶
func (client VirtualMachineExtensionImagesClient) ListTypesResponder(resp *http.Response) (result ListVirtualMachineExtensionImage, err error)
ListTypesResponder handles the response to the ListTypes request. The method always closes the http.Response Body.
func (VirtualMachineExtensionImagesClient) ListTypesSender ¶
func (client VirtualMachineExtensionImagesClient) ListTypesSender(req *http.Request) (*http.Response, error)
ListTypesSender sends the ListTypes request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineExtensionImagesClient) ListVersions ¶
func (client VirtualMachineExtensionImagesClient) ListVersions(location string, publisherName string, typeParameter string, filter string, top *int32, orderby string) (result ListVirtualMachineExtensionImage, err error)
ListVersions gets a list of virtual machine extension image versions.
location is the name of a supported Azure region. filter is the filter to apply on the operation.
func (VirtualMachineExtensionImagesClient) ListVersionsPreparer ¶
func (client VirtualMachineExtensionImagesClient) ListVersionsPreparer(location string, publisherName string, typeParameter string, filter string, top *int32, orderby string) (*http.Request, error)
ListVersionsPreparer prepares the ListVersions request.
func (VirtualMachineExtensionImagesClient) ListVersionsResponder ¶
func (client VirtualMachineExtensionImagesClient) ListVersionsResponder(resp *http.Response) (result ListVirtualMachineExtensionImage, err error)
ListVersionsResponder handles the response to the ListVersions request. The method always closes the http.Response Body.
func (VirtualMachineExtensionImagesClient) ListVersionsSender ¶
func (client VirtualMachineExtensionImagesClient) ListVersionsSender(req *http.Request) (*http.Response, error)
ListVersionsSender sends the ListVersions request. The method will close the http.Response Body if it receives an error.
type VirtualMachineExtensionInstanceView ¶
type VirtualMachineExtensionInstanceView struct { Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` TypeHandlerVersion *string `json:"typeHandlerVersion,omitempty"` Substatuses *[]InstanceViewStatus `json:"substatuses,omitempty"` Statuses *[]InstanceViewStatus `json:"statuses,omitempty"` }
VirtualMachineExtensionInstanceView is the instance view of a virtual machine extension.
type VirtualMachineExtensionProperties ¶
type VirtualMachineExtensionProperties struct { ForceUpdateTag *string `json:"forceUpdateTag,omitempty"` Publisher *string `json:"publisher,omitempty"` Type *string `json:"type,omitempty"` TypeHandlerVersion *string `json:"typeHandlerVersion,omitempty"` AutoUpgradeMinorVersion *bool `json:"autoUpgradeMinorVersion,omitempty"` Settings *map[string]interface{} `json:"settings,omitempty"` ProtectedSettings *map[string]interface{} `json:"protectedSettings,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` InstanceView *VirtualMachineExtensionInstanceView `json:"instanceView,omitempty"` }
VirtualMachineExtensionProperties is describes the properties of a Virtual Machine Extension.
type VirtualMachineExtensionsClient ¶
type VirtualMachineExtensionsClient struct {
ManagementClient
}
VirtualMachineExtensionsClient is the compute Client
func NewVirtualMachineExtensionsClient ¶
func NewVirtualMachineExtensionsClient(subscriptionID string) VirtualMachineExtensionsClient
NewVirtualMachineExtensionsClient creates an instance of the VirtualMachineExtensionsClient client.
func NewVirtualMachineExtensionsClientWithBaseURI ¶
func NewVirtualMachineExtensionsClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineExtensionsClient
NewVirtualMachineExtensionsClientWithBaseURI creates an instance of the VirtualMachineExtensionsClient client.
func (VirtualMachineExtensionsClient) CreateOrUpdate ¶
func (client VirtualMachineExtensionsClient) CreateOrUpdate(resourceGroupName string, VMName string, VMExtensionName string, extensionParameters VirtualMachineExtension, cancel <-chan struct{}) (<-chan VirtualMachineExtension, <-chan error)
CreateOrUpdate the operation to create or update the extension. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group. VMName is the name of the virtual machine where the extension should be create or updated. VMExtensionName is the name of the virtual machine extension. extensionParameters is parameters supplied to the Create Virtual Machine Extension operation.
func (VirtualMachineExtensionsClient) CreateOrUpdatePreparer ¶
func (client VirtualMachineExtensionsClient) CreateOrUpdatePreparer(resourceGroupName string, VMName string, VMExtensionName string, extensionParameters VirtualMachineExtension, cancel <-chan struct{}) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (VirtualMachineExtensionsClient) CreateOrUpdateResponder ¶
func (client VirtualMachineExtensionsClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualMachineExtension, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (VirtualMachineExtensionsClient) CreateOrUpdateSender ¶
func (client VirtualMachineExtensionsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineExtensionsClient) Delete ¶
func (client VirtualMachineExtensionsClient) Delete(resourceGroupName string, VMName string, VMExtensionName string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)
Delete the operation to delete the extension. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group. VMName is the name of the virtual machine where the extension should be deleted. VMExtensionName is the name of the virtual machine extension.
func (VirtualMachineExtensionsClient) DeletePreparer ¶
func (client VirtualMachineExtensionsClient) DeletePreparer(resourceGroupName string, VMName string, VMExtensionName string, cancel <-chan struct{}) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (VirtualMachineExtensionsClient) DeleteResponder ¶
func (client VirtualMachineExtensionsClient) DeleteResponder(resp *http.Response) (result OperationStatusResponse, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (VirtualMachineExtensionsClient) DeleteSender ¶
func (client VirtualMachineExtensionsClient) DeleteSender(req *http.Request) (*http.Response, error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineExtensionsClient) Get ¶
func (client VirtualMachineExtensionsClient) Get(resourceGroupName string, VMName string, VMExtensionName string, expand string) (result VirtualMachineExtension, err error)
Get the operation to get the extension.
resourceGroupName is the name of the resource group. VMName is the name of the virtual machine containing the extension. VMExtensionName is the name of the virtual machine extension. expand is the expand expression to apply on the operation.
func (VirtualMachineExtensionsClient) GetPreparer ¶
func (client VirtualMachineExtensionsClient) GetPreparer(resourceGroupName string, VMName string, VMExtensionName string, expand string) (*http.Request, error)
GetPreparer prepares the Get request.
func (VirtualMachineExtensionsClient) GetResponder ¶
func (client VirtualMachineExtensionsClient) GetResponder(resp *http.Response) (result VirtualMachineExtension, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
type VirtualMachineHealthStatus ¶
type VirtualMachineHealthStatus struct {
Status *InstanceViewStatus `json:"status,omitempty"`
}
VirtualMachineHealthStatus is the health status of the VM.
type VirtualMachineIdentity ¶
type VirtualMachineIdentity struct { PrincipalID *string `json:"principalId,omitempty"` TenantID *string `json:"tenantId,omitempty"` Type ResourceIdentityType `json:"type,omitempty"` }
VirtualMachineIdentity is identity for the virtual machine.
type VirtualMachineImage ¶
type VirtualMachineImage struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Location *string `json:"location,omitempty"` Tags *map[string]*string `json:"tags,omitempty"` *VirtualMachineImageProperties `json:"properties,omitempty"` }
VirtualMachineImage is describes a Virtual Machine Image.
type VirtualMachineImageProperties ¶
type VirtualMachineImageProperties struct { Plan *PurchasePlan `json:"plan,omitempty"` OsDiskImage *OSDiskImage `json:"osDiskImage,omitempty"` DataDiskImages *[]DataDiskImage `json:"dataDiskImages,omitempty"` }
VirtualMachineImageProperties is describes the properties of a Virtual Machine Image.
type VirtualMachineImageResource ¶
type VirtualMachineImageResource struct { ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Location *string `json:"location,omitempty"` Tags *map[string]*string `json:"tags,omitempty"` }
VirtualMachineImageResource is virtual machine image resource information.
type VirtualMachineImagesClient ¶
type VirtualMachineImagesClient struct {
ManagementClient
}
VirtualMachineImagesClient is the compute Client
func NewVirtualMachineImagesClient ¶
func NewVirtualMachineImagesClient(subscriptionID string) VirtualMachineImagesClient
NewVirtualMachineImagesClient creates an instance of the VirtualMachineImagesClient client.
func NewVirtualMachineImagesClientWithBaseURI ¶
func NewVirtualMachineImagesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineImagesClient
NewVirtualMachineImagesClientWithBaseURI creates an instance of the VirtualMachineImagesClient client.
func (VirtualMachineImagesClient) Get ¶
func (client VirtualMachineImagesClient) Get(location string, publisherName string, offer string, skus string, version string) (result VirtualMachineImage, err error)
Get gets a virtual machine image.
location is the name of a supported Azure region. publisherName is a valid image publisher. offer is a valid image publisher offer. skus is a valid image SKU. version is a valid image SKU version.
func (VirtualMachineImagesClient) GetPreparer ¶
func (client VirtualMachineImagesClient) GetPreparer(location string, publisherName string, offer string, skus string, version string) (*http.Request, error)
GetPreparer prepares the Get request.
func (VirtualMachineImagesClient) GetResponder ¶
func (client VirtualMachineImagesClient) GetResponder(resp *http.Response) (result VirtualMachineImage, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (VirtualMachineImagesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineImagesClient) List ¶
func (client VirtualMachineImagesClient) List(location string, publisherName string, offer string, skus string, filter string, top *int32, orderby string) (result ListVirtualMachineImageResource, err error)
List gets a list of all virtual machine image versions for the specified location, publisher, offer, and SKU.
location is the name of a supported Azure region. publisherName is a valid image publisher. offer is a valid image publisher offer. skus is a valid image SKU. filter is the filter to apply on the operation.
func (VirtualMachineImagesClient) ListOffers ¶
func (client VirtualMachineImagesClient) ListOffers(location string, publisherName string) (result ListVirtualMachineImageResource, err error)
ListOffers gets a list of virtual machine image offers for the specified location and publisher.
location is the name of a supported Azure region. publisherName is a valid image publisher.
func (VirtualMachineImagesClient) ListOffersPreparer ¶
func (client VirtualMachineImagesClient) ListOffersPreparer(location string, publisherName string) (*http.Request, error)
ListOffersPreparer prepares the ListOffers request.
func (VirtualMachineImagesClient) ListOffersResponder ¶
func (client VirtualMachineImagesClient) ListOffersResponder(resp *http.Response) (result ListVirtualMachineImageResource, err error)
ListOffersResponder handles the response to the ListOffers request. The method always closes the http.Response Body.
func (VirtualMachineImagesClient) ListOffersSender ¶
func (client VirtualMachineImagesClient) ListOffersSender(req *http.Request) (*http.Response, error)
ListOffersSender sends the ListOffers request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineImagesClient) ListPreparer ¶
func (client VirtualMachineImagesClient) ListPreparer(location string, publisherName string, offer string, skus string, filter string, top *int32, orderby string) (*http.Request, error)
ListPreparer prepares the List request.
func (VirtualMachineImagesClient) ListPublishers ¶
func (client VirtualMachineImagesClient) ListPublishers(location string) (result ListVirtualMachineImageResource, err error)
ListPublishers gets a list of virtual machine image publishers for the specified Azure location.
location is the name of a supported Azure region.
func (VirtualMachineImagesClient) ListPublishersPreparer ¶
func (client VirtualMachineImagesClient) ListPublishersPreparer(location string) (*http.Request, error)
ListPublishersPreparer prepares the ListPublishers request.
func (VirtualMachineImagesClient) ListPublishersResponder ¶
func (client VirtualMachineImagesClient) ListPublishersResponder(resp *http.Response) (result ListVirtualMachineImageResource, err error)
ListPublishersResponder handles the response to the ListPublishers request. The method always closes the http.Response Body.
func (VirtualMachineImagesClient) ListPublishersSender ¶
func (client VirtualMachineImagesClient) ListPublishersSender(req *http.Request) (*http.Response, error)
ListPublishersSender sends the ListPublishers request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineImagesClient) ListResponder ¶
func (client VirtualMachineImagesClient) ListResponder(resp *http.Response) (result ListVirtualMachineImageResource, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (VirtualMachineImagesClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineImagesClient) ListSkus ¶
func (client VirtualMachineImagesClient) ListSkus(location string, publisherName string, offer string) (result ListVirtualMachineImageResource, err error)
ListSkus gets a list of virtual machine image SKUs for the specified location, publisher, and offer.
location is the name of a supported Azure region. publisherName is a valid image publisher. offer is a valid image publisher offer.
func (VirtualMachineImagesClient) ListSkusPreparer ¶
func (client VirtualMachineImagesClient) ListSkusPreparer(location string, publisherName string, offer string) (*http.Request, error)
ListSkusPreparer prepares the ListSkus request.
func (VirtualMachineImagesClient) ListSkusResponder ¶
func (client VirtualMachineImagesClient) ListSkusResponder(resp *http.Response) (result ListVirtualMachineImageResource, err error)
ListSkusResponder handles the response to the ListSkus request. The method always closes the http.Response Body.
func (VirtualMachineImagesClient) ListSkusSender ¶
ListSkusSender sends the ListSkus request. The method will close the http.Response Body if it receives an error.
type VirtualMachineInstanceView ¶
type VirtualMachineInstanceView struct { autorest.Response `json:"-"` PlatformUpdateDomain *int32 `json:"platformUpdateDomain,omitempty"` PlatformFaultDomain *int32 `json:"platformFaultDomain,omitempty"` RdpThumbPrint *string `json:"rdpThumbPrint,omitempty"` VMAgent *VirtualMachineAgentInstanceView `json:"vmAgent,omitempty"` MaintenanceRedeployStatus *MaintenanceRedeployStatus `json:"maintenanceRedeployStatus,omitempty"` Disks *[]DiskInstanceView `json:"disks,omitempty"` Extensions *[]VirtualMachineExtensionInstanceView `json:"extensions,omitempty"` BootDiagnostics *BootDiagnosticsInstanceView `json:"bootDiagnostics,omitempty"` Statuses *[]InstanceViewStatus `json:"statuses,omitempty"` }
VirtualMachineInstanceView is the instance view of a virtual machine.
type VirtualMachineListResult ¶
type VirtualMachineListResult struct { autorest.Response `json:"-"` Value *[]VirtualMachine `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
VirtualMachineListResult is the List Virtual Machine operation response.
func (VirtualMachineListResult) VirtualMachineListResultPreparer ¶
func (client VirtualMachineListResult) VirtualMachineListResultPreparer() (*http.Request, error)
VirtualMachineListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type VirtualMachineProperties ¶
type VirtualMachineProperties struct { HardwareProfile *HardwareProfile `json:"hardwareProfile,omitempty"` StorageProfile *StorageProfile `json:"storageProfile,omitempty"` OsProfile *OSProfile `json:"osProfile,omitempty"` NetworkProfile *NetworkProfile `json:"networkProfile,omitempty"` DiagnosticsProfile *DiagnosticsProfile `json:"diagnosticsProfile,omitempty"` AvailabilitySet *SubResource `json:"availabilitySet,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` InstanceView *VirtualMachineInstanceView `json:"instanceView,omitempty"` LicenseType *string `json:"licenseType,omitempty"` VMID *string `json:"vmId,omitempty"` }
VirtualMachineProperties is describes the properties of a Virtual Machine.
type VirtualMachineRunCommandsClient ¶
type VirtualMachineRunCommandsClient struct {
ManagementClient
}
VirtualMachineRunCommandsClient is the compute Client
func NewVirtualMachineRunCommandsClient ¶
func NewVirtualMachineRunCommandsClient(subscriptionID string) VirtualMachineRunCommandsClient
NewVirtualMachineRunCommandsClient creates an instance of the VirtualMachineRunCommandsClient client.
func NewVirtualMachineRunCommandsClientWithBaseURI ¶
func NewVirtualMachineRunCommandsClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineRunCommandsClient
NewVirtualMachineRunCommandsClientWithBaseURI creates an instance of the VirtualMachineRunCommandsClient client.
func (VirtualMachineRunCommandsClient) Get ¶
func (client VirtualMachineRunCommandsClient) Get(location string, commandID string) (result RunCommandDocument, err error)
Get gets specific run command for a subscription in a location.
location is the location upon which run commands is queried. commandID is the command id.
func (VirtualMachineRunCommandsClient) GetPreparer ¶
func (client VirtualMachineRunCommandsClient) GetPreparer(location string, commandID string) (*http.Request, error)
GetPreparer prepares the Get request.
func (VirtualMachineRunCommandsClient) GetResponder ¶
func (client VirtualMachineRunCommandsClient) GetResponder(resp *http.Response) (result RunCommandDocument, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (VirtualMachineRunCommandsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineRunCommandsClient) List ¶
func (client VirtualMachineRunCommandsClient) List(location string) (result RunCommandListResult, err error)
List lists all available run commands for a subscription in a location.
location is the location upon which run commands is queried.
func (VirtualMachineRunCommandsClient) ListComplete ¶
func (client VirtualMachineRunCommandsClient) ListComplete(location string, cancel <-chan struct{}) (<-chan RunCommandDocumentBase, <-chan error)
ListComplete gets all elements from the list without paging.
func (VirtualMachineRunCommandsClient) ListNextResults ¶
func (client VirtualMachineRunCommandsClient) ListNextResults(lastResults RunCommandListResult) (result RunCommandListResult, err error)
ListNextResults retrieves the next set of results, if any.
func (VirtualMachineRunCommandsClient) ListPreparer ¶
func (client VirtualMachineRunCommandsClient) ListPreparer(location string) (*http.Request, error)
ListPreparer prepares the List request.
func (VirtualMachineRunCommandsClient) ListResponder ¶
func (client VirtualMachineRunCommandsClient) ListResponder(resp *http.Response) (result RunCommandListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (VirtualMachineRunCommandsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type VirtualMachineScaleSet ¶
type VirtualMachineScaleSet struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Location *string `json:"location,omitempty"` Tags *map[string]*string `json:"tags,omitempty"` Sku *Sku `json:"sku,omitempty"` Plan *Plan `json:"plan,omitempty"` *VirtualMachineScaleSetProperties `json:"properties,omitempty"` Identity *VirtualMachineScaleSetIdentity `json:"identity,omitempty"` Zones *[]string `json:"zones,omitempty"` }
VirtualMachineScaleSet is describes a Virtual Machine Scale Set.
type VirtualMachineScaleSetDataDisk ¶
type VirtualMachineScaleSetDataDisk struct { Name *string `json:"name,omitempty"` Lun *int32 `json:"lun,omitempty"` Caching CachingTypes `json:"caching,omitempty"` CreateOption DiskCreateOptionTypes `json:"createOption,omitempty"` DiskSizeGB *int32 `json:"diskSizeGB,omitempty"` ManagedDisk *VirtualMachineScaleSetManagedDiskParameters `json:"managedDisk,omitempty"` }
VirtualMachineScaleSetDataDisk is describes a virtual machine scale set data disk.
type VirtualMachineScaleSetExtension ¶
type VirtualMachineScaleSetExtension struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` *VirtualMachineScaleSetExtensionProperties `json:"properties,omitempty"` }
VirtualMachineScaleSetExtension is describes a Virtual Machine Scale Set Extension.
type VirtualMachineScaleSetExtensionListResult ¶
type VirtualMachineScaleSetExtensionListResult struct { autorest.Response `json:"-"` Value *[]VirtualMachineScaleSetExtension `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
VirtualMachineScaleSetExtensionListResult is the List VM scale set extension operation response.
func (VirtualMachineScaleSetExtensionListResult) VirtualMachineScaleSetExtensionListResultPreparer ¶
func (client VirtualMachineScaleSetExtensionListResult) VirtualMachineScaleSetExtensionListResultPreparer() (*http.Request, error)
VirtualMachineScaleSetExtensionListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type VirtualMachineScaleSetExtensionProfile ¶
type VirtualMachineScaleSetExtensionProfile struct {
Extensions *[]VirtualMachineScaleSetExtension `json:"extensions,omitempty"`
}
VirtualMachineScaleSetExtensionProfile is describes a virtual machine scale set extension profile.
type VirtualMachineScaleSetExtensionProperties ¶
type VirtualMachineScaleSetExtensionProperties struct { ForceUpdateTag *string `json:"forceUpdateTag,omitempty"` Publisher *string `json:"publisher,omitempty"` Type *string `json:"type,omitempty"` TypeHandlerVersion *string `json:"typeHandlerVersion,omitempty"` AutoUpgradeMinorVersion *bool `json:"autoUpgradeMinorVersion,omitempty"` Settings *map[string]interface{} `json:"settings,omitempty"` ProtectedSettings *map[string]interface{} `json:"protectedSettings,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` }
VirtualMachineScaleSetExtensionProperties is describes the properties of a Virtual Machine Scale Set Extension.
type VirtualMachineScaleSetExtensionsClient ¶
type VirtualMachineScaleSetExtensionsClient struct {
ManagementClient
}
VirtualMachineScaleSetExtensionsClient is the compute Client
func NewVirtualMachineScaleSetExtensionsClient ¶
func NewVirtualMachineScaleSetExtensionsClient(subscriptionID string) VirtualMachineScaleSetExtensionsClient
NewVirtualMachineScaleSetExtensionsClient creates an instance of the VirtualMachineScaleSetExtensionsClient client.
func NewVirtualMachineScaleSetExtensionsClientWithBaseURI ¶
func NewVirtualMachineScaleSetExtensionsClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineScaleSetExtensionsClient
NewVirtualMachineScaleSetExtensionsClientWithBaseURI creates an instance of the VirtualMachineScaleSetExtensionsClient client.
func (VirtualMachineScaleSetExtensionsClient) CreateOrUpdate ¶
func (client VirtualMachineScaleSetExtensionsClient) CreateOrUpdate(resourceGroupName string, VMScaleSetName string, vmssExtensionName string, extensionParameters VirtualMachineScaleSetExtension, cancel <-chan struct{}) (<-chan VirtualMachineScaleSetExtension, <-chan error)
CreateOrUpdate the operation to create or update an extension. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set where the extension should be create or updated. vmssExtensionName is the name of the VM scale set extension. extensionParameters is parameters supplied to the Create VM scale set Extension operation.
func (VirtualMachineScaleSetExtensionsClient) CreateOrUpdatePreparer ¶
func (client VirtualMachineScaleSetExtensionsClient) CreateOrUpdatePreparer(resourceGroupName string, VMScaleSetName string, vmssExtensionName string, extensionParameters VirtualMachineScaleSetExtension, cancel <-chan struct{}) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (VirtualMachineScaleSetExtensionsClient) CreateOrUpdateResponder ¶
func (client VirtualMachineScaleSetExtensionsClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualMachineScaleSetExtension, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetExtensionsClient) CreateOrUpdateSender ¶
func (client VirtualMachineScaleSetExtensionsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetExtensionsClient) Delete ¶
func (client VirtualMachineScaleSetExtensionsClient) Delete(resourceGroupName string, VMScaleSetName string, vmssExtensionName string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)
Delete the operation to delete the extension. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set where the extension should be deleted. vmssExtensionName is the name of the VM scale set extension.
func (VirtualMachineScaleSetExtensionsClient) DeletePreparer ¶
func (client VirtualMachineScaleSetExtensionsClient) DeletePreparer(resourceGroupName string, VMScaleSetName string, vmssExtensionName string, cancel <-chan struct{}) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (VirtualMachineScaleSetExtensionsClient) DeleteResponder ¶
func (client VirtualMachineScaleSetExtensionsClient) DeleteResponder(resp *http.Response) (result OperationStatusResponse, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetExtensionsClient) DeleteSender ¶
func (client VirtualMachineScaleSetExtensionsClient) DeleteSender(req *http.Request) (*http.Response, error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetExtensionsClient) Get ¶
func (client VirtualMachineScaleSetExtensionsClient) Get(resourceGroupName string, VMScaleSetName string, vmssExtensionName string, expand string) (result VirtualMachineScaleSetExtension, err error)
Get the operation to get the extension.
resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set containing the extension. vmssExtensionName is the name of the VM scale set extension. expand is the expand expression to apply on the operation.
func (VirtualMachineScaleSetExtensionsClient) GetPreparer ¶
func (client VirtualMachineScaleSetExtensionsClient) GetPreparer(resourceGroupName string, VMScaleSetName string, vmssExtensionName string, expand string) (*http.Request, error)
GetPreparer prepares the Get request.
func (VirtualMachineScaleSetExtensionsClient) GetResponder ¶
func (client VirtualMachineScaleSetExtensionsClient) GetResponder(resp *http.Response) (result VirtualMachineScaleSetExtension, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetExtensionsClient) GetSender ¶
func (client VirtualMachineScaleSetExtensionsClient) 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 (VirtualMachineScaleSetExtensionsClient) List ¶
func (client VirtualMachineScaleSetExtensionsClient) List(resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetExtensionListResult, err error)
List gets a list of all extensions in a VM scale set.
resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set containing the extension.
func (VirtualMachineScaleSetExtensionsClient) ListComplete ¶
func (client VirtualMachineScaleSetExtensionsClient) ListComplete(resourceGroupName string, VMScaleSetName string, cancel <-chan struct{}) (<-chan VirtualMachineScaleSetExtension, <-chan error)
ListComplete gets all elements from the list without paging.
func (VirtualMachineScaleSetExtensionsClient) ListNextResults ¶
func (client VirtualMachineScaleSetExtensionsClient) ListNextResults(lastResults VirtualMachineScaleSetExtensionListResult) (result VirtualMachineScaleSetExtensionListResult, err error)
ListNextResults retrieves the next set of results, if any.
func (VirtualMachineScaleSetExtensionsClient) ListPreparer ¶
func (client VirtualMachineScaleSetExtensionsClient) ListPreparer(resourceGroupName string, VMScaleSetName string) (*http.Request, error)
ListPreparer prepares the List request.
func (VirtualMachineScaleSetExtensionsClient) ListResponder ¶
func (client VirtualMachineScaleSetExtensionsClient) ListResponder(resp *http.Response) (result VirtualMachineScaleSetExtensionListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetExtensionsClient) ListSender ¶
func (client VirtualMachineScaleSetExtensionsClient) 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 VirtualMachineScaleSetIPConfiguration ¶
type VirtualMachineScaleSetIPConfiguration struct { ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` *VirtualMachineScaleSetIPConfigurationProperties `json:"properties,omitempty"` }
VirtualMachineScaleSetIPConfiguration is describes a virtual machine scale set network profile's IP configuration.
type VirtualMachineScaleSetIPConfigurationProperties ¶
type VirtualMachineScaleSetIPConfigurationProperties struct { Subnet *APIEntityReference `json:"subnet,omitempty"` Primary *bool `json:"primary,omitempty"` PublicIPAddressConfiguration *VirtualMachineScaleSetPublicIPAddressConfiguration `json:"publicIPAddressConfiguration,omitempty"` PrivateIPAddressVersion IPVersion `json:"privateIPAddressVersion,omitempty"` ApplicationGatewayBackendAddressPools *[]SubResource `json:"applicationGatewayBackendAddressPools,omitempty"` LoadBalancerBackendAddressPools *[]SubResource `json:"loadBalancerBackendAddressPools,omitempty"` LoadBalancerInboundNatPools *[]SubResource `json:"loadBalancerInboundNatPools,omitempty"` }
VirtualMachineScaleSetIPConfigurationProperties is describes a virtual machine scale set network profile's IP configuration properties.
type VirtualMachineScaleSetIdentity ¶
type VirtualMachineScaleSetIdentity struct { PrincipalID *string `json:"principalId,omitempty"` TenantID *string `json:"tenantId,omitempty"` Type ResourceIdentityType `json:"type,omitempty"` }
VirtualMachineScaleSetIdentity is identity for the virtual machine scale set.
type VirtualMachineScaleSetInstanceView ¶
type VirtualMachineScaleSetInstanceView struct { autorest.Response `json:"-"` VirtualMachine *VirtualMachineScaleSetInstanceViewStatusesSummary `json:"virtualMachine,omitempty"` Extensions *[]VirtualMachineScaleSetVMExtensionsSummary `json:"extensions,omitempty"` Statuses *[]InstanceViewStatus `json:"statuses,omitempty"` }
VirtualMachineScaleSetInstanceView is the instance view of a virtual machine scale set.
type VirtualMachineScaleSetInstanceViewStatusesSummary ¶
type VirtualMachineScaleSetInstanceViewStatusesSummary struct {
StatusesSummary *[]VirtualMachineStatusCodeCount `json:"statusesSummary,omitempty"`
}
VirtualMachineScaleSetInstanceViewStatusesSummary is instance view statuses summary for virtual machines of a virtual machine scale set.
type VirtualMachineScaleSetListResult ¶
type VirtualMachineScaleSetListResult struct { autorest.Response `json:"-"` Value *[]VirtualMachineScaleSet `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
VirtualMachineScaleSetListResult is the List Virtual Machine operation response.
func (VirtualMachineScaleSetListResult) VirtualMachineScaleSetListResultPreparer ¶
func (client VirtualMachineScaleSetListResult) VirtualMachineScaleSetListResultPreparer() (*http.Request, error)
VirtualMachineScaleSetListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type VirtualMachineScaleSetListSkusResult ¶
type VirtualMachineScaleSetListSkusResult struct { autorest.Response `json:"-"` Value *[]VirtualMachineScaleSetSku `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
VirtualMachineScaleSetListSkusResult is the Virtual Machine Scale Set List Skus operation response.
func (VirtualMachineScaleSetListSkusResult) VirtualMachineScaleSetListSkusResultPreparer ¶
func (client VirtualMachineScaleSetListSkusResult) VirtualMachineScaleSetListSkusResultPreparer() (*http.Request, error)
VirtualMachineScaleSetListSkusResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type VirtualMachineScaleSetListWithLinkResult ¶
type VirtualMachineScaleSetListWithLinkResult struct { autorest.Response `json:"-"` Value *[]VirtualMachineScaleSet `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
VirtualMachineScaleSetListWithLinkResult is the List Virtual Machine operation response.
func (VirtualMachineScaleSetListWithLinkResult) VirtualMachineScaleSetListWithLinkResultPreparer ¶
func (client VirtualMachineScaleSetListWithLinkResult) VirtualMachineScaleSetListWithLinkResultPreparer() (*http.Request, error)
VirtualMachineScaleSetListWithLinkResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type VirtualMachineScaleSetManagedDiskParameters ¶
type VirtualMachineScaleSetManagedDiskParameters struct {
StorageAccountType StorageAccountTypes `json:"storageAccountType,omitempty"`
}
VirtualMachineScaleSetManagedDiskParameters is describes the parameters of a ScaleSet managed disk.
type VirtualMachineScaleSetNetworkConfiguration ¶
type VirtualMachineScaleSetNetworkConfiguration struct { ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` *VirtualMachineScaleSetNetworkConfigurationProperties `json:"properties,omitempty"` }
VirtualMachineScaleSetNetworkConfiguration is describes a virtual machine scale set network profile's network configurations.
type VirtualMachineScaleSetNetworkConfigurationDNSSettings ¶
type VirtualMachineScaleSetNetworkConfigurationDNSSettings struct {
DNSServers *[]string `json:"dnsServers,omitempty"`
}
VirtualMachineScaleSetNetworkConfigurationDNSSettings is describes a virtual machines scale sets network configuration's DNS settings.
type VirtualMachineScaleSetNetworkConfigurationProperties ¶
type VirtualMachineScaleSetNetworkConfigurationProperties struct { Primary *bool `json:"primary,omitempty"` EnableAcceleratedNetworking *bool `json:"enableAcceleratedNetworking,omitempty"` NetworkSecurityGroup *SubResource `json:"networkSecurityGroup,omitempty"` DNSSettings *VirtualMachineScaleSetNetworkConfigurationDNSSettings `json:"dnsSettings,omitempty"` IPConfigurations *[]VirtualMachineScaleSetIPConfiguration `json:"ipConfigurations,omitempty"` }
VirtualMachineScaleSetNetworkConfigurationProperties is describes a virtual machine scale set network profile's IP configuration.
type VirtualMachineScaleSetNetworkProfile ¶
type VirtualMachineScaleSetNetworkProfile struct { HealthProbe *APIEntityReference `json:"healthProbe,omitempty"` NetworkInterfaceConfigurations *[]VirtualMachineScaleSetNetworkConfiguration `json:"networkInterfaceConfigurations,omitempty"` }
VirtualMachineScaleSetNetworkProfile is describes a virtual machine scale set network profile.
type VirtualMachineScaleSetOSDisk ¶
type VirtualMachineScaleSetOSDisk struct { Name *string `json:"name,omitempty"` Caching CachingTypes `json:"caching,omitempty"` CreateOption DiskCreateOptionTypes `json:"createOption,omitempty"` OsType OperatingSystemTypes `json:"osType,omitempty"` Image *VirtualHardDisk `json:"image,omitempty"` VhdContainers *[]string `json:"vhdContainers,omitempty"` ManagedDisk *VirtualMachineScaleSetManagedDiskParameters `json:"managedDisk,omitempty"` }
VirtualMachineScaleSetOSDisk is describes a virtual machine scale set operating system disk.
type VirtualMachineScaleSetOSProfile ¶
type VirtualMachineScaleSetOSProfile struct { ComputerNamePrefix *string `json:"computerNamePrefix,omitempty"` AdminUsername *string `json:"adminUsername,omitempty"` AdminPassword *string `json:"adminPassword,omitempty"` CustomData *string `json:"customData,omitempty"` WindowsConfiguration *WindowsConfiguration `json:"windowsConfiguration,omitempty"` LinuxConfiguration *LinuxConfiguration `json:"linuxConfiguration,omitempty"` Secrets *[]VaultSecretGroup `json:"secrets,omitempty"` }
VirtualMachineScaleSetOSProfile is describes a virtual machine scale set OS profile.
type VirtualMachineScaleSetProperties ¶
type VirtualMachineScaleSetProperties struct { UpgradePolicy *UpgradePolicy `json:"upgradePolicy,omitempty"` VirtualMachineProfile *VirtualMachineScaleSetVMProfile `json:"virtualMachineProfile,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` Overprovision *bool `json:"overprovision,omitempty"` UniqueID *string `json:"uniqueId,omitempty"` SinglePlacementGroup *bool `json:"singlePlacementGroup,omitempty"` }
VirtualMachineScaleSetProperties is describes the properties of a Virtual Machine Scale Set.
type VirtualMachineScaleSetPublicIPAddressConfiguration ¶
type VirtualMachineScaleSetPublicIPAddressConfiguration struct { Name *string `json:"name,omitempty"` *VirtualMachineScaleSetPublicIPAddressConfigurationProperties `json:"properties,omitempty"` }
VirtualMachineScaleSetPublicIPAddressConfiguration is describes a virtual machines scale set IP Configuration's PublicIPAddress configuration
type VirtualMachineScaleSetPublicIPAddressConfigurationDNSSettings ¶
type VirtualMachineScaleSetPublicIPAddressConfigurationDNSSettings struct {
DomainNameLabel *string `json:"domainNameLabel,omitempty"`
}
VirtualMachineScaleSetPublicIPAddressConfigurationDNSSettings is describes a virtual machines scale sets network configuration's DNS settings.
type VirtualMachineScaleSetPublicIPAddressConfigurationProperties ¶
type VirtualMachineScaleSetPublicIPAddressConfigurationProperties struct { IdleTimeoutInMinutes *int32 `json:"idleTimeoutInMinutes,omitempty"` DNSSettings *VirtualMachineScaleSetPublicIPAddressConfigurationDNSSettings `json:"dnsSettings,omitempty"` }
VirtualMachineScaleSetPublicIPAddressConfigurationProperties is describes a virtual machines scale set IP Configuration's PublicIPAddress configuration
type VirtualMachineScaleSetRollingUpgradesClient ¶
type VirtualMachineScaleSetRollingUpgradesClient struct {
ManagementClient
}
VirtualMachineScaleSetRollingUpgradesClient is the compute Client
func NewVirtualMachineScaleSetRollingUpgradesClient ¶
func NewVirtualMachineScaleSetRollingUpgradesClient(subscriptionID string) VirtualMachineScaleSetRollingUpgradesClient
NewVirtualMachineScaleSetRollingUpgradesClient creates an instance of the VirtualMachineScaleSetRollingUpgradesClient client.
func NewVirtualMachineScaleSetRollingUpgradesClientWithBaseURI ¶
func NewVirtualMachineScaleSetRollingUpgradesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineScaleSetRollingUpgradesClient
NewVirtualMachineScaleSetRollingUpgradesClientWithBaseURI creates an instance of the VirtualMachineScaleSetRollingUpgradesClient client.
func (VirtualMachineScaleSetRollingUpgradesClient) Cancel ¶
func (client VirtualMachineScaleSetRollingUpgradesClient) Cancel(resourceGroupName string, VMScaleSetName string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)
Cancel cancels the current virtual machine scale set rolling upgrade. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set.
func (VirtualMachineScaleSetRollingUpgradesClient) CancelPreparer ¶
func (client VirtualMachineScaleSetRollingUpgradesClient) CancelPreparer(resourceGroupName string, VMScaleSetName string, cancel <-chan struct{}) (*http.Request, error)
CancelPreparer prepares the Cancel request.
func (VirtualMachineScaleSetRollingUpgradesClient) CancelResponder ¶
func (client VirtualMachineScaleSetRollingUpgradesClient) CancelResponder(resp *http.Response) (result OperationStatusResponse, err error)
CancelResponder handles the response to the Cancel request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetRollingUpgradesClient) CancelSender ¶
func (client VirtualMachineScaleSetRollingUpgradesClient) CancelSender(req *http.Request) (*http.Response, error)
CancelSender sends the Cancel request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetRollingUpgradesClient) GetLatest ¶
func (client VirtualMachineScaleSetRollingUpgradesClient) GetLatest(resourceGroupName string, VMScaleSetName string) (result RollingUpgradeStatusInfo, err error)
GetLatest gets the status of the latest virtual machine scale set rolling upgrade.
resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set.
func (VirtualMachineScaleSetRollingUpgradesClient) GetLatestPreparer ¶
func (client VirtualMachineScaleSetRollingUpgradesClient) GetLatestPreparer(resourceGroupName string, VMScaleSetName string) (*http.Request, error)
GetLatestPreparer prepares the GetLatest request.
func (VirtualMachineScaleSetRollingUpgradesClient) GetLatestResponder ¶
func (client VirtualMachineScaleSetRollingUpgradesClient) GetLatestResponder(resp *http.Response) (result RollingUpgradeStatusInfo, err error)
GetLatestResponder handles the response to the GetLatest request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetRollingUpgradesClient) GetLatestSender ¶
func (client VirtualMachineScaleSetRollingUpgradesClient) GetLatestSender(req *http.Request) (*http.Response, error)
GetLatestSender sends the GetLatest request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgrade ¶
func (client VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgrade(resourceGroupName string, VMScaleSetName string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)
StartOSUpgrade starts a rolling upgrade to move all virtual machine scale set instances to the latest available Platform Image OS version. Instances which are already running the latest available OS version are not affected. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set.
func (VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgradePreparer ¶
func (client VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgradePreparer(resourceGroupName string, VMScaleSetName string, cancel <-chan struct{}) (*http.Request, error)
StartOSUpgradePreparer prepares the StartOSUpgrade request.
func (VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgradeResponder ¶
func (client VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgradeResponder(resp *http.Response) (result OperationStatusResponse, err error)
StartOSUpgradeResponder handles the response to the StartOSUpgrade request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgradeSender ¶
func (client VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgradeSender(req *http.Request) (*http.Response, error)
StartOSUpgradeSender sends the StartOSUpgrade request. The method will close the http.Response Body if it receives an error.
type VirtualMachineScaleSetSku ¶
type VirtualMachineScaleSetSku struct { ResourceType *string `json:"resourceType,omitempty"` Sku *Sku `json:"sku,omitempty"` Capacity *VirtualMachineScaleSetSkuCapacity `json:"capacity,omitempty"` }
VirtualMachineScaleSetSku is describes an available virtual machine scale set sku.
type VirtualMachineScaleSetSkuCapacity ¶
type VirtualMachineScaleSetSkuCapacity struct { Minimum *int64 `json:"minimum,omitempty"` Maximum *int64 `json:"maximum,omitempty"` DefaultCapacity *int64 `json:"defaultCapacity,omitempty"` ScaleType VirtualMachineScaleSetSkuScaleType `json:"scaleType,omitempty"` }
VirtualMachineScaleSetSkuCapacity is describes scaling information of a sku.
type VirtualMachineScaleSetSkuScaleType ¶
type VirtualMachineScaleSetSkuScaleType string
VirtualMachineScaleSetSkuScaleType enumerates the values for virtual machine scale set sku scale type.
const ( // VirtualMachineScaleSetSkuScaleTypeAutomatic specifies the virtual machine scale set sku scale type automatic state // for virtual machine scale set sku scale type. VirtualMachineScaleSetSkuScaleTypeAutomatic VirtualMachineScaleSetSkuScaleType = "Automatic" // VirtualMachineScaleSetSkuScaleTypeNone specifies the virtual machine scale set sku scale type none state for virtual // machine scale set sku scale type. VirtualMachineScaleSetSkuScaleTypeNone VirtualMachineScaleSetSkuScaleType = "None" )
type VirtualMachineScaleSetStorageProfile ¶
type VirtualMachineScaleSetStorageProfile struct { ImageReference *ImageReference `json:"imageReference,omitempty"` OsDisk *VirtualMachineScaleSetOSDisk `json:"osDisk,omitempty"` DataDisks *[]VirtualMachineScaleSetDataDisk `json:"dataDisks,omitempty"` }
VirtualMachineScaleSetStorageProfile is describes a virtual machine scale set storage profile.
type VirtualMachineScaleSetUpdate ¶
type VirtualMachineScaleSetUpdate struct { Tags *map[string]*string `json:"tags,omitempty"` Sku *Sku `json:"sku,omitempty"` Plan *Plan `json:"plan,omitempty"` *VirtualMachineScaleSetUpdateProperties `json:"properties,omitempty"` Identity *VirtualMachineScaleSetIdentity `json:"identity,omitempty"` }
VirtualMachineScaleSetUpdate is describes a Virtual Machine Scale Set.
type VirtualMachineScaleSetUpdateIPConfiguration ¶
type VirtualMachineScaleSetUpdateIPConfiguration struct { ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` *VirtualMachineScaleSetUpdateIPConfigurationProperties `json:"properties,omitempty"` }
VirtualMachineScaleSetUpdateIPConfiguration is describes a virtual machine scale set network profile's IP configuration.
type VirtualMachineScaleSetUpdateIPConfigurationProperties ¶
type VirtualMachineScaleSetUpdateIPConfigurationProperties struct { Subnet *APIEntityReference `json:"subnet,omitempty"` Primary *bool `json:"primary,omitempty"` PublicIPAddressConfiguration *VirtualMachineScaleSetUpdatePublicIPAddressConfiguration `json:"publicIPAddressConfiguration,omitempty"` PrivateIPAddressVersion IPVersion `json:"privateIPAddressVersion,omitempty"` ApplicationGatewayBackendAddressPools *[]SubResource `json:"applicationGatewayBackendAddressPools,omitempty"` LoadBalancerBackendAddressPools *[]SubResource `json:"loadBalancerBackendAddressPools,omitempty"` LoadBalancerInboundNatPools *[]SubResource `json:"loadBalancerInboundNatPools,omitempty"` }
VirtualMachineScaleSetUpdateIPConfigurationProperties is describes a virtual machine scale set network profile's IP configuration properties.
type VirtualMachineScaleSetUpdateNetworkConfiguration ¶
type VirtualMachineScaleSetUpdateNetworkConfiguration struct { ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` *VirtualMachineScaleSetUpdateNetworkConfigurationProperties `json:"properties,omitempty"` }
VirtualMachineScaleSetUpdateNetworkConfiguration is describes a virtual machine scale set network profile's network configurations.
type VirtualMachineScaleSetUpdateNetworkConfigurationProperties ¶
type VirtualMachineScaleSetUpdateNetworkConfigurationProperties struct { Primary *bool `json:"primary,omitempty"` EnableAcceleratedNetworking *bool `json:"enableAcceleratedNetworking,omitempty"` NetworkSecurityGroup *SubResource `json:"networkSecurityGroup,omitempty"` DNSSettings *VirtualMachineScaleSetNetworkConfigurationDNSSettings `json:"dnsSettings,omitempty"` IPConfigurations *[]VirtualMachineScaleSetUpdateIPConfiguration `json:"ipConfigurations,omitempty"` }
VirtualMachineScaleSetUpdateNetworkConfigurationProperties is describes a virtual machine scale set updatable network profile's IP configuration.Use this object for updating network profile's IP Configuration.
type VirtualMachineScaleSetUpdateNetworkProfile ¶
type VirtualMachineScaleSetUpdateNetworkProfile struct {
NetworkInterfaceConfigurations *[]VirtualMachineScaleSetUpdateNetworkConfiguration `json:"networkInterfaceConfigurations,omitempty"`
}
VirtualMachineScaleSetUpdateNetworkProfile is describes a virtual machine scale set network profile.
type VirtualMachineScaleSetUpdateOSDisk ¶
type VirtualMachineScaleSetUpdateOSDisk struct { Caching CachingTypes `json:"caching,omitempty"` Image *VirtualHardDisk `json:"image,omitempty"` VhdContainers *[]string `json:"vhdContainers,omitempty"` ManagedDisk *VirtualMachineScaleSetManagedDiskParameters `json:"managedDisk,omitempty"` }
VirtualMachineScaleSetUpdateOSDisk is describes virtual machine scale set operating system disk Update Object. This should be used for Updating VMSS OS Disk.
type VirtualMachineScaleSetUpdateOSProfile ¶
type VirtualMachineScaleSetUpdateOSProfile struct { CustomData *string `json:"customData,omitempty"` WindowsConfiguration *WindowsConfiguration `json:"windowsConfiguration,omitempty"` LinuxConfiguration *LinuxConfiguration `json:"linuxConfiguration,omitempty"` Secrets *[]VaultSecretGroup `json:"secrets,omitempty"` }
VirtualMachineScaleSetUpdateOSProfile is describes a virtual machine scale set OS profile.
type VirtualMachineScaleSetUpdateProperties ¶
type VirtualMachineScaleSetUpdateProperties struct { UpgradePolicy *UpgradePolicy `json:"upgradePolicy,omitempty"` VirtualMachineProfile *VirtualMachineScaleSetUpdateVMProfile `json:"virtualMachineProfile,omitempty"` Overprovision *bool `json:"overprovision,omitempty"` SinglePlacementGroup *bool `json:"singlePlacementGroup,omitempty"` }
VirtualMachineScaleSetUpdateProperties is describes the properties of a Virtual Machine Scale Set.
type VirtualMachineScaleSetUpdatePublicIPAddressConfiguration ¶
type VirtualMachineScaleSetUpdatePublicIPAddressConfiguration struct { Name *string `json:"name,omitempty"` *VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties `json:"properties,omitempty"` }
VirtualMachineScaleSetUpdatePublicIPAddressConfiguration is describes a virtual machines scale set IP Configuration's PublicIPAddress configuration
type VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties ¶
type VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties struct { IdleTimeoutInMinutes *int32 `json:"idleTimeoutInMinutes,omitempty"` DNSSettings *VirtualMachineScaleSetPublicIPAddressConfigurationDNSSettings `json:"dnsSettings,omitempty"` }
VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties is describes a virtual machines scale set IP Configuration's PublicIPAddress configuration
type VirtualMachineScaleSetUpdateStorageProfile ¶
type VirtualMachineScaleSetUpdateStorageProfile struct { ImageReference *ImageReference `json:"imageReference,omitempty"` OsDisk *VirtualMachineScaleSetUpdateOSDisk `json:"osDisk,omitempty"` DataDisks *[]VirtualMachineScaleSetDataDisk `json:"dataDisks,omitempty"` }
VirtualMachineScaleSetUpdateStorageProfile is describes a virtual machine scale set storage profile.
type VirtualMachineScaleSetUpdateVMProfile ¶
type VirtualMachineScaleSetUpdateVMProfile struct { OsProfile *VirtualMachineScaleSetUpdateOSProfile `json:"osProfile,omitempty"` StorageProfile *VirtualMachineScaleSetUpdateStorageProfile `json:"storageProfile,omitempty"` NetworkProfile *VirtualMachineScaleSetUpdateNetworkProfile `json:"networkProfile,omitempty"` DiagnosticsProfile *DiagnosticsProfile `json:"diagnosticsProfile,omitempty"` ExtensionProfile *VirtualMachineScaleSetExtensionProfile `json:"extensionProfile,omitempty"` LicenseType *string `json:"licenseType,omitempty"` }
VirtualMachineScaleSetUpdateVMProfile is describes a virtual machine scale set virtual machine profile.
type VirtualMachineScaleSetVM ¶
type VirtualMachineScaleSetVM struct { autorest.Response `json:"-"` ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Location *string `json:"location,omitempty"` Tags *map[string]*string `json:"tags,omitempty"` InstanceID *string `json:"instanceId,omitempty"` Sku *Sku `json:"sku,omitempty"` *VirtualMachineScaleSetVMProperties `json:"properties,omitempty"` Plan *Plan `json:"plan,omitempty"` Resources *[]VirtualMachineExtension `json:"resources,omitempty"` }
VirtualMachineScaleSetVM is describes a virtual machine scale set virtual machine.
type VirtualMachineScaleSetVMExtensionsSummary ¶
type VirtualMachineScaleSetVMExtensionsSummary struct { Name *string `json:"name,omitempty"` StatusesSummary *[]VirtualMachineStatusCodeCount `json:"statusesSummary,omitempty"` }
VirtualMachineScaleSetVMExtensionsSummary is extensions summary for virtual machines of a virtual machine scale set.
type VirtualMachineScaleSetVMInstanceIDs ¶
type VirtualMachineScaleSetVMInstanceIDs struct {
InstanceIds *[]string `json:"instanceIds,omitempty"`
}
VirtualMachineScaleSetVMInstanceIDs is specifies a list of virtual machine instance IDs from the VM scale set.
type VirtualMachineScaleSetVMInstanceRequiredIDs ¶
type VirtualMachineScaleSetVMInstanceRequiredIDs struct {
InstanceIds *[]string `json:"instanceIds,omitempty"`
}
VirtualMachineScaleSetVMInstanceRequiredIDs is specifies a list of virtual machine instance IDs from the VM scale set.
type VirtualMachineScaleSetVMInstanceView ¶
type VirtualMachineScaleSetVMInstanceView struct { autorest.Response `json:"-"` PlatformUpdateDomain *int32 `json:"platformUpdateDomain,omitempty"` PlatformFaultDomain *int32 `json:"platformFaultDomain,omitempty"` RdpThumbPrint *string `json:"rdpThumbPrint,omitempty"` VMAgent *VirtualMachineAgentInstanceView `json:"vmAgent,omitempty"` Disks *[]DiskInstanceView `json:"disks,omitempty"` Extensions *[]VirtualMachineExtensionInstanceView `json:"extensions,omitempty"` VMHealth *VirtualMachineHealthStatus `json:"vmHealth,omitempty"` BootDiagnostics *BootDiagnosticsInstanceView `json:"bootDiagnostics,omitempty"` Statuses *[]InstanceViewStatus `json:"statuses,omitempty"` PlacementGroupID *string `json:"placementGroupId,omitempty"` }
VirtualMachineScaleSetVMInstanceView is the instance view of a virtual machine scale set VM.
type VirtualMachineScaleSetVMListResult ¶
type VirtualMachineScaleSetVMListResult struct { autorest.Response `json:"-"` Value *[]VirtualMachineScaleSetVM `json:"value,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
VirtualMachineScaleSetVMListResult is the List Virtual Machine Scale Set VMs operation response.
func (VirtualMachineScaleSetVMListResult) VirtualMachineScaleSetVMListResultPreparer ¶
func (client VirtualMachineScaleSetVMListResult) VirtualMachineScaleSetVMListResultPreparer() (*http.Request, error)
VirtualMachineScaleSetVMListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.
type VirtualMachineScaleSetVMProfile ¶
type VirtualMachineScaleSetVMProfile struct { OsProfile *VirtualMachineScaleSetOSProfile `json:"osProfile,omitempty"` StorageProfile *VirtualMachineScaleSetStorageProfile `json:"storageProfile,omitempty"` NetworkProfile *VirtualMachineScaleSetNetworkProfile `json:"networkProfile,omitempty"` DiagnosticsProfile *DiagnosticsProfile `json:"diagnosticsProfile,omitempty"` ExtensionProfile *VirtualMachineScaleSetExtensionProfile `json:"extensionProfile,omitempty"` LicenseType *string `json:"licenseType,omitempty"` }
VirtualMachineScaleSetVMProfile is describes a virtual machine scale set virtual machine profile.
type VirtualMachineScaleSetVMProperties ¶
type VirtualMachineScaleSetVMProperties struct { LatestModelApplied *bool `json:"latestModelApplied,omitempty"` VMID *string `json:"vmId,omitempty"` InstanceView *VirtualMachineInstanceView `json:"instanceView,omitempty"` HardwareProfile *HardwareProfile `json:"hardwareProfile,omitempty"` StorageProfile *StorageProfile `json:"storageProfile,omitempty"` OsProfile *OSProfile `json:"osProfile,omitempty"` NetworkProfile *NetworkProfile `json:"networkProfile,omitempty"` DiagnosticsProfile *DiagnosticsProfile `json:"diagnosticsProfile,omitempty"` AvailabilitySet *SubResource `json:"availabilitySet,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` LicenseType *string `json:"licenseType,omitempty"` }
VirtualMachineScaleSetVMProperties is describes the properties of a virtual machine scale set virtual machine.
type VirtualMachineScaleSetVMsClient ¶
type VirtualMachineScaleSetVMsClient struct {
ManagementClient
}
VirtualMachineScaleSetVMsClient is the compute Client
func NewVirtualMachineScaleSetVMsClient ¶
func NewVirtualMachineScaleSetVMsClient(subscriptionID string) VirtualMachineScaleSetVMsClient
NewVirtualMachineScaleSetVMsClient creates an instance of the VirtualMachineScaleSetVMsClient client.
func NewVirtualMachineScaleSetVMsClientWithBaseURI ¶
func NewVirtualMachineScaleSetVMsClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineScaleSetVMsClient
NewVirtualMachineScaleSetVMsClientWithBaseURI creates an instance of the VirtualMachineScaleSetVMsClient client.
func (VirtualMachineScaleSetVMsClient) Deallocate ¶
func (client VirtualMachineScaleSetVMsClient) Deallocate(resourceGroupName string, VMScaleSetName string, instanceID string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)
Deallocate deallocates a specific virtual machine in a VM scale set. Shuts down the virtual machine and releases the compute resources it uses. You are not billed for the compute resources of this virtual machine once it is deallocated. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set. instanceID is the instance ID of the virtual machine.
func (VirtualMachineScaleSetVMsClient) DeallocatePreparer ¶
func (client VirtualMachineScaleSetVMsClient) DeallocatePreparer(resourceGroupName string, VMScaleSetName string, instanceID string, cancel <-chan struct{}) (*http.Request, error)
DeallocatePreparer prepares the Deallocate request.
func (VirtualMachineScaleSetVMsClient) DeallocateResponder ¶
func (client VirtualMachineScaleSetVMsClient) DeallocateResponder(resp *http.Response) (result OperationStatusResponse, err error)
DeallocateResponder handles the response to the Deallocate request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetVMsClient) DeallocateSender ¶
func (client VirtualMachineScaleSetVMsClient) DeallocateSender(req *http.Request) (*http.Response, error)
DeallocateSender sends the Deallocate request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetVMsClient) Delete ¶
func (client VirtualMachineScaleSetVMsClient) Delete(resourceGroupName string, VMScaleSetName string, instanceID string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)
Delete deletes a virtual machine from a VM scale set. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set. instanceID is the instance ID of the virtual machine.
func (VirtualMachineScaleSetVMsClient) DeletePreparer ¶
func (client VirtualMachineScaleSetVMsClient) DeletePreparer(resourceGroupName string, VMScaleSetName string, instanceID string, cancel <-chan struct{}) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (VirtualMachineScaleSetVMsClient) DeleteResponder ¶
func (client VirtualMachineScaleSetVMsClient) DeleteResponder(resp *http.Response) (result OperationStatusResponse, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetVMsClient) DeleteSender ¶
func (client VirtualMachineScaleSetVMsClient) DeleteSender(req *http.Request) (*http.Response, error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetVMsClient) Get ¶
func (client VirtualMachineScaleSetVMsClient) Get(resourceGroupName string, VMScaleSetName string, instanceID string) (result VirtualMachineScaleSetVM, err error)
Get gets a virtual machine from a VM scale set.
resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set. instanceID is the instance ID of the virtual machine.
func (VirtualMachineScaleSetVMsClient) GetInstanceView ¶
func (client VirtualMachineScaleSetVMsClient) GetInstanceView(resourceGroupName string, VMScaleSetName string, instanceID string) (result VirtualMachineScaleSetVMInstanceView, err error)
GetInstanceView gets the status of a virtual machine from a VM scale set.
resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set. instanceID is the instance ID of the virtual machine.
func (VirtualMachineScaleSetVMsClient) GetInstanceViewPreparer ¶
func (client VirtualMachineScaleSetVMsClient) GetInstanceViewPreparer(resourceGroupName string, VMScaleSetName string, instanceID string) (*http.Request, error)
GetInstanceViewPreparer prepares the GetInstanceView request.
func (VirtualMachineScaleSetVMsClient) GetInstanceViewResponder ¶
func (client VirtualMachineScaleSetVMsClient) GetInstanceViewResponder(resp *http.Response) (result VirtualMachineScaleSetVMInstanceView, err error)
GetInstanceViewResponder handles the response to the GetInstanceView request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetVMsClient) GetInstanceViewSender ¶
func (client VirtualMachineScaleSetVMsClient) GetInstanceViewSender(req *http.Request) (*http.Response, error)
GetInstanceViewSender sends the GetInstanceView request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetVMsClient) GetPreparer ¶
func (client VirtualMachineScaleSetVMsClient) GetPreparer(resourceGroupName string, VMScaleSetName string, instanceID string) (*http.Request, error)
GetPreparer prepares the Get request.
func (VirtualMachineScaleSetVMsClient) GetResponder ¶
func (client VirtualMachineScaleSetVMsClient) GetResponder(resp *http.Response) (result VirtualMachineScaleSetVM, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetVMsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetVMsClient) List ¶
func (client VirtualMachineScaleSetVMsClient) List(resourceGroupName string, virtualMachineScaleSetName string, filter string, selectParameter string, expand string) (result VirtualMachineScaleSetVMListResult, err error)
List gets a list of all virtual machines in a VM scale sets.
resourceGroupName is the name of the resource group. virtualMachineScaleSetName is the name of the VM scale set. filter is the filter to apply to the operation. selectParameter is the list parameters. expand is the expand expression to apply to the operation.
func (VirtualMachineScaleSetVMsClient) ListComplete ¶
func (client VirtualMachineScaleSetVMsClient) ListComplete(resourceGroupName string, virtualMachineScaleSetName string, filter string, selectParameter string, expand string, cancel <-chan struct{}) (<-chan VirtualMachineScaleSetVM, <-chan error)
ListComplete gets all elements from the list without paging.
func (VirtualMachineScaleSetVMsClient) ListNextResults ¶
func (client VirtualMachineScaleSetVMsClient) ListNextResults(lastResults VirtualMachineScaleSetVMListResult) (result VirtualMachineScaleSetVMListResult, err error)
ListNextResults retrieves the next set of results, if any.
func (VirtualMachineScaleSetVMsClient) ListPreparer ¶
func (client VirtualMachineScaleSetVMsClient) ListPreparer(resourceGroupName string, virtualMachineScaleSetName string, filter string, selectParameter string, expand string) (*http.Request, error)
ListPreparer prepares the List request.
func (VirtualMachineScaleSetVMsClient) ListResponder ¶
func (client VirtualMachineScaleSetVMsClient) ListResponder(resp *http.Response) (result VirtualMachineScaleSetVMListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetVMsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetVMsClient) PowerOff ¶
func (client VirtualMachineScaleSetVMsClient) PowerOff(resourceGroupName string, VMScaleSetName string, instanceID string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)
PowerOff power off (stop) a virtual machine in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set. instanceID is the instance ID of the virtual machine.
func (VirtualMachineScaleSetVMsClient) PowerOffPreparer ¶
func (client VirtualMachineScaleSetVMsClient) PowerOffPreparer(resourceGroupName string, VMScaleSetName string, instanceID string, cancel <-chan struct{}) (*http.Request, error)
PowerOffPreparer prepares the PowerOff request.
func (VirtualMachineScaleSetVMsClient) PowerOffResponder ¶
func (client VirtualMachineScaleSetVMsClient) PowerOffResponder(resp *http.Response) (result OperationStatusResponse, err error)
PowerOffResponder handles the response to the PowerOff request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetVMsClient) PowerOffSender ¶
func (client VirtualMachineScaleSetVMsClient) PowerOffSender(req *http.Request) (*http.Response, error)
PowerOffSender sends the PowerOff request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetVMsClient) Reimage ¶
func (client VirtualMachineScaleSetVMsClient) Reimage(resourceGroupName string, VMScaleSetName string, instanceID string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)
Reimage reimages (upgrade the operating system) a specific virtual machine in a VM scale set. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set. instanceID is the instance ID of the virtual machine.
func (VirtualMachineScaleSetVMsClient) ReimageAll ¶
func (client VirtualMachineScaleSetVMsClient) ReimageAll(resourceGroupName string, VMScaleSetName string, instanceID string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)
ReimageAll allows you to re-image all the disks ( including data disks ) in the a VM scale set instance. This operation is only supported for managed disks. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set. instanceID is the instance ID of the virtual machine.
func (VirtualMachineScaleSetVMsClient) ReimageAllPreparer ¶
func (client VirtualMachineScaleSetVMsClient) ReimageAllPreparer(resourceGroupName string, VMScaleSetName string, instanceID string, cancel <-chan struct{}) (*http.Request, error)
ReimageAllPreparer prepares the ReimageAll request.
func (VirtualMachineScaleSetVMsClient) ReimageAllResponder ¶
func (client VirtualMachineScaleSetVMsClient) ReimageAllResponder(resp *http.Response) (result OperationStatusResponse, err error)
ReimageAllResponder handles the response to the ReimageAll request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetVMsClient) ReimageAllSender ¶
func (client VirtualMachineScaleSetVMsClient) ReimageAllSender(req *http.Request) (*http.Response, error)
ReimageAllSender sends the ReimageAll request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetVMsClient) ReimagePreparer ¶
func (client VirtualMachineScaleSetVMsClient) ReimagePreparer(resourceGroupName string, VMScaleSetName string, instanceID string, cancel <-chan struct{}) (*http.Request, error)
ReimagePreparer prepares the Reimage request.
func (VirtualMachineScaleSetVMsClient) ReimageResponder ¶
func (client VirtualMachineScaleSetVMsClient) ReimageResponder(resp *http.Response) (result OperationStatusResponse, err error)
ReimageResponder handles the response to the Reimage request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetVMsClient) ReimageSender ¶
func (client VirtualMachineScaleSetVMsClient) ReimageSender(req *http.Request) (*http.Response, error)
ReimageSender sends the Reimage request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetVMsClient) Restart ¶
func (client VirtualMachineScaleSetVMsClient) Restart(resourceGroupName string, VMScaleSetName string, instanceID string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)
Restart restarts a virtual machine in a VM scale set. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set. instanceID is the instance ID of the virtual machine.
func (VirtualMachineScaleSetVMsClient) RestartPreparer ¶
func (client VirtualMachineScaleSetVMsClient) RestartPreparer(resourceGroupName string, VMScaleSetName string, instanceID string, cancel <-chan struct{}) (*http.Request, error)
RestartPreparer prepares the Restart request.
func (VirtualMachineScaleSetVMsClient) RestartResponder ¶
func (client VirtualMachineScaleSetVMsClient) RestartResponder(resp *http.Response) (result OperationStatusResponse, err error)
RestartResponder handles the response to the Restart request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetVMsClient) RestartSender ¶
func (client VirtualMachineScaleSetVMsClient) RestartSender(req *http.Request) (*http.Response, error)
RestartSender sends the Restart request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetVMsClient) Start ¶
func (client VirtualMachineScaleSetVMsClient) Start(resourceGroupName string, VMScaleSetName string, instanceID string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)
Start starts a virtual machine in a VM scale set. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set. instanceID is the instance ID of the virtual machine.
func (VirtualMachineScaleSetVMsClient) StartPreparer ¶
func (client VirtualMachineScaleSetVMsClient) StartPreparer(resourceGroupName string, VMScaleSetName string, instanceID string, cancel <-chan struct{}) (*http.Request, error)
StartPreparer prepares the Start request.
func (VirtualMachineScaleSetVMsClient) StartResponder ¶
func (client VirtualMachineScaleSetVMsClient) StartResponder(resp *http.Response) (result OperationStatusResponse, err error)
StartResponder handles the response to the Start request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetVMsClient) StartSender ¶
func (client VirtualMachineScaleSetVMsClient) StartSender(req *http.Request) (*http.Response, error)
StartSender sends the Start request. The method will close the http.Response Body if it receives an error.
type VirtualMachineScaleSetsClient ¶
type VirtualMachineScaleSetsClient struct {
ManagementClient
}
VirtualMachineScaleSetsClient is the compute Client
func NewVirtualMachineScaleSetsClient ¶
func NewVirtualMachineScaleSetsClient(subscriptionID string) VirtualMachineScaleSetsClient
NewVirtualMachineScaleSetsClient creates an instance of the VirtualMachineScaleSetsClient client.
func NewVirtualMachineScaleSetsClientWithBaseURI ¶
func NewVirtualMachineScaleSetsClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineScaleSetsClient
NewVirtualMachineScaleSetsClientWithBaseURI creates an instance of the VirtualMachineScaleSetsClient client.
func (VirtualMachineScaleSetsClient) CreateOrUpdate ¶
func (client VirtualMachineScaleSetsClient) CreateOrUpdate(resourceGroupName string, VMScaleSetName string, parameters VirtualMachineScaleSet, cancel <-chan struct{}) (<-chan VirtualMachineScaleSet, <-chan error)
CreateOrUpdate create or update a VM scale set. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set to create or update. parameters is the scale set object.
func (VirtualMachineScaleSetsClient) CreateOrUpdatePreparer ¶
func (client VirtualMachineScaleSetsClient) CreateOrUpdatePreparer(resourceGroupName string, VMScaleSetName string, parameters VirtualMachineScaleSet, cancel <-chan struct{}) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (VirtualMachineScaleSetsClient) CreateOrUpdateResponder ¶
func (client VirtualMachineScaleSetsClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualMachineScaleSet, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetsClient) CreateOrUpdateSender ¶
func (client VirtualMachineScaleSetsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetsClient) Deallocate ¶
func (client VirtualMachineScaleSetsClient) Deallocate(resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)
Deallocate deallocates specific virtual machines in a VM scale set. Shuts down the virtual machines and releases the compute resources. You are not billed for the compute resources that this virtual machine scale set deallocates. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set. VMInstanceIDs is a list of virtual machine instance IDs from the VM scale set.
func (VirtualMachineScaleSetsClient) DeallocatePreparer ¶
func (client VirtualMachineScaleSetsClient) DeallocatePreparer(resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs, cancel <-chan struct{}) (*http.Request, error)
DeallocatePreparer prepares the Deallocate request.
func (VirtualMachineScaleSetsClient) DeallocateResponder ¶
func (client VirtualMachineScaleSetsClient) DeallocateResponder(resp *http.Response) (result OperationStatusResponse, err error)
DeallocateResponder handles the response to the Deallocate request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetsClient) DeallocateSender ¶
func (client VirtualMachineScaleSetsClient) DeallocateSender(req *http.Request) (*http.Response, error)
DeallocateSender sends the Deallocate request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetsClient) Delete ¶
func (client VirtualMachineScaleSetsClient) Delete(resourceGroupName string, VMScaleSetName string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)
Delete deletes a VM scale set. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set.
func (VirtualMachineScaleSetsClient) DeleteInstances ¶
func (client VirtualMachineScaleSetsClient) DeleteInstances(resourceGroupName string, VMScaleSetName string, VMInstanceIDs VirtualMachineScaleSetVMInstanceRequiredIDs, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)
DeleteInstances deletes virtual machines in a VM scale set. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set. VMInstanceIDs is a list of virtual machine instance IDs from the VM scale set.
func (VirtualMachineScaleSetsClient) DeleteInstancesPreparer ¶
func (client VirtualMachineScaleSetsClient) DeleteInstancesPreparer(resourceGroupName string, VMScaleSetName string, VMInstanceIDs VirtualMachineScaleSetVMInstanceRequiredIDs, cancel <-chan struct{}) (*http.Request, error)
DeleteInstancesPreparer prepares the DeleteInstances request.
func (VirtualMachineScaleSetsClient) DeleteInstancesResponder ¶
func (client VirtualMachineScaleSetsClient) DeleteInstancesResponder(resp *http.Response) (result OperationStatusResponse, err error)
DeleteInstancesResponder handles the response to the DeleteInstances request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetsClient) DeleteInstancesSender ¶
func (client VirtualMachineScaleSetsClient) DeleteInstancesSender(req *http.Request) (*http.Response, error)
DeleteInstancesSender sends the DeleteInstances request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetsClient) DeletePreparer ¶
func (client VirtualMachineScaleSetsClient) DeletePreparer(resourceGroupName string, VMScaleSetName string, cancel <-chan struct{}) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (VirtualMachineScaleSetsClient) DeleteResponder ¶
func (client VirtualMachineScaleSetsClient) DeleteResponder(resp *http.Response) (result OperationStatusResponse, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetsClient) Get ¶
func (client VirtualMachineScaleSetsClient) Get(resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSet, err error)
Get display information about a virtual machine scale set.
resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set.
func (VirtualMachineScaleSetsClient) GetInstanceView ¶
func (client VirtualMachineScaleSetsClient) GetInstanceView(resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetInstanceView, err error)
GetInstanceView gets the status of a VM scale set instance.
resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set.
func (VirtualMachineScaleSetsClient) GetInstanceViewPreparer ¶
func (client VirtualMachineScaleSetsClient) GetInstanceViewPreparer(resourceGroupName string, VMScaleSetName string) (*http.Request, error)
GetInstanceViewPreparer prepares the GetInstanceView request.
func (VirtualMachineScaleSetsClient) GetInstanceViewResponder ¶
func (client VirtualMachineScaleSetsClient) GetInstanceViewResponder(resp *http.Response) (result VirtualMachineScaleSetInstanceView, err error)
GetInstanceViewResponder handles the response to the GetInstanceView request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetsClient) GetInstanceViewSender ¶
func (client VirtualMachineScaleSetsClient) GetInstanceViewSender(req *http.Request) (*http.Response, error)
GetInstanceViewSender sends the GetInstanceView request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetsClient) GetPreparer ¶
func (client VirtualMachineScaleSetsClient) GetPreparer(resourceGroupName string, VMScaleSetName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (VirtualMachineScaleSetsClient) GetResponder ¶
func (client VirtualMachineScaleSetsClient) GetResponder(resp *http.Response) (result VirtualMachineScaleSet, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetsClient) List ¶
func (client VirtualMachineScaleSetsClient) List(resourceGroupName string) (result VirtualMachineScaleSetListResult, err error)
List gets a list of all VM scale sets under a resource group.
resourceGroupName is the name of the resource group.
func (VirtualMachineScaleSetsClient) ListAll ¶
func (client VirtualMachineScaleSetsClient) ListAll() (result VirtualMachineScaleSetListWithLinkResult, err error)
ListAll gets a list of all VM Scale Sets in the subscription, regardless of the associated resource group. Use nextLink property in the response to get the next page of VM Scale Sets. Do this till nextLink is not null to fetch all the VM Scale Sets.
func (VirtualMachineScaleSetsClient) ListAllComplete ¶
func (client VirtualMachineScaleSetsClient) ListAllComplete(cancel <-chan struct{}) (<-chan VirtualMachineScaleSet, <-chan error)
ListAllComplete gets all elements from the list without paging.
func (VirtualMachineScaleSetsClient) ListAllNextResults ¶
func (client VirtualMachineScaleSetsClient) ListAllNextResults(lastResults VirtualMachineScaleSetListWithLinkResult) (result VirtualMachineScaleSetListWithLinkResult, err error)
ListAllNextResults retrieves the next set of results, if any.
func (VirtualMachineScaleSetsClient) ListAllPreparer ¶
func (client VirtualMachineScaleSetsClient) ListAllPreparer() (*http.Request, error)
ListAllPreparer prepares the ListAll request.
func (VirtualMachineScaleSetsClient) ListAllResponder ¶
func (client VirtualMachineScaleSetsClient) ListAllResponder(resp *http.Response) (result VirtualMachineScaleSetListWithLinkResult, err error)
ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetsClient) ListAllSender ¶
func (client VirtualMachineScaleSetsClient) ListAllSender(req *http.Request) (*http.Response, error)
ListAllSender sends the ListAll request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetsClient) ListComplete ¶
func (client VirtualMachineScaleSetsClient) ListComplete(resourceGroupName string, cancel <-chan struct{}) (<-chan VirtualMachineScaleSet, <-chan error)
ListComplete gets all elements from the list without paging.
func (VirtualMachineScaleSetsClient) ListNextResults ¶
func (client VirtualMachineScaleSetsClient) ListNextResults(lastResults VirtualMachineScaleSetListResult) (result VirtualMachineScaleSetListResult, err error)
ListNextResults retrieves the next set of results, if any.
func (VirtualMachineScaleSetsClient) ListPreparer ¶
func (client VirtualMachineScaleSetsClient) ListPreparer(resourceGroupName string) (*http.Request, error)
ListPreparer prepares the List request.
func (VirtualMachineScaleSetsClient) ListResponder ¶
func (client VirtualMachineScaleSetsClient) ListResponder(resp *http.Response) (result VirtualMachineScaleSetListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetsClient) ListSkus ¶
func (client VirtualMachineScaleSetsClient) ListSkus(resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetListSkusResult, err error)
ListSkus gets a list of SKUs available for your VM scale set, including the minimum and maximum VM instances allowed for each SKU.
resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set.
func (VirtualMachineScaleSetsClient) ListSkusComplete ¶
func (client VirtualMachineScaleSetsClient) ListSkusComplete(resourceGroupName string, VMScaleSetName string, cancel <-chan struct{}) (<-chan VirtualMachineScaleSetSku, <-chan error)
ListSkusComplete gets all elements from the list without paging.
func (VirtualMachineScaleSetsClient) ListSkusNextResults ¶
func (client VirtualMachineScaleSetsClient) ListSkusNextResults(lastResults VirtualMachineScaleSetListSkusResult) (result VirtualMachineScaleSetListSkusResult, err error)
ListSkusNextResults retrieves the next set of results, if any.
func (VirtualMachineScaleSetsClient) ListSkusPreparer ¶
func (client VirtualMachineScaleSetsClient) ListSkusPreparer(resourceGroupName string, VMScaleSetName string) (*http.Request, error)
ListSkusPreparer prepares the ListSkus request.
func (VirtualMachineScaleSetsClient) ListSkusResponder ¶
func (client VirtualMachineScaleSetsClient) ListSkusResponder(resp *http.Response) (result VirtualMachineScaleSetListSkusResult, err error)
ListSkusResponder handles the response to the ListSkus request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetsClient) ListSkusSender ¶
func (client VirtualMachineScaleSetsClient) ListSkusSender(req *http.Request) (*http.Response, error)
ListSkusSender sends the ListSkus request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetsClient) PowerOff ¶
func (client VirtualMachineScaleSetsClient) PowerOff(resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)
PowerOff power off (stop) one or more virtual machines in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set. VMInstanceIDs is a list of virtual machine instance IDs from the VM scale set.
func (VirtualMachineScaleSetsClient) PowerOffPreparer ¶
func (client VirtualMachineScaleSetsClient) PowerOffPreparer(resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs, cancel <-chan struct{}) (*http.Request, error)
PowerOffPreparer prepares the PowerOff request.
func (VirtualMachineScaleSetsClient) PowerOffResponder ¶
func (client VirtualMachineScaleSetsClient) PowerOffResponder(resp *http.Response) (result OperationStatusResponse, err error)
PowerOffResponder handles the response to the PowerOff request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetsClient) PowerOffSender ¶
func (client VirtualMachineScaleSetsClient) PowerOffSender(req *http.Request) (*http.Response, error)
PowerOffSender sends the PowerOff request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetsClient) Reimage ¶
func (client VirtualMachineScaleSetsClient) Reimage(resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)
Reimage reimages (upgrade the operating system) one or more virtual machines in a VM scale set. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set. VMInstanceIDs is a list of virtual machine instance IDs from the VM scale set.
func (VirtualMachineScaleSetsClient) ReimageAll ¶
func (client VirtualMachineScaleSetsClient) ReimageAll(resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)
ReimageAll reimages all the disks ( including data disks ) in the virtual machines in a VM scale set. This operation is only supported for managed disks. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set. VMInstanceIDs is a list of virtual machine instance IDs from the VM scale set.
func (VirtualMachineScaleSetsClient) ReimageAllPreparer ¶
func (client VirtualMachineScaleSetsClient) ReimageAllPreparer(resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs, cancel <-chan struct{}) (*http.Request, error)
ReimageAllPreparer prepares the ReimageAll request.
func (VirtualMachineScaleSetsClient) ReimageAllResponder ¶
func (client VirtualMachineScaleSetsClient) ReimageAllResponder(resp *http.Response) (result OperationStatusResponse, err error)
ReimageAllResponder handles the response to the ReimageAll request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetsClient) ReimageAllSender ¶
func (client VirtualMachineScaleSetsClient) ReimageAllSender(req *http.Request) (*http.Response, error)
ReimageAllSender sends the ReimageAll request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetsClient) ReimagePreparer ¶
func (client VirtualMachineScaleSetsClient) ReimagePreparer(resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs, cancel <-chan struct{}) (*http.Request, error)
ReimagePreparer prepares the Reimage request.
func (VirtualMachineScaleSetsClient) ReimageResponder ¶
func (client VirtualMachineScaleSetsClient) ReimageResponder(resp *http.Response) (result OperationStatusResponse, err error)
ReimageResponder handles the response to the Reimage request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetsClient) ReimageSender ¶
func (client VirtualMachineScaleSetsClient) ReimageSender(req *http.Request) (*http.Response, error)
ReimageSender sends the Reimage request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetsClient) Restart ¶
func (client VirtualMachineScaleSetsClient) Restart(resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)
Restart restarts one or more virtual machines in a VM scale set. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set. VMInstanceIDs is a list of virtual machine instance IDs from the VM scale set.
func (VirtualMachineScaleSetsClient) RestartPreparer ¶
func (client VirtualMachineScaleSetsClient) RestartPreparer(resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs, cancel <-chan struct{}) (*http.Request, error)
RestartPreparer prepares the Restart request.
func (VirtualMachineScaleSetsClient) RestartResponder ¶
func (client VirtualMachineScaleSetsClient) RestartResponder(resp *http.Response) (result OperationStatusResponse, err error)
RestartResponder handles the response to the Restart request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetsClient) RestartSender ¶
func (client VirtualMachineScaleSetsClient) RestartSender(req *http.Request) (*http.Response, error)
RestartSender sends the Restart request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetsClient) Start ¶
func (client VirtualMachineScaleSetsClient) Start(resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)
Start starts one or more virtual machines in a VM scale set. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set. VMInstanceIDs is a list of virtual machine instance IDs from the VM scale set.
func (VirtualMachineScaleSetsClient) StartPreparer ¶
func (client VirtualMachineScaleSetsClient) StartPreparer(resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs, cancel <-chan struct{}) (*http.Request, error)
StartPreparer prepares the Start request.
func (VirtualMachineScaleSetsClient) StartResponder ¶
func (client VirtualMachineScaleSetsClient) StartResponder(resp *http.Response) (result OperationStatusResponse, err error)
StartResponder handles the response to the Start request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetsClient) StartSender ¶
StartSender sends the Start request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetsClient) Update ¶
func (client VirtualMachineScaleSetsClient) Update(resourceGroupName string, VMScaleSetName string, parameters VirtualMachineScaleSetUpdate, cancel <-chan struct{}) (<-chan VirtualMachineScaleSet, <-chan error)
Update update a VM scale set. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set to create or update. parameters is the scale set object.
func (VirtualMachineScaleSetsClient) UpdateInstances ¶
func (client VirtualMachineScaleSetsClient) UpdateInstances(resourceGroupName string, VMScaleSetName string, VMInstanceIDs VirtualMachineScaleSetVMInstanceRequiredIDs, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)
UpdateInstances upgrades one or more virtual machines to the latest SKU set in the VM scale set model. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set. VMInstanceIDs is a list of virtual machine instance IDs from the VM scale set.
func (VirtualMachineScaleSetsClient) UpdateInstancesPreparer ¶
func (client VirtualMachineScaleSetsClient) UpdateInstancesPreparer(resourceGroupName string, VMScaleSetName string, VMInstanceIDs VirtualMachineScaleSetVMInstanceRequiredIDs, cancel <-chan struct{}) (*http.Request, error)
UpdateInstancesPreparer prepares the UpdateInstances request.
func (VirtualMachineScaleSetsClient) UpdateInstancesResponder ¶
func (client VirtualMachineScaleSetsClient) UpdateInstancesResponder(resp *http.Response) (result OperationStatusResponse, err error)
UpdateInstancesResponder handles the response to the UpdateInstances request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetsClient) UpdateInstancesSender ¶
func (client VirtualMachineScaleSetsClient) UpdateInstancesSender(req *http.Request) (*http.Response, error)
UpdateInstancesSender sends the UpdateInstances request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetsClient) UpdatePreparer ¶
func (client VirtualMachineScaleSetsClient) UpdatePreparer(resourceGroupName string, VMScaleSetName string, parameters VirtualMachineScaleSetUpdate, cancel <-chan struct{}) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (VirtualMachineScaleSetsClient) UpdateResponder ¶
func (client VirtualMachineScaleSetsClient) UpdateResponder(resp *http.Response) (result VirtualMachineScaleSet, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetsClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type VirtualMachineSize ¶
type VirtualMachineSize struct { Name *string `json:"name,omitempty"` NumberOfCores *int32 `json:"numberOfCores,omitempty"` OsDiskSizeInMB *int32 `json:"osDiskSizeInMB,omitempty"` ResourceDiskSizeInMB *int32 `json:"resourceDiskSizeInMB,omitempty"` MemoryInMB *int32 `json:"memoryInMB,omitempty"` MaxDataDiskCount *int32 `json:"maxDataDiskCount,omitempty"` }
VirtualMachineSize is describes the properties of a VM size.
type VirtualMachineSizeListResult ¶
type VirtualMachineSizeListResult struct { autorest.Response `json:"-"` Value *[]VirtualMachineSize `json:"value,omitempty"` }
VirtualMachineSizeListResult is the List Virtual Machine operation response.
type VirtualMachineSizeTypes ¶
type VirtualMachineSizeTypes string
VirtualMachineSizeTypes enumerates the values for virtual machine size types.
const ( // 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" // StandardA1V2 specifies the standard a1v2 state for virtual machine size types. StandardA1V2 VirtualMachineSizeTypes = "Standard_A1_v2" // StandardA2 specifies the standard a2 state for virtual machine size types. StandardA2 VirtualMachineSizeTypes = "Standard_A2" // StandardA2mV2 specifies the standard a2mv2 state for virtual machine size types. StandardA2mV2 VirtualMachineSizeTypes = "Standard_A2m_v2" // StandardA2V2 specifies the standard a2v2 state for virtual machine size types. StandardA2V2 VirtualMachineSizeTypes = "Standard_A2_v2" // 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" // StandardA4mV2 specifies the standard a4mv2 state for virtual machine size types. StandardA4mV2 VirtualMachineSizeTypes = "Standard_A4m_v2" // StandardA4V2 specifies the standard a4v2 state for virtual machine size types. StandardA4V2 VirtualMachineSizeTypes = "Standard_A4_v2" // 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" // StandardA8mV2 specifies the standard a8mv2 state for virtual machine size types. StandardA8mV2 VirtualMachineSizeTypes = "Standard_A8m_v2" // StandardA8V2 specifies the standard a8v2 state for virtual machine size types. StandardA8V2 VirtualMachineSizeTypes = "Standard_A8_v2" // 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" // StandardD15V2 specifies the standard d15v2 state for virtual machine size types. StandardD15V2 VirtualMachineSizeTypes = "Standard_D15_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" // StandardDS11V2 specifies the standard ds11v2 state for virtual machine size types. StandardDS11V2 VirtualMachineSizeTypes = "Standard_DS11_v2" // StandardDS12 specifies the standard ds12 state for virtual machine size types. StandardDS12 VirtualMachineSizeTypes = "Standard_DS12" // StandardDS12V2 specifies the standard ds12v2 state for virtual machine size types. StandardDS12V2 VirtualMachineSizeTypes = "Standard_DS12_v2" // StandardDS13 specifies the standard ds13 state for virtual machine size types. StandardDS13 VirtualMachineSizeTypes = "Standard_DS13" // StandardDS13V2 specifies the standard ds13v2 state for virtual machine size types. StandardDS13V2 VirtualMachineSizeTypes = "Standard_DS13_v2" // StandardDS14 specifies the standard ds14 state for virtual machine size types. StandardDS14 VirtualMachineSizeTypes = "Standard_DS14" // StandardDS14V2 specifies the standard ds14v2 state for virtual machine size types. StandardDS14V2 VirtualMachineSizeTypes = "Standard_DS14_v2" // StandardDS15V2 specifies the standard ds15v2 state for virtual machine size types. StandardDS15V2 VirtualMachineSizeTypes = "Standard_DS15_v2" // StandardDS1V2 specifies the standard ds1v2 state for virtual machine size types. StandardDS1V2 VirtualMachineSizeTypes = "Standard_DS1_v2" // StandardDS2 specifies the standard ds2 state for virtual machine size types. StandardDS2 VirtualMachineSizeTypes = "Standard_DS2" // StandardDS2V2 specifies the standard ds2v2 state for virtual machine size types. StandardDS2V2 VirtualMachineSizeTypes = "Standard_DS2_v2" // StandardDS3 specifies the standard ds3 state for virtual machine size types. StandardDS3 VirtualMachineSizeTypes = "Standard_DS3" // StandardDS3V2 specifies the standard ds3v2 state for virtual machine size types. StandardDS3V2 VirtualMachineSizeTypes = "Standard_DS3_v2" // StandardDS4 specifies the standard ds4 state for virtual machine size types. StandardDS4 VirtualMachineSizeTypes = "Standard_DS4" // StandardDS4V2 specifies the standard ds4v2 state for virtual machine size types. StandardDS4V2 VirtualMachineSizeTypes = "Standard_DS4_v2" // StandardDS5V2 specifies the standard ds5v2 state for virtual machine size types. StandardDS5V2 VirtualMachineSizeTypes = "Standard_DS5_v2" // StandardF1 specifies the standard f1 state for virtual machine size types. StandardF1 VirtualMachineSizeTypes = "Standard_F1" // StandardF16 specifies the standard f16 state for virtual machine size types. StandardF16 VirtualMachineSizeTypes = "Standard_F16" // StandardF16s specifies the standard f16s state for virtual machine size types. StandardF16s VirtualMachineSizeTypes = "Standard_F16s" // StandardF1s specifies the standard f1s state for virtual machine size types. StandardF1s VirtualMachineSizeTypes = "Standard_F1s" // StandardF2 specifies the standard f2 state for virtual machine size types. StandardF2 VirtualMachineSizeTypes = "Standard_F2" // StandardF2s specifies the standard f2s state for virtual machine size types. StandardF2s VirtualMachineSizeTypes = "Standard_F2s" // StandardF4 specifies the standard f4 state for virtual machine size types. StandardF4 VirtualMachineSizeTypes = "Standard_F4" // StandardF4s specifies the standard f4s state for virtual machine size types. StandardF4s VirtualMachineSizeTypes = "Standard_F4s" // StandardF8 specifies the standard f8 state for virtual machine size types. StandardF8 VirtualMachineSizeTypes = "Standard_F8" // StandardF8s specifies the standard f8s state for virtual machine size types. StandardF8s VirtualMachineSizeTypes = "Standard_F8s" // 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" // StandardH16 specifies the standard h16 state for virtual machine size types. StandardH16 VirtualMachineSizeTypes = "Standard_H16" // StandardH16m specifies the standard h16m state for virtual machine size types. StandardH16m VirtualMachineSizeTypes = "Standard_H16m" // StandardH16mr specifies the standard h16mr state for virtual machine size types. StandardH16mr VirtualMachineSizeTypes = "Standard_H16mr" // StandardH16r specifies the standard h16r state for virtual machine size types. StandardH16r VirtualMachineSizeTypes = "Standard_H16r" // StandardH8 specifies the standard h8 state for virtual machine size types. StandardH8 VirtualMachineSizeTypes = "Standard_H8" // StandardH8m specifies the standard h8m state for virtual machine size types. StandardH8m VirtualMachineSizeTypes = "Standard_H8m" // StandardL16s specifies the standard l16s state for virtual machine size types. StandardL16s VirtualMachineSizeTypes = "Standard_L16s" // StandardL32s specifies the standard l32s state for virtual machine size types. StandardL32s VirtualMachineSizeTypes = "Standard_L32s" // StandardL4s specifies the standard l4s state for virtual machine size types. StandardL4s VirtualMachineSizeTypes = "Standard_L4s" // StandardL8s specifies the standard l8s state for virtual machine size types. StandardL8s VirtualMachineSizeTypes = "Standard_L8s" // StandardNC12 specifies the standard nc12 state for virtual machine size types. StandardNC12 VirtualMachineSizeTypes = "Standard_NC12" // StandardNC24 specifies the standard nc24 state for virtual machine size types. StandardNC24 VirtualMachineSizeTypes = "Standard_NC24" // StandardNC24r specifies the standard nc24r state for virtual machine size types. StandardNC24r VirtualMachineSizeTypes = "Standard_NC24r" // StandardNC6 specifies the standard nc6 state for virtual machine size types. StandardNC6 VirtualMachineSizeTypes = "Standard_NC6" // StandardNV12 specifies the standard nv12 state for virtual machine size types. StandardNV12 VirtualMachineSizeTypes = "Standard_NV12" // StandardNV24 specifies the standard nv24 state for virtual machine size types. StandardNV24 VirtualMachineSizeTypes = "Standard_NV24" // StandardNV6 specifies the standard nv6 state for virtual machine size types. StandardNV6 VirtualMachineSizeTypes = "Standard_NV6" )
type VirtualMachineSizesClient ¶
type VirtualMachineSizesClient struct {
ManagementClient
}
VirtualMachineSizesClient is the compute Client
func NewVirtualMachineSizesClient ¶
func NewVirtualMachineSizesClient(subscriptionID string) VirtualMachineSizesClient
NewVirtualMachineSizesClient creates an instance of the VirtualMachineSizesClient client.
func NewVirtualMachineSizesClientWithBaseURI ¶
func NewVirtualMachineSizesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineSizesClient
NewVirtualMachineSizesClientWithBaseURI creates an instance of the VirtualMachineSizesClient client.
func (VirtualMachineSizesClient) List ¶
func (client VirtualMachineSizesClient) List(location string) (result VirtualMachineSizeListResult, err error)
List lists all available virtual machine sizes for a subscription in a location.
location is the location upon which virtual-machine-sizes is queried.
func (VirtualMachineSizesClient) ListPreparer ¶
func (client VirtualMachineSizesClient) ListPreparer(location string) (*http.Request, error)
ListPreparer prepares the List request.
func (VirtualMachineSizesClient) ListResponder ¶
func (client VirtualMachineSizesClient) ListResponder(resp *http.Response) (result VirtualMachineSizeListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (VirtualMachineSizesClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type VirtualMachineStatusCodeCount ¶
type VirtualMachineStatusCodeCount struct { Code *string `json:"code,omitempty"` Count *int32 `json:"count,omitempty"` }
VirtualMachineStatusCodeCount is the status code and count of the virtual machine scale set instance view status summary.
type VirtualMachinesClient ¶
type VirtualMachinesClient struct {
ManagementClient
}
VirtualMachinesClient is the compute Client
func NewVirtualMachinesClient ¶
func NewVirtualMachinesClient(subscriptionID string) VirtualMachinesClient
NewVirtualMachinesClient creates an instance of the VirtualMachinesClient client.
func NewVirtualMachinesClientWithBaseURI ¶
func NewVirtualMachinesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachinesClient
NewVirtualMachinesClientWithBaseURI creates an instance of the VirtualMachinesClient client.
func (VirtualMachinesClient) Capture ¶
func (client VirtualMachinesClient) Capture(resourceGroupName string, VMName string, parameters VirtualMachineCaptureParameters, cancel <-chan struct{}) (<-chan VirtualMachineCaptureResult, <-chan error)
Capture captures the VM by copying virtual hard disks of the VM and outputs a template that can be used to create similar VMs. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group. VMName is the name of the virtual machine. parameters is parameters supplied to the Capture Virtual Machine operation.
func (VirtualMachinesClient) CapturePreparer ¶
func (client VirtualMachinesClient) CapturePreparer(resourceGroupName string, VMName string, parameters VirtualMachineCaptureParameters, cancel <-chan struct{}) (*http.Request, error)
CapturePreparer prepares the Capture request.
func (VirtualMachinesClient) CaptureResponder ¶
func (client VirtualMachinesClient) CaptureResponder(resp *http.Response) (result VirtualMachineCaptureResult, err error)
CaptureResponder handles the response to the Capture request. The method always closes the http.Response Body.
func (VirtualMachinesClient) CaptureSender ¶
CaptureSender sends the Capture request. The method will close the http.Response Body if it receives an error.
func (VirtualMachinesClient) ConvertToManagedDisks ¶
func (client VirtualMachinesClient) ConvertToManagedDisks(resourceGroupName string, VMName string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)
ConvertToManagedDisks converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-deallocated before invoking this operation. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group. VMName is the name of the virtual machine.
func (VirtualMachinesClient) ConvertToManagedDisksPreparer ¶
func (client VirtualMachinesClient) ConvertToManagedDisksPreparer(resourceGroupName string, VMName string, cancel <-chan struct{}) (*http.Request, error)
ConvertToManagedDisksPreparer prepares the ConvertToManagedDisks request.
func (VirtualMachinesClient) ConvertToManagedDisksResponder ¶
func (client VirtualMachinesClient) ConvertToManagedDisksResponder(resp *http.Response) (result OperationStatusResponse, err error)
ConvertToManagedDisksResponder handles the response to the ConvertToManagedDisks request. The method always closes the http.Response Body.
func (VirtualMachinesClient) ConvertToManagedDisksSender ¶
func (client VirtualMachinesClient) ConvertToManagedDisksSender(req *http.Request) (*http.Response, error)
ConvertToManagedDisksSender sends the ConvertToManagedDisks request. The method will close the http.Response Body if it receives an error.
func (VirtualMachinesClient) CreateOrUpdate ¶
func (client VirtualMachinesClient) CreateOrUpdate(resourceGroupName string, VMName string, parameters VirtualMachine, cancel <-chan struct{}) (<-chan VirtualMachine, <-chan error)
CreateOrUpdate the operation to create or update a virtual machine. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group. VMName is the name of the virtual machine. parameters is parameters supplied to the Create Virtual Machine operation.
func (VirtualMachinesClient) CreateOrUpdatePreparer ¶
func (client VirtualMachinesClient) CreateOrUpdatePreparer(resourceGroupName string, VMName string, parameters VirtualMachine, cancel <-chan struct{}) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (VirtualMachinesClient) CreateOrUpdateResponder ¶
func (client VirtualMachinesClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualMachine, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (VirtualMachinesClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (VirtualMachinesClient) Deallocate ¶
func (client VirtualMachinesClient) Deallocate(resourceGroupName string, VMName string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)
Deallocate shuts down the virtual machine and releases the compute resources. You are not billed for the compute resources that this virtual machine uses. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group. VMName is the name of the virtual machine.
func (VirtualMachinesClient) DeallocatePreparer ¶
func (client VirtualMachinesClient) DeallocatePreparer(resourceGroupName string, VMName string, cancel <-chan struct{}) (*http.Request, error)
DeallocatePreparer prepares the Deallocate request.
func (VirtualMachinesClient) DeallocateResponder ¶
func (client VirtualMachinesClient) DeallocateResponder(resp *http.Response) (result OperationStatusResponse, err error)
DeallocateResponder handles the response to the Deallocate request. The method always closes the http.Response Body.
func (VirtualMachinesClient) DeallocateSender ¶
DeallocateSender sends the Deallocate request. The method will close the http.Response Body if it receives an error.
func (VirtualMachinesClient) Delete ¶
func (client VirtualMachinesClient) Delete(resourceGroupName string, VMName string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)
Delete the operation to delete a virtual machine. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group. VMName is the name of the virtual machine.
func (VirtualMachinesClient) DeletePreparer ¶
func (client VirtualMachinesClient) DeletePreparer(resourceGroupName string, VMName string, cancel <-chan struct{}) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (VirtualMachinesClient) DeleteResponder ¶
func (client VirtualMachinesClient) DeleteResponder(resp *http.Response) (result OperationStatusResponse, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (VirtualMachinesClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (VirtualMachinesClient) Generalize ¶
func (client VirtualMachinesClient) Generalize(resourceGroupName string, VMName string) (result OperationStatusResponse, err error)
Generalize sets the state of the virtual machine to generalized.
resourceGroupName is the name of the resource group. VMName is the name of the virtual machine.
func (VirtualMachinesClient) GeneralizePreparer ¶
func (client VirtualMachinesClient) GeneralizePreparer(resourceGroupName string, VMName string) (*http.Request, error)
GeneralizePreparer prepares the Generalize request.
func (VirtualMachinesClient) GeneralizeResponder ¶
func (client VirtualMachinesClient) GeneralizeResponder(resp *http.Response) (result OperationStatusResponse, err error)
GeneralizeResponder handles the response to the Generalize request. The method always closes the http.Response Body.
func (VirtualMachinesClient) GeneralizeSender ¶
GeneralizeSender sends the Generalize request. The method will close the http.Response Body if it receives an error.
func (VirtualMachinesClient) Get ¶
func (client VirtualMachinesClient) Get(resourceGroupName string, VMName string, expand InstanceViewTypes) (result VirtualMachine, err error)
Get retrieves information about the model view or the instance view of a virtual machine.
resourceGroupName is the name of the resource group. VMName is the name of the virtual machine. expand is the expand expression to apply on the operation.
func (VirtualMachinesClient) GetPreparer ¶
func (client VirtualMachinesClient) GetPreparer(resourceGroupName string, VMName string, expand InstanceViewTypes) (*http.Request, error)
GetPreparer prepares the Get request.
func (VirtualMachinesClient) GetResponder ¶
func (client VirtualMachinesClient) GetResponder(resp *http.Response) (result VirtualMachine, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (VirtualMachinesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (VirtualMachinesClient) InstanceView ¶
func (client VirtualMachinesClient) InstanceView(resourceGroupName string, VMName string) (result VirtualMachineInstanceView, err error)
InstanceView retrieves information about the run-time state of a virtual machine.
resourceGroupName is the name of the resource group. VMName is the name of the virtual machine.
func (VirtualMachinesClient) InstanceViewPreparer ¶
func (client VirtualMachinesClient) InstanceViewPreparer(resourceGroupName string, VMName string) (*http.Request, error)
InstanceViewPreparer prepares the InstanceView request.
func (VirtualMachinesClient) InstanceViewResponder ¶
func (client VirtualMachinesClient) InstanceViewResponder(resp *http.Response) (result VirtualMachineInstanceView, err error)
InstanceViewResponder handles the response to the InstanceView request. The method always closes the http.Response Body.
func (VirtualMachinesClient) InstanceViewSender ¶
InstanceViewSender sends the InstanceView request. The method will close the http.Response Body if it receives an error.
func (VirtualMachinesClient) List ¶
func (client VirtualMachinesClient) List(resourceGroupName string) (result VirtualMachineListResult, err error)
List lists all of the virtual machines in the specified resource group. Use the nextLink property in the response to get the next page of virtual machines.
resourceGroupName is the name of the resource group.
func (VirtualMachinesClient) ListAll ¶
func (client VirtualMachinesClient) ListAll() (result VirtualMachineListResult, err error)
ListAll lists all of the virtual machines in the specified subscription. Use the nextLink property in the response to get the next page of virtual machines.
func (VirtualMachinesClient) ListAllComplete ¶
func (client VirtualMachinesClient) ListAllComplete(cancel <-chan struct{}) (<-chan VirtualMachine, <-chan error)
ListAllComplete gets all elements from the list without paging.
func (VirtualMachinesClient) ListAllNextResults ¶
func (client VirtualMachinesClient) ListAllNextResults(lastResults VirtualMachineListResult) (result VirtualMachineListResult, err error)
ListAllNextResults retrieves the next set of results, if any.
func (VirtualMachinesClient) ListAllPreparer ¶
func (client VirtualMachinesClient) ListAllPreparer() (*http.Request, error)
ListAllPreparer prepares the ListAll request.
func (VirtualMachinesClient) ListAllResponder ¶
func (client VirtualMachinesClient) ListAllResponder(resp *http.Response) (result VirtualMachineListResult, err error)
ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.
func (VirtualMachinesClient) ListAllSender ¶
ListAllSender sends the ListAll request. The method will close the http.Response Body if it receives an error.
func (VirtualMachinesClient) ListAvailableSizes ¶
func (client VirtualMachinesClient) ListAvailableSizes(resourceGroupName string, VMName string) (result VirtualMachineSizeListResult, err error)
ListAvailableSizes lists all available virtual machine sizes to which the specified virtual machine can be resized.
resourceGroupName is the name of the resource group. VMName is the name of the virtual machine.
func (VirtualMachinesClient) ListAvailableSizesPreparer ¶
func (client VirtualMachinesClient) ListAvailableSizesPreparer(resourceGroupName string, VMName string) (*http.Request, error)
ListAvailableSizesPreparer prepares the ListAvailableSizes request.
func (VirtualMachinesClient) ListAvailableSizesResponder ¶
func (client VirtualMachinesClient) ListAvailableSizesResponder(resp *http.Response) (result VirtualMachineSizeListResult, err error)
ListAvailableSizesResponder handles the response to the ListAvailableSizes request. The method always closes the http.Response Body.
func (VirtualMachinesClient) ListAvailableSizesSender ¶
func (client VirtualMachinesClient) ListAvailableSizesSender(req *http.Request) (*http.Response, error)
ListAvailableSizesSender sends the ListAvailableSizes request. The method will close the http.Response Body if it receives an error.
func (VirtualMachinesClient) ListComplete ¶
func (client VirtualMachinesClient) ListComplete(resourceGroupName string, cancel <-chan struct{}) (<-chan VirtualMachine, <-chan error)
ListComplete gets all elements from the list without paging.
func (VirtualMachinesClient) ListNextResults ¶
func (client VirtualMachinesClient) ListNextResults(lastResults VirtualMachineListResult) (result VirtualMachineListResult, err error)
ListNextResults retrieves the next set of results, if any.
func (VirtualMachinesClient) ListPreparer ¶
func (client VirtualMachinesClient) ListPreparer(resourceGroupName string) (*http.Request, error)
ListPreparer prepares the List request.
func (VirtualMachinesClient) ListResponder ¶
func (client VirtualMachinesClient) ListResponder(resp *http.Response) (result VirtualMachineListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (VirtualMachinesClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (VirtualMachinesClient) PerformMaintenance ¶
func (client VirtualMachinesClient) PerformMaintenance(resourceGroupName string, VMName string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)
PerformMaintenance the operation to perform maintenance on a virtual machine. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group. VMName is the name of the virtual machine.
func (VirtualMachinesClient) PerformMaintenancePreparer ¶
func (client VirtualMachinesClient) PerformMaintenancePreparer(resourceGroupName string, VMName string, cancel <-chan struct{}) (*http.Request, error)
PerformMaintenancePreparer prepares the PerformMaintenance request.
func (VirtualMachinesClient) PerformMaintenanceResponder ¶
func (client VirtualMachinesClient) PerformMaintenanceResponder(resp *http.Response) (result OperationStatusResponse, err error)
PerformMaintenanceResponder handles the response to the PerformMaintenance request. The method always closes the http.Response Body.
func (VirtualMachinesClient) PerformMaintenanceSender ¶
func (client VirtualMachinesClient) PerformMaintenanceSender(req *http.Request) (*http.Response, error)
PerformMaintenanceSender sends the PerformMaintenance request. The method will close the http.Response Body if it receives an error.
func (VirtualMachinesClient) PowerOff ¶
func (client VirtualMachinesClient) PowerOff(resourceGroupName string, VMName string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)
PowerOff the operation to power off (stop) a virtual machine. The virtual machine can be restarted with the same provisioned resources. You are still charged for this virtual machine. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group. VMName is the name of the virtual machine.
func (VirtualMachinesClient) PowerOffPreparer ¶
func (client VirtualMachinesClient) PowerOffPreparer(resourceGroupName string, VMName string, cancel <-chan struct{}) (*http.Request, error)
PowerOffPreparer prepares the PowerOff request.
func (VirtualMachinesClient) PowerOffResponder ¶
func (client VirtualMachinesClient) PowerOffResponder(resp *http.Response) (result OperationStatusResponse, err error)
PowerOffResponder handles the response to the PowerOff request. The method always closes the http.Response Body.
func (VirtualMachinesClient) PowerOffSender ¶
PowerOffSender sends the PowerOff request. The method will close the http.Response Body if it receives an error.
func (VirtualMachinesClient) Redeploy ¶
func (client VirtualMachinesClient) Redeploy(resourceGroupName string, VMName string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)
Redeploy the operation to redeploy a virtual machine. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group. VMName is the name of the virtual machine.
func (VirtualMachinesClient) RedeployPreparer ¶
func (client VirtualMachinesClient) RedeployPreparer(resourceGroupName string, VMName string, cancel <-chan struct{}) (*http.Request, error)
RedeployPreparer prepares the Redeploy request.
func (VirtualMachinesClient) RedeployResponder ¶
func (client VirtualMachinesClient) RedeployResponder(resp *http.Response) (result OperationStatusResponse, err error)
RedeployResponder handles the response to the Redeploy request. The method always closes the http.Response Body.
func (VirtualMachinesClient) RedeploySender ¶
RedeploySender sends the Redeploy request. The method will close the http.Response Body if it receives an error.
func (VirtualMachinesClient) Restart ¶
func (client VirtualMachinesClient) Restart(resourceGroupName string, VMName string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)
Restart the operation to restart a virtual machine. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group. VMName is the name of the virtual machine.
func (VirtualMachinesClient) RestartPreparer ¶
func (client VirtualMachinesClient) RestartPreparer(resourceGroupName string, VMName string, cancel <-chan struct{}) (*http.Request, error)
RestartPreparer prepares the Restart request.
func (VirtualMachinesClient) RestartResponder ¶
func (client VirtualMachinesClient) RestartResponder(resp *http.Response) (result OperationStatusResponse, err error)
RestartResponder handles the response to the Restart request. The method always closes the http.Response Body.
func (VirtualMachinesClient) RestartSender ¶
RestartSender sends the Restart request. The method will close the http.Response Body if it receives an error.
func (VirtualMachinesClient) RunCommand ¶
func (client VirtualMachinesClient) RunCommand(resourceGroupName string, VMName string, parameters RunCommandInput, cancel <-chan struct{}) (<-chan RunCommandResult, <-chan error)
RunCommand run command on the VM. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group. VMName is the name of the virtual machine. parameters is parameters supplied to the Run command operation.
func (VirtualMachinesClient) RunCommandPreparer ¶
func (client VirtualMachinesClient) RunCommandPreparer(resourceGroupName string, VMName string, parameters RunCommandInput, cancel <-chan struct{}) (*http.Request, error)
RunCommandPreparer prepares the RunCommand request.
func (VirtualMachinesClient) RunCommandResponder ¶
func (client VirtualMachinesClient) RunCommandResponder(resp *http.Response) (result RunCommandResult, err error)
RunCommandResponder handles the response to the RunCommand request. The method always closes the http.Response Body.
func (VirtualMachinesClient) RunCommandSender ¶
RunCommandSender sends the RunCommand request. The method will close the http.Response Body if it receives an error.
func (VirtualMachinesClient) Start ¶
func (client VirtualMachinesClient) Start(resourceGroupName string, VMName string, cancel <-chan struct{}) (<-chan OperationStatusResponse, <-chan error)
Start the operation to start a virtual machine. This method may poll for completion. Polling can be canceled by passing the cancel channel argument. The channel will be used to cancel polling and any outstanding HTTP requests.
resourceGroupName is the name of the resource group. VMName is the name of the virtual machine.
func (VirtualMachinesClient) StartPreparer ¶
func (client VirtualMachinesClient) StartPreparer(resourceGroupName string, VMName string, cancel <-chan struct{}) (*http.Request, error)
StartPreparer prepares the Start request.
func (VirtualMachinesClient) StartResponder ¶
func (client VirtualMachinesClient) StartResponder(resp *http.Response) (result OperationStatusResponse, err error)
StartResponder handles the response to the Start request. The method always closes the http.Response Body.
func (VirtualMachinesClient) StartSender ¶
StartSender sends the Start request. The method will close the http.Response Body if it receives an error.
type WinRMConfiguration ¶
type WinRMConfiguration struct {
Listeners *[]WinRMListener `json:"listeners,omitempty"`
}
WinRMConfiguration is describes Windows Remote Management configuration of the VM
type WinRMListener ¶
type WinRMListener struct { Protocol ProtocolTypes `json:"protocol,omitempty"` CertificateURL *string `json:"certificateUrl,omitempty"` }
WinRMListener is describes Protocol and thumbprint of Windows Remote Management listener
type WindowsConfiguration ¶
type WindowsConfiguration struct { ProvisionVMAgent *bool `json:"provisionVMAgent,omitempty"` EnableAutomaticUpdates *bool `json:"enableAutomaticUpdates,omitempty"` TimeZone *string `json:"timeZone,omitempty"` AdditionalUnattendContent *[]AdditionalUnattendContent `json:"additionalUnattendContent,omitempty"` WinRM *WinRMConfiguration `json:"winRM,omitempty"` }
WindowsConfiguration is specifies Windows operating system settings on the virtual machine.
Source Files ¶
- availabilitysets.go
- client.go
- disks.go
- images.go
- models.go
- resourceskus.go
- snapshots.go
- usage.go
- version.go
- virtualmachineextensionimages.go
- virtualmachineextensions.go
- virtualmachineimages.go
- virtualmachineruncommands.go
- virtualmachines.go
- virtualmachinescalesetextensions.go
- virtualmachinescalesetrollingupgrades.go
- virtualmachinescalesets.go
- virtualmachinescalesetvms.go
- virtualmachinesizes.go