Documentation ¶
Overview ¶
Package compute implements the Azure ARM Compute service API version .
Compute Client
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type APIEntityReference
- type APIError
- type APIErrorBase
- type AccessLevel
- type AccessURI
- type AdditionalCapabilities
- type AdditionalUnattendContent
- type AutomaticOSUpgradePolicy
- type AutomaticOSUpgradeProperties
- type AutomaticRepairsPolicy
- type AvailabilitySet
- type AvailabilitySetListResult
- type AvailabilitySetListResultIterator
- func (iter *AvailabilitySetListResultIterator) Next() error
- func (iter *AvailabilitySetListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter AvailabilitySetListResultIterator) NotDone() bool
- func (iter AvailabilitySetListResultIterator) Response() AvailabilitySetListResult
- func (iter AvailabilitySetListResultIterator) Value() AvailabilitySet
- type AvailabilitySetListResultPage
- func (page *AvailabilitySetListResultPage) Next() error
- func (page *AvailabilitySetListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page AvailabilitySetListResultPage) NotDone() bool
- func (page AvailabilitySetListResultPage) Response() AvailabilitySetListResult
- func (page AvailabilitySetListResultPage) Values() []AvailabilitySet
- type AvailabilitySetProperties
- type AvailabilitySetSkuTypes
- type AvailabilitySetUpdate
- type AvailabilitySetsClient
- func (client AvailabilitySetsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, availabilitySetName string, ...) (result AvailabilitySet, err error)
- func (client AvailabilitySetsClient) CreateOrUpdatePreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, availabilitySetName string) (result autorest.Response, err error)
- func (client AvailabilitySetsClient) DeletePreparer(ctx context.Context, resourceGroupName string, availabilitySetName string) (*http.Request, error)
- func (client AvailabilitySetsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client AvailabilitySetsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client AvailabilitySetsClient) Get(ctx context.Context, resourceGroupName string, availabilitySetName string) (result AvailabilitySet, err error)
- func (client AvailabilitySetsClient) GetPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string) (result AvailabilitySetListResultPage, err error)
- func (client AvailabilitySetsClient) ListAvailableSizes(ctx context.Context, resourceGroupName string, availabilitySetName string) (result VirtualMachineSizeListResult, err error)
- func (client AvailabilitySetsClient) ListAvailableSizesPreparer(ctx context.Context, 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) ListBySubscription(ctx context.Context, expand string) (result AvailabilitySetListResultPage, err error)
- func (client AvailabilitySetsClient) ListBySubscriptionComplete(ctx context.Context, expand string) (result AvailabilitySetListResultIterator, err error)
- func (client AvailabilitySetsClient) ListBySubscriptionPreparer(ctx context.Context, expand string) (*http.Request, error)
- func (client AvailabilitySetsClient) ListBySubscriptionResponder(resp *http.Response) (result AvailabilitySetListResult, err error)
- func (client AvailabilitySetsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
- func (client AvailabilitySetsClient) ListComplete(ctx context.Context, resourceGroupName string) (result AvailabilitySetListResultIterator, err error)
- func (client AvailabilitySetsClient) ListPreparer(ctx context.Context, 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)
- func (client AvailabilitySetsClient) Update(ctx context.Context, resourceGroupName string, availabilitySetName string, ...) (result AvailabilitySet, err error)
- func (client AvailabilitySetsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, availabilitySetName string, ...) (*http.Request, error)
- func (client AvailabilitySetsClient) UpdateResponder(resp *http.Response) (result AvailabilitySet, err error)
- func (client AvailabilitySetsClient) UpdateSender(req *http.Request) (*http.Response, error)
- type AvailablePatchSummary
- type BaseClient
- type BillingProfile
- type BootDiagnostics
- type BootDiagnosticsInstanceView
- type CachingTypes
- type CloudError
- type ComponentNames
- type CreationData
- type DataDisk
- type DataDiskImage
- type DedicatedHost
- type DedicatedHostAllocatableVM
- type DedicatedHostAvailableCapacity
- type DedicatedHostGroup
- type DedicatedHostGroupInstanceView
- type DedicatedHostGroupListResult
- type DedicatedHostGroupListResultIterator
- func (iter *DedicatedHostGroupListResultIterator) Next() error
- func (iter *DedicatedHostGroupListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter DedicatedHostGroupListResultIterator) NotDone() bool
- func (iter DedicatedHostGroupListResultIterator) Response() DedicatedHostGroupListResult
- func (iter DedicatedHostGroupListResultIterator) Value() DedicatedHostGroup
- type DedicatedHostGroupListResultPage
- func (page *DedicatedHostGroupListResultPage) Next() error
- func (page *DedicatedHostGroupListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page DedicatedHostGroupListResultPage) NotDone() bool
- func (page DedicatedHostGroupListResultPage) Response() DedicatedHostGroupListResult
- func (page DedicatedHostGroupListResultPage) Values() []DedicatedHostGroup
- type DedicatedHostGroupProperties
- type DedicatedHostGroupUpdate
- type DedicatedHostGroupsClient
- func (client DedicatedHostGroupsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hostGroupName string, ...) (result DedicatedHostGroup, err error)
- func (client DedicatedHostGroupsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hostGroupName string, ...) (*http.Request, error)
- func (client DedicatedHostGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result DedicatedHostGroup, err error)
- func (client DedicatedHostGroupsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client DedicatedHostGroupsClient) Delete(ctx context.Context, resourceGroupName string, hostGroupName string) (result autorest.Response, err error)
- func (client DedicatedHostGroupsClient) DeletePreparer(ctx context.Context, resourceGroupName string, hostGroupName string) (*http.Request, error)
- func (client DedicatedHostGroupsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client DedicatedHostGroupsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client DedicatedHostGroupsClient) Get(ctx context.Context, resourceGroupName string, hostGroupName string, ...) (result DedicatedHostGroup, err error)
- func (client DedicatedHostGroupsClient) GetPreparer(ctx context.Context, resourceGroupName string, hostGroupName string, ...) (*http.Request, error)
- func (client DedicatedHostGroupsClient) GetResponder(resp *http.Response) (result DedicatedHostGroup, err error)
- func (client DedicatedHostGroupsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client DedicatedHostGroupsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result DedicatedHostGroupListResultPage, err error)
- func (client DedicatedHostGroupsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result DedicatedHostGroupListResultIterator, err error)
- func (client DedicatedHostGroupsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client DedicatedHostGroupsClient) ListByResourceGroupResponder(resp *http.Response) (result DedicatedHostGroupListResult, err error)
- func (client DedicatedHostGroupsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client DedicatedHostGroupsClient) ListBySubscription(ctx context.Context) (result DedicatedHostGroupListResultPage, err error)
- func (client DedicatedHostGroupsClient) ListBySubscriptionComplete(ctx context.Context) (result DedicatedHostGroupListResultIterator, err error)
- func (client DedicatedHostGroupsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
- func (client DedicatedHostGroupsClient) ListBySubscriptionResponder(resp *http.Response) (result DedicatedHostGroupListResult, err error)
- func (client DedicatedHostGroupsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
- func (client DedicatedHostGroupsClient) Update(ctx context.Context, resourceGroupName string, hostGroupName string, ...) (result DedicatedHostGroup, err error)
- func (client DedicatedHostGroupsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, hostGroupName string, ...) (*http.Request, error)
- func (client DedicatedHostGroupsClient) UpdateResponder(resp *http.Response) (result DedicatedHostGroup, err error)
- func (client DedicatedHostGroupsClient) UpdateSender(req *http.Request) (*http.Response, error)
- type DedicatedHostInstanceView
- type DedicatedHostInstanceViewWithName
- type DedicatedHostLicenseTypes
- type DedicatedHostListResult
- type DedicatedHostListResultIterator
- func (iter *DedicatedHostListResultIterator) Next() error
- func (iter *DedicatedHostListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter DedicatedHostListResultIterator) NotDone() bool
- func (iter DedicatedHostListResultIterator) Response() DedicatedHostListResult
- func (iter DedicatedHostListResultIterator) Value() DedicatedHost
- type DedicatedHostListResultPage
- func (page *DedicatedHostListResultPage) Next() error
- func (page *DedicatedHostListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page DedicatedHostListResultPage) NotDone() bool
- func (page DedicatedHostListResultPage) Response() DedicatedHostListResult
- func (page DedicatedHostListResultPage) Values() []DedicatedHost
- type DedicatedHostProperties
- type DedicatedHostUpdate
- type DedicatedHostsClient
- func (client DedicatedHostsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hostGroupName string, ...) (result DedicatedHostsCreateOrUpdateFuture, err error)
- func (client DedicatedHostsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hostGroupName string, ...) (*http.Request, error)
- func (client DedicatedHostsClient) CreateOrUpdateResponder(resp *http.Response) (result DedicatedHost, err error)
- func (client DedicatedHostsClient) CreateOrUpdateSender(req *http.Request) (future DedicatedHostsCreateOrUpdateFuture, err error)
- func (client DedicatedHostsClient) Delete(ctx context.Context, resourceGroupName string, hostGroupName string, ...) (result DedicatedHostsDeleteFuture, err error)
- func (client DedicatedHostsClient) DeletePreparer(ctx context.Context, resourceGroupName string, hostGroupName string, ...) (*http.Request, error)
- func (client DedicatedHostsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client DedicatedHostsClient) DeleteSender(req *http.Request) (future DedicatedHostsDeleteFuture, err error)
- func (client DedicatedHostsClient) Get(ctx context.Context, resourceGroupName string, hostGroupName string, ...) (result DedicatedHost, err error)
- func (client DedicatedHostsClient) GetPreparer(ctx context.Context, resourceGroupName string, hostGroupName string, ...) (*http.Request, error)
- func (client DedicatedHostsClient) GetResponder(resp *http.Response) (result DedicatedHost, err error)
- func (client DedicatedHostsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client DedicatedHostsClient) ListByHostGroup(ctx context.Context, resourceGroupName string, hostGroupName string) (result DedicatedHostListResultPage, err error)
- func (client DedicatedHostsClient) ListByHostGroupComplete(ctx context.Context, resourceGroupName string, hostGroupName string) (result DedicatedHostListResultIterator, err error)
- func (client DedicatedHostsClient) ListByHostGroupPreparer(ctx context.Context, resourceGroupName string, hostGroupName string) (*http.Request, error)
- func (client DedicatedHostsClient) ListByHostGroupResponder(resp *http.Response) (result DedicatedHostListResult, err error)
- func (client DedicatedHostsClient) ListByHostGroupSender(req *http.Request) (*http.Response, error)
- func (client DedicatedHostsClient) Update(ctx context.Context, resourceGroupName string, hostGroupName string, ...) (result DedicatedHostsUpdateFuture, err error)
- func (client DedicatedHostsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, hostGroupName string, ...) (*http.Request, error)
- func (client DedicatedHostsClient) UpdateResponder(resp *http.Response) (result DedicatedHost, err error)
- func (client DedicatedHostsClient) UpdateSender(req *http.Request) (future DedicatedHostsUpdateFuture, err error)
- type DedicatedHostsCreateOrUpdateFuture
- type DedicatedHostsDeleteFuture
- type DedicatedHostsUpdateFuture
- type DiagnosticsProfile
- type DiffDiskOptions
- type DiffDiskPlacement
- type DiffDiskSettings
- type DisallowedConfiguration
- type Disk
- type DiskCreateOption
- type DiskCreateOptionTypes
- type DiskEncryptionSet
- type DiskEncryptionSetIdentityType
- type DiskEncryptionSetList
- type DiskEncryptionSetListIterator
- func (iter *DiskEncryptionSetListIterator) Next() error
- func (iter *DiskEncryptionSetListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter DiskEncryptionSetListIterator) NotDone() bool
- func (iter DiskEncryptionSetListIterator) Response() DiskEncryptionSetList
- func (iter DiskEncryptionSetListIterator) Value() DiskEncryptionSet
- type DiskEncryptionSetListPage
- func (page *DiskEncryptionSetListPage) Next() error
- func (page *DiskEncryptionSetListPage) NextWithContext(ctx context.Context) (err error)
- func (page DiskEncryptionSetListPage) NotDone() bool
- func (page DiskEncryptionSetListPage) Response() DiskEncryptionSetList
- func (page DiskEncryptionSetListPage) Values() []DiskEncryptionSet
- type DiskEncryptionSetParameters
- type DiskEncryptionSetUpdate
- type DiskEncryptionSetUpdateProperties
- type DiskEncryptionSetsClient
- func (client DiskEncryptionSetsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, diskEncryptionSetName string, ...) (result DiskEncryptionSetsCreateOrUpdateFuture, err error)
- func (client DiskEncryptionSetsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, diskEncryptionSetName string, ...) (*http.Request, error)
- func (client DiskEncryptionSetsClient) CreateOrUpdateResponder(resp *http.Response) (result DiskEncryptionSet, err error)
- func (client DiskEncryptionSetsClient) CreateOrUpdateSender(req *http.Request) (future DiskEncryptionSetsCreateOrUpdateFuture, err error)
- func (client DiskEncryptionSetsClient) Delete(ctx context.Context, resourceGroupName string, diskEncryptionSetName string) (result DiskEncryptionSetsDeleteFuture, err error)
- func (client DiskEncryptionSetsClient) DeletePreparer(ctx context.Context, resourceGroupName string, diskEncryptionSetName string) (*http.Request, error)
- func (client DiskEncryptionSetsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client DiskEncryptionSetsClient) DeleteSender(req *http.Request) (future DiskEncryptionSetsDeleteFuture, err error)
- func (client DiskEncryptionSetsClient) Get(ctx context.Context, resourceGroupName string, diskEncryptionSetName string) (result DiskEncryptionSet, err error)
- func (client DiskEncryptionSetsClient) GetPreparer(ctx context.Context, resourceGroupName string, diskEncryptionSetName string) (*http.Request, error)
- func (client DiskEncryptionSetsClient) GetResponder(resp *http.Response) (result DiskEncryptionSet, err error)
- func (client DiskEncryptionSetsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client DiskEncryptionSetsClient) List(ctx context.Context) (result DiskEncryptionSetListPage, err error)
- func (client DiskEncryptionSetsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result DiskEncryptionSetListPage, err error)
- func (client DiskEncryptionSetsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result DiskEncryptionSetListIterator, err error)
- func (client DiskEncryptionSetsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client DiskEncryptionSetsClient) ListByResourceGroupResponder(resp *http.Response) (result DiskEncryptionSetList, err error)
- func (client DiskEncryptionSetsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client DiskEncryptionSetsClient) ListComplete(ctx context.Context) (result DiskEncryptionSetListIterator, err error)
- func (client DiskEncryptionSetsClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client DiskEncryptionSetsClient) ListResponder(resp *http.Response) (result DiskEncryptionSetList, err error)
- func (client DiskEncryptionSetsClient) ListSender(req *http.Request) (*http.Response, error)
- func (client DiskEncryptionSetsClient) Update(ctx context.Context, resourceGroupName string, diskEncryptionSetName string, ...) (result DiskEncryptionSetsUpdateFuture, err error)
- func (client DiskEncryptionSetsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, diskEncryptionSetName string, ...) (*http.Request, error)
- func (client DiskEncryptionSetsClient) UpdateResponder(resp *http.Response) (result DiskEncryptionSet, err error)
- func (client DiskEncryptionSetsClient) UpdateSender(req *http.Request) (future DiskEncryptionSetsUpdateFuture, err error)
- type DiskEncryptionSetsCreateOrUpdateFuture
- type DiskEncryptionSetsDeleteFuture
- type DiskEncryptionSetsUpdateFuture
- type DiskEncryptionSettings
- type DiskInstanceView
- type DiskList
- type DiskListIterator
- type DiskListPage
- type DiskProperties
- type DiskSku
- type DiskState
- type DiskStorageAccountTypes
- type DiskUpdate
- type DiskUpdateProperties
- type DisksClient
- func (client DisksClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, diskName string, disk Disk) (result DisksCreateOrUpdateFuture, err error)
- func (client DisksClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, diskName string, disk Disk) (*http.Request, error)
- func (client DisksClient) CreateOrUpdateResponder(resp *http.Response) (result Disk, err error)
- func (client DisksClient) CreateOrUpdateSender(req *http.Request) (future DisksCreateOrUpdateFuture, err error)
- func (client DisksClient) Delete(ctx context.Context, resourceGroupName string, diskName string) (result DisksDeleteFuture, err error)
- func (client DisksClient) DeletePreparer(ctx context.Context, resourceGroupName string, diskName string) (*http.Request, error)
- func (client DisksClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client DisksClient) DeleteSender(req *http.Request) (future DisksDeleteFuture, err error)
- func (client DisksClient) Get(ctx context.Context, resourceGroupName string, diskName string) (result Disk, err error)
- func (client DisksClient) GetPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, diskName string, ...) (result DisksGrantAccessFuture, err error)
- func (client DisksClient) GrantAccessPreparer(ctx context.Context, resourceGroupName string, diskName string, ...) (*http.Request, error)
- func (client DisksClient) GrantAccessResponder(resp *http.Response) (result AccessURI, err error)
- func (client DisksClient) GrantAccessSender(req *http.Request) (future DisksGrantAccessFuture, err error)
- func (client DisksClient) List(ctx context.Context) (result DiskListPage, err error)
- func (client DisksClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result DiskListPage, err error)
- func (client DisksClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result DiskListIterator, err error)
- func (client DisksClient) ListByResourceGroupPreparer(ctx context.Context, 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(ctx context.Context) (result DiskListIterator, err error)
- func (client DisksClient) ListPreparer(ctx context.Context) (*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(ctx context.Context, resourceGroupName string, diskName string) (result DisksRevokeAccessFuture, err error)
- func (client DisksClient) RevokeAccessPreparer(ctx context.Context, resourceGroupName string, diskName string) (*http.Request, error)
- func (client DisksClient) RevokeAccessResponder(resp *http.Response) (result autorest.Response, err error)
- func (client DisksClient) RevokeAccessSender(req *http.Request) (future DisksRevokeAccessFuture, err error)
- func (client DisksClient) Update(ctx context.Context, resourceGroupName string, diskName string, ...) (result DisksUpdateFuture, err error)
- func (client DisksClient) UpdatePreparer(ctx context.Context, resourceGroupName string, diskName string, ...) (*http.Request, error)
- func (client DisksClient) UpdateResponder(resp *http.Response) (result Disk, err error)
- func (client DisksClient) UpdateSender(req *http.Request) (future DisksUpdateFuture, err error)
- type DisksCreateOrUpdateFuture
- type DisksDeleteFuture
- type DisksGrantAccessFuture
- type DisksRevokeAccessFuture
- type DisksUpdateFuture
- type Encryption
- type EncryptionSetIdentity
- type EncryptionSetProperties
- type EncryptionSettingsCollection
- type EncryptionSettingsElement
- type EncryptionType
- type GrantAccessData
- type HardwareProfile
- type HyperVGeneration
- type HyperVGenerationType
- type HyperVGenerationTypes
- type IPVersion
- type Image
- type ImageDataDisk
- type ImageDisk
- type ImageDiskReference
- type ImageListResult
- type ImageListResultIterator
- type ImageListResultPage
- type ImageOSDisk
- type ImageProperties
- type ImageReference
- type ImageStorageProfile
- type ImageUpdate
- type ImagesClient
- func (client ImagesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, imageName string, ...) (result ImagesCreateOrUpdateFuture, err error)
- func (client ImagesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, imageName string, ...) (*http.Request, error)
- func (client ImagesClient) CreateOrUpdateResponder(resp *http.Response) (result Image, err error)
- func (client ImagesClient) CreateOrUpdateSender(req *http.Request) (future ImagesCreateOrUpdateFuture, err error)
- func (client ImagesClient) Delete(ctx context.Context, resourceGroupName string, imageName string) (result ImagesDeleteFuture, err error)
- func (client ImagesClient) DeletePreparer(ctx context.Context, resourceGroupName string, imageName string) (*http.Request, error)
- func (client ImagesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ImagesClient) DeleteSender(req *http.Request) (future ImagesDeleteFuture, err error)
- func (client ImagesClient) Get(ctx context.Context, resourceGroupName string, imageName string, expand string) (result Image, err error)
- func (client ImagesClient) GetPreparer(ctx context.Context, 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(ctx context.Context) (result ImageListResultPage, err error)
- func (client ImagesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ImageListResultPage, err error)
- func (client ImagesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ImageListResultIterator, err error)
- func (client ImagesClient) ListByResourceGroupPreparer(ctx context.Context, 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(ctx context.Context) (result ImageListResultIterator, err error)
- func (client ImagesClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client ImagesClient) ListResponder(resp *http.Response) (result ImageListResult, err error)
- func (client ImagesClient) ListSender(req *http.Request) (*http.Response, error)
- func (client ImagesClient) Update(ctx context.Context, resourceGroupName string, imageName string, ...) (result ImagesUpdateFuture, err error)
- func (client ImagesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, imageName string, ...) (*http.Request, error)
- func (client ImagesClient) UpdateResponder(resp *http.Response) (result Image, err error)
- func (client ImagesClient) UpdateSender(req *http.Request) (future ImagesUpdateFuture, err error)
- type ImagesCreateOrUpdateFuture
- type ImagesDeleteFuture
- type ImagesUpdateFuture
- type InGuestPatchMode
- type InnerError
- type InstanceViewStatus
- type InstanceViewTypes
- type IntervalInMins
- type KeyVaultAndKeyReference
- type KeyVaultAndSecretReference
- type KeyVaultKeyReference
- type KeyVaultSecretReference
- type LastPatchInstallationSummary
- type LinuxConfiguration
- type ListUsagesResult
- type ListUsagesResultIterator
- func (iter *ListUsagesResultIterator) Next() error
- func (iter *ListUsagesResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ListUsagesResultIterator) NotDone() bool
- func (iter ListUsagesResultIterator) Response() ListUsagesResult
- func (iter ListUsagesResultIterator) Value() Usage
- type ListUsagesResultPage
- type ListVirtualMachineExtensionImage
- type ListVirtualMachineImageResource
- type LogAnalyticsClient
- func (client LogAnalyticsClient) ExportRequestRateByInterval(ctx context.Context, parameters RequestRateByIntervalInput, location string) (result LogAnalyticsExportRequestRateByIntervalFuture, err error)
- func (client LogAnalyticsClient) ExportRequestRateByIntervalPreparer(ctx context.Context, parameters RequestRateByIntervalInput, location string) (*http.Request, error)
- func (client LogAnalyticsClient) ExportRequestRateByIntervalResponder(resp *http.Response) (result LogAnalyticsOperationResult, err error)
- func (client LogAnalyticsClient) ExportRequestRateByIntervalSender(req *http.Request) (future LogAnalyticsExportRequestRateByIntervalFuture, err error)
- func (client LogAnalyticsClient) ExportThrottledRequests(ctx context.Context, parameters ThrottledRequestsInput, location string) (result LogAnalyticsExportThrottledRequestsFuture, err error)
- func (client LogAnalyticsClient) ExportThrottledRequestsPreparer(ctx context.Context, parameters ThrottledRequestsInput, location string) (*http.Request, error)
- func (client LogAnalyticsClient) ExportThrottledRequestsResponder(resp *http.Response) (result LogAnalyticsOperationResult, err error)
- func (client LogAnalyticsClient) ExportThrottledRequestsSender(req *http.Request) (future LogAnalyticsExportThrottledRequestsFuture, err error)
- type LogAnalyticsExportRequestRateByIntervalFuture
- type LogAnalyticsExportThrottledRequestsFuture
- type LogAnalyticsInputBase
- type LogAnalyticsOperationResult
- type LogAnalyticsOutput
- type MaintenanceOperationResultCodeTypes
- type MaintenanceRedeployStatus
- type ManagedDiskParameters
- type NetworkInterfaceReference
- type NetworkInterfaceReferenceProperties
- type NetworkProfile
- type OSDisk
- type OSDiskImage
- type OSProfile
- type OperatingSystemStateTypes
- type OperatingSystemTypes
- type OperationListResult
- type OperationValue
- type OperationValueDisplay
- type OperationsClient
- func (client OperationsClient) List(ctx context.Context) (result OperationListResult, err error)
- func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)
- func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)
- type OrchestrationServiceNames
- type OrchestrationServiceState
- type OrchestrationServiceStateAction
- type OrchestrationServiceStateInput
- type OrchestrationServiceSummary
- type PassNames
- type PatchAssessmentState
- type PatchOperationStatus
- type PatchSettings
- type Plan
- type ProtocolTypes
- type ProximityPlacementGroup
- type ProximityPlacementGroupListResult
- type ProximityPlacementGroupListResultIterator
- func (iter *ProximityPlacementGroupListResultIterator) Next() error
- func (iter *ProximityPlacementGroupListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ProximityPlacementGroupListResultIterator) NotDone() bool
- func (iter ProximityPlacementGroupListResultIterator) Response() ProximityPlacementGroupListResult
- func (iter ProximityPlacementGroupListResultIterator) Value() ProximityPlacementGroup
- type ProximityPlacementGroupListResultPage
- func (page *ProximityPlacementGroupListResultPage) Next() error
- func (page *ProximityPlacementGroupListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page ProximityPlacementGroupListResultPage) NotDone() bool
- func (page ProximityPlacementGroupListResultPage) Response() ProximityPlacementGroupListResult
- func (page ProximityPlacementGroupListResultPage) Values() []ProximityPlacementGroup
- type ProximityPlacementGroupProperties
- type ProximityPlacementGroupType
- type ProximityPlacementGroupUpdate
- type ProximityPlacementGroupsClient
- func (client ProximityPlacementGroupsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, ...) (result ProximityPlacementGroup, err error)
- func (client ProximityPlacementGroupsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, ...) (*http.Request, error)
- func (client ProximityPlacementGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result ProximityPlacementGroup, err error)
- func (client ProximityPlacementGroupsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client ProximityPlacementGroupsClient) Delete(ctx context.Context, resourceGroupName string, ...) (result autorest.Response, err error)
- func (client ProximityPlacementGroupsClient) DeletePreparer(ctx context.Context, resourceGroupName string, ...) (*http.Request, error)
- func (client ProximityPlacementGroupsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ProximityPlacementGroupsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client ProximityPlacementGroupsClient) Get(ctx context.Context, resourceGroupName string, ...) (result ProximityPlacementGroup, err error)
- func (client ProximityPlacementGroupsClient) GetPreparer(ctx context.Context, resourceGroupName string, ...) (*http.Request, error)
- func (client ProximityPlacementGroupsClient) GetResponder(resp *http.Response) (result ProximityPlacementGroup, err error)
- func (client ProximityPlacementGroupsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ProximityPlacementGroupsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ProximityPlacementGroupListResultPage, err error)
- func (client ProximityPlacementGroupsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ProximityPlacementGroupListResultIterator, err error)
- func (client ProximityPlacementGroupsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client ProximityPlacementGroupsClient) ListByResourceGroupResponder(resp *http.Response) (result ProximityPlacementGroupListResult, err error)
- func (client ProximityPlacementGroupsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client ProximityPlacementGroupsClient) ListBySubscription(ctx context.Context) (result ProximityPlacementGroupListResultPage, err error)
- func (client ProximityPlacementGroupsClient) ListBySubscriptionComplete(ctx context.Context) (result ProximityPlacementGroupListResultIterator, err error)
- func (client ProximityPlacementGroupsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
- func (client ProximityPlacementGroupsClient) ListBySubscriptionResponder(resp *http.Response) (result ProximityPlacementGroupListResult, err error)
- func (client ProximityPlacementGroupsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
- func (client ProximityPlacementGroupsClient) Update(ctx context.Context, resourceGroupName string, ...) (result ProximityPlacementGroup, err error)
- func (client ProximityPlacementGroupsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, ...) (*http.Request, error)
- func (client ProximityPlacementGroupsClient) UpdateResponder(resp *http.Response) (result ProximityPlacementGroup, err error)
- func (client ProximityPlacementGroupsClient) UpdateSender(req *http.Request) (*http.Response, error)
- type PurchasePlan
- type RebootStatus
- type RecoveryWalkResponse
- type RequestRateByIntervalInput
- type Resource
- type ResourceIdentityType
- type RetrieveBootDiagnosticsDataResult
- type RollbackStatusInfo
- type RollingUpgradeActionType
- type RollingUpgradePolicy
- type RollingUpgradeProgressInfo
- type RollingUpgradeRunningStatus
- type RollingUpgradeStatusCode
- type RollingUpgradeStatusInfo
- type RollingUpgradeStatusInfoProperties
- type SSHConfiguration
- type SSHPublicKey
- type SSHPublicKeyGenerateKeyPairResult
- type SSHPublicKeyResource
- type SSHPublicKeyResourceProperties
- type SSHPublicKeyUpdateResource
- type SSHPublicKeysClient
- func (client SSHPublicKeysClient) Create(ctx context.Context, resourceGroupName string, SSHPublicKeyName string, ...) (result SSHPublicKeyResource, err error)
- func (client SSHPublicKeysClient) CreatePreparer(ctx context.Context, resourceGroupName string, SSHPublicKeyName string, ...) (*http.Request, error)
- func (client SSHPublicKeysClient) CreateResponder(resp *http.Response) (result SSHPublicKeyResource, err error)
- func (client SSHPublicKeysClient) CreateSender(req *http.Request) (*http.Response, error)
- func (client SSHPublicKeysClient) Delete(ctx context.Context, resourceGroupName string, SSHPublicKeyName string) (result autorest.Response, err error)
- func (client SSHPublicKeysClient) DeletePreparer(ctx context.Context, resourceGroupName string, SSHPublicKeyName string) (*http.Request, error)
- func (client SSHPublicKeysClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client SSHPublicKeysClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client SSHPublicKeysClient) GenerateKeyPair(ctx context.Context, resourceGroupName string, SSHPublicKeyName string) (result SSHPublicKeyGenerateKeyPairResult, err error)
- func (client SSHPublicKeysClient) GenerateKeyPairPreparer(ctx context.Context, resourceGroupName string, SSHPublicKeyName string) (*http.Request, error)
- func (client SSHPublicKeysClient) GenerateKeyPairResponder(resp *http.Response) (result SSHPublicKeyGenerateKeyPairResult, err error)
- func (client SSHPublicKeysClient) GenerateKeyPairSender(req *http.Request) (*http.Response, error)
- func (client SSHPublicKeysClient) Get(ctx context.Context, resourceGroupName string, SSHPublicKeyName string) (result SSHPublicKeyResource, err error)
- func (client SSHPublicKeysClient) GetPreparer(ctx context.Context, resourceGroupName string, SSHPublicKeyName string) (*http.Request, error)
- func (client SSHPublicKeysClient) GetResponder(resp *http.Response) (result SSHPublicKeyResource, err error)
- func (client SSHPublicKeysClient) GetSender(req *http.Request) (*http.Response, error)
- func (client SSHPublicKeysClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result SSHPublicKeysGroupListResultPage, err error)
- func (client SSHPublicKeysClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result SSHPublicKeysGroupListResultIterator, err error)
- func (client SSHPublicKeysClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client SSHPublicKeysClient) ListByResourceGroupResponder(resp *http.Response) (result SSHPublicKeysGroupListResult, err error)
- func (client SSHPublicKeysClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client SSHPublicKeysClient) ListBySubscription(ctx context.Context) (result SSHPublicKeysGroupListResultPage, err error)
- func (client SSHPublicKeysClient) ListBySubscriptionComplete(ctx context.Context) (result SSHPublicKeysGroupListResultIterator, err error)
- func (client SSHPublicKeysClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
- func (client SSHPublicKeysClient) ListBySubscriptionResponder(resp *http.Response) (result SSHPublicKeysGroupListResult, err error)
- func (client SSHPublicKeysClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
- func (client SSHPublicKeysClient) Update(ctx context.Context, resourceGroupName string, SSHPublicKeyName string, ...) (result SSHPublicKeyResource, err error)
- func (client SSHPublicKeysClient) UpdatePreparer(ctx context.Context, resourceGroupName string, SSHPublicKeyName string, ...) (*http.Request, error)
- func (client SSHPublicKeysClient) UpdateResponder(resp *http.Response) (result SSHPublicKeyResource, err error)
- func (client SSHPublicKeysClient) UpdateSender(req *http.Request) (*http.Response, error)
- type SSHPublicKeysGroupListResult
- type SSHPublicKeysGroupListResultIterator
- func (iter *SSHPublicKeysGroupListResultIterator) Next() error
- func (iter *SSHPublicKeysGroupListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter SSHPublicKeysGroupListResultIterator) NotDone() bool
- func (iter SSHPublicKeysGroupListResultIterator) Response() SSHPublicKeysGroupListResult
- func (iter SSHPublicKeysGroupListResultIterator) Value() SSHPublicKeyResource
- type SSHPublicKeysGroupListResultPage
- func (page *SSHPublicKeysGroupListResultPage) Next() error
- func (page *SSHPublicKeysGroupListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page SSHPublicKeysGroupListResultPage) NotDone() bool
- func (page SSHPublicKeysGroupListResultPage) Response() SSHPublicKeysGroupListResult
- func (page SSHPublicKeysGroupListResultPage) Values() []SSHPublicKeyResource
- type ScaleInPolicy
- type ScheduledEventsProfile
- type SecurityProfile
- type SettingNames
- type Sku
- type Snapshot
- type SnapshotList
- type SnapshotListIterator
- type SnapshotListPage
- type SnapshotProperties
- type SnapshotSku
- type SnapshotStorageAccountTypes
- type SnapshotUpdate
- type SnapshotUpdateProperties
- type SnapshotsClient
- func (client SnapshotsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, snapshotName string, ...) (result SnapshotsCreateOrUpdateFuture, err error)
- func (client SnapshotsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, snapshotName string, ...) (*http.Request, error)
- func (client SnapshotsClient) CreateOrUpdateResponder(resp *http.Response) (result Snapshot, err error)
- func (client SnapshotsClient) CreateOrUpdateSender(req *http.Request) (future SnapshotsCreateOrUpdateFuture, err error)
- func (client SnapshotsClient) Delete(ctx context.Context, resourceGroupName string, snapshotName string) (result SnapshotsDeleteFuture, err error)
- func (client SnapshotsClient) DeletePreparer(ctx context.Context, resourceGroupName string, snapshotName string) (*http.Request, error)
- func (client SnapshotsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client SnapshotsClient) DeleteSender(req *http.Request) (future SnapshotsDeleteFuture, err error)
- func (client SnapshotsClient) Get(ctx context.Context, resourceGroupName string, snapshotName string) (result Snapshot, err error)
- func (client SnapshotsClient) GetPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, snapshotName string, ...) (result SnapshotsGrantAccessFuture, err error)
- func (client SnapshotsClient) GrantAccessPreparer(ctx context.Context, resourceGroupName string, snapshotName string, ...) (*http.Request, error)
- func (client SnapshotsClient) GrantAccessResponder(resp *http.Response) (result AccessURI, err error)
- func (client SnapshotsClient) GrantAccessSender(req *http.Request) (future SnapshotsGrantAccessFuture, err error)
- func (client SnapshotsClient) List(ctx context.Context) (result SnapshotListPage, err error)
- func (client SnapshotsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result SnapshotListPage, err error)
- func (client SnapshotsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result SnapshotListIterator, err error)
- func (client SnapshotsClient) ListByResourceGroupPreparer(ctx context.Context, 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(ctx context.Context) (result SnapshotListIterator, err error)
- func (client SnapshotsClient) ListPreparer(ctx context.Context) (*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(ctx context.Context, resourceGroupName string, snapshotName string) (result SnapshotsRevokeAccessFuture, err error)
- func (client SnapshotsClient) RevokeAccessPreparer(ctx context.Context, resourceGroupName string, snapshotName string) (*http.Request, error)
- func (client SnapshotsClient) RevokeAccessResponder(resp *http.Response) (result autorest.Response, err error)
- func (client SnapshotsClient) RevokeAccessSender(req *http.Request) (future SnapshotsRevokeAccessFuture, err error)
- func (client SnapshotsClient) Update(ctx context.Context, resourceGroupName string, snapshotName string, ...) (result SnapshotsUpdateFuture, err error)
- func (client SnapshotsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, snapshotName string, ...) (*http.Request, error)
- func (client SnapshotsClient) UpdateResponder(resp *http.Response) (result Snapshot, err error)
- func (client SnapshotsClient) UpdateSender(req *http.Request) (future SnapshotsUpdateFuture, err error)
- type SnapshotsCreateOrUpdateFuture
- type SnapshotsDeleteFuture
- type SnapshotsGrantAccessFuture
- type SnapshotsRevokeAccessFuture
- type SnapshotsUpdateFuture
- type SoftwareUpdateRebootBehavior
- type SourceVault
- type StatusLevelTypes
- type StorageAccountTypes
- type StorageProfile
- type SubResource
- type SubResourceReadOnly
- type SubResourceWithColocationStatus
- type TerminateNotificationProfile
- type ThrottledRequestsInput
- type UpdateResource
- type UpgradeMode
- type UpgradeOperationHistoricalStatusInfo
- type UpgradeOperationHistoricalStatusInfoProperties
- type UpgradeOperationHistoryStatus
- type UpgradeOperationInvoker
- type UpgradePolicy
- type UpgradeState
- type Usage
- type UsageClient
- func (client UsageClient) List(ctx context.Context, location string) (result ListUsagesResultPage, err error)
- func (client UsageClient) ListComplete(ctx context.Context, location string) (result ListUsagesResultIterator, err error)
- func (client UsageClient) ListPreparer(ctx context.Context, 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 VMDiskTypes
- type VMScaleSetConvertToSinglePlacementGroupInput
- type VaultCertificate
- type VaultSecretGroup
- type VirtualHardDisk
- type VirtualMachine
- type VirtualMachineAgentInstanceView
- type VirtualMachineAssessPatchesResult
- type VirtualMachineCaptureParameters
- type VirtualMachineCaptureResult
- type VirtualMachineEvictionPolicyTypes
- type VirtualMachineExtension
- type VirtualMachineExtensionHandlerInstanceView
- type VirtualMachineExtensionImage
- type VirtualMachineExtensionImageProperties
- type VirtualMachineExtensionImagesClient
- func (client VirtualMachineExtensionImagesClient) Get(ctx context.Context, location string, publisherName string, ...) (result VirtualMachineExtensionImage, err error)
- func (client VirtualMachineExtensionImagesClient) GetPreparer(ctx context.Context, location string, publisherName 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(ctx context.Context, location string, publisherName string) (result ListVirtualMachineExtensionImage, err error)
- func (client VirtualMachineExtensionImagesClient) ListTypesPreparer(ctx context.Context, 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(ctx context.Context, location string, publisherName string, ...) (result ListVirtualMachineExtensionImage, err error)
- func (client VirtualMachineExtensionImagesClient) ListVersionsPreparer(ctx context.Context, location string, publisherName 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 VirtualMachineExtensionUpdate
- type VirtualMachineExtensionUpdateProperties
- type VirtualMachineExtensionsClient
- func (client VirtualMachineExtensionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, VMName string, ...) (result VirtualMachineExtensionsCreateOrUpdateFuture, err error)
- func (client VirtualMachineExtensionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, VMName string, ...) (*http.Request, error)
- func (client VirtualMachineExtensionsClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualMachineExtension, err error)
- func (client VirtualMachineExtensionsClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachineExtensionsCreateOrUpdateFuture, err error)
- func (client VirtualMachineExtensionsClient) Delete(ctx context.Context, resourceGroupName string, VMName string, ...) (result VirtualMachineExtensionsDeleteFuture, err error)
- func (client VirtualMachineExtensionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, VMName string, ...) (*http.Request, error)
- func (client VirtualMachineExtensionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VirtualMachineExtensionsClient) DeleteSender(req *http.Request) (future VirtualMachineExtensionsDeleteFuture, err error)
- func (client VirtualMachineExtensionsClient) Get(ctx context.Context, resourceGroupName string, VMName string, ...) (result VirtualMachineExtension, err error)
- func (client VirtualMachineExtensionsClient) GetPreparer(ctx context.Context, resourceGroupName string, VMName 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)
- func (client VirtualMachineExtensionsClient) List(ctx context.Context, resourceGroupName string, VMName string, expand string) (result VirtualMachineExtensionsListResult, err error)
- func (client VirtualMachineExtensionsClient) ListPreparer(ctx context.Context, resourceGroupName string, VMName string, expand string) (*http.Request, error)
- func (client VirtualMachineExtensionsClient) ListResponder(resp *http.Response) (result VirtualMachineExtensionsListResult, err error)
- func (client VirtualMachineExtensionsClient) ListSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachineExtensionsClient) Update(ctx context.Context, resourceGroupName string, VMName string, ...) (result VirtualMachineExtensionsUpdateFuture, err error)
- func (client VirtualMachineExtensionsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, VMName string, ...) (*http.Request, error)
- func (client VirtualMachineExtensionsClient) UpdateResponder(resp *http.Response) (result VirtualMachineExtension, err error)
- func (client VirtualMachineExtensionsClient) UpdateSender(req *http.Request) (future VirtualMachineExtensionsUpdateFuture, err error)
- type VirtualMachineExtensionsCreateOrUpdateFuture
- type VirtualMachineExtensionsDeleteFuture
- type VirtualMachineExtensionsListResult
- type VirtualMachineExtensionsUpdateFuture
- type VirtualMachineHealthStatus
- type VirtualMachineIdentity
- type VirtualMachineIdentityUserAssignedIdentitiesValue
- type VirtualMachineImage
- type VirtualMachineImageProperties
- type VirtualMachineImageResource
- type VirtualMachineImagesClient
- func (client VirtualMachineImagesClient) Get(ctx context.Context, location string, publisherName string, offer string, ...) (result VirtualMachineImage, err error)
- func (client VirtualMachineImagesClient) GetPreparer(ctx context.Context, location string, publisherName string, offer 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(ctx context.Context, location string, publisherName string, offer string, ...) (result ListVirtualMachineImageResource, err error)
- func (client VirtualMachineImagesClient) ListOffers(ctx context.Context, location string, publisherName string) (result ListVirtualMachineImageResource, err error)
- func (client VirtualMachineImagesClient) ListOffersPreparer(ctx context.Context, 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(ctx context.Context, location string, publisherName string, offer string, ...) (*http.Request, error)
- func (client VirtualMachineImagesClient) ListPublishers(ctx context.Context, location string) (result ListVirtualMachineImageResource, err error)
- func (client VirtualMachineImagesClient) ListPublishersPreparer(ctx context.Context, 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(ctx context.Context, location string, publisherName string, offer string) (result ListVirtualMachineImageResource, err error)
- func (client VirtualMachineImagesClient) ListSkusPreparer(ctx context.Context, 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 VirtualMachineListResultIterator
- func (iter *VirtualMachineListResultIterator) Next() error
- func (iter *VirtualMachineListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter VirtualMachineListResultIterator) NotDone() bool
- func (iter VirtualMachineListResultIterator) Response() VirtualMachineListResult
- func (iter VirtualMachineListResultIterator) Value() VirtualMachine
- type VirtualMachineListResultPage
- func (page *VirtualMachineListResultPage) Next() error
- func (page *VirtualMachineListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page VirtualMachineListResultPage) NotDone() bool
- func (page VirtualMachineListResultPage) Response() VirtualMachineListResult
- func (page VirtualMachineListResultPage) Values() []VirtualMachine
- type VirtualMachinePatchStatus
- type VirtualMachinePriorityTypes
- type VirtualMachineProperties
- type VirtualMachineReimageParameters
- type VirtualMachineScaleSet
- type VirtualMachineScaleSetDataDisk
- type VirtualMachineScaleSetExtension
- type VirtualMachineScaleSetExtensionListResult
- type VirtualMachineScaleSetExtensionListResultIterator
- func (iter *VirtualMachineScaleSetExtensionListResultIterator) Next() error
- func (iter *VirtualMachineScaleSetExtensionListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter VirtualMachineScaleSetExtensionListResultIterator) NotDone() bool
- func (iter VirtualMachineScaleSetExtensionListResultIterator) Response() VirtualMachineScaleSetExtensionListResult
- func (iter VirtualMachineScaleSetExtensionListResultIterator) Value() VirtualMachineScaleSetExtension
- type VirtualMachineScaleSetExtensionListResultPage
- func (page *VirtualMachineScaleSetExtensionListResultPage) Next() error
- func (page *VirtualMachineScaleSetExtensionListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page VirtualMachineScaleSetExtensionListResultPage) NotDone() bool
- func (page VirtualMachineScaleSetExtensionListResultPage) Response() VirtualMachineScaleSetExtensionListResult
- func (page VirtualMachineScaleSetExtensionListResultPage) Values() []VirtualMachineScaleSetExtension
- type VirtualMachineScaleSetExtensionProfile
- type VirtualMachineScaleSetExtensionProperties
- type VirtualMachineScaleSetExtensionUpdate
- type VirtualMachineScaleSetExtensionsClient
- func (client VirtualMachineScaleSetExtensionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (result VirtualMachineScaleSetExtensionsCreateOrUpdateFuture, err error)
- func (client VirtualMachineScaleSetExtensionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)
- func (client VirtualMachineScaleSetExtensionsClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualMachineScaleSetExtension, err error)
- func (client VirtualMachineScaleSetExtensionsClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachineScaleSetExtensionsCreateOrUpdateFuture, err error)
- func (client VirtualMachineScaleSetExtensionsClient) Delete(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (result VirtualMachineScaleSetExtensionsDeleteFuture, err error)
- func (client VirtualMachineScaleSetExtensionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)
- func (client VirtualMachineScaleSetExtensionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VirtualMachineScaleSetExtensionsClient) DeleteSender(req *http.Request) (future VirtualMachineScaleSetExtensionsDeleteFuture, err error)
- func (client VirtualMachineScaleSetExtensionsClient) Get(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (result VirtualMachineScaleSetExtension, err error)
- func (client VirtualMachineScaleSetExtensionsClient) GetPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName 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(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetExtensionListResultPage, err error)
- func (client VirtualMachineScaleSetExtensionsClient) ListComplete(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetExtensionListResultIterator, err error)
- func (client VirtualMachineScaleSetExtensionsClient) ListPreparer(ctx context.Context, 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)
- func (client VirtualMachineScaleSetExtensionsClient) Update(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (result VirtualMachineScaleSetExtensionsUpdateFuture, err error)
- func (client VirtualMachineScaleSetExtensionsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)
- func (client VirtualMachineScaleSetExtensionsClient) UpdateResponder(resp *http.Response) (result VirtualMachineScaleSetExtension, err error)
- func (client VirtualMachineScaleSetExtensionsClient) UpdateSender(req *http.Request) (future VirtualMachineScaleSetExtensionsUpdateFuture, err error)
- type VirtualMachineScaleSetExtensionsCreateOrUpdateFuture
- type VirtualMachineScaleSetExtensionsDeleteFuture
- type VirtualMachineScaleSetExtensionsUpdateFuture
- type VirtualMachineScaleSetIPConfiguration
- type VirtualMachineScaleSetIPConfigurationProperties
- type VirtualMachineScaleSetIPTag
- type VirtualMachineScaleSetIdentity
- type VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue
- type VirtualMachineScaleSetInstanceView
- type VirtualMachineScaleSetInstanceViewStatusesSummary
- type VirtualMachineScaleSetListOSUpgradeHistory
- type VirtualMachineScaleSetListOSUpgradeHistoryIterator
- func (iter *VirtualMachineScaleSetListOSUpgradeHistoryIterator) Next() error
- func (iter *VirtualMachineScaleSetListOSUpgradeHistoryIterator) NextWithContext(ctx context.Context) (err error)
- func (iter VirtualMachineScaleSetListOSUpgradeHistoryIterator) NotDone() bool
- func (iter VirtualMachineScaleSetListOSUpgradeHistoryIterator) Response() VirtualMachineScaleSetListOSUpgradeHistory
- func (iter VirtualMachineScaleSetListOSUpgradeHistoryIterator) Value() UpgradeOperationHistoricalStatusInfo
- type VirtualMachineScaleSetListOSUpgradeHistoryPage
- func (page *VirtualMachineScaleSetListOSUpgradeHistoryPage) Next() error
- func (page *VirtualMachineScaleSetListOSUpgradeHistoryPage) NextWithContext(ctx context.Context) (err error)
- func (page VirtualMachineScaleSetListOSUpgradeHistoryPage) NotDone() bool
- func (page VirtualMachineScaleSetListOSUpgradeHistoryPage) Response() VirtualMachineScaleSetListOSUpgradeHistory
- func (page VirtualMachineScaleSetListOSUpgradeHistoryPage) Values() []UpgradeOperationHistoricalStatusInfo
- type VirtualMachineScaleSetListResult
- type VirtualMachineScaleSetListResultIterator
- func (iter *VirtualMachineScaleSetListResultIterator) Next() error
- func (iter *VirtualMachineScaleSetListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter VirtualMachineScaleSetListResultIterator) NotDone() bool
- func (iter VirtualMachineScaleSetListResultIterator) Response() VirtualMachineScaleSetListResult
- func (iter VirtualMachineScaleSetListResultIterator) Value() VirtualMachineScaleSet
- type VirtualMachineScaleSetListResultPage
- func (page *VirtualMachineScaleSetListResultPage) Next() error
- func (page *VirtualMachineScaleSetListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page VirtualMachineScaleSetListResultPage) NotDone() bool
- func (page VirtualMachineScaleSetListResultPage) Response() VirtualMachineScaleSetListResult
- func (page VirtualMachineScaleSetListResultPage) Values() []VirtualMachineScaleSet
- type VirtualMachineScaleSetListSkusResult
- type VirtualMachineScaleSetListSkusResultIterator
- func (iter *VirtualMachineScaleSetListSkusResultIterator) Next() error
- func (iter *VirtualMachineScaleSetListSkusResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter VirtualMachineScaleSetListSkusResultIterator) NotDone() bool
- func (iter VirtualMachineScaleSetListSkusResultIterator) Response() VirtualMachineScaleSetListSkusResult
- func (iter VirtualMachineScaleSetListSkusResultIterator) Value() VirtualMachineScaleSetSku
- type VirtualMachineScaleSetListSkusResultPage
- func (page *VirtualMachineScaleSetListSkusResultPage) Next() error
- func (page *VirtualMachineScaleSetListSkusResultPage) NextWithContext(ctx context.Context) (err error)
- func (page VirtualMachineScaleSetListSkusResultPage) NotDone() bool
- func (page VirtualMachineScaleSetListSkusResultPage) Response() VirtualMachineScaleSetListSkusResult
- func (page VirtualMachineScaleSetListSkusResultPage) Values() []VirtualMachineScaleSetSku
- type VirtualMachineScaleSetListWithLinkResult
- type VirtualMachineScaleSetListWithLinkResultIterator
- func (iter *VirtualMachineScaleSetListWithLinkResultIterator) Next() error
- func (iter *VirtualMachineScaleSetListWithLinkResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter VirtualMachineScaleSetListWithLinkResultIterator) NotDone() bool
- func (iter VirtualMachineScaleSetListWithLinkResultIterator) Response() VirtualMachineScaleSetListWithLinkResult
- func (iter VirtualMachineScaleSetListWithLinkResultIterator) Value() VirtualMachineScaleSet
- type VirtualMachineScaleSetListWithLinkResultPage
- func (page *VirtualMachineScaleSetListWithLinkResultPage) Next() error
- func (page *VirtualMachineScaleSetListWithLinkResultPage) NextWithContext(ctx context.Context) (err error)
- func (page VirtualMachineScaleSetListWithLinkResultPage) NotDone() bool
- func (page VirtualMachineScaleSetListWithLinkResultPage) Response() VirtualMachineScaleSetListWithLinkResult
- func (page VirtualMachineScaleSetListWithLinkResultPage) Values() []VirtualMachineScaleSet
- type VirtualMachineScaleSetManagedDiskParameters
- type VirtualMachineScaleSetNetworkConfiguration
- type VirtualMachineScaleSetNetworkConfigurationDNSSettings
- type VirtualMachineScaleSetNetworkConfigurationProperties
- type VirtualMachineScaleSetNetworkProfile
- type VirtualMachineScaleSetOSDisk
- type VirtualMachineScaleSetOSProfile
- type VirtualMachineScaleSetProperties
- type VirtualMachineScaleSetPublicIPAddressConfiguration
- type VirtualMachineScaleSetPublicIPAddressConfigurationDNSSettings
- type VirtualMachineScaleSetPublicIPAddressConfigurationProperties
- type VirtualMachineScaleSetReimageParameters
- type VirtualMachineScaleSetRollingUpgradesCancelFuture
- type VirtualMachineScaleSetRollingUpgradesClient
- func (client VirtualMachineScaleSetRollingUpgradesClient) Cancel(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetRollingUpgradesCancelFuture, err error)
- func (client VirtualMachineScaleSetRollingUpgradesClient) CancelPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string) (*http.Request, error)
- func (client VirtualMachineScaleSetRollingUpgradesClient) CancelResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VirtualMachineScaleSetRollingUpgradesClient) CancelSender(req *http.Request) (future VirtualMachineScaleSetRollingUpgradesCancelFuture, err error)
- func (client VirtualMachineScaleSetRollingUpgradesClient) GetLatest(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result RollingUpgradeStatusInfo, err error)
- func (client VirtualMachineScaleSetRollingUpgradesClient) GetLatestPreparer(ctx context.Context, 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) StartExtensionUpgrade(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeFuture, ...)
- func (client VirtualMachineScaleSetRollingUpgradesClient) StartExtensionUpgradePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string) (*http.Request, error)
- func (client VirtualMachineScaleSetRollingUpgradesClient) StartExtensionUpgradeResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VirtualMachineScaleSetRollingUpgradesClient) StartExtensionUpgradeSender(req *http.Request) (future VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeFuture, ...)
- func (client VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgrade(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetRollingUpgradesStartOSUpgradeFuture, err error)
- func (client VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgradePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string) (*http.Request, error)
- func (client VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgradeResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgradeSender(req *http.Request) (future VirtualMachineScaleSetRollingUpgradesStartOSUpgradeFuture, err error)
- type VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeFuture
- type VirtualMachineScaleSetRollingUpgradesStartOSUpgradeFuture
- type VirtualMachineScaleSetScaleInRules
- 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 VirtualMachineScaleSetVMExtension
- type VirtualMachineScaleSetVMExtensionUpdate
- type VirtualMachineScaleSetVMExtensionsClient
- func (client VirtualMachineScaleSetVMExtensionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (result VirtualMachineScaleSetVMExtensionsCreateOrUpdateFuture, err error)
- func (client VirtualMachineScaleSetVMExtensionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)
- func (client VirtualMachineScaleSetVMExtensionsClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualMachineScaleSetVMExtension, err error)
- func (client VirtualMachineScaleSetVMExtensionsClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachineScaleSetVMExtensionsCreateOrUpdateFuture, err error)
- func (client VirtualMachineScaleSetVMExtensionsClient) Delete(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (result VirtualMachineScaleSetVMExtensionsDeleteFuture, err error)
- func (client VirtualMachineScaleSetVMExtensionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)
- func (client VirtualMachineScaleSetVMExtensionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VirtualMachineScaleSetVMExtensionsClient) DeleteSender(req *http.Request) (future VirtualMachineScaleSetVMExtensionsDeleteFuture, err error)
- func (client VirtualMachineScaleSetVMExtensionsClient) Get(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (result VirtualMachineScaleSetVMExtension, err error)
- func (client VirtualMachineScaleSetVMExtensionsClient) GetPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)
- func (client VirtualMachineScaleSetVMExtensionsClient) GetResponder(resp *http.Response) (result VirtualMachineScaleSetVMExtension, err error)
- func (client VirtualMachineScaleSetVMExtensionsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachineScaleSetVMExtensionsClient) List(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (result VirtualMachineScaleSetVMExtensionsListResult, err error)
- func (client VirtualMachineScaleSetVMExtensionsClient) ListPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)
- func (client VirtualMachineScaleSetVMExtensionsClient) ListResponder(resp *http.Response) (result VirtualMachineScaleSetVMExtensionsListResult, err error)
- func (client VirtualMachineScaleSetVMExtensionsClient) ListSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachineScaleSetVMExtensionsClient) Update(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (result VirtualMachineScaleSetVMExtensionsUpdateFuture, err error)
- func (client VirtualMachineScaleSetVMExtensionsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)
- func (client VirtualMachineScaleSetVMExtensionsClient) UpdateResponder(resp *http.Response) (result VirtualMachineScaleSetVMExtension, err error)
- func (client VirtualMachineScaleSetVMExtensionsClient) UpdateSender(req *http.Request) (future VirtualMachineScaleSetVMExtensionsUpdateFuture, err error)
- type VirtualMachineScaleSetVMExtensionsCreateOrUpdateFuture
- type VirtualMachineScaleSetVMExtensionsDeleteFuture
- type VirtualMachineScaleSetVMExtensionsListResult
- type VirtualMachineScaleSetVMExtensionsSummary
- type VirtualMachineScaleSetVMExtensionsUpdateFuture
- type VirtualMachineScaleSetVMInstanceIDs
- type VirtualMachineScaleSetVMInstanceRequiredIDs
- type VirtualMachineScaleSetVMInstanceView
- type VirtualMachineScaleSetVMListResult
- type VirtualMachineScaleSetVMListResultIterator
- func (iter *VirtualMachineScaleSetVMListResultIterator) Next() error
- func (iter *VirtualMachineScaleSetVMListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter VirtualMachineScaleSetVMListResultIterator) NotDone() bool
- func (iter VirtualMachineScaleSetVMListResultIterator) Response() VirtualMachineScaleSetVMListResult
- func (iter VirtualMachineScaleSetVMListResultIterator) Value() VirtualMachineScaleSetVM
- type VirtualMachineScaleSetVMListResultPage
- func (page *VirtualMachineScaleSetVMListResultPage) Next() error
- func (page *VirtualMachineScaleSetVMListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page VirtualMachineScaleSetVMListResultPage) NotDone() bool
- func (page VirtualMachineScaleSetVMListResultPage) Response() VirtualMachineScaleSetVMListResult
- func (page VirtualMachineScaleSetVMListResultPage) Values() []VirtualMachineScaleSetVM
- type VirtualMachineScaleSetVMNetworkProfileConfiguration
- type VirtualMachineScaleSetVMProfile
- type VirtualMachineScaleSetVMProperties
- type VirtualMachineScaleSetVMProtectionPolicy
- type VirtualMachineScaleSetVMReimageParameters
- type VirtualMachineScaleSetVMsClient
- func (client VirtualMachineScaleSetVMsClient) Deallocate(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (result VirtualMachineScaleSetVMsDeallocateFuture, err error)
- func (client VirtualMachineScaleSetVMsClient) DeallocatePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)
- func (client VirtualMachineScaleSetVMsClient) DeallocateResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VirtualMachineScaleSetVMsClient) DeallocateSender(req *http.Request) (future VirtualMachineScaleSetVMsDeallocateFuture, err error)
- func (client VirtualMachineScaleSetVMsClient) Delete(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (result VirtualMachineScaleSetVMsDeleteFuture, err error)
- func (client VirtualMachineScaleSetVMsClient) DeletePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)
- func (client VirtualMachineScaleSetVMsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VirtualMachineScaleSetVMsClient) DeleteSender(req *http.Request) (future VirtualMachineScaleSetVMsDeleteFuture, err error)
- func (client VirtualMachineScaleSetVMsClient) Get(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (result VirtualMachineScaleSetVM, err error)
- func (client VirtualMachineScaleSetVMsClient) GetInstanceView(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (result VirtualMachineScaleSetVMInstanceView, err error)
- func (client VirtualMachineScaleSetVMsClient) GetInstanceViewPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName 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(ctx context.Context, resourceGroupName string, VMScaleSetName 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(ctx context.Context, resourceGroupName string, ...) (result VirtualMachineScaleSetVMListResultPage, err error)
- func (client VirtualMachineScaleSetVMsClient) ListComplete(ctx context.Context, resourceGroupName string, ...) (result VirtualMachineScaleSetVMListResultIterator, err error)
- func (client VirtualMachineScaleSetVMsClient) ListPreparer(ctx context.Context, resourceGroupName 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) PerformMaintenance(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (result VirtualMachineScaleSetVMsPerformMaintenanceFuture, err error)
- func (client VirtualMachineScaleSetVMsClient) PerformMaintenancePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)
- func (client VirtualMachineScaleSetVMsClient) PerformMaintenanceResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VirtualMachineScaleSetVMsClient) PerformMaintenanceSender(req *http.Request) (future VirtualMachineScaleSetVMsPerformMaintenanceFuture, err error)
- func (client VirtualMachineScaleSetVMsClient) PowerOff(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (result VirtualMachineScaleSetVMsPowerOffFuture, err error)
- func (client VirtualMachineScaleSetVMsClient) PowerOffPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)
- func (client VirtualMachineScaleSetVMsClient) PowerOffResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VirtualMachineScaleSetVMsClient) PowerOffSender(req *http.Request) (future VirtualMachineScaleSetVMsPowerOffFuture, err error)
- func (client VirtualMachineScaleSetVMsClient) Redeploy(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (result VirtualMachineScaleSetVMsRedeployFuture, err error)
- func (client VirtualMachineScaleSetVMsClient) RedeployPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)
- func (client VirtualMachineScaleSetVMsClient) RedeployResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VirtualMachineScaleSetVMsClient) RedeploySender(req *http.Request) (future VirtualMachineScaleSetVMsRedeployFuture, err error)
- func (client VirtualMachineScaleSetVMsClient) Reimage(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (result VirtualMachineScaleSetVMsReimageFuture, err error)
- func (client VirtualMachineScaleSetVMsClient) ReimageAll(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (result VirtualMachineScaleSetVMsReimageAllFuture, err error)
- func (client VirtualMachineScaleSetVMsClient) ReimageAllPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)
- func (client VirtualMachineScaleSetVMsClient) ReimageAllResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VirtualMachineScaleSetVMsClient) ReimageAllSender(req *http.Request) (future VirtualMachineScaleSetVMsReimageAllFuture, err error)
- func (client VirtualMachineScaleSetVMsClient) ReimagePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)
- func (client VirtualMachineScaleSetVMsClient) ReimageResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VirtualMachineScaleSetVMsClient) ReimageSender(req *http.Request) (future VirtualMachineScaleSetVMsReimageFuture, err error)
- func (client VirtualMachineScaleSetVMsClient) Restart(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (result VirtualMachineScaleSetVMsRestartFuture, err error)
- func (client VirtualMachineScaleSetVMsClient) RestartPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)
- func (client VirtualMachineScaleSetVMsClient) RestartResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VirtualMachineScaleSetVMsClient) RestartSender(req *http.Request) (future VirtualMachineScaleSetVMsRestartFuture, err error)
- func (client VirtualMachineScaleSetVMsClient) RetrieveBootDiagnosticsData(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (result RetrieveBootDiagnosticsDataResult, err error)
- func (client VirtualMachineScaleSetVMsClient) RetrieveBootDiagnosticsDataPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)
- func (client VirtualMachineScaleSetVMsClient) RetrieveBootDiagnosticsDataResponder(resp *http.Response) (result RetrieveBootDiagnosticsDataResult, err error)
- func (client VirtualMachineScaleSetVMsClient) RetrieveBootDiagnosticsDataSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachineScaleSetVMsClient) SimulateEviction(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (result autorest.Response, err error)
- func (client VirtualMachineScaleSetVMsClient) SimulateEvictionPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)
- func (client VirtualMachineScaleSetVMsClient) SimulateEvictionResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VirtualMachineScaleSetVMsClient) SimulateEvictionSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachineScaleSetVMsClient) Start(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (result VirtualMachineScaleSetVMsStartFuture, err error)
- func (client VirtualMachineScaleSetVMsClient) StartPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)
- func (client VirtualMachineScaleSetVMsClient) StartResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VirtualMachineScaleSetVMsClient) StartSender(req *http.Request) (future VirtualMachineScaleSetVMsStartFuture, err error)
- func (client VirtualMachineScaleSetVMsClient) Update(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (result VirtualMachineScaleSetVMsUpdateFuture, err error)
- func (client VirtualMachineScaleSetVMsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)
- func (client VirtualMachineScaleSetVMsClient) UpdateResponder(resp *http.Response) (result VirtualMachineScaleSetVM, err error)
- func (client VirtualMachineScaleSetVMsClient) UpdateSender(req *http.Request) (future VirtualMachineScaleSetVMsUpdateFuture, err error)
- type VirtualMachineScaleSetVMsDeallocateFuture
- type VirtualMachineScaleSetVMsDeleteFuture
- type VirtualMachineScaleSetVMsPerformMaintenanceFuture
- type VirtualMachineScaleSetVMsPowerOffFuture
- type VirtualMachineScaleSetVMsRedeployFuture
- type VirtualMachineScaleSetVMsReimageAllFuture
- type VirtualMachineScaleSetVMsReimageFuture
- type VirtualMachineScaleSetVMsRestartFuture
- type VirtualMachineScaleSetVMsStartFuture
- type VirtualMachineScaleSetVMsUpdateFuture
- type VirtualMachineScaleSetsClient
- func (client VirtualMachineScaleSetsClient) ConvertToSinglePlacementGroup(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (result autorest.Response, err error)
- func (client VirtualMachineScaleSetsClient) ConvertToSinglePlacementGroupPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)
- func (client VirtualMachineScaleSetsClient) ConvertToSinglePlacementGroupResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VirtualMachineScaleSetsClient) ConvertToSinglePlacementGroupSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachineScaleSetsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (result VirtualMachineScaleSetsCreateOrUpdateFuture, err error)
- func (client VirtualMachineScaleSetsClient) CreateOrUpdatePreparer(ctx context.Context, 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) (future VirtualMachineScaleSetsCreateOrUpdateFuture, err error)
- func (client VirtualMachineScaleSetsClient) Deallocate(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (result VirtualMachineScaleSetsDeallocateFuture, err error)
- func (client VirtualMachineScaleSetsClient) DeallocatePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)
- func (client VirtualMachineScaleSetsClient) DeallocateResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VirtualMachineScaleSetsClient) DeallocateSender(req *http.Request) (future VirtualMachineScaleSetsDeallocateFuture, err error)
- func (client VirtualMachineScaleSetsClient) Delete(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetsDeleteFuture, err error)
- func (client VirtualMachineScaleSetsClient) DeleteInstances(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (result VirtualMachineScaleSetsDeleteInstancesFuture, err error)
- func (client VirtualMachineScaleSetsClient) DeleteInstancesPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)
- func (client VirtualMachineScaleSetsClient) DeleteInstancesResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VirtualMachineScaleSetsClient) DeleteInstancesSender(req *http.Request) (future VirtualMachineScaleSetsDeleteInstancesFuture, err error)
- func (client VirtualMachineScaleSetsClient) DeletePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string) (*http.Request, error)
- func (client VirtualMachineScaleSetsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VirtualMachineScaleSetsClient) DeleteSender(req *http.Request) (future VirtualMachineScaleSetsDeleteFuture, err error)
- func (client VirtualMachineScaleSetsClient) ForceRecoveryServiceFabricPlatformUpdateDomainWalk(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (result RecoveryWalkResponse, err error)
- func (client VirtualMachineScaleSetsClient) ForceRecoveryServiceFabricPlatformUpdateDomainWalkPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)
- func (client VirtualMachineScaleSetsClient) ForceRecoveryServiceFabricPlatformUpdateDomainWalkResponder(resp *http.Response) (result RecoveryWalkResponse, err error)
- func (client VirtualMachineScaleSetsClient) ForceRecoveryServiceFabricPlatformUpdateDomainWalkSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachineScaleSetsClient) Get(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSet, err error)
- func (client VirtualMachineScaleSetsClient) GetInstanceView(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetInstanceView, err error)
- func (client VirtualMachineScaleSetsClient) GetInstanceViewPreparer(ctx context.Context, 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) GetOSUpgradeHistory(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetListOSUpgradeHistoryPage, err error)
- func (client VirtualMachineScaleSetsClient) GetOSUpgradeHistoryComplete(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetListOSUpgradeHistoryIterator, err error)
- func (client VirtualMachineScaleSetsClient) GetOSUpgradeHistoryPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string) (*http.Request, error)
- func (client VirtualMachineScaleSetsClient) GetOSUpgradeHistoryResponder(resp *http.Response) (result VirtualMachineScaleSetListOSUpgradeHistory, err error)
- func (client VirtualMachineScaleSetsClient) GetOSUpgradeHistorySender(req *http.Request) (*http.Response, error)
- func (client VirtualMachineScaleSetsClient) GetPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string) (result VirtualMachineScaleSetListResultPage, err error)
- func (client VirtualMachineScaleSetsClient) ListAll(ctx context.Context) (result VirtualMachineScaleSetListWithLinkResultPage, err error)
- func (client VirtualMachineScaleSetsClient) ListAllComplete(ctx context.Context) (result VirtualMachineScaleSetListWithLinkResultIterator, err error)
- func (client VirtualMachineScaleSetsClient) ListAllPreparer(ctx context.Context) (*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(ctx context.Context, resourceGroupName string) (result VirtualMachineScaleSetListResultIterator, err error)
- func (client VirtualMachineScaleSetsClient) ListPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetListSkusResultPage, err error)
- func (client VirtualMachineScaleSetsClient) ListSkusComplete(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetListSkusResultIterator, err error)
- func (client VirtualMachineScaleSetsClient) ListSkusPreparer(ctx context.Context, 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) PerformMaintenance(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (result VirtualMachineScaleSetsPerformMaintenanceFuture, err error)
- func (client VirtualMachineScaleSetsClient) PerformMaintenancePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)
- func (client VirtualMachineScaleSetsClient) PerformMaintenanceResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VirtualMachineScaleSetsClient) PerformMaintenanceSender(req *http.Request) (future VirtualMachineScaleSetsPerformMaintenanceFuture, err error)
- func (client VirtualMachineScaleSetsClient) PowerOff(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (result VirtualMachineScaleSetsPowerOffFuture, err error)
- func (client VirtualMachineScaleSetsClient) PowerOffPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)
- func (client VirtualMachineScaleSetsClient) PowerOffResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VirtualMachineScaleSetsClient) PowerOffSender(req *http.Request) (future VirtualMachineScaleSetsPowerOffFuture, err error)
- func (client VirtualMachineScaleSetsClient) Redeploy(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (result VirtualMachineScaleSetsRedeployFuture, err error)
- func (client VirtualMachineScaleSetsClient) RedeployPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)
- func (client VirtualMachineScaleSetsClient) RedeployResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VirtualMachineScaleSetsClient) RedeploySender(req *http.Request) (future VirtualMachineScaleSetsRedeployFuture, err error)
- func (client VirtualMachineScaleSetsClient) Reimage(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (result VirtualMachineScaleSetsReimageFuture, err error)
- func (client VirtualMachineScaleSetsClient) ReimageAll(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (result VirtualMachineScaleSetsReimageAllFuture, err error)
- func (client VirtualMachineScaleSetsClient) ReimageAllPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)
- func (client VirtualMachineScaleSetsClient) ReimageAllResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VirtualMachineScaleSetsClient) ReimageAllSender(req *http.Request) (future VirtualMachineScaleSetsReimageAllFuture, err error)
- func (client VirtualMachineScaleSetsClient) ReimagePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)
- func (client VirtualMachineScaleSetsClient) ReimageResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VirtualMachineScaleSetsClient) ReimageSender(req *http.Request) (future VirtualMachineScaleSetsReimageFuture, err error)
- func (client VirtualMachineScaleSetsClient) Restart(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (result VirtualMachineScaleSetsRestartFuture, err error)
- func (client VirtualMachineScaleSetsClient) RestartPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)
- func (client VirtualMachineScaleSetsClient) RestartResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VirtualMachineScaleSetsClient) RestartSender(req *http.Request) (future VirtualMachineScaleSetsRestartFuture, err error)
- func (client VirtualMachineScaleSetsClient) SetOrchestrationServiceState(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (result VirtualMachineScaleSetsSetOrchestrationServiceStateFuture, err error)
- func (client VirtualMachineScaleSetsClient) SetOrchestrationServiceStatePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)
- func (client VirtualMachineScaleSetsClient) SetOrchestrationServiceStateResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VirtualMachineScaleSetsClient) SetOrchestrationServiceStateSender(req *http.Request) (future VirtualMachineScaleSetsSetOrchestrationServiceStateFuture, err error)
- func (client VirtualMachineScaleSetsClient) Start(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (result VirtualMachineScaleSetsStartFuture, err error)
- func (client VirtualMachineScaleSetsClient) StartPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)
- func (client VirtualMachineScaleSetsClient) StartResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VirtualMachineScaleSetsClient) StartSender(req *http.Request) (future VirtualMachineScaleSetsStartFuture, err error)
- func (client VirtualMachineScaleSetsClient) Update(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (result VirtualMachineScaleSetsUpdateFuture, err error)
- func (client VirtualMachineScaleSetsClient) UpdateInstances(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (result VirtualMachineScaleSetsUpdateInstancesFuture, err error)
- func (client VirtualMachineScaleSetsClient) UpdateInstancesPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)
- func (client VirtualMachineScaleSetsClient) UpdateInstancesResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VirtualMachineScaleSetsClient) UpdateInstancesSender(req *http.Request) (future VirtualMachineScaleSetsUpdateInstancesFuture, err error)
- func (client VirtualMachineScaleSetsClient) UpdatePreparer(ctx context.Context, 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) (future VirtualMachineScaleSetsUpdateFuture, err error)
- type VirtualMachineScaleSetsCreateOrUpdateFuture
- type VirtualMachineScaleSetsDeallocateFuture
- type VirtualMachineScaleSetsDeleteFuture
- type VirtualMachineScaleSetsDeleteInstancesFuture
- type VirtualMachineScaleSetsPerformMaintenanceFuture
- type VirtualMachineScaleSetsPowerOffFuture
- type VirtualMachineScaleSetsRedeployFuture
- type VirtualMachineScaleSetsReimageAllFuture
- type VirtualMachineScaleSetsReimageFuture
- type VirtualMachineScaleSetsRestartFuture
- type VirtualMachineScaleSetsSetOrchestrationServiceStateFuture
- type VirtualMachineScaleSetsStartFuture
- type VirtualMachineScaleSetsUpdateFuture
- type VirtualMachineScaleSetsUpdateInstancesFuture
- type VirtualMachineSize
- type VirtualMachineSizeListResult
- type VirtualMachineSizeTypes
- type VirtualMachineSizesClient
- func (client VirtualMachineSizesClient) List(ctx context.Context, location string) (result VirtualMachineSizeListResult, err error)
- func (client VirtualMachineSizesClient) ListPreparer(ctx context.Context, 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 VirtualMachineSoftwarePatchProperties
- type VirtualMachineStatusCodeCount
- type VirtualMachineUpdate
- type VirtualMachinesAssessPatchesFuture
- type VirtualMachinesCaptureFuture
- type VirtualMachinesClient
- func (client VirtualMachinesClient) AssessPatches(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachinesAssessPatchesFuture, err error)
- func (client VirtualMachinesClient) AssessPatchesPreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)
- func (client VirtualMachinesClient) AssessPatchesResponder(resp *http.Response) (result VirtualMachineAssessPatchesResult, err error)
- func (client VirtualMachinesClient) AssessPatchesSender(req *http.Request) (future VirtualMachinesAssessPatchesFuture, err error)
- func (client VirtualMachinesClient) Capture(ctx context.Context, resourceGroupName string, VMName string, ...) (result VirtualMachinesCaptureFuture, err error)
- func (client VirtualMachinesClient) CapturePreparer(ctx context.Context, 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) (future VirtualMachinesCaptureFuture, err error)
- func (client VirtualMachinesClient) ConvertToManagedDisks(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachinesConvertToManagedDisksFuture, err error)
- func (client VirtualMachinesClient) ConvertToManagedDisksPreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)
- func (client VirtualMachinesClient) ConvertToManagedDisksResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VirtualMachinesClient) ConvertToManagedDisksSender(req *http.Request) (future VirtualMachinesConvertToManagedDisksFuture, err error)
- func (client VirtualMachinesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, VMName string, ...) (result VirtualMachinesCreateOrUpdateFuture, err error)
- func (client VirtualMachinesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, VMName string, ...) (*http.Request, error)
- func (client VirtualMachinesClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualMachine, err error)
- func (client VirtualMachinesClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachinesCreateOrUpdateFuture, err error)
- func (client VirtualMachinesClient) Deallocate(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachinesDeallocateFuture, err error)
- func (client VirtualMachinesClient) DeallocatePreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)
- func (client VirtualMachinesClient) DeallocateResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VirtualMachinesClient) DeallocateSender(req *http.Request) (future VirtualMachinesDeallocateFuture, err error)
- func (client VirtualMachinesClient) Delete(ctx context.Context, resourceGroupName string, VMName string, ...) (result VirtualMachinesDeleteFuture, err error)
- func (client VirtualMachinesClient) DeletePreparer(ctx context.Context, resourceGroupName string, VMName string, ...) (*http.Request, error)
- func (client VirtualMachinesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VirtualMachinesClient) DeleteSender(req *http.Request) (future VirtualMachinesDeleteFuture, err error)
- func (client VirtualMachinesClient) Generalize(ctx context.Context, resourceGroupName string, VMName string) (result autorest.Response, err error)
- func (client VirtualMachinesClient) GeneralizePreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)
- func (client VirtualMachinesClient) GeneralizeResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VirtualMachinesClient) GeneralizeSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachinesClient) Get(ctx context.Context, resourceGroupName string, VMName string, ...) (result VirtualMachine, err error)
- func (client VirtualMachinesClient) GetPreparer(ctx context.Context, resourceGroupName string, VMName string, ...) (*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(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachineInstanceView, err error)
- func (client VirtualMachinesClient) InstanceViewPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string) (result VirtualMachineListResultPage, err error)
- func (client VirtualMachinesClient) ListAll(ctx context.Context, statusOnly string) (result VirtualMachineListResultPage, err error)
- func (client VirtualMachinesClient) ListAllComplete(ctx context.Context, statusOnly string) (result VirtualMachineListResultIterator, err error)
- func (client VirtualMachinesClient) ListAllPreparer(ctx context.Context, statusOnly string) (*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(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachineSizeListResult, err error)
- func (client VirtualMachinesClient) ListAvailableSizesPreparer(ctx context.Context, 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) ListByLocation(ctx context.Context, location string) (result VirtualMachineListResultPage, err error)
- func (client VirtualMachinesClient) ListByLocationComplete(ctx context.Context, location string) (result VirtualMachineListResultIterator, err error)
- func (client VirtualMachinesClient) ListByLocationPreparer(ctx context.Context, location string) (*http.Request, error)
- func (client VirtualMachinesClient) ListByLocationResponder(resp *http.Response) (result VirtualMachineListResult, err error)
- func (client VirtualMachinesClient) ListByLocationSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachinesClient) ListComplete(ctx context.Context, resourceGroupName string) (result VirtualMachineListResultIterator, err error)
- func (client VirtualMachinesClient) ListPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachinesPerformMaintenanceFuture, err error)
- func (client VirtualMachinesClient) PerformMaintenancePreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)
- func (client VirtualMachinesClient) PerformMaintenanceResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VirtualMachinesClient) PerformMaintenanceSender(req *http.Request) (future VirtualMachinesPerformMaintenanceFuture, err error)
- func (client VirtualMachinesClient) PowerOff(ctx context.Context, resourceGroupName string, VMName string, ...) (result VirtualMachinesPowerOffFuture, err error)
- func (client VirtualMachinesClient) PowerOffPreparer(ctx context.Context, resourceGroupName string, VMName string, ...) (*http.Request, error)
- func (client VirtualMachinesClient) PowerOffResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VirtualMachinesClient) PowerOffSender(req *http.Request) (future VirtualMachinesPowerOffFuture, err error)
- func (client VirtualMachinesClient) Reapply(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachinesReapplyFuture, err error)
- func (client VirtualMachinesClient) ReapplyPreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)
- func (client VirtualMachinesClient) ReapplyResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VirtualMachinesClient) ReapplySender(req *http.Request) (future VirtualMachinesReapplyFuture, err error)
- func (client VirtualMachinesClient) Redeploy(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachinesRedeployFuture, err error)
- func (client VirtualMachinesClient) RedeployPreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)
- func (client VirtualMachinesClient) RedeployResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VirtualMachinesClient) RedeploySender(req *http.Request) (future VirtualMachinesRedeployFuture, err error)
- func (client VirtualMachinesClient) Reimage(ctx context.Context, resourceGroupName string, VMName string, ...) (result VirtualMachinesReimageFuture, err error)
- func (client VirtualMachinesClient) ReimagePreparer(ctx context.Context, resourceGroupName string, VMName string, ...) (*http.Request, error)
- func (client VirtualMachinesClient) ReimageResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VirtualMachinesClient) ReimageSender(req *http.Request) (future VirtualMachinesReimageFuture, err error)
- func (client VirtualMachinesClient) Restart(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachinesRestartFuture, err error)
- func (client VirtualMachinesClient) RestartPreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)
- func (client VirtualMachinesClient) RestartResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VirtualMachinesClient) RestartSender(req *http.Request) (future VirtualMachinesRestartFuture, err error)
- func (client VirtualMachinesClient) RetrieveBootDiagnosticsData(ctx context.Context, resourceGroupName string, VMName string, ...) (result RetrieveBootDiagnosticsDataResult, err error)
- func (client VirtualMachinesClient) RetrieveBootDiagnosticsDataPreparer(ctx context.Context, resourceGroupName string, VMName string, ...) (*http.Request, error)
- func (client VirtualMachinesClient) RetrieveBootDiagnosticsDataResponder(resp *http.Response) (result RetrieveBootDiagnosticsDataResult, err error)
- func (client VirtualMachinesClient) RetrieveBootDiagnosticsDataSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachinesClient) SimulateEviction(ctx context.Context, resourceGroupName string, VMName string) (result autorest.Response, err error)
- func (client VirtualMachinesClient) SimulateEvictionPreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)
- func (client VirtualMachinesClient) SimulateEvictionResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VirtualMachinesClient) SimulateEvictionSender(req *http.Request) (*http.Response, error)
- func (client VirtualMachinesClient) Start(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachinesStartFuture, err error)
- func (client VirtualMachinesClient) StartPreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)
- func (client VirtualMachinesClient) StartResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VirtualMachinesClient) StartSender(req *http.Request) (future VirtualMachinesStartFuture, err error)
- func (client VirtualMachinesClient) Update(ctx context.Context, resourceGroupName string, VMName string, ...) (result VirtualMachinesUpdateFuture, err error)
- func (client VirtualMachinesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, VMName string, ...) (*http.Request, error)
- func (client VirtualMachinesClient) UpdateResponder(resp *http.Response) (result VirtualMachine, err error)
- func (client VirtualMachinesClient) UpdateSender(req *http.Request) (future VirtualMachinesUpdateFuture, err error)
- type VirtualMachinesConvertToManagedDisksFuture
- type VirtualMachinesCreateOrUpdateFuture
- type VirtualMachinesDeallocateFuture
- type VirtualMachinesDeleteFuture
- type VirtualMachinesPerformMaintenanceFuture
- type VirtualMachinesPowerOffFuture
- type VirtualMachinesReapplyFuture
- type VirtualMachinesRedeployFuture
- type VirtualMachinesReimageFuture
- type VirtualMachinesRestartFuture
- type VirtualMachinesStartFuture
- type VirtualMachinesUpdateFuture
- 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 - The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/... ID *string `json:"id,omitempty"` }
APIEntityReference the API entity reference.
type APIError ¶
type APIError struct { // Details - The Api error details Details *[]APIErrorBase `json:"details,omitempty"` // Innererror - The Api inner error Innererror *InnerError `json:"innererror,omitempty"` // Code - The error code. Code *string `json:"code,omitempty"` // Target - The target of the particular error. Target *string `json:"target,omitempty"` // Message - The error message. Message *string `json:"message,omitempty"` }
APIError api error.
type APIErrorBase ¶
type APIErrorBase struct { // Code - The error code. Code *string `json:"code,omitempty"` // Target - The target of the particular error. Target *string `json:"target,omitempty"` // Message - The error message. Message *string `json:"message,omitempty"` }
APIErrorBase api error base.
type AccessLevel ¶
type AccessLevel string
AccessLevel enumerates the values for access level.
const ( // None ... None AccessLevel = "None" // Read ... Read AccessLevel = "Read" // Write ... Write AccessLevel = "Write" )
func PossibleAccessLevelValues ¶
func PossibleAccessLevelValues() []AccessLevel
PossibleAccessLevelValues returns an array of possible values for the AccessLevel const type.
type AccessURI ¶
type AccessURI struct { autorest.Response `json:"-"` // AccessSAS - READ-ONLY; A SAS uri for accessing a disk. AccessSAS *string `json:"accessSAS,omitempty"` }
AccessURI a disk access SAS uri.
type AdditionalCapabilities ¶
type AdditionalCapabilities struct { // UltraSSDEnabled - The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled. UltraSSDEnabled *bool `json:"ultraSSDEnabled,omitempty"` }
AdditionalCapabilities enables or disables a capability on the virtual machine or virtual machine scale set.
type AdditionalUnattendContent ¶
type AdditionalUnattendContent struct { // PassName - The pass name. Currently, the only allowable value is OobeSystem. Possible values include: 'OobeSystem' PassName PassNames `json:"passName,omitempty"` // ComponentName - The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup. Possible values include: 'MicrosoftWindowsShellSetup' ComponentName ComponentNames `json:"componentName,omitempty"` // SettingName - Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon. Possible values include: 'AutoLogon', 'FirstLogonCommands' SettingName SettingNames `json:"settingName,omitempty"` // Content - Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted. Content *string `json:"content,omitempty"` }
AdditionalUnattendContent 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 AutomaticOSUpgradePolicy ¶
type AutomaticOSUpgradePolicy struct { // EnableAutomaticOSUpgrade - Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. Default value is false. <br><br> If this is set to true for Windows based scale sets, [enableAutomaticUpdates](https://docs.microsoft.com/dotnet/api/microsoft.azure.management.compute.models.windowsconfiguration.enableautomaticupdates?view=azure-dotnet) is automatically set to false and cannot be set to true. EnableAutomaticOSUpgrade *bool `json:"enableAutomaticOSUpgrade,omitempty"` // DisableAutomaticRollback - Whether OS image rollback feature should be disabled. Default value is false. DisableAutomaticRollback *bool `json:"disableAutomaticRollback,omitempty"` }
AutomaticOSUpgradePolicy the configuration parameters used for performing automatic OS upgrade.
type AutomaticOSUpgradeProperties ¶
type AutomaticOSUpgradeProperties struct { // AutomaticOSUpgradeSupported - Specifies whether automatic OS upgrade is supported on the image. AutomaticOSUpgradeSupported *bool `json:"automaticOSUpgradeSupported,omitempty"` }
AutomaticOSUpgradeProperties describes automatic OS upgrade properties on the image.
type AutomaticRepairsPolicy ¶
type AutomaticRepairsPolicy struct { // Enabled - Specifies whether automatic repairs should be enabled on the virtual machine scale set. The default value is false. Enabled *bool `json:"enabled,omitempty"` // GracePeriod - The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The minimum allowed grace period is 30 minutes (PT30M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M). GracePeriod *string `json:"gracePeriod,omitempty"` }
AutomaticRepairsPolicy specifies the configuration parameters for automatic repairs on the virtual machine scale set.
type AvailabilitySet ¶
type AvailabilitySet struct { autorest.Response `json:"-"` *AvailabilitySetProperties `json:"properties,omitempty"` // Sku - Sku of the availability set, only name is required to be set. See AvailabilitySetSkuTypes for possible set of values. Use 'Aligned' for virtual machines with managed disks and 'Classic' for virtual machines with unmanaged disks. Default value is 'Classic'. Sku *Sku `json:"sku,omitempty"` // ID - READ-ONLY; Resource Id ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type Type *string `json:"type,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
AvailabilitySet 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 maintenance, 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.
func (AvailabilitySet) MarshalJSON ¶
func (as AvailabilitySet) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AvailabilitySet.
func (*AvailabilitySet) UnmarshalJSON ¶
func (as *AvailabilitySet) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for AvailabilitySet struct.
type AvailabilitySetListResult ¶
type AvailabilitySetListResult struct { autorest.Response `json:"-"` // Value - The list of availability sets Value *[]AvailabilitySet `json:"value,omitempty"` // NextLink - The URI to fetch the next page of AvailabilitySets. Call ListNext() with this URI to fetch the next page of AvailabilitySets. NextLink *string `json:"nextLink,omitempty"` }
AvailabilitySetListResult the List Availability Set operation response.
func (AvailabilitySetListResult) IsEmpty ¶
func (aslr AvailabilitySetListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type AvailabilitySetListResultIterator ¶
type AvailabilitySetListResultIterator struct {
// contains filtered or unexported fields
}
AvailabilitySetListResultIterator provides access to a complete listing of AvailabilitySet values.
func NewAvailabilitySetListResultIterator ¶
func NewAvailabilitySetListResultIterator(page AvailabilitySetListResultPage) AvailabilitySetListResultIterator
Creates a new instance of the AvailabilitySetListResultIterator type.
func (*AvailabilitySetListResultIterator) Next ¶
func (iter *AvailabilitySetListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*AvailabilitySetListResultIterator) NextWithContext ¶
func (iter *AvailabilitySetListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (AvailabilitySetListResultIterator) NotDone ¶
func (iter AvailabilitySetListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (AvailabilitySetListResultIterator) Response ¶
func (iter AvailabilitySetListResultIterator) Response() AvailabilitySetListResult
Response returns the raw server response from the last page request.
func (AvailabilitySetListResultIterator) Value ¶
func (iter AvailabilitySetListResultIterator) Value() AvailabilitySet
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type AvailabilitySetListResultPage ¶
type AvailabilitySetListResultPage struct {
// contains filtered or unexported fields
}
AvailabilitySetListResultPage contains a page of AvailabilitySet values.
func NewAvailabilitySetListResultPage ¶
func NewAvailabilitySetListResultPage(cur AvailabilitySetListResult, getNextPage func(context.Context, AvailabilitySetListResult) (AvailabilitySetListResult, error)) AvailabilitySetListResultPage
Creates a new instance of the AvailabilitySetListResultPage type.
func (*AvailabilitySetListResultPage) Next ¶
func (page *AvailabilitySetListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*AvailabilitySetListResultPage) NextWithContext ¶
func (page *AvailabilitySetListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (AvailabilitySetListResultPage) NotDone ¶
func (page AvailabilitySetListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (AvailabilitySetListResultPage) Response ¶
func (page AvailabilitySetListResultPage) Response() AvailabilitySetListResult
Response returns the raw server response from the last page request.
func (AvailabilitySetListResultPage) Values ¶
func (page AvailabilitySetListResultPage) Values() []AvailabilitySet
Values returns the slice of values for the current page or nil if there are no values.
type AvailabilitySetProperties ¶
type AvailabilitySetProperties struct { // PlatformUpdateDomainCount - Update Domain count. PlatformUpdateDomainCount *int32 `json:"platformUpdateDomainCount,omitempty"` // PlatformFaultDomainCount - Fault Domain count. PlatformFaultDomainCount *int32 `json:"platformFaultDomainCount,omitempty"` // VirtualMachines - A list of references to all virtual machines in the availability set. VirtualMachines *[]SubResource `json:"virtualMachines,omitempty"` // ProximityPlacementGroup - Specifies information about the proximity placement group that the availability set should be assigned to. <br><br>Minimum api-version: 2018-04-01. ProximityPlacementGroup *SubResource `json:"proximityPlacementGroup,omitempty"` // Statuses - READ-ONLY; The resource status information. Statuses *[]InstanceViewStatus `json:"statuses,omitempty"` }
AvailabilitySetProperties the instance view of a resource.
func (AvailabilitySetProperties) MarshalJSON ¶
func (asp AvailabilitySetProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AvailabilitySetProperties.
type AvailabilitySetSkuTypes ¶
type AvailabilitySetSkuTypes string
AvailabilitySetSkuTypes enumerates the values for availability set sku types.
const ( // Aligned ... Aligned AvailabilitySetSkuTypes = "Aligned" // Classic ... Classic AvailabilitySetSkuTypes = "Classic" )
func PossibleAvailabilitySetSkuTypesValues ¶
func PossibleAvailabilitySetSkuTypesValues() []AvailabilitySetSkuTypes
PossibleAvailabilitySetSkuTypesValues returns an array of possible values for the AvailabilitySetSkuTypes const type.
type AvailabilitySetUpdate ¶
type AvailabilitySetUpdate struct { *AvailabilitySetProperties `json:"properties,omitempty"` // Sku - Sku of the availability set Sku *Sku `json:"sku,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
AvailabilitySetUpdate specifies information about the availability set that the virtual machine should be assigned to. Only tags may be updated.
func (AvailabilitySetUpdate) MarshalJSON ¶
func (asu AvailabilitySetUpdate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AvailabilitySetUpdate.
func (*AvailabilitySetUpdate) UnmarshalJSON ¶
func (asu *AvailabilitySetUpdate) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for AvailabilitySetUpdate struct.
type AvailabilitySetsClient ¶
type AvailabilitySetsClient struct {
BaseClient
}
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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (AvailabilitySetsClient) CreateOrUpdate ¶
func (client AvailabilitySetsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, availabilitySetName string, parameters AvailabilitySet) (result AvailabilitySet, err error)
CreateOrUpdate create or update an availability set. Parameters: resourceGroupName - the name of the resource group. availabilitySetName - the name of the availability set. parameters - parameters supplied to the Create Availability Set operation.
func (AvailabilitySetsClient) CreateOrUpdatePreparer ¶
func (client AvailabilitySetsClient) CreateOrUpdatePreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, availabilitySetName string) (result autorest.Response, err error)
Delete delete an availability set. Parameters: resourceGroupName - the name of the resource group. availabilitySetName - the name of the availability set.
func (AvailabilitySetsClient) DeletePreparer ¶
func (client AvailabilitySetsClient) DeletePreparer(ctx context.Context, resourceGroupName string, availabilitySetName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (AvailabilitySetsClient) DeleteResponder ¶
func (client AvailabilitySetsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (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(ctx context.Context, resourceGroupName string, availabilitySetName string) (result AvailabilitySet, err error)
Get retrieves information about an availability set. Parameters: resourceGroupName - the name of the resource group. availabilitySetName - the name of the availability set.
func (AvailabilitySetsClient) GetPreparer ¶
func (client AvailabilitySetsClient) GetPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string) (result AvailabilitySetListResultPage, err error)
List lists all availability sets in a resource group. Parameters: resourceGroupName - the name of the resource group.
func (AvailabilitySetsClient) ListAvailableSizes ¶
func (client AvailabilitySetsClient) ListAvailableSizes(ctx context.Context, 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. Parameters: resourceGroupName - the name of the resource group. availabilitySetName - the name of the availability set.
func (AvailabilitySetsClient) ListAvailableSizesPreparer ¶
func (client AvailabilitySetsClient) ListAvailableSizesPreparer(ctx context.Context, 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) ListBySubscription ¶
func (client AvailabilitySetsClient) ListBySubscription(ctx context.Context, expand string) (result AvailabilitySetListResultPage, err error)
ListBySubscription lists all availability sets in a subscription. Parameters: expand - the expand expression to apply to the operation. Allowed values are 'instanceView'.
func (AvailabilitySetsClient) ListBySubscriptionComplete ¶
func (client AvailabilitySetsClient) ListBySubscriptionComplete(ctx context.Context, expand string) (result AvailabilitySetListResultIterator, err error)
ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.
func (AvailabilitySetsClient) ListBySubscriptionPreparer ¶
func (client AvailabilitySetsClient) ListBySubscriptionPreparer(ctx context.Context, expand string) (*http.Request, error)
ListBySubscriptionPreparer prepares the ListBySubscription request.
func (AvailabilitySetsClient) ListBySubscriptionResponder ¶
func (client AvailabilitySetsClient) ListBySubscriptionResponder(resp *http.Response) (result AvailabilitySetListResult, err error)
ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.
func (AvailabilitySetsClient) ListBySubscriptionSender ¶
func (client AvailabilitySetsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.
func (AvailabilitySetsClient) ListComplete ¶
func (client AvailabilitySetsClient) ListComplete(ctx context.Context, resourceGroupName string) (result AvailabilitySetListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (AvailabilitySetsClient) ListPreparer ¶
func (client AvailabilitySetsClient) ListPreparer(ctx context.Context, 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.
func (AvailabilitySetsClient) Update ¶
func (client AvailabilitySetsClient) Update(ctx context.Context, resourceGroupName string, availabilitySetName string, parameters AvailabilitySetUpdate) (result AvailabilitySet, err error)
Update update an availability set. Parameters: resourceGroupName - the name of the resource group. availabilitySetName - the name of the availability set. parameters - parameters supplied to the Update Availability Set operation.
func (AvailabilitySetsClient) UpdatePreparer ¶
func (client AvailabilitySetsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, availabilitySetName string, parameters AvailabilitySetUpdate) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (AvailabilitySetsClient) UpdateResponder ¶
func (client AvailabilitySetsClient) UpdateResponder(resp *http.Response) (result AvailabilitySet, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (AvailabilitySetsClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type AvailablePatchSummary ¶
type AvailablePatchSummary struct { // Status - READ-ONLY; The overall success or failure status of the operation. It remains "InProgress" until the operation completes. At that point it will become "Failed", "Succeeded", or "CompletedWithWarnings.". Possible values include: 'PatchOperationStatusInProgress', 'PatchOperationStatusFailed', 'PatchOperationStatusSucceeded', 'PatchOperationStatusCompletedWithWarnings' Status PatchOperationStatus `json:"status,omitempty"` // AssessmentActivityID - READ-ONLY; The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs. AssessmentActivityID *string `json:"assessmentActivityId,omitempty"` // RebootPending - READ-ONLY; The overall reboot status of the VM. It will be true when partially installed patches require a reboot to complete installation but the reboot has not yet occurred. RebootPending *bool `json:"rebootPending,omitempty"` // CriticalAndSecurityPatchCount - READ-ONLY; The number of critical or security patches that have been detected as available and not yet installed. CriticalAndSecurityPatchCount *int32 `json:"criticalAndSecurityPatchCount,omitempty"` // OtherPatchCount - READ-ONLY; The number of all available patches excluding critical and security. OtherPatchCount *int32 `json:"otherPatchCount,omitempty"` // StartTime - READ-ONLY; The UTC timestamp when the operation began. StartTime *date.Time `json:"startTime,omitempty"` // LastModifiedTime - READ-ONLY; The UTC timestamp when the operation began. LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"` // Error - READ-ONLY; The errors that were encountered during execution of the operation. The details array contains the list of them. Error *APIError `json:"error,omitempty"` }
AvailablePatchSummary describes the properties of an virtual machine instance view for available patch summary.
type BaseClient ¶
BaseClient is the base client for Compute.
func New ¶
func New(subscriptionID string) BaseClient
New creates an instance of the BaseClient client.
func NewWithBaseURI ¶
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient
NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
type BillingProfile ¶
type BillingProfile struct { // MaxPrice - Specifies the maximum price you are willing to pay for a Azure Spot VM/VMSS. This price is in US Dollars. <br><br> This price will be compared with the current Azure Spot price for the VM size. Also, the prices are compared at the time of create/update of Azure Spot VM/VMSS and the operation will only succeed if the maxPrice is greater than the current Azure Spot price. <br><br> The maxPrice will also be used for evicting a Azure Spot VM/VMSS if the current Azure Spot price goes beyond the maxPrice after creation of VM/VMSS. <br><br> Possible values are: <br><br> - Any decimal value greater than zero. Example: 0.01538 <br><br> -1 – indicates default price to be up-to on-demand. <br><br> You can set the maxPrice to -1 to indicate that the Azure Spot VM/VMSS should not be evicted for price reasons. Also, the default max price is -1 if it is not provided by you. <br><br>Minimum api-version: 2019-03-01. MaxPrice *float64 `json:"maxPrice,omitempty"` }
BillingProfile specifies the billing related details of a Azure Spot VM or VMSS. <br><br>Minimum api-version: 2019-03-01.
type BootDiagnostics ¶
type BootDiagnostics struct { // Enabled - Whether boot diagnostics should be enabled on the Virtual Machine. Enabled *bool `json:"enabled,omitempty"` // StorageURI - Uri of the storage account to use for placing the console output and screenshot. <br><br>If storageUri is not specified while enabling boot diagnostics, managed storage will be used. StorageURI *string `json:"storageUri,omitempty"` }
BootDiagnostics boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. <br><br> You can easily view the output of your console log. <br><br> Azure also enables you to see a screenshot of the VM from the hypervisor.
type BootDiagnosticsInstanceView ¶
type BootDiagnosticsInstanceView struct { // ConsoleScreenshotBlobURI - READ-ONLY; The console screenshot blob URI. <br><br>NOTE: This will **not** be set if boot diagnostics is currently enabled with managed storage. ConsoleScreenshotBlobURI *string `json:"consoleScreenshotBlobUri,omitempty"` // SerialConsoleLogBlobURI - READ-ONLY; The serial console log blob Uri. <br><br>NOTE: This will **not** be set if boot diagnostics is currently enabled with managed storage. SerialConsoleLogBlobURI *string `json:"serialConsoleLogBlobUri,omitempty"` // Status - READ-ONLY; The boot diagnostics status information for the VM. <br><br> NOTE: It will be set only if there are errors encountered in enabling boot diagnostics. Status *InstanceViewStatus `json:"status,omitempty"` }
BootDiagnosticsInstanceView the instance view of a virtual machine boot diagnostics.
type CachingTypes ¶
type CachingTypes string
CachingTypes enumerates the values for caching types.
const ( // CachingTypesNone ... CachingTypesNone CachingTypes = "None" // CachingTypesReadOnly ... CachingTypesReadOnly CachingTypes = "ReadOnly" // CachingTypesReadWrite ... CachingTypesReadWrite CachingTypes = "ReadWrite" )
func PossibleCachingTypesValues ¶
func PossibleCachingTypesValues() []CachingTypes
PossibleCachingTypesValues returns an array of possible values for the CachingTypes const type.
type CloudError ¶
type CloudError struct {
Error *APIError `json:"error,omitempty"`
}
CloudError an error response from the Compute service.
type ComponentNames ¶
type ComponentNames string
ComponentNames enumerates the values for component names.
const ( // MicrosoftWindowsShellSetup ... MicrosoftWindowsShellSetup ComponentNames = "Microsoft-Windows-Shell-Setup" )
func PossibleComponentNamesValues ¶
func PossibleComponentNamesValues() []ComponentNames
PossibleComponentNamesValues returns an array of possible values for the ComponentNames const type.
type CreationData ¶
type CreationData struct { // CreateOption - This enumerates the possible sources of a disk's creation. Possible values include: 'Empty', 'Attach', 'FromImage', 'Import', 'Copy', 'Restore', 'Upload' CreateOption DiskCreateOption `json:"createOption,omitempty"` // StorageAccountID - Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk. StorageAccountID *string `json:"storageAccountId,omitempty"` // ImageReference - Disk source information. ImageReference *ImageDiskReference `json:"imageReference,omitempty"` // SourceURI - If createOption is Import, this is the URI of a blob to be imported into a managed disk. SourceURI *string `json:"sourceUri,omitempty"` // SourceResourceID - If createOption is Copy, this is the ARM id of the source snapshot or disk. SourceResourceID *string `json:"sourceResourceId,omitempty"` // SourceUniqueID - READ-ONLY; If this field is set, this is the unique id identifying the source of this resource. SourceUniqueID *string `json:"sourceUniqueId,omitempty"` // UploadSizeBytes - If createOption is Upload, this is the size of the contents of the upload including the VHD footer. This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer). UploadSizeBytes *int64 `json:"uploadSizeBytes,omitempty"` }
CreationData data used when creating a disk.
func (CreationData) MarshalJSON ¶
func (cd CreationData) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CreationData.
type DataDisk ¶
type DataDisk struct { // Lun - Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. Lun *int32 `json:"lun,omitempty"` // Name - The disk name. Name *string `json:"name,omitempty"` // Vhd - The virtual hard disk. Vhd *VirtualHardDisk `json:"vhd,omitempty"` // Image - 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. Image *VirtualHardDisk `json:"image,omitempty"` // Caching - Specifies the caching requirements. <br><br> Possible values are: <br><br> **None** <br><br> **ReadOnly** <br><br> **ReadWrite** <br><br> Default: **None for Standard storage. ReadOnly for Premium storage**. Possible values include: 'CachingTypesNone', 'CachingTypesReadOnly', 'CachingTypesReadWrite' Caching CachingTypes `json:"caching,omitempty"` // WriteAcceleratorEnabled - Specifies whether writeAccelerator should be enabled or disabled on the disk. WriteAcceleratorEnabled *bool `json:"writeAcceleratorEnabled,omitempty"` // CreateOption - Specifies how the virtual machine should be created.<br><br> Possible values are:<br><br> **Attach** \u2013 This value is used when you are using a specialized disk to create the virtual machine.<br><br> **FromImage** \u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described. Possible values include: 'DiskCreateOptionTypesFromImage', 'DiskCreateOptionTypesEmpty', 'DiskCreateOptionTypesAttach' CreateOption DiskCreateOptionTypes `json:"createOption,omitempty"` // DiskSizeGB - Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. <br><br> This value cannot be larger than 1023 GB DiskSizeGB *int32 `json:"diskSizeGB,omitempty"` // ManagedDisk - The managed disk parameters. ManagedDisk *ManagedDiskParameters `json:"managedDisk,omitempty"` // ToBeDetached - Specifies whether the data disk is in process of detachment from the VirtualMachine/VirtualMachineScaleset ToBeDetached *bool `json:"toBeDetached,omitempty"` // DiskIOPSReadWrite - READ-ONLY; Specifies the Read-Write IOPS for the managed disk when StorageAccountType is UltraSSD_LRS. Returned only for VirtualMachine ScaleSet VM disks. Can be updated only via updates to the VirtualMachine Scale Set. DiskIOPSReadWrite *int64 `json:"diskIOPSReadWrite,omitempty"` // DiskMBpsReadWrite - READ-ONLY; Specifies the bandwidth in MB per second for the managed disk when StorageAccountType is UltraSSD_LRS. Returned only for VirtualMachine ScaleSet VM disks. Can be updated only via updates to the VirtualMachine Scale Set. DiskMBpsReadWrite *int64 `json:"diskMBpsReadWrite,omitempty"` }
DataDisk describes a data disk.
func (DataDisk) MarshalJSON ¶
MarshalJSON is the custom marshaler for DataDisk.
type DataDiskImage ¶
type DataDiskImage struct { // Lun - READ-ONLY; Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. Lun *int32 `json:"lun,omitempty"` }
DataDiskImage contains the data disk images information.
type DedicatedHost ¶
type DedicatedHost struct { autorest.Response `json:"-"` *DedicatedHostProperties `json:"properties,omitempty"` // Sku - SKU of the dedicated host for Hardware Generation and VM family. Only name is required to be set. List Microsoft.Compute SKUs for a list of possible values. Sku *Sku `json:"sku,omitempty"` // ID - READ-ONLY; Resource Id ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type Type *string `json:"type,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
DedicatedHost specifies information about the Dedicated host.
func (DedicatedHost) MarshalJSON ¶
func (dh DedicatedHost) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DedicatedHost.
func (*DedicatedHost) UnmarshalJSON ¶
func (dh *DedicatedHost) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DedicatedHost struct.
type DedicatedHostAllocatableVM ¶
type DedicatedHostAllocatableVM struct { // VMSize - VM size in terms of which the unutilized capacity is represented. VMSize *string `json:"vmSize,omitempty"` // Count - Maximum number of VMs of size vmSize that can fit in the dedicated host's remaining capacity. Count *float64 `json:"count,omitempty"` }
DedicatedHostAllocatableVM represents the dedicated host unutilized capacity in terms of a specific VM size.
type DedicatedHostAvailableCapacity ¶
type DedicatedHostAvailableCapacity struct { // AllocatableVMs - The unutilized capacity of the dedicated host represented in terms of each VM size that is allowed to be deployed to the dedicated host. AllocatableVMs *[]DedicatedHostAllocatableVM `json:"allocatableVMs,omitempty"` }
DedicatedHostAvailableCapacity dedicated host unutilized capacity.
type DedicatedHostGroup ¶
type DedicatedHostGroup struct { autorest.Response `json:"-"` *DedicatedHostGroupProperties `json:"properties,omitempty"` // Zones - Availability Zone to use for this host group. Only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforces each host in the group to be in the same zone. Zones *[]string `json:"zones,omitempty"` // ID - READ-ONLY; Resource Id ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type Type *string `json:"type,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
DedicatedHostGroup specifies information about the dedicated host group that the dedicated hosts should be assigned to. <br><br> Currently, a dedicated host can only be added to a dedicated host group at creation time. An existing dedicated host cannot be added to another dedicated host group.
func (DedicatedHostGroup) MarshalJSON ¶
func (dhg DedicatedHostGroup) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DedicatedHostGroup.
func (*DedicatedHostGroup) UnmarshalJSON ¶
func (dhg *DedicatedHostGroup) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DedicatedHostGroup struct.
type DedicatedHostGroupInstanceView ¶
type DedicatedHostGroupInstanceView struct { // Hosts - List of instance view of the dedicated hosts under the dedicated host group. Hosts *[]DedicatedHostInstanceViewWithName `json:"hosts,omitempty"` }
DedicatedHostGroupInstanceView ...
type DedicatedHostGroupListResult ¶
type DedicatedHostGroupListResult struct { autorest.Response `json:"-"` // Value - The list of dedicated host groups Value *[]DedicatedHostGroup `json:"value,omitempty"` // NextLink - The URI to fetch the next page of Dedicated Host Groups. Call ListNext() with this URI to fetch the next page of Dedicated Host Groups. NextLink *string `json:"nextLink,omitempty"` }
DedicatedHostGroupListResult the List Dedicated Host Group with resource group response.
func (DedicatedHostGroupListResult) IsEmpty ¶
func (dhglr DedicatedHostGroupListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type DedicatedHostGroupListResultIterator ¶
type DedicatedHostGroupListResultIterator struct {
// contains filtered or unexported fields
}
DedicatedHostGroupListResultIterator provides access to a complete listing of DedicatedHostGroup values.
func NewDedicatedHostGroupListResultIterator ¶
func NewDedicatedHostGroupListResultIterator(page DedicatedHostGroupListResultPage) DedicatedHostGroupListResultIterator
Creates a new instance of the DedicatedHostGroupListResultIterator type.
func (*DedicatedHostGroupListResultIterator) Next ¶
func (iter *DedicatedHostGroupListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*DedicatedHostGroupListResultIterator) NextWithContext ¶
func (iter *DedicatedHostGroupListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (DedicatedHostGroupListResultIterator) NotDone ¶
func (iter DedicatedHostGroupListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (DedicatedHostGroupListResultIterator) Response ¶
func (iter DedicatedHostGroupListResultIterator) Response() DedicatedHostGroupListResult
Response returns the raw server response from the last page request.
func (DedicatedHostGroupListResultIterator) Value ¶
func (iter DedicatedHostGroupListResultIterator) Value() DedicatedHostGroup
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type DedicatedHostGroupListResultPage ¶
type DedicatedHostGroupListResultPage struct {
// contains filtered or unexported fields
}
DedicatedHostGroupListResultPage contains a page of DedicatedHostGroup values.
func NewDedicatedHostGroupListResultPage ¶
func NewDedicatedHostGroupListResultPage(cur DedicatedHostGroupListResult, getNextPage func(context.Context, DedicatedHostGroupListResult) (DedicatedHostGroupListResult, error)) DedicatedHostGroupListResultPage
Creates a new instance of the DedicatedHostGroupListResultPage type.
func (*DedicatedHostGroupListResultPage) Next ¶
func (page *DedicatedHostGroupListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*DedicatedHostGroupListResultPage) NextWithContext ¶
func (page *DedicatedHostGroupListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (DedicatedHostGroupListResultPage) NotDone ¶
func (page DedicatedHostGroupListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (DedicatedHostGroupListResultPage) Response ¶
func (page DedicatedHostGroupListResultPage) Response() DedicatedHostGroupListResult
Response returns the raw server response from the last page request.
func (DedicatedHostGroupListResultPage) Values ¶
func (page DedicatedHostGroupListResultPage) Values() []DedicatedHostGroup
Values returns the slice of values for the current page or nil if there are no values.
type DedicatedHostGroupProperties ¶
type DedicatedHostGroupProperties struct { // PlatformFaultDomainCount - Number of fault domains that the host group can span. PlatformFaultDomainCount *int32 `json:"platformFaultDomainCount,omitempty"` // Hosts - READ-ONLY; A list of references to all dedicated hosts in the dedicated host group. Hosts *[]SubResourceReadOnly `json:"hosts,omitempty"` // InstanceView - READ-ONLY; The dedicated host group instance view, which has the list of instance view of the dedicated hosts under the dedicated host group. InstanceView *DedicatedHostGroupInstanceView `json:"instanceView,omitempty"` // SupportAutomaticPlacement - Specifies whether virtual machines or virtual machine scale sets can be placed automatically on the dedicated host group. Automatic placement means resources are allocated on dedicated hosts, that are chosen by Azure, under the dedicated host group. The value is defaulted to 'false' when not provided. <br><br>Minimum api-version: 2020-06-01. SupportAutomaticPlacement *bool `json:"supportAutomaticPlacement,omitempty"` }
DedicatedHostGroupProperties dedicated Host Group Properties.
func (DedicatedHostGroupProperties) MarshalJSON ¶
func (dhgp DedicatedHostGroupProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DedicatedHostGroupProperties.
type DedicatedHostGroupUpdate ¶
type DedicatedHostGroupUpdate struct { *DedicatedHostGroupProperties `json:"properties,omitempty"` // Zones - Availability Zone to use for this host group. Only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforces each host in the group to be in the same zone. Zones *[]string `json:"zones,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
DedicatedHostGroupUpdate specifies information about the dedicated host group that the dedicated host should be assigned to. Only tags may be updated.
func (DedicatedHostGroupUpdate) MarshalJSON ¶
func (dhgu DedicatedHostGroupUpdate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DedicatedHostGroupUpdate.
func (*DedicatedHostGroupUpdate) UnmarshalJSON ¶
func (dhgu *DedicatedHostGroupUpdate) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DedicatedHostGroupUpdate struct.
type DedicatedHostGroupsClient ¶
type DedicatedHostGroupsClient struct {
BaseClient
}
DedicatedHostGroupsClient is the compute Client
func NewDedicatedHostGroupsClient ¶
func NewDedicatedHostGroupsClient(subscriptionID string) DedicatedHostGroupsClient
NewDedicatedHostGroupsClient creates an instance of the DedicatedHostGroupsClient client.
func NewDedicatedHostGroupsClientWithBaseURI ¶
func NewDedicatedHostGroupsClientWithBaseURI(baseURI string, subscriptionID string) DedicatedHostGroupsClient
NewDedicatedHostGroupsClientWithBaseURI creates an instance of the DedicatedHostGroupsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (DedicatedHostGroupsClient) CreateOrUpdate ¶
func (client DedicatedHostGroupsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hostGroupName string, parameters DedicatedHostGroup) (result DedicatedHostGroup, err error)
CreateOrUpdate create or update a dedicated host group. For details of Dedicated Host and Dedicated Host Groups please see [Dedicated Host Documentation] (https://go.microsoft.com/fwlink/?linkid=2082596) Parameters: resourceGroupName - the name of the resource group. hostGroupName - the name of the dedicated host group. parameters - parameters supplied to the Create Dedicated Host Group.
func (DedicatedHostGroupsClient) CreateOrUpdatePreparer ¶
func (client DedicatedHostGroupsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hostGroupName string, parameters DedicatedHostGroup) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (DedicatedHostGroupsClient) CreateOrUpdateResponder ¶
func (client DedicatedHostGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result DedicatedHostGroup, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (DedicatedHostGroupsClient) CreateOrUpdateSender ¶
func (client DedicatedHostGroupsClient) 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 (DedicatedHostGroupsClient) Delete ¶
func (client DedicatedHostGroupsClient) Delete(ctx context.Context, resourceGroupName string, hostGroupName string) (result autorest.Response, err error)
Delete delete a dedicated host group. Parameters: resourceGroupName - the name of the resource group. hostGroupName - the name of the dedicated host group.
func (DedicatedHostGroupsClient) DeletePreparer ¶
func (client DedicatedHostGroupsClient) DeletePreparer(ctx context.Context, resourceGroupName string, hostGroupName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (DedicatedHostGroupsClient) DeleteResponder ¶
func (client DedicatedHostGroupsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (DedicatedHostGroupsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (DedicatedHostGroupsClient) Get ¶
func (client DedicatedHostGroupsClient) Get(ctx context.Context, resourceGroupName string, hostGroupName string, expand InstanceViewTypes) (result DedicatedHostGroup, err error)
Get retrieves information about a dedicated host group. Parameters: resourceGroupName - the name of the resource group. hostGroupName - the name of the dedicated host group. expand - the expand expression to apply on the operation. The response shows the list of instance view of the dedicated hosts under the dedicated host group.
func (DedicatedHostGroupsClient) GetPreparer ¶
func (client DedicatedHostGroupsClient) GetPreparer(ctx context.Context, resourceGroupName string, hostGroupName string, expand InstanceViewTypes) (*http.Request, error)
GetPreparer prepares the Get request.
func (DedicatedHostGroupsClient) GetResponder ¶
func (client DedicatedHostGroupsClient) GetResponder(resp *http.Response) (result DedicatedHostGroup, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (DedicatedHostGroupsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (DedicatedHostGroupsClient) ListByResourceGroup ¶
func (client DedicatedHostGroupsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result DedicatedHostGroupListResultPage, err error)
ListByResourceGroup lists all of the dedicated host groups in the specified resource group. Use the nextLink property in the response to get the next page of dedicated host groups. Parameters: resourceGroupName - the name of the resource group.
func (DedicatedHostGroupsClient) ListByResourceGroupComplete ¶
func (client DedicatedHostGroupsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result DedicatedHostGroupListResultIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (DedicatedHostGroupsClient) ListByResourceGroupPreparer ¶
func (client DedicatedHostGroupsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (DedicatedHostGroupsClient) ListByResourceGroupResponder ¶
func (client DedicatedHostGroupsClient) ListByResourceGroupResponder(resp *http.Response) (result DedicatedHostGroupListResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (DedicatedHostGroupsClient) ListByResourceGroupSender ¶
func (client DedicatedHostGroupsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (DedicatedHostGroupsClient) ListBySubscription ¶
func (client DedicatedHostGroupsClient) ListBySubscription(ctx context.Context) (result DedicatedHostGroupListResultPage, err error)
ListBySubscription lists all of the dedicated host groups in the subscription. Use the nextLink property in the response to get the next page of dedicated host groups.
func (DedicatedHostGroupsClient) ListBySubscriptionComplete ¶
func (client DedicatedHostGroupsClient) ListBySubscriptionComplete(ctx context.Context) (result DedicatedHostGroupListResultIterator, err error)
ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.
func (DedicatedHostGroupsClient) ListBySubscriptionPreparer ¶
func (client DedicatedHostGroupsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
ListBySubscriptionPreparer prepares the ListBySubscription request.
func (DedicatedHostGroupsClient) ListBySubscriptionResponder ¶
func (client DedicatedHostGroupsClient) ListBySubscriptionResponder(resp *http.Response) (result DedicatedHostGroupListResult, err error)
ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.
func (DedicatedHostGroupsClient) ListBySubscriptionSender ¶
func (client DedicatedHostGroupsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.
func (DedicatedHostGroupsClient) Update ¶
func (client DedicatedHostGroupsClient) Update(ctx context.Context, resourceGroupName string, hostGroupName string, parameters DedicatedHostGroupUpdate) (result DedicatedHostGroup, err error)
Update update an dedicated host group. Parameters: resourceGroupName - the name of the resource group. hostGroupName - the name of the dedicated host group. parameters - parameters supplied to the Update Dedicated Host Group operation.
func (DedicatedHostGroupsClient) UpdatePreparer ¶
func (client DedicatedHostGroupsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, hostGroupName string, parameters DedicatedHostGroupUpdate) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (DedicatedHostGroupsClient) UpdateResponder ¶
func (client DedicatedHostGroupsClient) UpdateResponder(resp *http.Response) (result DedicatedHostGroup, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (DedicatedHostGroupsClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type DedicatedHostInstanceView ¶
type DedicatedHostInstanceView struct { // AssetID - READ-ONLY; Specifies the unique id of the dedicated physical machine on which the dedicated host resides. AssetID *string `json:"assetId,omitempty"` // AvailableCapacity - Unutilized capacity of the dedicated host. AvailableCapacity *DedicatedHostAvailableCapacity `json:"availableCapacity,omitempty"` // Statuses - The resource status information. Statuses *[]InstanceViewStatus `json:"statuses,omitempty"` }
DedicatedHostInstanceView the instance view of a dedicated host.
func (DedicatedHostInstanceView) MarshalJSON ¶
func (dhiv DedicatedHostInstanceView) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DedicatedHostInstanceView.
type DedicatedHostInstanceViewWithName ¶
type DedicatedHostInstanceViewWithName struct { // Name - READ-ONLY; The name of the dedicated host. Name *string `json:"name,omitempty"` // AssetID - READ-ONLY; Specifies the unique id of the dedicated physical machine on which the dedicated host resides. AssetID *string `json:"assetId,omitempty"` // AvailableCapacity - Unutilized capacity of the dedicated host. AvailableCapacity *DedicatedHostAvailableCapacity `json:"availableCapacity,omitempty"` // Statuses - The resource status information. Statuses *[]InstanceViewStatus `json:"statuses,omitempty"` }
DedicatedHostInstanceViewWithName the instance view of a dedicated host that includes the name of the dedicated host. It is used for the response to the instance view of a dedicated host group.
func (DedicatedHostInstanceViewWithName) MarshalJSON ¶
func (dhivwn DedicatedHostInstanceViewWithName) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DedicatedHostInstanceViewWithName.
type DedicatedHostLicenseTypes ¶
type DedicatedHostLicenseTypes string
DedicatedHostLicenseTypes enumerates the values for dedicated host license types.
const ( // DedicatedHostLicenseTypesNone ... DedicatedHostLicenseTypesNone DedicatedHostLicenseTypes = "None" // DedicatedHostLicenseTypesWindowsServerHybrid ... DedicatedHostLicenseTypesWindowsServerHybrid DedicatedHostLicenseTypes = "Windows_Server_Hybrid" // DedicatedHostLicenseTypesWindowsServerPerpetual ... DedicatedHostLicenseTypesWindowsServerPerpetual DedicatedHostLicenseTypes = "Windows_Server_Perpetual" )
func PossibleDedicatedHostLicenseTypesValues ¶
func PossibleDedicatedHostLicenseTypesValues() []DedicatedHostLicenseTypes
PossibleDedicatedHostLicenseTypesValues returns an array of possible values for the DedicatedHostLicenseTypes const type.
type DedicatedHostListResult ¶
type DedicatedHostListResult struct { autorest.Response `json:"-"` // Value - The list of dedicated hosts Value *[]DedicatedHost `json:"value,omitempty"` // NextLink - The URI to fetch the next page of dedicated hosts. Call ListNext() with this URI to fetch the next page of dedicated hosts. NextLink *string `json:"nextLink,omitempty"` }
DedicatedHostListResult the list dedicated host operation response.
func (DedicatedHostListResult) IsEmpty ¶
func (dhlr DedicatedHostListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type DedicatedHostListResultIterator ¶
type DedicatedHostListResultIterator struct {
// contains filtered or unexported fields
}
DedicatedHostListResultIterator provides access to a complete listing of DedicatedHost values.
func NewDedicatedHostListResultIterator ¶
func NewDedicatedHostListResultIterator(page DedicatedHostListResultPage) DedicatedHostListResultIterator
Creates a new instance of the DedicatedHostListResultIterator type.
func (*DedicatedHostListResultIterator) Next ¶
func (iter *DedicatedHostListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*DedicatedHostListResultIterator) NextWithContext ¶
func (iter *DedicatedHostListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (DedicatedHostListResultIterator) NotDone ¶
func (iter DedicatedHostListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (DedicatedHostListResultIterator) Response ¶
func (iter DedicatedHostListResultIterator) Response() DedicatedHostListResult
Response returns the raw server response from the last page request.
func (DedicatedHostListResultIterator) Value ¶
func (iter DedicatedHostListResultIterator) Value() DedicatedHost
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type DedicatedHostListResultPage ¶
type DedicatedHostListResultPage struct {
// contains filtered or unexported fields
}
DedicatedHostListResultPage contains a page of DedicatedHost values.
func NewDedicatedHostListResultPage ¶
func NewDedicatedHostListResultPage(cur DedicatedHostListResult, getNextPage func(context.Context, DedicatedHostListResult) (DedicatedHostListResult, error)) DedicatedHostListResultPage
Creates a new instance of the DedicatedHostListResultPage type.
func (*DedicatedHostListResultPage) Next ¶
func (page *DedicatedHostListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*DedicatedHostListResultPage) NextWithContext ¶
func (page *DedicatedHostListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (DedicatedHostListResultPage) NotDone ¶
func (page DedicatedHostListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (DedicatedHostListResultPage) Response ¶
func (page DedicatedHostListResultPage) Response() DedicatedHostListResult
Response returns the raw server response from the last page request.
func (DedicatedHostListResultPage) Values ¶
func (page DedicatedHostListResultPage) Values() []DedicatedHost
Values returns the slice of values for the current page or nil if there are no values.
type DedicatedHostProperties ¶
type DedicatedHostProperties struct { // PlatformFaultDomain - Fault domain of the dedicated host within a dedicated host group. PlatformFaultDomain *int32 `json:"platformFaultDomain,omitempty"` // AutoReplaceOnFailure - Specifies whether the dedicated host should be replaced automatically in case of a failure. The value is defaulted to 'true' when not provided. AutoReplaceOnFailure *bool `json:"autoReplaceOnFailure,omitempty"` // HostID - READ-ONLY; A unique id generated and assigned to the dedicated host by the platform. <br><br> Does not change throughout the lifetime of the host. HostID *string `json:"hostId,omitempty"` // VirtualMachines - READ-ONLY; A list of references to all virtual machines in the Dedicated Host. VirtualMachines *[]SubResourceReadOnly `json:"virtualMachines,omitempty"` // LicenseType - Specifies the software license type that will be applied to the VMs deployed on the dedicated host. <br><br> Possible values are: <br><br> **None** <br><br> **Windows_Server_Hybrid** <br><br> **Windows_Server_Perpetual** <br><br> Default: **None**. Possible values include: 'DedicatedHostLicenseTypesNone', 'DedicatedHostLicenseTypesWindowsServerHybrid', 'DedicatedHostLicenseTypesWindowsServerPerpetual' LicenseType DedicatedHostLicenseTypes `json:"licenseType,omitempty"` // ProvisioningTime - READ-ONLY; The date when the host was first provisioned. ProvisioningTime *date.Time `json:"provisioningTime,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state, which only appears in the response. ProvisioningState *string `json:"provisioningState,omitempty"` // InstanceView - READ-ONLY; The dedicated host instance view. InstanceView *DedicatedHostInstanceView `json:"instanceView,omitempty"` }
DedicatedHostProperties properties of the dedicated host.
func (DedicatedHostProperties) MarshalJSON ¶
func (dhp DedicatedHostProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DedicatedHostProperties.
type DedicatedHostUpdate ¶
type DedicatedHostUpdate struct { *DedicatedHostProperties `json:"properties,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
DedicatedHostUpdate specifies information about the dedicated host. Only tags, autoReplaceOnFailure and licenseType may be updated.
func (DedicatedHostUpdate) MarshalJSON ¶
func (dhu DedicatedHostUpdate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DedicatedHostUpdate.
func (*DedicatedHostUpdate) UnmarshalJSON ¶
func (dhu *DedicatedHostUpdate) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DedicatedHostUpdate struct.
type DedicatedHostsClient ¶
type DedicatedHostsClient struct {
BaseClient
}
DedicatedHostsClient is the compute Client
func NewDedicatedHostsClient ¶
func NewDedicatedHostsClient(subscriptionID string) DedicatedHostsClient
NewDedicatedHostsClient creates an instance of the DedicatedHostsClient client.
func NewDedicatedHostsClientWithBaseURI ¶
func NewDedicatedHostsClientWithBaseURI(baseURI string, subscriptionID string) DedicatedHostsClient
NewDedicatedHostsClientWithBaseURI creates an instance of the DedicatedHostsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (DedicatedHostsClient) CreateOrUpdate ¶
func (client DedicatedHostsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hostGroupName string, hostName string, parameters DedicatedHost) (result DedicatedHostsCreateOrUpdateFuture, err error)
CreateOrUpdate create or update a dedicated host . Parameters: resourceGroupName - the name of the resource group. hostGroupName - the name of the dedicated host group. hostName - the name of the dedicated host . parameters - parameters supplied to the Create Dedicated Host.
func (DedicatedHostsClient) CreateOrUpdatePreparer ¶
func (client DedicatedHostsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hostGroupName string, hostName string, parameters DedicatedHost) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (DedicatedHostsClient) CreateOrUpdateResponder ¶
func (client DedicatedHostsClient) CreateOrUpdateResponder(resp *http.Response) (result DedicatedHost, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (DedicatedHostsClient) CreateOrUpdateSender ¶
func (client DedicatedHostsClient) CreateOrUpdateSender(req *http.Request) (future DedicatedHostsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (DedicatedHostsClient) Delete ¶
func (client DedicatedHostsClient) Delete(ctx context.Context, resourceGroupName string, hostGroupName string, hostName string) (result DedicatedHostsDeleteFuture, err error)
Delete delete a dedicated host. Parameters: resourceGroupName - the name of the resource group. hostGroupName - the name of the dedicated host group. hostName - the name of the dedicated host.
func (DedicatedHostsClient) DeletePreparer ¶
func (client DedicatedHostsClient) DeletePreparer(ctx context.Context, resourceGroupName string, hostGroupName string, hostName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (DedicatedHostsClient) DeleteResponder ¶
func (client DedicatedHostsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (DedicatedHostsClient) DeleteSender ¶
func (client DedicatedHostsClient) DeleteSender(req *http.Request) (future DedicatedHostsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (DedicatedHostsClient) Get ¶
func (client DedicatedHostsClient) Get(ctx context.Context, resourceGroupName string, hostGroupName string, hostName string, expand InstanceViewTypes) (result DedicatedHost, err error)
Get retrieves information about a dedicated host. Parameters: resourceGroupName - the name of the resource group. hostGroupName - the name of the dedicated host group. hostName - the name of the dedicated host. expand - the expand expression to apply on the operation.
func (DedicatedHostsClient) GetPreparer ¶
func (client DedicatedHostsClient) GetPreparer(ctx context.Context, resourceGroupName string, hostGroupName string, hostName string, expand InstanceViewTypes) (*http.Request, error)
GetPreparer prepares the Get request.
func (DedicatedHostsClient) GetResponder ¶
func (client DedicatedHostsClient) GetResponder(resp *http.Response) (result DedicatedHost, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (DedicatedHostsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (DedicatedHostsClient) ListByHostGroup ¶
func (client DedicatedHostsClient) ListByHostGroup(ctx context.Context, resourceGroupName string, hostGroupName string) (result DedicatedHostListResultPage, err error)
ListByHostGroup lists all of the dedicated hosts in the specified dedicated host group. Use the nextLink property in the response to get the next page of dedicated hosts. Parameters: resourceGroupName - the name of the resource group. hostGroupName - the name of the dedicated host group.
func (DedicatedHostsClient) ListByHostGroupComplete ¶
func (client DedicatedHostsClient) ListByHostGroupComplete(ctx context.Context, resourceGroupName string, hostGroupName string) (result DedicatedHostListResultIterator, err error)
ListByHostGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (DedicatedHostsClient) ListByHostGroupPreparer ¶
func (client DedicatedHostsClient) ListByHostGroupPreparer(ctx context.Context, resourceGroupName string, hostGroupName string) (*http.Request, error)
ListByHostGroupPreparer prepares the ListByHostGroup request.
func (DedicatedHostsClient) ListByHostGroupResponder ¶
func (client DedicatedHostsClient) ListByHostGroupResponder(resp *http.Response) (result DedicatedHostListResult, err error)
ListByHostGroupResponder handles the response to the ListByHostGroup request. The method always closes the http.Response Body.
func (DedicatedHostsClient) ListByHostGroupSender ¶
ListByHostGroupSender sends the ListByHostGroup request. The method will close the http.Response Body if it receives an error.
func (DedicatedHostsClient) Update ¶
func (client DedicatedHostsClient) Update(ctx context.Context, resourceGroupName string, hostGroupName string, hostName string, parameters DedicatedHostUpdate) (result DedicatedHostsUpdateFuture, err error)
Update update an dedicated host . Parameters: resourceGroupName - the name of the resource group. hostGroupName - the name of the dedicated host group. hostName - the name of the dedicated host . parameters - parameters supplied to the Update Dedicated Host operation.
func (DedicatedHostsClient) UpdatePreparer ¶
func (client DedicatedHostsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, hostGroupName string, hostName string, parameters DedicatedHostUpdate) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (DedicatedHostsClient) UpdateResponder ¶
func (client DedicatedHostsClient) UpdateResponder(resp *http.Response) (result DedicatedHost, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (DedicatedHostsClient) UpdateSender ¶
func (client DedicatedHostsClient) UpdateSender(req *http.Request) (future DedicatedHostsUpdateFuture, err error)
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type DedicatedHostsCreateOrUpdateFuture ¶
type DedicatedHostsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(DedicatedHostsClient) (DedicatedHost, error) }
DedicatedHostsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*DedicatedHostsCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *DedicatedHostsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type DedicatedHostsDeleteFuture ¶
type DedicatedHostsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(DedicatedHostsClient) (autorest.Response, error) }
DedicatedHostsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*DedicatedHostsDeleteFuture) UnmarshalJSON ¶
func (future *DedicatedHostsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type DedicatedHostsUpdateFuture ¶
type DedicatedHostsUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(DedicatedHostsClient) (DedicatedHost, error) }
DedicatedHostsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*DedicatedHostsUpdateFuture) UnmarshalJSON ¶
func (future *DedicatedHostsUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type DiagnosticsProfile ¶
type DiagnosticsProfile struct { // BootDiagnostics - Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. <br><br> You can easily view the output of your console log. <br><br> Azure also enables you to see a screenshot of the VM from the hypervisor. BootDiagnostics *BootDiagnostics `json:"bootDiagnostics,omitempty"` }
DiagnosticsProfile specifies the boot diagnostic settings state. <br><br>Minimum api-version: 2015-06-15.
type DiffDiskOptions ¶
type DiffDiskOptions string
DiffDiskOptions enumerates the values for diff disk options.
const ( // Local ... Local DiffDiskOptions = "Local" )
func PossibleDiffDiskOptionsValues ¶
func PossibleDiffDiskOptionsValues() []DiffDiskOptions
PossibleDiffDiskOptionsValues returns an array of possible values for the DiffDiskOptions const type.
type DiffDiskPlacement ¶
type DiffDiskPlacement string
DiffDiskPlacement enumerates the values for diff disk placement.
const ( // CacheDisk ... CacheDisk DiffDiskPlacement = "CacheDisk" // ResourceDisk ... ResourceDisk DiffDiskPlacement = "ResourceDisk" )
func PossibleDiffDiskPlacementValues ¶
func PossibleDiffDiskPlacementValues() []DiffDiskPlacement
PossibleDiffDiskPlacementValues returns an array of possible values for the DiffDiskPlacement const type.
type DiffDiskSettings ¶
type DiffDiskSettings struct { // Option - Specifies the ephemeral disk settings for operating system disk. Possible values include: 'Local' Option DiffDiskOptions `json:"option,omitempty"` // Placement - Specifies the ephemeral disk placement for operating system disk.<br><br> Possible values are: <br><br> **CacheDisk** <br><br> **ResourceDisk** <br><br> Default: **CacheDisk** if one is configured for the VM size otherwise **ResourceDisk** is used.<br><br> Refer to VM size documentation for Windows VM at https://docs.microsoft.com/en-us/azure/virtual-machines/windows/sizes and Linux VM at https://docs.microsoft.com/en-us/azure/virtual-machines/linux/sizes to check which VM sizes exposes a cache disk. Possible values include: 'CacheDisk', 'ResourceDisk' Placement DiffDiskPlacement `json:"placement,omitempty"` }
DiffDiskSettings describes the parameters of ephemeral disk settings that can be specified for operating system disk. <br><br> NOTE: The ephemeral disk settings can only be specified for managed disk.
type DisallowedConfiguration ¶
type DisallowedConfiguration struct { // VMDiskType - VM disk types which are disallowed. Possible values include: 'VMDiskTypesNone', 'VMDiskTypesUnmanaged' VMDiskType VMDiskTypes `json:"vmDiskType,omitempty"` }
DisallowedConfiguration specifies the disallowed configuration for a virtual machine image.
type Disk ¶
type Disk struct { autorest.Response `json:"-"` // ManagedBy - READ-ONLY; A relative URI containing the ID of the VM that has the disk attached. ManagedBy *string `json:"managedBy,omitempty"` Sku *DiskSku `json:"sku,omitempty"` // Zones - The Logical zone list for Disk. Zones *[]string `json:"zones,omitempty"` *DiskProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type Type *string `json:"type,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
Disk disk resource.
func (Disk) MarshalJSON ¶
MarshalJSON is the custom marshaler for Disk.
func (*Disk) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Disk struct.
type DiskCreateOption ¶
type DiskCreateOption string
DiskCreateOption enumerates the values for disk create option.
const ( // Attach Disk will be attached to a VM. Attach DiskCreateOption = "Attach" // Copy Create a new disk or snapshot by copying from a disk or snapshot specified by the given // sourceResourceId. Copy DiskCreateOption = "Copy" // Empty Create an empty data disk of a size given by diskSizeGB. Empty DiskCreateOption = "Empty" // FromImage Create a new disk from a platform image specified by the given imageReference. FromImage DiskCreateOption = "FromImage" // Import Create a disk by importing from a blob specified by a sourceUri in a storage account specified by // storageAccountId. Import DiskCreateOption = "Import" // Restore Create a new disk by copying from a backup recovery point. Restore DiskCreateOption = "Restore" // Upload Create a new disk by obtaining a write token and using it to directly upload the contents of the // disk. Upload DiskCreateOption = "Upload" )
func PossibleDiskCreateOptionValues ¶
func PossibleDiskCreateOptionValues() []DiskCreateOption
PossibleDiskCreateOptionValues returns an array of possible values for the DiskCreateOption const type.
type DiskCreateOptionTypes ¶
type DiskCreateOptionTypes string
DiskCreateOptionTypes enumerates the values for disk create option types.
const ( // DiskCreateOptionTypesAttach ... DiskCreateOptionTypesAttach DiskCreateOptionTypes = "Attach" // DiskCreateOptionTypesEmpty ... DiskCreateOptionTypesEmpty DiskCreateOptionTypes = "Empty" // DiskCreateOptionTypesFromImage ... DiskCreateOptionTypesFromImage DiskCreateOptionTypes = "FromImage" )
func PossibleDiskCreateOptionTypesValues ¶
func PossibleDiskCreateOptionTypesValues() []DiskCreateOptionTypes
PossibleDiskCreateOptionTypesValues returns an array of possible values for the DiskCreateOptionTypes const type.
type DiskEncryptionSet ¶
type DiskEncryptionSet struct { autorest.Response `json:"-"` Identity *EncryptionSetIdentity `json:"identity,omitempty"` *EncryptionSetProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type Type *string `json:"type,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
DiskEncryptionSet disk encryption set resource.
func (DiskEncryptionSet) MarshalJSON ¶
func (desVar DiskEncryptionSet) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DiskEncryptionSet.
func (*DiskEncryptionSet) UnmarshalJSON ¶
func (desVar *DiskEncryptionSet) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DiskEncryptionSet struct.
type DiskEncryptionSetIdentityType ¶
type DiskEncryptionSetIdentityType string
DiskEncryptionSetIdentityType enumerates the values for disk encryption set identity type.
const ( // SystemAssigned ... SystemAssigned DiskEncryptionSetIdentityType = "SystemAssigned" )
func PossibleDiskEncryptionSetIdentityTypeValues ¶
func PossibleDiskEncryptionSetIdentityTypeValues() []DiskEncryptionSetIdentityType
PossibleDiskEncryptionSetIdentityTypeValues returns an array of possible values for the DiskEncryptionSetIdentityType const type.
type DiskEncryptionSetList ¶
type DiskEncryptionSetList struct { autorest.Response `json:"-"` // Value - A list of disk encryption sets. Value *[]DiskEncryptionSet `json:"value,omitempty"` // NextLink - The uri to fetch the next page of disk encryption sets. Call ListNext() with this to fetch the next page of disk encryption sets. NextLink *string `json:"nextLink,omitempty"` }
DiskEncryptionSetList the List disk encryption set operation response.
func (DiskEncryptionSetList) IsEmpty ¶
func (desl DiskEncryptionSetList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type DiskEncryptionSetListIterator ¶
type DiskEncryptionSetListIterator struct {
// contains filtered or unexported fields
}
DiskEncryptionSetListIterator provides access to a complete listing of DiskEncryptionSet values.
func NewDiskEncryptionSetListIterator ¶
func NewDiskEncryptionSetListIterator(page DiskEncryptionSetListPage) DiskEncryptionSetListIterator
Creates a new instance of the DiskEncryptionSetListIterator type.
func (*DiskEncryptionSetListIterator) Next ¶
func (iter *DiskEncryptionSetListIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*DiskEncryptionSetListIterator) NextWithContext ¶
func (iter *DiskEncryptionSetListIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (DiskEncryptionSetListIterator) NotDone ¶
func (iter DiskEncryptionSetListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (DiskEncryptionSetListIterator) Response ¶
func (iter DiskEncryptionSetListIterator) Response() DiskEncryptionSetList
Response returns the raw server response from the last page request.
func (DiskEncryptionSetListIterator) Value ¶
func (iter DiskEncryptionSetListIterator) Value() DiskEncryptionSet
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type DiskEncryptionSetListPage ¶
type DiskEncryptionSetListPage struct {
// contains filtered or unexported fields
}
DiskEncryptionSetListPage contains a page of DiskEncryptionSet values.
func NewDiskEncryptionSetListPage ¶
func NewDiskEncryptionSetListPage(cur DiskEncryptionSetList, getNextPage func(context.Context, DiskEncryptionSetList) (DiskEncryptionSetList, error)) DiskEncryptionSetListPage
Creates a new instance of the DiskEncryptionSetListPage type.
func (*DiskEncryptionSetListPage) Next ¶
func (page *DiskEncryptionSetListPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*DiskEncryptionSetListPage) NextWithContext ¶
func (page *DiskEncryptionSetListPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (DiskEncryptionSetListPage) NotDone ¶
func (page DiskEncryptionSetListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (DiskEncryptionSetListPage) Response ¶
func (page DiskEncryptionSetListPage) Response() DiskEncryptionSetList
Response returns the raw server response from the last page request.
func (DiskEncryptionSetListPage) Values ¶
func (page DiskEncryptionSetListPage) Values() []DiskEncryptionSet
Values returns the slice of values for the current page or nil if there are no values.
type DiskEncryptionSetParameters ¶
type DiskEncryptionSetParameters struct { // ID - Resource Id ID *string `json:"id,omitempty"` }
DiskEncryptionSetParameters describes the parameter of customer managed disk encryption set resource id that can be specified for disk. <br><br> NOTE: The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details.
type DiskEncryptionSetUpdate ¶
type DiskEncryptionSetUpdate struct { *DiskEncryptionSetUpdateProperties `json:"properties,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
DiskEncryptionSetUpdate disk encryption set update resource.
func (DiskEncryptionSetUpdate) MarshalJSON ¶
func (desu DiskEncryptionSetUpdate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DiskEncryptionSetUpdate.
func (*DiskEncryptionSetUpdate) UnmarshalJSON ¶
func (desu *DiskEncryptionSetUpdate) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DiskEncryptionSetUpdate struct.
type DiskEncryptionSetUpdateProperties ¶
type DiskEncryptionSetUpdateProperties struct {
ActiveKey *KeyVaultAndKeyReference `json:"activeKey,omitempty"`
}
DiskEncryptionSetUpdateProperties disk encryption set resource update properties.
type DiskEncryptionSetsClient ¶
type DiskEncryptionSetsClient struct {
BaseClient
}
DiskEncryptionSetsClient is the compute Client
func NewDiskEncryptionSetsClient ¶
func NewDiskEncryptionSetsClient(subscriptionID string) DiskEncryptionSetsClient
NewDiskEncryptionSetsClient creates an instance of the DiskEncryptionSetsClient client.
func NewDiskEncryptionSetsClientWithBaseURI ¶
func NewDiskEncryptionSetsClientWithBaseURI(baseURI string, subscriptionID string) DiskEncryptionSetsClient
NewDiskEncryptionSetsClientWithBaseURI creates an instance of the DiskEncryptionSetsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (DiskEncryptionSetsClient) CreateOrUpdate ¶
func (client DiskEncryptionSetsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, diskEncryptionSetName string, diskEncryptionSet DiskEncryptionSet) (result DiskEncryptionSetsCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates a disk encryption set Parameters: resourceGroupName - the name of the resource group. diskEncryptionSetName - the name of the disk encryption set that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. diskEncryptionSet - disk encryption set object supplied in the body of the Put disk encryption set operation.
func (DiskEncryptionSetsClient) CreateOrUpdatePreparer ¶
func (client DiskEncryptionSetsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, diskEncryptionSetName string, diskEncryptionSet DiskEncryptionSet) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (DiskEncryptionSetsClient) CreateOrUpdateResponder ¶
func (client DiskEncryptionSetsClient) CreateOrUpdateResponder(resp *http.Response) (result DiskEncryptionSet, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (DiskEncryptionSetsClient) CreateOrUpdateSender ¶
func (client DiskEncryptionSetsClient) CreateOrUpdateSender(req *http.Request) (future DiskEncryptionSetsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (DiskEncryptionSetsClient) Delete ¶
func (client DiskEncryptionSetsClient) Delete(ctx context.Context, resourceGroupName string, diskEncryptionSetName string) (result DiskEncryptionSetsDeleteFuture, err error)
Delete deletes a disk encryption set. Parameters: resourceGroupName - the name of the resource group. diskEncryptionSetName - the name of the disk encryption set that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.
func (DiskEncryptionSetsClient) DeletePreparer ¶
func (client DiskEncryptionSetsClient) DeletePreparer(ctx context.Context, resourceGroupName string, diskEncryptionSetName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (DiskEncryptionSetsClient) DeleteResponder ¶
func (client DiskEncryptionSetsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (DiskEncryptionSetsClient) DeleteSender ¶
func (client DiskEncryptionSetsClient) DeleteSender(req *http.Request) (future DiskEncryptionSetsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (DiskEncryptionSetsClient) Get ¶
func (client DiskEncryptionSetsClient) Get(ctx context.Context, resourceGroupName string, diskEncryptionSetName string) (result DiskEncryptionSet, err error)
Get gets information about a disk encryption set. Parameters: resourceGroupName - the name of the resource group. diskEncryptionSetName - the name of the disk encryption set that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.
func (DiskEncryptionSetsClient) GetPreparer ¶
func (client DiskEncryptionSetsClient) GetPreparer(ctx context.Context, resourceGroupName string, diskEncryptionSetName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (DiskEncryptionSetsClient) GetResponder ¶
func (client DiskEncryptionSetsClient) GetResponder(resp *http.Response) (result DiskEncryptionSet, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (DiskEncryptionSetsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (DiskEncryptionSetsClient) List ¶
func (client DiskEncryptionSetsClient) List(ctx context.Context) (result DiskEncryptionSetListPage, err error)
List lists all the disk encryption sets under a subscription.
func (DiskEncryptionSetsClient) ListByResourceGroup ¶
func (client DiskEncryptionSetsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result DiskEncryptionSetListPage, err error)
ListByResourceGroup lists all the disk encryption sets under a resource group. Parameters: resourceGroupName - the name of the resource group.
func (DiskEncryptionSetsClient) ListByResourceGroupComplete ¶
func (client DiskEncryptionSetsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result DiskEncryptionSetListIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (DiskEncryptionSetsClient) ListByResourceGroupPreparer ¶
func (client DiskEncryptionSetsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (DiskEncryptionSetsClient) ListByResourceGroupResponder ¶
func (client DiskEncryptionSetsClient) ListByResourceGroupResponder(resp *http.Response) (result DiskEncryptionSetList, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (DiskEncryptionSetsClient) ListByResourceGroupSender ¶
func (client DiskEncryptionSetsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (DiskEncryptionSetsClient) ListComplete ¶
func (client DiskEncryptionSetsClient) ListComplete(ctx context.Context) (result DiskEncryptionSetListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (DiskEncryptionSetsClient) ListPreparer ¶
ListPreparer prepares the List request.
func (DiskEncryptionSetsClient) ListResponder ¶
func (client DiskEncryptionSetsClient) ListResponder(resp *http.Response) (result DiskEncryptionSetList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (DiskEncryptionSetsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (DiskEncryptionSetsClient) Update ¶
func (client DiskEncryptionSetsClient) Update(ctx context.Context, resourceGroupName string, diskEncryptionSetName string, diskEncryptionSet DiskEncryptionSetUpdate) (result DiskEncryptionSetsUpdateFuture, err error)
Update updates (patches) a disk encryption set. Parameters: resourceGroupName - the name of the resource group. diskEncryptionSetName - the name of the disk encryption set that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. diskEncryptionSet - disk encryption set object supplied in the body of the Patch disk encryption set operation.
func (DiskEncryptionSetsClient) UpdatePreparer ¶
func (client DiskEncryptionSetsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, diskEncryptionSetName string, diskEncryptionSet DiskEncryptionSetUpdate) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (DiskEncryptionSetsClient) UpdateResponder ¶
func (client DiskEncryptionSetsClient) UpdateResponder(resp *http.Response) (result DiskEncryptionSet, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (DiskEncryptionSetsClient) UpdateSender ¶
func (client DiskEncryptionSetsClient) UpdateSender(req *http.Request) (future DiskEncryptionSetsUpdateFuture, err error)
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type DiskEncryptionSetsCreateOrUpdateFuture ¶
type DiskEncryptionSetsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(DiskEncryptionSetsClient) (DiskEncryptionSet, error) }
DiskEncryptionSetsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*DiskEncryptionSetsCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *DiskEncryptionSetsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type DiskEncryptionSetsDeleteFuture ¶
type DiskEncryptionSetsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(DiskEncryptionSetsClient) (autorest.Response, error) }
DiskEncryptionSetsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*DiskEncryptionSetsDeleteFuture) UnmarshalJSON ¶
func (future *DiskEncryptionSetsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type DiskEncryptionSetsUpdateFuture ¶
type DiskEncryptionSetsUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(DiskEncryptionSetsClient) (DiskEncryptionSet, error) }
DiskEncryptionSetsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*DiskEncryptionSetsUpdateFuture) UnmarshalJSON ¶
func (future *DiskEncryptionSetsUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type DiskEncryptionSettings ¶
type DiskEncryptionSettings struct { // DiskEncryptionKey - Specifies the location of the disk encryption key, which is a Key Vault Secret. DiskEncryptionKey *KeyVaultSecretReference `json:"diskEncryptionKey,omitempty"` // KeyEncryptionKey - Specifies the location of the key encryption key in Key Vault. KeyEncryptionKey *KeyVaultKeyReference `json:"keyEncryptionKey,omitempty"` // Enabled - Specifies whether disk encryption should be enabled on the virtual machine. Enabled *bool `json:"enabled,omitempty"` }
DiskEncryptionSettings describes a Encryption Settings for a Disk
type DiskInstanceView ¶
type DiskInstanceView struct { // Name - The disk name. Name *string `json:"name,omitempty"` // EncryptionSettings - Specifies the encryption settings for the OS Disk. <br><br> Minimum api-version: 2015-06-15 EncryptionSettings *[]DiskEncryptionSettings `json:"encryptionSettings,omitempty"` // Statuses - The resource status information. Statuses *[]InstanceViewStatus `json:"statuses,omitempty"` }
DiskInstanceView the instance view of the disk.
type DiskList ¶
type DiskList struct { autorest.Response `json:"-"` // Value - A list of disks. Value *[]Disk `json:"value,omitempty"` // NextLink - The uri to fetch the next page of disks. Call ListNext() with this to fetch the next page of disks. NextLink *string `json:"nextLink,omitempty"` }
DiskList the List Disks operation response.
type DiskListIterator ¶
type DiskListIterator struct {
// contains filtered or unexported fields
}
DiskListIterator provides access to a complete listing of Disk values.
func NewDiskListIterator ¶
func NewDiskListIterator(page DiskListPage) DiskListIterator
Creates a new instance of the DiskListIterator type.
func (*DiskListIterator) Next ¶
func (iter *DiskListIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*DiskListIterator) NextWithContext ¶
func (iter *DiskListIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (DiskListIterator) NotDone ¶
func (iter DiskListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (DiskListIterator) Response ¶
func (iter DiskListIterator) Response() DiskList
Response returns the raw server response from the last page request.
func (DiskListIterator) Value ¶
func (iter DiskListIterator) Value() Disk
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type DiskListPage ¶
type DiskListPage struct {
// contains filtered or unexported fields
}
DiskListPage contains a page of Disk values.
func NewDiskListPage ¶
func NewDiskListPage(cur DiskList, getNextPage func(context.Context, DiskList) (DiskList, error)) DiskListPage
Creates a new instance of the DiskListPage type.
func (*DiskListPage) Next ¶
func (page *DiskListPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*DiskListPage) NextWithContext ¶
func (page *DiskListPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (DiskListPage) NotDone ¶
func (page DiskListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (DiskListPage) Response ¶
func (page DiskListPage) Response() DiskList
Response returns the raw server response from the last page request.
func (DiskListPage) Values ¶
func (page DiskListPage) Values() []Disk
Values returns the slice of values for the current page or nil if there are no values.
type DiskProperties ¶
type DiskProperties struct { // TimeCreated - READ-ONLY; The time when the disk was created. TimeCreated *date.Time `json:"timeCreated,omitempty"` // OsType - The Operating System type. Possible values include: 'Windows', 'Linux' OsType OperatingSystemTypes `json:"osType,omitempty"` // HyperVGeneration - The hypervisor generation of the Virtual Machine. Applicable to OS disks only. Possible values include: 'V1', 'V2' HyperVGeneration HyperVGeneration `json:"hyperVGeneration,omitempty"` // CreationData - Disk source information. CreationData information cannot be changed after the disk has been created. CreationData *CreationData `json:"creationData,omitempty"` // DiskSizeGB - If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size. DiskSizeGB *int32 `json:"diskSizeGB,omitempty"` // DiskSizeBytes - READ-ONLY; The size of the disk in bytes. This field is read only. DiskSizeBytes *int64 `json:"diskSizeBytes,omitempty"` // UniqueID - READ-ONLY; Unique Guid identifying the resource. UniqueID *string `json:"uniqueId,omitempty"` // EncryptionSettingsCollection - Encryption settings collection used for Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot. EncryptionSettingsCollection *EncryptionSettingsCollection `json:"encryptionSettingsCollection,omitempty"` // ProvisioningState - READ-ONLY; The disk provisioning state. ProvisioningState *string `json:"provisioningState,omitempty"` // DiskIOPSReadWrite - The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes. DiskIOPSReadWrite *int64 `json:"diskIOPSReadWrite,omitempty"` // DiskMBpsReadWrite - The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10. DiskMBpsReadWrite *int32 `json:"diskMBpsReadWrite,omitempty"` // DiskState - READ-ONLY; The state of the disk. Possible values include: 'Unattached', 'Attached', 'Reserved', 'ActiveSAS', 'ReadyToUpload', 'ActiveUpload' DiskState DiskState `json:"diskState,omitempty"` // Encryption - Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys. Encryption *Encryption `json:"encryption,omitempty"` }
DiskProperties disk resource properties.
func (DiskProperties) MarshalJSON ¶
func (dp DiskProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DiskProperties.
type DiskSku ¶
type DiskSku struct { // Name - The sku name. Possible values include: 'StandardLRS', 'PremiumLRS', 'StandardSSDLRS', 'UltraSSDLRS' Name DiskStorageAccountTypes `json:"name,omitempty"` // Tier - READ-ONLY; The sku tier. Tier *string `json:"tier,omitempty"` }
DiskSku the disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, or UltraSSD_LRS.
func (DiskSku) MarshalJSON ¶
MarshalJSON is the custom marshaler for DiskSku.
type DiskState ¶
type DiskState string
DiskState enumerates the values for disk state.
const ( // ActiveSAS The disk currently has an Active SAS Uri associated with it. ActiveSAS DiskState = "ActiveSAS" // ActiveUpload A disk is created for upload and a write token has been issued for uploading to it. ActiveUpload DiskState = "ActiveUpload" // Attached The disk is currently mounted to a running VM. Attached DiskState = "Attached" // ReadyToUpload A disk is ready to be created by upload by requesting a write token. ReadyToUpload DiskState = "ReadyToUpload" // Reserved The disk is mounted to a stopped-deallocated VM Reserved DiskState = "Reserved" // Unattached The disk is not being used and can be attached to a VM. Unattached DiskState = "Unattached" )
func PossibleDiskStateValues ¶
func PossibleDiskStateValues() []DiskState
PossibleDiskStateValues returns an array of possible values for the DiskState const type.
type DiskStorageAccountTypes ¶
type DiskStorageAccountTypes string
DiskStorageAccountTypes enumerates the values for disk storage account types.
const ( // PremiumLRS Premium SSD locally redundant storage. Best for production and performance sensitive // workloads. PremiumLRS DiskStorageAccountTypes = "Premium_LRS" // StandardLRS Standard HDD locally redundant storage. Best for backup, non-critical, and infrequent // access. StandardLRS DiskStorageAccountTypes = "Standard_LRS" // StandardSSDLRS Standard SSD locally redundant storage. Best for web servers, lightly used enterprise // applications and dev/test. StandardSSDLRS DiskStorageAccountTypes = "StandardSSD_LRS" // UltraSSDLRS Ultra SSD locally redundant storage. Best for IO-intensive workloads such as SAP HANA, top // tier databases (for example, SQL, Oracle), and other transaction-heavy workloads. UltraSSDLRS DiskStorageAccountTypes = "UltraSSD_LRS" )
func PossibleDiskStorageAccountTypesValues ¶
func PossibleDiskStorageAccountTypesValues() []DiskStorageAccountTypes
PossibleDiskStorageAccountTypesValues returns an array of possible values for the DiskStorageAccountTypes const type.
type DiskUpdate ¶
type DiskUpdate struct { *DiskUpdateProperties `json:"properties,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` Sku *DiskSku `json:"sku,omitempty"` }
DiskUpdate disk update resource.
func (DiskUpdate) MarshalJSON ¶
func (du DiskUpdate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DiskUpdate.
func (*DiskUpdate) UnmarshalJSON ¶
func (du *DiskUpdate) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DiskUpdate struct.
type DiskUpdateProperties ¶
type DiskUpdateProperties struct { // OsType - the Operating System type. Possible values include: 'Windows', 'Linux' OsType OperatingSystemTypes `json:"osType,omitempty"` // DiskSizeGB - If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size. DiskSizeGB *int32 `json:"diskSizeGB,omitempty"` // EncryptionSettingsCollection - Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot. EncryptionSettingsCollection *EncryptionSettingsCollection `json:"encryptionSettingsCollection,omitempty"` // DiskIOPSReadWrite - The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes. DiskIOPSReadWrite *int64 `json:"diskIOPSReadWrite,omitempty"` // DiskMBpsReadWrite - The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10. DiskMBpsReadWrite *int32 `json:"diskMBpsReadWrite,omitempty"` // Encryption - Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys. Encryption *Encryption `json:"encryption,omitempty"` }
DiskUpdateProperties disk resource update properties.
type DisksClient ¶
type DisksClient struct {
BaseClient
}
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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (DisksClient) CreateOrUpdate ¶
func (client DisksClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, diskName string, disk Disk) (result DisksCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates a disk. Parameters: resourceGroupName - the name of the resource group. diskName - the name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. disk - disk object supplied in the body of the Put disk operation.
func (DisksClient) CreateOrUpdatePreparer ¶
func (client DisksClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, diskName string, disk Disk) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (DisksClient) CreateOrUpdateResponder ¶
func (client DisksClient) CreateOrUpdateResponder(resp *http.Response) (result Disk, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (DisksClient) CreateOrUpdateSender ¶
func (client DisksClient) CreateOrUpdateSender(req *http.Request) (future DisksCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (DisksClient) Delete ¶
func (client DisksClient) Delete(ctx context.Context, resourceGroupName string, diskName string) (result DisksDeleteFuture, err error)
Delete deletes a disk. Parameters: resourceGroupName - the name of the resource group. diskName - the name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.
func (DisksClient) DeletePreparer ¶
func (client DisksClient) DeletePreparer(ctx context.Context, resourceGroupName string, diskName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (DisksClient) DeleteResponder ¶
func (client DisksClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (DisksClient) DeleteSender ¶
func (client DisksClient) DeleteSender(req *http.Request) (future DisksDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (DisksClient) Get ¶
func (client DisksClient) Get(ctx context.Context, resourceGroupName string, diskName string) (result Disk, err error)
Get gets information about a disk. Parameters: resourceGroupName - the name of the resource group. diskName - the name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.
func (DisksClient) GetPreparer ¶
func (client DisksClient) GetPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, diskName string, grantAccessData GrantAccessData) (result DisksGrantAccessFuture, err error)
GrantAccess grants access to a disk. Parameters: resourceGroupName - the name of the resource group. diskName - the name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. grantAccessData - access data object supplied in the body of the get disk access operation.
func (DisksClient) GrantAccessPreparer ¶
func (client DisksClient) GrantAccessPreparer(ctx context.Context, resourceGroupName string, diskName string, grantAccessData GrantAccessData) (*http.Request, error)
GrantAccessPreparer prepares the GrantAccess request.
func (DisksClient) GrantAccessResponder ¶
func (client DisksClient) GrantAccessResponder(resp *http.Response) (result AccessURI, err error)
GrantAccessResponder handles the response to the GrantAccess request. The method always closes the http.Response Body.
func (DisksClient) GrantAccessSender ¶
func (client DisksClient) GrantAccessSender(req *http.Request) (future DisksGrantAccessFuture, err error)
GrantAccessSender sends the GrantAccess request. The method will close the http.Response Body if it receives an error.
func (DisksClient) List ¶
func (client DisksClient) List(ctx context.Context) (result DiskListPage, err error)
List lists all the disks under a subscription.
func (DisksClient) ListByResourceGroup ¶
func (client DisksClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result DiskListPage, err error)
ListByResourceGroup lists all the disks under a resource group. Parameters: resourceGroupName - the name of the resource group.
func (DisksClient) ListByResourceGroupComplete ¶
func (client DisksClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result DiskListIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (DisksClient) ListByResourceGroupPreparer ¶
func (client DisksClient) ListByResourceGroupPreparer(ctx context.Context, 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(ctx context.Context) (result DiskListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (DisksClient) ListPreparer ¶
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(ctx context.Context, resourceGroupName string, diskName string) (result DisksRevokeAccessFuture, err error)
RevokeAccess revokes access to a disk. Parameters: resourceGroupName - the name of the resource group. diskName - the name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.
func (DisksClient) RevokeAccessPreparer ¶
func (client DisksClient) RevokeAccessPreparer(ctx context.Context, resourceGroupName string, diskName string) (*http.Request, error)
RevokeAccessPreparer prepares the RevokeAccess request.
func (DisksClient) RevokeAccessResponder ¶
func (client DisksClient) RevokeAccessResponder(resp *http.Response) (result autorest.Response, err error)
RevokeAccessResponder handles the response to the RevokeAccess request. The method always closes the http.Response Body.
func (DisksClient) RevokeAccessSender ¶
func (client DisksClient) RevokeAccessSender(req *http.Request) (future DisksRevokeAccessFuture, err error)
RevokeAccessSender sends the RevokeAccess request. The method will close the http.Response Body if it receives an error.
func (DisksClient) Update ¶
func (client DisksClient) Update(ctx context.Context, resourceGroupName string, diskName string, disk DiskUpdate) (result DisksUpdateFuture, err error)
Update updates (patches) a disk. Parameters: resourceGroupName - the name of the resource group. diskName - the name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. disk - disk object supplied in the body of the Patch disk operation.
func (DisksClient) UpdatePreparer ¶
func (client DisksClient) UpdatePreparer(ctx context.Context, resourceGroupName string, diskName string, disk DiskUpdate) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (DisksClient) UpdateResponder ¶
func (client DisksClient) UpdateResponder(resp *http.Response) (result Disk, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (DisksClient) UpdateSender ¶
func (client DisksClient) UpdateSender(req *http.Request) (future DisksUpdateFuture, err error)
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type DisksCreateOrUpdateFuture ¶
type DisksCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(DisksClient) (Disk, error) }
DisksCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*DisksCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *DisksCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type DisksDeleteFuture ¶
type DisksDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(DisksClient) (autorest.Response, error) }
DisksDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*DisksDeleteFuture) UnmarshalJSON ¶
func (future *DisksDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type DisksGrantAccessFuture ¶
type DisksGrantAccessFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(DisksClient) (AccessURI, error) }
DisksGrantAccessFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*DisksGrantAccessFuture) UnmarshalJSON ¶
func (future *DisksGrantAccessFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type DisksRevokeAccessFuture ¶
type DisksRevokeAccessFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(DisksClient) (autorest.Response, error) }
DisksRevokeAccessFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*DisksRevokeAccessFuture) UnmarshalJSON ¶
func (future *DisksRevokeAccessFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type DisksUpdateFuture ¶
type DisksUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(DisksClient) (Disk, error) }
DisksUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*DisksUpdateFuture) UnmarshalJSON ¶
func (future *DisksUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type Encryption ¶
type Encryption struct { // DiskEncryptionSetID - ResourceId of the disk encryption set to use for enabling encryption at rest. DiskEncryptionSetID *string `json:"diskEncryptionSetId,omitempty"` // Type - The type of key used to encrypt the data of the disk. Possible values include: 'EncryptionAtRestWithPlatformKey', 'EncryptionAtRestWithCustomerKey' Type EncryptionType `json:"type,omitempty"` }
Encryption encryption at rest settings for disk or snapshot
type EncryptionSetIdentity ¶
type EncryptionSetIdentity struct { // Type - The type of Managed Identity used by the DiskEncryptionSet. Only SystemAssigned is supported. Possible values include: 'SystemAssigned' Type DiskEncryptionSetIdentityType `json:"type,omitempty"` // PrincipalID - READ-ONLY; The object id of the Managed Identity Resource. This will be sent to the RP from ARM via the x-ms-identity-principal-id header in the PUT request if the resource has a systemAssigned(implicit) identity PrincipalID *string `json:"principalId,omitempty"` // TenantID - READ-ONLY; The tenant id of the Managed Identity Resource. This will be sent to the RP from ARM via the x-ms-client-tenant-id header in the PUT request if the resource has a systemAssigned(implicit) identity TenantID *string `json:"tenantId,omitempty"` }
EncryptionSetIdentity the managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks.
func (EncryptionSetIdentity) MarshalJSON ¶
func (esi EncryptionSetIdentity) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for EncryptionSetIdentity.
type EncryptionSetProperties ¶
type EncryptionSetProperties struct { // ActiveKey - The key vault key which is currently used by this disk encryption set. ActiveKey *KeyVaultAndKeyReference `json:"activeKey,omitempty"` // PreviousKeys - READ-ONLY; A readonly collection of key vault keys previously used by this disk encryption set while a key rotation is in progress. It will be empty if there is no ongoing key rotation. PreviousKeys *[]KeyVaultAndKeyReference `json:"previousKeys,omitempty"` // ProvisioningState - READ-ONLY; The disk encryption set provisioning state. ProvisioningState *string `json:"provisioningState,omitempty"` }
EncryptionSetProperties ...
func (EncryptionSetProperties) MarshalJSON ¶
func (esp EncryptionSetProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for EncryptionSetProperties.
type EncryptionSettingsCollection ¶
type EncryptionSettingsCollection struct { // Enabled - Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged. Enabled *bool `json:"enabled,omitempty"` // EncryptionSettings - A collection of encryption settings, one for each disk volume. EncryptionSettings *[]EncryptionSettingsElement `json:"encryptionSettings,omitempty"` // EncryptionSettingsVersion - Describes what type of encryption is used for the disks. Once this field is set, it cannot be overwritten. '1.0' corresponds to Azure Disk Encryption with AAD app.'1.1' corresponds to Azure Disk Encryption. EncryptionSettingsVersion *string `json:"encryptionSettingsVersion,omitempty"` }
EncryptionSettingsCollection encryption settings for disk or snapshot
type EncryptionSettingsElement ¶
type EncryptionSettingsElement struct { // DiskEncryptionKey - Key Vault Secret Url and vault id of the disk encryption key DiskEncryptionKey *KeyVaultAndSecretReference `json:"diskEncryptionKey,omitempty"` // KeyEncryptionKey - Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key. KeyEncryptionKey *KeyVaultAndKeyReference `json:"keyEncryptionKey,omitempty"` }
EncryptionSettingsElement encryption settings for one disk volume.
type EncryptionType ¶
type EncryptionType string
EncryptionType enumerates the values for encryption type.
const ( // EncryptionAtRestWithCustomerKey Disk is encrypted with Customer managed key at rest. EncryptionAtRestWithCustomerKey EncryptionType = "EncryptionAtRestWithCustomerKey" // EncryptionAtRestWithPlatformKey Disk is encrypted with XStore managed key at rest. It is the default // encryption type. EncryptionAtRestWithPlatformKey EncryptionType = "EncryptionAtRestWithPlatformKey" )
func PossibleEncryptionTypeValues ¶
func PossibleEncryptionTypeValues() []EncryptionType
PossibleEncryptionTypeValues returns an array of possible values for the EncryptionType const type.
type GrantAccessData ¶
type GrantAccessData struct { // Access - Possible values include: 'None', 'Read', 'Write' Access AccessLevel `json:"access,omitempty"` // DurationInSeconds - Time duration in seconds until the SAS access expires. DurationInSeconds *int32 `json:"durationInSeconds,omitempty"` }
GrantAccessData data used for requesting a SAS.
type HardwareProfile ¶
type HardwareProfile struct { // VMSize - Specifies the size of the virtual machine. For more information about virtual machine sizes, see [Sizes for virtual machines](https://docs.microsoft.com/en-us/azure/virtual-machines/sizes). <br><br> The available VM sizes depend on region and availability set. For a list of available sizes use these APIs: <br><br> [List all available virtual machine sizes in an availability set](https://docs.microsoft.com/rest/api/compute/availabilitysets/listavailablesizes) <br><br> [List all available virtual machine sizes in a region]( https://docs.microsoft.com/en-us/rest/api/compute/resourceskus/list) <br><br> [List all available virtual machine sizes for resizing](https://docs.microsoft.com/rest/api/compute/virtualmachines/listavailablesizes). <br><br> This list of sizes is no longer updated and the **VirtualMachineSizeTypes** string constants will be removed from the subsequent REST API specification. Use [List all available virtual machine sizes in a region]( https://docs.microsoft.com/en-us/rest/api/compute/resourceskus/list) to get the latest sizes. Possible values include: 'BasicA0', 'BasicA1', 'BasicA2', 'BasicA3', 'BasicA4', 'StandardA0', 'StandardA1', 'StandardA2', 'StandardA3', 'StandardA4', 'StandardA5', 'StandardA6', 'StandardA7', 'StandardA8', 'StandardA9', 'StandardA10', 'StandardA11', 'StandardA1V2', 'StandardA2V2', 'StandardA4V2', 'StandardA8V2', 'StandardA2mV2', 'StandardA4mV2', 'StandardA8mV2', 'StandardB1s', 'StandardB1ms', 'StandardB2s', 'StandardB2ms', 'StandardB4ms', 'StandardB8ms', 'StandardD1', 'StandardD2', 'StandardD3', 'StandardD4', 'StandardD11', 'StandardD12', 'StandardD13', 'StandardD14', 'StandardD1V2', 'StandardD2V2', 'StandardD3V2', 'StandardD4V2', 'StandardD5V2', 'StandardD2V3', 'StandardD4V3', 'StandardD8V3', 'StandardD16V3', 'StandardD32V3', 'StandardD64V3', 'StandardD2sV3', 'StandardD4sV3', 'StandardD8sV3', 'StandardD16sV3', 'StandardD32sV3', 'StandardD64sV3', 'StandardD11V2', 'StandardD12V2', 'StandardD13V2', 'StandardD14V2', 'StandardD15V2', 'StandardDS1', 'StandardDS2', 'StandardDS3', 'StandardDS4', 'StandardDS11', 'StandardDS12', 'StandardDS13', 'StandardDS14', 'StandardDS1V2', 'StandardDS2V2', 'StandardDS3V2', 'StandardDS4V2', 'StandardDS5V2', 'StandardDS11V2', 'StandardDS12V2', 'StandardDS13V2', 'StandardDS14V2', 'StandardDS15V2', 'StandardDS134V2', 'StandardDS132V2', 'StandardDS148V2', 'StandardDS144V2', 'StandardE2V3', 'StandardE4V3', 'StandardE8V3', 'StandardE16V3', 'StandardE32V3', 'StandardE64V3', 'StandardE2sV3', 'StandardE4sV3', 'StandardE8sV3', 'StandardE16sV3', 'StandardE32sV3', 'StandardE64sV3', 'StandardE3216V3', 'StandardE328sV3', 'StandardE6432sV3', 'StandardE6416sV3', 'StandardF1', 'StandardF2', 'StandardF4', 'StandardF8', 'StandardF16', 'StandardF1s', 'StandardF2s', 'StandardF4s', 'StandardF8s', 'StandardF16s', 'StandardF2sV2', 'StandardF4sV2', 'StandardF8sV2', 'StandardF16sV2', 'StandardF32sV2', 'StandardF64sV2', 'StandardF72sV2', 'StandardG1', 'StandardG2', 'StandardG3', 'StandardG4', 'StandardG5', 'StandardGS1', 'StandardGS2', 'StandardGS3', 'StandardGS4', 'StandardGS5', 'StandardGS48', 'StandardGS44', 'StandardGS516', 'StandardGS58', 'StandardH8', 'StandardH16', 'StandardH8m', 'StandardH16m', 'StandardH16r', 'StandardH16mr', 'StandardL4s', 'StandardL8s', 'StandardL16s', 'StandardL32s', 'StandardM64s', 'StandardM64ms', 'StandardM128s', 'StandardM128ms', 'StandardM6432ms', 'StandardM6416ms', 'StandardM12864ms', 'StandardM12832ms', 'StandardNC6', 'StandardNC12', 'StandardNC24', 'StandardNC24r', 'StandardNC6sV2', 'StandardNC12sV2', 'StandardNC24sV2', 'StandardNC24rsV2', 'StandardNC6sV3', 'StandardNC12sV3', 'StandardNC24sV3', 'StandardNC24rsV3', 'StandardND6s', 'StandardND12s', 'StandardND24s', 'StandardND24rs', 'StandardNV6', 'StandardNV12', 'StandardNV24' VMSize VirtualMachineSizeTypes `json:"vmSize,omitempty"` }
HardwareProfile specifies the hardware settings for the virtual machine.
type HyperVGeneration ¶
type HyperVGeneration string
HyperVGeneration enumerates the values for hyper v generation.
const ( // V1 ... V1 HyperVGeneration = "V1" // V2 ... V2 HyperVGeneration = "V2" )
func PossibleHyperVGenerationValues ¶
func PossibleHyperVGenerationValues() []HyperVGeneration
PossibleHyperVGenerationValues returns an array of possible values for the HyperVGeneration const type.
type HyperVGenerationType ¶
type HyperVGenerationType string
HyperVGenerationType enumerates the values for hyper v generation type.
const ( // HyperVGenerationTypeV1 ... HyperVGenerationTypeV1 HyperVGenerationType = "V1" // HyperVGenerationTypeV2 ... HyperVGenerationTypeV2 HyperVGenerationType = "V2" )
func PossibleHyperVGenerationTypeValues ¶
func PossibleHyperVGenerationTypeValues() []HyperVGenerationType
PossibleHyperVGenerationTypeValues returns an array of possible values for the HyperVGenerationType const type.
type HyperVGenerationTypes ¶
type HyperVGenerationTypes string
HyperVGenerationTypes enumerates the values for hyper v generation types.
const ( // HyperVGenerationTypesV1 ... HyperVGenerationTypesV1 HyperVGenerationTypes = "V1" // HyperVGenerationTypesV2 ... HyperVGenerationTypesV2 HyperVGenerationTypes = "V2" )
func PossibleHyperVGenerationTypesValues ¶
func PossibleHyperVGenerationTypesValues() []HyperVGenerationTypes
PossibleHyperVGenerationTypesValues returns an array of possible values for the HyperVGenerationTypes const type.
type IPVersion ¶
type IPVersion string
IPVersion enumerates the values for ip version.
func PossibleIPVersionValues ¶
func PossibleIPVersionValues() []IPVersion
PossibleIPVersionValues returns an array of possible values for the IPVersion const type.
type Image ¶
type Image struct { autorest.Response `json:"-"` *ImageProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type Type *string `json:"type,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
Image 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.
func (Image) MarshalJSON ¶
MarshalJSON is the custom marshaler for Image.
func (*Image) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Image struct.
type ImageDataDisk ¶
type ImageDataDisk struct { // Lun - Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. Lun *int32 `json:"lun,omitempty"` // Snapshot - The snapshot. Snapshot *SubResource `json:"snapshot,omitempty"` // ManagedDisk - The managedDisk. ManagedDisk *SubResource `json:"managedDisk,omitempty"` // BlobURI - The Virtual Hard Disk. BlobURI *string `json:"blobUri,omitempty"` // Caching - Specifies the caching requirements. <br><br> Possible values are: <br><br> **None** <br><br> **ReadOnly** <br><br> **ReadWrite** <br><br> Default: **None for Standard storage. ReadOnly for Premium storage**. Possible values include: 'CachingTypesNone', 'CachingTypesReadOnly', 'CachingTypesReadWrite' Caching CachingTypes `json:"caching,omitempty"` // DiskSizeGB - Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image. <br><br> This value cannot be larger than 1023 GB DiskSizeGB *int32 `json:"diskSizeGB,omitempty"` // StorageAccountType - Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk. Possible values include: 'StorageAccountTypesStandardLRS', 'StorageAccountTypesPremiumLRS', 'StorageAccountTypesStandardSSDLRS', 'StorageAccountTypesUltraSSDLRS' StorageAccountType StorageAccountTypes `json:"storageAccountType,omitempty"` // DiskEncryptionSet - Specifies the customer managed disk encryption set resource id for the managed image disk. DiskEncryptionSet *DiskEncryptionSetParameters `json:"diskEncryptionSet,omitempty"` }
ImageDataDisk describes a data disk.
type ImageDisk ¶
type ImageDisk struct { // Snapshot - The snapshot. Snapshot *SubResource `json:"snapshot,omitempty"` // ManagedDisk - The managedDisk. ManagedDisk *SubResource `json:"managedDisk,omitempty"` // BlobURI - The Virtual Hard Disk. BlobURI *string `json:"blobUri,omitempty"` // Caching - Specifies the caching requirements. <br><br> Possible values are: <br><br> **None** <br><br> **ReadOnly** <br><br> **ReadWrite** <br><br> Default: **None for Standard storage. ReadOnly for Premium storage**. Possible values include: 'CachingTypesNone', 'CachingTypesReadOnly', 'CachingTypesReadWrite' Caching CachingTypes `json:"caching,omitempty"` // DiskSizeGB - Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image. <br><br> This value cannot be larger than 1023 GB DiskSizeGB *int32 `json:"diskSizeGB,omitempty"` // StorageAccountType - Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk. Possible values include: 'StorageAccountTypesStandardLRS', 'StorageAccountTypesPremiumLRS', 'StorageAccountTypesStandardSSDLRS', 'StorageAccountTypesUltraSSDLRS' StorageAccountType StorageAccountTypes `json:"storageAccountType,omitempty"` // DiskEncryptionSet - Specifies the customer managed disk encryption set resource id for the managed image disk. DiskEncryptionSet *DiskEncryptionSetParameters `json:"diskEncryptionSet,omitempty"` }
ImageDisk describes a image disk.
type ImageDiskReference ¶
type ImageDiskReference struct { // ID - A relative uri containing either a Platform Image Repository or user image reference. ID *string `json:"id,omitempty"` // Lun - If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null. Lun *int32 `json:"lun,omitempty"` }
ImageDiskReference the source image used for creating the disk.
type ImageListResult ¶
type ImageListResult struct { autorest.Response `json:"-"` // Value - The list of Images. Value *[]Image `json:"value,omitempty"` // NextLink - The uri to fetch the next page of Images. Call ListNext() with this to fetch the next page of Images. NextLink *string `json:"nextLink,omitempty"` }
ImageListResult the List Image operation response.
func (ImageListResult) IsEmpty ¶
func (ilr ImageListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ImageListResultIterator ¶
type ImageListResultIterator struct {
// contains filtered or unexported fields
}
ImageListResultIterator provides access to a complete listing of Image values.
func NewImageListResultIterator ¶
func NewImageListResultIterator(page ImageListResultPage) ImageListResultIterator
Creates a new instance of the ImageListResultIterator type.
func (*ImageListResultIterator) Next ¶
func (iter *ImageListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ImageListResultIterator) NextWithContext ¶
func (iter *ImageListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ImageListResultIterator) NotDone ¶
func (iter ImageListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ImageListResultIterator) Response ¶
func (iter ImageListResultIterator) Response() ImageListResult
Response returns the raw server response from the last page request.
func (ImageListResultIterator) Value ¶
func (iter ImageListResultIterator) Value() Image
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ImageListResultPage ¶
type ImageListResultPage struct {
// contains filtered or unexported fields
}
ImageListResultPage contains a page of Image values.
func NewImageListResultPage ¶
func NewImageListResultPage(cur ImageListResult, getNextPage func(context.Context, ImageListResult) (ImageListResult, error)) ImageListResultPage
Creates a new instance of the ImageListResultPage type.
func (*ImageListResultPage) Next ¶
func (page *ImageListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ImageListResultPage) NextWithContext ¶
func (page *ImageListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ImageListResultPage) NotDone ¶
func (page ImageListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ImageListResultPage) Response ¶
func (page ImageListResultPage) Response() ImageListResult
Response returns the raw server response from the last page request.
func (ImageListResultPage) Values ¶
func (page ImageListResultPage) Values() []Image
Values returns the slice of values for the current page or nil if there are no values.
type ImageOSDisk ¶
type ImageOSDisk struct { // OsType - This property allows you to specify the type of the OS that is included in the disk if creating a VM from a custom image. <br><br> Possible values are: <br><br> **Windows** <br><br> **Linux**. Possible values include: 'Windows', 'Linux' OsType OperatingSystemTypes `json:"osType,omitempty"` // OsState - The OS State. Possible values include: 'Generalized', 'Specialized' OsState OperatingSystemStateTypes `json:"osState,omitempty"` // Snapshot - The snapshot. Snapshot *SubResource `json:"snapshot,omitempty"` // ManagedDisk - The managedDisk. ManagedDisk *SubResource `json:"managedDisk,omitempty"` // BlobURI - The Virtual Hard Disk. BlobURI *string `json:"blobUri,omitempty"` // Caching - Specifies the caching requirements. <br><br> Possible values are: <br><br> **None** <br><br> **ReadOnly** <br><br> **ReadWrite** <br><br> Default: **None for Standard storage. ReadOnly for Premium storage**. Possible values include: 'CachingTypesNone', 'CachingTypesReadOnly', 'CachingTypesReadWrite' Caching CachingTypes `json:"caching,omitempty"` // DiskSizeGB - Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image. <br><br> This value cannot be larger than 1023 GB DiskSizeGB *int32 `json:"diskSizeGB,omitempty"` // StorageAccountType - Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk. Possible values include: 'StorageAccountTypesStandardLRS', 'StorageAccountTypesPremiumLRS', 'StorageAccountTypesStandardSSDLRS', 'StorageAccountTypesUltraSSDLRS' StorageAccountType StorageAccountTypes `json:"storageAccountType,omitempty"` // DiskEncryptionSet - Specifies the customer managed disk encryption set resource id for the managed image disk. DiskEncryptionSet *DiskEncryptionSetParameters `json:"diskEncryptionSet,omitempty"` }
ImageOSDisk describes an Operating System disk.
type ImageProperties ¶
type ImageProperties struct { // SourceVirtualMachine - The source virtual machine from which Image is created. SourceVirtualMachine *SubResource `json:"sourceVirtualMachine,omitempty"` // StorageProfile - Specifies the storage settings for the virtual machine disks. StorageProfile *ImageStorageProfile `json:"storageProfile,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state. ProvisioningState *string `json:"provisioningState,omitempty"` // HyperVGeneration - Gets the HyperVGenerationType of the VirtualMachine created from the image. Possible values include: 'HyperVGenerationTypesV1', 'HyperVGenerationTypesV2' HyperVGeneration HyperVGenerationTypes `json:"hyperVGeneration,omitempty"` }
ImageProperties describes the properties of an Image.
func (ImageProperties) MarshalJSON ¶
func (IP ImageProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ImageProperties.
type ImageReference ¶
type ImageReference struct { // Publisher - The image publisher. Publisher *string `json:"publisher,omitempty"` // Offer - Specifies the offer of the platform image or marketplace image used to create the virtual machine. Offer *string `json:"offer,omitempty"` // Sku - The image SKU. Sku *string `json:"sku,omitempty"` // Version - Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available. Version *string `json:"version,omitempty"` // ExactVersion - READ-ONLY; Specifies in decimal numbers, the version of platform image or marketplace image used to create the virtual machine. This readonly field differs from 'version', only if the value specified in 'version' field is 'latest'. ExactVersion *string `json:"exactVersion,omitempty"` // ID - Resource Id ID *string `json:"id,omitempty"` }
ImageReference 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. NOTE: Image reference publisher and offer can only be set when you create the scale set.
func (ImageReference) MarshalJSON ¶
func (ir ImageReference) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ImageReference.
type ImageStorageProfile ¶
type ImageStorageProfile struct { // OsDisk - 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). OsDisk *ImageOSDisk `json:"osDisk,omitempty"` // DataDisks - Specifies the parameters that are used to add a data disk to a 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). DataDisks *[]ImageDataDisk `json:"dataDisks,omitempty"` // ZoneResilient - Specifies whether an image is zone resilient or not. Default is false. Zone resilient images can be created only in regions that provide Zone Redundant Storage (ZRS). ZoneResilient *bool `json:"zoneResilient,omitempty"` }
ImageStorageProfile describes a storage profile.
type ImageUpdate ¶
type ImageUpdate struct { *ImageProperties `json:"properties,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
ImageUpdate the source user image virtual hard disk. Only tags may be updated.
func (ImageUpdate) MarshalJSON ¶
func (iu ImageUpdate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ImageUpdate.
func (*ImageUpdate) UnmarshalJSON ¶
func (iu *ImageUpdate) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ImageUpdate struct.
type ImagesClient ¶
type ImagesClient struct {
BaseClient
}
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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ImagesClient) CreateOrUpdate ¶
func (client ImagesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, imageName string, parameters Image) (result ImagesCreateOrUpdateFuture, err error)
CreateOrUpdate create or update an image. Parameters: resourceGroupName - the name of the resource group. imageName - the name of the image. parameters - parameters supplied to the Create Image operation.
func (ImagesClient) CreateOrUpdatePreparer ¶
func (client ImagesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, imageName string, parameters Image) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ImagesClient) CreateOrUpdateResponder ¶
func (client ImagesClient) CreateOrUpdateResponder(resp *http.Response) (result Image, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ImagesClient) CreateOrUpdateSender ¶
func (client ImagesClient) CreateOrUpdateSender(req *http.Request) (future ImagesCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ImagesClient) Delete ¶
func (client ImagesClient) Delete(ctx context.Context, resourceGroupName string, imageName string) (result ImagesDeleteFuture, err error)
Delete deletes an Image. Parameters: resourceGroupName - the name of the resource group. imageName - the name of the image.
func (ImagesClient) DeletePreparer ¶
func (client ImagesClient) DeletePreparer(ctx context.Context, resourceGroupName string, imageName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ImagesClient) DeleteResponder ¶
func (client ImagesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (ImagesClient) DeleteSender ¶
func (client ImagesClient) DeleteSender(req *http.Request) (future ImagesDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ImagesClient) Get ¶
func (client ImagesClient) Get(ctx context.Context, resourceGroupName string, imageName string, expand string) (result Image, err error)
Get gets an image. Parameters: resourceGroupName - the name of the resource group. imageName - the name of the image. expand - the expand expression to apply on the operation.
func (ImagesClient) GetPreparer ¶
func (client ImagesClient) GetPreparer(ctx context.Context, 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(ctx context.Context) (result ImageListResultPage, 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 null to fetch all the Images.
func (ImagesClient) ListByResourceGroup ¶
func (client ImagesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ImageListResultPage, err error)
ListByResourceGroup gets the list of images under a resource group. Parameters: resourceGroupName - the name of the resource group.
func (ImagesClient) ListByResourceGroupComplete ¶
func (client ImagesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ImageListResultIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (ImagesClient) ListByResourceGroupPreparer ¶
func (client ImagesClient) ListByResourceGroupPreparer(ctx context.Context, 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(ctx context.Context) (result ImageListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (ImagesClient) ListPreparer ¶
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.
func (ImagesClient) Update ¶
func (client ImagesClient) Update(ctx context.Context, resourceGroupName string, imageName string, parameters ImageUpdate) (result ImagesUpdateFuture, err error)
Update update an image. Parameters: resourceGroupName - the name of the resource group. imageName - the name of the image. parameters - parameters supplied to the Update Image operation.
func (ImagesClient) UpdatePreparer ¶
func (client ImagesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, imageName string, parameters ImageUpdate) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (ImagesClient) UpdateResponder ¶
func (client ImagesClient) UpdateResponder(resp *http.Response) (result Image, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (ImagesClient) UpdateSender ¶
func (client ImagesClient) UpdateSender(req *http.Request) (future ImagesUpdateFuture, err error)
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type ImagesCreateOrUpdateFuture ¶
type ImagesCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ImagesClient) (Image, error) }
ImagesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ImagesCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *ImagesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ImagesDeleteFuture ¶
type ImagesDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ImagesClient) (autorest.Response, error) }
ImagesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ImagesDeleteFuture) UnmarshalJSON ¶
func (future *ImagesDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ImagesUpdateFuture ¶
type ImagesUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(ImagesClient) (Image, error) }
ImagesUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ImagesUpdateFuture) UnmarshalJSON ¶
func (future *ImagesUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type InGuestPatchMode ¶
type InGuestPatchMode string
InGuestPatchMode enumerates the values for in guest patch mode.
const ( // AutomaticByOS ... AutomaticByOS InGuestPatchMode = "AutomaticByOS" // AutomaticByPlatform ... AutomaticByPlatform InGuestPatchMode = "AutomaticByPlatform" // Manual ... Manual InGuestPatchMode = "Manual" )
func PossibleInGuestPatchModeValues ¶
func PossibleInGuestPatchModeValues() []InGuestPatchMode
PossibleInGuestPatchModeValues returns an array of possible values for the InGuestPatchMode const type.
type InnerError ¶
type InnerError struct { // Exceptiontype - The exception type. Exceptiontype *string `json:"exceptiontype,omitempty"` // Errordetail - The internal error message or exception dump. Errordetail *string `json:"errordetail,omitempty"` }
InnerError inner error details.
type InstanceViewStatus ¶
type InstanceViewStatus struct { // Code - The status code. Code *string `json:"code,omitempty"` // Level - The level code. Possible values include: 'Info', 'Warning', 'Error' Level StatusLevelTypes `json:"level,omitempty"` // DisplayStatus - The short localizable label for the status. DisplayStatus *string `json:"displayStatus,omitempty"` // Message - The detailed status message, including for alerts and error messages. Message *string `json:"message,omitempty"` // Time - The time of the status. Time *date.Time `json:"time,omitempty"` }
InstanceViewStatus instance view status.
type InstanceViewTypes ¶
type InstanceViewTypes string
InstanceViewTypes enumerates the values for instance view types.
const ( // InstanceView ... InstanceView InstanceViewTypes = "instanceView" )
func PossibleInstanceViewTypesValues ¶
func PossibleInstanceViewTypesValues() []InstanceViewTypes
PossibleInstanceViewTypesValues returns an array of possible values for the InstanceViewTypes const type.
type IntervalInMins ¶
type IntervalInMins string
IntervalInMins enumerates the values for interval in mins.
const ( // FiveMins ... FiveMins IntervalInMins = "FiveMins" // SixtyMins ... SixtyMins IntervalInMins = "SixtyMins" // ThirtyMins ... ThirtyMins IntervalInMins = "ThirtyMins" // ThreeMins ... ThreeMins IntervalInMins = "ThreeMins" )
func PossibleIntervalInMinsValues ¶
func PossibleIntervalInMinsValues() []IntervalInMins
PossibleIntervalInMinsValues returns an array of possible values for the IntervalInMins const type.
type KeyVaultAndKeyReference ¶
type KeyVaultAndKeyReference struct { // SourceVault - Resource id of the KeyVault containing the key or secret SourceVault *SourceVault `json:"sourceVault,omitempty"` // KeyURL - Url pointing to a key or secret in KeyVault KeyURL *string `json:"keyUrl,omitempty"` }
KeyVaultAndKeyReference 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 - Resource id of the KeyVault containing the key or secret SourceVault *SourceVault `json:"sourceVault,omitempty"` // SecretURL - Url pointing to a key or secret in KeyVault SecretURL *string `json:"secretUrl,omitempty"` }
KeyVaultAndSecretReference key Vault Secret Url and vault id of the encryption key
type KeyVaultKeyReference ¶
type KeyVaultKeyReference struct { // KeyURL - The URL referencing a key encryption key in Key Vault. KeyURL *string `json:"keyUrl,omitempty"` // SourceVault - The relative URL of the Key Vault containing the key. SourceVault *SubResource `json:"sourceVault,omitempty"` }
KeyVaultKeyReference describes a reference to Key Vault Key
type KeyVaultSecretReference ¶
type KeyVaultSecretReference struct { // SecretURL - The URL referencing a secret in a Key Vault. SecretURL *string `json:"secretUrl,omitempty"` // SourceVault - The relative URL of the Key Vault containing the secret. SourceVault *SubResource `json:"sourceVault,omitempty"` }
KeyVaultSecretReference describes a reference to Key Vault Secret
type LastPatchInstallationSummary ¶
type LastPatchInstallationSummary struct { // Status - READ-ONLY; The overall success or failure status of the operation. It remains "InProgress" until the operation completes. At that point it will become "Failed", "Succeeded", or "CompletedWithWarnings.". Possible values include: 'PatchOperationStatusInProgress', 'PatchOperationStatusFailed', 'PatchOperationStatusSucceeded', 'PatchOperationStatusCompletedWithWarnings' Status PatchOperationStatus `json:"status,omitempty"` // InstallationActivityID - READ-ONLY; The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs. InstallationActivityID *string `json:"installationActivityId,omitempty"` // MaintenanceWindowExceeded - READ-ONLY; Describes whether the operation ran out of time before it completed all its intended actions MaintenanceWindowExceeded *bool `json:"maintenanceWindowExceeded,omitempty"` // RebootStatus - READ-ONLY; The reboot status of the machine after the patch operation. It will be in "NotNeeded" status if reboot is not needed after the patch operation. "Required" will be the status once the patch is applied and machine is required to reboot. "Started" will be the reboot status when the machine has started to reboot. "Failed" will be the status if the machine is failed to reboot. "Completed" will be the status once the machine is rebooted successfully. Possible values include: 'RebootStatusNotNeeded', 'RebootStatusRequired', 'RebootStatusStarted', 'RebootStatusFailed', 'RebootStatusCompleted' RebootStatus RebootStatus `json:"rebootStatus,omitempty"` // NotSelectedPatchCount - READ-ONLY; The number of all available patches but not going to be installed because it didn't match a classification or inclusion list entry. NotSelectedPatchCount *int32 `json:"notSelectedPatchCount,omitempty"` // ExcludedPatchCount - READ-ONLY; The number of all available patches but excluded explicitly by a customer-specified exclusion list match. ExcludedPatchCount *int32 `json:"excludedPatchCount,omitempty"` // PendingPatchCount - READ-ONLY; The number of all available patches expected to be installed over the course of the patch installation operation. PendingPatchCount *int32 `json:"pendingPatchCount,omitempty"` // InstalledPatchCount - READ-ONLY; The count of patches that successfully installed. InstalledPatchCount *int32 `json:"installedPatchCount,omitempty"` // FailedPatchCount - READ-ONLY; The count of patches that failed installation. FailedPatchCount *int32 `json:"failedPatchCount,omitempty"` // StartTime - READ-ONLY; The UTC timestamp when the operation began. StartTime *date.Time `json:"startTime,omitempty"` // LastModifiedTime - READ-ONLY; The UTC timestamp when the operation began. LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"` // StartedBy - READ-ONLY; The person or system account that started the operation StartedBy *string `json:"startedBy,omitempty"` // Error - READ-ONLY; The errors that were encountered during execution of the operation. The details array contains the list of them. Error *APIError `json:"error,omitempty"` }
LastPatchInstallationSummary describes the properties of the last installed patch summary.
type LinuxConfiguration ¶
type LinuxConfiguration struct { // DisablePasswordAuthentication - Specifies whether password authentication should be disabled. DisablePasswordAuthentication *bool `json:"disablePasswordAuthentication,omitempty"` // SSH - Specifies the ssh key configuration for a Linux OS. SSH *SSHConfiguration `json:"ssh,omitempty"` // ProvisionVMAgent - Indicates whether virtual machine agent should be provisioned on the virtual machine. <br><br> When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later. ProvisionVMAgent *bool `json:"provisionVMAgent,omitempty"` }
LinuxConfiguration 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 - The list of compute resource usages. Value *[]Usage `json:"value,omitempty"` // NextLink - The URI to fetch the next page of compute resource usage information. Call ListNext() with this to fetch the next page of compute resource usage information. NextLink *string `json:"nextLink,omitempty"` }
ListUsagesResult the List Usages operation response.
func (ListUsagesResult) IsEmpty ¶
func (lur ListUsagesResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ListUsagesResultIterator ¶
type ListUsagesResultIterator struct {
// contains filtered or unexported fields
}
ListUsagesResultIterator provides access to a complete listing of Usage values.
func NewListUsagesResultIterator ¶
func NewListUsagesResultIterator(page ListUsagesResultPage) ListUsagesResultIterator
Creates a new instance of the ListUsagesResultIterator type.
func (*ListUsagesResultIterator) Next ¶
func (iter *ListUsagesResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ListUsagesResultIterator) NextWithContext ¶
func (iter *ListUsagesResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ListUsagesResultIterator) NotDone ¶
func (iter ListUsagesResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ListUsagesResultIterator) Response ¶
func (iter ListUsagesResultIterator) Response() ListUsagesResult
Response returns the raw server response from the last page request.
func (ListUsagesResultIterator) Value ¶
func (iter ListUsagesResultIterator) Value() Usage
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ListUsagesResultPage ¶
type ListUsagesResultPage struct {
// contains filtered or unexported fields
}
ListUsagesResultPage contains a page of Usage values.
func NewListUsagesResultPage ¶
func NewListUsagesResultPage(cur ListUsagesResult, getNextPage func(context.Context, ListUsagesResult) (ListUsagesResult, error)) ListUsagesResultPage
Creates a new instance of the ListUsagesResultPage type.
func (*ListUsagesResultPage) Next ¶
func (page *ListUsagesResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ListUsagesResultPage) NextWithContext ¶
func (page *ListUsagesResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ListUsagesResultPage) NotDone ¶
func (page ListUsagesResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ListUsagesResultPage) Response ¶
func (page ListUsagesResultPage) Response() ListUsagesResult
Response returns the raw server response from the last page request.
func (ListUsagesResultPage) Values ¶
func (page ListUsagesResultPage) Values() []Usage
Values returns the slice of values for the current page or nil if there are no values.
type ListVirtualMachineExtensionImage ¶
type ListVirtualMachineExtensionImage struct { autorest.Response `json:"-"` Value *[]VirtualMachineExtensionImage `json:"value,omitempty"` }
ListVirtualMachineExtensionImage ...
type ListVirtualMachineImageResource ¶
type ListVirtualMachineImageResource struct { autorest.Response `json:"-"` Value *[]VirtualMachineImageResource `json:"value,omitempty"` }
ListVirtualMachineImageResource ...
type LogAnalyticsClient ¶
type LogAnalyticsClient struct {
BaseClient
}
LogAnalyticsClient is the compute Client
func NewLogAnalyticsClient ¶
func NewLogAnalyticsClient(subscriptionID string) LogAnalyticsClient
NewLogAnalyticsClient creates an instance of the LogAnalyticsClient client.
func NewLogAnalyticsClientWithBaseURI ¶
func NewLogAnalyticsClientWithBaseURI(baseURI string, subscriptionID string) LogAnalyticsClient
NewLogAnalyticsClientWithBaseURI creates an instance of the LogAnalyticsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (LogAnalyticsClient) ExportRequestRateByInterval ¶
func (client LogAnalyticsClient) ExportRequestRateByInterval(ctx context.Context, parameters RequestRateByIntervalInput, location string) (result LogAnalyticsExportRequestRateByIntervalFuture, err error)
ExportRequestRateByInterval export logs that show Api requests made by this subscription in the given time window to show throttling activities. Parameters: parameters - parameters supplied to the LogAnalytics getRequestRateByInterval Api. location - the location upon which virtual-machine-sizes is queried.
func (LogAnalyticsClient) ExportRequestRateByIntervalPreparer ¶
func (client LogAnalyticsClient) ExportRequestRateByIntervalPreparer(ctx context.Context, parameters RequestRateByIntervalInput, location string) (*http.Request, error)
ExportRequestRateByIntervalPreparer prepares the ExportRequestRateByInterval request.
func (LogAnalyticsClient) ExportRequestRateByIntervalResponder ¶
func (client LogAnalyticsClient) ExportRequestRateByIntervalResponder(resp *http.Response) (result LogAnalyticsOperationResult, err error)
ExportRequestRateByIntervalResponder handles the response to the ExportRequestRateByInterval request. The method always closes the http.Response Body.
func (LogAnalyticsClient) ExportRequestRateByIntervalSender ¶
func (client LogAnalyticsClient) ExportRequestRateByIntervalSender(req *http.Request) (future LogAnalyticsExportRequestRateByIntervalFuture, err error)
ExportRequestRateByIntervalSender sends the ExportRequestRateByInterval request. The method will close the http.Response Body if it receives an error.
func (LogAnalyticsClient) ExportThrottledRequests ¶
func (client LogAnalyticsClient) ExportThrottledRequests(ctx context.Context, parameters ThrottledRequestsInput, location string) (result LogAnalyticsExportThrottledRequestsFuture, err error)
ExportThrottledRequests export logs that show total throttled Api requests for this subscription in the given time window. Parameters: parameters - parameters supplied to the LogAnalytics getThrottledRequests Api. location - the location upon which virtual-machine-sizes is queried.
func (LogAnalyticsClient) ExportThrottledRequestsPreparer ¶
func (client LogAnalyticsClient) ExportThrottledRequestsPreparer(ctx context.Context, parameters ThrottledRequestsInput, location string) (*http.Request, error)
ExportThrottledRequestsPreparer prepares the ExportThrottledRequests request.
func (LogAnalyticsClient) ExportThrottledRequestsResponder ¶
func (client LogAnalyticsClient) ExportThrottledRequestsResponder(resp *http.Response) (result LogAnalyticsOperationResult, err error)
ExportThrottledRequestsResponder handles the response to the ExportThrottledRequests request. The method always closes the http.Response Body.
func (LogAnalyticsClient) ExportThrottledRequestsSender ¶
func (client LogAnalyticsClient) ExportThrottledRequestsSender(req *http.Request) (future LogAnalyticsExportThrottledRequestsFuture, err error)
ExportThrottledRequestsSender sends the ExportThrottledRequests request. The method will close the http.Response Body if it receives an error.
type LogAnalyticsExportRequestRateByIntervalFuture ¶
type LogAnalyticsExportRequestRateByIntervalFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(LogAnalyticsClient) (LogAnalyticsOperationResult, error) }
LogAnalyticsExportRequestRateByIntervalFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*LogAnalyticsExportRequestRateByIntervalFuture) UnmarshalJSON ¶
func (future *LogAnalyticsExportRequestRateByIntervalFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type LogAnalyticsExportThrottledRequestsFuture ¶
type LogAnalyticsExportThrottledRequestsFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(LogAnalyticsClient) (LogAnalyticsOperationResult, error) }
LogAnalyticsExportThrottledRequestsFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*LogAnalyticsExportThrottledRequestsFuture) UnmarshalJSON ¶
func (future *LogAnalyticsExportThrottledRequestsFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type LogAnalyticsInputBase ¶
type LogAnalyticsInputBase struct { // BlobContainerSasURI - SAS Uri of the logging blob container to which LogAnalytics Api writes output logs to. BlobContainerSasURI *string `json:"blobContainerSasUri,omitempty"` // FromTime - From time of the query FromTime *date.Time `json:"fromTime,omitempty"` // ToTime - To time of the query ToTime *date.Time `json:"toTime,omitempty"` // GroupByThrottlePolicy - Group query result by Throttle Policy applied. GroupByThrottlePolicy *bool `json:"groupByThrottlePolicy,omitempty"` // GroupByOperationName - Group query result by Operation Name. GroupByOperationName *bool `json:"groupByOperationName,omitempty"` // GroupByResourceName - Group query result by Resource Name. GroupByResourceName *bool `json:"groupByResourceName,omitempty"` // GroupByClientApplicationID - Group query result by Client Application ID. GroupByClientApplicationID *bool `json:"groupByClientApplicationId,omitempty"` // GroupByUserAgent - Group query result by User Agent. GroupByUserAgent *bool `json:"groupByUserAgent,omitempty"` }
LogAnalyticsInputBase api input base class for LogAnalytics Api.
type LogAnalyticsOperationResult ¶
type LogAnalyticsOperationResult struct { autorest.Response `json:"-"` // Properties - READ-ONLY; LogAnalyticsOutput Properties *LogAnalyticsOutput `json:"properties,omitempty"` }
LogAnalyticsOperationResult logAnalytics operation status response
type LogAnalyticsOutput ¶
type LogAnalyticsOutput struct { // Output - READ-ONLY; Output file Uri path to blob container. Output *string `json:"output,omitempty"` }
LogAnalyticsOutput logAnalytics output properties
type MaintenanceOperationResultCodeTypes ¶
type MaintenanceOperationResultCodeTypes string
MaintenanceOperationResultCodeTypes enumerates the values for maintenance operation result code types.
const ( // MaintenanceOperationResultCodeTypesMaintenanceAborted ... MaintenanceOperationResultCodeTypesMaintenanceAborted MaintenanceOperationResultCodeTypes = "MaintenanceAborted" // MaintenanceOperationResultCodeTypesMaintenanceCompleted ... MaintenanceOperationResultCodeTypesMaintenanceCompleted MaintenanceOperationResultCodeTypes = "MaintenanceCompleted" // MaintenanceOperationResultCodeTypesNone ... MaintenanceOperationResultCodeTypesNone MaintenanceOperationResultCodeTypes = "None" // MaintenanceOperationResultCodeTypesRetryLater ... MaintenanceOperationResultCodeTypesRetryLater MaintenanceOperationResultCodeTypes = "RetryLater" )
func PossibleMaintenanceOperationResultCodeTypesValues ¶
func PossibleMaintenanceOperationResultCodeTypesValues() []MaintenanceOperationResultCodeTypes
PossibleMaintenanceOperationResultCodeTypesValues returns an array of possible values for the MaintenanceOperationResultCodeTypes const type.
type MaintenanceRedeployStatus ¶
type MaintenanceRedeployStatus struct { // IsCustomerInitiatedMaintenanceAllowed - True, if customer is allowed to perform Maintenance. IsCustomerInitiatedMaintenanceAllowed *bool `json:"isCustomerInitiatedMaintenanceAllowed,omitempty"` // PreMaintenanceWindowStartTime - Start Time for the Pre Maintenance Window. PreMaintenanceWindowStartTime *date.Time `json:"preMaintenanceWindowStartTime,omitempty"` // PreMaintenanceWindowEndTime - End Time for the Pre Maintenance Window. PreMaintenanceWindowEndTime *date.Time `json:"preMaintenanceWindowEndTime,omitempty"` // MaintenanceWindowStartTime - Start Time for the Maintenance Window. MaintenanceWindowStartTime *date.Time `json:"maintenanceWindowStartTime,omitempty"` // MaintenanceWindowEndTime - End Time for the Maintenance Window. MaintenanceWindowEndTime *date.Time `json:"maintenanceWindowEndTime,omitempty"` // LastOperationResultCode - The Last Maintenance Operation Result Code. Possible values include: 'MaintenanceOperationResultCodeTypesNone', 'MaintenanceOperationResultCodeTypesRetryLater', 'MaintenanceOperationResultCodeTypesMaintenanceAborted', 'MaintenanceOperationResultCodeTypesMaintenanceCompleted' LastOperationResultCode MaintenanceOperationResultCodeTypes `json:"lastOperationResultCode,omitempty"` // LastOperationMessage - Message returned for the last Maintenance Operation. LastOperationMessage *string `json:"lastOperationMessage,omitempty"` }
MaintenanceRedeployStatus maintenance Operation Status.
type ManagedDiskParameters ¶
type ManagedDiskParameters struct { // StorageAccountType - Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk. Possible values include: 'StorageAccountTypesStandardLRS', 'StorageAccountTypesPremiumLRS', 'StorageAccountTypesStandardSSDLRS', 'StorageAccountTypesUltraSSDLRS' StorageAccountType StorageAccountTypes `json:"storageAccountType,omitempty"` // DiskEncryptionSet - Specifies the customer managed disk encryption set resource id for the managed disk. DiskEncryptionSet *DiskEncryptionSetParameters `json:"diskEncryptionSet,omitempty"` // ID - Resource Id ID *string `json:"id,omitempty"` }
ManagedDiskParameters the parameters of a managed disk.
type NetworkInterfaceReference ¶
type NetworkInterfaceReference struct { *NetworkInterfaceReferenceProperties `json:"properties,omitempty"` // ID - Resource Id ID *string `json:"id,omitempty"` }
NetworkInterfaceReference describes a network interface reference.
func (NetworkInterfaceReference) MarshalJSON ¶
func (nir NetworkInterfaceReference) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for NetworkInterfaceReference.
func (*NetworkInterfaceReference) UnmarshalJSON ¶
func (nir *NetworkInterfaceReference) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for NetworkInterfaceReference struct.
type NetworkInterfaceReferenceProperties ¶
type NetworkInterfaceReferenceProperties struct { // Primary - Specifies the primary network interface in case the virtual machine has more than 1 network interface. Primary *bool `json:"primary,omitempty"` }
NetworkInterfaceReferenceProperties describes a network interface reference properties.
type NetworkProfile ¶
type NetworkProfile struct { // NetworkInterfaces - Specifies the list of resource Ids for the network interfaces associated with the virtual machine. NetworkInterfaces *[]NetworkInterfaceReference `json:"networkInterfaces,omitempty"` }
NetworkProfile specifies the network interfaces of the virtual machine.
type OSDisk ¶
type OSDisk struct { // OsType - This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. <br><br> Possible values are: <br><br> **Windows** <br><br> **Linux**. Possible values include: 'Windows', 'Linux' OsType OperatingSystemTypes `json:"osType,omitempty"` // EncryptionSettings - Specifies the encryption settings for the OS Disk. <br><br> Minimum api-version: 2015-06-15 EncryptionSettings *DiskEncryptionSettings `json:"encryptionSettings,omitempty"` // Name - The disk name. Name *string `json:"name,omitempty"` // Vhd - The virtual hard disk. Vhd *VirtualHardDisk `json:"vhd,omitempty"` // Image - 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. Image *VirtualHardDisk `json:"image,omitempty"` // Caching - Specifies the caching requirements. <br><br> Possible values are: <br><br> **None** <br><br> **ReadOnly** <br><br> **ReadWrite** <br><br> Default: **None** for Standard storage. **ReadOnly** for Premium storage. Possible values include: 'CachingTypesNone', 'CachingTypesReadOnly', 'CachingTypesReadWrite' Caching CachingTypes `json:"caching,omitempty"` // WriteAcceleratorEnabled - Specifies whether writeAccelerator should be enabled or disabled on the disk. WriteAcceleratorEnabled *bool `json:"writeAcceleratorEnabled,omitempty"` // DiffDiskSettings - Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine. DiffDiskSettings *DiffDiskSettings `json:"diffDiskSettings,omitempty"` // CreateOption - Specifies how the virtual machine should be created.<br><br> Possible values are:<br><br> **Attach** \u2013 This value is used when you are using a specialized disk to create the virtual machine.<br><br> **FromImage** \u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described. Possible values include: 'DiskCreateOptionTypesFromImage', 'DiskCreateOptionTypesEmpty', 'DiskCreateOptionTypesAttach' CreateOption DiskCreateOptionTypes `json:"createOption,omitempty"` // DiskSizeGB - Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. <br><br> This value cannot be larger than 1023 GB DiskSizeGB *int32 `json:"diskSizeGB,omitempty"` // ManagedDisk - The managed disk parameters. ManagedDisk *ManagedDiskParameters `json:"managedDisk,omitempty"` }
OSDisk 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 - The operating system of the osDiskImage. Possible values include: 'Windows', 'Linux' OperatingSystem OperatingSystemTypes `json:"operatingSystem,omitempty"` }
OSDiskImage contains the os disk image information.
type OSProfile ¶
type OSProfile struct { // ComputerName - Specifies the host OS name of the virtual machine. <br><br> This name cannot be updated after the VM is created. <br><br> **Max-length (Windows):** 15 characters <br><br> **Max-length (Linux):** 64 characters. <br><br> For naming conventions and restrictions see [Azure infrastructure services implementation guidelines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-infrastructure-subscription-accounts-guidelines?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#1-naming-conventions). ComputerName *string `json:"computerName,omitempty"` // AdminUsername - Specifies the name of the administrator account. <br><br> This property cannot be updated after the VM is created. <br><br> **Windows-only restriction:** Cannot end in "." <br><br> **Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". <br><br> **Minimum-length (Linux):** 1 character <br><br> **Max-length (Linux):** 64 characters <br><br> **Max-length (Windows):** 20 characters <br><br><li> For root access to the Linux VM, see [Using root privileges on Linux virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)<br><li> For a list of built-in system users on Linux that should not be used in this field, see [Selecting User Names for Linux on Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json) AdminUsername *string `json:"adminUsername,omitempty"` // AdminPassword - Specifies the password of the administrator account. <br><br> **Minimum-length (Windows):** 8 characters <br><br> **Minimum-length (Linux):** 6 characters <br><br> **Max-length (Windows):** 123 characters <br><br> **Max-length (Linux):** 72 characters <br><br> **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled <br> Has lower characters <br>Has upper characters <br> Has a digit <br> Has a special character (Regex match [\W_]) <br><br> **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" <br><br> For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-reset-rdp?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json) <br><br> For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-vmaccess-extension?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#reset-root-password) AdminPassword *string `json:"adminPassword,omitempty"` // CustomData - Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes. <br><br> **Note: Do not pass any secrets or passwords in customData property** <br><br> This property cannot be updated after the VM is created. <br><br> customData is passed to the VM to be saved as a file, for more information see [Custom Data on Azure VMs](https://azure.microsoft.com/en-us/blog/custom-data-and-cloud-init-on-windows-azure/) <br><br> For using cloud-init for your Linux VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json) CustomData *string `json:"customData,omitempty"` // WindowsConfiguration - Specifies Windows operating system settings on the virtual machine. WindowsConfiguration *WindowsConfiguration `json:"windowsConfiguration,omitempty"` // LinuxConfiguration - 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). LinuxConfiguration *LinuxConfiguration `json:"linuxConfiguration,omitempty"` // Secrets - Specifies set of certificates that should be installed onto the virtual machine. Secrets *[]VaultSecretGroup `json:"secrets,omitempty"` // AllowExtensionOperations - Specifies whether extension operations should be allowed on the virtual machine. <br><br>This may only be set to False when no extensions are present on the virtual machine. AllowExtensionOperations *bool `json:"allowExtensionOperations,omitempty"` // RequireGuestProvisionSignal - Specifies whether the guest provision signal is required to infer provision success of the virtual machine. **Note: This property is for private testing only, and all customers must not set the property to false.** RequireGuestProvisionSignal *bool `json:"requireGuestProvisionSignal,omitempty"` }
OSProfile specifies the operating system settings for the virtual machine. Some of the settings cannot be changed once VM is provisioned.
type OperatingSystemStateTypes ¶
type OperatingSystemStateTypes string
OperatingSystemStateTypes enumerates the values for operating system state types.
const ( // Generalized Generalized image. Needs to be provisioned during deployment time. Generalized OperatingSystemStateTypes = "Generalized" // Specialized Specialized image. Contains already provisioned OS Disk. Specialized OperatingSystemStateTypes = "Specialized" )
func PossibleOperatingSystemStateTypesValues ¶
func PossibleOperatingSystemStateTypesValues() []OperatingSystemStateTypes
PossibleOperatingSystemStateTypesValues returns an array of possible values for the OperatingSystemStateTypes const type.
type OperatingSystemTypes ¶
type OperatingSystemTypes string
OperatingSystemTypes enumerates the values for operating system types.
const ( // Linux ... Linux OperatingSystemTypes = "Linux" // Windows ... Windows OperatingSystemTypes = "Windows" )
func PossibleOperatingSystemTypesValues ¶
func PossibleOperatingSystemTypesValues() []OperatingSystemTypes
PossibleOperatingSystemTypesValues returns an array of possible values for the OperatingSystemTypes const type.
type OperationListResult ¶
type OperationListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; The list of compute operations Value *[]OperationValue `json:"value,omitempty"` }
OperationListResult the List Compute Operation operation response.
type OperationValue ¶
type OperationValue struct { // Origin - READ-ONLY; The origin of the compute operation. Origin *string `json:"origin,omitempty"` // Name - READ-ONLY; The name of the compute operation. Name *string `json:"name,omitempty"` *OperationValueDisplay `json:"display,omitempty"` }
OperationValue describes the properties of a Compute Operation value.
func (OperationValue) MarshalJSON ¶
func (ov OperationValue) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OperationValue.
func (*OperationValue) UnmarshalJSON ¶
func (ov *OperationValue) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for OperationValue struct.
type OperationValueDisplay ¶
type OperationValueDisplay struct { // Operation - READ-ONLY; The display name of the compute operation. Operation *string `json:"operation,omitempty"` // Resource - READ-ONLY; The display name of the resource the operation applies to. Resource *string `json:"resource,omitempty"` // Description - READ-ONLY; The description of the operation. Description *string `json:"description,omitempty"` // Provider - READ-ONLY; The resource provider for the operation. Provider *string `json:"provider,omitempty"` }
OperationValueDisplay describes the properties of a Compute Operation Value Display.
type OperationsClient ¶
type OperationsClient struct {
BaseClient
}
OperationsClient is the compute Client
func NewOperationsClient ¶
func NewOperationsClient(subscriptionID string) OperationsClient
NewOperationsClient creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI ¶
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient
NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (OperationsClient) List ¶
func (client OperationsClient) List(ctx context.Context) (result OperationListResult, err error)
List gets a list of compute operations.
func (OperationsClient) ListPreparer ¶
ListPreparer prepares the List request.
func (OperationsClient) ListResponder ¶
func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (OperationsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type OrchestrationServiceNames ¶
type OrchestrationServiceNames string
OrchestrationServiceNames enumerates the values for orchestration service names.
const ( // AutomaticRepairs ... AutomaticRepairs OrchestrationServiceNames = "AutomaticRepairs" )
func PossibleOrchestrationServiceNamesValues ¶
func PossibleOrchestrationServiceNamesValues() []OrchestrationServiceNames
PossibleOrchestrationServiceNamesValues returns an array of possible values for the OrchestrationServiceNames const type.
type OrchestrationServiceState ¶
type OrchestrationServiceState string
OrchestrationServiceState enumerates the values for orchestration service state.
const ( // NotRunning ... NotRunning OrchestrationServiceState = "NotRunning" // Running ... Running OrchestrationServiceState = "Running" // Suspended ... Suspended OrchestrationServiceState = "Suspended" )
func PossibleOrchestrationServiceStateValues ¶
func PossibleOrchestrationServiceStateValues() []OrchestrationServiceState
PossibleOrchestrationServiceStateValues returns an array of possible values for the OrchestrationServiceState const type.
type OrchestrationServiceStateAction ¶
type OrchestrationServiceStateAction string
OrchestrationServiceStateAction enumerates the values for orchestration service state action.
const ( // Resume ... Resume OrchestrationServiceStateAction = "Resume" // Suspend ... Suspend OrchestrationServiceStateAction = "Suspend" )
func PossibleOrchestrationServiceStateActionValues ¶
func PossibleOrchestrationServiceStateActionValues() []OrchestrationServiceStateAction
PossibleOrchestrationServiceStateActionValues returns an array of possible values for the OrchestrationServiceStateAction const type.
type OrchestrationServiceStateInput ¶
type OrchestrationServiceStateInput struct { // ServiceName - The name of the service. Possible values include: 'AutomaticRepairs' ServiceName OrchestrationServiceNames `json:"serviceName,omitempty"` // Action - The action to be performed. Possible values include: 'Resume', 'Suspend' Action OrchestrationServiceStateAction `json:"action,omitempty"` }
OrchestrationServiceStateInput the input for OrchestrationServiceState
type OrchestrationServiceSummary ¶
type OrchestrationServiceSummary struct { // ServiceName - READ-ONLY; The name of the service. Possible values include: 'AutomaticRepairs', 'DummyOrchestrationServiceName' ServiceName OrchestrationServiceNames `json:"serviceName,omitempty"` // ServiceState - READ-ONLY; The current state of the service. Possible values include: 'NotRunning', 'Running', 'Suspended' ServiceState OrchestrationServiceState `json:"serviceState,omitempty"` }
OrchestrationServiceSummary summary for an orchestration service of a virtual machine scale set.
type PassNames ¶
type PassNames string
PassNames enumerates the values for pass names.
const ( // OobeSystem ... OobeSystem PassNames = "OobeSystem" )
func PossiblePassNamesValues ¶
func PossiblePassNamesValues() []PassNames
PossiblePassNamesValues returns an array of possible values for the PassNames const type.
type PatchAssessmentState ¶
type PatchAssessmentState string
PatchAssessmentState enumerates the values for patch assessment state.
const ( // Available ... Available PatchAssessmentState = "Available" // Excluded ... Excluded PatchAssessmentState = "Excluded" // Failed ... Failed PatchAssessmentState = "Failed" // Installed ... Installed PatchAssessmentState = "Installed" // NotSelected ... NotSelected PatchAssessmentState = "NotSelected" // Pending ... Pending PatchAssessmentState = "Pending" )
func PossiblePatchAssessmentStateValues ¶
func PossiblePatchAssessmentStateValues() []PatchAssessmentState
PossiblePatchAssessmentStateValues returns an array of possible values for the PatchAssessmentState const type.
type PatchOperationStatus ¶
type PatchOperationStatus string
PatchOperationStatus enumerates the values for patch operation status.
const ( // PatchOperationStatusCompletedWithWarnings ... PatchOperationStatusCompletedWithWarnings PatchOperationStatus = "CompletedWithWarnings" // PatchOperationStatusFailed ... PatchOperationStatusFailed PatchOperationStatus = "Failed" // PatchOperationStatusInProgress ... PatchOperationStatusInProgress PatchOperationStatus = "InProgress" // PatchOperationStatusSucceeded ... PatchOperationStatusSucceeded PatchOperationStatus = "Succeeded" )
func PossiblePatchOperationStatusValues ¶
func PossiblePatchOperationStatusValues() []PatchOperationStatus
PossiblePatchOperationStatusValues returns an array of possible values for the PatchOperationStatus const type.
type PatchSettings ¶
type PatchSettings struct { // PatchMode - Specifies the mode of in-guest patching to IaaS virtual machine.<br /><br /> Possible values are:<br /><br /> **Manual** - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false<br /><br /> **AutomaticByOS** - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true. <br /><br /> **AutomaticByPlatform** - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true. Possible values include: 'Manual', 'AutomaticByOS', 'AutomaticByPlatform' PatchMode InGuestPatchMode `json:"patchMode,omitempty"` }
PatchSettings ...
type Plan ¶
type Plan struct { // Name - The plan ID. Name *string `json:"name,omitempty"` // Publisher - The publisher ID. Publisher *string `json:"publisher,omitempty"` // Product - Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element. Product *string `json:"product,omitempty"` // PromotionCode - The promotion code. PromotionCode *string `json:"promotionCode,omitempty"` }
Plan 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 ... HTTP ProtocolTypes = "Http" // HTTPS ... HTTPS ProtocolTypes = "Https" )
func PossibleProtocolTypesValues ¶
func PossibleProtocolTypesValues() []ProtocolTypes
PossibleProtocolTypesValues returns an array of possible values for the ProtocolTypes const type.
type ProximityPlacementGroup ¶
type ProximityPlacementGroup struct { autorest.Response `json:"-"` // ProximityPlacementGroupProperties - Describes the properties of a Proximity Placement Group. *ProximityPlacementGroupProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type Type *string `json:"type,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
ProximityPlacementGroup specifies information about the proximity placement group.
func (ProximityPlacementGroup) MarshalJSON ¶
func (ppg ProximityPlacementGroup) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ProximityPlacementGroup.
func (*ProximityPlacementGroup) UnmarshalJSON ¶
func (ppg *ProximityPlacementGroup) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ProximityPlacementGroup struct.
type ProximityPlacementGroupListResult ¶
type ProximityPlacementGroupListResult struct { autorest.Response `json:"-"` // Value - The list of proximity placement groups Value *[]ProximityPlacementGroup `json:"value,omitempty"` // NextLink - The URI to fetch the next page of proximity placement groups. NextLink *string `json:"nextLink,omitempty"` }
ProximityPlacementGroupListResult the List Proximity Placement Group operation response.
func (ProximityPlacementGroupListResult) IsEmpty ¶
func (ppglr ProximityPlacementGroupListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ProximityPlacementGroupListResultIterator ¶
type ProximityPlacementGroupListResultIterator struct {
// contains filtered or unexported fields
}
ProximityPlacementGroupListResultIterator provides access to a complete listing of ProximityPlacementGroup values.
func NewProximityPlacementGroupListResultIterator ¶
func NewProximityPlacementGroupListResultIterator(page ProximityPlacementGroupListResultPage) ProximityPlacementGroupListResultIterator
Creates a new instance of the ProximityPlacementGroupListResultIterator type.
func (*ProximityPlacementGroupListResultIterator) Next ¶
func (iter *ProximityPlacementGroupListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ProximityPlacementGroupListResultIterator) NextWithContext ¶
func (iter *ProximityPlacementGroupListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ProximityPlacementGroupListResultIterator) NotDone ¶
func (iter ProximityPlacementGroupListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ProximityPlacementGroupListResultIterator) Response ¶
func (iter ProximityPlacementGroupListResultIterator) Response() ProximityPlacementGroupListResult
Response returns the raw server response from the last page request.
func (ProximityPlacementGroupListResultIterator) Value ¶
func (iter ProximityPlacementGroupListResultIterator) Value() ProximityPlacementGroup
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ProximityPlacementGroupListResultPage ¶
type ProximityPlacementGroupListResultPage struct {
// contains filtered or unexported fields
}
ProximityPlacementGroupListResultPage contains a page of ProximityPlacementGroup values.
func NewProximityPlacementGroupListResultPage ¶
func NewProximityPlacementGroupListResultPage(cur ProximityPlacementGroupListResult, getNextPage func(context.Context, ProximityPlacementGroupListResult) (ProximityPlacementGroupListResult, error)) ProximityPlacementGroupListResultPage
Creates a new instance of the ProximityPlacementGroupListResultPage type.
func (*ProximityPlacementGroupListResultPage) Next ¶
func (page *ProximityPlacementGroupListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ProximityPlacementGroupListResultPage) NextWithContext ¶
func (page *ProximityPlacementGroupListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ProximityPlacementGroupListResultPage) NotDone ¶
func (page ProximityPlacementGroupListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ProximityPlacementGroupListResultPage) Response ¶
func (page ProximityPlacementGroupListResultPage) Response() ProximityPlacementGroupListResult
Response returns the raw server response from the last page request.
func (ProximityPlacementGroupListResultPage) Values ¶
func (page ProximityPlacementGroupListResultPage) Values() []ProximityPlacementGroup
Values returns the slice of values for the current page or nil if there are no values.
type ProximityPlacementGroupProperties ¶
type ProximityPlacementGroupProperties struct { // ProximityPlacementGroupType - Specifies the type of the proximity placement group. <br><br> Possible values are: <br><br> **Standard** : Co-locate resources within an Azure region or Availability Zone. <br><br> **Ultra** : For future use. Possible values include: 'Standard', 'Ultra' ProximityPlacementGroupType ProximityPlacementGroupType `json:"proximityPlacementGroupType,omitempty"` // VirtualMachines - READ-ONLY; A list of references to all virtual machines in the proximity placement group. VirtualMachines *[]SubResourceWithColocationStatus `json:"virtualMachines,omitempty"` // VirtualMachineScaleSets - READ-ONLY; A list of references to all virtual machine scale sets in the proximity placement group. VirtualMachineScaleSets *[]SubResourceWithColocationStatus `json:"virtualMachineScaleSets,omitempty"` // AvailabilitySets - READ-ONLY; A list of references to all availability sets in the proximity placement group. AvailabilitySets *[]SubResourceWithColocationStatus `json:"availabilitySets,omitempty"` // ColocationStatus - Describes colocation status of the Proximity Placement Group. ColocationStatus *InstanceViewStatus `json:"colocationStatus,omitempty"` }
ProximityPlacementGroupProperties describes the properties of a Proximity Placement Group.
func (ProximityPlacementGroupProperties) MarshalJSON ¶
func (ppgp ProximityPlacementGroupProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ProximityPlacementGroupProperties.
type ProximityPlacementGroupType ¶
type ProximityPlacementGroupType string
ProximityPlacementGroupType enumerates the values for proximity placement group type.
const ( // Standard ... Standard ProximityPlacementGroupType = "Standard" // Ultra ... Ultra ProximityPlacementGroupType = "Ultra" )
func PossibleProximityPlacementGroupTypeValues ¶
func PossibleProximityPlacementGroupTypeValues() []ProximityPlacementGroupType
PossibleProximityPlacementGroupTypeValues returns an array of possible values for the ProximityPlacementGroupType const type.
type ProximityPlacementGroupUpdate ¶
type ProximityPlacementGroupUpdate struct { // Tags - Resource tags Tags map[string]*string `json:"tags"` }
ProximityPlacementGroupUpdate specifies information about the proximity placement group.
func (ProximityPlacementGroupUpdate) MarshalJSON ¶
func (ppgu ProximityPlacementGroupUpdate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ProximityPlacementGroupUpdate.
type ProximityPlacementGroupsClient ¶
type ProximityPlacementGroupsClient struct {
BaseClient
}
ProximityPlacementGroupsClient is the compute Client
func NewProximityPlacementGroupsClient ¶
func NewProximityPlacementGroupsClient(subscriptionID string) ProximityPlacementGroupsClient
NewProximityPlacementGroupsClient creates an instance of the ProximityPlacementGroupsClient client.
func NewProximityPlacementGroupsClientWithBaseURI ¶
func NewProximityPlacementGroupsClientWithBaseURI(baseURI string, subscriptionID string) ProximityPlacementGroupsClient
NewProximityPlacementGroupsClientWithBaseURI creates an instance of the ProximityPlacementGroupsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (ProximityPlacementGroupsClient) CreateOrUpdate ¶
func (client ProximityPlacementGroupsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, proximityPlacementGroupName string, parameters ProximityPlacementGroup) (result ProximityPlacementGroup, err error)
CreateOrUpdate create or update a proximity placement group. Parameters: resourceGroupName - the name of the resource group. proximityPlacementGroupName - the name of the proximity placement group. parameters - parameters supplied to the Create Proximity Placement Group operation.
func (ProximityPlacementGroupsClient) CreateOrUpdatePreparer ¶
func (client ProximityPlacementGroupsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, proximityPlacementGroupName string, parameters ProximityPlacementGroup) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ProximityPlacementGroupsClient) CreateOrUpdateResponder ¶
func (client ProximityPlacementGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result ProximityPlacementGroup, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ProximityPlacementGroupsClient) CreateOrUpdateSender ¶
func (client ProximityPlacementGroupsClient) 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 (ProximityPlacementGroupsClient) Delete ¶
func (client ProximityPlacementGroupsClient) Delete(ctx context.Context, resourceGroupName string, proximityPlacementGroupName string) (result autorest.Response, err error)
Delete delete a proximity placement group. Parameters: resourceGroupName - the name of the resource group. proximityPlacementGroupName - the name of the proximity placement group.
func (ProximityPlacementGroupsClient) DeletePreparer ¶
func (client ProximityPlacementGroupsClient) DeletePreparer(ctx context.Context, resourceGroupName string, proximityPlacementGroupName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ProximityPlacementGroupsClient) DeleteResponder ¶
func (client ProximityPlacementGroupsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (ProximityPlacementGroupsClient) DeleteSender ¶
func (client ProximityPlacementGroupsClient) 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 (ProximityPlacementGroupsClient) Get ¶
func (client ProximityPlacementGroupsClient) Get(ctx context.Context, resourceGroupName string, proximityPlacementGroupName string, includeColocationStatus string) (result ProximityPlacementGroup, err error)
Get retrieves information about a proximity placement group . Parameters: resourceGroupName - the name of the resource group. proximityPlacementGroupName - the name of the proximity placement group. includeColocationStatus - includeColocationStatus=true enables fetching the colocation status of all the resources in the proximity placement group.
func (ProximityPlacementGroupsClient) GetPreparer ¶
func (client ProximityPlacementGroupsClient) GetPreparer(ctx context.Context, resourceGroupName string, proximityPlacementGroupName string, includeColocationStatus string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ProximityPlacementGroupsClient) GetResponder ¶
func (client ProximityPlacementGroupsClient) GetResponder(resp *http.Response) (result ProximityPlacementGroup, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ProximityPlacementGroupsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ProximityPlacementGroupsClient) ListByResourceGroup ¶
func (client ProximityPlacementGroupsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ProximityPlacementGroupListResultPage, err error)
ListByResourceGroup lists all proximity placement groups in a resource group. Parameters: resourceGroupName - the name of the resource group.
func (ProximityPlacementGroupsClient) ListByResourceGroupComplete ¶
func (client ProximityPlacementGroupsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ProximityPlacementGroupListResultIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (ProximityPlacementGroupsClient) ListByResourceGroupPreparer ¶
func (client ProximityPlacementGroupsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (ProximityPlacementGroupsClient) ListByResourceGroupResponder ¶
func (client ProximityPlacementGroupsClient) ListByResourceGroupResponder(resp *http.Response) (result ProximityPlacementGroupListResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (ProximityPlacementGroupsClient) ListByResourceGroupSender ¶
func (client ProximityPlacementGroupsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (ProximityPlacementGroupsClient) ListBySubscription ¶
func (client ProximityPlacementGroupsClient) ListBySubscription(ctx context.Context) (result ProximityPlacementGroupListResultPage, err error)
ListBySubscription lists all proximity placement groups in a subscription.
func (ProximityPlacementGroupsClient) ListBySubscriptionComplete ¶
func (client ProximityPlacementGroupsClient) ListBySubscriptionComplete(ctx context.Context) (result ProximityPlacementGroupListResultIterator, err error)
ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.
func (ProximityPlacementGroupsClient) ListBySubscriptionPreparer ¶
func (client ProximityPlacementGroupsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
ListBySubscriptionPreparer prepares the ListBySubscription request.
func (ProximityPlacementGroupsClient) ListBySubscriptionResponder ¶
func (client ProximityPlacementGroupsClient) ListBySubscriptionResponder(resp *http.Response) (result ProximityPlacementGroupListResult, err error)
ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.
func (ProximityPlacementGroupsClient) ListBySubscriptionSender ¶
func (client ProximityPlacementGroupsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.
func (ProximityPlacementGroupsClient) Update ¶
func (client ProximityPlacementGroupsClient) Update(ctx context.Context, resourceGroupName string, proximityPlacementGroupName string, parameters ProximityPlacementGroupUpdate) (result ProximityPlacementGroup, err error)
Update update a proximity placement group. Parameters: resourceGroupName - the name of the resource group. proximityPlacementGroupName - the name of the proximity placement group. parameters - parameters supplied to the Update Proximity Placement Group operation.
func (ProximityPlacementGroupsClient) UpdatePreparer ¶
func (client ProximityPlacementGroupsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, proximityPlacementGroupName string, parameters ProximityPlacementGroupUpdate) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (ProximityPlacementGroupsClient) UpdateResponder ¶
func (client ProximityPlacementGroupsClient) UpdateResponder(resp *http.Response) (result ProximityPlacementGroup, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (ProximityPlacementGroupsClient) UpdateSender ¶
func (client ProximityPlacementGroupsClient) UpdateSender(req *http.Request) (*http.Response, error)
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type PurchasePlan ¶
type PurchasePlan struct { // Publisher - The publisher ID. Publisher *string `json:"publisher,omitempty"` // Name - The plan ID. Name *string `json:"name,omitempty"` // Product - Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element. Product *string `json:"product,omitempty"` }
PurchasePlan used for establishing the purchase context of any 3rd Party artifact through MarketPlace.
type RebootStatus ¶
type RebootStatus string
RebootStatus enumerates the values for reboot status.
const ( // RebootStatusCompleted ... RebootStatusCompleted RebootStatus = "Completed" // RebootStatusFailed ... RebootStatusFailed RebootStatus = "Failed" // RebootStatusNotNeeded ... RebootStatusNotNeeded RebootStatus = "NotNeeded" // RebootStatusRequired ... RebootStatusRequired RebootStatus = "Required" // RebootStatusStarted ... RebootStatusStarted RebootStatus = "Started" )
func PossibleRebootStatusValues ¶
func PossibleRebootStatusValues() []RebootStatus
PossibleRebootStatusValues returns an array of possible values for the RebootStatus const type.
type RecoveryWalkResponse ¶
type RecoveryWalkResponse struct { autorest.Response `json:"-"` // WalkPerformed - READ-ONLY; Whether the recovery walk was performed WalkPerformed *bool `json:"walkPerformed,omitempty"` // NextPlatformUpdateDomain - READ-ONLY; The next update domain that needs to be walked. Null means walk spanning all update domains has been completed NextPlatformUpdateDomain *int32 `json:"nextPlatformUpdateDomain,omitempty"` }
RecoveryWalkResponse response after calling a manual recovery walk
type RequestRateByIntervalInput ¶
type RequestRateByIntervalInput struct { // IntervalLength - Interval value in minutes used to create LogAnalytics call rate logs. Possible values include: 'ThreeMins', 'FiveMins', 'ThirtyMins', 'SixtyMins' IntervalLength IntervalInMins `json:"intervalLength,omitempty"` // BlobContainerSasURI - SAS Uri of the logging blob container to which LogAnalytics Api writes output logs to. BlobContainerSasURI *string `json:"blobContainerSasUri,omitempty"` // FromTime - From time of the query FromTime *date.Time `json:"fromTime,omitempty"` // ToTime - To time of the query ToTime *date.Time `json:"toTime,omitempty"` // GroupByThrottlePolicy - Group query result by Throttle Policy applied. GroupByThrottlePolicy *bool `json:"groupByThrottlePolicy,omitempty"` // GroupByOperationName - Group query result by Operation Name. GroupByOperationName *bool `json:"groupByOperationName,omitempty"` // GroupByResourceName - Group query result by Resource Name. GroupByResourceName *bool `json:"groupByResourceName,omitempty"` // GroupByClientApplicationID - Group query result by Client Application ID. GroupByClientApplicationID *bool `json:"groupByClientApplicationId,omitempty"` // GroupByUserAgent - Group query result by User Agent. GroupByUserAgent *bool `json:"groupByUserAgent,omitempty"` }
RequestRateByIntervalInput api request input for LogAnalytics getRequestRateByInterval Api.
type Resource ¶
type Resource struct { // ID - READ-ONLY; Resource Id ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type Type *string `json:"type,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
Resource the Resource model definition.
func (Resource) MarshalJSON ¶
MarshalJSON is the custom marshaler for Resource.
type ResourceIdentityType ¶
type ResourceIdentityType string
ResourceIdentityType enumerates the values for resource identity type.
const ( // ResourceIdentityTypeNone ... ResourceIdentityTypeNone ResourceIdentityType = "None" // ResourceIdentityTypeSystemAssigned ... ResourceIdentityTypeSystemAssigned ResourceIdentityType = "SystemAssigned" // ResourceIdentityTypeSystemAssignedUserAssigned ... ResourceIdentityTypeSystemAssignedUserAssigned ResourceIdentityType = "SystemAssigned, UserAssigned" // ResourceIdentityTypeUserAssigned ... ResourceIdentityTypeUserAssigned ResourceIdentityType = "UserAssigned" )
func PossibleResourceIdentityTypeValues ¶
func PossibleResourceIdentityTypeValues() []ResourceIdentityType
PossibleResourceIdentityTypeValues returns an array of possible values for the ResourceIdentityType const type.
type RetrieveBootDiagnosticsDataResult ¶
type RetrieveBootDiagnosticsDataResult struct { autorest.Response `json:"-"` // ConsoleScreenshotBlobURI - READ-ONLY; The console screenshot blob URI ConsoleScreenshotBlobURI *string `json:"consoleScreenshotBlobUri,omitempty"` // SerialConsoleLogBlobURI - READ-ONLY; The serial console log blob URI. SerialConsoleLogBlobURI *string `json:"serialConsoleLogBlobUri,omitempty"` }
RetrieveBootDiagnosticsDataResult the SAS URIs of the console screenshot and serial log blobs.
type RollbackStatusInfo ¶
type RollbackStatusInfo struct { // SuccessfullyRolledbackInstanceCount - READ-ONLY; The number of instances which have been successfully rolled back. SuccessfullyRolledbackInstanceCount *int32 `json:"successfullyRolledbackInstanceCount,omitempty"` // FailedRolledbackInstanceCount - READ-ONLY; The number of instances which failed to rollback. FailedRolledbackInstanceCount *int32 `json:"failedRolledbackInstanceCount,omitempty"` // RollbackError - READ-ONLY; Error details if OS rollback failed. RollbackError *APIError `json:"rollbackError,omitempty"` }
RollbackStatusInfo information about rollback on failed VM instances after a OS Upgrade operation.
type RollingUpgradeActionType ¶
type RollingUpgradeActionType string
RollingUpgradeActionType enumerates the values for rolling upgrade action type.
const ( // Cancel ... Cancel RollingUpgradeActionType = "Cancel" // Start ... Start RollingUpgradeActionType = "Start" )
func PossibleRollingUpgradeActionTypeValues ¶
func PossibleRollingUpgradeActionTypeValues() []RollingUpgradeActionType
PossibleRollingUpgradeActionTypeValues returns an array of possible values for the RollingUpgradeActionType const type.
type RollingUpgradePolicy ¶
type RollingUpgradePolicy struct { // MaxBatchInstancePercent - The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The default value for this parameter is 20%. MaxBatchInstancePercent *int32 `json:"maxBatchInstancePercent,omitempty"` // MaxUnhealthyInstancePercent - The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The default value for this parameter is 20%. MaxUnhealthyInstancePercent *int32 `json:"maxUnhealthyInstancePercent,omitempty"` // MaxUnhealthyUpgradedInstancePercent - The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The default value for this parameter is 20%. MaxUnhealthyUpgradedInstancePercent *int32 `json:"maxUnhealthyUpgradedInstancePercent,omitempty"` // PauseTimeBetweenBatches - The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format. The default value is 0 seconds (PT0S). PauseTimeBetweenBatches *string `json:"pauseTimeBetweenBatches,omitempty"` }
RollingUpgradePolicy the configuration parameters used while performing a rolling upgrade.
type RollingUpgradeProgressInfo ¶
type RollingUpgradeProgressInfo struct { // SuccessfulInstanceCount - READ-ONLY; The number of instances that have been successfully upgraded. SuccessfulInstanceCount *int32 `json:"successfulInstanceCount,omitempty"` // FailedInstanceCount - READ-ONLY; The number of instances that have failed to be upgraded successfully. FailedInstanceCount *int32 `json:"failedInstanceCount,omitempty"` // InProgressInstanceCount - READ-ONLY; The number of instances that are currently being upgraded. InProgressInstanceCount *int32 `json:"inProgressInstanceCount,omitempty"` // PendingInstanceCount - READ-ONLY; The number of instances that have not yet begun to be upgraded. PendingInstanceCount *int32 `json:"pendingInstanceCount,omitempty"` }
RollingUpgradeProgressInfo information about the number of virtual machine instances in each upgrade state.
type RollingUpgradeRunningStatus ¶
type RollingUpgradeRunningStatus struct { // Code - READ-ONLY; Code indicating the current status of the upgrade. Possible values include: 'RollingForward', 'Cancelled', 'Completed', 'Faulted' Code RollingUpgradeStatusCode `json:"code,omitempty"` // StartTime - READ-ONLY; Start time of the upgrade. StartTime *date.Time `json:"startTime,omitempty"` // LastAction - READ-ONLY; The last action performed on the rolling upgrade. Possible values include: 'Start', 'Cancel' LastAction RollingUpgradeActionType `json:"lastAction,omitempty"` // LastActionTime - READ-ONLY; Last action time of the upgrade. LastActionTime *date.Time `json:"lastActionTime,omitempty"` }
RollingUpgradeRunningStatus 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 ... Cancelled RollingUpgradeStatusCode = "Cancelled" // Completed ... Completed RollingUpgradeStatusCode = "Completed" // Faulted ... Faulted RollingUpgradeStatusCode = "Faulted" // RollingForward ... RollingForward RollingUpgradeStatusCode = "RollingForward" )
func PossibleRollingUpgradeStatusCodeValues ¶
func PossibleRollingUpgradeStatusCodeValues() []RollingUpgradeStatusCode
PossibleRollingUpgradeStatusCodeValues returns an array of possible values for the RollingUpgradeStatusCode const type.
type RollingUpgradeStatusInfo ¶
type RollingUpgradeStatusInfo struct { autorest.Response `json:"-"` *RollingUpgradeStatusInfoProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type Type *string `json:"type,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
RollingUpgradeStatusInfo the status of the latest virtual machine scale set rolling upgrade.
func (RollingUpgradeStatusInfo) MarshalJSON ¶
func (rusi RollingUpgradeStatusInfo) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RollingUpgradeStatusInfo.
func (*RollingUpgradeStatusInfo) UnmarshalJSON ¶
func (rusi *RollingUpgradeStatusInfo) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for RollingUpgradeStatusInfo struct.
type RollingUpgradeStatusInfoProperties ¶
type RollingUpgradeStatusInfoProperties struct { // Policy - READ-ONLY; The rolling upgrade policies applied for this upgrade. Policy *RollingUpgradePolicy `json:"policy,omitempty"` // RunningStatus - READ-ONLY; Information about the current running state of the overall upgrade. RunningStatus *RollingUpgradeRunningStatus `json:"runningStatus,omitempty"` // Progress - READ-ONLY; Information about the number of virtual machine instances in each upgrade state. Progress *RollingUpgradeProgressInfo `json:"progress,omitempty"` // Error - READ-ONLY; Error details for this upgrade, if there are any. Error *APIError `json:"error,omitempty"` }
RollingUpgradeStatusInfoProperties the status of the latest virtual machine scale set rolling upgrade.
type SSHConfiguration ¶
type SSHConfiguration struct { // PublicKeys - The list of SSH public keys used to authenticate with linux based VMs. PublicKeys *[]SSHPublicKey `json:"publicKeys,omitempty"` }
SSHConfiguration SSH configuration for Linux based VMs running on Azure
type SSHPublicKey ¶
type SSHPublicKey struct { // Path - Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys Path *string `json:"path,omitempty"` // KeyData - SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. <br><br> For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure](https://docs.microsoft.com/en-us/azure/virtual-machines/linux/mac-create-ssh-keys?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json). KeyData *string `json:"keyData,omitempty"` }
SSHPublicKey contains information about SSH certificate public key and the path on the Linux VM where the public key is placed.
type SSHPublicKeyGenerateKeyPairResult ¶
type SSHPublicKeyGenerateKeyPairResult struct { autorest.Response `json:"-"` // PrivateKey - Private key portion of the key pair used to authenticate to a virtual machine through ssh. The private key is returned in RFC3447 format and should be treated as a secret. PrivateKey *string `json:"privateKey,omitempty"` // PublicKey - Public key portion of the key pair used to authenticate to a virtual machine through ssh. The public key is in ssh-rsa format. PublicKey *string `json:"publicKey,omitempty"` // ID - The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{SshPublicKeyName} ID *string `json:"id,omitempty"` }
SSHPublicKeyGenerateKeyPairResult response from generation of an SSH key pair.
type SSHPublicKeyResource ¶
type SSHPublicKeyResource struct { autorest.Response `json:"-"` // SSHPublicKeyResourceProperties - Properties of the SSH public key. *SSHPublicKeyResourceProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type Type *string `json:"type,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
SSHPublicKeyResource specifies information about the SSH public key.
func (SSHPublicKeyResource) MarshalJSON ¶
func (spkr SSHPublicKeyResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SSHPublicKeyResource.
func (*SSHPublicKeyResource) UnmarshalJSON ¶
func (spkr *SSHPublicKeyResource) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for SSHPublicKeyResource struct.
type SSHPublicKeyResourceProperties ¶
type SSHPublicKeyResourceProperties struct { // PublicKey - SSH public key used to authenticate to a virtual machine through ssh. If this property is not initially provided when the resource is created, the publicKey property will be populated when generateKeyPair is called. If the public key is provided upon resource creation, the provided public key needs to be at least 2048-bit and in ssh-rsa format. PublicKey *string `json:"publicKey,omitempty"` }
SSHPublicKeyResourceProperties properties of the SSH public key.
type SSHPublicKeyUpdateResource ¶
type SSHPublicKeyUpdateResource struct { // SSHPublicKeyResourceProperties - Properties of the SSH public key. *SSHPublicKeyResourceProperties `json:"properties,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
SSHPublicKeyUpdateResource specifies information about the SSH public key.
func (SSHPublicKeyUpdateResource) MarshalJSON ¶
func (spkur SSHPublicKeyUpdateResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SSHPublicKeyUpdateResource.
func (*SSHPublicKeyUpdateResource) UnmarshalJSON ¶
func (spkur *SSHPublicKeyUpdateResource) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for SSHPublicKeyUpdateResource struct.
type SSHPublicKeysClient ¶
type SSHPublicKeysClient struct {
BaseClient
}
SSHPublicKeysClient is the compute Client
func NewSSHPublicKeysClient ¶
func NewSSHPublicKeysClient(subscriptionID string) SSHPublicKeysClient
NewSSHPublicKeysClient creates an instance of the SSHPublicKeysClient client.
func NewSSHPublicKeysClientWithBaseURI ¶
func NewSSHPublicKeysClientWithBaseURI(baseURI string, subscriptionID string) SSHPublicKeysClient
NewSSHPublicKeysClientWithBaseURI creates an instance of the SSHPublicKeysClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (SSHPublicKeysClient) Create ¶
func (client SSHPublicKeysClient) Create(ctx context.Context, resourceGroupName string, SSHPublicKeyName string, parameters SSHPublicKeyResource) (result SSHPublicKeyResource, err error)
Create creates a new SSH public key resource. Parameters: resourceGroupName - the name of the resource group. SSHPublicKeyName - the name of the SSH public key. parameters - parameters supplied to create the SSH public key.
func (SSHPublicKeysClient) CreatePreparer ¶
func (client SSHPublicKeysClient) CreatePreparer(ctx context.Context, resourceGroupName string, SSHPublicKeyName string, parameters SSHPublicKeyResource) (*http.Request, error)
CreatePreparer prepares the Create request.
func (SSHPublicKeysClient) CreateResponder ¶
func (client SSHPublicKeysClient) CreateResponder(resp *http.Response) (result SSHPublicKeyResource, err error)
CreateResponder handles the response to the Create request. The method always closes the http.Response Body.
func (SSHPublicKeysClient) CreateSender ¶
CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.
func (SSHPublicKeysClient) Delete ¶
func (client SSHPublicKeysClient) Delete(ctx context.Context, resourceGroupName string, SSHPublicKeyName string) (result autorest.Response, err error)
Delete delete an SSH public key. Parameters: resourceGroupName - the name of the resource group. SSHPublicKeyName - the name of the SSH public key.
func (SSHPublicKeysClient) DeletePreparer ¶
func (client SSHPublicKeysClient) DeletePreparer(ctx context.Context, resourceGroupName string, SSHPublicKeyName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (SSHPublicKeysClient) DeleteResponder ¶
func (client SSHPublicKeysClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (SSHPublicKeysClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (SSHPublicKeysClient) GenerateKeyPair ¶
func (client SSHPublicKeysClient) GenerateKeyPair(ctx context.Context, resourceGroupName string, SSHPublicKeyName string) (result SSHPublicKeyGenerateKeyPairResult, err error)
GenerateKeyPair generates and returns a public/private key pair and populates the SSH public key resource with the public key. The length of the key will be 3072 bits. This operation can only be performed once per SSH public key resource. Parameters: resourceGroupName - the name of the resource group. SSHPublicKeyName - the name of the SSH public key.
func (SSHPublicKeysClient) GenerateKeyPairPreparer ¶
func (client SSHPublicKeysClient) GenerateKeyPairPreparer(ctx context.Context, resourceGroupName string, SSHPublicKeyName string) (*http.Request, error)
GenerateKeyPairPreparer prepares the GenerateKeyPair request.
func (SSHPublicKeysClient) GenerateKeyPairResponder ¶
func (client SSHPublicKeysClient) GenerateKeyPairResponder(resp *http.Response) (result SSHPublicKeyGenerateKeyPairResult, err error)
GenerateKeyPairResponder handles the response to the GenerateKeyPair request. The method always closes the http.Response Body.
func (SSHPublicKeysClient) GenerateKeyPairSender ¶
GenerateKeyPairSender sends the GenerateKeyPair request. The method will close the http.Response Body if it receives an error.
func (SSHPublicKeysClient) Get ¶
func (client SSHPublicKeysClient) Get(ctx context.Context, resourceGroupName string, SSHPublicKeyName string) (result SSHPublicKeyResource, err error)
Get retrieves information about an SSH public key. Parameters: resourceGroupName - the name of the resource group. SSHPublicKeyName - the name of the SSH public key.
func (SSHPublicKeysClient) GetPreparer ¶
func (client SSHPublicKeysClient) GetPreparer(ctx context.Context, resourceGroupName string, SSHPublicKeyName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (SSHPublicKeysClient) GetResponder ¶
func (client SSHPublicKeysClient) GetResponder(resp *http.Response) (result SSHPublicKeyResource, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (SSHPublicKeysClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (SSHPublicKeysClient) ListByResourceGroup ¶
func (client SSHPublicKeysClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result SSHPublicKeysGroupListResultPage, err error)
ListByResourceGroup lists all of the SSH public keys in the specified resource group. Use the nextLink property in the response to get the next page of SSH public keys. Parameters: resourceGroupName - the name of the resource group.
func (SSHPublicKeysClient) ListByResourceGroupComplete ¶
func (client SSHPublicKeysClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result SSHPublicKeysGroupListResultIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (SSHPublicKeysClient) ListByResourceGroupPreparer ¶
func (client SSHPublicKeysClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (SSHPublicKeysClient) ListByResourceGroupResponder ¶
func (client SSHPublicKeysClient) ListByResourceGroupResponder(resp *http.Response) (result SSHPublicKeysGroupListResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (SSHPublicKeysClient) ListByResourceGroupSender ¶
func (client SSHPublicKeysClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (SSHPublicKeysClient) ListBySubscription ¶
func (client SSHPublicKeysClient) ListBySubscription(ctx context.Context) (result SSHPublicKeysGroupListResultPage, err error)
ListBySubscription lists all of the SSH public keys in the subscription. Use the nextLink property in the response to get the next page of SSH public keys.
func (SSHPublicKeysClient) ListBySubscriptionComplete ¶
func (client SSHPublicKeysClient) ListBySubscriptionComplete(ctx context.Context) (result SSHPublicKeysGroupListResultIterator, err error)
ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.
func (SSHPublicKeysClient) ListBySubscriptionPreparer ¶
func (client SSHPublicKeysClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
ListBySubscriptionPreparer prepares the ListBySubscription request.
func (SSHPublicKeysClient) ListBySubscriptionResponder ¶
func (client SSHPublicKeysClient) ListBySubscriptionResponder(resp *http.Response) (result SSHPublicKeysGroupListResult, err error)
ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.
func (SSHPublicKeysClient) ListBySubscriptionSender ¶
func (client SSHPublicKeysClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.
func (SSHPublicKeysClient) Update ¶
func (client SSHPublicKeysClient) Update(ctx context.Context, resourceGroupName string, SSHPublicKeyName string, parameters SSHPublicKeyUpdateResource) (result SSHPublicKeyResource, err error)
Update updates a new SSH public key resource. Parameters: resourceGroupName - the name of the resource group. SSHPublicKeyName - the name of the SSH public key. parameters - parameters supplied to update the SSH public key.
func (SSHPublicKeysClient) UpdatePreparer ¶
func (client SSHPublicKeysClient) UpdatePreparer(ctx context.Context, resourceGroupName string, SSHPublicKeyName string, parameters SSHPublicKeyUpdateResource) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (SSHPublicKeysClient) UpdateResponder ¶
func (client SSHPublicKeysClient) UpdateResponder(resp *http.Response) (result SSHPublicKeyResource, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (SSHPublicKeysClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type SSHPublicKeysGroupListResult ¶
type SSHPublicKeysGroupListResult struct { autorest.Response `json:"-"` // Value - The list of SSH public keys Value *[]SSHPublicKeyResource `json:"value,omitempty"` // NextLink - The URI to fetch the next page of SSH public keys. Call ListNext() with this URI to fetch the next page of SSH public keys. NextLink *string `json:"nextLink,omitempty"` }
SSHPublicKeysGroupListResult the list SSH public keys operation response.
func (SSHPublicKeysGroupListResult) IsEmpty ¶
func (spkglr SSHPublicKeysGroupListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type SSHPublicKeysGroupListResultIterator ¶
type SSHPublicKeysGroupListResultIterator struct {
// contains filtered or unexported fields
}
SSHPublicKeysGroupListResultIterator provides access to a complete listing of SSHPublicKeyResource values.
func NewSSHPublicKeysGroupListResultIterator ¶
func NewSSHPublicKeysGroupListResultIterator(page SSHPublicKeysGroupListResultPage) SSHPublicKeysGroupListResultIterator
Creates a new instance of the SSHPublicKeysGroupListResultIterator type.
func (*SSHPublicKeysGroupListResultIterator) Next ¶
func (iter *SSHPublicKeysGroupListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*SSHPublicKeysGroupListResultIterator) NextWithContext ¶
func (iter *SSHPublicKeysGroupListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (SSHPublicKeysGroupListResultIterator) NotDone ¶
func (iter SSHPublicKeysGroupListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (SSHPublicKeysGroupListResultIterator) Response ¶
func (iter SSHPublicKeysGroupListResultIterator) Response() SSHPublicKeysGroupListResult
Response returns the raw server response from the last page request.
func (SSHPublicKeysGroupListResultIterator) Value ¶
func (iter SSHPublicKeysGroupListResultIterator) Value() SSHPublicKeyResource
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type SSHPublicKeysGroupListResultPage ¶
type SSHPublicKeysGroupListResultPage struct {
// contains filtered or unexported fields
}
SSHPublicKeysGroupListResultPage contains a page of SSHPublicKeyResource values.
func NewSSHPublicKeysGroupListResultPage ¶
func NewSSHPublicKeysGroupListResultPage(cur SSHPublicKeysGroupListResult, getNextPage func(context.Context, SSHPublicKeysGroupListResult) (SSHPublicKeysGroupListResult, error)) SSHPublicKeysGroupListResultPage
Creates a new instance of the SSHPublicKeysGroupListResultPage type.
func (*SSHPublicKeysGroupListResultPage) Next ¶
func (page *SSHPublicKeysGroupListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*SSHPublicKeysGroupListResultPage) NextWithContext ¶
func (page *SSHPublicKeysGroupListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (SSHPublicKeysGroupListResultPage) NotDone ¶
func (page SSHPublicKeysGroupListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (SSHPublicKeysGroupListResultPage) Response ¶
func (page SSHPublicKeysGroupListResultPage) Response() SSHPublicKeysGroupListResult
Response returns the raw server response from the last page request.
func (SSHPublicKeysGroupListResultPage) Values ¶
func (page SSHPublicKeysGroupListResultPage) Values() []SSHPublicKeyResource
Values returns the slice of values for the current page or nil if there are no values.
type ScaleInPolicy ¶
type ScaleInPolicy struct { // Rules - The rules to be followed when scaling-in a virtual machine scale set. <br><br> Possible values are: <br><br> **Default** When a virtual machine scale set is scaled in, the scale set will first be balanced across zones if it is a zonal scale set. Then, it will be balanced across Fault Domains as far as possible. Within each Fault Domain, the virtual machines chosen for removal will be the newest ones that are not protected from scale-in. <br><br> **OldestVM** When a virtual machine scale set is being scaled-in, the oldest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the oldest virtual machines that are not protected will be chosen for removal. <br><br> **NewestVM** When a virtual machine scale set is being scaled-in, the newest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the newest virtual machines that are not protected will be chosen for removal. <br><br> Rules *[]VirtualMachineScaleSetScaleInRules `json:"rules,omitempty"` }
ScaleInPolicy describes a scale-in policy for a virtual machine scale set.
type ScheduledEventsProfile ¶
type ScheduledEventsProfile struct { // TerminateNotificationProfile - Specifies Terminate Scheduled Event related configurations. TerminateNotificationProfile *TerminateNotificationProfile `json:"terminateNotificationProfile,omitempty"` }
ScheduledEventsProfile ...
type SecurityProfile ¶
type SecurityProfile struct { // EncryptionAtHost - This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself. <br><br> Default: The Encryption at host will be disabled unless this property is set to true for the resource. EncryptionAtHost *bool `json:"encryptionAtHost,omitempty"` }
SecurityProfile specifies the Security profile settings for the virtual machine or virtual machine scale set.
type SettingNames ¶
type SettingNames string
SettingNames enumerates the values for setting names.
const ( // AutoLogon ... AutoLogon SettingNames = "AutoLogon" // FirstLogonCommands ... FirstLogonCommands SettingNames = "FirstLogonCommands" )
func PossibleSettingNamesValues ¶
func PossibleSettingNamesValues() []SettingNames
PossibleSettingNamesValues returns an array of possible values for the SettingNames const type.
type Sku ¶
type Sku struct { // Name - The sku name. Name *string `json:"name,omitempty"` // Tier - Specifies the tier of virtual machines in a scale set.<br /><br /> Possible Values:<br /><br /> **Standard**<br /><br /> **Basic** Tier *string `json:"tier,omitempty"` // Capacity - Specifies the number of virtual machines in the scale set. Capacity *int64 `json:"capacity,omitempty"` }
Sku describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name.
type Snapshot ¶
type Snapshot struct { autorest.Response `json:"-"` // ManagedBy - READ-ONLY; Unused. Always Null. ManagedBy *string `json:"managedBy,omitempty"` Sku *SnapshotSku `json:"sku,omitempty"` *SnapshotProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type Type *string `json:"type,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
Snapshot snapshot resource.
func (Snapshot) MarshalJSON ¶
MarshalJSON is the custom marshaler for Snapshot.
func (*Snapshot) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Snapshot struct.
type SnapshotList ¶
type SnapshotList struct { autorest.Response `json:"-"` // Value - A list of snapshots. Value *[]Snapshot `json:"value,omitempty"` // NextLink - The uri to fetch the next page of snapshots. Call ListNext() with this to fetch the next page of snapshots. NextLink *string `json:"nextLink,omitempty"` }
SnapshotList the List Snapshots operation response.
func (SnapshotList) IsEmpty ¶
func (sl SnapshotList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type SnapshotListIterator ¶
type SnapshotListIterator struct {
// contains filtered or unexported fields
}
SnapshotListIterator provides access to a complete listing of Snapshot values.
func NewSnapshotListIterator ¶
func NewSnapshotListIterator(page SnapshotListPage) SnapshotListIterator
Creates a new instance of the SnapshotListIterator type.
func (*SnapshotListIterator) Next ¶
func (iter *SnapshotListIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*SnapshotListIterator) NextWithContext ¶
func (iter *SnapshotListIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (SnapshotListIterator) NotDone ¶
func (iter SnapshotListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (SnapshotListIterator) Response ¶
func (iter SnapshotListIterator) Response() SnapshotList
Response returns the raw server response from the last page request.
func (SnapshotListIterator) Value ¶
func (iter SnapshotListIterator) Value() Snapshot
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type SnapshotListPage ¶
type SnapshotListPage struct {
// contains filtered or unexported fields
}
SnapshotListPage contains a page of Snapshot values.
func NewSnapshotListPage ¶
func NewSnapshotListPage(cur SnapshotList, getNextPage func(context.Context, SnapshotList) (SnapshotList, error)) SnapshotListPage
Creates a new instance of the SnapshotListPage type.
func (*SnapshotListPage) Next ¶
func (page *SnapshotListPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*SnapshotListPage) NextWithContext ¶
func (page *SnapshotListPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (SnapshotListPage) NotDone ¶
func (page SnapshotListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (SnapshotListPage) Response ¶
func (page SnapshotListPage) Response() SnapshotList
Response returns the raw server response from the last page request.
func (SnapshotListPage) Values ¶
func (page SnapshotListPage) Values() []Snapshot
Values returns the slice of values for the current page or nil if there are no values.
type SnapshotProperties ¶
type SnapshotProperties struct { // TimeCreated - READ-ONLY; The time when the disk was created. TimeCreated *date.Time `json:"timeCreated,omitempty"` // OsType - The Operating System type. Possible values include: 'Windows', 'Linux' OsType OperatingSystemTypes `json:"osType,omitempty"` // HyperVGeneration - The hypervisor generation of the Virtual Machine. Applicable to OS disks only. Possible values include: 'V1', 'V2' HyperVGeneration HyperVGeneration `json:"hyperVGeneration,omitempty"` // CreationData - Disk source information. CreationData information cannot be changed after the disk has been created. CreationData *CreationData `json:"creationData,omitempty"` // DiskSizeGB - If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size. DiskSizeGB *int32 `json:"diskSizeGB,omitempty"` // DiskSizeBytes - READ-ONLY; The size of the disk in bytes. This field is read only. DiskSizeBytes *int64 `json:"diskSizeBytes,omitempty"` // UniqueID - READ-ONLY; Unique Guid identifying the resource. UniqueID *string `json:"uniqueId,omitempty"` // EncryptionSettingsCollection - Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot. EncryptionSettingsCollection *EncryptionSettingsCollection `json:"encryptionSettingsCollection,omitempty"` // ProvisioningState - READ-ONLY; The disk provisioning state. ProvisioningState *string `json:"provisioningState,omitempty"` // Incremental - Whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full snapshots and can be diffed. Incremental *bool `json:"incremental,omitempty"` // Encryption - Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys. Encryption *Encryption `json:"encryption,omitempty"` }
SnapshotProperties snapshot resource properties.
func (SnapshotProperties) MarshalJSON ¶
func (sp SnapshotProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SnapshotProperties.
type SnapshotSku ¶
type SnapshotSku struct { // Name - The sku name. Possible values include: 'SnapshotStorageAccountTypesStandardLRS', 'SnapshotStorageAccountTypesPremiumLRS', 'SnapshotStorageAccountTypesStandardZRS' Name SnapshotStorageAccountTypes `json:"name,omitempty"` // Tier - READ-ONLY; The sku tier. Tier *string `json:"tier,omitempty"` }
SnapshotSku the snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS.
func (SnapshotSku) MarshalJSON ¶
func (ss SnapshotSku) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SnapshotSku.
type SnapshotStorageAccountTypes ¶
type SnapshotStorageAccountTypes string
SnapshotStorageAccountTypes enumerates the values for snapshot storage account types.
const ( // SnapshotStorageAccountTypesPremiumLRS Premium SSD locally redundant storage SnapshotStorageAccountTypesPremiumLRS SnapshotStorageAccountTypes = "Premium_LRS" // SnapshotStorageAccountTypesStandardLRS Standard HDD locally redundant storage SnapshotStorageAccountTypesStandardLRS SnapshotStorageAccountTypes = "Standard_LRS" // SnapshotStorageAccountTypesStandardZRS Standard zone redundant storage SnapshotStorageAccountTypesStandardZRS SnapshotStorageAccountTypes = "Standard_ZRS" )
func PossibleSnapshotStorageAccountTypesValues ¶
func PossibleSnapshotStorageAccountTypesValues() []SnapshotStorageAccountTypes
PossibleSnapshotStorageAccountTypesValues returns an array of possible values for the SnapshotStorageAccountTypes const type.
type SnapshotUpdate ¶
type SnapshotUpdate struct { *SnapshotUpdateProperties `json:"properties,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` Sku *SnapshotSku `json:"sku,omitempty"` }
SnapshotUpdate snapshot update resource.
func (SnapshotUpdate) MarshalJSON ¶
func (su SnapshotUpdate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SnapshotUpdate.
func (*SnapshotUpdate) UnmarshalJSON ¶
func (su *SnapshotUpdate) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for SnapshotUpdate struct.
type SnapshotUpdateProperties ¶
type SnapshotUpdateProperties struct { // OsType - the Operating System type. Possible values include: 'Windows', 'Linux' OsType OperatingSystemTypes `json:"osType,omitempty"` // DiskSizeGB - If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size. DiskSizeGB *int32 `json:"diskSizeGB,omitempty"` // EncryptionSettingsCollection - Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot. EncryptionSettingsCollection *EncryptionSettingsCollection `json:"encryptionSettingsCollection,omitempty"` // Encryption - Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys. Encryption *Encryption `json:"encryption,omitempty"` }
SnapshotUpdateProperties snapshot resource update properties.
type SnapshotsClient ¶
type SnapshotsClient struct {
BaseClient
}
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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (SnapshotsClient) CreateOrUpdate ¶
func (client SnapshotsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, snapshotName string, snapshot Snapshot) (result SnapshotsCreateOrUpdateFuture, err error)
CreateOrUpdate creates or updates a snapshot. Parameters: resourceGroupName - the name of the resource group. snapshotName - the name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters. snapshot - snapshot object supplied in the body of the Put disk operation.
func (SnapshotsClient) CreateOrUpdatePreparer ¶
func (client SnapshotsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, snapshotName string, snapshot Snapshot) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (SnapshotsClient) CreateOrUpdateResponder ¶
func (client SnapshotsClient) CreateOrUpdateResponder(resp *http.Response) (result Snapshot, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (SnapshotsClient) CreateOrUpdateSender ¶
func (client SnapshotsClient) CreateOrUpdateSender(req *http.Request) (future SnapshotsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (SnapshotsClient) Delete ¶
func (client SnapshotsClient) Delete(ctx context.Context, resourceGroupName string, snapshotName string) (result SnapshotsDeleteFuture, err error)
Delete deletes a snapshot. Parameters: resourceGroupName - the name of the resource group. snapshotName - the name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.
func (SnapshotsClient) DeletePreparer ¶
func (client SnapshotsClient) DeletePreparer(ctx context.Context, resourceGroupName string, snapshotName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (SnapshotsClient) DeleteResponder ¶
func (client SnapshotsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (SnapshotsClient) DeleteSender ¶
func (client SnapshotsClient) DeleteSender(req *http.Request) (future SnapshotsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (SnapshotsClient) Get ¶
func (client SnapshotsClient) Get(ctx context.Context, resourceGroupName string, snapshotName string) (result Snapshot, err error)
Get gets information about a snapshot. Parameters: resourceGroupName - the name of the resource group. snapshotName - the name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.
func (SnapshotsClient) GetPreparer ¶
func (client SnapshotsClient) GetPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, snapshotName string, grantAccessData GrantAccessData) (result SnapshotsGrantAccessFuture, err error)
GrantAccess grants access to a snapshot. Parameters: resourceGroupName - the name of the resource group. snapshotName - the name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters. grantAccessData - access data object supplied in the body of the get snapshot access operation.
func (SnapshotsClient) GrantAccessPreparer ¶
func (client SnapshotsClient) GrantAccessPreparer(ctx context.Context, resourceGroupName string, snapshotName string, grantAccessData GrantAccessData) (*http.Request, error)
GrantAccessPreparer prepares the GrantAccess request.
func (SnapshotsClient) GrantAccessResponder ¶
func (client SnapshotsClient) GrantAccessResponder(resp *http.Response) (result AccessURI, err error)
GrantAccessResponder handles the response to the GrantAccess request. The method always closes the http.Response Body.
func (SnapshotsClient) GrantAccessSender ¶
func (client SnapshotsClient) GrantAccessSender(req *http.Request) (future SnapshotsGrantAccessFuture, err error)
GrantAccessSender sends the GrantAccess request. The method will close the http.Response Body if it receives an error.
func (SnapshotsClient) List ¶
func (client SnapshotsClient) List(ctx context.Context) (result SnapshotListPage, err error)
List lists snapshots under a subscription.
func (SnapshotsClient) ListByResourceGroup ¶
func (client SnapshotsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result SnapshotListPage, err error)
ListByResourceGroup lists snapshots under a resource group. Parameters: resourceGroupName - the name of the resource group.
func (SnapshotsClient) ListByResourceGroupComplete ¶
func (client SnapshotsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result SnapshotListIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (SnapshotsClient) ListByResourceGroupPreparer ¶
func (client SnapshotsClient) ListByResourceGroupPreparer(ctx context.Context, 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(ctx context.Context) (result SnapshotListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (SnapshotsClient) ListPreparer ¶
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(ctx context.Context, resourceGroupName string, snapshotName string) (result SnapshotsRevokeAccessFuture, err error)
RevokeAccess revokes access to a snapshot. Parameters: resourceGroupName - the name of the resource group. snapshotName - the name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.
func (SnapshotsClient) RevokeAccessPreparer ¶
func (client SnapshotsClient) RevokeAccessPreparer(ctx context.Context, resourceGroupName string, snapshotName string) (*http.Request, error)
RevokeAccessPreparer prepares the RevokeAccess request.
func (SnapshotsClient) RevokeAccessResponder ¶
func (client SnapshotsClient) RevokeAccessResponder(resp *http.Response) (result autorest.Response, err error)
RevokeAccessResponder handles the response to the RevokeAccess request. The method always closes the http.Response Body.
func (SnapshotsClient) RevokeAccessSender ¶
func (client SnapshotsClient) RevokeAccessSender(req *http.Request) (future SnapshotsRevokeAccessFuture, err error)
RevokeAccessSender sends the RevokeAccess request. The method will close the http.Response Body if it receives an error.
func (SnapshotsClient) Update ¶
func (client SnapshotsClient) Update(ctx context.Context, resourceGroupName string, snapshotName string, snapshot SnapshotUpdate) (result SnapshotsUpdateFuture, err error)
Update updates (patches) a snapshot. Parameters: resourceGroupName - the name of the resource group. snapshotName - the name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters. snapshot - snapshot object supplied in the body of the Patch snapshot operation.
func (SnapshotsClient) UpdatePreparer ¶
func (client SnapshotsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, snapshotName string, snapshot SnapshotUpdate) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (SnapshotsClient) UpdateResponder ¶
func (client SnapshotsClient) UpdateResponder(resp *http.Response) (result Snapshot, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (SnapshotsClient) UpdateSender ¶
func (client SnapshotsClient) UpdateSender(req *http.Request) (future SnapshotsUpdateFuture, err error)
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type SnapshotsCreateOrUpdateFuture ¶
type SnapshotsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(SnapshotsClient) (Snapshot, error) }
SnapshotsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*SnapshotsCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *SnapshotsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type SnapshotsDeleteFuture ¶
type SnapshotsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(SnapshotsClient) (autorest.Response, error) }
SnapshotsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*SnapshotsDeleteFuture) UnmarshalJSON ¶
func (future *SnapshotsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type SnapshotsGrantAccessFuture ¶
type SnapshotsGrantAccessFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(SnapshotsClient) (AccessURI, error) }
SnapshotsGrantAccessFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*SnapshotsGrantAccessFuture) UnmarshalJSON ¶
func (future *SnapshotsGrantAccessFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type SnapshotsRevokeAccessFuture ¶
type SnapshotsRevokeAccessFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(SnapshotsClient) (autorest.Response, error) }
SnapshotsRevokeAccessFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*SnapshotsRevokeAccessFuture) UnmarshalJSON ¶
func (future *SnapshotsRevokeAccessFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type SnapshotsUpdateFuture ¶
type SnapshotsUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(SnapshotsClient) (Snapshot, error) }
SnapshotsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*SnapshotsUpdateFuture) UnmarshalJSON ¶
func (future *SnapshotsUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type SoftwareUpdateRebootBehavior ¶
type SoftwareUpdateRebootBehavior string
SoftwareUpdateRebootBehavior enumerates the values for software update reboot behavior.
const ( // AlwaysRequiresReboot ... AlwaysRequiresReboot SoftwareUpdateRebootBehavior = "AlwaysRequiresReboot" // CanRequestReboot ... CanRequestReboot SoftwareUpdateRebootBehavior = "CanRequestReboot" // NeverReboots ... NeverReboots SoftwareUpdateRebootBehavior = "NeverReboots" )
func PossibleSoftwareUpdateRebootBehaviorValues ¶
func PossibleSoftwareUpdateRebootBehaviorValues() []SoftwareUpdateRebootBehavior
PossibleSoftwareUpdateRebootBehaviorValues returns an array of possible values for the SoftwareUpdateRebootBehavior const type.
type SourceVault ¶
type SourceVault struct { // ID - Resource Id ID *string `json:"id,omitempty"` }
SourceVault the vault id is an Azure Resource Manager Resource 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 ... Error StatusLevelTypes = "Error" // Info ... Info StatusLevelTypes = "Info" // Warning ... Warning StatusLevelTypes = "Warning" )
func PossibleStatusLevelTypesValues ¶
func PossibleStatusLevelTypesValues() []StatusLevelTypes
PossibleStatusLevelTypesValues returns an array of possible values for the StatusLevelTypes const type.
type StorageAccountTypes ¶
type StorageAccountTypes string
StorageAccountTypes enumerates the values for storage account types.
const ( // StorageAccountTypesPremiumLRS ... StorageAccountTypesPremiumLRS StorageAccountTypes = "Premium_LRS" // StorageAccountTypesStandardLRS ... StorageAccountTypesStandardLRS StorageAccountTypes = "Standard_LRS" // StorageAccountTypesStandardSSDLRS ... StorageAccountTypesStandardSSDLRS StorageAccountTypes = "StandardSSD_LRS" // StorageAccountTypesUltraSSDLRS ... StorageAccountTypesUltraSSDLRS StorageAccountTypes = "UltraSSD_LRS" )
func PossibleStorageAccountTypesValues ¶
func PossibleStorageAccountTypesValues() []StorageAccountTypes
PossibleStorageAccountTypesValues returns an array of possible values for the StorageAccountTypes const type.
type StorageProfile ¶
type StorageProfile struct { // ImageReference - 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. ImageReference *ImageReference `json:"imageReference,omitempty"` // OsDisk - 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). OsDisk *OSDisk `json:"osDisk,omitempty"` // DataDisks - Specifies the parameters that are used to add a data disk to a 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). DataDisks *[]DataDisk `json:"dataDisks,omitempty"` }
StorageProfile specifies the storage settings for the virtual machine disks.
type SubResource ¶
type SubResource struct { // ID - Resource Id ID *string `json:"id,omitempty"` }
SubResource ...
type SubResourceReadOnly ¶
type SubResourceReadOnly struct { // ID - READ-ONLY; Resource Id ID *string `json:"id,omitempty"` }
SubResourceReadOnly ...
type SubResourceWithColocationStatus ¶
type SubResourceWithColocationStatus struct { // ColocationStatus - Describes colocation status of a resource in the Proximity Placement Group. ColocationStatus *InstanceViewStatus `json:"colocationStatus,omitempty"` // ID - Resource Id ID *string `json:"id,omitempty"` }
SubResourceWithColocationStatus ...
type TerminateNotificationProfile ¶
type TerminateNotificationProfile struct { // NotBeforeTimeout - Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M) NotBeforeTimeout *string `json:"notBeforeTimeout,omitempty"` // Enable - Specifies whether the Terminate Scheduled event is enabled or disabled. Enable *bool `json:"enable,omitempty"` }
TerminateNotificationProfile ...
type ThrottledRequestsInput ¶
type ThrottledRequestsInput struct { // BlobContainerSasURI - SAS Uri of the logging blob container to which LogAnalytics Api writes output logs to. BlobContainerSasURI *string `json:"blobContainerSasUri,omitempty"` // FromTime - From time of the query FromTime *date.Time `json:"fromTime,omitempty"` // ToTime - To time of the query ToTime *date.Time `json:"toTime,omitempty"` // GroupByThrottlePolicy - Group query result by Throttle Policy applied. GroupByThrottlePolicy *bool `json:"groupByThrottlePolicy,omitempty"` // GroupByOperationName - Group query result by Operation Name. GroupByOperationName *bool `json:"groupByOperationName,omitempty"` // GroupByResourceName - Group query result by Resource Name. GroupByResourceName *bool `json:"groupByResourceName,omitempty"` // GroupByClientApplicationID - Group query result by Client Application ID. GroupByClientApplicationID *bool `json:"groupByClientApplicationId,omitempty"` // GroupByUserAgent - Group query result by User Agent. GroupByUserAgent *bool `json:"groupByUserAgent,omitempty"` }
ThrottledRequestsInput api request input for LogAnalytics getThrottledRequests Api.
type UpdateResource ¶
UpdateResource the Update Resource model definition.
func (UpdateResource) MarshalJSON ¶
func (ur UpdateResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for UpdateResource.
type UpgradeMode ¶
type UpgradeMode string
UpgradeMode enumerates the values for upgrade mode.
const ( // UpgradeModeAutomatic ... UpgradeModeAutomatic UpgradeMode = "Automatic" // UpgradeModeManual ... UpgradeModeManual UpgradeMode = "Manual" // UpgradeModeRolling ... UpgradeModeRolling UpgradeMode = "Rolling" )
func PossibleUpgradeModeValues ¶
func PossibleUpgradeModeValues() []UpgradeMode
PossibleUpgradeModeValues returns an array of possible values for the UpgradeMode const type.
type UpgradeOperationHistoricalStatusInfo ¶
type UpgradeOperationHistoricalStatusInfo struct { // Properties - READ-ONLY; Information about the properties of the upgrade operation. Properties *UpgradeOperationHistoricalStatusInfoProperties `json:"properties,omitempty"` // Type - READ-ONLY; Resource type Type *string `json:"type,omitempty"` // Location - READ-ONLY; Resource location Location *string `json:"location,omitempty"` }
UpgradeOperationHistoricalStatusInfo virtual Machine Scale Set OS Upgrade History operation response.
type UpgradeOperationHistoricalStatusInfoProperties ¶
type UpgradeOperationHistoricalStatusInfoProperties struct { // RunningStatus - READ-ONLY; Information about the overall status of the upgrade operation. RunningStatus *UpgradeOperationHistoryStatus `json:"runningStatus,omitempty"` // Progress - READ-ONLY; Counts of the VMs in each state. Progress *RollingUpgradeProgressInfo `json:"progress,omitempty"` // Error - READ-ONLY; Error Details for this upgrade if there are any. Error *APIError `json:"error,omitempty"` // StartedBy - READ-ONLY; Invoker of the Upgrade Operation. Possible values include: 'Unknown', 'User', 'Platform' StartedBy UpgradeOperationInvoker `json:"startedBy,omitempty"` // TargetImageReference - READ-ONLY; Image Reference details TargetImageReference *ImageReference `json:"targetImageReference,omitempty"` // RollbackInfo - READ-ONLY; Information about OS rollback if performed RollbackInfo *RollbackStatusInfo `json:"rollbackInfo,omitempty"` }
UpgradeOperationHistoricalStatusInfoProperties describes each OS upgrade on the Virtual Machine Scale Set.
type UpgradeOperationHistoryStatus ¶
type UpgradeOperationHistoryStatus struct { // Code - READ-ONLY; Code indicating the current status of the upgrade. Possible values include: 'UpgradeStateRollingForward', 'UpgradeStateCancelled', 'UpgradeStateCompleted', 'UpgradeStateFaulted' Code UpgradeState `json:"code,omitempty"` // StartTime - READ-ONLY; Start time of the upgrade. StartTime *date.Time `json:"startTime,omitempty"` // EndTime - READ-ONLY; End time of the upgrade. EndTime *date.Time `json:"endTime,omitempty"` }
UpgradeOperationHistoryStatus information about the current running state of the overall upgrade.
type UpgradeOperationInvoker ¶
type UpgradeOperationInvoker string
UpgradeOperationInvoker enumerates the values for upgrade operation invoker.
const ( // Platform ... Platform UpgradeOperationInvoker = "Platform" // Unknown ... Unknown UpgradeOperationInvoker = "Unknown" // User ... User UpgradeOperationInvoker = "User" )
func PossibleUpgradeOperationInvokerValues ¶
func PossibleUpgradeOperationInvokerValues() []UpgradeOperationInvoker
PossibleUpgradeOperationInvokerValues returns an array of possible values for the UpgradeOperationInvoker const type.
type UpgradePolicy ¶
type UpgradePolicy struct { // Mode - Specifies the mode of an upgrade to virtual machines in the scale set.<br /><br /> Possible values are:<br /><br /> **Manual** - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.<br /><br /> **Automatic** - All virtual machines in the scale set are automatically updated at the same time. Possible values include: 'UpgradeModeAutomatic', 'UpgradeModeManual', 'UpgradeModeRolling' Mode UpgradeMode `json:"mode,omitempty"` // RollingUpgradePolicy - The configuration parameters used while performing a rolling upgrade. RollingUpgradePolicy *RollingUpgradePolicy `json:"rollingUpgradePolicy,omitempty"` // AutomaticOSUpgradePolicy - Configuration parameters used for performing automatic OS Upgrade. AutomaticOSUpgradePolicy *AutomaticOSUpgradePolicy `json:"automaticOSUpgradePolicy,omitempty"` }
UpgradePolicy describes an upgrade policy - automatic, manual, or rolling.
type UpgradeState ¶
type UpgradeState string
UpgradeState enumerates the values for upgrade state.
const ( // UpgradeStateCancelled ... UpgradeStateCancelled UpgradeState = "Cancelled" // UpgradeStateCompleted ... UpgradeStateCompleted UpgradeState = "Completed" // UpgradeStateFaulted ... UpgradeStateFaulted UpgradeState = "Faulted" // UpgradeStateRollingForward ... UpgradeStateRollingForward UpgradeState = "RollingForward" )
func PossibleUpgradeStateValues ¶
func PossibleUpgradeStateValues() []UpgradeState
PossibleUpgradeStateValues returns an array of possible values for the UpgradeState const type.
type Usage ¶
type Usage struct { // Unit - An enum describing the unit of usage measurement. Unit *string `json:"unit,omitempty"` // CurrentValue - The current usage of the resource. CurrentValue *int32 `json:"currentValue,omitempty"` // Limit - The maximum permitted usage of the resource. Limit *int64 `json:"limit,omitempty"` // Name - The name of the type of usage. Name *UsageName `json:"name,omitempty"` }
Usage describes Compute Resource Usage.
type UsageClient ¶
type UsageClient struct {
BaseClient
}
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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (UsageClient) List ¶
func (client UsageClient) List(ctx context.Context, location string) (result ListUsagesResultPage, 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. Parameters: location - the location for which resource usage is queried.
func (UsageClient) ListComplete ¶
func (client UsageClient) ListComplete(ctx context.Context, location string) (result ListUsagesResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (UsageClient) ListPreparer ¶
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 - The name of the resource. Value *string `json:"value,omitempty"` // LocalizedValue - The localized name of the resource. LocalizedValue *string `json:"localizedValue,omitempty"` }
UsageName the Usage Names.
type VMDiskTypes ¶
type VMDiskTypes string
VMDiskTypes enumerates the values for vm disk types.
const ( // VMDiskTypesNone ... VMDiskTypesNone VMDiskTypes = "None" // VMDiskTypesUnmanaged ... VMDiskTypesUnmanaged VMDiskTypes = "Unmanaged" )
func PossibleVMDiskTypesValues ¶
func PossibleVMDiskTypesValues() []VMDiskTypes
PossibleVMDiskTypesValues returns an array of possible values for the VMDiskTypes const type.
type VMScaleSetConvertToSinglePlacementGroupInput ¶
type VMScaleSetConvertToSinglePlacementGroupInput struct { // ActivePlacementGroupID - Id of the placement group in which you want future virtual machine instances to be placed. To query placement group Id, please use Virtual Machine Scale Set VMs - Get API. If not provided, the platform will choose one with maximum number of virtual machine instances. ActivePlacementGroupID *string `json:"activePlacementGroupId,omitempty"` }
VMScaleSetConvertToSinglePlacementGroupInput ...
type VaultCertificate ¶
type VaultCertificate struct { // CertificateURL - This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8: <br><br> {<br> "data":"<Base64-encoded-certificate>",<br> "dataType":"pfx",<br> "password":"<pfx-file-password>"<br>} CertificateURL *string `json:"certificateUrl,omitempty"` // CertificateStore - For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account. <br><br>For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt for the X509 certificate file and <UppercaseThumbprint>.prv for private key. Both of these files are .pem formatted. CertificateStore *string `json:"certificateStore,omitempty"` }
VaultCertificate describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM.
type VaultSecretGroup ¶
type VaultSecretGroup struct { // SourceVault - The relative URL of the Key Vault containing all of the certificates in VaultCertificates. SourceVault *SubResource `json:"sourceVault,omitempty"` // VaultCertificates - The list of key vault references in SourceVault which contain certificates. VaultCertificates *[]VaultCertificate `json:"vaultCertificates,omitempty"` }
VaultSecretGroup describes a set of certificates which are all in the same Key Vault.
type VirtualHardDisk ¶
type VirtualHardDisk struct { // URI - Specifies the virtual hard disk's uri. URI *string `json:"uri,omitempty"` }
VirtualHardDisk describes the uri of a disk.
type VirtualMachine ¶
type VirtualMachine struct { autorest.Response `json:"-"` // Plan - 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**. Plan *Plan `json:"plan,omitempty"` *VirtualMachineProperties `json:"properties,omitempty"` // Resources - READ-ONLY; The virtual machine child extension resources. Resources *[]VirtualMachineExtension `json:"resources,omitempty"` // Identity - The identity of the virtual machine, if configured. Identity *VirtualMachineIdentity `json:"identity,omitempty"` // Zones - The virtual machine zones. Zones *[]string `json:"zones,omitempty"` // ID - READ-ONLY; Resource Id ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type Type *string `json:"type,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
VirtualMachine describes a Virtual Machine.
func (VirtualMachine) MarshalJSON ¶
func (VM VirtualMachine) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualMachine.
func (*VirtualMachine) UnmarshalJSON ¶
func (VM *VirtualMachine) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VirtualMachine struct.
type VirtualMachineAgentInstanceView ¶
type VirtualMachineAgentInstanceView struct { // VMAgentVersion - The VM Agent full version. VMAgentVersion *string `json:"vmAgentVersion,omitempty"` // ExtensionHandlers - The virtual machine extension handler instance view. ExtensionHandlers *[]VirtualMachineExtensionHandlerInstanceView `json:"extensionHandlers,omitempty"` // Statuses - The resource status information. Statuses *[]InstanceViewStatus `json:"statuses,omitempty"` }
VirtualMachineAgentInstanceView the instance view of the VM Agent running on the virtual machine.
type VirtualMachineAssessPatchesResult ¶
type VirtualMachineAssessPatchesResult struct { autorest.Response `json:"-"` // Status - READ-ONLY; The overall success or failure status of the operation. It remains "InProgress" until the operation completes. At that point it will become "Failed", "Succeeded", or "CompletedWithWarnings.". Possible values include: 'PatchOperationStatusInProgress', 'PatchOperationStatusFailed', 'PatchOperationStatusSucceeded', 'PatchOperationStatusCompletedWithWarnings' Status PatchOperationStatus `json:"status,omitempty"` // AssessmentActivityID - READ-ONLY; The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs. AssessmentActivityID *string `json:"assessmentActivityId,omitempty"` // RebootPending - READ-ONLY; The overall reboot status of the VM. It will be true when partially installed patches require a reboot to complete installation but the reboot has not yet occurred. RebootPending *bool `json:"rebootPending,omitempty"` // CriticalAndSecurityPatchCount - READ-ONLY; The number of critical or security patches that have been detected as available and not yet installed. CriticalAndSecurityPatchCount *int32 `json:"criticalAndSecurityPatchCount,omitempty"` // OtherPatchCount - READ-ONLY; The number of all available patches excluding critical and security. OtherPatchCount *int32 `json:"otherPatchCount,omitempty"` // StartDateTime - READ-ONLY; The UTC timestamp when the operation began. StartDateTime *date.Time `json:"startDateTime,omitempty"` // Patches - READ-ONLY; The list of patches that have been detected as available for installation. Patches *[]VirtualMachineSoftwarePatchProperties `json:"patches,omitempty"` // Error - READ-ONLY; The errors that were encountered during execution of the operation. The details array contains the list of them. Error *APIError `json:"error,omitempty"` }
VirtualMachineAssessPatchesResult describes the properties of an AssessPatches result.
type VirtualMachineCaptureParameters ¶
type VirtualMachineCaptureParameters struct { // VhdPrefix - The captured virtual hard disk's name prefix. VhdPrefix *string `json:"vhdPrefix,omitempty"` // DestinationContainerName - The destination container name. DestinationContainerName *string `json:"destinationContainerName,omitempty"` // OverwriteVhds - Specifies whether to overwrite the destination virtual hard disk, in case of conflict. OverwriteVhds *bool `json:"overwriteVhds,omitempty"` }
VirtualMachineCaptureParameters capture Virtual Machine parameters.
type VirtualMachineCaptureResult ¶
type VirtualMachineCaptureResult struct { autorest.Response `json:"-"` // Schema - READ-ONLY; the schema of the captured virtual machine Schema *string `json:"$schema,omitempty"` // ContentVersion - READ-ONLY; the version of the content ContentVersion *string `json:"contentVersion,omitempty"` // Parameters - READ-ONLY; parameters of the captured virtual machine Parameters interface{} `json:"parameters,omitempty"` // Resources - READ-ONLY; a list of resource items of the captured virtual machine Resources *[]interface{} `json:"resources,omitempty"` // ID - Resource Id ID *string `json:"id,omitempty"` }
VirtualMachineCaptureResult output of virtual machine capture operation.
func (VirtualMachineCaptureResult) MarshalJSON ¶
func (vmcr VirtualMachineCaptureResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualMachineCaptureResult.
type VirtualMachineEvictionPolicyTypes ¶
type VirtualMachineEvictionPolicyTypes string
VirtualMachineEvictionPolicyTypes enumerates the values for virtual machine eviction policy types.
const ( // Deallocate ... Deallocate VirtualMachineEvictionPolicyTypes = "Deallocate" // Delete ... Delete VirtualMachineEvictionPolicyTypes = "Delete" )
func PossibleVirtualMachineEvictionPolicyTypesValues ¶
func PossibleVirtualMachineEvictionPolicyTypesValues() []VirtualMachineEvictionPolicyTypes
PossibleVirtualMachineEvictionPolicyTypesValues returns an array of possible values for the VirtualMachineEvictionPolicyTypes const type.
type VirtualMachineExtension ¶
type VirtualMachineExtension struct { autorest.Response `json:"-"` *VirtualMachineExtensionProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type Type *string `json:"type,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
VirtualMachineExtension describes a Virtual Machine Extension.
func (VirtualMachineExtension) MarshalJSON ¶
func (vme VirtualMachineExtension) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualMachineExtension.
func (*VirtualMachineExtension) UnmarshalJSON ¶
func (vme *VirtualMachineExtension) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VirtualMachineExtension struct.
type VirtualMachineExtensionHandlerInstanceView ¶
type VirtualMachineExtensionHandlerInstanceView struct { // Type - Specifies the type of the extension; an example is "CustomScriptExtension". Type *string `json:"type,omitempty"` // TypeHandlerVersion - Specifies the version of the script handler. TypeHandlerVersion *string `json:"typeHandlerVersion,omitempty"` // Status - The extension handler status. Status *InstanceViewStatus `json:"status,omitempty"` }
VirtualMachineExtensionHandlerInstanceView the instance view of a virtual machine extension handler.
type VirtualMachineExtensionImage ¶
type VirtualMachineExtensionImage struct { autorest.Response `json:"-"` *VirtualMachineExtensionImageProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type Type *string `json:"type,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
VirtualMachineExtensionImage describes a Virtual Machine Extension Image.
func (VirtualMachineExtensionImage) MarshalJSON ¶
func (vmei VirtualMachineExtensionImage) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualMachineExtensionImage.
func (*VirtualMachineExtensionImage) UnmarshalJSON ¶
func (vmei *VirtualMachineExtensionImage) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VirtualMachineExtensionImage struct.
type VirtualMachineExtensionImageProperties ¶
type VirtualMachineExtensionImageProperties struct { // OperatingSystem - The operating system this extension supports. OperatingSystem *string `json:"operatingSystem,omitempty"` // ComputeRole - The type of role (IaaS or PaaS) this extension supports. ComputeRole *string `json:"computeRole,omitempty"` // HandlerSchema - The schema defined by publisher, where extension consumers should provide settings in a matching schema. HandlerSchema *string `json:"handlerSchema,omitempty"` // VMScaleSetEnabled - Whether the extension can be used on xRP VMScaleSets. By default existing extensions are usable on scalesets, but there might be cases where a publisher wants to explicitly indicate the extension is only enabled for CRP VMs but not VMSS. VMScaleSetEnabled *bool `json:"vmScaleSetEnabled,omitempty"` // SupportsMultipleExtensions - Whether the handler can support multiple extensions. SupportsMultipleExtensions *bool `json:"supportsMultipleExtensions,omitempty"` }
VirtualMachineExtensionImageProperties describes the properties of a Virtual Machine Extension Image.
type VirtualMachineExtensionImagesClient ¶
type VirtualMachineExtensionImagesClient struct {
BaseClient
}
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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (VirtualMachineExtensionImagesClient) Get ¶
func (client VirtualMachineExtensionImagesClient) Get(ctx context.Context, location string, publisherName string, typeParameter string, version string) (result VirtualMachineExtensionImage, err error)
Get gets a virtual machine extension image. Parameters: location - the name of a supported Azure region.
func (VirtualMachineExtensionImagesClient) GetPreparer ¶
func (client VirtualMachineExtensionImagesClient) GetPreparer(ctx context.Context, 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(ctx context.Context, location string, publisherName string) (result ListVirtualMachineExtensionImage, err error)
ListTypes gets a list of virtual machine extension image types. Parameters: location - the name of a supported Azure region.
func (VirtualMachineExtensionImagesClient) ListTypesPreparer ¶
func (client VirtualMachineExtensionImagesClient) ListTypesPreparer(ctx context.Context, 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(ctx context.Context, 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. Parameters: location - the name of a supported Azure region. filter - the filter to apply on the operation.
func (VirtualMachineExtensionImagesClient) ListVersionsPreparer ¶
func (client VirtualMachineExtensionImagesClient) ListVersionsPreparer(ctx context.Context, 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 - The virtual machine extension name. Name *string `json:"name,omitempty"` // Type - Specifies the type of the extension; an example is "CustomScriptExtension". Type *string `json:"type,omitempty"` // TypeHandlerVersion - Specifies the version of the script handler. TypeHandlerVersion *string `json:"typeHandlerVersion,omitempty"` // Substatuses - The resource status information. Substatuses *[]InstanceViewStatus `json:"substatuses,omitempty"` // Statuses - The resource status information. Statuses *[]InstanceViewStatus `json:"statuses,omitempty"` }
VirtualMachineExtensionInstanceView the instance view of a virtual machine extension.
type VirtualMachineExtensionProperties ¶
type VirtualMachineExtensionProperties struct { // ForceUpdateTag - How the extension handler should be forced to update even if the extension configuration has not changed. ForceUpdateTag *string `json:"forceUpdateTag,omitempty"` // Publisher - The name of the extension handler publisher. Publisher *string `json:"publisher,omitempty"` // Type - Specifies the type of the extension; an example is "CustomScriptExtension". Type *string `json:"type,omitempty"` // TypeHandlerVersion - Specifies the version of the script handler. TypeHandlerVersion *string `json:"typeHandlerVersion,omitempty"` // AutoUpgradeMinorVersion - Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true. AutoUpgradeMinorVersion *bool `json:"autoUpgradeMinorVersion,omitempty"` // EnableAutomaticUpgrade - Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available. EnableAutomaticUpgrade *bool `json:"enableAutomaticUpgrade,omitempty"` // Settings - Json formatted public settings for the extension. Settings interface{} `json:"settings,omitempty"` // ProtectedSettings - The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. ProtectedSettings interface{} `json:"protectedSettings,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state, which only appears in the response. ProvisioningState *string `json:"provisioningState,omitempty"` // InstanceView - The virtual machine extension instance view. InstanceView *VirtualMachineExtensionInstanceView `json:"instanceView,omitempty"` }
VirtualMachineExtensionProperties describes the properties of a Virtual Machine Extension.
func (VirtualMachineExtensionProperties) MarshalJSON ¶
func (vmep VirtualMachineExtensionProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualMachineExtensionProperties.
type VirtualMachineExtensionUpdate ¶
type VirtualMachineExtensionUpdate struct { *VirtualMachineExtensionUpdateProperties `json:"properties,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
VirtualMachineExtensionUpdate describes a Virtual Machine Extension.
func (VirtualMachineExtensionUpdate) MarshalJSON ¶
func (vmeu VirtualMachineExtensionUpdate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualMachineExtensionUpdate.
func (*VirtualMachineExtensionUpdate) UnmarshalJSON ¶
func (vmeu *VirtualMachineExtensionUpdate) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VirtualMachineExtensionUpdate struct.
type VirtualMachineExtensionUpdateProperties ¶
type VirtualMachineExtensionUpdateProperties struct { // ForceUpdateTag - How the extension handler should be forced to update even if the extension configuration has not changed. ForceUpdateTag *string `json:"forceUpdateTag,omitempty"` // Publisher - The name of the extension handler publisher. Publisher *string `json:"publisher,omitempty"` // Type - Specifies the type of the extension; an example is "CustomScriptExtension". Type *string `json:"type,omitempty"` // TypeHandlerVersion - Specifies the version of the script handler. TypeHandlerVersion *string `json:"typeHandlerVersion,omitempty"` // AutoUpgradeMinorVersion - Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true. AutoUpgradeMinorVersion *bool `json:"autoUpgradeMinorVersion,omitempty"` // EnableAutomaticUpgrade - Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available. EnableAutomaticUpgrade *bool `json:"enableAutomaticUpgrade,omitempty"` // Settings - Json formatted public settings for the extension. Settings interface{} `json:"settings,omitempty"` // ProtectedSettings - The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. ProtectedSettings interface{} `json:"protectedSettings,omitempty"` }
VirtualMachineExtensionUpdateProperties describes the properties of a Virtual Machine Extension.
type VirtualMachineExtensionsClient ¶
type VirtualMachineExtensionsClient struct {
BaseClient
}
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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (VirtualMachineExtensionsClient) CreateOrUpdate ¶
func (client VirtualMachineExtensionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, VMName string, VMExtensionName string, extensionParameters VirtualMachineExtension) (result VirtualMachineExtensionsCreateOrUpdateFuture, err error)
CreateOrUpdate the operation to create or update the extension. Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine where the extension should be created or updated. VMExtensionName - the name of the virtual machine extension. extensionParameters - parameters supplied to the Create Virtual Machine Extension operation.
func (VirtualMachineExtensionsClient) CreateOrUpdatePreparer ¶
func (client VirtualMachineExtensionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, VMName string, VMExtensionName string, extensionParameters VirtualMachineExtension) (*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) (future VirtualMachineExtensionsCreateOrUpdateFuture, err 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(ctx context.Context, resourceGroupName string, VMName string, VMExtensionName string) (result VirtualMachineExtensionsDeleteFuture, err error)
Delete the operation to delete the extension. Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine where the extension should be deleted. VMExtensionName - the name of the virtual machine extension.
func (VirtualMachineExtensionsClient) DeletePreparer ¶
func (client VirtualMachineExtensionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, VMName string, VMExtensionName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (VirtualMachineExtensionsClient) DeleteResponder ¶
func (client VirtualMachineExtensionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (VirtualMachineExtensionsClient) DeleteSender ¶
func (client VirtualMachineExtensionsClient) DeleteSender(req *http.Request) (future VirtualMachineExtensionsDeleteFuture, err 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(ctx context.Context, resourceGroupName string, VMName string, VMExtensionName string, expand string) (result VirtualMachineExtension, err error)
Get the operation to get the extension. Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine containing the extension. VMExtensionName - the name of the virtual machine extension. expand - the expand expression to apply on the operation.
func (VirtualMachineExtensionsClient) GetPreparer ¶
func (client VirtualMachineExtensionsClient) GetPreparer(ctx context.Context, resourceGroupName string, VMName string, VMExtensionName string, expand string) (*http.Request, error)
GetPreparer prepares the Get request.
func (VirtualMachineExtensionsClient) GetResponder ¶
func (client VirtualMachineExtensionsClient) GetResponder(resp *http.Response) (result VirtualMachineExtension, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (VirtualMachineExtensionsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineExtensionsClient) List ¶
func (client VirtualMachineExtensionsClient) List(ctx context.Context, resourceGroupName string, VMName string, expand string) (result VirtualMachineExtensionsListResult, err error)
List the operation to get all extensions of a Virtual Machine. Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine containing the extension. expand - the expand expression to apply on the operation.
func (VirtualMachineExtensionsClient) ListPreparer ¶
func (client VirtualMachineExtensionsClient) ListPreparer(ctx context.Context, resourceGroupName string, VMName string, expand string) (*http.Request, error)
ListPreparer prepares the List request.
func (VirtualMachineExtensionsClient) ListResponder ¶
func (client VirtualMachineExtensionsClient) ListResponder(resp *http.Response) (result VirtualMachineExtensionsListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (VirtualMachineExtensionsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineExtensionsClient) Update ¶
func (client VirtualMachineExtensionsClient) Update(ctx context.Context, resourceGroupName string, VMName string, VMExtensionName string, extensionParameters VirtualMachineExtensionUpdate) (result VirtualMachineExtensionsUpdateFuture, err error)
Update the operation to update the extension. Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine where the extension should be updated. VMExtensionName - the name of the virtual machine extension. extensionParameters - parameters supplied to the Update Virtual Machine Extension operation.
func (VirtualMachineExtensionsClient) UpdatePreparer ¶
func (client VirtualMachineExtensionsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, VMName string, VMExtensionName string, extensionParameters VirtualMachineExtensionUpdate) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (VirtualMachineExtensionsClient) UpdateResponder ¶
func (client VirtualMachineExtensionsClient) UpdateResponder(resp *http.Response) (result VirtualMachineExtension, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (VirtualMachineExtensionsClient) UpdateSender ¶
func (client VirtualMachineExtensionsClient) UpdateSender(req *http.Request) (future VirtualMachineExtensionsUpdateFuture, err error)
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type VirtualMachineExtensionsCreateOrUpdateFuture ¶
type VirtualMachineExtensionsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualMachineExtensionsClient) (VirtualMachineExtension, error) }
VirtualMachineExtensionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualMachineExtensionsCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *VirtualMachineExtensionsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualMachineExtensionsDeleteFuture ¶
type VirtualMachineExtensionsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualMachineExtensionsClient) (autorest.Response, error) }
VirtualMachineExtensionsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualMachineExtensionsDeleteFuture) UnmarshalJSON ¶
func (future *VirtualMachineExtensionsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualMachineExtensionsListResult ¶
type VirtualMachineExtensionsListResult struct { autorest.Response `json:"-"` // Value - The list of extensions Value *[]VirtualMachineExtension `json:"value,omitempty"` }
VirtualMachineExtensionsListResult the List Extension operation response
type VirtualMachineExtensionsUpdateFuture ¶
type VirtualMachineExtensionsUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualMachineExtensionsClient) (VirtualMachineExtension, error) }
VirtualMachineExtensionsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualMachineExtensionsUpdateFuture) UnmarshalJSON ¶
func (future *VirtualMachineExtensionsUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualMachineHealthStatus ¶
type VirtualMachineHealthStatus struct { // Status - READ-ONLY; The health status information for the VM. Status *InstanceViewStatus `json:"status,omitempty"` }
VirtualMachineHealthStatus the health status of the VM.
type VirtualMachineIdentity ¶
type VirtualMachineIdentity struct { // PrincipalID - READ-ONLY; The principal id of virtual machine identity. This property will only be provided for a system assigned identity. PrincipalID *string `json:"principalId,omitempty"` // TenantID - READ-ONLY; The tenant id associated with the virtual machine. This property will only be provided for a system assigned identity. TenantID *string `json:"tenantId,omitempty"` // Type - The type of identity used for the virtual machine. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine. Possible values include: 'ResourceIdentityTypeSystemAssigned', 'ResourceIdentityTypeUserAssigned', 'ResourceIdentityTypeSystemAssignedUserAssigned', 'ResourceIdentityTypeNone' Type ResourceIdentityType `json:"type,omitempty"` // UserAssignedIdentities - The list of user identities associated with the Virtual Machine. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. UserAssignedIdentities map[string]*VirtualMachineIdentityUserAssignedIdentitiesValue `json:"userAssignedIdentities"` }
VirtualMachineIdentity identity for the virtual machine.
func (VirtualMachineIdentity) MarshalJSON ¶
func (vmi VirtualMachineIdentity) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualMachineIdentity.
type VirtualMachineIdentityUserAssignedIdentitiesValue ¶
type VirtualMachineIdentityUserAssignedIdentitiesValue struct { // PrincipalID - READ-ONLY; The principal id of user assigned identity. PrincipalID *string `json:"principalId,omitempty"` // ClientID - READ-ONLY; The client id of user assigned identity. ClientID *string `json:"clientId,omitempty"` }
VirtualMachineIdentityUserAssignedIdentitiesValue ...
type VirtualMachineImage ¶
type VirtualMachineImage struct { autorest.Response `json:"-"` *VirtualMachineImageProperties `json:"properties,omitempty"` // Name - The name of the resource. Name *string `json:"name,omitempty"` // Location - The supported Azure location of the resource. Location *string `json:"location,omitempty"` // Tags - Specifies the tags that are assigned to the virtual machine. For more information about using tags, see [Using tags to organize your Azure resources](https://docs.microsoft.com/azure/azure-resource-manager/resource-group-using-tags.md). Tags map[string]*string `json:"tags"` // ID - Resource Id ID *string `json:"id,omitempty"` }
VirtualMachineImage describes a Virtual Machine Image.
func (VirtualMachineImage) MarshalJSON ¶
func (vmi VirtualMachineImage) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualMachineImage.
func (*VirtualMachineImage) UnmarshalJSON ¶
func (vmi *VirtualMachineImage) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VirtualMachineImage struct.
type VirtualMachineImageProperties ¶
type VirtualMachineImageProperties struct { Plan *PurchasePlan `json:"plan,omitempty"` OsDiskImage *OSDiskImage `json:"osDiskImage,omitempty"` DataDiskImages *[]DataDiskImage `json:"dataDiskImages,omitempty"` AutomaticOSUpgradeProperties *AutomaticOSUpgradeProperties `json:"automaticOSUpgradeProperties,omitempty"` // HyperVGeneration - Possible values include: 'HyperVGenerationTypesV1', 'HyperVGenerationTypesV2' HyperVGeneration HyperVGenerationTypes `json:"hyperVGeneration,omitempty"` // Disallowed - Specifies disallowed configuration for the VirtualMachine created from the image Disallowed *DisallowedConfiguration `json:"disallowed,omitempty"` }
VirtualMachineImageProperties describes the properties of a Virtual Machine Image.
type VirtualMachineImageResource ¶
type VirtualMachineImageResource struct { // Name - The name of the resource. Name *string `json:"name,omitempty"` // Location - The supported Azure location of the resource. Location *string `json:"location,omitempty"` // Tags - Specifies the tags that are assigned to the virtual machine. For more information about using tags, see [Using tags to organize your Azure resources](https://docs.microsoft.com/azure/azure-resource-manager/resource-group-using-tags.md). Tags map[string]*string `json:"tags"` // ID - Resource Id ID *string `json:"id,omitempty"` }
VirtualMachineImageResource virtual machine image resource information.
func (VirtualMachineImageResource) MarshalJSON ¶
func (vmir VirtualMachineImageResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualMachineImageResource.
type VirtualMachineImagesClient ¶
type VirtualMachineImagesClient struct {
BaseClient
}
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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (VirtualMachineImagesClient) Get ¶
func (client VirtualMachineImagesClient) Get(ctx context.Context, location string, publisherName string, offer string, skus string, version string) (result VirtualMachineImage, err error)
Get gets a virtual machine image. Parameters: location - the name of a supported Azure region. publisherName - a valid image publisher. offer - a valid image publisher offer. skus - a valid image SKU. version - a valid image SKU version.
func (VirtualMachineImagesClient) GetPreparer ¶
func (client VirtualMachineImagesClient) GetPreparer(ctx context.Context, 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(ctx context.Context, location string, publisherName string, offer string, skus string, expand 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. Parameters: location - the name of a supported Azure region. publisherName - a valid image publisher. offer - a valid image publisher offer. skus - a valid image SKU. expand - the expand expression to apply on the operation.
func (VirtualMachineImagesClient) ListOffers ¶
func (client VirtualMachineImagesClient) ListOffers(ctx context.Context, location string, publisherName string) (result ListVirtualMachineImageResource, err error)
ListOffers gets a list of virtual machine image offers for the specified location and publisher. Parameters: location - the name of a supported Azure region. publisherName - a valid image publisher.
func (VirtualMachineImagesClient) ListOffersPreparer ¶
func (client VirtualMachineImagesClient) ListOffersPreparer(ctx context.Context, 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(ctx context.Context, location string, publisherName string, offer string, skus string, expand string, top *int32, orderby string) (*http.Request, error)
ListPreparer prepares the List request.
func (VirtualMachineImagesClient) ListPublishers ¶
func (client VirtualMachineImagesClient) ListPublishers(ctx context.Context, location string) (result ListVirtualMachineImageResource, err error)
ListPublishers gets a list of virtual machine image publishers for the specified Azure location. Parameters: location - the name of a supported Azure region.
func (VirtualMachineImagesClient) ListPublishersPreparer ¶
func (client VirtualMachineImagesClient) ListPublishersPreparer(ctx context.Context, 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(ctx context.Context, 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. Parameters: location - the name of a supported Azure region. publisherName - a valid image publisher. offer - a valid image publisher offer.
func (VirtualMachineImagesClient) ListSkusPreparer ¶
func (client VirtualMachineImagesClient) ListSkusPreparer(ctx context.Context, 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 - Specifies the update domain of the virtual machine. PlatformUpdateDomain *int32 `json:"platformUpdateDomain,omitempty"` // PlatformFaultDomain - Specifies the fault domain of the virtual machine. PlatformFaultDomain *int32 `json:"platformFaultDomain,omitempty"` // ComputerName - The computer name assigned to the virtual machine. ComputerName *string `json:"computerName,omitempty"` // OsName - The Operating System running on the virtual machine. OsName *string `json:"osName,omitempty"` // OsVersion - The version of Operating System running on the virtual machine. OsVersion *string `json:"osVersion,omitempty"` // HyperVGeneration - Specifies the HyperVGeneration Type associated with a resource. Possible values include: 'HyperVGenerationTypeV1', 'HyperVGenerationTypeV2' HyperVGeneration HyperVGenerationType `json:"hyperVGeneration,omitempty"` // RdpThumbPrint - The Remote desktop certificate thumbprint. RdpThumbPrint *string `json:"rdpThumbPrint,omitempty"` // VMAgent - The VM Agent running on the virtual machine. VMAgent *VirtualMachineAgentInstanceView `json:"vmAgent,omitempty"` // MaintenanceRedeployStatus - The Maintenance Operation status on the virtual machine. MaintenanceRedeployStatus *MaintenanceRedeployStatus `json:"maintenanceRedeployStatus,omitempty"` // Disks - The virtual machine disk information. Disks *[]DiskInstanceView `json:"disks,omitempty"` // Extensions - The extensions information. Extensions *[]VirtualMachineExtensionInstanceView `json:"extensions,omitempty"` // VMHealth - READ-ONLY; The health status for the VM. VMHealth *VirtualMachineHealthStatus `json:"vmHealth,omitempty"` // BootDiagnostics - Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. <br><br> You can easily view the output of your console log. <br><br> Azure also enables you to see a screenshot of the VM from the hypervisor. BootDiagnostics *BootDiagnosticsInstanceView `json:"bootDiagnostics,omitempty"` // AssignedHost - READ-ONLY; Resource id of the dedicated host, on which the virtual machine is allocated through automatic placement, when the virtual machine is associated with a dedicated host group that has automatic placement enabled. <br><br>Minimum api-version: 2020-06-01. AssignedHost *string `json:"assignedHost,omitempty"` // Statuses - The resource status information. Statuses *[]InstanceViewStatus `json:"statuses,omitempty"` // PatchStatus - The status of virtual machine patch operations. PatchStatus *VirtualMachinePatchStatus `json:"patchStatus,omitempty"` }
VirtualMachineInstanceView the instance view of a virtual machine.
func (VirtualMachineInstanceView) MarshalJSON ¶
func (vmiv VirtualMachineInstanceView) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualMachineInstanceView.
type VirtualMachineListResult ¶
type VirtualMachineListResult struct { autorest.Response `json:"-"` // Value - The list of virtual machines. Value *[]VirtualMachine `json:"value,omitempty"` // NextLink - The URI to fetch the next page of VMs. Call ListNext() with this URI to fetch the next page of Virtual Machines. NextLink *string `json:"nextLink,omitempty"` }
VirtualMachineListResult the List Virtual Machine operation response.
func (VirtualMachineListResult) IsEmpty ¶
func (vmlr VirtualMachineListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type VirtualMachineListResultIterator ¶
type VirtualMachineListResultIterator struct {
// contains filtered or unexported fields
}
VirtualMachineListResultIterator provides access to a complete listing of VirtualMachine values.
func NewVirtualMachineListResultIterator ¶
func NewVirtualMachineListResultIterator(page VirtualMachineListResultPage) VirtualMachineListResultIterator
Creates a new instance of the VirtualMachineListResultIterator type.
func (*VirtualMachineListResultIterator) Next ¶
func (iter *VirtualMachineListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*VirtualMachineListResultIterator) NextWithContext ¶
func (iter *VirtualMachineListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (VirtualMachineListResultIterator) NotDone ¶
func (iter VirtualMachineListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (VirtualMachineListResultIterator) Response ¶
func (iter VirtualMachineListResultIterator) Response() VirtualMachineListResult
Response returns the raw server response from the last page request.
func (VirtualMachineListResultIterator) Value ¶
func (iter VirtualMachineListResultIterator) Value() VirtualMachine
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type VirtualMachineListResultPage ¶
type VirtualMachineListResultPage struct {
// contains filtered or unexported fields
}
VirtualMachineListResultPage contains a page of VirtualMachine values.
func NewVirtualMachineListResultPage ¶
func NewVirtualMachineListResultPage(cur VirtualMachineListResult, getNextPage func(context.Context, VirtualMachineListResult) (VirtualMachineListResult, error)) VirtualMachineListResultPage
Creates a new instance of the VirtualMachineListResultPage type.
func (*VirtualMachineListResultPage) Next ¶
func (page *VirtualMachineListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*VirtualMachineListResultPage) NextWithContext ¶
func (page *VirtualMachineListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (VirtualMachineListResultPage) NotDone ¶
func (page VirtualMachineListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (VirtualMachineListResultPage) Response ¶
func (page VirtualMachineListResultPage) Response() VirtualMachineListResult
Response returns the raw server response from the last page request.
func (VirtualMachineListResultPage) Values ¶
func (page VirtualMachineListResultPage) Values() []VirtualMachine
Values returns the slice of values for the current page or nil if there are no values.
type VirtualMachinePatchStatus ¶
type VirtualMachinePatchStatus struct { // AvailablePatchSummary - The available patch summary of the latest assessment operation for the virtual machine. AvailablePatchSummary *AvailablePatchSummary `json:"availablePatchSummary,omitempty"` // LastPatchInstallationSummary - The installation summary of the latest installation operation for the virtual machine. LastPatchInstallationSummary *LastPatchInstallationSummary `json:"lastPatchInstallationSummary,omitempty"` }
VirtualMachinePatchStatus the status of virtual machine patch operations.
type VirtualMachinePriorityTypes ¶
type VirtualMachinePriorityTypes string
VirtualMachinePriorityTypes enumerates the values for virtual machine priority types.
const ( // Low ... Low VirtualMachinePriorityTypes = "Low" // Regular ... Regular VirtualMachinePriorityTypes = "Regular" // Spot ... Spot VirtualMachinePriorityTypes = "Spot" )
func PossibleVirtualMachinePriorityTypesValues ¶
func PossibleVirtualMachinePriorityTypesValues() []VirtualMachinePriorityTypes
PossibleVirtualMachinePriorityTypesValues returns an array of possible values for the VirtualMachinePriorityTypes const type.
type VirtualMachineProperties ¶
type VirtualMachineProperties struct { // HardwareProfile - Specifies the hardware settings for the virtual machine. HardwareProfile *HardwareProfile `json:"hardwareProfile,omitempty"` // StorageProfile - Specifies the storage settings for the virtual machine disks. StorageProfile *StorageProfile `json:"storageProfile,omitempty"` // AdditionalCapabilities - Specifies additional capabilities enabled or disabled on the virtual machine. AdditionalCapabilities *AdditionalCapabilities `json:"additionalCapabilities,omitempty"` // OsProfile - Specifies the operating system settings used while creating the virtual machine. Some of the settings cannot be changed once VM is provisioned. OsProfile *OSProfile `json:"osProfile,omitempty"` // NetworkProfile - Specifies the network interfaces of the virtual machine. NetworkProfile *NetworkProfile `json:"networkProfile,omitempty"` // SecurityProfile - Specifies the Security related profile settings for the virtual machine. SecurityProfile *SecurityProfile `json:"securityProfile,omitempty"` // DiagnosticsProfile - Specifies the boot diagnostic settings state. <br><br>Minimum api-version: 2015-06-15. DiagnosticsProfile *DiagnosticsProfile `json:"diagnosticsProfile,omitempty"` // AvailabilitySet - 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 maintenance, 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. The availability set to which the VM is being added should be under the same resource group as the availability set resource. An existing VM cannot be added to an availability set. <br><br>This property cannot exist along with a non-null properties.virtualMachineScaleSet reference. AvailabilitySet *SubResource `json:"availabilitySet,omitempty"` // VirtualMachineScaleSet - Specifies information about the virtual machine scale set that the virtual machine should be assigned to. Virtual machines specified in the same virtual machine scale set are allocated to different nodes to maximize availability. Currently, a VM can only be added to virtual machine scale set at creation time. An existing VM cannot be added to a virtual machine scale set. <br><br>This property cannot exist along with a non-null properties.availabilitySet reference. <br><br>Minimum api‐version: 2019‐03‐01 VirtualMachineScaleSet *SubResource `json:"virtualMachineScaleSet,omitempty"` // ProximityPlacementGroup - Specifies information about the proximity placement group that the virtual machine should be assigned to. <br><br>Minimum api-version: 2018-04-01. ProximityPlacementGroup *SubResource `json:"proximityPlacementGroup,omitempty"` // Priority - Specifies the priority for the virtual machine. <br><br>Minimum api-version: 2019-03-01. Possible values include: 'Regular', 'Low', 'Spot' Priority VirtualMachinePriorityTypes `json:"priority,omitempty"` // EvictionPolicy - Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set. <br><br>For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01. <br><br>For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview. Possible values include: 'Deallocate', 'Delete' EvictionPolicy VirtualMachineEvictionPolicyTypes `json:"evictionPolicy,omitempty"` // BillingProfile - Specifies the billing related details of a Azure Spot virtual machine. <br><br>Minimum api-version: 2019-03-01. BillingProfile *BillingProfile `json:"billingProfile,omitempty"` // Host - Specifies information about the dedicated host that the virtual machine resides in. <br><br>Minimum api-version: 2018-10-01. Host *SubResource `json:"host,omitempty"` // HostGroup - Specifies information about the dedicated host group that the virtual machine resides in. <br><br>Minimum api-version: 2020-06-01. <br><br>NOTE: User cannot specify both host and hostGroup properties. HostGroup *SubResource `json:"hostGroup,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state, which only appears in the response. ProvisioningState *string `json:"provisioningState,omitempty"` // InstanceView - READ-ONLY; The virtual machine instance view. InstanceView *VirtualMachineInstanceView `json:"instanceView,omitempty"` // LicenseType - Specifies that the image or disk that is being used was licensed on-premises. <br><br> Possible values for Windows Server operating system are: <br><br> Windows_Client <br><br> Windows_Server <br><br> Possible values for Linux Server operating system are: <br><br> RHEL_BYOS (for RHEL) <br><br> SLES_BYOS (for SUSE) <br><br> For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing) <br><br> [Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux) <br><br> Minimum api-version: 2015-06-15 LicenseType *string `json:"licenseType,omitempty"` // VMID - READ-ONLY; Specifies the VM unique ID which is a 128-bits identifier that is encoded and stored in all Azure IaaS VMs SMBIOS and can be read using platform BIOS commands. VMID *string `json:"vmId,omitempty"` // ExtensionsTimeBudget - Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M). <br><br> Minimum api-version: 2020-06-01 ExtensionsTimeBudget *string `json:"extensionsTimeBudget,omitempty"` }
VirtualMachineProperties describes the properties of a Virtual Machine.
func (VirtualMachineProperties) MarshalJSON ¶
func (vmp VirtualMachineProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualMachineProperties.
type VirtualMachineReimageParameters ¶
type VirtualMachineReimageParameters struct { // TempDisk - Specifies whether to reimage temp disk. Default value: false. Note: This temp disk reimage parameter is only supported for VM/VMSS with Ephemeral OS disk. TempDisk *bool `json:"tempDisk,omitempty"` }
VirtualMachineReimageParameters parameters for Reimaging Virtual Machine. NOTE: Virtual Machine OS disk will always be reimaged
type VirtualMachineScaleSet ¶
type VirtualMachineScaleSet struct { autorest.Response `json:"-"` // Sku - The virtual machine scale set sku. Sku *Sku `json:"sku,omitempty"` // Plan - 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**. Plan *Plan `json:"plan,omitempty"` *VirtualMachineScaleSetProperties `json:"properties,omitempty"` // Identity - The identity of the virtual machine scale set, if configured. Identity *VirtualMachineScaleSetIdentity `json:"identity,omitempty"` // Zones - The virtual machine scale set zones. NOTE: Availability zones can only be set when you create the scale set Zones *[]string `json:"zones,omitempty"` // ID - READ-ONLY; Resource Id ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type Type *string `json:"type,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
VirtualMachineScaleSet describes a Virtual Machine Scale Set.
func (VirtualMachineScaleSet) MarshalJSON ¶
func (vmss VirtualMachineScaleSet) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualMachineScaleSet.
func (*VirtualMachineScaleSet) UnmarshalJSON ¶
func (vmss *VirtualMachineScaleSet) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VirtualMachineScaleSet struct.
type VirtualMachineScaleSetDataDisk ¶
type VirtualMachineScaleSetDataDisk struct { // Name - The disk name. Name *string `json:"name,omitempty"` // Lun - Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. Lun *int32 `json:"lun,omitempty"` // Caching - Specifies the caching requirements. <br><br> Possible values are: <br><br> **None** <br><br> **ReadOnly** <br><br> **ReadWrite** <br><br> Default: **None for Standard storage. ReadOnly for Premium storage**. Possible values include: 'CachingTypesNone', 'CachingTypesReadOnly', 'CachingTypesReadWrite' Caching CachingTypes `json:"caching,omitempty"` // WriteAcceleratorEnabled - Specifies whether writeAccelerator should be enabled or disabled on the disk. WriteAcceleratorEnabled *bool `json:"writeAcceleratorEnabled,omitempty"` // CreateOption - The create option. Possible values include: 'DiskCreateOptionTypesFromImage', 'DiskCreateOptionTypesEmpty', 'DiskCreateOptionTypesAttach' CreateOption DiskCreateOptionTypes `json:"createOption,omitempty"` // DiskSizeGB - Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. <br><br> This value cannot be larger than 1023 GB DiskSizeGB *int32 `json:"diskSizeGB,omitempty"` // ManagedDisk - The managed disk parameters. ManagedDisk *VirtualMachineScaleSetManagedDiskParameters `json:"managedDisk,omitempty"` // DiskIOPSReadWrite - Specifies the Read-Write IOPS for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB. DiskIOPSReadWrite *int64 `json:"diskIOPSReadWrite,omitempty"` // DiskMBpsReadWrite - Specifies the bandwidth in MB per second for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB. DiskMBpsReadWrite *int64 `json:"diskMBpsReadWrite,omitempty"` }
VirtualMachineScaleSetDataDisk describes a virtual machine scale set data disk.
type VirtualMachineScaleSetExtension ¶
type VirtualMachineScaleSetExtension struct { autorest.Response `json:"-"` // Name - The name of the extension. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type Type *string `json:"type,omitempty"` *VirtualMachineScaleSetExtensionProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id ID *string `json:"id,omitempty"` }
VirtualMachineScaleSetExtension describes a Virtual Machine Scale Set Extension.
func (VirtualMachineScaleSetExtension) MarshalJSON ¶
func (vmsse VirtualMachineScaleSetExtension) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualMachineScaleSetExtension.
func (*VirtualMachineScaleSetExtension) UnmarshalJSON ¶
func (vmsse *VirtualMachineScaleSetExtension) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VirtualMachineScaleSetExtension struct.
type VirtualMachineScaleSetExtensionListResult ¶
type VirtualMachineScaleSetExtensionListResult struct { autorest.Response `json:"-"` // Value - The list of VM scale set extensions. Value *[]VirtualMachineScaleSetExtension `json:"value,omitempty"` // NextLink - The uri to fetch the next page of VM scale set extensions. Call ListNext() with this to fetch the next page of VM scale set extensions. NextLink *string `json:"nextLink,omitempty"` }
VirtualMachineScaleSetExtensionListResult the List VM scale set extension operation response.
func (VirtualMachineScaleSetExtensionListResult) IsEmpty ¶
func (vmsselr VirtualMachineScaleSetExtensionListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type VirtualMachineScaleSetExtensionListResultIterator ¶
type VirtualMachineScaleSetExtensionListResultIterator struct {
// contains filtered or unexported fields
}
VirtualMachineScaleSetExtensionListResultIterator provides access to a complete listing of VirtualMachineScaleSetExtension values.
func NewVirtualMachineScaleSetExtensionListResultIterator ¶
func NewVirtualMachineScaleSetExtensionListResultIterator(page VirtualMachineScaleSetExtensionListResultPage) VirtualMachineScaleSetExtensionListResultIterator
Creates a new instance of the VirtualMachineScaleSetExtensionListResultIterator type.
func (*VirtualMachineScaleSetExtensionListResultIterator) Next ¶
func (iter *VirtualMachineScaleSetExtensionListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*VirtualMachineScaleSetExtensionListResultIterator) NextWithContext ¶
func (iter *VirtualMachineScaleSetExtensionListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (VirtualMachineScaleSetExtensionListResultIterator) NotDone ¶
func (iter VirtualMachineScaleSetExtensionListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (VirtualMachineScaleSetExtensionListResultIterator) Response ¶
func (iter VirtualMachineScaleSetExtensionListResultIterator) Response() VirtualMachineScaleSetExtensionListResult
Response returns the raw server response from the last page request.
func (VirtualMachineScaleSetExtensionListResultIterator) Value ¶
func (iter VirtualMachineScaleSetExtensionListResultIterator) Value() VirtualMachineScaleSetExtension
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type VirtualMachineScaleSetExtensionListResultPage ¶
type VirtualMachineScaleSetExtensionListResultPage struct {
// contains filtered or unexported fields
}
VirtualMachineScaleSetExtensionListResultPage contains a page of VirtualMachineScaleSetExtension values.
func NewVirtualMachineScaleSetExtensionListResultPage ¶
func NewVirtualMachineScaleSetExtensionListResultPage(cur VirtualMachineScaleSetExtensionListResult, getNextPage func(context.Context, VirtualMachineScaleSetExtensionListResult) (VirtualMachineScaleSetExtensionListResult, error)) VirtualMachineScaleSetExtensionListResultPage
Creates a new instance of the VirtualMachineScaleSetExtensionListResultPage type.
func (*VirtualMachineScaleSetExtensionListResultPage) Next ¶
func (page *VirtualMachineScaleSetExtensionListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*VirtualMachineScaleSetExtensionListResultPage) NextWithContext ¶
func (page *VirtualMachineScaleSetExtensionListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (VirtualMachineScaleSetExtensionListResultPage) NotDone ¶
func (page VirtualMachineScaleSetExtensionListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (VirtualMachineScaleSetExtensionListResultPage) Response ¶
func (page VirtualMachineScaleSetExtensionListResultPage) Response() VirtualMachineScaleSetExtensionListResult
Response returns the raw server response from the last page request.
func (VirtualMachineScaleSetExtensionListResultPage) Values ¶
func (page VirtualMachineScaleSetExtensionListResultPage) Values() []VirtualMachineScaleSetExtension
Values returns the slice of values for the current page or nil if there are no values.
type VirtualMachineScaleSetExtensionProfile ¶
type VirtualMachineScaleSetExtensionProfile struct { // Extensions - The virtual machine scale set child extension resources. Extensions *[]VirtualMachineScaleSetExtension `json:"extensions,omitempty"` // ExtensionsTimeBudget - Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M). <br><br> Minimum api-version: 2020-06-01 ExtensionsTimeBudget *string `json:"extensionsTimeBudget,omitempty"` }
VirtualMachineScaleSetExtensionProfile describes a virtual machine scale set extension profile.
type VirtualMachineScaleSetExtensionProperties ¶
type VirtualMachineScaleSetExtensionProperties struct { // ForceUpdateTag - If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed. ForceUpdateTag *string `json:"forceUpdateTag,omitempty"` // Publisher - The name of the extension handler publisher. Publisher *string `json:"publisher,omitempty"` // Type - Specifies the type of the extension; an example is "CustomScriptExtension". Type *string `json:"type,omitempty"` // TypeHandlerVersion - Specifies the version of the script handler. TypeHandlerVersion *string `json:"typeHandlerVersion,omitempty"` // AutoUpgradeMinorVersion - Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true. AutoUpgradeMinorVersion *bool `json:"autoUpgradeMinorVersion,omitempty"` // EnableAutomaticUpgrade - Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available. EnableAutomaticUpgrade *bool `json:"enableAutomaticUpgrade,omitempty"` // Settings - Json formatted public settings for the extension. Settings interface{} `json:"settings,omitempty"` // ProtectedSettings - The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. ProtectedSettings interface{} `json:"protectedSettings,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state, which only appears in the response. ProvisioningState *string `json:"provisioningState,omitempty"` // ProvisionAfterExtensions - Collection of extension names after which this extension needs to be provisioned. ProvisionAfterExtensions *[]string `json:"provisionAfterExtensions,omitempty"` }
VirtualMachineScaleSetExtensionProperties describes the properties of a Virtual Machine Scale Set Extension.
func (VirtualMachineScaleSetExtensionProperties) MarshalJSON ¶
func (vmssep VirtualMachineScaleSetExtensionProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualMachineScaleSetExtensionProperties.
type VirtualMachineScaleSetExtensionUpdate ¶
type VirtualMachineScaleSetExtensionUpdate struct { // Name - READ-ONLY; The name of the extension. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type Type *string `json:"type,omitempty"` *VirtualMachineScaleSetExtensionProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id ID *string `json:"id,omitempty"` }
VirtualMachineScaleSetExtensionUpdate describes a Virtual Machine Scale Set Extension.
func (VirtualMachineScaleSetExtensionUpdate) MarshalJSON ¶
func (vmsseu VirtualMachineScaleSetExtensionUpdate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualMachineScaleSetExtensionUpdate.
func (*VirtualMachineScaleSetExtensionUpdate) UnmarshalJSON ¶
func (vmsseu *VirtualMachineScaleSetExtensionUpdate) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VirtualMachineScaleSetExtensionUpdate struct.
type VirtualMachineScaleSetExtensionsClient ¶
type VirtualMachineScaleSetExtensionsClient struct {
BaseClient
}
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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (VirtualMachineScaleSetExtensionsClient) CreateOrUpdate ¶
func (client VirtualMachineScaleSetExtensionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, VMScaleSetName string, vmssExtensionName string, extensionParameters VirtualMachineScaleSetExtension) (result VirtualMachineScaleSetExtensionsCreateOrUpdateFuture, err error)
CreateOrUpdate the operation to create or update an extension. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set where the extension should be create or updated. vmssExtensionName - the name of the VM scale set extension. extensionParameters - parameters supplied to the Create VM scale set Extension operation.
func (VirtualMachineScaleSetExtensionsClient) CreateOrUpdatePreparer ¶
func (client VirtualMachineScaleSetExtensionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, vmssExtensionName string, extensionParameters VirtualMachineScaleSetExtension) (*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) (future VirtualMachineScaleSetExtensionsCreateOrUpdateFuture, err 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(ctx context.Context, resourceGroupName string, VMScaleSetName string, vmssExtensionName string) (result VirtualMachineScaleSetExtensionsDeleteFuture, err error)
Delete the operation to delete the extension. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set where the extension should be deleted. vmssExtensionName - the name of the VM scale set extension.
func (VirtualMachineScaleSetExtensionsClient) DeletePreparer ¶
func (client VirtualMachineScaleSetExtensionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, vmssExtensionName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (VirtualMachineScaleSetExtensionsClient) DeleteResponder ¶
func (client VirtualMachineScaleSetExtensionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetExtensionsClient) DeleteSender ¶
func (client VirtualMachineScaleSetExtensionsClient) DeleteSender(req *http.Request) (future VirtualMachineScaleSetExtensionsDeleteFuture, err 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(ctx context.Context, resourceGroupName string, VMScaleSetName string, vmssExtensionName string, expand string) (result VirtualMachineScaleSetExtension, err error)
Get the operation to get the extension. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set containing the extension. vmssExtensionName - the name of the VM scale set extension. expand - the expand expression to apply on the operation.
func (VirtualMachineScaleSetExtensionsClient) GetPreparer ¶
func (client VirtualMachineScaleSetExtensionsClient) GetPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetExtensionListResultPage, err error)
List gets a list of all extensions in a VM scale set. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set containing the extension.
func (VirtualMachineScaleSetExtensionsClient) ListComplete ¶
func (client VirtualMachineScaleSetExtensionsClient) ListComplete(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetExtensionListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (VirtualMachineScaleSetExtensionsClient) ListPreparer ¶
func (client VirtualMachineScaleSetExtensionsClient) ListPreparer(ctx context.Context, 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.
func (VirtualMachineScaleSetExtensionsClient) Update ¶
func (client VirtualMachineScaleSetExtensionsClient) Update(ctx context.Context, resourceGroupName string, VMScaleSetName string, vmssExtensionName string, extensionParameters VirtualMachineScaleSetExtensionUpdate) (result VirtualMachineScaleSetExtensionsUpdateFuture, err error)
Update the operation to update an extension. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set where the extension should be updated. vmssExtensionName - the name of the VM scale set extension. extensionParameters - parameters supplied to the Update VM scale set Extension operation.
func (VirtualMachineScaleSetExtensionsClient) UpdatePreparer ¶
func (client VirtualMachineScaleSetExtensionsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, vmssExtensionName string, extensionParameters VirtualMachineScaleSetExtensionUpdate) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (VirtualMachineScaleSetExtensionsClient) UpdateResponder ¶
func (client VirtualMachineScaleSetExtensionsClient) UpdateResponder(resp *http.Response) (result VirtualMachineScaleSetExtension, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetExtensionsClient) UpdateSender ¶
func (client VirtualMachineScaleSetExtensionsClient) UpdateSender(req *http.Request) (future VirtualMachineScaleSetExtensionsUpdateFuture, err error)
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type VirtualMachineScaleSetExtensionsCreateOrUpdateFuture ¶
type VirtualMachineScaleSetExtensionsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualMachineScaleSetExtensionsClient) (VirtualMachineScaleSetExtension, error) }
VirtualMachineScaleSetExtensionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualMachineScaleSetExtensionsCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *VirtualMachineScaleSetExtensionsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualMachineScaleSetExtensionsDeleteFuture ¶
type VirtualMachineScaleSetExtensionsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualMachineScaleSetExtensionsClient) (autorest.Response, error) }
VirtualMachineScaleSetExtensionsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualMachineScaleSetExtensionsDeleteFuture) UnmarshalJSON ¶
func (future *VirtualMachineScaleSetExtensionsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualMachineScaleSetExtensionsUpdateFuture ¶
type VirtualMachineScaleSetExtensionsUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualMachineScaleSetExtensionsClient) (VirtualMachineScaleSetExtension, error) }
VirtualMachineScaleSetExtensionsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualMachineScaleSetExtensionsUpdateFuture) UnmarshalJSON ¶
func (future *VirtualMachineScaleSetExtensionsUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualMachineScaleSetIPConfiguration ¶
type VirtualMachineScaleSetIPConfiguration struct { // Name - The IP configuration name. Name *string `json:"name,omitempty"` *VirtualMachineScaleSetIPConfigurationProperties `json:"properties,omitempty"` // ID - Resource Id ID *string `json:"id,omitempty"` }
VirtualMachineScaleSetIPConfiguration describes a virtual machine scale set network profile's IP configuration.
func (VirtualMachineScaleSetIPConfiguration) MarshalJSON ¶
func (vmssic VirtualMachineScaleSetIPConfiguration) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualMachineScaleSetIPConfiguration.
func (*VirtualMachineScaleSetIPConfiguration) UnmarshalJSON ¶
func (vmssic *VirtualMachineScaleSetIPConfiguration) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VirtualMachineScaleSetIPConfiguration struct.
type VirtualMachineScaleSetIPConfigurationProperties ¶
type VirtualMachineScaleSetIPConfigurationProperties struct { // Subnet - Specifies the identifier of the subnet. Subnet *APIEntityReference `json:"subnet,omitempty"` // Primary - Specifies the primary network interface in case the virtual machine has more than 1 network interface. Primary *bool `json:"primary,omitempty"` // PublicIPAddressConfiguration - The publicIPAddressConfiguration. PublicIPAddressConfiguration *VirtualMachineScaleSetPublicIPAddressConfiguration `json:"publicIPAddressConfiguration,omitempty"` // PrivateIPAddressVersion - Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'. Possible values include: 'IPv4', 'IPv6' PrivateIPAddressVersion IPVersion `json:"privateIPAddressVersion,omitempty"` // ApplicationGatewayBackendAddressPools - Specifies an array of references to backend address pools of application gateways. A scale set can reference backend address pools of multiple application gateways. Multiple scale sets cannot use the same application gateway. ApplicationGatewayBackendAddressPools *[]SubResource `json:"applicationGatewayBackendAddressPools,omitempty"` // ApplicationSecurityGroups - Specifies an array of references to application security group. ApplicationSecurityGroups *[]SubResource `json:"applicationSecurityGroups,omitempty"` // LoadBalancerBackendAddressPools - Specifies an array of references to backend address pools of load balancers. A scale set can reference backend address pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer. LoadBalancerBackendAddressPools *[]SubResource `json:"loadBalancerBackendAddressPools,omitempty"` // LoadBalancerInboundNatPools - Specifies an array of references to inbound Nat pools of the load balancers. A scale set can reference inbound nat pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer. LoadBalancerInboundNatPools *[]SubResource `json:"loadBalancerInboundNatPools,omitempty"` }
VirtualMachineScaleSetIPConfigurationProperties describes a virtual machine scale set network profile's IP configuration properties.
type VirtualMachineScaleSetIPTag ¶
type VirtualMachineScaleSetIPTag struct { // IPTagType - IP tag type. Example: FirstPartyUsage. IPTagType *string `json:"ipTagType,omitempty"` // Tag - IP tag associated with the public IP. Example: SQL, Storage etc. Tag *string `json:"tag,omitempty"` }
VirtualMachineScaleSetIPTag contains the IP tag associated with the public IP address.
type VirtualMachineScaleSetIdentity ¶
type VirtualMachineScaleSetIdentity struct { // PrincipalID - READ-ONLY; The principal id of virtual machine scale set identity. This property will only be provided for a system assigned identity. PrincipalID *string `json:"principalId,omitempty"` // TenantID - READ-ONLY; The tenant id associated with the virtual machine scale set. This property will only be provided for a system assigned identity. TenantID *string `json:"tenantId,omitempty"` // Type - The type of identity used for the virtual machine scale set. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine scale set. Possible values include: 'ResourceIdentityTypeSystemAssigned', 'ResourceIdentityTypeUserAssigned', 'ResourceIdentityTypeSystemAssignedUserAssigned', 'ResourceIdentityTypeNone' Type ResourceIdentityType `json:"type,omitempty"` // UserAssignedIdentities - The list of user identities associated with the virtual machine scale set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. UserAssignedIdentities map[string]*VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue `json:"userAssignedIdentities"` }
VirtualMachineScaleSetIdentity identity for the virtual machine scale set.
func (VirtualMachineScaleSetIdentity) MarshalJSON ¶
func (vmssi VirtualMachineScaleSetIdentity) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualMachineScaleSetIdentity.
type VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue ¶
type VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue struct { // PrincipalID - READ-ONLY; The principal id of user assigned identity. PrincipalID *string `json:"principalId,omitempty"` // ClientID - READ-ONLY; The client id of user assigned identity. ClientID *string `json:"clientId,omitempty"` }
VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue ...
type VirtualMachineScaleSetInstanceView ¶
type VirtualMachineScaleSetInstanceView struct { autorest.Response `json:"-"` // VirtualMachine - READ-ONLY; The instance view status summary for the virtual machine scale set. VirtualMachine *VirtualMachineScaleSetInstanceViewStatusesSummary `json:"virtualMachine,omitempty"` // Extensions - READ-ONLY; The extensions information. Extensions *[]VirtualMachineScaleSetVMExtensionsSummary `json:"extensions,omitempty"` // Statuses - The resource status information. Statuses *[]InstanceViewStatus `json:"statuses,omitempty"` // OrchestrationServices - READ-ONLY; The orchestration services information. OrchestrationServices *[]OrchestrationServiceSummary `json:"orchestrationServices,omitempty"` }
VirtualMachineScaleSetInstanceView the instance view of a virtual machine scale set.
func (VirtualMachineScaleSetInstanceView) MarshalJSON ¶
func (vmssiv VirtualMachineScaleSetInstanceView) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualMachineScaleSetInstanceView.
type VirtualMachineScaleSetInstanceViewStatusesSummary ¶
type VirtualMachineScaleSetInstanceViewStatusesSummary struct { // StatusesSummary - READ-ONLY; The extensions information. StatusesSummary *[]VirtualMachineStatusCodeCount `json:"statusesSummary,omitempty"` }
VirtualMachineScaleSetInstanceViewStatusesSummary instance view statuses summary for virtual machines of a virtual machine scale set.
type VirtualMachineScaleSetListOSUpgradeHistory ¶
type VirtualMachineScaleSetListOSUpgradeHistory struct { autorest.Response `json:"-"` // Value - The list of OS upgrades performed on the virtual machine scale set. Value *[]UpgradeOperationHistoricalStatusInfo `json:"value,omitempty"` // NextLink - The uri to fetch the next page of OS Upgrade History. Call ListNext() with this to fetch the next page of history of upgrades. NextLink *string `json:"nextLink,omitempty"` }
VirtualMachineScaleSetListOSUpgradeHistory list of Virtual Machine Scale Set OS Upgrade History operation response.
func (VirtualMachineScaleSetListOSUpgradeHistory) IsEmpty ¶
func (vmsslouh VirtualMachineScaleSetListOSUpgradeHistory) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type VirtualMachineScaleSetListOSUpgradeHistoryIterator ¶
type VirtualMachineScaleSetListOSUpgradeHistoryIterator struct {
// contains filtered or unexported fields
}
VirtualMachineScaleSetListOSUpgradeHistoryIterator provides access to a complete listing of UpgradeOperationHistoricalStatusInfo values.
func NewVirtualMachineScaleSetListOSUpgradeHistoryIterator ¶
func NewVirtualMachineScaleSetListOSUpgradeHistoryIterator(page VirtualMachineScaleSetListOSUpgradeHistoryPage) VirtualMachineScaleSetListOSUpgradeHistoryIterator
Creates a new instance of the VirtualMachineScaleSetListOSUpgradeHistoryIterator type.
func (*VirtualMachineScaleSetListOSUpgradeHistoryIterator) Next ¶
func (iter *VirtualMachineScaleSetListOSUpgradeHistoryIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*VirtualMachineScaleSetListOSUpgradeHistoryIterator) NextWithContext ¶
func (iter *VirtualMachineScaleSetListOSUpgradeHistoryIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (VirtualMachineScaleSetListOSUpgradeHistoryIterator) NotDone ¶
func (iter VirtualMachineScaleSetListOSUpgradeHistoryIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (VirtualMachineScaleSetListOSUpgradeHistoryIterator) Response ¶
func (iter VirtualMachineScaleSetListOSUpgradeHistoryIterator) Response() VirtualMachineScaleSetListOSUpgradeHistory
Response returns the raw server response from the last page request.
func (VirtualMachineScaleSetListOSUpgradeHistoryIterator) Value ¶
func (iter VirtualMachineScaleSetListOSUpgradeHistoryIterator) Value() UpgradeOperationHistoricalStatusInfo
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type VirtualMachineScaleSetListOSUpgradeHistoryPage ¶
type VirtualMachineScaleSetListOSUpgradeHistoryPage struct {
// contains filtered or unexported fields
}
VirtualMachineScaleSetListOSUpgradeHistoryPage contains a page of UpgradeOperationHistoricalStatusInfo values.
func NewVirtualMachineScaleSetListOSUpgradeHistoryPage ¶
func NewVirtualMachineScaleSetListOSUpgradeHistoryPage(cur VirtualMachineScaleSetListOSUpgradeHistory, getNextPage func(context.Context, VirtualMachineScaleSetListOSUpgradeHistory) (VirtualMachineScaleSetListOSUpgradeHistory, error)) VirtualMachineScaleSetListOSUpgradeHistoryPage
Creates a new instance of the VirtualMachineScaleSetListOSUpgradeHistoryPage type.
func (*VirtualMachineScaleSetListOSUpgradeHistoryPage) Next ¶
func (page *VirtualMachineScaleSetListOSUpgradeHistoryPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*VirtualMachineScaleSetListOSUpgradeHistoryPage) NextWithContext ¶
func (page *VirtualMachineScaleSetListOSUpgradeHistoryPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (VirtualMachineScaleSetListOSUpgradeHistoryPage) NotDone ¶
func (page VirtualMachineScaleSetListOSUpgradeHistoryPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (VirtualMachineScaleSetListOSUpgradeHistoryPage) Response ¶
func (page VirtualMachineScaleSetListOSUpgradeHistoryPage) Response() VirtualMachineScaleSetListOSUpgradeHistory
Response returns the raw server response from the last page request.
func (VirtualMachineScaleSetListOSUpgradeHistoryPage) Values ¶
func (page VirtualMachineScaleSetListOSUpgradeHistoryPage) Values() []UpgradeOperationHistoricalStatusInfo
Values returns the slice of values for the current page or nil if there are no values.
type VirtualMachineScaleSetListResult ¶
type VirtualMachineScaleSetListResult struct { autorest.Response `json:"-"` // Value - The list of virtual machine scale sets. Value *[]VirtualMachineScaleSet `json:"value,omitempty"` // NextLink - The uri to fetch the next page of Virtual Machine Scale Sets. Call ListNext() with this to fetch the next page of VMSS. NextLink *string `json:"nextLink,omitempty"` }
VirtualMachineScaleSetListResult the List Virtual Machine operation response.
func (VirtualMachineScaleSetListResult) IsEmpty ¶
func (vmsslr VirtualMachineScaleSetListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type VirtualMachineScaleSetListResultIterator ¶
type VirtualMachineScaleSetListResultIterator struct {
// contains filtered or unexported fields
}
VirtualMachineScaleSetListResultIterator provides access to a complete listing of VirtualMachineScaleSet values.
func NewVirtualMachineScaleSetListResultIterator ¶
func NewVirtualMachineScaleSetListResultIterator(page VirtualMachineScaleSetListResultPage) VirtualMachineScaleSetListResultIterator
Creates a new instance of the VirtualMachineScaleSetListResultIterator type.
func (*VirtualMachineScaleSetListResultIterator) Next ¶
func (iter *VirtualMachineScaleSetListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*VirtualMachineScaleSetListResultIterator) NextWithContext ¶
func (iter *VirtualMachineScaleSetListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (VirtualMachineScaleSetListResultIterator) NotDone ¶
func (iter VirtualMachineScaleSetListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (VirtualMachineScaleSetListResultIterator) Response ¶
func (iter VirtualMachineScaleSetListResultIterator) Response() VirtualMachineScaleSetListResult
Response returns the raw server response from the last page request.
func (VirtualMachineScaleSetListResultIterator) Value ¶
func (iter VirtualMachineScaleSetListResultIterator) Value() VirtualMachineScaleSet
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type VirtualMachineScaleSetListResultPage ¶
type VirtualMachineScaleSetListResultPage struct {
// contains filtered or unexported fields
}
VirtualMachineScaleSetListResultPage contains a page of VirtualMachineScaleSet values.
func NewVirtualMachineScaleSetListResultPage ¶
func NewVirtualMachineScaleSetListResultPage(cur VirtualMachineScaleSetListResult, getNextPage func(context.Context, VirtualMachineScaleSetListResult) (VirtualMachineScaleSetListResult, error)) VirtualMachineScaleSetListResultPage
Creates a new instance of the VirtualMachineScaleSetListResultPage type.
func (*VirtualMachineScaleSetListResultPage) Next ¶
func (page *VirtualMachineScaleSetListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*VirtualMachineScaleSetListResultPage) NextWithContext ¶
func (page *VirtualMachineScaleSetListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (VirtualMachineScaleSetListResultPage) NotDone ¶
func (page VirtualMachineScaleSetListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (VirtualMachineScaleSetListResultPage) Response ¶
func (page VirtualMachineScaleSetListResultPage) Response() VirtualMachineScaleSetListResult
Response returns the raw server response from the last page request.
func (VirtualMachineScaleSetListResultPage) Values ¶
func (page VirtualMachineScaleSetListResultPage) Values() []VirtualMachineScaleSet
Values returns the slice of values for the current page or nil if there are no values.
type VirtualMachineScaleSetListSkusResult ¶
type VirtualMachineScaleSetListSkusResult struct { autorest.Response `json:"-"` // Value - The list of skus available for the virtual machine scale set. Value *[]VirtualMachineScaleSetSku `json:"value,omitempty"` // NextLink - The uri to fetch the next page of Virtual Machine Scale Set Skus. Call ListNext() with this to fetch the next page of VMSS Skus. NextLink *string `json:"nextLink,omitempty"` }
VirtualMachineScaleSetListSkusResult the Virtual Machine Scale Set List Skus operation response.
func (VirtualMachineScaleSetListSkusResult) IsEmpty ¶
func (vmsslsr VirtualMachineScaleSetListSkusResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type VirtualMachineScaleSetListSkusResultIterator ¶
type VirtualMachineScaleSetListSkusResultIterator struct {
// contains filtered or unexported fields
}
VirtualMachineScaleSetListSkusResultIterator provides access to a complete listing of VirtualMachineScaleSetSku values.
func NewVirtualMachineScaleSetListSkusResultIterator ¶
func NewVirtualMachineScaleSetListSkusResultIterator(page VirtualMachineScaleSetListSkusResultPage) VirtualMachineScaleSetListSkusResultIterator
Creates a new instance of the VirtualMachineScaleSetListSkusResultIterator type.
func (*VirtualMachineScaleSetListSkusResultIterator) Next ¶
func (iter *VirtualMachineScaleSetListSkusResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*VirtualMachineScaleSetListSkusResultIterator) NextWithContext ¶
func (iter *VirtualMachineScaleSetListSkusResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (VirtualMachineScaleSetListSkusResultIterator) NotDone ¶
func (iter VirtualMachineScaleSetListSkusResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (VirtualMachineScaleSetListSkusResultIterator) Response ¶
func (iter VirtualMachineScaleSetListSkusResultIterator) Response() VirtualMachineScaleSetListSkusResult
Response returns the raw server response from the last page request.
func (VirtualMachineScaleSetListSkusResultIterator) Value ¶
func (iter VirtualMachineScaleSetListSkusResultIterator) Value() VirtualMachineScaleSetSku
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type VirtualMachineScaleSetListSkusResultPage ¶
type VirtualMachineScaleSetListSkusResultPage struct {
// contains filtered or unexported fields
}
VirtualMachineScaleSetListSkusResultPage contains a page of VirtualMachineScaleSetSku values.
func NewVirtualMachineScaleSetListSkusResultPage ¶
func NewVirtualMachineScaleSetListSkusResultPage(cur VirtualMachineScaleSetListSkusResult, getNextPage func(context.Context, VirtualMachineScaleSetListSkusResult) (VirtualMachineScaleSetListSkusResult, error)) VirtualMachineScaleSetListSkusResultPage
Creates a new instance of the VirtualMachineScaleSetListSkusResultPage type.
func (*VirtualMachineScaleSetListSkusResultPage) Next ¶
func (page *VirtualMachineScaleSetListSkusResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*VirtualMachineScaleSetListSkusResultPage) NextWithContext ¶
func (page *VirtualMachineScaleSetListSkusResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (VirtualMachineScaleSetListSkusResultPage) NotDone ¶
func (page VirtualMachineScaleSetListSkusResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (VirtualMachineScaleSetListSkusResultPage) Response ¶
func (page VirtualMachineScaleSetListSkusResultPage) Response() VirtualMachineScaleSetListSkusResult
Response returns the raw server response from the last page request.
func (VirtualMachineScaleSetListSkusResultPage) Values ¶
func (page VirtualMachineScaleSetListSkusResultPage) Values() []VirtualMachineScaleSetSku
Values returns the slice of values for the current page or nil if there are no values.
type VirtualMachineScaleSetListWithLinkResult ¶
type VirtualMachineScaleSetListWithLinkResult struct { autorest.Response `json:"-"` // Value - The list of virtual machine scale sets. Value *[]VirtualMachineScaleSet `json:"value,omitempty"` // NextLink - The uri to fetch the next page of Virtual Machine Scale Sets. Call ListNext() with this to fetch the next page of Virtual Machine Scale Sets. NextLink *string `json:"nextLink,omitempty"` }
VirtualMachineScaleSetListWithLinkResult the List Virtual Machine operation response.
func (VirtualMachineScaleSetListWithLinkResult) IsEmpty ¶
func (vmsslwlr VirtualMachineScaleSetListWithLinkResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type VirtualMachineScaleSetListWithLinkResultIterator ¶
type VirtualMachineScaleSetListWithLinkResultIterator struct {
// contains filtered or unexported fields
}
VirtualMachineScaleSetListWithLinkResultIterator provides access to a complete listing of VirtualMachineScaleSet values.
func NewVirtualMachineScaleSetListWithLinkResultIterator ¶
func NewVirtualMachineScaleSetListWithLinkResultIterator(page VirtualMachineScaleSetListWithLinkResultPage) VirtualMachineScaleSetListWithLinkResultIterator
Creates a new instance of the VirtualMachineScaleSetListWithLinkResultIterator type.
func (*VirtualMachineScaleSetListWithLinkResultIterator) Next ¶
func (iter *VirtualMachineScaleSetListWithLinkResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*VirtualMachineScaleSetListWithLinkResultIterator) NextWithContext ¶
func (iter *VirtualMachineScaleSetListWithLinkResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (VirtualMachineScaleSetListWithLinkResultIterator) NotDone ¶
func (iter VirtualMachineScaleSetListWithLinkResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (VirtualMachineScaleSetListWithLinkResultIterator) Response ¶
func (iter VirtualMachineScaleSetListWithLinkResultIterator) Response() VirtualMachineScaleSetListWithLinkResult
Response returns the raw server response from the last page request.
func (VirtualMachineScaleSetListWithLinkResultIterator) Value ¶
func (iter VirtualMachineScaleSetListWithLinkResultIterator) Value() VirtualMachineScaleSet
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type VirtualMachineScaleSetListWithLinkResultPage ¶
type VirtualMachineScaleSetListWithLinkResultPage struct {
// contains filtered or unexported fields
}
VirtualMachineScaleSetListWithLinkResultPage contains a page of VirtualMachineScaleSet values.
func NewVirtualMachineScaleSetListWithLinkResultPage ¶
func NewVirtualMachineScaleSetListWithLinkResultPage(cur VirtualMachineScaleSetListWithLinkResult, getNextPage func(context.Context, VirtualMachineScaleSetListWithLinkResult) (VirtualMachineScaleSetListWithLinkResult, error)) VirtualMachineScaleSetListWithLinkResultPage
Creates a new instance of the VirtualMachineScaleSetListWithLinkResultPage type.
func (*VirtualMachineScaleSetListWithLinkResultPage) Next ¶
func (page *VirtualMachineScaleSetListWithLinkResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*VirtualMachineScaleSetListWithLinkResultPage) NextWithContext ¶
func (page *VirtualMachineScaleSetListWithLinkResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (VirtualMachineScaleSetListWithLinkResultPage) NotDone ¶
func (page VirtualMachineScaleSetListWithLinkResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (VirtualMachineScaleSetListWithLinkResultPage) Response ¶
func (page VirtualMachineScaleSetListWithLinkResultPage) Response() VirtualMachineScaleSetListWithLinkResult
Response returns the raw server response from the last page request.
func (VirtualMachineScaleSetListWithLinkResultPage) Values ¶
func (page VirtualMachineScaleSetListWithLinkResultPage) Values() []VirtualMachineScaleSet
Values returns the slice of values for the current page or nil if there are no values.
type VirtualMachineScaleSetManagedDiskParameters ¶
type VirtualMachineScaleSetManagedDiskParameters struct { // StorageAccountType - Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk. Possible values include: 'StorageAccountTypesStandardLRS', 'StorageAccountTypesPremiumLRS', 'StorageAccountTypesStandardSSDLRS', 'StorageAccountTypesUltraSSDLRS' StorageAccountType StorageAccountTypes `json:"storageAccountType,omitempty"` // DiskEncryptionSet - Specifies the customer managed disk encryption set resource id for the managed disk. DiskEncryptionSet *DiskEncryptionSetParameters `json:"diskEncryptionSet,omitempty"` }
VirtualMachineScaleSetManagedDiskParameters describes the parameters of a ScaleSet managed disk.
type VirtualMachineScaleSetNetworkConfiguration ¶
type VirtualMachineScaleSetNetworkConfiguration struct { // Name - The network configuration name. Name *string `json:"name,omitempty"` *VirtualMachineScaleSetNetworkConfigurationProperties `json:"properties,omitempty"` // ID - Resource Id ID *string `json:"id,omitempty"` }
VirtualMachineScaleSetNetworkConfiguration describes a virtual machine scale set network profile's network configurations.
func (VirtualMachineScaleSetNetworkConfiguration) MarshalJSON ¶
func (vmssnc VirtualMachineScaleSetNetworkConfiguration) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualMachineScaleSetNetworkConfiguration.
func (*VirtualMachineScaleSetNetworkConfiguration) UnmarshalJSON ¶
func (vmssnc *VirtualMachineScaleSetNetworkConfiguration) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VirtualMachineScaleSetNetworkConfiguration struct.
type VirtualMachineScaleSetNetworkConfigurationDNSSettings ¶
type VirtualMachineScaleSetNetworkConfigurationDNSSettings struct { // DNSServers - List of DNS servers IP addresses DNSServers *[]string `json:"dnsServers,omitempty"` }
VirtualMachineScaleSetNetworkConfigurationDNSSettings describes a virtual machines scale sets network configuration's DNS settings.
type VirtualMachineScaleSetNetworkConfigurationProperties ¶
type VirtualMachineScaleSetNetworkConfigurationProperties struct { // Primary - Specifies the primary network interface in case the virtual machine has more than 1 network interface. Primary *bool `json:"primary,omitempty"` // EnableAcceleratedNetworking - Specifies whether the network interface is accelerated networking-enabled. EnableAcceleratedNetworking *bool `json:"enableAcceleratedNetworking,omitempty"` // EnableFpga - Specifies whether the network interface is FPGA networking-enabled. EnableFpga *bool `json:"enableFpga,omitempty"` // NetworkSecurityGroup - The network security group. NetworkSecurityGroup *SubResource `json:"networkSecurityGroup,omitempty"` // DNSSettings - The dns settings to be applied on the network interfaces. DNSSettings *VirtualMachineScaleSetNetworkConfigurationDNSSettings `json:"dnsSettings,omitempty"` // IPConfigurations - Specifies the IP configurations of the network interface. IPConfigurations *[]VirtualMachineScaleSetIPConfiguration `json:"ipConfigurations,omitempty"` // EnableIPForwarding - Whether IP forwarding enabled on this NIC. EnableIPForwarding *bool `json:"enableIPForwarding,omitempty"` }
VirtualMachineScaleSetNetworkConfigurationProperties describes a virtual machine scale set network profile's IP configuration.
type VirtualMachineScaleSetNetworkProfile ¶
type VirtualMachineScaleSetNetworkProfile struct { // HealthProbe - A reference to a load balancer probe used to determine the health of an instance in the virtual machine scale set. The reference will be in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'. HealthProbe *APIEntityReference `json:"healthProbe,omitempty"` // NetworkInterfaceConfigurations - The list of network configurations. NetworkInterfaceConfigurations *[]VirtualMachineScaleSetNetworkConfiguration `json:"networkInterfaceConfigurations,omitempty"` }
VirtualMachineScaleSetNetworkProfile describes a virtual machine scale set network profile.
type VirtualMachineScaleSetOSDisk ¶
type VirtualMachineScaleSetOSDisk struct { // Name - The disk name. Name *string `json:"name,omitempty"` // Caching - Specifies the caching requirements. <br><br> Possible values are: <br><br> **None** <br><br> **ReadOnly** <br><br> **ReadWrite** <br><br> Default: **None for Standard storage. ReadOnly for Premium storage**. Possible values include: 'CachingTypesNone', 'CachingTypesReadOnly', 'CachingTypesReadWrite' Caching CachingTypes `json:"caching,omitempty"` // WriteAcceleratorEnabled - Specifies whether writeAccelerator should be enabled or disabled on the disk. WriteAcceleratorEnabled *bool `json:"writeAcceleratorEnabled,omitempty"` // CreateOption - Specifies how the virtual machines in the scale set should be created.<br><br> The only allowed value is: **FromImage** \u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described. Possible values include: 'DiskCreateOptionTypesFromImage', 'DiskCreateOptionTypesEmpty', 'DiskCreateOptionTypesAttach' CreateOption DiskCreateOptionTypes `json:"createOption,omitempty"` // DiffDiskSettings - Specifies the ephemeral disk Settings for the operating system disk used by the virtual machine scale set. DiffDiskSettings *DiffDiskSettings `json:"diffDiskSettings,omitempty"` // DiskSizeGB - Specifies the size of the operating system disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. <br><br> This value cannot be larger than 1023 GB DiskSizeGB *int32 `json:"diskSizeGB,omitempty"` // OsType - This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. <br><br> Possible values are: <br><br> **Windows** <br><br> **Linux**. Possible values include: 'Windows', 'Linux' OsType OperatingSystemTypes `json:"osType,omitempty"` // Image - Specifies information about the unmanaged user image to base the scale set on. Image *VirtualHardDisk `json:"image,omitempty"` // VhdContainers - Specifies the container urls that are used to store operating system disks for the scale set. VhdContainers *[]string `json:"vhdContainers,omitempty"` // ManagedDisk - The managed disk parameters. ManagedDisk *VirtualMachineScaleSetManagedDiskParameters `json:"managedDisk,omitempty"` }
VirtualMachineScaleSetOSDisk describes a virtual machine scale set operating system disk.
type VirtualMachineScaleSetOSProfile ¶
type VirtualMachineScaleSetOSProfile struct { // ComputerNamePrefix - Specifies the computer name prefix for all of the virtual machines in the scale set. Computer name prefixes must be 1 to 15 characters long. ComputerNamePrefix *string `json:"computerNamePrefix,omitempty"` // AdminUsername - Specifies the name of the administrator account. <br><br> **Windows-only restriction:** Cannot end in "." <br><br> **Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". <br><br> **Minimum-length (Linux):** 1 character <br><br> **Max-length (Linux):** 64 characters <br><br> **Max-length (Windows):** 20 characters <br><br><li> For root access to the Linux VM, see [Using root privileges on Linux virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)<br><li> For a list of built-in system users on Linux that should not be used in this field, see [Selecting User Names for Linux on Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json) AdminUsername *string `json:"adminUsername,omitempty"` // AdminPassword - Specifies the password of the administrator account. <br><br> **Minimum-length (Windows):** 8 characters <br><br> **Minimum-length (Linux):** 6 characters <br><br> **Max-length (Windows):** 123 characters <br><br> **Max-length (Linux):** 72 characters <br><br> **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled <br> Has lower characters <br>Has upper characters <br> Has a digit <br> Has a special character (Regex match [\W_]) <br><br> **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" <br><br> For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-reset-rdp?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json) <br><br> For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-vmaccess-extension?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#reset-root-password) AdminPassword *string `json:"adminPassword,omitempty"` // CustomData - Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes. <br><br> For using cloud-init for your VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json) CustomData *string `json:"customData,omitempty"` // WindowsConfiguration - Specifies Windows operating system settings on the virtual machine. WindowsConfiguration *WindowsConfiguration `json:"windowsConfiguration,omitempty"` // LinuxConfiguration - 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). LinuxConfiguration *LinuxConfiguration `json:"linuxConfiguration,omitempty"` // Secrets - Specifies set of certificates that should be installed onto the virtual machines in the scale set. Secrets *[]VaultSecretGroup `json:"secrets,omitempty"` }
VirtualMachineScaleSetOSProfile describes a virtual machine scale set OS profile.
type VirtualMachineScaleSetProperties ¶
type VirtualMachineScaleSetProperties struct { // UpgradePolicy - The upgrade policy. UpgradePolicy *UpgradePolicy `json:"upgradePolicy,omitempty"` // AutomaticRepairsPolicy - Policy for automatic repairs. AutomaticRepairsPolicy *AutomaticRepairsPolicy `json:"automaticRepairsPolicy,omitempty"` // VirtualMachineProfile - The virtual machine profile. VirtualMachineProfile *VirtualMachineScaleSetVMProfile `json:"virtualMachineProfile,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state, which only appears in the response. ProvisioningState *string `json:"provisioningState,omitempty"` // Overprovision - Specifies whether the Virtual Machine Scale Set should be overprovisioned. Overprovision *bool `json:"overprovision,omitempty"` // DoNotRunExtensionsOnOverprovisionedVMs - When Overprovision is enabled, extensions are launched only on the requested number of VMs which are finally kept. This property will hence ensure that the extensions do not run on the extra overprovisioned VMs. DoNotRunExtensionsOnOverprovisionedVMs *bool `json:"doNotRunExtensionsOnOverprovisionedVMs,omitempty"` // UniqueID - READ-ONLY; Specifies the ID which uniquely identifies a Virtual Machine Scale Set. UniqueID *string `json:"uniqueId,omitempty"` // SinglePlacementGroup - When true this limits the scale set to a single placement group, of max size 100 virtual machines. NOTE: If singlePlacementGroup is true, it may be modified to false. However, if singlePlacementGroup is false, it may not be modified to true. SinglePlacementGroup *bool `json:"singlePlacementGroup,omitempty"` // ZoneBalance - Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage. ZoneBalance *bool `json:"zoneBalance,omitempty"` // PlatformFaultDomainCount - Fault Domain count for each placement group. PlatformFaultDomainCount *int32 `json:"platformFaultDomainCount,omitempty"` // ProximityPlacementGroup - Specifies information about the proximity placement group that the virtual machine scale set should be assigned to. <br><br>Minimum api-version: 2018-04-01. ProximityPlacementGroup *SubResource `json:"proximityPlacementGroup,omitempty"` // HostGroup - Specifies information about the dedicated host group that the virtual machine scale set resides in. <br><br>Minimum api-version: 2020-06-01. HostGroup *SubResource `json:"hostGroup,omitempty"` // AdditionalCapabilities - Specifies additional capabilities enabled or disabled on the Virtual Machines in the Virtual Machine Scale Set. For instance: whether the Virtual Machines have the capability to support attaching managed data disks with UltraSSD_LRS storage account type. AdditionalCapabilities *AdditionalCapabilities `json:"additionalCapabilities,omitempty"` // ScaleInPolicy - Specifies the scale-in policy that decides which virtual machines are chosen for removal when a Virtual Machine Scale Set is scaled-in. ScaleInPolicy *ScaleInPolicy `json:"scaleInPolicy,omitempty"` }
VirtualMachineScaleSetProperties describes the properties of a Virtual Machine Scale Set.
func (VirtualMachineScaleSetProperties) MarshalJSON ¶
func (vmssp VirtualMachineScaleSetProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualMachineScaleSetProperties.
type VirtualMachineScaleSetPublicIPAddressConfiguration ¶
type VirtualMachineScaleSetPublicIPAddressConfiguration struct { // Name - The publicIP address configuration name. Name *string `json:"name,omitempty"` *VirtualMachineScaleSetPublicIPAddressConfigurationProperties `json:"properties,omitempty"` }
VirtualMachineScaleSetPublicIPAddressConfiguration describes a virtual machines scale set IP Configuration's PublicIPAddress configuration
func (VirtualMachineScaleSetPublicIPAddressConfiguration) MarshalJSON ¶
func (vmsspiac VirtualMachineScaleSetPublicIPAddressConfiguration) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualMachineScaleSetPublicIPAddressConfiguration.
func (*VirtualMachineScaleSetPublicIPAddressConfiguration) UnmarshalJSON ¶
func (vmsspiac *VirtualMachineScaleSetPublicIPAddressConfiguration) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VirtualMachineScaleSetPublicIPAddressConfiguration struct.
type VirtualMachineScaleSetPublicIPAddressConfigurationDNSSettings ¶
type VirtualMachineScaleSetPublicIPAddressConfigurationDNSSettings struct { // DomainNameLabel - The Domain name label.The concatenation of the domain name label and vm index will be the domain name labels of the PublicIPAddress resources that will be created DomainNameLabel *string `json:"domainNameLabel,omitempty"` }
VirtualMachineScaleSetPublicIPAddressConfigurationDNSSettings describes a virtual machines scale sets network configuration's DNS settings.
type VirtualMachineScaleSetPublicIPAddressConfigurationProperties ¶
type VirtualMachineScaleSetPublicIPAddressConfigurationProperties struct { // IdleTimeoutInMinutes - The idle timeout of the public IP address. IdleTimeoutInMinutes *int32 `json:"idleTimeoutInMinutes,omitempty"` // DNSSettings - The dns settings to be applied on the publicIP addresses . DNSSettings *VirtualMachineScaleSetPublicIPAddressConfigurationDNSSettings `json:"dnsSettings,omitempty"` // IPTags - The list of IP tags associated with the public IP address. IPTags *[]VirtualMachineScaleSetIPTag `json:"ipTags,omitempty"` // PublicIPPrefix - The PublicIPPrefix from which to allocate publicIP addresses. PublicIPPrefix *SubResource `json:"publicIPPrefix,omitempty"` // PublicIPAddressVersion - Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'. Possible values include: 'IPv4', 'IPv6' PublicIPAddressVersion IPVersion `json:"publicIPAddressVersion,omitempty"` }
VirtualMachineScaleSetPublicIPAddressConfigurationProperties describes a virtual machines scale set IP Configuration's PublicIPAddress configuration
type VirtualMachineScaleSetReimageParameters ¶
type VirtualMachineScaleSetReimageParameters struct { // InstanceIds - The virtual machine scale set instance ids. Omitting the virtual machine scale set instance ids will result in the operation being performed on all virtual machines in the virtual machine scale set. InstanceIds *[]string `json:"instanceIds,omitempty"` // TempDisk - Specifies whether to reimage temp disk. Default value: false. Note: This temp disk reimage parameter is only supported for VM/VMSS with Ephemeral OS disk. TempDisk *bool `json:"tempDisk,omitempty"` }
VirtualMachineScaleSetReimageParameters describes a Virtual Machine Scale Set VM Reimage Parameters.
type VirtualMachineScaleSetRollingUpgradesCancelFuture ¶
type VirtualMachineScaleSetRollingUpgradesCancelFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualMachineScaleSetRollingUpgradesClient) (autorest.Response, error) }
VirtualMachineScaleSetRollingUpgradesCancelFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualMachineScaleSetRollingUpgradesCancelFuture) UnmarshalJSON ¶
func (future *VirtualMachineScaleSetRollingUpgradesCancelFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualMachineScaleSetRollingUpgradesClient ¶
type VirtualMachineScaleSetRollingUpgradesClient struct {
BaseClient
}
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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (VirtualMachineScaleSetRollingUpgradesClient) Cancel ¶
func (client VirtualMachineScaleSetRollingUpgradesClient) Cancel(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetRollingUpgradesCancelFuture, err error)
Cancel cancels the current virtual machine scale set rolling upgrade. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set.
func (VirtualMachineScaleSetRollingUpgradesClient) CancelPreparer ¶
func (client VirtualMachineScaleSetRollingUpgradesClient) CancelPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string) (*http.Request, error)
CancelPreparer prepares the Cancel request.
func (VirtualMachineScaleSetRollingUpgradesClient) CancelResponder ¶
func (client VirtualMachineScaleSetRollingUpgradesClient) CancelResponder(resp *http.Response) (result autorest.Response, 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) (future VirtualMachineScaleSetRollingUpgradesCancelFuture, err 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(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result RollingUpgradeStatusInfo, err error)
GetLatest gets the status of the latest virtual machine scale set rolling upgrade. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set.
func (VirtualMachineScaleSetRollingUpgradesClient) GetLatestPreparer ¶
func (client VirtualMachineScaleSetRollingUpgradesClient) GetLatestPreparer(ctx context.Context, 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) StartExtensionUpgrade ¶
func (client VirtualMachineScaleSetRollingUpgradesClient) StartExtensionUpgrade(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeFuture, err error)
StartExtensionUpgrade starts a rolling upgrade to move all extensions for all virtual machine scale set instances to the latest available extension version. Instances which are already running the latest extension versions are not affected. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set.
func (VirtualMachineScaleSetRollingUpgradesClient) StartExtensionUpgradePreparer ¶
func (client VirtualMachineScaleSetRollingUpgradesClient) StartExtensionUpgradePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string) (*http.Request, error)
StartExtensionUpgradePreparer prepares the StartExtensionUpgrade request.
func (VirtualMachineScaleSetRollingUpgradesClient) StartExtensionUpgradeResponder ¶
func (client VirtualMachineScaleSetRollingUpgradesClient) StartExtensionUpgradeResponder(resp *http.Response) (result autorest.Response, err error)
StartExtensionUpgradeResponder handles the response to the StartExtensionUpgrade request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetRollingUpgradesClient) StartExtensionUpgradeSender ¶
func (client VirtualMachineScaleSetRollingUpgradesClient) StartExtensionUpgradeSender(req *http.Request) (future VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeFuture, err error)
StartExtensionUpgradeSender sends the StartExtensionUpgrade request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgrade ¶
func (client VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgrade(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetRollingUpgradesStartOSUpgradeFuture, err 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. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set.
func (VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgradePreparer ¶
func (client VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgradePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string) (*http.Request, error)
StartOSUpgradePreparer prepares the StartOSUpgrade request.
func (VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgradeResponder ¶
func (client VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgradeResponder(resp *http.Response) (result autorest.Response, 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) (future VirtualMachineScaleSetRollingUpgradesStartOSUpgradeFuture, err error)
StartOSUpgradeSender sends the StartOSUpgrade request. The method will close the http.Response Body if it receives an error.
type VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeFuture ¶
type VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualMachineScaleSetRollingUpgradesClient) (autorest.Response, error) }
VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeFuture) UnmarshalJSON ¶
func (future *VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualMachineScaleSetRollingUpgradesStartOSUpgradeFuture ¶
type VirtualMachineScaleSetRollingUpgradesStartOSUpgradeFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualMachineScaleSetRollingUpgradesClient) (autorest.Response, error) }
VirtualMachineScaleSetRollingUpgradesStartOSUpgradeFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualMachineScaleSetRollingUpgradesStartOSUpgradeFuture) UnmarshalJSON ¶
func (future *VirtualMachineScaleSetRollingUpgradesStartOSUpgradeFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualMachineScaleSetScaleInRules ¶
type VirtualMachineScaleSetScaleInRules string
VirtualMachineScaleSetScaleInRules enumerates the values for virtual machine scale set scale in rules.
const ( // Default ... Default VirtualMachineScaleSetScaleInRules = "Default" // NewestVM ... NewestVM VirtualMachineScaleSetScaleInRules = "NewestVM" // OldestVM ... OldestVM VirtualMachineScaleSetScaleInRules = "OldestVM" )
func PossibleVirtualMachineScaleSetScaleInRulesValues ¶
func PossibleVirtualMachineScaleSetScaleInRulesValues() []VirtualMachineScaleSetScaleInRules
PossibleVirtualMachineScaleSetScaleInRulesValues returns an array of possible values for the VirtualMachineScaleSetScaleInRules const type.
type VirtualMachineScaleSetSku ¶
type VirtualMachineScaleSetSku struct { // ResourceType - READ-ONLY; The type of resource the sku applies to. ResourceType *string `json:"resourceType,omitempty"` // Sku - READ-ONLY; The Sku. Sku *Sku `json:"sku,omitempty"` // Capacity - READ-ONLY; Specifies the number of virtual machines in the scale set. Capacity *VirtualMachineScaleSetSkuCapacity `json:"capacity,omitempty"` }
VirtualMachineScaleSetSku describes an available virtual machine scale set sku.
type VirtualMachineScaleSetSkuCapacity ¶
type VirtualMachineScaleSetSkuCapacity struct { // Minimum - READ-ONLY; The minimum capacity. Minimum *int64 `json:"minimum,omitempty"` // Maximum - READ-ONLY; The maximum capacity that can be set. Maximum *int64 `json:"maximum,omitempty"` // DefaultCapacity - READ-ONLY; The default capacity. DefaultCapacity *int64 `json:"defaultCapacity,omitempty"` // ScaleType - READ-ONLY; The scale type applicable to the sku. Possible values include: 'VirtualMachineScaleSetSkuScaleTypeAutomatic', 'VirtualMachineScaleSetSkuScaleTypeNone' ScaleType VirtualMachineScaleSetSkuScaleType `json:"scaleType,omitempty"` }
VirtualMachineScaleSetSkuCapacity 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 ... VirtualMachineScaleSetSkuScaleTypeAutomatic VirtualMachineScaleSetSkuScaleType = "Automatic" // VirtualMachineScaleSetSkuScaleTypeNone ... VirtualMachineScaleSetSkuScaleTypeNone VirtualMachineScaleSetSkuScaleType = "None" )
func PossibleVirtualMachineScaleSetSkuScaleTypeValues ¶
func PossibleVirtualMachineScaleSetSkuScaleTypeValues() []VirtualMachineScaleSetSkuScaleType
PossibleVirtualMachineScaleSetSkuScaleTypeValues returns an array of possible values for the VirtualMachineScaleSetSkuScaleType const type.
type VirtualMachineScaleSetStorageProfile ¶
type VirtualMachineScaleSetStorageProfile struct { // ImageReference - 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. ImageReference *ImageReference `json:"imageReference,omitempty"` // OsDisk - Specifies information about the operating system disk used by the virtual machines in the scale set. <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). OsDisk *VirtualMachineScaleSetOSDisk `json:"osDisk,omitempty"` // DataDisks - Specifies the parameters that are used to add data disks to the virtual machines in the scale set. <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). DataDisks *[]VirtualMachineScaleSetDataDisk `json:"dataDisks,omitempty"` }
VirtualMachineScaleSetStorageProfile describes a virtual machine scale set storage profile.
type VirtualMachineScaleSetUpdate ¶
type VirtualMachineScaleSetUpdate struct { // Sku - The virtual machine scale set sku. Sku *Sku `json:"sku,omitempty"` // Plan - The purchase plan when deploying a virtual machine scale set from VM Marketplace images. Plan *Plan `json:"plan,omitempty"` *VirtualMachineScaleSetUpdateProperties `json:"properties,omitempty"` // Identity - The identity of the virtual machine scale set, if configured. Identity *VirtualMachineScaleSetIdentity `json:"identity,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
VirtualMachineScaleSetUpdate describes a Virtual Machine Scale Set.
func (VirtualMachineScaleSetUpdate) MarshalJSON ¶
func (vmssu VirtualMachineScaleSetUpdate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualMachineScaleSetUpdate.
func (*VirtualMachineScaleSetUpdate) UnmarshalJSON ¶
func (vmssu *VirtualMachineScaleSetUpdate) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VirtualMachineScaleSetUpdate struct.
type VirtualMachineScaleSetUpdateIPConfiguration ¶
type VirtualMachineScaleSetUpdateIPConfiguration struct { // Name - The IP configuration name. Name *string `json:"name,omitempty"` *VirtualMachineScaleSetUpdateIPConfigurationProperties `json:"properties,omitempty"` // ID - Resource Id ID *string `json:"id,omitempty"` }
VirtualMachineScaleSetUpdateIPConfiguration describes a virtual machine scale set network profile's IP configuration. NOTE: The subnet of a scale set may be modified as long as the original subnet and the new subnet are in the same virtual network
func (VirtualMachineScaleSetUpdateIPConfiguration) MarshalJSON ¶
func (vmssuic VirtualMachineScaleSetUpdateIPConfiguration) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualMachineScaleSetUpdateIPConfiguration.
func (*VirtualMachineScaleSetUpdateIPConfiguration) UnmarshalJSON ¶
func (vmssuic *VirtualMachineScaleSetUpdateIPConfiguration) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VirtualMachineScaleSetUpdateIPConfiguration struct.
type VirtualMachineScaleSetUpdateIPConfigurationProperties ¶
type VirtualMachineScaleSetUpdateIPConfigurationProperties struct { // Subnet - The subnet. Subnet *APIEntityReference `json:"subnet,omitempty"` // Primary - Specifies the primary IP Configuration in case the network interface has more than one IP Configuration. Primary *bool `json:"primary,omitempty"` // PublicIPAddressConfiguration - The publicIPAddressConfiguration. PublicIPAddressConfiguration *VirtualMachineScaleSetUpdatePublicIPAddressConfiguration `json:"publicIPAddressConfiguration,omitempty"` // PrivateIPAddressVersion - Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'. Possible values include: 'IPv4', 'IPv6' PrivateIPAddressVersion IPVersion `json:"privateIPAddressVersion,omitempty"` // ApplicationGatewayBackendAddressPools - The application gateway backend address pools. ApplicationGatewayBackendAddressPools *[]SubResource `json:"applicationGatewayBackendAddressPools,omitempty"` // ApplicationSecurityGroups - Specifies an array of references to application security group. ApplicationSecurityGroups *[]SubResource `json:"applicationSecurityGroups,omitempty"` // LoadBalancerBackendAddressPools - The load balancer backend address pools. LoadBalancerBackendAddressPools *[]SubResource `json:"loadBalancerBackendAddressPools,omitempty"` // LoadBalancerInboundNatPools - The load balancer inbound nat pools. LoadBalancerInboundNatPools *[]SubResource `json:"loadBalancerInboundNatPools,omitempty"` }
VirtualMachineScaleSetUpdateIPConfigurationProperties describes a virtual machine scale set network profile's IP configuration properties.
type VirtualMachineScaleSetUpdateNetworkConfiguration ¶
type VirtualMachineScaleSetUpdateNetworkConfiguration struct { // Name - The network configuration name. Name *string `json:"name,omitempty"` *VirtualMachineScaleSetUpdateNetworkConfigurationProperties `json:"properties,omitempty"` // ID - Resource Id ID *string `json:"id,omitempty"` }
VirtualMachineScaleSetUpdateNetworkConfiguration describes a virtual machine scale set network profile's network configurations.
func (VirtualMachineScaleSetUpdateNetworkConfiguration) MarshalJSON ¶
func (vmssunc VirtualMachineScaleSetUpdateNetworkConfiguration) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualMachineScaleSetUpdateNetworkConfiguration.
func (*VirtualMachineScaleSetUpdateNetworkConfiguration) UnmarshalJSON ¶
func (vmssunc *VirtualMachineScaleSetUpdateNetworkConfiguration) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VirtualMachineScaleSetUpdateNetworkConfiguration struct.
type VirtualMachineScaleSetUpdateNetworkConfigurationProperties ¶
type VirtualMachineScaleSetUpdateNetworkConfigurationProperties struct { // Primary - Whether this is a primary NIC on a virtual machine. Primary *bool `json:"primary,omitempty"` // EnableAcceleratedNetworking - Specifies whether the network interface is accelerated networking-enabled. EnableAcceleratedNetworking *bool `json:"enableAcceleratedNetworking,omitempty"` // EnableFpga - Specifies whether the network interface is FPGA networking-enabled. EnableFpga *bool `json:"enableFpga,omitempty"` // NetworkSecurityGroup - The network security group. NetworkSecurityGroup *SubResource `json:"networkSecurityGroup,omitempty"` // DNSSettings - The dns settings to be applied on the network interfaces. DNSSettings *VirtualMachineScaleSetNetworkConfigurationDNSSettings `json:"dnsSettings,omitempty"` // IPConfigurations - The virtual machine scale set IP Configuration. IPConfigurations *[]VirtualMachineScaleSetUpdateIPConfiguration `json:"ipConfigurations,omitempty"` // EnableIPForwarding - Whether IP forwarding enabled on this NIC. EnableIPForwarding *bool `json:"enableIPForwarding,omitempty"` }
VirtualMachineScaleSetUpdateNetworkConfigurationProperties 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 { // HealthProbe - A reference to a load balancer probe used to determine the health of an instance in the virtual machine scale set. The reference will be in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'. HealthProbe *APIEntityReference `json:"healthProbe,omitempty"` // NetworkInterfaceConfigurations - The list of network configurations. NetworkInterfaceConfigurations *[]VirtualMachineScaleSetUpdateNetworkConfiguration `json:"networkInterfaceConfigurations,omitempty"` }
VirtualMachineScaleSetUpdateNetworkProfile describes a virtual machine scale set network profile.
type VirtualMachineScaleSetUpdateOSDisk ¶
type VirtualMachineScaleSetUpdateOSDisk struct { // Caching - The caching type. Possible values include: 'CachingTypesNone', 'CachingTypesReadOnly', 'CachingTypesReadWrite' Caching CachingTypes `json:"caching,omitempty"` // WriteAcceleratorEnabled - Specifies whether writeAccelerator should be enabled or disabled on the disk. WriteAcceleratorEnabled *bool `json:"writeAcceleratorEnabled,omitempty"` // DiskSizeGB - Specifies the size of the operating system disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. <br><br> This value cannot be larger than 1023 GB DiskSizeGB *int32 `json:"diskSizeGB,omitempty"` // Image - The Source User Image VirtualHardDisk. This VirtualHardDisk will be copied before using it to attach to the Virtual Machine. If SourceImage is provided, the destination VirtualHardDisk should not exist. Image *VirtualHardDisk `json:"image,omitempty"` // VhdContainers - The list of virtual hard disk container uris. VhdContainers *[]string `json:"vhdContainers,omitempty"` // ManagedDisk - The managed disk parameters. ManagedDisk *VirtualMachineScaleSetManagedDiskParameters `json:"managedDisk,omitempty"` }
VirtualMachineScaleSetUpdateOSDisk 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 - A base-64 encoded string of custom data. CustomData *string `json:"customData,omitempty"` // WindowsConfiguration - The Windows Configuration of the OS profile. WindowsConfiguration *WindowsConfiguration `json:"windowsConfiguration,omitempty"` // LinuxConfiguration - The Linux Configuration of the OS profile. LinuxConfiguration *LinuxConfiguration `json:"linuxConfiguration,omitempty"` // Secrets - The List of certificates for addition to the VM. Secrets *[]VaultSecretGroup `json:"secrets,omitempty"` }
VirtualMachineScaleSetUpdateOSProfile describes a virtual machine scale set OS profile.
type VirtualMachineScaleSetUpdateProperties ¶
type VirtualMachineScaleSetUpdateProperties struct { // UpgradePolicy - The upgrade policy. UpgradePolicy *UpgradePolicy `json:"upgradePolicy,omitempty"` // AutomaticRepairsPolicy - Policy for automatic repairs. AutomaticRepairsPolicy *AutomaticRepairsPolicy `json:"automaticRepairsPolicy,omitempty"` // VirtualMachineProfile - The virtual machine profile. VirtualMachineProfile *VirtualMachineScaleSetUpdateVMProfile `json:"virtualMachineProfile,omitempty"` // Overprovision - Specifies whether the Virtual Machine Scale Set should be overprovisioned. Overprovision *bool `json:"overprovision,omitempty"` // DoNotRunExtensionsOnOverprovisionedVMs - When Overprovision is enabled, extensions are launched only on the requested number of VMs which are finally kept. This property will hence ensure that the extensions do not run on the extra overprovisioned VMs. DoNotRunExtensionsOnOverprovisionedVMs *bool `json:"doNotRunExtensionsOnOverprovisionedVMs,omitempty"` // SinglePlacementGroup - When true this limits the scale set to a single placement group, of max size 100 virtual machines. NOTE: If singlePlacementGroup is true, it may be modified to false. However, if singlePlacementGroup is false, it may not be modified to true. SinglePlacementGroup *bool `json:"singlePlacementGroup,omitempty"` // AdditionalCapabilities - Specifies additional capabilities enabled or disabled on the Virtual Machines in the Virtual Machine Scale Set. For instance: whether the Virtual Machines have the capability to support attaching managed data disks with UltraSSD_LRS storage account type. AdditionalCapabilities *AdditionalCapabilities `json:"additionalCapabilities,omitempty"` // ScaleInPolicy - Specifies the scale-in policy that decides which virtual machines are chosen for removal when a Virtual Machine Scale Set is scaled-in. ScaleInPolicy *ScaleInPolicy `json:"scaleInPolicy,omitempty"` // ProximityPlacementGroup - Specifies information about the proximity placement group that the virtual machine scale set should be assigned to. <br><br>Minimum api-version: 2018-04-01. ProximityPlacementGroup *SubResource `json:"proximityPlacementGroup,omitempty"` }
VirtualMachineScaleSetUpdateProperties describes the properties of a Virtual Machine Scale Set.
type VirtualMachineScaleSetUpdatePublicIPAddressConfiguration ¶
type VirtualMachineScaleSetUpdatePublicIPAddressConfiguration struct { // Name - The publicIP address configuration name. Name *string `json:"name,omitempty"` *VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties `json:"properties,omitempty"` }
VirtualMachineScaleSetUpdatePublicIPAddressConfiguration describes a virtual machines scale set IP Configuration's PublicIPAddress configuration
func (VirtualMachineScaleSetUpdatePublicIPAddressConfiguration) MarshalJSON ¶
func (vmssupiac VirtualMachineScaleSetUpdatePublicIPAddressConfiguration) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualMachineScaleSetUpdatePublicIPAddressConfiguration.
func (*VirtualMachineScaleSetUpdatePublicIPAddressConfiguration) UnmarshalJSON ¶
func (vmssupiac *VirtualMachineScaleSetUpdatePublicIPAddressConfiguration) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VirtualMachineScaleSetUpdatePublicIPAddressConfiguration struct.
type VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties ¶
type VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties struct { // IdleTimeoutInMinutes - The idle timeout of the public IP address. IdleTimeoutInMinutes *int32 `json:"idleTimeoutInMinutes,omitempty"` // DNSSettings - The dns settings to be applied on the publicIP addresses . DNSSettings *VirtualMachineScaleSetPublicIPAddressConfigurationDNSSettings `json:"dnsSettings,omitempty"` }
VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties describes a virtual machines scale set IP Configuration's PublicIPAddress configuration
type VirtualMachineScaleSetUpdateStorageProfile ¶
type VirtualMachineScaleSetUpdateStorageProfile struct { // ImageReference - The image reference. ImageReference *ImageReference `json:"imageReference,omitempty"` // OsDisk - The OS disk. OsDisk *VirtualMachineScaleSetUpdateOSDisk `json:"osDisk,omitempty"` // DataDisks - The data disks. DataDisks *[]VirtualMachineScaleSetDataDisk `json:"dataDisks,omitempty"` }
VirtualMachineScaleSetUpdateStorageProfile describes a virtual machine scale set storage profile.
type VirtualMachineScaleSetUpdateVMProfile ¶
type VirtualMachineScaleSetUpdateVMProfile struct { // OsProfile - The virtual machine scale set OS profile. OsProfile *VirtualMachineScaleSetUpdateOSProfile `json:"osProfile,omitempty"` // StorageProfile - The virtual machine scale set storage profile. StorageProfile *VirtualMachineScaleSetUpdateStorageProfile `json:"storageProfile,omitempty"` // NetworkProfile - The virtual machine scale set network profile. NetworkProfile *VirtualMachineScaleSetUpdateNetworkProfile `json:"networkProfile,omitempty"` // SecurityProfile - The virtual machine scale set Security profile SecurityProfile *SecurityProfile `json:"securityProfile,omitempty"` // DiagnosticsProfile - The virtual machine scale set diagnostics profile. DiagnosticsProfile *DiagnosticsProfile `json:"diagnosticsProfile,omitempty"` // ExtensionProfile - The virtual machine scale set extension profile. ExtensionProfile *VirtualMachineScaleSetExtensionProfile `json:"extensionProfile,omitempty"` // LicenseType - The license type, which is for bring your own license scenario. LicenseType *string `json:"licenseType,omitempty"` // BillingProfile - Specifies the billing related details of a Azure Spot VMSS. <br><br>Minimum api-version: 2019-03-01. BillingProfile *BillingProfile `json:"billingProfile,omitempty"` // ScheduledEventsProfile - Specifies Scheduled Event related configurations. ScheduledEventsProfile *ScheduledEventsProfile `json:"scheduledEventsProfile,omitempty"` }
VirtualMachineScaleSetUpdateVMProfile describes a virtual machine scale set virtual machine profile.
type VirtualMachineScaleSetVM ¶
type VirtualMachineScaleSetVM struct { autorest.Response `json:"-"` // InstanceID - READ-ONLY; The virtual machine instance ID. InstanceID *string `json:"instanceId,omitempty"` // Sku - READ-ONLY; The virtual machine SKU. Sku *Sku `json:"sku,omitempty"` *VirtualMachineScaleSetVMProperties `json:"properties,omitempty"` // Plan - 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**. Plan *Plan `json:"plan,omitempty"` // Resources - READ-ONLY; The virtual machine child extension resources. Resources *[]VirtualMachineExtension `json:"resources,omitempty"` // Zones - READ-ONLY; The virtual machine zones. Zones *[]string `json:"zones,omitempty"` // ID - READ-ONLY; Resource Id ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type Type *string `json:"type,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
VirtualMachineScaleSetVM describes a virtual machine scale set virtual machine.
func (VirtualMachineScaleSetVM) MarshalJSON ¶
func (vmssv VirtualMachineScaleSetVM) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualMachineScaleSetVM.
func (*VirtualMachineScaleSetVM) UnmarshalJSON ¶
func (vmssv *VirtualMachineScaleSetVM) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VirtualMachineScaleSetVM struct.
type VirtualMachineScaleSetVMExtension ¶
type VirtualMachineScaleSetVMExtension struct { autorest.Response `json:"-"` // Name - READ-ONLY; The name of the extension. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type Type *string `json:"type,omitempty"` *VirtualMachineExtensionProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id ID *string `json:"id,omitempty"` }
VirtualMachineScaleSetVMExtension describes a VMSS VM Extension.
func (VirtualMachineScaleSetVMExtension) MarshalJSON ¶
func (vmssve VirtualMachineScaleSetVMExtension) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualMachineScaleSetVMExtension.
func (*VirtualMachineScaleSetVMExtension) UnmarshalJSON ¶
func (vmssve *VirtualMachineScaleSetVMExtension) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VirtualMachineScaleSetVMExtension struct.
type VirtualMachineScaleSetVMExtensionUpdate ¶
type VirtualMachineScaleSetVMExtensionUpdate struct { // Name - READ-ONLY; The name of the extension. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type Type *string `json:"type,omitempty"` *VirtualMachineExtensionUpdateProperties `json:"properties,omitempty"` // ID - READ-ONLY; Resource Id ID *string `json:"id,omitempty"` }
VirtualMachineScaleSetVMExtensionUpdate describes a VMSS VM Extension.
func (VirtualMachineScaleSetVMExtensionUpdate) MarshalJSON ¶
func (vmssveu VirtualMachineScaleSetVMExtensionUpdate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualMachineScaleSetVMExtensionUpdate.
func (*VirtualMachineScaleSetVMExtensionUpdate) UnmarshalJSON ¶
func (vmssveu *VirtualMachineScaleSetVMExtensionUpdate) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VirtualMachineScaleSetVMExtensionUpdate struct.
type VirtualMachineScaleSetVMExtensionsClient ¶
type VirtualMachineScaleSetVMExtensionsClient struct {
BaseClient
}
VirtualMachineScaleSetVMExtensionsClient is the compute Client
func NewVirtualMachineScaleSetVMExtensionsClient ¶
func NewVirtualMachineScaleSetVMExtensionsClient(subscriptionID string) VirtualMachineScaleSetVMExtensionsClient
NewVirtualMachineScaleSetVMExtensionsClient creates an instance of the VirtualMachineScaleSetVMExtensionsClient client.
func NewVirtualMachineScaleSetVMExtensionsClientWithBaseURI ¶
func NewVirtualMachineScaleSetVMExtensionsClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineScaleSetVMExtensionsClient
NewVirtualMachineScaleSetVMExtensionsClientWithBaseURI creates an instance of the VirtualMachineScaleSetVMExtensionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (VirtualMachineScaleSetVMExtensionsClient) CreateOrUpdate ¶
func (client VirtualMachineScaleSetVMExtensionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, VMExtensionName string, extensionParameters VirtualMachineScaleSetVMExtension) (result VirtualMachineScaleSetVMExtensionsCreateOrUpdateFuture, err error)
CreateOrUpdate the operation to create or update the VMSS VM extension. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. instanceID - the instance ID of the virtual machine. VMExtensionName - the name of the virtual machine extension. extensionParameters - parameters supplied to the Create Virtual Machine Extension operation.
func (VirtualMachineScaleSetVMExtensionsClient) CreateOrUpdatePreparer ¶
func (client VirtualMachineScaleSetVMExtensionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, VMExtensionName string, extensionParameters VirtualMachineScaleSetVMExtension) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (VirtualMachineScaleSetVMExtensionsClient) CreateOrUpdateResponder ¶
func (client VirtualMachineScaleSetVMExtensionsClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualMachineScaleSetVMExtension, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetVMExtensionsClient) CreateOrUpdateSender ¶
func (client VirtualMachineScaleSetVMExtensionsClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachineScaleSetVMExtensionsCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetVMExtensionsClient) Delete ¶
func (client VirtualMachineScaleSetVMExtensionsClient) Delete(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, VMExtensionName string) (result VirtualMachineScaleSetVMExtensionsDeleteFuture, err error)
Delete the operation to delete the VMSS VM extension. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. instanceID - the instance ID of the virtual machine. VMExtensionName - the name of the virtual machine extension.
func (VirtualMachineScaleSetVMExtensionsClient) DeletePreparer ¶
func (client VirtualMachineScaleSetVMExtensionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, VMExtensionName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (VirtualMachineScaleSetVMExtensionsClient) DeleteResponder ¶
func (client VirtualMachineScaleSetVMExtensionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetVMExtensionsClient) DeleteSender ¶
func (client VirtualMachineScaleSetVMExtensionsClient) DeleteSender(req *http.Request) (future VirtualMachineScaleSetVMExtensionsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetVMExtensionsClient) Get ¶
func (client VirtualMachineScaleSetVMExtensionsClient) Get(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, VMExtensionName string, expand string) (result VirtualMachineScaleSetVMExtension, err error)
Get the operation to get the VMSS VM extension. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. instanceID - the instance ID of the virtual machine. VMExtensionName - the name of the virtual machine extension. expand - the expand expression to apply on the operation.
func (VirtualMachineScaleSetVMExtensionsClient) GetPreparer ¶
func (client VirtualMachineScaleSetVMExtensionsClient) GetPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, VMExtensionName string, expand string) (*http.Request, error)
GetPreparer prepares the Get request.
func (VirtualMachineScaleSetVMExtensionsClient) GetResponder ¶
func (client VirtualMachineScaleSetVMExtensionsClient) GetResponder(resp *http.Response) (result VirtualMachineScaleSetVMExtension, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetVMExtensionsClient) GetSender ¶
func (client VirtualMachineScaleSetVMExtensionsClient) 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 (VirtualMachineScaleSetVMExtensionsClient) List ¶
func (client VirtualMachineScaleSetVMExtensionsClient) List(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, expand string) (result VirtualMachineScaleSetVMExtensionsListResult, err error)
List the operation to get all extensions of an instance in Virtual Machine Scaleset. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. instanceID - the instance ID of the virtual machine. expand - the expand expression to apply on the operation.
func (VirtualMachineScaleSetVMExtensionsClient) ListPreparer ¶
func (client VirtualMachineScaleSetVMExtensionsClient) ListPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, expand string) (*http.Request, error)
ListPreparer prepares the List request.
func (VirtualMachineScaleSetVMExtensionsClient) ListResponder ¶
func (client VirtualMachineScaleSetVMExtensionsClient) ListResponder(resp *http.Response) (result VirtualMachineScaleSetVMExtensionsListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetVMExtensionsClient) ListSender ¶
func (client VirtualMachineScaleSetVMExtensionsClient) ListSender(req *http.Request) (*http.Response, error)
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetVMExtensionsClient) Update ¶
func (client VirtualMachineScaleSetVMExtensionsClient) Update(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, VMExtensionName string, extensionParameters VirtualMachineScaleSetVMExtensionUpdate) (result VirtualMachineScaleSetVMExtensionsUpdateFuture, err error)
Update the operation to update the VMSS VM extension. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. instanceID - the instance ID of the virtual machine. VMExtensionName - the name of the virtual machine extension. extensionParameters - parameters supplied to the Update Virtual Machine Extension operation.
func (VirtualMachineScaleSetVMExtensionsClient) UpdatePreparer ¶
func (client VirtualMachineScaleSetVMExtensionsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, VMExtensionName string, extensionParameters VirtualMachineScaleSetVMExtensionUpdate) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (VirtualMachineScaleSetVMExtensionsClient) UpdateResponder ¶
func (client VirtualMachineScaleSetVMExtensionsClient) UpdateResponder(resp *http.Response) (result VirtualMachineScaleSetVMExtension, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetVMExtensionsClient) UpdateSender ¶
func (client VirtualMachineScaleSetVMExtensionsClient) UpdateSender(req *http.Request) (future VirtualMachineScaleSetVMExtensionsUpdateFuture, err error)
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type VirtualMachineScaleSetVMExtensionsCreateOrUpdateFuture ¶
type VirtualMachineScaleSetVMExtensionsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualMachineScaleSetVMExtensionsClient) (VirtualMachineScaleSetVMExtension, error) }
VirtualMachineScaleSetVMExtensionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualMachineScaleSetVMExtensionsCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *VirtualMachineScaleSetVMExtensionsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualMachineScaleSetVMExtensionsDeleteFuture ¶
type VirtualMachineScaleSetVMExtensionsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualMachineScaleSetVMExtensionsClient) (autorest.Response, error) }
VirtualMachineScaleSetVMExtensionsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualMachineScaleSetVMExtensionsDeleteFuture) UnmarshalJSON ¶
func (future *VirtualMachineScaleSetVMExtensionsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualMachineScaleSetVMExtensionsListResult ¶
type VirtualMachineScaleSetVMExtensionsListResult struct { autorest.Response `json:"-"` // Value - The list of VMSS VM extensions Value *[]VirtualMachineScaleSetVMExtension `json:"value,omitempty"` }
VirtualMachineScaleSetVMExtensionsListResult the List VMSS VM Extension operation response
type VirtualMachineScaleSetVMExtensionsSummary ¶
type VirtualMachineScaleSetVMExtensionsSummary struct { // Name - READ-ONLY; The extension name. Name *string `json:"name,omitempty"` // StatusesSummary - READ-ONLY; The extensions information. StatusesSummary *[]VirtualMachineStatusCodeCount `json:"statusesSummary,omitempty"` }
VirtualMachineScaleSetVMExtensionsSummary extensions summary for virtual machines of a virtual machine scale set.
type VirtualMachineScaleSetVMExtensionsUpdateFuture ¶
type VirtualMachineScaleSetVMExtensionsUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualMachineScaleSetVMExtensionsClient) (VirtualMachineScaleSetVMExtension, error) }
VirtualMachineScaleSetVMExtensionsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualMachineScaleSetVMExtensionsUpdateFuture) UnmarshalJSON ¶
func (future *VirtualMachineScaleSetVMExtensionsUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualMachineScaleSetVMInstanceIDs ¶
type VirtualMachineScaleSetVMInstanceIDs struct { // InstanceIds - The virtual machine scale set instance ids. Omitting the virtual machine scale set instance ids will result in the operation being performed on all virtual machines in the virtual machine scale set. InstanceIds *[]string `json:"instanceIds,omitempty"` }
VirtualMachineScaleSetVMInstanceIDs specifies a list of virtual machine instance IDs from the VM scale set.
type VirtualMachineScaleSetVMInstanceRequiredIDs ¶
type VirtualMachineScaleSetVMInstanceRequiredIDs struct { // InstanceIds - The virtual machine scale set instance ids. InstanceIds *[]string `json:"instanceIds,omitempty"` }
VirtualMachineScaleSetVMInstanceRequiredIDs specifies a list of virtual machine instance IDs from the VM scale set.
type VirtualMachineScaleSetVMInstanceView ¶
type VirtualMachineScaleSetVMInstanceView struct { autorest.Response `json:"-"` // PlatformUpdateDomain - The Update Domain count. PlatformUpdateDomain *int32 `json:"platformUpdateDomain,omitempty"` // PlatformFaultDomain - The Fault Domain count. PlatformFaultDomain *int32 `json:"platformFaultDomain,omitempty"` // RdpThumbPrint - The Remote desktop certificate thumbprint. RdpThumbPrint *string `json:"rdpThumbPrint,omitempty"` // VMAgent - The VM Agent running on the virtual machine. VMAgent *VirtualMachineAgentInstanceView `json:"vmAgent,omitempty"` // MaintenanceRedeployStatus - The Maintenance Operation status on the virtual machine. MaintenanceRedeployStatus *MaintenanceRedeployStatus `json:"maintenanceRedeployStatus,omitempty"` // Disks - The disks information. Disks *[]DiskInstanceView `json:"disks,omitempty"` // Extensions - The extensions information. Extensions *[]VirtualMachineExtensionInstanceView `json:"extensions,omitempty"` // VMHealth - READ-ONLY; The health status for the VM. VMHealth *VirtualMachineHealthStatus `json:"vmHealth,omitempty"` // BootDiagnostics - Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. <br><br> You can easily view the output of your console log. <br><br> Azure also enables you to see a screenshot of the VM from the hypervisor. BootDiagnostics *BootDiagnosticsInstanceView `json:"bootDiagnostics,omitempty"` // Statuses - The resource status information. Statuses *[]InstanceViewStatus `json:"statuses,omitempty"` // AssignedHost - READ-ONLY; Resource id of the dedicated host, on which the virtual machine is allocated through automatic placement, when the virtual machine is associated with a dedicated host group that has automatic placement enabled. <br><br>Minimum api-version: 2020-06-01. AssignedHost *string `json:"assignedHost,omitempty"` // PlacementGroupID - The placement group in which the VM is running. If the VM is deallocated it will not have a placementGroupId. PlacementGroupID *string `json:"placementGroupId,omitempty"` }
VirtualMachineScaleSetVMInstanceView the instance view of a virtual machine scale set VM.
func (VirtualMachineScaleSetVMInstanceView) MarshalJSON ¶
func (vmssviv VirtualMachineScaleSetVMInstanceView) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualMachineScaleSetVMInstanceView.
type VirtualMachineScaleSetVMListResult ¶
type VirtualMachineScaleSetVMListResult struct { autorest.Response `json:"-"` // Value - The list of virtual machine scale sets VMs. Value *[]VirtualMachineScaleSetVM `json:"value,omitempty"` // NextLink - The uri to fetch the next page of Virtual Machine Scale Set VMs. Call ListNext() with this to fetch the next page of VMSS VMs NextLink *string `json:"nextLink,omitempty"` }
VirtualMachineScaleSetVMListResult the List Virtual Machine Scale Set VMs operation response.
func (VirtualMachineScaleSetVMListResult) IsEmpty ¶
func (vmssvlr VirtualMachineScaleSetVMListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type VirtualMachineScaleSetVMListResultIterator ¶
type VirtualMachineScaleSetVMListResultIterator struct {
// contains filtered or unexported fields
}
VirtualMachineScaleSetVMListResultIterator provides access to a complete listing of VirtualMachineScaleSetVM values.
func NewVirtualMachineScaleSetVMListResultIterator ¶
func NewVirtualMachineScaleSetVMListResultIterator(page VirtualMachineScaleSetVMListResultPage) VirtualMachineScaleSetVMListResultIterator
Creates a new instance of the VirtualMachineScaleSetVMListResultIterator type.
func (*VirtualMachineScaleSetVMListResultIterator) Next ¶
func (iter *VirtualMachineScaleSetVMListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*VirtualMachineScaleSetVMListResultIterator) NextWithContext ¶
func (iter *VirtualMachineScaleSetVMListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (VirtualMachineScaleSetVMListResultIterator) NotDone ¶
func (iter VirtualMachineScaleSetVMListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (VirtualMachineScaleSetVMListResultIterator) Response ¶
func (iter VirtualMachineScaleSetVMListResultIterator) Response() VirtualMachineScaleSetVMListResult
Response returns the raw server response from the last page request.
func (VirtualMachineScaleSetVMListResultIterator) Value ¶
func (iter VirtualMachineScaleSetVMListResultIterator) Value() VirtualMachineScaleSetVM
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type VirtualMachineScaleSetVMListResultPage ¶
type VirtualMachineScaleSetVMListResultPage struct {
// contains filtered or unexported fields
}
VirtualMachineScaleSetVMListResultPage contains a page of VirtualMachineScaleSetVM values.
func NewVirtualMachineScaleSetVMListResultPage ¶
func NewVirtualMachineScaleSetVMListResultPage(cur VirtualMachineScaleSetVMListResult, getNextPage func(context.Context, VirtualMachineScaleSetVMListResult) (VirtualMachineScaleSetVMListResult, error)) VirtualMachineScaleSetVMListResultPage
Creates a new instance of the VirtualMachineScaleSetVMListResultPage type.
func (*VirtualMachineScaleSetVMListResultPage) Next ¶
func (page *VirtualMachineScaleSetVMListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*VirtualMachineScaleSetVMListResultPage) NextWithContext ¶
func (page *VirtualMachineScaleSetVMListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (VirtualMachineScaleSetVMListResultPage) NotDone ¶
func (page VirtualMachineScaleSetVMListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (VirtualMachineScaleSetVMListResultPage) Response ¶
func (page VirtualMachineScaleSetVMListResultPage) Response() VirtualMachineScaleSetVMListResult
Response returns the raw server response from the last page request.
func (VirtualMachineScaleSetVMListResultPage) Values ¶
func (page VirtualMachineScaleSetVMListResultPage) Values() []VirtualMachineScaleSetVM
Values returns the slice of values for the current page or nil if there are no values.
type VirtualMachineScaleSetVMNetworkProfileConfiguration ¶
type VirtualMachineScaleSetVMNetworkProfileConfiguration struct { // NetworkInterfaceConfigurations - The list of network configurations. NetworkInterfaceConfigurations *[]VirtualMachineScaleSetNetworkConfiguration `json:"networkInterfaceConfigurations,omitempty"` }
VirtualMachineScaleSetVMNetworkProfileConfiguration describes a virtual machine scale set VM network profile.
type VirtualMachineScaleSetVMProfile ¶
type VirtualMachineScaleSetVMProfile struct { // OsProfile - Specifies the operating system settings for the virtual machines in the scale set. OsProfile *VirtualMachineScaleSetOSProfile `json:"osProfile,omitempty"` // StorageProfile - Specifies the storage settings for the virtual machine disks. StorageProfile *VirtualMachineScaleSetStorageProfile `json:"storageProfile,omitempty"` // NetworkProfile - Specifies properties of the network interfaces of the virtual machines in the scale set. NetworkProfile *VirtualMachineScaleSetNetworkProfile `json:"networkProfile,omitempty"` // SecurityProfile - Specifies the Security related profile settings for the virtual machines in the scale set. SecurityProfile *SecurityProfile `json:"securityProfile,omitempty"` // DiagnosticsProfile - Specifies the boot diagnostic settings state. <br><br>Minimum api-version: 2015-06-15. DiagnosticsProfile *DiagnosticsProfile `json:"diagnosticsProfile,omitempty"` // ExtensionProfile - Specifies a collection of settings for extensions installed on virtual machines in the scale set. ExtensionProfile *VirtualMachineScaleSetExtensionProfile `json:"extensionProfile,omitempty"` // LicenseType - Specifies that the image or disk that is being used was licensed on-premises. <br><br> Possible values for Windows Server operating system are: <br><br> Windows_Client <br><br> Windows_Server <br><br> Possible values for Linux Server operating system are: <br><br> RHEL_BYOS (for RHEL) <br><br> SLES_BYOS (for SUSE) <br><br> For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing) <br><br> [Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux) <br><br> Minimum api-version: 2015-06-15 LicenseType *string `json:"licenseType,omitempty"` // Priority - Specifies the priority for the virtual machines in the scale set. <br><br>Minimum api-version: 2017-10-30-preview. Possible values include: 'Regular', 'Low', 'Spot' Priority VirtualMachinePriorityTypes `json:"priority,omitempty"` // EvictionPolicy - Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set. <br><br>For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01. <br><br>For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview. Possible values include: 'Deallocate', 'Delete' EvictionPolicy VirtualMachineEvictionPolicyTypes `json:"evictionPolicy,omitempty"` // BillingProfile - Specifies the billing related details of a Azure Spot VMSS. <br><br>Minimum api-version: 2019-03-01. BillingProfile *BillingProfile `json:"billingProfile,omitempty"` // ScheduledEventsProfile - Specifies Scheduled Event related configurations. ScheduledEventsProfile *ScheduledEventsProfile `json:"scheduledEventsProfile,omitempty"` }
VirtualMachineScaleSetVMProfile describes a virtual machine scale set virtual machine profile.
type VirtualMachineScaleSetVMProperties ¶
type VirtualMachineScaleSetVMProperties struct { // LatestModelApplied - READ-ONLY; Specifies whether the latest model has been applied to the virtual machine. LatestModelApplied *bool `json:"latestModelApplied,omitempty"` // VMID - READ-ONLY; Azure VM unique ID. VMID *string `json:"vmId,omitempty"` // InstanceView - READ-ONLY; The virtual machine instance view. InstanceView *VirtualMachineScaleSetVMInstanceView `json:"instanceView,omitempty"` // HardwareProfile - Specifies the hardware settings for the virtual machine. HardwareProfile *HardwareProfile `json:"hardwareProfile,omitempty"` // StorageProfile - Specifies the storage settings for the virtual machine disks. StorageProfile *StorageProfile `json:"storageProfile,omitempty"` // AdditionalCapabilities - Specifies additional capabilities enabled or disabled on the virtual machine in the scale set. For instance: whether the virtual machine has the capability to support attaching managed data disks with UltraSSD_LRS storage account type. AdditionalCapabilities *AdditionalCapabilities `json:"additionalCapabilities,omitempty"` // OsProfile - Specifies the operating system settings for the virtual machine. OsProfile *OSProfile `json:"osProfile,omitempty"` // SecurityProfile - Specifies the Security related profile settings for the virtual machine. SecurityProfile *SecurityProfile `json:"securityProfile,omitempty"` // NetworkProfile - Specifies the network interfaces of the virtual machine. NetworkProfile *NetworkProfile `json:"networkProfile,omitempty"` // NetworkProfileConfiguration - Specifies the network profile configuration of the virtual machine. NetworkProfileConfiguration *VirtualMachineScaleSetVMNetworkProfileConfiguration `json:"networkProfileConfiguration,omitempty"` // DiagnosticsProfile - Specifies the boot diagnostic settings state. <br><br>Minimum api-version: 2015-06-15. DiagnosticsProfile *DiagnosticsProfile `json:"diagnosticsProfile,omitempty"` // AvailabilitySet - 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 maintenance, 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. AvailabilitySet *SubResource `json:"availabilitySet,omitempty"` // ProvisioningState - READ-ONLY; The provisioning state, which only appears in the response. ProvisioningState *string `json:"provisioningState,omitempty"` // LicenseType - Specifies that the image or disk that is being used was licensed on-premises. <br><br> Possible values for Windows Server operating system are: <br><br> Windows_Client <br><br> Windows_Server <br><br> Possible values for Linux Server operating system are: <br><br> RHEL_BYOS (for RHEL) <br><br> SLES_BYOS (for SUSE) <br><br> For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing) <br><br> [Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux) <br><br> Minimum api-version: 2015-06-15 LicenseType *string `json:"licenseType,omitempty"` // ModelDefinitionApplied - READ-ONLY; Specifies whether the model applied to the virtual machine is the model of the virtual machine scale set or the customized model for the virtual machine. ModelDefinitionApplied *string `json:"modelDefinitionApplied,omitempty"` // ProtectionPolicy - Specifies the protection policy of the virtual machine. ProtectionPolicy *VirtualMachineScaleSetVMProtectionPolicy `json:"protectionPolicy,omitempty"` }
VirtualMachineScaleSetVMProperties describes the properties of a virtual machine scale set virtual machine.
func (VirtualMachineScaleSetVMProperties) MarshalJSON ¶
func (vmssvp VirtualMachineScaleSetVMProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualMachineScaleSetVMProperties.
type VirtualMachineScaleSetVMProtectionPolicy ¶
type VirtualMachineScaleSetVMProtectionPolicy struct { // ProtectFromScaleIn - Indicates that the virtual machine scale set VM shouldn't be considered for deletion during a scale-in operation. ProtectFromScaleIn *bool `json:"protectFromScaleIn,omitempty"` // ProtectFromScaleSetActions - Indicates that model updates or actions (including scale-in) initiated on the virtual machine scale set should not be applied to the virtual machine scale set VM. ProtectFromScaleSetActions *bool `json:"protectFromScaleSetActions,omitempty"` }
VirtualMachineScaleSetVMProtectionPolicy the protection policy of a virtual machine scale set VM.
type VirtualMachineScaleSetVMReimageParameters ¶
type VirtualMachineScaleSetVMReimageParameters struct { // TempDisk - Specifies whether to reimage temp disk. Default value: false. Note: This temp disk reimage parameter is only supported for VM/VMSS with Ephemeral OS disk. TempDisk *bool `json:"tempDisk,omitempty"` }
VirtualMachineScaleSetVMReimageParameters describes a Virtual Machine Scale Set VM Reimage Parameters.
type VirtualMachineScaleSetVMsClient ¶
type VirtualMachineScaleSetVMsClient struct {
BaseClient
}
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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (VirtualMachineScaleSetVMsClient) Deallocate ¶
func (client VirtualMachineScaleSetVMsClient) Deallocate(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (result VirtualMachineScaleSetVMsDeallocateFuture, err 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. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. instanceID - the instance ID of the virtual machine.
func (VirtualMachineScaleSetVMsClient) DeallocatePreparer ¶
func (client VirtualMachineScaleSetVMsClient) DeallocatePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (*http.Request, error)
DeallocatePreparer prepares the Deallocate request.
func (VirtualMachineScaleSetVMsClient) DeallocateResponder ¶
func (client VirtualMachineScaleSetVMsClient) DeallocateResponder(resp *http.Response) (result autorest.Response, err error)
DeallocateResponder handles the response to the Deallocate request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetVMsClient) DeallocateSender ¶
func (client VirtualMachineScaleSetVMsClient) DeallocateSender(req *http.Request) (future VirtualMachineScaleSetVMsDeallocateFuture, err 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(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (result VirtualMachineScaleSetVMsDeleteFuture, err error)
Delete deletes a virtual machine from a VM scale set. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. instanceID - the instance ID of the virtual machine.
func (VirtualMachineScaleSetVMsClient) DeletePreparer ¶
func (client VirtualMachineScaleSetVMsClient) DeletePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (VirtualMachineScaleSetVMsClient) DeleteResponder ¶
func (client VirtualMachineScaleSetVMsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetVMsClient) DeleteSender ¶
func (client VirtualMachineScaleSetVMsClient) DeleteSender(req *http.Request) (future VirtualMachineScaleSetVMsDeleteFuture, err 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(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, expand InstanceViewTypes) (result VirtualMachineScaleSetVM, err error)
Get gets a virtual machine from a VM scale set. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. instanceID - the instance ID of the virtual machine. expand - the expand expression to apply on the operation.
func (VirtualMachineScaleSetVMsClient) GetInstanceView ¶
func (client VirtualMachineScaleSetVMsClient) GetInstanceView(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (result VirtualMachineScaleSetVMInstanceView, err error)
GetInstanceView gets the status of a virtual machine from a VM scale set. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. instanceID - the instance ID of the virtual machine.
func (VirtualMachineScaleSetVMsClient) GetInstanceViewPreparer ¶
func (client VirtualMachineScaleSetVMsClient) GetInstanceViewPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, expand InstanceViewTypes) (*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(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, filter string, selectParameter string, expand string) (result VirtualMachineScaleSetVMListResultPage, err error)
List gets a list of all virtual machines in a VM scale sets. Parameters: resourceGroupName - the name of the resource group. virtualMachineScaleSetName - the name of the VM scale set. filter - the filter to apply to the operation. Allowed values are 'startswith(instanceView/statuses/code, 'PowerState') eq true', 'properties/latestModelApplied eq true', 'properties/latestModelApplied eq false'. selectParameter - the list parameters. Allowed values are 'instanceView', 'instanceView/statuses'. expand - the expand expression to apply to the operation. Allowed values are 'instanceView'.
func (VirtualMachineScaleSetVMsClient) ListComplete ¶
func (client VirtualMachineScaleSetVMsClient) ListComplete(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, filter string, selectParameter string, expand string) (result VirtualMachineScaleSetVMListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (VirtualMachineScaleSetVMsClient) ListPreparer ¶
func (client VirtualMachineScaleSetVMsClient) ListPreparer(ctx context.Context, 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) PerformMaintenance ¶
func (client VirtualMachineScaleSetVMsClient) PerformMaintenance(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (result VirtualMachineScaleSetVMsPerformMaintenanceFuture, err error)
PerformMaintenance performs maintenance on a virtual machine in a VM scale set. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. instanceID - the instance ID of the virtual machine.
func (VirtualMachineScaleSetVMsClient) PerformMaintenancePreparer ¶
func (client VirtualMachineScaleSetVMsClient) PerformMaintenancePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (*http.Request, error)
PerformMaintenancePreparer prepares the PerformMaintenance request.
func (VirtualMachineScaleSetVMsClient) PerformMaintenanceResponder ¶
func (client VirtualMachineScaleSetVMsClient) PerformMaintenanceResponder(resp *http.Response) (result autorest.Response, err error)
PerformMaintenanceResponder handles the response to the PerformMaintenance request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetVMsClient) PerformMaintenanceSender ¶
func (client VirtualMachineScaleSetVMsClient) PerformMaintenanceSender(req *http.Request) (future VirtualMachineScaleSetVMsPerformMaintenanceFuture, err error)
PerformMaintenanceSender sends the PerformMaintenance request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetVMsClient) PowerOff ¶
func (client VirtualMachineScaleSetVMsClient) PowerOff(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, skipShutdown *bool) (result VirtualMachineScaleSetVMsPowerOffFuture, err 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. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. instanceID - the instance ID of the virtual machine. skipShutdown - the parameter to request non-graceful VM shutdown. True value for this flag indicates non-graceful shutdown whereas false indicates otherwise. Default value for this flag is false if not specified
func (VirtualMachineScaleSetVMsClient) PowerOffPreparer ¶
func (client VirtualMachineScaleSetVMsClient) PowerOffPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, skipShutdown *bool) (*http.Request, error)
PowerOffPreparer prepares the PowerOff request.
func (VirtualMachineScaleSetVMsClient) PowerOffResponder ¶
func (client VirtualMachineScaleSetVMsClient) PowerOffResponder(resp *http.Response) (result autorest.Response, err error)
PowerOffResponder handles the response to the PowerOff request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetVMsClient) PowerOffSender ¶
func (client VirtualMachineScaleSetVMsClient) PowerOffSender(req *http.Request) (future VirtualMachineScaleSetVMsPowerOffFuture, err error)
PowerOffSender sends the PowerOff request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetVMsClient) Redeploy ¶
func (client VirtualMachineScaleSetVMsClient) Redeploy(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (result VirtualMachineScaleSetVMsRedeployFuture, err error)
Redeploy shuts down the virtual machine in the virtual machine scale set, moves it to a new node, and powers it back on. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. instanceID - the instance ID of the virtual machine.
func (VirtualMachineScaleSetVMsClient) RedeployPreparer ¶
func (client VirtualMachineScaleSetVMsClient) RedeployPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (*http.Request, error)
RedeployPreparer prepares the Redeploy request.
func (VirtualMachineScaleSetVMsClient) RedeployResponder ¶
func (client VirtualMachineScaleSetVMsClient) RedeployResponder(resp *http.Response) (result autorest.Response, err error)
RedeployResponder handles the response to the Redeploy request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetVMsClient) RedeploySender ¶
func (client VirtualMachineScaleSetVMsClient) RedeploySender(req *http.Request) (future VirtualMachineScaleSetVMsRedeployFuture, err error)
RedeploySender sends the Redeploy request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetVMsClient) Reimage ¶
func (client VirtualMachineScaleSetVMsClient) Reimage(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, VMScaleSetVMReimageInput *VirtualMachineScaleSetVMReimageParameters) (result VirtualMachineScaleSetVMsReimageFuture, err error)
Reimage reimages (upgrade the operating system) a specific virtual machine in a VM scale set. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. instanceID - the instance ID of the virtual machine. VMScaleSetVMReimageInput - parameters for the Reimaging Virtual machine in ScaleSet.
func (VirtualMachineScaleSetVMsClient) ReimageAll ¶
func (client VirtualMachineScaleSetVMsClient) ReimageAll(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (result VirtualMachineScaleSetVMsReimageAllFuture, err 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. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. instanceID - the instance ID of the virtual machine.
func (VirtualMachineScaleSetVMsClient) ReimageAllPreparer ¶
func (client VirtualMachineScaleSetVMsClient) ReimageAllPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (*http.Request, error)
ReimageAllPreparer prepares the ReimageAll request.
func (VirtualMachineScaleSetVMsClient) ReimageAllResponder ¶
func (client VirtualMachineScaleSetVMsClient) ReimageAllResponder(resp *http.Response) (result autorest.Response, 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) (future VirtualMachineScaleSetVMsReimageAllFuture, err 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(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, VMScaleSetVMReimageInput *VirtualMachineScaleSetVMReimageParameters) (*http.Request, error)
ReimagePreparer prepares the Reimage request.
func (VirtualMachineScaleSetVMsClient) ReimageResponder ¶
func (client VirtualMachineScaleSetVMsClient) ReimageResponder(resp *http.Response) (result autorest.Response, 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) (future VirtualMachineScaleSetVMsReimageFuture, err 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(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (result VirtualMachineScaleSetVMsRestartFuture, err error)
Restart restarts a virtual machine in a VM scale set. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. instanceID - the instance ID of the virtual machine.
func (VirtualMachineScaleSetVMsClient) RestartPreparer ¶
func (client VirtualMachineScaleSetVMsClient) RestartPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (*http.Request, error)
RestartPreparer prepares the Restart request.
func (VirtualMachineScaleSetVMsClient) RestartResponder ¶
func (client VirtualMachineScaleSetVMsClient) RestartResponder(resp *http.Response) (result autorest.Response, err error)
RestartResponder handles the response to the Restart request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetVMsClient) RestartSender ¶
func (client VirtualMachineScaleSetVMsClient) RestartSender(req *http.Request) (future VirtualMachineScaleSetVMsRestartFuture, err error)
RestartSender sends the Restart request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetVMsClient) RetrieveBootDiagnosticsData ¶
func (client VirtualMachineScaleSetVMsClient) RetrieveBootDiagnosticsData(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, sasURIExpirationTimeInMinutes *int32) (result RetrieveBootDiagnosticsDataResult, err error)
RetrieveBootDiagnosticsData the operation to retrieve SAS URIs of boot diagnostic logs for a virtual machine in a VM scale set. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. instanceID - the instance ID of the virtual machine. sasURIExpirationTimeInMinutes - expiration duration in minutes for the SAS URIs with a value between 1 to 1440 minutes. <br><br>NOTE: If not specified, SAS URIs will be generated with a default expiration duration of 120 minutes.
func (VirtualMachineScaleSetVMsClient) RetrieveBootDiagnosticsDataPreparer ¶
func (client VirtualMachineScaleSetVMsClient) RetrieveBootDiagnosticsDataPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, sasURIExpirationTimeInMinutes *int32) (*http.Request, error)
RetrieveBootDiagnosticsDataPreparer prepares the RetrieveBootDiagnosticsData request.
func (VirtualMachineScaleSetVMsClient) RetrieveBootDiagnosticsDataResponder ¶
func (client VirtualMachineScaleSetVMsClient) RetrieveBootDiagnosticsDataResponder(resp *http.Response) (result RetrieveBootDiagnosticsDataResult, err error)
RetrieveBootDiagnosticsDataResponder handles the response to the RetrieveBootDiagnosticsData request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetVMsClient) RetrieveBootDiagnosticsDataSender ¶
func (client VirtualMachineScaleSetVMsClient) RetrieveBootDiagnosticsDataSender(req *http.Request) (*http.Response, error)
RetrieveBootDiagnosticsDataSender sends the RetrieveBootDiagnosticsData request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetVMsClient) SimulateEviction ¶
func (client VirtualMachineScaleSetVMsClient) SimulateEviction(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (result autorest.Response, err error)
SimulateEviction the operation to simulate the eviction of spot virtual machine in a VM scale set. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. instanceID - the instance ID of the virtual machine.
func (VirtualMachineScaleSetVMsClient) SimulateEvictionPreparer ¶
func (client VirtualMachineScaleSetVMsClient) SimulateEvictionPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (*http.Request, error)
SimulateEvictionPreparer prepares the SimulateEviction request.
func (VirtualMachineScaleSetVMsClient) SimulateEvictionResponder ¶
func (client VirtualMachineScaleSetVMsClient) SimulateEvictionResponder(resp *http.Response) (result autorest.Response, err error)
SimulateEvictionResponder handles the response to the SimulateEviction request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetVMsClient) SimulateEvictionSender ¶
func (client VirtualMachineScaleSetVMsClient) SimulateEvictionSender(req *http.Request) (*http.Response, error)
SimulateEvictionSender sends the SimulateEviction request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetVMsClient) Start ¶
func (client VirtualMachineScaleSetVMsClient) Start(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (result VirtualMachineScaleSetVMsStartFuture, err error)
Start starts a virtual machine in a VM scale set. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. instanceID - the instance ID of the virtual machine.
func (VirtualMachineScaleSetVMsClient) StartPreparer ¶
func (client VirtualMachineScaleSetVMsClient) StartPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (*http.Request, error)
StartPreparer prepares the Start request.
func (VirtualMachineScaleSetVMsClient) StartResponder ¶
func (client VirtualMachineScaleSetVMsClient) StartResponder(resp *http.Response) (result autorest.Response, err error)
StartResponder handles the response to the Start request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetVMsClient) StartSender ¶
func (client VirtualMachineScaleSetVMsClient) StartSender(req *http.Request) (future VirtualMachineScaleSetVMsStartFuture, err error)
StartSender sends the Start request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetVMsClient) Update ¶
func (client VirtualMachineScaleSetVMsClient) Update(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, parameters VirtualMachineScaleSetVM) (result VirtualMachineScaleSetVMsUpdateFuture, err error)
Update updates a virtual machine of a VM scale set. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set where the extension should be create or updated. instanceID - the instance ID of the virtual machine. parameters - parameters supplied to the Update Virtual Machine Scale Sets VM operation.
func (VirtualMachineScaleSetVMsClient) UpdatePreparer ¶
func (client VirtualMachineScaleSetVMsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, parameters VirtualMachineScaleSetVM) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (VirtualMachineScaleSetVMsClient) UpdateResponder ¶
func (client VirtualMachineScaleSetVMsClient) UpdateResponder(resp *http.Response) (result VirtualMachineScaleSetVM, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetVMsClient) UpdateSender ¶
func (client VirtualMachineScaleSetVMsClient) UpdateSender(req *http.Request) (future VirtualMachineScaleSetVMsUpdateFuture, err error)
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type VirtualMachineScaleSetVMsDeallocateFuture ¶
type VirtualMachineScaleSetVMsDeallocateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualMachineScaleSetVMsClient) (autorest.Response, error) }
VirtualMachineScaleSetVMsDeallocateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualMachineScaleSetVMsDeallocateFuture) UnmarshalJSON ¶
func (future *VirtualMachineScaleSetVMsDeallocateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualMachineScaleSetVMsDeleteFuture ¶
type VirtualMachineScaleSetVMsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualMachineScaleSetVMsClient) (autorest.Response, error) }
VirtualMachineScaleSetVMsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualMachineScaleSetVMsDeleteFuture) UnmarshalJSON ¶
func (future *VirtualMachineScaleSetVMsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualMachineScaleSetVMsPerformMaintenanceFuture ¶
type VirtualMachineScaleSetVMsPerformMaintenanceFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualMachineScaleSetVMsClient) (autorest.Response, error) }
VirtualMachineScaleSetVMsPerformMaintenanceFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualMachineScaleSetVMsPerformMaintenanceFuture) UnmarshalJSON ¶
func (future *VirtualMachineScaleSetVMsPerformMaintenanceFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualMachineScaleSetVMsPowerOffFuture ¶
type VirtualMachineScaleSetVMsPowerOffFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualMachineScaleSetVMsClient) (autorest.Response, error) }
VirtualMachineScaleSetVMsPowerOffFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualMachineScaleSetVMsPowerOffFuture) UnmarshalJSON ¶
func (future *VirtualMachineScaleSetVMsPowerOffFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualMachineScaleSetVMsRedeployFuture ¶
type VirtualMachineScaleSetVMsRedeployFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualMachineScaleSetVMsClient) (autorest.Response, error) }
VirtualMachineScaleSetVMsRedeployFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualMachineScaleSetVMsRedeployFuture) UnmarshalJSON ¶
func (future *VirtualMachineScaleSetVMsRedeployFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualMachineScaleSetVMsReimageAllFuture ¶
type VirtualMachineScaleSetVMsReimageAllFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualMachineScaleSetVMsClient) (autorest.Response, error) }
VirtualMachineScaleSetVMsReimageAllFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualMachineScaleSetVMsReimageAllFuture) UnmarshalJSON ¶
func (future *VirtualMachineScaleSetVMsReimageAllFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualMachineScaleSetVMsReimageFuture ¶
type VirtualMachineScaleSetVMsReimageFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualMachineScaleSetVMsClient) (autorest.Response, error) }
VirtualMachineScaleSetVMsReimageFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualMachineScaleSetVMsReimageFuture) UnmarshalJSON ¶
func (future *VirtualMachineScaleSetVMsReimageFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualMachineScaleSetVMsRestartFuture ¶
type VirtualMachineScaleSetVMsRestartFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualMachineScaleSetVMsClient) (autorest.Response, error) }
VirtualMachineScaleSetVMsRestartFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualMachineScaleSetVMsRestartFuture) UnmarshalJSON ¶
func (future *VirtualMachineScaleSetVMsRestartFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualMachineScaleSetVMsStartFuture ¶
type VirtualMachineScaleSetVMsStartFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualMachineScaleSetVMsClient) (autorest.Response, error) }
VirtualMachineScaleSetVMsStartFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualMachineScaleSetVMsStartFuture) UnmarshalJSON ¶
func (future *VirtualMachineScaleSetVMsStartFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualMachineScaleSetVMsUpdateFuture ¶
type VirtualMachineScaleSetVMsUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualMachineScaleSetVMsClient) (VirtualMachineScaleSetVM, error) }
VirtualMachineScaleSetVMsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualMachineScaleSetVMsUpdateFuture) UnmarshalJSON ¶
func (future *VirtualMachineScaleSetVMsUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualMachineScaleSetsClient ¶
type VirtualMachineScaleSetsClient struct {
BaseClient
}
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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (VirtualMachineScaleSetsClient) ConvertToSinglePlacementGroup ¶
func (client VirtualMachineScaleSetsClient) ConvertToSinglePlacementGroup(ctx context.Context, resourceGroupName string, VMScaleSetName string, parameters VMScaleSetConvertToSinglePlacementGroupInput) (result autorest.Response, err error)
ConvertToSinglePlacementGroup converts SinglePlacementGroup property to false for a existing virtual machine scale set. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the virtual machine scale set to create or update. parameters - the input object for ConvertToSinglePlacementGroup API.
func (VirtualMachineScaleSetsClient) ConvertToSinglePlacementGroupPreparer ¶
func (client VirtualMachineScaleSetsClient) ConvertToSinglePlacementGroupPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, parameters VMScaleSetConvertToSinglePlacementGroupInput) (*http.Request, error)
ConvertToSinglePlacementGroupPreparer prepares the ConvertToSinglePlacementGroup request.
func (VirtualMachineScaleSetsClient) ConvertToSinglePlacementGroupResponder ¶
func (client VirtualMachineScaleSetsClient) ConvertToSinglePlacementGroupResponder(resp *http.Response) (result autorest.Response, err error)
ConvertToSinglePlacementGroupResponder handles the response to the ConvertToSinglePlacementGroup request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetsClient) ConvertToSinglePlacementGroupSender ¶
func (client VirtualMachineScaleSetsClient) ConvertToSinglePlacementGroupSender(req *http.Request) (*http.Response, error)
ConvertToSinglePlacementGroupSender sends the ConvertToSinglePlacementGroup request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetsClient) CreateOrUpdate ¶
func (client VirtualMachineScaleSetsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, VMScaleSetName string, parameters VirtualMachineScaleSet) (result VirtualMachineScaleSetsCreateOrUpdateFuture, err error)
CreateOrUpdate create or update a VM scale set. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set to create or update. parameters - the scale set object.
func (VirtualMachineScaleSetsClient) CreateOrUpdatePreparer ¶
func (client VirtualMachineScaleSetsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, parameters VirtualMachineScaleSet) (*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) (future VirtualMachineScaleSetsCreateOrUpdateFuture, err 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(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (result VirtualMachineScaleSetsDeallocateFuture, err 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. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. VMInstanceIDs - a list of virtual machine instance IDs from the VM scale set.
func (VirtualMachineScaleSetsClient) DeallocatePreparer ¶
func (client VirtualMachineScaleSetsClient) DeallocatePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (*http.Request, error)
DeallocatePreparer prepares the Deallocate request.
func (VirtualMachineScaleSetsClient) DeallocateResponder ¶
func (client VirtualMachineScaleSetsClient) DeallocateResponder(resp *http.Response) (result autorest.Response, err error)
DeallocateResponder handles the response to the Deallocate request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetsClient) DeallocateSender ¶
func (client VirtualMachineScaleSetsClient) DeallocateSender(req *http.Request) (future VirtualMachineScaleSetsDeallocateFuture, err 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(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetsDeleteFuture, err error)
Delete deletes a VM scale set. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set.
func (VirtualMachineScaleSetsClient) DeleteInstances ¶
func (client VirtualMachineScaleSetsClient) DeleteInstances(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs VirtualMachineScaleSetVMInstanceRequiredIDs) (result VirtualMachineScaleSetsDeleteInstancesFuture, err error)
DeleteInstances deletes virtual machines in a VM scale set. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. VMInstanceIDs - a list of virtual machine instance IDs from the VM scale set.
func (VirtualMachineScaleSetsClient) DeleteInstancesPreparer ¶
func (client VirtualMachineScaleSetsClient) DeleteInstancesPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs VirtualMachineScaleSetVMInstanceRequiredIDs) (*http.Request, error)
DeleteInstancesPreparer prepares the DeleteInstances request.
func (VirtualMachineScaleSetsClient) DeleteInstancesResponder ¶
func (client VirtualMachineScaleSetsClient) DeleteInstancesResponder(resp *http.Response) (result autorest.Response, err error)
DeleteInstancesResponder handles the response to the DeleteInstances request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetsClient) DeleteInstancesSender ¶
func (client VirtualMachineScaleSetsClient) DeleteInstancesSender(req *http.Request) (future VirtualMachineScaleSetsDeleteInstancesFuture, err 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(ctx context.Context, resourceGroupName string, VMScaleSetName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (VirtualMachineScaleSetsClient) DeleteResponder ¶
func (client VirtualMachineScaleSetsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetsClient) DeleteSender ¶
func (client VirtualMachineScaleSetsClient) DeleteSender(req *http.Request) (future VirtualMachineScaleSetsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetsClient) ForceRecoveryServiceFabricPlatformUpdateDomainWalk ¶
func (client VirtualMachineScaleSetsClient) ForceRecoveryServiceFabricPlatformUpdateDomainWalk(ctx context.Context, resourceGroupName string, VMScaleSetName string, platformUpdateDomain int32) (result RecoveryWalkResponse, err error)
ForceRecoveryServiceFabricPlatformUpdateDomainWalk manual platform update domain walk to update virtual machines in a service fabric virtual machine scale set. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. platformUpdateDomain - the platform update domain for which a manual recovery walk is requested
func (VirtualMachineScaleSetsClient) ForceRecoveryServiceFabricPlatformUpdateDomainWalkPreparer ¶
func (client VirtualMachineScaleSetsClient) ForceRecoveryServiceFabricPlatformUpdateDomainWalkPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, platformUpdateDomain int32) (*http.Request, error)
ForceRecoveryServiceFabricPlatformUpdateDomainWalkPreparer prepares the ForceRecoveryServiceFabricPlatformUpdateDomainWalk request.
func (VirtualMachineScaleSetsClient) ForceRecoveryServiceFabricPlatformUpdateDomainWalkResponder ¶
func (client VirtualMachineScaleSetsClient) ForceRecoveryServiceFabricPlatformUpdateDomainWalkResponder(resp *http.Response) (result RecoveryWalkResponse, err error)
ForceRecoveryServiceFabricPlatformUpdateDomainWalkResponder handles the response to the ForceRecoveryServiceFabricPlatformUpdateDomainWalk request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetsClient) ForceRecoveryServiceFabricPlatformUpdateDomainWalkSender ¶
func (client VirtualMachineScaleSetsClient) ForceRecoveryServiceFabricPlatformUpdateDomainWalkSender(req *http.Request) (*http.Response, error)
ForceRecoveryServiceFabricPlatformUpdateDomainWalkSender sends the ForceRecoveryServiceFabricPlatformUpdateDomainWalk request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetsClient) Get ¶
func (client VirtualMachineScaleSetsClient) Get(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSet, err error)
Get display information about a virtual machine scale set. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set.
func (VirtualMachineScaleSetsClient) GetInstanceView ¶
func (client VirtualMachineScaleSetsClient) GetInstanceView(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetInstanceView, err error)
GetInstanceView gets the status of a VM scale set instance. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set.
func (VirtualMachineScaleSetsClient) GetInstanceViewPreparer ¶
func (client VirtualMachineScaleSetsClient) GetInstanceViewPreparer(ctx context.Context, 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) GetOSUpgradeHistory ¶
func (client VirtualMachineScaleSetsClient) GetOSUpgradeHistory(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetListOSUpgradeHistoryPage, err error)
GetOSUpgradeHistory gets list of OS upgrades on a VM scale set instance. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set.
func (VirtualMachineScaleSetsClient) GetOSUpgradeHistoryComplete ¶
func (client VirtualMachineScaleSetsClient) GetOSUpgradeHistoryComplete(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetListOSUpgradeHistoryIterator, err error)
GetOSUpgradeHistoryComplete enumerates all values, automatically crossing page boundaries as required.
func (VirtualMachineScaleSetsClient) GetOSUpgradeHistoryPreparer ¶
func (client VirtualMachineScaleSetsClient) GetOSUpgradeHistoryPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string) (*http.Request, error)
GetOSUpgradeHistoryPreparer prepares the GetOSUpgradeHistory request.
func (VirtualMachineScaleSetsClient) GetOSUpgradeHistoryResponder ¶
func (client VirtualMachineScaleSetsClient) GetOSUpgradeHistoryResponder(resp *http.Response) (result VirtualMachineScaleSetListOSUpgradeHistory, err error)
GetOSUpgradeHistoryResponder handles the response to the GetOSUpgradeHistory request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetsClient) GetOSUpgradeHistorySender ¶
func (client VirtualMachineScaleSetsClient) GetOSUpgradeHistorySender(req *http.Request) (*http.Response, error)
GetOSUpgradeHistorySender sends the GetOSUpgradeHistory request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetsClient) GetPreparer ¶
func (client VirtualMachineScaleSetsClient) GetPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string) (result VirtualMachineScaleSetListResultPage, err error)
List gets a list of all VM scale sets under a resource group. Parameters: resourceGroupName - the name of the resource group.
func (VirtualMachineScaleSetsClient) ListAll ¶
func (client VirtualMachineScaleSetsClient) ListAll(ctx context.Context) (result VirtualMachineScaleSetListWithLinkResultPage, 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 null to fetch all the VM Scale Sets.
func (VirtualMachineScaleSetsClient) ListAllComplete ¶
func (client VirtualMachineScaleSetsClient) ListAllComplete(ctx context.Context) (result VirtualMachineScaleSetListWithLinkResultIterator, err error)
ListAllComplete enumerates all values, automatically crossing page boundaries as required.
func (VirtualMachineScaleSetsClient) ListAllPreparer ¶
func (client VirtualMachineScaleSetsClient) ListAllPreparer(ctx context.Context) (*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(ctx context.Context, resourceGroupName string) (result VirtualMachineScaleSetListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (VirtualMachineScaleSetsClient) ListPreparer ¶
func (client VirtualMachineScaleSetsClient) ListPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetListSkusResultPage, 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. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set.
func (VirtualMachineScaleSetsClient) ListSkusComplete ¶
func (client VirtualMachineScaleSetsClient) ListSkusComplete(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetListSkusResultIterator, err error)
ListSkusComplete enumerates all values, automatically crossing page boundaries as required.
func (VirtualMachineScaleSetsClient) ListSkusPreparer ¶
func (client VirtualMachineScaleSetsClient) ListSkusPreparer(ctx context.Context, 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) PerformMaintenance ¶
func (client VirtualMachineScaleSetsClient) PerformMaintenance(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (result VirtualMachineScaleSetsPerformMaintenanceFuture, err error)
PerformMaintenance perform maintenance on one or more virtual machines in a VM scale set. Operation on instances which are not eligible for perform maintenance will be failed. Please refer to best practices for more details: https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-maintenance-notifications Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. VMInstanceIDs - a list of virtual machine instance IDs from the VM scale set.
func (VirtualMachineScaleSetsClient) PerformMaintenancePreparer ¶
func (client VirtualMachineScaleSetsClient) PerformMaintenancePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (*http.Request, error)
PerformMaintenancePreparer prepares the PerformMaintenance request.
func (VirtualMachineScaleSetsClient) PerformMaintenanceResponder ¶
func (client VirtualMachineScaleSetsClient) PerformMaintenanceResponder(resp *http.Response) (result autorest.Response, err error)
PerformMaintenanceResponder handles the response to the PerformMaintenance request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetsClient) PerformMaintenanceSender ¶
func (client VirtualMachineScaleSetsClient) PerformMaintenanceSender(req *http.Request) (future VirtualMachineScaleSetsPerformMaintenanceFuture, err error)
PerformMaintenanceSender sends the PerformMaintenance request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetsClient) PowerOff ¶
func (client VirtualMachineScaleSetsClient) PowerOff(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs, skipShutdown *bool) (result VirtualMachineScaleSetsPowerOffFuture, err 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. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. VMInstanceIDs - a list of virtual machine instance IDs from the VM scale set. skipShutdown - the parameter to request non-graceful VM shutdown. True value for this flag indicates non-graceful shutdown whereas false indicates otherwise. Default value for this flag is false if not specified
func (VirtualMachineScaleSetsClient) PowerOffPreparer ¶
func (client VirtualMachineScaleSetsClient) PowerOffPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs, skipShutdown *bool) (*http.Request, error)
PowerOffPreparer prepares the PowerOff request.
func (VirtualMachineScaleSetsClient) PowerOffResponder ¶
func (client VirtualMachineScaleSetsClient) PowerOffResponder(resp *http.Response) (result autorest.Response, err error)
PowerOffResponder handles the response to the PowerOff request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetsClient) PowerOffSender ¶
func (client VirtualMachineScaleSetsClient) PowerOffSender(req *http.Request) (future VirtualMachineScaleSetsPowerOffFuture, err error)
PowerOffSender sends the PowerOff request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetsClient) Redeploy ¶
func (client VirtualMachineScaleSetsClient) Redeploy(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (result VirtualMachineScaleSetsRedeployFuture, err error)
Redeploy shuts down all the virtual machines in the virtual machine scale set, moves them to a new node, and powers them back on. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. VMInstanceIDs - a list of virtual machine instance IDs from the VM scale set.
func (VirtualMachineScaleSetsClient) RedeployPreparer ¶
func (client VirtualMachineScaleSetsClient) RedeployPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (*http.Request, error)
RedeployPreparer prepares the Redeploy request.
func (VirtualMachineScaleSetsClient) RedeployResponder ¶
func (client VirtualMachineScaleSetsClient) RedeployResponder(resp *http.Response) (result autorest.Response, err error)
RedeployResponder handles the response to the Redeploy request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetsClient) RedeploySender ¶
func (client VirtualMachineScaleSetsClient) RedeploySender(req *http.Request) (future VirtualMachineScaleSetsRedeployFuture, err error)
RedeploySender sends the Redeploy request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetsClient) Reimage ¶
func (client VirtualMachineScaleSetsClient) Reimage(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMScaleSetReimageInput *VirtualMachineScaleSetReimageParameters) (result VirtualMachineScaleSetsReimageFuture, err error)
Reimage reimages (upgrade the operating system) one or more virtual machines in a VM scale set which don't have a ephemeral OS disk, for virtual machines who have a ephemeral OS disk the virtual machine is reset to initial state. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. VMScaleSetReimageInput - parameters for Reimaging VM ScaleSet.
func (VirtualMachineScaleSetsClient) ReimageAll ¶
func (client VirtualMachineScaleSetsClient) ReimageAll(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (result VirtualMachineScaleSetsReimageAllFuture, err 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. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. VMInstanceIDs - a list of virtual machine instance IDs from the VM scale set.
func (VirtualMachineScaleSetsClient) ReimageAllPreparer ¶
func (client VirtualMachineScaleSetsClient) ReimageAllPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (*http.Request, error)
ReimageAllPreparer prepares the ReimageAll request.
func (VirtualMachineScaleSetsClient) ReimageAllResponder ¶
func (client VirtualMachineScaleSetsClient) ReimageAllResponder(resp *http.Response) (result autorest.Response, 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) (future VirtualMachineScaleSetsReimageAllFuture, err 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(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMScaleSetReimageInput *VirtualMachineScaleSetReimageParameters) (*http.Request, error)
ReimagePreparer prepares the Reimage request.
func (VirtualMachineScaleSetsClient) ReimageResponder ¶
func (client VirtualMachineScaleSetsClient) ReimageResponder(resp *http.Response) (result autorest.Response, 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) (future VirtualMachineScaleSetsReimageFuture, err 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(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (result VirtualMachineScaleSetsRestartFuture, err error)
Restart restarts one or more virtual machines in a VM scale set. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. VMInstanceIDs - a list of virtual machine instance IDs from the VM scale set.
func (VirtualMachineScaleSetsClient) RestartPreparer ¶
func (client VirtualMachineScaleSetsClient) RestartPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (*http.Request, error)
RestartPreparer prepares the Restart request.
func (VirtualMachineScaleSetsClient) RestartResponder ¶
func (client VirtualMachineScaleSetsClient) RestartResponder(resp *http.Response) (result autorest.Response, err error)
RestartResponder handles the response to the Restart request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetsClient) RestartSender ¶
func (client VirtualMachineScaleSetsClient) RestartSender(req *http.Request) (future VirtualMachineScaleSetsRestartFuture, err error)
RestartSender sends the Restart request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetsClient) SetOrchestrationServiceState ¶
func (client VirtualMachineScaleSetsClient) SetOrchestrationServiceState(ctx context.Context, resourceGroupName string, VMScaleSetName string, parameters OrchestrationServiceStateInput) (result VirtualMachineScaleSetsSetOrchestrationServiceStateFuture, err error)
SetOrchestrationServiceState changes ServiceState property for a given service Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the virtual machine scale set to create or update. parameters - the input object for SetOrchestrationServiceState API.
func (VirtualMachineScaleSetsClient) SetOrchestrationServiceStatePreparer ¶
func (client VirtualMachineScaleSetsClient) SetOrchestrationServiceStatePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, parameters OrchestrationServiceStateInput) (*http.Request, error)
SetOrchestrationServiceStatePreparer prepares the SetOrchestrationServiceState request.
func (VirtualMachineScaleSetsClient) SetOrchestrationServiceStateResponder ¶
func (client VirtualMachineScaleSetsClient) SetOrchestrationServiceStateResponder(resp *http.Response) (result autorest.Response, err error)
SetOrchestrationServiceStateResponder handles the response to the SetOrchestrationServiceState request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetsClient) SetOrchestrationServiceStateSender ¶
func (client VirtualMachineScaleSetsClient) SetOrchestrationServiceStateSender(req *http.Request) (future VirtualMachineScaleSetsSetOrchestrationServiceStateFuture, err error)
SetOrchestrationServiceStateSender sends the SetOrchestrationServiceState request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetsClient) Start ¶
func (client VirtualMachineScaleSetsClient) Start(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (result VirtualMachineScaleSetsStartFuture, err error)
Start starts one or more virtual machines in a VM scale set. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. VMInstanceIDs - a list of virtual machine instance IDs from the VM scale set.
func (VirtualMachineScaleSetsClient) StartPreparer ¶
func (client VirtualMachineScaleSetsClient) StartPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (*http.Request, error)
StartPreparer prepares the Start request.
func (VirtualMachineScaleSetsClient) StartResponder ¶
func (client VirtualMachineScaleSetsClient) StartResponder(resp *http.Response) (result autorest.Response, err error)
StartResponder handles the response to the Start request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetsClient) StartSender ¶
func (client VirtualMachineScaleSetsClient) StartSender(req *http.Request) (future VirtualMachineScaleSetsStartFuture, err error)
StartSender sends the Start request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetsClient) Update ¶
func (client VirtualMachineScaleSetsClient) Update(ctx context.Context, resourceGroupName string, VMScaleSetName string, parameters VirtualMachineScaleSetUpdate) (result VirtualMachineScaleSetsUpdateFuture, err error)
Update update a VM scale set. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set to create or update. parameters - the scale set object.
func (VirtualMachineScaleSetsClient) UpdateInstances ¶
func (client VirtualMachineScaleSetsClient) UpdateInstances(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs VirtualMachineScaleSetVMInstanceRequiredIDs) (result VirtualMachineScaleSetsUpdateInstancesFuture, err error)
UpdateInstances upgrades one or more virtual machines to the latest SKU set in the VM scale set model. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. VMInstanceIDs - a list of virtual machine instance IDs from the VM scale set.
func (VirtualMachineScaleSetsClient) UpdateInstancesPreparer ¶
func (client VirtualMachineScaleSetsClient) UpdateInstancesPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs VirtualMachineScaleSetVMInstanceRequiredIDs) (*http.Request, error)
UpdateInstancesPreparer prepares the UpdateInstances request.
func (VirtualMachineScaleSetsClient) UpdateInstancesResponder ¶
func (client VirtualMachineScaleSetsClient) UpdateInstancesResponder(resp *http.Response) (result autorest.Response, err error)
UpdateInstancesResponder handles the response to the UpdateInstances request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetsClient) UpdateInstancesSender ¶
func (client VirtualMachineScaleSetsClient) UpdateInstancesSender(req *http.Request) (future VirtualMachineScaleSetsUpdateInstancesFuture, err 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(ctx context.Context, resourceGroupName string, VMScaleSetName string, parameters VirtualMachineScaleSetUpdate) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (VirtualMachineScaleSetsClient) UpdateResponder ¶
func (client VirtualMachineScaleSetsClient) UpdateResponder(resp *http.Response) (result VirtualMachineScaleSet, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetsClient) UpdateSender ¶
func (client VirtualMachineScaleSetsClient) UpdateSender(req *http.Request) (future VirtualMachineScaleSetsUpdateFuture, err error)
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type VirtualMachineScaleSetsCreateOrUpdateFuture ¶
type VirtualMachineScaleSetsCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualMachineScaleSetsClient) (VirtualMachineScaleSet, error) }
VirtualMachineScaleSetsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualMachineScaleSetsCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *VirtualMachineScaleSetsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualMachineScaleSetsDeallocateFuture ¶
type VirtualMachineScaleSetsDeallocateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualMachineScaleSetsClient) (autorest.Response, error) }
VirtualMachineScaleSetsDeallocateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualMachineScaleSetsDeallocateFuture) UnmarshalJSON ¶
func (future *VirtualMachineScaleSetsDeallocateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualMachineScaleSetsDeleteFuture ¶
type VirtualMachineScaleSetsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualMachineScaleSetsClient) (autorest.Response, error) }
VirtualMachineScaleSetsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualMachineScaleSetsDeleteFuture) UnmarshalJSON ¶
func (future *VirtualMachineScaleSetsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualMachineScaleSetsDeleteInstancesFuture ¶
type VirtualMachineScaleSetsDeleteInstancesFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualMachineScaleSetsClient) (autorest.Response, error) }
VirtualMachineScaleSetsDeleteInstancesFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualMachineScaleSetsDeleteInstancesFuture) UnmarshalJSON ¶
func (future *VirtualMachineScaleSetsDeleteInstancesFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualMachineScaleSetsPerformMaintenanceFuture ¶
type VirtualMachineScaleSetsPerformMaintenanceFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualMachineScaleSetsClient) (autorest.Response, error) }
VirtualMachineScaleSetsPerformMaintenanceFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualMachineScaleSetsPerformMaintenanceFuture) UnmarshalJSON ¶
func (future *VirtualMachineScaleSetsPerformMaintenanceFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualMachineScaleSetsPowerOffFuture ¶
type VirtualMachineScaleSetsPowerOffFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualMachineScaleSetsClient) (autorest.Response, error) }
VirtualMachineScaleSetsPowerOffFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualMachineScaleSetsPowerOffFuture) UnmarshalJSON ¶
func (future *VirtualMachineScaleSetsPowerOffFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualMachineScaleSetsRedeployFuture ¶
type VirtualMachineScaleSetsRedeployFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualMachineScaleSetsClient) (autorest.Response, error) }
VirtualMachineScaleSetsRedeployFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualMachineScaleSetsRedeployFuture) UnmarshalJSON ¶
func (future *VirtualMachineScaleSetsRedeployFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualMachineScaleSetsReimageAllFuture ¶
type VirtualMachineScaleSetsReimageAllFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualMachineScaleSetsClient) (autorest.Response, error) }
VirtualMachineScaleSetsReimageAllFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualMachineScaleSetsReimageAllFuture) UnmarshalJSON ¶
func (future *VirtualMachineScaleSetsReimageAllFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualMachineScaleSetsReimageFuture ¶
type VirtualMachineScaleSetsReimageFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualMachineScaleSetsClient) (autorest.Response, error) }
VirtualMachineScaleSetsReimageFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualMachineScaleSetsReimageFuture) UnmarshalJSON ¶
func (future *VirtualMachineScaleSetsReimageFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualMachineScaleSetsRestartFuture ¶
type VirtualMachineScaleSetsRestartFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualMachineScaleSetsClient) (autorest.Response, error) }
VirtualMachineScaleSetsRestartFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualMachineScaleSetsRestartFuture) UnmarshalJSON ¶
func (future *VirtualMachineScaleSetsRestartFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualMachineScaleSetsSetOrchestrationServiceStateFuture ¶
type VirtualMachineScaleSetsSetOrchestrationServiceStateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualMachineScaleSetsClient) (autorest.Response, error) }
VirtualMachineScaleSetsSetOrchestrationServiceStateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualMachineScaleSetsSetOrchestrationServiceStateFuture) UnmarshalJSON ¶
func (future *VirtualMachineScaleSetsSetOrchestrationServiceStateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualMachineScaleSetsStartFuture ¶
type VirtualMachineScaleSetsStartFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualMachineScaleSetsClient) (autorest.Response, error) }
VirtualMachineScaleSetsStartFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualMachineScaleSetsStartFuture) UnmarshalJSON ¶
func (future *VirtualMachineScaleSetsStartFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualMachineScaleSetsUpdateFuture ¶
type VirtualMachineScaleSetsUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualMachineScaleSetsClient) (VirtualMachineScaleSet, error) }
VirtualMachineScaleSetsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualMachineScaleSetsUpdateFuture) UnmarshalJSON ¶
func (future *VirtualMachineScaleSetsUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualMachineScaleSetsUpdateInstancesFuture ¶
type VirtualMachineScaleSetsUpdateInstancesFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualMachineScaleSetsClient) (autorest.Response, error) }
VirtualMachineScaleSetsUpdateInstancesFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualMachineScaleSetsUpdateInstancesFuture) UnmarshalJSON ¶
func (future *VirtualMachineScaleSetsUpdateInstancesFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualMachineSize ¶
type VirtualMachineSize struct { // Name - The name of the virtual machine size. Name *string `json:"name,omitempty"` // NumberOfCores - The number of cores supported by the virtual machine size. NumberOfCores *int32 `json:"numberOfCores,omitempty"` // OsDiskSizeInMB - The OS disk size, in MB, allowed by the virtual machine size. OsDiskSizeInMB *int32 `json:"osDiskSizeInMB,omitempty"` // ResourceDiskSizeInMB - The resource disk size, in MB, allowed by the virtual machine size. ResourceDiskSizeInMB *int32 `json:"resourceDiskSizeInMB,omitempty"` // MemoryInMB - The amount of memory, in MB, supported by the virtual machine size. MemoryInMB *int32 `json:"memoryInMB,omitempty"` // MaxDataDiskCount - The maximum number of data disks that can be attached to the virtual machine size. MaxDataDiskCount *int32 `json:"maxDataDiskCount,omitempty"` }
VirtualMachineSize describes the properties of a VM size.
type VirtualMachineSizeListResult ¶
type VirtualMachineSizeListResult struct { autorest.Response `json:"-"` // Value - The list of virtual machine sizes. Value *[]VirtualMachineSize `json:"value,omitempty"` }
VirtualMachineSizeListResult the List Virtual Machine operation response.
type VirtualMachineSizeTypes ¶
type VirtualMachineSizeTypes string
VirtualMachineSizeTypes enumerates the values for virtual machine size types.
const ( // BasicA0 ... BasicA0 VirtualMachineSizeTypes = "Basic_A0" // BasicA1 ... BasicA1 VirtualMachineSizeTypes = "Basic_A1" // BasicA2 ... BasicA2 VirtualMachineSizeTypes = "Basic_A2" // BasicA3 ... BasicA3 VirtualMachineSizeTypes = "Basic_A3" // BasicA4 ... BasicA4 VirtualMachineSizeTypes = "Basic_A4" // StandardA0 ... StandardA0 VirtualMachineSizeTypes = "Standard_A0" // StandardA1 ... StandardA1 VirtualMachineSizeTypes = "Standard_A1" // StandardA10 ... StandardA10 VirtualMachineSizeTypes = "Standard_A10" // StandardA11 ... StandardA11 VirtualMachineSizeTypes = "Standard_A11" // StandardA1V2 ... StandardA1V2 VirtualMachineSizeTypes = "Standard_A1_v2" // StandardA2 ... StandardA2 VirtualMachineSizeTypes = "Standard_A2" // StandardA2mV2 ... StandardA2mV2 VirtualMachineSizeTypes = "Standard_A2m_v2" // StandardA2V2 ... StandardA2V2 VirtualMachineSizeTypes = "Standard_A2_v2" // StandardA3 ... StandardA3 VirtualMachineSizeTypes = "Standard_A3" // StandardA4 ... StandardA4 VirtualMachineSizeTypes = "Standard_A4" // StandardA4mV2 ... StandardA4mV2 VirtualMachineSizeTypes = "Standard_A4m_v2" // StandardA4V2 ... StandardA4V2 VirtualMachineSizeTypes = "Standard_A4_v2" // StandardA5 ... StandardA5 VirtualMachineSizeTypes = "Standard_A5" // StandardA6 ... StandardA6 VirtualMachineSizeTypes = "Standard_A6" // StandardA7 ... StandardA7 VirtualMachineSizeTypes = "Standard_A7" // StandardA8 ... StandardA8 VirtualMachineSizeTypes = "Standard_A8" // StandardA8mV2 ... StandardA8mV2 VirtualMachineSizeTypes = "Standard_A8m_v2" // StandardA8V2 ... StandardA8V2 VirtualMachineSizeTypes = "Standard_A8_v2" // StandardA9 ... StandardA9 VirtualMachineSizeTypes = "Standard_A9" // StandardB1ms ... StandardB1ms VirtualMachineSizeTypes = "Standard_B1ms" // StandardB1s ... StandardB1s VirtualMachineSizeTypes = "Standard_B1s" // StandardB2ms ... StandardB2ms VirtualMachineSizeTypes = "Standard_B2ms" // StandardB2s ... StandardB2s VirtualMachineSizeTypes = "Standard_B2s" // StandardB4ms ... StandardB4ms VirtualMachineSizeTypes = "Standard_B4ms" // StandardB8ms ... StandardB8ms VirtualMachineSizeTypes = "Standard_B8ms" // StandardD1 ... StandardD1 VirtualMachineSizeTypes = "Standard_D1" // StandardD11 ... StandardD11 VirtualMachineSizeTypes = "Standard_D11" // StandardD11V2 ... StandardD11V2 VirtualMachineSizeTypes = "Standard_D11_v2" // StandardD12 ... StandardD12 VirtualMachineSizeTypes = "Standard_D12" // StandardD12V2 ... StandardD12V2 VirtualMachineSizeTypes = "Standard_D12_v2" // StandardD13 ... StandardD13 VirtualMachineSizeTypes = "Standard_D13" // StandardD13V2 ... StandardD13V2 VirtualMachineSizeTypes = "Standard_D13_v2" // StandardD14 ... StandardD14 VirtualMachineSizeTypes = "Standard_D14" // StandardD14V2 ... StandardD14V2 VirtualMachineSizeTypes = "Standard_D14_v2" // StandardD15V2 ... StandardD15V2 VirtualMachineSizeTypes = "Standard_D15_v2" // StandardD16sV3 ... StandardD16sV3 VirtualMachineSizeTypes = "Standard_D16s_v3" // StandardD16V3 ... StandardD16V3 VirtualMachineSizeTypes = "Standard_D16_v3" // StandardD1V2 ... StandardD1V2 VirtualMachineSizeTypes = "Standard_D1_v2" // StandardD2 ... StandardD2 VirtualMachineSizeTypes = "Standard_D2" // StandardD2sV3 ... StandardD2sV3 VirtualMachineSizeTypes = "Standard_D2s_v3" // StandardD2V2 ... StandardD2V2 VirtualMachineSizeTypes = "Standard_D2_v2" // StandardD2V3 ... StandardD2V3 VirtualMachineSizeTypes = "Standard_D2_v3" // StandardD3 ... StandardD3 VirtualMachineSizeTypes = "Standard_D3" // StandardD32sV3 ... StandardD32sV3 VirtualMachineSizeTypes = "Standard_D32s_v3" // StandardD32V3 ... StandardD32V3 VirtualMachineSizeTypes = "Standard_D32_v3" // StandardD3V2 ... StandardD3V2 VirtualMachineSizeTypes = "Standard_D3_v2" // StandardD4 ... StandardD4 VirtualMachineSizeTypes = "Standard_D4" // StandardD4sV3 ... StandardD4sV3 VirtualMachineSizeTypes = "Standard_D4s_v3" // StandardD4V2 ... StandardD4V2 VirtualMachineSizeTypes = "Standard_D4_v2" // StandardD4V3 ... StandardD4V3 VirtualMachineSizeTypes = "Standard_D4_v3" // StandardD5V2 ... StandardD5V2 VirtualMachineSizeTypes = "Standard_D5_v2" // StandardD64sV3 ... StandardD64sV3 VirtualMachineSizeTypes = "Standard_D64s_v3" // StandardD64V3 ... StandardD64V3 VirtualMachineSizeTypes = "Standard_D64_v3" // StandardD8sV3 ... StandardD8sV3 VirtualMachineSizeTypes = "Standard_D8s_v3" // StandardD8V3 ... StandardD8V3 VirtualMachineSizeTypes = "Standard_D8_v3" // StandardDS1 ... StandardDS1 VirtualMachineSizeTypes = "Standard_DS1" // StandardDS11 ... StandardDS11 VirtualMachineSizeTypes = "Standard_DS11" // StandardDS11V2 ... StandardDS11V2 VirtualMachineSizeTypes = "Standard_DS11_v2" // StandardDS12 ... StandardDS12 VirtualMachineSizeTypes = "Standard_DS12" // StandardDS12V2 ... StandardDS12V2 VirtualMachineSizeTypes = "Standard_DS12_v2" // StandardDS13 ... StandardDS13 VirtualMachineSizeTypes = "Standard_DS13" // StandardDS132V2 ... StandardDS132V2 VirtualMachineSizeTypes = "Standard_DS13-2_v2" // StandardDS134V2 ... StandardDS134V2 VirtualMachineSizeTypes = "Standard_DS13-4_v2" // StandardDS13V2 ... StandardDS13V2 VirtualMachineSizeTypes = "Standard_DS13_v2" // StandardDS14 ... StandardDS14 VirtualMachineSizeTypes = "Standard_DS14" // StandardDS144V2 ... StandardDS144V2 VirtualMachineSizeTypes = "Standard_DS14-4_v2" // StandardDS148V2 ... StandardDS148V2 VirtualMachineSizeTypes = "Standard_DS14-8_v2" // StandardDS14V2 ... StandardDS14V2 VirtualMachineSizeTypes = "Standard_DS14_v2" // StandardDS15V2 ... StandardDS15V2 VirtualMachineSizeTypes = "Standard_DS15_v2" // StandardDS1V2 ... StandardDS1V2 VirtualMachineSizeTypes = "Standard_DS1_v2" // StandardDS2 ... StandardDS2 VirtualMachineSizeTypes = "Standard_DS2" // StandardDS2V2 ... StandardDS2V2 VirtualMachineSizeTypes = "Standard_DS2_v2" // StandardDS3 ... StandardDS3 VirtualMachineSizeTypes = "Standard_DS3" // StandardDS3V2 ... StandardDS3V2 VirtualMachineSizeTypes = "Standard_DS3_v2" // StandardDS4 ... StandardDS4 VirtualMachineSizeTypes = "Standard_DS4" // StandardDS4V2 ... StandardDS4V2 VirtualMachineSizeTypes = "Standard_DS4_v2" // StandardDS5V2 ... StandardDS5V2 VirtualMachineSizeTypes = "Standard_DS5_v2" // StandardE16sV3 ... StandardE16sV3 VirtualMachineSizeTypes = "Standard_E16s_v3" // StandardE16V3 ... StandardE16V3 VirtualMachineSizeTypes = "Standard_E16_v3" // StandardE2sV3 ... StandardE2sV3 VirtualMachineSizeTypes = "Standard_E2s_v3" // StandardE2V3 ... StandardE2V3 VirtualMachineSizeTypes = "Standard_E2_v3" // StandardE3216V3 ... StandardE3216V3 VirtualMachineSizeTypes = "Standard_E32-16_v3" // StandardE328sV3 ... StandardE328sV3 VirtualMachineSizeTypes = "Standard_E32-8s_v3" // StandardE32sV3 ... StandardE32sV3 VirtualMachineSizeTypes = "Standard_E32s_v3" // StandardE32V3 ... StandardE32V3 VirtualMachineSizeTypes = "Standard_E32_v3" // StandardE4sV3 ... StandardE4sV3 VirtualMachineSizeTypes = "Standard_E4s_v3" // StandardE4V3 ... StandardE4V3 VirtualMachineSizeTypes = "Standard_E4_v3" // StandardE6416sV3 ... StandardE6416sV3 VirtualMachineSizeTypes = "Standard_E64-16s_v3" // StandardE6432sV3 ... StandardE6432sV3 VirtualMachineSizeTypes = "Standard_E64-32s_v3" // StandardE64sV3 ... StandardE64sV3 VirtualMachineSizeTypes = "Standard_E64s_v3" // StandardE64V3 ... StandardE64V3 VirtualMachineSizeTypes = "Standard_E64_v3" // StandardE8sV3 ... StandardE8sV3 VirtualMachineSizeTypes = "Standard_E8s_v3" // StandardE8V3 ... StandardE8V3 VirtualMachineSizeTypes = "Standard_E8_v3" // StandardF1 ... StandardF1 VirtualMachineSizeTypes = "Standard_F1" // StandardF16 ... StandardF16 VirtualMachineSizeTypes = "Standard_F16" // StandardF16s ... StandardF16s VirtualMachineSizeTypes = "Standard_F16s" // StandardF16sV2 ... StandardF16sV2 VirtualMachineSizeTypes = "Standard_F16s_v2" // StandardF1s ... StandardF1s VirtualMachineSizeTypes = "Standard_F1s" // StandardF2 ... StandardF2 VirtualMachineSizeTypes = "Standard_F2" // StandardF2s ... StandardF2s VirtualMachineSizeTypes = "Standard_F2s" // StandardF2sV2 ... StandardF2sV2 VirtualMachineSizeTypes = "Standard_F2s_v2" // StandardF32sV2 ... StandardF32sV2 VirtualMachineSizeTypes = "Standard_F32s_v2" // StandardF4 ... StandardF4 VirtualMachineSizeTypes = "Standard_F4" // StandardF4s ... StandardF4s VirtualMachineSizeTypes = "Standard_F4s" // StandardF4sV2 ... StandardF4sV2 VirtualMachineSizeTypes = "Standard_F4s_v2" // StandardF64sV2 ... StandardF64sV2 VirtualMachineSizeTypes = "Standard_F64s_v2" // StandardF72sV2 ... StandardF72sV2 VirtualMachineSizeTypes = "Standard_F72s_v2" // StandardF8 ... StandardF8 VirtualMachineSizeTypes = "Standard_F8" // StandardF8s ... StandardF8s VirtualMachineSizeTypes = "Standard_F8s" // StandardF8sV2 ... StandardF8sV2 VirtualMachineSizeTypes = "Standard_F8s_v2" // StandardG1 ... StandardG1 VirtualMachineSizeTypes = "Standard_G1" // StandardG2 ... StandardG2 VirtualMachineSizeTypes = "Standard_G2" // StandardG3 ... StandardG3 VirtualMachineSizeTypes = "Standard_G3" // StandardG4 ... StandardG4 VirtualMachineSizeTypes = "Standard_G4" // StandardG5 ... StandardG5 VirtualMachineSizeTypes = "Standard_G5" // StandardGS1 ... StandardGS1 VirtualMachineSizeTypes = "Standard_GS1" // StandardGS2 ... StandardGS2 VirtualMachineSizeTypes = "Standard_GS2" // StandardGS3 ... StandardGS3 VirtualMachineSizeTypes = "Standard_GS3" // StandardGS4 ... StandardGS4 VirtualMachineSizeTypes = "Standard_GS4" // StandardGS44 ... StandardGS44 VirtualMachineSizeTypes = "Standard_GS4-4" // StandardGS48 ... StandardGS48 VirtualMachineSizeTypes = "Standard_GS4-8" // StandardGS5 ... StandardGS5 VirtualMachineSizeTypes = "Standard_GS5" // StandardGS516 ... StandardGS516 VirtualMachineSizeTypes = "Standard_GS5-16" // StandardGS58 ... StandardGS58 VirtualMachineSizeTypes = "Standard_GS5-8" // StandardH16 ... StandardH16 VirtualMachineSizeTypes = "Standard_H16" // StandardH16m ... StandardH16m VirtualMachineSizeTypes = "Standard_H16m" // StandardH16mr ... StandardH16mr VirtualMachineSizeTypes = "Standard_H16mr" // StandardH16r ... StandardH16r VirtualMachineSizeTypes = "Standard_H16r" // StandardH8 ... StandardH8 VirtualMachineSizeTypes = "Standard_H8" // StandardH8m ... StandardH8m VirtualMachineSizeTypes = "Standard_H8m" // StandardL16s ... StandardL16s VirtualMachineSizeTypes = "Standard_L16s" // StandardL32s ... StandardL32s VirtualMachineSizeTypes = "Standard_L32s" // StandardL4s ... StandardL4s VirtualMachineSizeTypes = "Standard_L4s" // StandardL8s ... StandardL8s VirtualMachineSizeTypes = "Standard_L8s" // StandardM12832ms ... StandardM12832ms VirtualMachineSizeTypes = "Standard_M128-32ms" // StandardM12864ms ... StandardM12864ms VirtualMachineSizeTypes = "Standard_M128-64ms" // StandardM128ms ... StandardM128ms VirtualMachineSizeTypes = "Standard_M128ms" // StandardM128s ... StandardM128s VirtualMachineSizeTypes = "Standard_M128s" // StandardM6416ms ... StandardM6416ms VirtualMachineSizeTypes = "Standard_M64-16ms" // StandardM6432ms ... StandardM6432ms VirtualMachineSizeTypes = "Standard_M64-32ms" // StandardM64ms ... StandardM64ms VirtualMachineSizeTypes = "Standard_M64ms" // StandardM64s ... StandardM64s VirtualMachineSizeTypes = "Standard_M64s" // StandardNC12 ... StandardNC12 VirtualMachineSizeTypes = "Standard_NC12" // StandardNC12sV2 ... StandardNC12sV2 VirtualMachineSizeTypes = "Standard_NC12s_v2" // StandardNC12sV3 ... StandardNC12sV3 VirtualMachineSizeTypes = "Standard_NC12s_v3" // StandardNC24 ... StandardNC24 VirtualMachineSizeTypes = "Standard_NC24" // StandardNC24r ... StandardNC24r VirtualMachineSizeTypes = "Standard_NC24r" // StandardNC24rsV2 ... StandardNC24rsV2 VirtualMachineSizeTypes = "Standard_NC24rs_v2" // StandardNC24rsV3 ... StandardNC24rsV3 VirtualMachineSizeTypes = "Standard_NC24rs_v3" // StandardNC24sV2 ... StandardNC24sV2 VirtualMachineSizeTypes = "Standard_NC24s_v2" // StandardNC24sV3 ... StandardNC24sV3 VirtualMachineSizeTypes = "Standard_NC24s_v3" // StandardNC6 ... StandardNC6 VirtualMachineSizeTypes = "Standard_NC6" // StandardNC6sV2 ... StandardNC6sV2 VirtualMachineSizeTypes = "Standard_NC6s_v2" // StandardNC6sV3 ... StandardNC6sV3 VirtualMachineSizeTypes = "Standard_NC6s_v3" // StandardND12s ... StandardND12s VirtualMachineSizeTypes = "Standard_ND12s" // StandardND24rs ... StandardND24rs VirtualMachineSizeTypes = "Standard_ND24rs" // StandardND24s ... StandardND24s VirtualMachineSizeTypes = "Standard_ND24s" // StandardND6s ... StandardND6s VirtualMachineSizeTypes = "Standard_ND6s" // StandardNV12 ... StandardNV12 VirtualMachineSizeTypes = "Standard_NV12" // StandardNV24 ... StandardNV24 VirtualMachineSizeTypes = "Standard_NV24" // StandardNV6 ... StandardNV6 VirtualMachineSizeTypes = "Standard_NV6" )
func PossibleVirtualMachineSizeTypesValues ¶
func PossibleVirtualMachineSizeTypesValues() []VirtualMachineSizeTypes
PossibleVirtualMachineSizeTypesValues returns an array of possible values for the VirtualMachineSizeTypes const type.
type VirtualMachineSizesClient ¶
type VirtualMachineSizesClient struct {
BaseClient
}
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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (VirtualMachineSizesClient) List ¶
func (client VirtualMachineSizesClient) List(ctx context.Context, location string) (result VirtualMachineSizeListResult, err error)
List this API is deprecated. Use [Resources Skus](https://docs.microsoft.com/en-us/rest/api/compute/resourceskus/list) Parameters: location - the location upon which virtual-machine-sizes is queried.
func (VirtualMachineSizesClient) ListPreparer ¶
func (client VirtualMachineSizesClient) ListPreparer(ctx context.Context, 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 VirtualMachineSoftwarePatchProperties ¶
type VirtualMachineSoftwarePatchProperties struct { // PatchID - READ-ONLY; A unique identifier for the patch. PatchID *string `json:"patchId,omitempty"` // Name - READ-ONLY; The friendly name of the patch. Name *string `json:"name,omitempty"` // Version - READ-ONLY; The version number of the patch. This property applies only to Linux patches. Version *string `json:"version,omitempty"` // Kbid - READ-ONLY; The KBID of the patch. Only applies to Windows patches. Kbid *string `json:"kbid,omitempty"` // Classifications - READ-ONLY; The classification(s) of the patch as provided by the patch publisher. Classifications *[]string `json:"classifications,omitempty"` // RebootBehavior - READ-ONLY; Describes the reboot requirements of the patch. Possible values include: 'NeverReboots', 'AlwaysRequiresReboot', 'CanRequestReboot' RebootBehavior SoftwareUpdateRebootBehavior `json:"rebootBehavior,omitempty"` // ActivityID - READ-ONLY; The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs. ActivityID *string `json:"activityId,omitempty"` // PublishedDate - READ-ONLY; The UTC timestamp when the repository published this patch. PublishedDate *date.Time `json:"publishedDate,omitempty"` // LastModifiedDateTime - READ-ONLY; The UTC timestamp of the last update to this patch record. LastModifiedDateTime *date.Time `json:"lastModifiedDateTime,omitempty"` // AssessmentState - READ-ONLY; Describes the outcome of an install operation for a given patch. Possible values include: 'Installed', 'Failed', 'Excluded', 'NotSelected', 'Pending', 'Available' AssessmentState PatchAssessmentState `json:"assessmentState,omitempty"` }
VirtualMachineSoftwarePatchProperties describes the properties of a Virtual Machine software patch.
type VirtualMachineStatusCodeCount ¶
type VirtualMachineStatusCodeCount struct { // Code - READ-ONLY; The instance view status code. Code *string `json:"code,omitempty"` // Count - READ-ONLY; The number of instances having a particular status code. Count *int32 `json:"count,omitempty"` }
VirtualMachineStatusCodeCount the status code and count of the virtual machine scale set instance view status summary.
type VirtualMachineUpdate ¶
type VirtualMachineUpdate struct { // Plan - 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**. Plan *Plan `json:"plan,omitempty"` *VirtualMachineProperties `json:"properties,omitempty"` // Identity - The identity of the virtual machine, if configured. Identity *VirtualMachineIdentity `json:"identity,omitempty"` // Zones - The virtual machine zones. Zones *[]string `json:"zones,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
VirtualMachineUpdate describes a Virtual Machine Update.
func (VirtualMachineUpdate) MarshalJSON ¶
func (vmu VirtualMachineUpdate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VirtualMachineUpdate.
func (*VirtualMachineUpdate) UnmarshalJSON ¶
func (vmu *VirtualMachineUpdate) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for VirtualMachineUpdate struct.
type VirtualMachinesAssessPatchesFuture ¶
type VirtualMachinesAssessPatchesFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualMachinesClient) (VirtualMachineAssessPatchesResult, error) }
VirtualMachinesAssessPatchesFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualMachinesAssessPatchesFuture) UnmarshalJSON ¶
func (future *VirtualMachinesAssessPatchesFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualMachinesCaptureFuture ¶
type VirtualMachinesCaptureFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualMachinesClient) (VirtualMachineCaptureResult, error) }
VirtualMachinesCaptureFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualMachinesCaptureFuture) UnmarshalJSON ¶
func (future *VirtualMachinesCaptureFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualMachinesClient ¶
type VirtualMachinesClient struct {
BaseClient
}
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 using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (VirtualMachinesClient) AssessPatches ¶
func (client VirtualMachinesClient) AssessPatches(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachinesAssessPatchesFuture, err error)
AssessPatches assess patches on the VM. Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine.
func (VirtualMachinesClient) AssessPatchesPreparer ¶
func (client VirtualMachinesClient) AssessPatchesPreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)
AssessPatchesPreparer prepares the AssessPatches request.
func (VirtualMachinesClient) AssessPatchesResponder ¶
func (client VirtualMachinesClient) AssessPatchesResponder(resp *http.Response) (result VirtualMachineAssessPatchesResult, err error)
AssessPatchesResponder handles the response to the AssessPatches request. The method always closes the http.Response Body.
func (VirtualMachinesClient) AssessPatchesSender ¶
func (client VirtualMachinesClient) AssessPatchesSender(req *http.Request) (future VirtualMachinesAssessPatchesFuture, err error)
AssessPatchesSender sends the AssessPatches request. The method will close the http.Response Body if it receives an error.
func (VirtualMachinesClient) Capture ¶
func (client VirtualMachinesClient) Capture(ctx context.Context, resourceGroupName string, VMName string, parameters VirtualMachineCaptureParameters) (result VirtualMachinesCaptureFuture, err 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. Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine. parameters - parameters supplied to the Capture Virtual Machine operation.
func (VirtualMachinesClient) CapturePreparer ¶
func (client VirtualMachinesClient) CapturePreparer(ctx context.Context, resourceGroupName string, VMName string, parameters VirtualMachineCaptureParameters) (*http.Request, error)
CapturePreparer prepares the Capture request.
func (VirtualMachinesClient) CaptureResponder ¶
func (client VirtualMachinesClient) CaptureResponder(resp *http.Response) (result VirtualMachineCaptureResult, err error)
CaptureResponder handles the response to the Capture request. The method always closes the http.Response Body.
func (VirtualMachinesClient) CaptureSender ¶
func (client VirtualMachinesClient) CaptureSender(req *http.Request) (future VirtualMachinesCaptureFuture, err error)
CaptureSender sends the Capture request. The method will close the http.Response Body if it receives an error.
func (VirtualMachinesClient) ConvertToManagedDisks ¶
func (client VirtualMachinesClient) ConvertToManagedDisks(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachinesConvertToManagedDisksFuture, err error)
ConvertToManagedDisks converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-deallocated before invoking this operation. Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine.
func (VirtualMachinesClient) ConvertToManagedDisksPreparer ¶
func (client VirtualMachinesClient) ConvertToManagedDisksPreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)
ConvertToManagedDisksPreparer prepares the ConvertToManagedDisks request.
func (VirtualMachinesClient) ConvertToManagedDisksResponder ¶
func (client VirtualMachinesClient) ConvertToManagedDisksResponder(resp *http.Response) (result autorest.Response, 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) (future VirtualMachinesConvertToManagedDisksFuture, err 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(ctx context.Context, resourceGroupName string, VMName string, parameters VirtualMachine) (result VirtualMachinesCreateOrUpdateFuture, err error)
CreateOrUpdate the operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation. Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine. parameters - parameters supplied to the Create Virtual Machine operation.
func (VirtualMachinesClient) CreateOrUpdatePreparer ¶
func (client VirtualMachinesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, VMName string, parameters VirtualMachine) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (VirtualMachinesClient) CreateOrUpdateResponder ¶
func (client VirtualMachinesClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualMachine, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (VirtualMachinesClient) CreateOrUpdateSender ¶
func (client VirtualMachinesClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachinesCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (VirtualMachinesClient) Deallocate ¶
func (client VirtualMachinesClient) Deallocate(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachinesDeallocateFuture, err 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. Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine.
func (VirtualMachinesClient) DeallocatePreparer ¶
func (client VirtualMachinesClient) DeallocatePreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)
DeallocatePreparer prepares the Deallocate request.
func (VirtualMachinesClient) DeallocateResponder ¶
func (client VirtualMachinesClient) DeallocateResponder(resp *http.Response) (result autorest.Response, err error)
DeallocateResponder handles the response to the Deallocate request. The method always closes the http.Response Body.
func (VirtualMachinesClient) DeallocateSender ¶
func (client VirtualMachinesClient) DeallocateSender(req *http.Request) (future VirtualMachinesDeallocateFuture, err error)
DeallocateSender sends the Deallocate request. The method will close the http.Response Body if it receives an error.
func (VirtualMachinesClient) Delete ¶
func (client VirtualMachinesClient) Delete(ctx context.Context, resourceGroupName string, VMName string, forceDeletion *bool) (result VirtualMachinesDeleteFuture, err error)
Delete the operation to delete a virtual machine. Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine. forceDeletion - optional parameter to force delete virtual machines.(Feature in Preview)
func (VirtualMachinesClient) DeletePreparer ¶
func (client VirtualMachinesClient) DeletePreparer(ctx context.Context, resourceGroupName string, VMName string, forceDeletion *bool) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (VirtualMachinesClient) DeleteResponder ¶
func (client VirtualMachinesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (VirtualMachinesClient) DeleteSender ¶
func (client VirtualMachinesClient) DeleteSender(req *http.Request) (future VirtualMachinesDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (VirtualMachinesClient) Generalize ¶
func (client VirtualMachinesClient) Generalize(ctx context.Context, resourceGroupName string, VMName string) (result autorest.Response, err error)
Generalize sets the OS state of the virtual machine to generalized. It is recommended to sysprep the virtual machine before performing this operation. <br>For Windows, please refer to [Create a managed image of a generalized VM in Azure](https://docs.microsoft.com/en-us/azure/virtual-machines/windows/capture-image-resource).<br>For Linux, please refer to [How to create an image of a virtual machine or VHD](https://docs.microsoft.com/en-us/azure/virtual-machines/linux/capture-image). Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine.
func (VirtualMachinesClient) GeneralizePreparer ¶
func (client VirtualMachinesClient) GeneralizePreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)
GeneralizePreparer prepares the Generalize request.
func (VirtualMachinesClient) GeneralizeResponder ¶
func (client VirtualMachinesClient) GeneralizeResponder(resp *http.Response) (result autorest.Response, err error)
GeneralizeResponder handles the response to the Generalize request. The method always closes the http.Response Body.
func (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(ctx context.Context, 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. Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine. expand - the expand expression to apply on the operation.
func (VirtualMachinesClient) GetPreparer ¶
func (client VirtualMachinesClient) GetPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachineInstanceView, err error)
InstanceView retrieves information about the run-time state of a virtual machine. Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine.
func (VirtualMachinesClient) InstanceViewPreparer ¶
func (client VirtualMachinesClient) InstanceViewPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string) (result VirtualMachineListResultPage, 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. Parameters: resourceGroupName - the name of the resource group.
func (VirtualMachinesClient) ListAll ¶
func (client VirtualMachinesClient) ListAll(ctx context.Context, statusOnly string) (result VirtualMachineListResultPage, 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. Parameters: statusOnly - statusOnly=true enables fetching run time status of all Virtual Machines in the subscription.
func (VirtualMachinesClient) ListAllComplete ¶
func (client VirtualMachinesClient) ListAllComplete(ctx context.Context, statusOnly string) (result VirtualMachineListResultIterator, err error)
ListAllComplete enumerates all values, automatically crossing page boundaries as required.
func (VirtualMachinesClient) ListAllPreparer ¶
func (client VirtualMachinesClient) ListAllPreparer(ctx context.Context, statusOnly string) (*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(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachineSizeListResult, err error)
ListAvailableSizes lists all available virtual machine sizes to which the specified virtual machine can be resized. Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine.
func (VirtualMachinesClient) ListAvailableSizesPreparer ¶
func (client VirtualMachinesClient) ListAvailableSizesPreparer(ctx context.Context, 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) ListByLocation ¶
func (client VirtualMachinesClient) ListByLocation(ctx context.Context, location string) (result VirtualMachineListResultPage, err error)
ListByLocation gets all the virtual machines under the specified subscription for the specified location. Parameters: location - the location for which virtual machines under the subscription are queried.
func (VirtualMachinesClient) ListByLocationComplete ¶
func (client VirtualMachinesClient) ListByLocationComplete(ctx context.Context, location string) (result VirtualMachineListResultIterator, err error)
ListByLocationComplete enumerates all values, automatically crossing page boundaries as required.
func (VirtualMachinesClient) ListByLocationPreparer ¶
func (client VirtualMachinesClient) ListByLocationPreparer(ctx context.Context, location string) (*http.Request, error)
ListByLocationPreparer prepares the ListByLocation request.
func (VirtualMachinesClient) ListByLocationResponder ¶
func (client VirtualMachinesClient) ListByLocationResponder(resp *http.Response) (result VirtualMachineListResult, err error)
ListByLocationResponder handles the response to the ListByLocation request. The method always closes the http.Response Body.
func (VirtualMachinesClient) ListByLocationSender ¶
ListByLocationSender sends the ListByLocation request. The method will close the http.Response Body if it receives an error.
func (VirtualMachinesClient) ListComplete ¶
func (client VirtualMachinesClient) ListComplete(ctx context.Context, resourceGroupName string) (result VirtualMachineListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (VirtualMachinesClient) ListPreparer ¶
func (client VirtualMachinesClient) ListPreparer(ctx context.Context, 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(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachinesPerformMaintenanceFuture, err error)
PerformMaintenance the operation to perform maintenance on a virtual machine. Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine.
func (VirtualMachinesClient) PerformMaintenancePreparer ¶
func (client VirtualMachinesClient) PerformMaintenancePreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)
PerformMaintenancePreparer prepares the PerformMaintenance request.
func (VirtualMachinesClient) PerformMaintenanceResponder ¶
func (client VirtualMachinesClient) PerformMaintenanceResponder(resp *http.Response) (result autorest.Response, 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) (future VirtualMachinesPerformMaintenanceFuture, err 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(ctx context.Context, resourceGroupName string, VMName string, skipShutdown *bool) (result VirtualMachinesPowerOffFuture, err 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. Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine. skipShutdown - the parameter to request non-graceful VM shutdown. True value for this flag indicates non-graceful shutdown whereas false indicates otherwise. Default value for this flag is false if not specified
func (VirtualMachinesClient) PowerOffPreparer ¶
func (client VirtualMachinesClient) PowerOffPreparer(ctx context.Context, resourceGroupName string, VMName string, skipShutdown *bool) (*http.Request, error)
PowerOffPreparer prepares the PowerOff request.
func (VirtualMachinesClient) PowerOffResponder ¶
func (client VirtualMachinesClient) PowerOffResponder(resp *http.Response) (result autorest.Response, err error)
PowerOffResponder handles the response to the PowerOff request. The method always closes the http.Response Body.
func (VirtualMachinesClient) PowerOffSender ¶
func (client VirtualMachinesClient) PowerOffSender(req *http.Request) (future VirtualMachinesPowerOffFuture, err error)
PowerOffSender sends the PowerOff request. The method will close the http.Response Body if it receives an error.
func (VirtualMachinesClient) Reapply ¶
func (client VirtualMachinesClient) Reapply(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachinesReapplyFuture, err error)
Reapply the operation to reapply a virtual machine's state. Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine.
func (VirtualMachinesClient) ReapplyPreparer ¶
func (client VirtualMachinesClient) ReapplyPreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)
ReapplyPreparer prepares the Reapply request.
func (VirtualMachinesClient) ReapplyResponder ¶
func (client VirtualMachinesClient) ReapplyResponder(resp *http.Response) (result autorest.Response, err error)
ReapplyResponder handles the response to the Reapply request. The method always closes the http.Response Body.
func (VirtualMachinesClient) ReapplySender ¶
func (client VirtualMachinesClient) ReapplySender(req *http.Request) (future VirtualMachinesReapplyFuture, err error)
ReapplySender sends the Reapply request. The method will close the http.Response Body if it receives an error.
func (VirtualMachinesClient) Redeploy ¶
func (client VirtualMachinesClient) Redeploy(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachinesRedeployFuture, err error)
Redeploy shuts down the virtual machine, moves it to a new node, and powers it back on. Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine.
func (VirtualMachinesClient) RedeployPreparer ¶
func (client VirtualMachinesClient) RedeployPreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)
RedeployPreparer prepares the Redeploy request.
func (VirtualMachinesClient) RedeployResponder ¶
func (client VirtualMachinesClient) RedeployResponder(resp *http.Response) (result autorest.Response, err error)
RedeployResponder handles the response to the Redeploy request. The method always closes the http.Response Body.
func (VirtualMachinesClient) RedeploySender ¶
func (client VirtualMachinesClient) RedeploySender(req *http.Request) (future VirtualMachinesRedeployFuture, err error)
RedeploySender sends the Redeploy request. The method will close the http.Response Body if it receives an error.
func (VirtualMachinesClient) Reimage ¶
func (client VirtualMachinesClient) Reimage(ctx context.Context, resourceGroupName string, VMName string, parameters *VirtualMachineReimageParameters) (result VirtualMachinesReimageFuture, err error)
Reimage reimages the virtual machine which has an ephemeral OS disk back to its initial state. Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine. parameters - parameters supplied to the Reimage Virtual Machine operation.
func (VirtualMachinesClient) ReimagePreparer ¶
func (client VirtualMachinesClient) ReimagePreparer(ctx context.Context, resourceGroupName string, VMName string, parameters *VirtualMachineReimageParameters) (*http.Request, error)
ReimagePreparer prepares the Reimage request.
func (VirtualMachinesClient) ReimageResponder ¶
func (client VirtualMachinesClient) ReimageResponder(resp *http.Response) (result autorest.Response, err error)
ReimageResponder handles the response to the Reimage request. The method always closes the http.Response Body.
func (VirtualMachinesClient) ReimageSender ¶
func (client VirtualMachinesClient) ReimageSender(req *http.Request) (future VirtualMachinesReimageFuture, err error)
ReimageSender sends the Reimage request. The method will close the http.Response Body if it receives an error.
func (VirtualMachinesClient) Restart ¶
func (client VirtualMachinesClient) Restart(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachinesRestartFuture, err error)
Restart the operation to restart a virtual machine. Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine.
func (VirtualMachinesClient) RestartPreparer ¶
func (client VirtualMachinesClient) RestartPreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)
RestartPreparer prepares the Restart request.
func (VirtualMachinesClient) RestartResponder ¶
func (client VirtualMachinesClient) RestartResponder(resp *http.Response) (result autorest.Response, err error)
RestartResponder handles the response to the Restart request. The method always closes the http.Response Body.
func (VirtualMachinesClient) RestartSender ¶
func (client VirtualMachinesClient) RestartSender(req *http.Request) (future VirtualMachinesRestartFuture, err error)
RestartSender sends the Restart request. The method will close the http.Response Body if it receives an error.
func (VirtualMachinesClient) RetrieveBootDiagnosticsData ¶
func (client VirtualMachinesClient) RetrieveBootDiagnosticsData(ctx context.Context, resourceGroupName string, VMName string, sasURIExpirationTimeInMinutes *int32) (result RetrieveBootDiagnosticsDataResult, err error)
RetrieveBootDiagnosticsData the operation to retrieve SAS URIs for a virtual machine's boot diagnostic logs. Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine. sasURIExpirationTimeInMinutes - expiration duration in minutes for the SAS URIs with a value between 1 to 1440 minutes. <br><br>NOTE: If not specified, SAS URIs will be generated with a default expiration duration of 120 minutes.
func (VirtualMachinesClient) RetrieveBootDiagnosticsDataPreparer ¶
func (client VirtualMachinesClient) RetrieveBootDiagnosticsDataPreparer(ctx context.Context, resourceGroupName string, VMName string, sasURIExpirationTimeInMinutes *int32) (*http.Request, error)
RetrieveBootDiagnosticsDataPreparer prepares the RetrieveBootDiagnosticsData request.
func (VirtualMachinesClient) RetrieveBootDiagnosticsDataResponder ¶
func (client VirtualMachinesClient) RetrieveBootDiagnosticsDataResponder(resp *http.Response) (result RetrieveBootDiagnosticsDataResult, err error)
RetrieveBootDiagnosticsDataResponder handles the response to the RetrieveBootDiagnosticsData request. The method always closes the http.Response Body.
func (VirtualMachinesClient) RetrieveBootDiagnosticsDataSender ¶
func (client VirtualMachinesClient) RetrieveBootDiagnosticsDataSender(req *http.Request) (*http.Response, error)
RetrieveBootDiagnosticsDataSender sends the RetrieveBootDiagnosticsData request. The method will close the http.Response Body if it receives an error.
func (VirtualMachinesClient) SimulateEviction ¶
func (client VirtualMachinesClient) SimulateEviction(ctx context.Context, resourceGroupName string, VMName string) (result autorest.Response, err error)
SimulateEviction the operation to simulate the eviction of spot virtual machine. Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine.
func (VirtualMachinesClient) SimulateEvictionPreparer ¶
func (client VirtualMachinesClient) SimulateEvictionPreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)
SimulateEvictionPreparer prepares the SimulateEviction request.
func (VirtualMachinesClient) SimulateEvictionResponder ¶
func (client VirtualMachinesClient) SimulateEvictionResponder(resp *http.Response) (result autorest.Response, err error)
SimulateEvictionResponder handles the response to the SimulateEviction request. The method always closes the http.Response Body.
func (VirtualMachinesClient) SimulateEvictionSender ¶
func (client VirtualMachinesClient) SimulateEvictionSender(req *http.Request) (*http.Response, error)
SimulateEvictionSender sends the SimulateEviction request. The method will close the http.Response Body if it receives an error.
func (VirtualMachinesClient) Start ¶
func (client VirtualMachinesClient) Start(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachinesStartFuture, err error)
Start the operation to start a virtual machine. Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine.
func (VirtualMachinesClient) StartPreparer ¶
func (client VirtualMachinesClient) StartPreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)
StartPreparer prepares the Start request.
func (VirtualMachinesClient) StartResponder ¶
func (client VirtualMachinesClient) StartResponder(resp *http.Response) (result autorest.Response, err error)
StartResponder handles the response to the Start request. The method always closes the http.Response Body.
func (VirtualMachinesClient) StartSender ¶
func (client VirtualMachinesClient) StartSender(req *http.Request) (future VirtualMachinesStartFuture, err error)
StartSender sends the Start request. The method will close the http.Response Body if it receives an error.
func (VirtualMachinesClient) Update ¶
func (client VirtualMachinesClient) Update(ctx context.Context, resourceGroupName string, VMName string, parameters VirtualMachineUpdate) (result VirtualMachinesUpdateFuture, err error)
Update the operation to update a virtual machine. Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine. parameters - parameters supplied to the Update Virtual Machine operation.
func (VirtualMachinesClient) UpdatePreparer ¶
func (client VirtualMachinesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, VMName string, parameters VirtualMachineUpdate) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (VirtualMachinesClient) UpdateResponder ¶
func (client VirtualMachinesClient) UpdateResponder(resp *http.Response) (result VirtualMachine, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (VirtualMachinesClient) UpdateSender ¶
func (client VirtualMachinesClient) UpdateSender(req *http.Request) (future VirtualMachinesUpdateFuture, err error)
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type VirtualMachinesConvertToManagedDisksFuture ¶
type VirtualMachinesConvertToManagedDisksFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualMachinesClient) (autorest.Response, error) }
VirtualMachinesConvertToManagedDisksFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualMachinesConvertToManagedDisksFuture) UnmarshalJSON ¶
func (future *VirtualMachinesConvertToManagedDisksFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualMachinesCreateOrUpdateFuture ¶
type VirtualMachinesCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualMachinesClient) (VirtualMachine, error) }
VirtualMachinesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualMachinesCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *VirtualMachinesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualMachinesDeallocateFuture ¶
type VirtualMachinesDeallocateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualMachinesClient) (autorest.Response, error) }
VirtualMachinesDeallocateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualMachinesDeallocateFuture) UnmarshalJSON ¶
func (future *VirtualMachinesDeallocateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualMachinesDeleteFuture ¶
type VirtualMachinesDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualMachinesClient) (autorest.Response, error) }
VirtualMachinesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualMachinesDeleteFuture) UnmarshalJSON ¶
func (future *VirtualMachinesDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualMachinesPerformMaintenanceFuture ¶
type VirtualMachinesPerformMaintenanceFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualMachinesClient) (autorest.Response, error) }
VirtualMachinesPerformMaintenanceFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualMachinesPerformMaintenanceFuture) UnmarshalJSON ¶
func (future *VirtualMachinesPerformMaintenanceFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualMachinesPowerOffFuture ¶
type VirtualMachinesPowerOffFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualMachinesClient) (autorest.Response, error) }
VirtualMachinesPowerOffFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualMachinesPowerOffFuture) UnmarshalJSON ¶
func (future *VirtualMachinesPowerOffFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualMachinesReapplyFuture ¶
type VirtualMachinesReapplyFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualMachinesClient) (autorest.Response, error) }
VirtualMachinesReapplyFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualMachinesReapplyFuture) UnmarshalJSON ¶
func (future *VirtualMachinesReapplyFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualMachinesRedeployFuture ¶
type VirtualMachinesRedeployFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualMachinesClient) (autorest.Response, error) }
VirtualMachinesRedeployFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualMachinesRedeployFuture) UnmarshalJSON ¶
func (future *VirtualMachinesRedeployFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualMachinesReimageFuture ¶
type VirtualMachinesReimageFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualMachinesClient) (autorest.Response, error) }
VirtualMachinesReimageFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualMachinesReimageFuture) UnmarshalJSON ¶
func (future *VirtualMachinesReimageFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualMachinesRestartFuture ¶
type VirtualMachinesRestartFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualMachinesClient) (autorest.Response, error) }
VirtualMachinesRestartFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualMachinesRestartFuture) UnmarshalJSON ¶
func (future *VirtualMachinesRestartFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualMachinesStartFuture ¶
type VirtualMachinesStartFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualMachinesClient) (autorest.Response, error) }
VirtualMachinesStartFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualMachinesStartFuture) UnmarshalJSON ¶
func (future *VirtualMachinesStartFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualMachinesUpdateFuture ¶
type VirtualMachinesUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(VirtualMachinesClient) (VirtualMachine, error) }
VirtualMachinesUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualMachinesUpdateFuture) UnmarshalJSON ¶
func (future *VirtualMachinesUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type WinRMConfiguration ¶
type WinRMConfiguration struct { // Listeners - The list of Windows Remote Management listeners Listeners *[]WinRMListener `json:"listeners,omitempty"` }
WinRMConfiguration describes Windows Remote Management configuration of the VM
type WinRMListener ¶
type WinRMListener struct { // Protocol - Specifies the protocol of WinRM listener. <br><br> Possible values are: <br>**http** <br><br> **https**. Possible values include: 'HTTP', 'HTTPS' Protocol ProtocolTypes `json:"protocol,omitempty"` // CertificateURL - This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8: <br><br> {<br> "data":"<Base64-encoded-certificate>",<br> "dataType":"pfx",<br> "password":"<pfx-file-password>"<br>} CertificateURL *string `json:"certificateUrl,omitempty"` }
WinRMListener describes Protocol and thumbprint of Windows Remote Management listener
type WindowsConfiguration ¶
type WindowsConfiguration struct { // ProvisionVMAgent - Indicates whether virtual machine agent should be provisioned on the virtual machine. <br><br> When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later. ProvisionVMAgent *bool `json:"provisionVMAgent,omitempty"` // EnableAutomaticUpdates - Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value is true. <br><br> For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning. EnableAutomaticUpdates *bool `json:"enableAutomaticUpdates,omitempty"` // TimeZone - Specifies the time zone of the virtual machine. e.g. "Pacific Standard Time". <br><br> Possible values can be [TimeZoneInfo.Id](https://docs.microsoft.com/en-us/dotnet/api/system.timezoneinfo.id?#System_TimeZoneInfo_Id) value from time zones returned by [TimeZoneInfo.GetSystemTimeZones](https://docs.microsoft.com/en-us/dotnet/api/system.timezoneinfo.getsystemtimezones). TimeZone *string `json:"timeZone,omitempty"` // AdditionalUnattendContent - Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. AdditionalUnattendContent *[]AdditionalUnattendContent `json:"additionalUnattendContent,omitempty"` // PatchSettings - Specifies settings related to in-guest patching (KBs). PatchSettings *PatchSettings `json:"patchSettings,omitempty"` // WinRM - Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell. WinRM *WinRMConfiguration `json:"winRM,omitempty"` }
WindowsConfiguration specifies Windows operating system settings on the virtual machine.
Source Files ¶
- availabilitysets.go
- client.go
- dedicatedhostgroups.go
- dedicatedhosts.go
- diskencryptionsets.go
- disks.go
- enums.go
- images.go
- loganalytics.go
- models.go
- operations.go
- proximityplacementgroups.go
- snapshots.go
- sshpublickeys.go
- usage.go
- version.go
- virtualmachineextensionimages.go
- virtualmachineextensions.go
- virtualmachineimages.go
- virtualmachines.go
- virtualmachinescalesetextensions.go
- virtualmachinescalesetrollingupgrades.go
- virtualmachinescalesets.go
- virtualmachinescalesetvmextensions.go
- virtualmachinescalesetvms.go
- virtualmachinesizes.go