Documentation ¶
Overview ¶
Package compute implements the Azure ARM Compute service API version 2016-04-30-preview.
Compute Client
Index ¶
- Constants
- func UserAgent() string
- func Version() stringdeprecated
- type APIEntityReferencedeprecated
- type APIErrordeprecated
- type APIErrorBasedeprecated
- type AccessLeveldeprecated
- type AccessURIdeprecated
- type AccessURIOutputdeprecated
- type AccessURIRawdeprecated
- type AdditionalUnattendContentdeprecated
- type AvailabilitySetdeprecated
- type AvailabilitySetListResultdeprecated
- type AvailabilitySetPropertiesdeprecated
- type AvailabilitySetsClientdeprecated
- func (client AvailabilitySetsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, name string, ...) (result AvailabilitySet, err error)deprecated
- func (client AvailabilitySetsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, name string, ...) (*http.Request, error)deprecated
- func (client AvailabilitySetsClient) CreateOrUpdateResponder(resp *http.Response) (result AvailabilitySet, err error)deprecated
- func (client AvailabilitySetsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)deprecated
- func (client AvailabilitySetsClient) Delete(ctx context.Context, resourceGroupName string, availabilitySetName string) (result OperationStatusResponse, err error)deprecated
- func (client AvailabilitySetsClient) DeletePreparer(ctx context.Context, resourceGroupName string, availabilitySetName string) (*http.Request, error)deprecated
- func (client AvailabilitySetsClient) DeleteResponder(resp *http.Response) (result OperationStatusResponse, err error)deprecated
- func (client AvailabilitySetsClient) DeleteSender(req *http.Request) (*http.Response, error)deprecated
- func (client AvailabilitySetsClient) Get(ctx context.Context, resourceGroupName string, availabilitySetName string) (result AvailabilitySet, err error)deprecated
- func (client AvailabilitySetsClient) GetPreparer(ctx context.Context, resourceGroupName string, availabilitySetName string) (*http.Request, error)deprecated
- func (client AvailabilitySetsClient) GetResponder(resp *http.Response) (result AvailabilitySet, err error)deprecated
- func (client AvailabilitySetsClient) GetSender(req *http.Request) (*http.Response, error)deprecated
- func (client AvailabilitySetsClient) List(ctx context.Context, resourceGroupName string) (result AvailabilitySetListResult, err error)deprecated
- func (client AvailabilitySetsClient) ListAvailableSizes(ctx context.Context, resourceGroupName string, availabilitySetName string) (result VirtualMachineSizeListResult, err error)deprecated
- func (client AvailabilitySetsClient) ListAvailableSizesPreparer(ctx context.Context, resourceGroupName string, availabilitySetName string) (*http.Request, error)deprecated
- func (client AvailabilitySetsClient) ListAvailableSizesResponder(resp *http.Response) (result VirtualMachineSizeListResult, err error)deprecated
- func (client AvailabilitySetsClient) ListAvailableSizesSender(req *http.Request) (*http.Response, error)deprecated
- func (client AvailabilitySetsClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)deprecated
- func (client AvailabilitySetsClient) ListResponder(resp *http.Response) (result AvailabilitySetListResult, err error)deprecated
- func (client AvailabilitySetsClient) ListSender(req *http.Request) (*http.Response, error)deprecated
- type BaseClientdeprecated
- type BootDiagnosticsdeprecated
- type BootDiagnosticsInstanceViewdeprecated
- type CachingTypesdeprecated
- type ComponentNamesdeprecated
- type CreationDatadeprecated
- type DataDiskdeprecated
- type DataDiskImagedeprecated
- type DiagnosticsProfiledeprecated
- type Diskdeprecated
- type DiskCreateOptiondeprecated
- type DiskCreateOptionTypesdeprecated
- type DiskEncryptionSettingsdeprecated
- type DiskInstanceViewdeprecated
- type DiskListdeprecated
- func (dl DiskList) IsEmpty() booldeprecated
- type DiskListIteratordeprecated
- type DiskListPagedeprecated
- func (page *DiskListPage) Next() errordeprecated
- func (page DiskListPage) NotDone() booldeprecated
- func (page DiskListPage) Response() DiskListdeprecated
- func (page DiskListPage) Values() []Diskdeprecated
- type DiskPropertiesdeprecated
- type DiskUpdatedeprecated
- type DiskUpdatePropertiesdeprecated
- type DisksClientdeprecated
- func (client DisksClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, diskName string, disk Disk) (result DisksCreateOrUpdateFuture, err error)deprecated
- func (client DisksClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, diskName string, disk Disk) (*http.Request, error)deprecated
- func (client DisksClient) CreateOrUpdateResponder(resp *http.Response) (result Disk, err error)deprecated
- func (client DisksClient) CreateOrUpdateSender(req *http.Request) (future DisksCreateOrUpdateFuture, err error)deprecated
- func (client DisksClient) Delete(ctx context.Context, resourceGroupName string, diskName string) (result DisksDeleteFuture, err error)deprecated
- func (client DisksClient) DeletePreparer(ctx context.Context, resourceGroupName string, diskName string) (*http.Request, error)deprecated
- func (client DisksClient) DeleteResponder(resp *http.Response) (result OperationStatusResponse, err error)deprecated
- func (client DisksClient) DeleteSender(req *http.Request) (future DisksDeleteFuture, err error)deprecated
- func (client DisksClient) Get(ctx context.Context, resourceGroupName string, diskName string) (result Disk, err error)deprecated
- func (client DisksClient) GetPreparer(ctx context.Context, resourceGroupName string, diskName string) (*http.Request, error)deprecated
- func (client DisksClient) GetResponder(resp *http.Response) (result Disk, err error)deprecated
- func (client DisksClient) GetSender(req *http.Request) (*http.Response, error)deprecated
- func (client DisksClient) GrantAccess(ctx context.Context, resourceGroupName string, diskName string, ...) (result DisksGrantAccessFuture, err error)deprecated
- func (client DisksClient) GrantAccessPreparer(ctx context.Context, resourceGroupName string, diskName string, ...) (*http.Request, error)deprecated
- func (client DisksClient) GrantAccessResponder(resp *http.Response) (result AccessURI, err error)deprecated
- func (client DisksClient) GrantAccessSender(req *http.Request) (future DisksGrantAccessFuture, err error)deprecated
- func (client DisksClient) List(ctx context.Context) (result DiskListPage, err error)deprecated
- func (client DisksClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result DiskListPage, err error)deprecated
- func (client DisksClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result DiskListIterator, err error)deprecated
- func (client DisksClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)deprecated
- func (client DisksClient) ListByResourceGroupResponder(resp *http.Response) (result DiskList, err error)deprecated
- func (client DisksClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)deprecated
- func (client DisksClient) ListComplete(ctx context.Context) (result DiskListIterator, err error)deprecated
- func (client DisksClient) ListPreparer(ctx context.Context) (*http.Request, error)deprecated
- func (client DisksClient) ListResponder(resp *http.Response) (result DiskList, err error)deprecated
- func (client DisksClient) ListSender(req *http.Request) (*http.Response, error)deprecated
- func (client DisksClient) RevokeAccess(ctx context.Context, resourceGroupName string, diskName string) (result DisksRevokeAccessFuture, err error)deprecated
- func (client DisksClient) RevokeAccessPreparer(ctx context.Context, resourceGroupName string, diskName string) (*http.Request, error)deprecated
- func (client DisksClient) RevokeAccessResponder(resp *http.Response) (result OperationStatusResponse, err error)deprecated
- func (client DisksClient) RevokeAccessSender(req *http.Request) (future DisksRevokeAccessFuture, err error)deprecated
- func (client DisksClient) Update(ctx context.Context, resourceGroupName string, diskName string, ...) (result DisksUpdateFuture, err error)deprecated
- func (client DisksClient) UpdatePreparer(ctx context.Context, resourceGroupName string, diskName string, ...) (*http.Request, error)deprecated
- func (client DisksClient) UpdateResponder(resp *http.Response) (result Disk, err error)deprecated
- func (client DisksClient) UpdateSender(req *http.Request) (future DisksUpdateFuture, err error)deprecated
- type DisksCreateOrUpdateFuturedeprecated
- type DisksDeleteFuturedeprecated
- type DisksGrantAccessFuturedeprecated
- type DisksRevokeAccessFuturedeprecated
- type DisksUpdateFuturedeprecated
- type EncryptionSettingsdeprecated
- type GrantAccessDatadeprecated
- type HardwareProfiledeprecated
- type Imagedeprecated
- type ImageDataDiskdeprecated
- type ImageDiskReferencedeprecated
- type ImageListResultdeprecated
- type ImageListResultIteratordeprecated
- type ImageListResultPagedeprecated
- type ImageOSDiskdeprecated
- type ImagePropertiesdeprecated
- type ImageReferencedeprecated
- type ImageStorageProfiledeprecated
- type ImagesClientdeprecated
- func (client ImagesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, imageName string, ...) (result ImagesCreateOrUpdateFuture, err error)deprecated
- func (client ImagesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, imageName string, ...) (*http.Request, error)deprecated
- func (client ImagesClient) CreateOrUpdateResponder(resp *http.Response) (result Image, err error)deprecated
- func (client ImagesClient) CreateOrUpdateSender(req *http.Request) (future ImagesCreateOrUpdateFuture, err error)deprecated
- func (client ImagesClient) Delete(ctx context.Context, resourceGroupName string, imageName string) (result ImagesDeleteFuture, err error)deprecated
- func (client ImagesClient) DeletePreparer(ctx context.Context, resourceGroupName string, imageName string) (*http.Request, error)deprecated
- func (client ImagesClient) DeleteResponder(resp *http.Response) (result OperationStatusResponse, err error)deprecated
- func (client ImagesClient) DeleteSender(req *http.Request) (future ImagesDeleteFuture, err error)deprecated
- func (client ImagesClient) Get(ctx context.Context, resourceGroupName string, imageName string, expand string) (result Image, err error)deprecated
- func (client ImagesClient) GetPreparer(ctx context.Context, resourceGroupName string, imageName string, expand string) (*http.Request, error)deprecated
- func (client ImagesClient) GetResponder(resp *http.Response) (result Image, err error)deprecated
- func (client ImagesClient) GetSender(req *http.Request) (*http.Response, error)deprecated
- func (client ImagesClient) List(ctx context.Context) (result ImageListResultPage, err error)deprecated
- func (client ImagesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ImageListResultPage, err error)deprecated
- func (client ImagesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ImageListResultIterator, err error)deprecated
- func (client ImagesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)deprecated
- func (client ImagesClient) ListByResourceGroupResponder(resp *http.Response) (result ImageListResult, err error)deprecated
- func (client ImagesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)deprecated
- func (client ImagesClient) ListComplete(ctx context.Context) (result ImageListResultIterator, err error)deprecated
- func (client ImagesClient) ListPreparer(ctx context.Context) (*http.Request, error)deprecated
- func (client ImagesClient) ListResponder(resp *http.Response) (result ImageListResult, err error)deprecated
- func (client ImagesClient) ListSender(req *http.Request) (*http.Response, error)deprecated
- type ImagesCreateOrUpdateFuturedeprecated
- type ImagesDeleteFuturedeprecated
- type InnerErrordeprecated
- type InstanceViewStatusdeprecated
- type InstanceViewTypesdeprecated
- type KeyVaultAndKeyReferencedeprecated
- type KeyVaultAndSecretReferencedeprecated
- type KeyVaultKeyReferencedeprecated
- type KeyVaultSecretReferencedeprecated
- type LinuxConfigurationdeprecated
- type ListUsagesResultdeprecated
- type ListUsagesResultIteratordeprecated
- type ListUsagesResultPagedeprecated
- type ListVirtualMachineExtensionImagedeprecated
- type ListVirtualMachineImageResourcedeprecated
- type LongRunningOperationPropertiesdeprecated
- type ManagedDiskParametersdeprecated
- type NetworkInterfaceReferencedeprecated
- type NetworkInterfaceReferencePropertiesdeprecated
- type NetworkProfiledeprecated
- type OSDiskdeprecated
- type OSDiskImagedeprecated
- type OSProfiledeprecated
- type OperatingSystemStateTypesdeprecated
- type OperatingSystemTypesdeprecated
- type OperationStatusResponsedeprecated
- type PassNamesdeprecated
- type Plandeprecated
- type ProtocolTypesdeprecated
- type PurchasePlandeprecated
- type Resourcedeprecated
- type ResourceIdentityTypedeprecated
- type ResourceUpdatedeprecated
- type SSHConfigurationdeprecated
- type SSHPublicKeydeprecated
- type SettingNamesdeprecated
- type Skudeprecated
- type Snapshotdeprecated
- type SnapshotListdeprecated
- func (sl SnapshotList) IsEmpty() booldeprecated
- type SnapshotListIteratordeprecated
- type SnapshotListPagedeprecated
- type SnapshotUpdatedeprecated
- type SnapshotsClientdeprecated
- func (client SnapshotsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, snapshotName string, ...) (result SnapshotsCreateOrUpdateFuture, err error)deprecated
- func (client SnapshotsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, snapshotName string, ...) (*http.Request, error)deprecated
- func (client SnapshotsClient) CreateOrUpdateResponder(resp *http.Response) (result Snapshot, err error)deprecated
- func (client SnapshotsClient) CreateOrUpdateSender(req *http.Request) (future SnapshotsCreateOrUpdateFuture, err error)deprecated
- func (client SnapshotsClient) Delete(ctx context.Context, resourceGroupName string, snapshotName string) (result SnapshotsDeleteFuture, err error)deprecated
- func (client SnapshotsClient) DeletePreparer(ctx context.Context, resourceGroupName string, snapshotName string) (*http.Request, error)deprecated
- func (client SnapshotsClient) DeleteResponder(resp *http.Response) (result OperationStatusResponse, err error)deprecated
- func (client SnapshotsClient) DeleteSender(req *http.Request) (future SnapshotsDeleteFuture, err error)deprecated
- func (client SnapshotsClient) Get(ctx context.Context, resourceGroupName string, snapshotName string) (result Snapshot, err error)deprecated
- func (client SnapshotsClient) GetPreparer(ctx context.Context, resourceGroupName string, snapshotName string) (*http.Request, error)deprecated
- func (client SnapshotsClient) GetResponder(resp *http.Response) (result Snapshot, err error)deprecated
- func (client SnapshotsClient) GetSender(req *http.Request) (*http.Response, error)deprecated
- func (client SnapshotsClient) GrantAccess(ctx context.Context, resourceGroupName string, snapshotName string, ...) (result SnapshotsGrantAccessFuture, err error)deprecated
- func (client SnapshotsClient) GrantAccessPreparer(ctx context.Context, resourceGroupName string, snapshotName string, ...) (*http.Request, error)deprecated
- func (client SnapshotsClient) GrantAccessResponder(resp *http.Response) (result AccessURI, err error)deprecated
- func (client SnapshotsClient) GrantAccessSender(req *http.Request) (future SnapshotsGrantAccessFuture, err error)deprecated
- func (client SnapshotsClient) List(ctx context.Context) (result SnapshotListPage, err error)deprecated
- func (client SnapshotsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result SnapshotListPage, err error)deprecated
- func (client SnapshotsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result SnapshotListIterator, err error)deprecated
- func (client SnapshotsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)deprecated
- func (client SnapshotsClient) ListByResourceGroupResponder(resp *http.Response) (result SnapshotList, err error)deprecated
- func (client SnapshotsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)deprecated
- func (client SnapshotsClient) ListComplete(ctx context.Context) (result SnapshotListIterator, err error)deprecated
- func (client SnapshotsClient) ListPreparer(ctx context.Context) (*http.Request, error)deprecated
- func (client SnapshotsClient) ListResponder(resp *http.Response) (result SnapshotList, err error)deprecated
- func (client SnapshotsClient) ListSender(req *http.Request) (*http.Response, error)deprecated
- func (client SnapshotsClient) RevokeAccess(ctx context.Context, resourceGroupName string, snapshotName string) (result SnapshotsRevokeAccessFuture, err error)deprecated
- func (client SnapshotsClient) RevokeAccessPreparer(ctx context.Context, resourceGroupName string, snapshotName string) (*http.Request, error)deprecated
- func (client SnapshotsClient) RevokeAccessResponder(resp *http.Response) (result OperationStatusResponse, err error)deprecated
- func (client SnapshotsClient) RevokeAccessSender(req *http.Request) (future SnapshotsRevokeAccessFuture, err error)deprecated
- func (client SnapshotsClient) Update(ctx context.Context, resourceGroupName string, snapshotName string, ...) (result SnapshotsUpdateFuture, err error)deprecated
- func (client SnapshotsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, snapshotName string, ...) (*http.Request, error)deprecated
- func (client SnapshotsClient) UpdateResponder(resp *http.Response) (result Snapshot, err error)deprecated
- func (client SnapshotsClient) UpdateSender(req *http.Request) (future SnapshotsUpdateFuture, err error)deprecated
- type SnapshotsCreateOrUpdateFuturedeprecated
- type SnapshotsDeleteFuturedeprecated
- type SnapshotsGrantAccessFuturedeprecated
- type SnapshotsRevokeAccessFuturedeprecated
- type SnapshotsUpdateFuturedeprecated
- type SourceVaultdeprecated
- type StatusLevelTypesdeprecated
- type StorageAccountTypesdeprecated
- type StorageProfiledeprecated
- type SubResourcedeprecated
- type SubResourceReadOnlydeprecated
- type UpdateResourcedeprecated
- type UpgradeModedeprecated
- type UpgradePolicydeprecated
- type Usagedeprecated
- type UsageClientdeprecated
- func (client UsageClient) List(ctx context.Context, location string) (result ListUsagesResultPage, err error)deprecated
- func (client UsageClient) ListComplete(ctx context.Context, location string) (result ListUsagesResultIterator, err error)deprecated
- func (client UsageClient) ListPreparer(ctx context.Context, location string) (*http.Request, error)deprecated
- func (client UsageClient) ListResponder(resp *http.Response) (result ListUsagesResult, err error)deprecated
- func (client UsageClient) ListSender(req *http.Request) (*http.Response, error)deprecated
- type UsageNamedeprecated
- type VaultCertificatedeprecated
- type VaultSecretGroupdeprecated
- type VirtualHardDiskdeprecated
- type VirtualMachinedeprecated
- type VirtualMachineAgentInstanceViewdeprecated
- type VirtualMachineCaptureParametersdeprecated
- type VirtualMachineCaptureResultdeprecated
- type VirtualMachineCaptureResultPropertiesdeprecated
- type VirtualMachineExtensiondeprecated
- type VirtualMachineExtensionHandlerInstanceViewdeprecated
- type VirtualMachineExtensionImagedeprecated
- type VirtualMachineExtensionImagePropertiesdeprecated
- type VirtualMachineExtensionImagesClientdeprecated
- func (client VirtualMachineExtensionImagesClient) Get(ctx context.Context, location string, publisherName string, ...) (result VirtualMachineExtensionImage, err error)deprecated
- func (client VirtualMachineExtensionImagesClient) GetPreparer(ctx context.Context, location string, publisherName string, ...) (*http.Request, error)deprecated
- func (client VirtualMachineExtensionImagesClient) GetResponder(resp *http.Response) (result VirtualMachineExtensionImage, err error)deprecated
- func (client VirtualMachineExtensionImagesClient) GetSender(req *http.Request) (*http.Response, error)deprecated
- func (client VirtualMachineExtensionImagesClient) ListTypes(ctx context.Context, location string, publisherName string) (result ListVirtualMachineExtensionImage, err error)deprecated
- func (client VirtualMachineExtensionImagesClient) ListTypesPreparer(ctx context.Context, location string, publisherName string) (*http.Request, error)deprecated
- func (client VirtualMachineExtensionImagesClient) ListTypesResponder(resp *http.Response) (result ListVirtualMachineExtensionImage, err error)deprecated
- func (client VirtualMachineExtensionImagesClient) ListTypesSender(req *http.Request) (*http.Response, error)deprecated
- func (client VirtualMachineExtensionImagesClient) ListVersions(ctx context.Context, location string, publisherName string, ...) (result ListVirtualMachineExtensionImage, err error)deprecated
- func (client VirtualMachineExtensionImagesClient) ListVersionsPreparer(ctx context.Context, location string, publisherName string, ...) (*http.Request, error)deprecated
- func (client VirtualMachineExtensionImagesClient) ListVersionsResponder(resp *http.Response) (result ListVirtualMachineExtensionImage, err error)deprecated
- func (client VirtualMachineExtensionImagesClient) ListVersionsSender(req *http.Request) (*http.Response, error)deprecated
- type VirtualMachineExtensionInstanceViewdeprecated
- type VirtualMachineExtensionPropertiesdeprecated
- type VirtualMachineExtensionUpdatedeprecated
- type VirtualMachineExtensionUpdatePropertiesdeprecated
- type VirtualMachineExtensionsClientdeprecated
- func (client VirtualMachineExtensionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, VMName string, ...) (result VirtualMachineExtensionsCreateOrUpdateFuture, err error)deprecated
- func (client VirtualMachineExtensionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, VMName string, ...) (*http.Request, error)deprecated
- func (client VirtualMachineExtensionsClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualMachineExtension, err error)deprecated
- func (client VirtualMachineExtensionsClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachineExtensionsCreateOrUpdateFuture, err error)deprecated
- func (client VirtualMachineExtensionsClient) Delete(ctx context.Context, resourceGroupName string, VMName string, ...) (result VirtualMachineExtensionsDeleteFuture, err error)deprecated
- func (client VirtualMachineExtensionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, VMName string, ...) (*http.Request, error)deprecated
- func (client VirtualMachineExtensionsClient) DeleteResponder(resp *http.Response) (result OperationStatusResponse, err error)deprecated
- func (client VirtualMachineExtensionsClient) DeleteSender(req *http.Request) (future VirtualMachineExtensionsDeleteFuture, err error)deprecated
- func (client VirtualMachineExtensionsClient) Get(ctx context.Context, resourceGroupName string, VMName string, ...) (result VirtualMachineExtension, err error)deprecated
- func (client VirtualMachineExtensionsClient) GetPreparer(ctx context.Context, resourceGroupName string, VMName string, ...) (*http.Request, error)deprecated
- func (client VirtualMachineExtensionsClient) GetResponder(resp *http.Response) (result VirtualMachineExtension, err error)deprecated
- func (client VirtualMachineExtensionsClient) GetSender(req *http.Request) (*http.Response, error)deprecated
- func (client VirtualMachineExtensionsClient) Update(ctx context.Context, resourceGroupName string, VMName string, ...) (result VirtualMachineExtensionsUpdateFuture, err error)deprecated
- func (client VirtualMachineExtensionsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, VMName string, ...) (*http.Request, error)deprecated
- func (client VirtualMachineExtensionsClient) UpdateResponder(resp *http.Response) (result VirtualMachineExtension, err error)deprecated
- func (client VirtualMachineExtensionsClient) UpdateSender(req *http.Request) (future VirtualMachineExtensionsUpdateFuture, err error)deprecated
- type VirtualMachineExtensionsCreateOrUpdateFuturedeprecated
- type VirtualMachineExtensionsDeleteFuturedeprecated
- type VirtualMachineExtensionsListResultdeprecated
- type VirtualMachineExtensionsUpdateFuturedeprecated
- type VirtualMachineIdentitydeprecated
- type VirtualMachineImagedeprecated
- type VirtualMachineImagePropertiesdeprecated
- type VirtualMachineImageResourcedeprecated
- type VirtualMachineImagesClientdeprecated
- func (client VirtualMachineImagesClient) Get(ctx context.Context, location string, publisherName string, offer string, ...) (result VirtualMachineImage, err error)deprecated
- func (client VirtualMachineImagesClient) GetPreparer(ctx context.Context, location string, publisherName string, offer string, ...) (*http.Request, error)deprecated
- func (client VirtualMachineImagesClient) GetResponder(resp *http.Response) (result VirtualMachineImage, err error)deprecated
- func (client VirtualMachineImagesClient) GetSender(req *http.Request) (*http.Response, error)deprecated
- func (client VirtualMachineImagesClient) List(ctx context.Context, location string, publisherName string, offer string, ...) (result ListVirtualMachineImageResource, err error)deprecated
- func (client VirtualMachineImagesClient) ListOffers(ctx context.Context, location string, publisherName string) (result ListVirtualMachineImageResource, err error)deprecated
- func (client VirtualMachineImagesClient) ListOffersPreparer(ctx context.Context, location string, publisherName string) (*http.Request, error)deprecated
- func (client VirtualMachineImagesClient) ListOffersResponder(resp *http.Response) (result ListVirtualMachineImageResource, err error)deprecated
- func (client VirtualMachineImagesClient) ListOffersSender(req *http.Request) (*http.Response, error)deprecated
- func (client VirtualMachineImagesClient) ListPreparer(ctx context.Context, location string, publisherName string, offer string, ...) (*http.Request, error)deprecated
- func (client VirtualMachineImagesClient) ListPublishers(ctx context.Context, location string) (result ListVirtualMachineImageResource, err error)deprecated
- func (client VirtualMachineImagesClient) ListPublishersPreparer(ctx context.Context, location string) (*http.Request, error)deprecated
- func (client VirtualMachineImagesClient) ListPublishersResponder(resp *http.Response) (result ListVirtualMachineImageResource, err error)deprecated
- func (client VirtualMachineImagesClient) ListPublishersSender(req *http.Request) (*http.Response, error)deprecated
- func (client VirtualMachineImagesClient) ListResponder(resp *http.Response) (result ListVirtualMachineImageResource, err error)deprecated
- func (client VirtualMachineImagesClient) ListSender(req *http.Request) (*http.Response, error)deprecated
- func (client VirtualMachineImagesClient) ListSkus(ctx context.Context, location string, publisherName string, offer string) (result ListVirtualMachineImageResource, err error)deprecated
- func (client VirtualMachineImagesClient) ListSkusPreparer(ctx context.Context, location string, publisherName string, offer string) (*http.Request, error)deprecated
- func (client VirtualMachineImagesClient) ListSkusResponder(resp *http.Response) (result ListVirtualMachineImageResource, err error)deprecated
- func (client VirtualMachineImagesClient) ListSkusSender(req *http.Request) (*http.Response, error)deprecated
- type VirtualMachineInstanceViewdeprecated
- type VirtualMachineListResultdeprecated
- type VirtualMachineListResultIteratordeprecated
- func (iter *VirtualMachineListResultIterator) Next() errordeprecated
- func (iter VirtualMachineListResultIterator) NotDone() booldeprecated
- func (iter VirtualMachineListResultIterator) Response() VirtualMachineListResultdeprecated
- func (iter VirtualMachineListResultIterator) Value() VirtualMachinedeprecated
- type VirtualMachineListResultPagedeprecated
- type VirtualMachinePropertiesdeprecated
- type VirtualMachineScaleSetdeprecated
- type VirtualMachineScaleSetDataDiskdeprecated
- type VirtualMachineScaleSetExtensiondeprecated
- type VirtualMachineScaleSetExtensionProfiledeprecated
- type VirtualMachineScaleSetExtensionPropertiesdeprecated
- type VirtualMachineScaleSetIPConfigurationdeprecated
- type VirtualMachineScaleSetIPConfigurationPropertiesdeprecated
- type VirtualMachineScaleSetIdentitydeprecated
- type VirtualMachineScaleSetInstanceViewdeprecated
- type VirtualMachineScaleSetInstanceViewStatusesSummarydeprecated
- type VirtualMachineScaleSetListResultdeprecated
- type VirtualMachineScaleSetListResultIteratordeprecated
- func (iter *VirtualMachineScaleSetListResultIterator) Next() errordeprecated
- func (iter VirtualMachineScaleSetListResultIterator) NotDone() booldeprecated
- func (iter VirtualMachineScaleSetListResultIterator) Response() VirtualMachineScaleSetListResultdeprecated
- func (iter VirtualMachineScaleSetListResultIterator) Value() VirtualMachineScaleSetdeprecated
- type VirtualMachineScaleSetListResultPagedeprecated
- func (page *VirtualMachineScaleSetListResultPage) Next() errordeprecated
- func (page VirtualMachineScaleSetListResultPage) NotDone() booldeprecated
- func (page VirtualMachineScaleSetListResultPage) Response() VirtualMachineScaleSetListResultdeprecated
- func (page VirtualMachineScaleSetListResultPage) Values() []VirtualMachineScaleSetdeprecated
- type VirtualMachineScaleSetListSkusResultdeprecated
- type VirtualMachineScaleSetListSkusResultIteratordeprecated
- func (iter *VirtualMachineScaleSetListSkusResultIterator) Next() errordeprecated
- func (iter VirtualMachineScaleSetListSkusResultIterator) NotDone() booldeprecated
- func (iter VirtualMachineScaleSetListSkusResultIterator) Response() VirtualMachineScaleSetListSkusResultdeprecated
- func (iter VirtualMachineScaleSetListSkusResultIterator) Value() VirtualMachineScaleSetSkudeprecated
- type VirtualMachineScaleSetListSkusResultPagedeprecated
- func (page *VirtualMachineScaleSetListSkusResultPage) Next() errordeprecated
- func (page VirtualMachineScaleSetListSkusResultPage) NotDone() booldeprecated
- func (page VirtualMachineScaleSetListSkusResultPage) Response() VirtualMachineScaleSetListSkusResultdeprecated
- func (page VirtualMachineScaleSetListSkusResultPage) Values() []VirtualMachineScaleSetSkudeprecated
- type VirtualMachineScaleSetListWithLinkResultdeprecated
- type VirtualMachineScaleSetListWithLinkResultIteratordeprecated
- func (iter *VirtualMachineScaleSetListWithLinkResultIterator) Next() errordeprecated
- func (iter VirtualMachineScaleSetListWithLinkResultIterator) NotDone() booldeprecated
- func (iter VirtualMachineScaleSetListWithLinkResultIterator) Response() VirtualMachineScaleSetListWithLinkResultdeprecated
- func (iter VirtualMachineScaleSetListWithLinkResultIterator) Value() VirtualMachineScaleSetdeprecated
- type VirtualMachineScaleSetListWithLinkResultPagedeprecated
- func (page *VirtualMachineScaleSetListWithLinkResultPage) Next() errordeprecated
- func (page VirtualMachineScaleSetListWithLinkResultPage) NotDone() booldeprecated
- func (page VirtualMachineScaleSetListWithLinkResultPage) Response() VirtualMachineScaleSetListWithLinkResultdeprecated
- func (page VirtualMachineScaleSetListWithLinkResultPage) Values() []VirtualMachineScaleSetdeprecated
- type VirtualMachineScaleSetManagedDiskParametersdeprecated
- type VirtualMachineScaleSetNetworkConfigurationdeprecated
- type VirtualMachineScaleSetNetworkConfigurationPropertiesdeprecated
- type VirtualMachineScaleSetNetworkProfiledeprecated
- type VirtualMachineScaleSetOSDiskdeprecated
- type VirtualMachineScaleSetOSProfiledeprecated
- type VirtualMachineScaleSetPropertiesdeprecated
- type VirtualMachineScaleSetSkudeprecated
- type VirtualMachineScaleSetSkuCapacitydeprecated
- type VirtualMachineScaleSetSkuScaleTypedeprecated
- type VirtualMachineScaleSetStorageProfiledeprecated
- type VirtualMachineScaleSetVMdeprecated
- type VirtualMachineScaleSetVMExtensionsSummarydeprecated
- type VirtualMachineScaleSetVMInstanceIDsdeprecated
- type VirtualMachineScaleSetVMInstanceRequiredIDsdeprecated
- type VirtualMachineScaleSetVMInstanceViewdeprecated
- type VirtualMachineScaleSetVMListResultdeprecated
- type VirtualMachineScaleSetVMListResultIteratordeprecated
- func (iter *VirtualMachineScaleSetVMListResultIterator) Next() errordeprecated
- func (iter VirtualMachineScaleSetVMListResultIterator) NotDone() booldeprecated
- func (iter VirtualMachineScaleSetVMListResultIterator) Response() VirtualMachineScaleSetVMListResultdeprecated
- func (iter VirtualMachineScaleSetVMListResultIterator) Value() VirtualMachineScaleSetVMdeprecated
- type VirtualMachineScaleSetVMListResultPagedeprecated
- func (page *VirtualMachineScaleSetVMListResultPage) Next() errordeprecated
- func (page VirtualMachineScaleSetVMListResultPage) NotDone() booldeprecated
- func (page VirtualMachineScaleSetVMListResultPage) Response() VirtualMachineScaleSetVMListResultdeprecated
- func (page VirtualMachineScaleSetVMListResultPage) Values() []VirtualMachineScaleSetVMdeprecated
- type VirtualMachineScaleSetVMProfiledeprecated
- type VirtualMachineScaleSetVMPropertiesdeprecated
- type VirtualMachineScaleSetVMsClientdeprecated
- func (client VirtualMachineScaleSetVMsClient) Deallocate(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (result VirtualMachineScaleSetVMsDeallocateFuture, err error)deprecated
- func (client VirtualMachineScaleSetVMsClient) DeallocatePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)deprecated
- func (client VirtualMachineScaleSetVMsClient) DeallocateResponder(resp *http.Response) (result OperationStatusResponse, err error)deprecated
- func (client VirtualMachineScaleSetVMsClient) DeallocateSender(req *http.Request) (future VirtualMachineScaleSetVMsDeallocateFuture, err error)deprecated
- func (client VirtualMachineScaleSetVMsClient) Delete(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (result VirtualMachineScaleSetVMsDeleteFuture, err error)deprecated
- func (client VirtualMachineScaleSetVMsClient) DeletePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)deprecated
- func (client VirtualMachineScaleSetVMsClient) DeleteResponder(resp *http.Response) (result OperationStatusResponse, err error)deprecated
- func (client VirtualMachineScaleSetVMsClient) DeleteSender(req *http.Request) (future VirtualMachineScaleSetVMsDeleteFuture, err error)deprecated
- func (client VirtualMachineScaleSetVMsClient) Get(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (result VirtualMachineScaleSetVM, err error)deprecated
- func (client VirtualMachineScaleSetVMsClient) GetInstanceView(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (result VirtualMachineScaleSetVMInstanceView, err error)deprecated
- func (client VirtualMachineScaleSetVMsClient) GetInstanceViewPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)deprecated
- func (client VirtualMachineScaleSetVMsClient) GetInstanceViewResponder(resp *http.Response) (result VirtualMachineScaleSetVMInstanceView, err error)deprecated
- func (client VirtualMachineScaleSetVMsClient) GetInstanceViewSender(req *http.Request) (*http.Response, error)deprecated
- func (client VirtualMachineScaleSetVMsClient) GetPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)deprecated
- func (client VirtualMachineScaleSetVMsClient) GetResponder(resp *http.Response) (result VirtualMachineScaleSetVM, err error)deprecated
- func (client VirtualMachineScaleSetVMsClient) GetSender(req *http.Request) (*http.Response, error)deprecated
- func (client VirtualMachineScaleSetVMsClient) List(ctx context.Context, resourceGroupName string, ...) (result VirtualMachineScaleSetVMListResultPage, err error)deprecated
- func (client VirtualMachineScaleSetVMsClient) ListComplete(ctx context.Context, resourceGroupName string, ...) (result VirtualMachineScaleSetVMListResultIterator, err error)deprecated
- func (client VirtualMachineScaleSetVMsClient) ListPreparer(ctx context.Context, resourceGroupName string, ...) (*http.Request, error)deprecated
- func (client VirtualMachineScaleSetVMsClient) ListResponder(resp *http.Response) (result VirtualMachineScaleSetVMListResult, err error)deprecated
- func (client VirtualMachineScaleSetVMsClient) ListSender(req *http.Request) (*http.Response, error)deprecated
- func (client VirtualMachineScaleSetVMsClient) PowerOff(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (result VirtualMachineScaleSetVMsPowerOffFuture, err error)deprecated
- func (client VirtualMachineScaleSetVMsClient) PowerOffPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)deprecated
- func (client VirtualMachineScaleSetVMsClient) PowerOffResponder(resp *http.Response) (result OperationStatusResponse, err error)deprecated
- func (client VirtualMachineScaleSetVMsClient) PowerOffSender(req *http.Request) (future VirtualMachineScaleSetVMsPowerOffFuture, err error)deprecated
- func (client VirtualMachineScaleSetVMsClient) Reimage(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (result VirtualMachineScaleSetVMsReimageFuture, err error)deprecated
- func (client VirtualMachineScaleSetVMsClient) ReimageAll(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (result VirtualMachineScaleSetVMsReimageAllFuture, err error)deprecated
- func (client VirtualMachineScaleSetVMsClient) ReimageAllPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)deprecated
- func (client VirtualMachineScaleSetVMsClient) ReimageAllResponder(resp *http.Response) (result OperationStatusResponse, err error)deprecated
- func (client VirtualMachineScaleSetVMsClient) ReimageAllSender(req *http.Request) (future VirtualMachineScaleSetVMsReimageAllFuture, err error)deprecated
- func (client VirtualMachineScaleSetVMsClient) ReimagePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)deprecated
- func (client VirtualMachineScaleSetVMsClient) ReimageResponder(resp *http.Response) (result OperationStatusResponse, err error)deprecated
- func (client VirtualMachineScaleSetVMsClient) ReimageSender(req *http.Request) (future VirtualMachineScaleSetVMsReimageFuture, err error)deprecated
- func (client VirtualMachineScaleSetVMsClient) Restart(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (result VirtualMachineScaleSetVMsRestartFuture, err error)deprecated
- func (client VirtualMachineScaleSetVMsClient) RestartPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)deprecated
- func (client VirtualMachineScaleSetVMsClient) RestartResponder(resp *http.Response) (result OperationStatusResponse, err error)deprecated
- func (client VirtualMachineScaleSetVMsClient) RestartSender(req *http.Request) (future VirtualMachineScaleSetVMsRestartFuture, err error)deprecated
- func (client VirtualMachineScaleSetVMsClient) Start(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (result VirtualMachineScaleSetVMsStartFuture, err error)deprecated
- func (client VirtualMachineScaleSetVMsClient) StartPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)deprecated
- func (client VirtualMachineScaleSetVMsClient) StartResponder(resp *http.Response) (result OperationStatusResponse, err error)deprecated
- func (client VirtualMachineScaleSetVMsClient) StartSender(req *http.Request) (future VirtualMachineScaleSetVMsStartFuture, err error)deprecated
- type VirtualMachineScaleSetVMsDeallocateFuturedeprecated
- type VirtualMachineScaleSetVMsDeleteFuturedeprecated
- type VirtualMachineScaleSetVMsPowerOffFuturedeprecated
- type VirtualMachineScaleSetVMsReimageAllFuturedeprecated
- type VirtualMachineScaleSetVMsReimageFuturedeprecated
- type VirtualMachineScaleSetVMsRestartFuturedeprecated
- type VirtualMachineScaleSetVMsStartFuturedeprecated
- type VirtualMachineScaleSetsClientdeprecated
- func (client VirtualMachineScaleSetsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, name string, ...) (result VirtualMachineScaleSetsCreateOrUpdateFuture, err error)deprecated
- func (client VirtualMachineScaleSetsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, name string, ...) (*http.Request, error)deprecated
- func (client VirtualMachineScaleSetsClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualMachineScaleSet, err error)deprecated
- func (client VirtualMachineScaleSetsClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachineScaleSetsCreateOrUpdateFuture, err error)deprecated
- func (client VirtualMachineScaleSetsClient) Deallocate(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (result VirtualMachineScaleSetsDeallocateFuture, err error)deprecated
- func (client VirtualMachineScaleSetsClient) DeallocatePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)deprecated
- func (client VirtualMachineScaleSetsClient) DeallocateResponder(resp *http.Response) (result OperationStatusResponse, err error)deprecated
- func (client VirtualMachineScaleSetsClient) DeallocateSender(req *http.Request) (future VirtualMachineScaleSetsDeallocateFuture, err error)deprecated
- func (client VirtualMachineScaleSetsClient) Delete(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetsDeleteFuture, err error)deprecated
- func (client VirtualMachineScaleSetsClient) DeleteInstances(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (result VirtualMachineScaleSetsDeleteInstancesFuture, err error)deprecated
- func (client VirtualMachineScaleSetsClient) DeleteInstancesPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)deprecated
- func (client VirtualMachineScaleSetsClient) DeleteInstancesResponder(resp *http.Response) (result OperationStatusResponse, err error)deprecated
- func (client VirtualMachineScaleSetsClient) DeleteInstancesSender(req *http.Request) (future VirtualMachineScaleSetsDeleteInstancesFuture, err error)deprecated
- func (client VirtualMachineScaleSetsClient) DeletePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string) (*http.Request, error)deprecated
- func (client VirtualMachineScaleSetsClient) DeleteResponder(resp *http.Response) (result OperationStatusResponse, err error)deprecated
- func (client VirtualMachineScaleSetsClient) DeleteSender(req *http.Request) (future VirtualMachineScaleSetsDeleteFuture, err error)deprecated
- func (client VirtualMachineScaleSetsClient) Get(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSet, err error)deprecated
- func (client VirtualMachineScaleSetsClient) GetInstanceView(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetInstanceView, err error)deprecated
- func (client VirtualMachineScaleSetsClient) GetInstanceViewPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string) (*http.Request, error)deprecated
- func (client VirtualMachineScaleSetsClient) GetInstanceViewResponder(resp *http.Response) (result VirtualMachineScaleSetInstanceView, err error)deprecated
- func (client VirtualMachineScaleSetsClient) GetInstanceViewSender(req *http.Request) (*http.Response, error)deprecated
- func (client VirtualMachineScaleSetsClient) GetPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string) (*http.Request, error)deprecated
- func (client VirtualMachineScaleSetsClient) GetResponder(resp *http.Response) (result VirtualMachineScaleSet, err error)deprecated
- func (client VirtualMachineScaleSetsClient) GetSender(req *http.Request) (*http.Response, error)deprecated
- func (client VirtualMachineScaleSetsClient) List(ctx context.Context, resourceGroupName string) (result VirtualMachineScaleSetListResultPage, err error)deprecated
- func (client VirtualMachineScaleSetsClient) ListAll(ctx context.Context) (result VirtualMachineScaleSetListWithLinkResultPage, err error)deprecated
- func (client VirtualMachineScaleSetsClient) ListAllComplete(ctx context.Context) (result VirtualMachineScaleSetListWithLinkResultIterator, err error)deprecated
- func (client VirtualMachineScaleSetsClient) ListAllPreparer(ctx context.Context) (*http.Request, error)deprecated
- func (client VirtualMachineScaleSetsClient) ListAllResponder(resp *http.Response) (result VirtualMachineScaleSetListWithLinkResult, err error)deprecated
- func (client VirtualMachineScaleSetsClient) ListAllSender(req *http.Request) (*http.Response, error)deprecated
- func (client VirtualMachineScaleSetsClient) ListComplete(ctx context.Context, resourceGroupName string) (result VirtualMachineScaleSetListResultIterator, err error)deprecated
- func (client VirtualMachineScaleSetsClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)deprecated
- func (client VirtualMachineScaleSetsClient) ListResponder(resp *http.Response) (result VirtualMachineScaleSetListResult, err error)deprecated
- func (client VirtualMachineScaleSetsClient) ListSender(req *http.Request) (*http.Response, error)deprecated
- func (client VirtualMachineScaleSetsClient) ListSkus(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetListSkusResultPage, err error)deprecated
- func (client VirtualMachineScaleSetsClient) ListSkusComplete(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetListSkusResultIterator, err error)deprecated
- func (client VirtualMachineScaleSetsClient) ListSkusPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string) (*http.Request, error)deprecated
- func (client VirtualMachineScaleSetsClient) ListSkusResponder(resp *http.Response) (result VirtualMachineScaleSetListSkusResult, err error)deprecated
- func (client VirtualMachineScaleSetsClient) ListSkusSender(req *http.Request) (*http.Response, error)deprecated
- func (client VirtualMachineScaleSetsClient) PowerOff(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (result VirtualMachineScaleSetsPowerOffFuture, err error)deprecated
- func (client VirtualMachineScaleSetsClient) PowerOffPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)deprecated
- func (client VirtualMachineScaleSetsClient) PowerOffResponder(resp *http.Response) (result OperationStatusResponse, err error)deprecated
- func (client VirtualMachineScaleSetsClient) PowerOffSender(req *http.Request) (future VirtualMachineScaleSetsPowerOffFuture, err error)deprecated
- func (client VirtualMachineScaleSetsClient) Reimage(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetsReimageFuture, err error)deprecated
- func (client VirtualMachineScaleSetsClient) ReimageAll(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetsReimageAllFuture, err error)deprecated
- func (client VirtualMachineScaleSetsClient) ReimageAllPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string) (*http.Request, error)deprecated
- func (client VirtualMachineScaleSetsClient) ReimageAllResponder(resp *http.Response) (result OperationStatusResponse, err error)deprecated
- func (client VirtualMachineScaleSetsClient) ReimageAllSender(req *http.Request) (future VirtualMachineScaleSetsReimageAllFuture, err error)deprecated
- func (client VirtualMachineScaleSetsClient) ReimagePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string) (*http.Request, error)deprecated
- func (client VirtualMachineScaleSetsClient) ReimageResponder(resp *http.Response) (result OperationStatusResponse, err error)deprecated
- func (client VirtualMachineScaleSetsClient) ReimageSender(req *http.Request) (future VirtualMachineScaleSetsReimageFuture, err error)deprecated
- func (client VirtualMachineScaleSetsClient) Restart(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (result VirtualMachineScaleSetsRestartFuture, err error)deprecated
- func (client VirtualMachineScaleSetsClient) RestartPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)deprecated
- func (client VirtualMachineScaleSetsClient) RestartResponder(resp *http.Response) (result OperationStatusResponse, err error)deprecated
- func (client VirtualMachineScaleSetsClient) RestartSender(req *http.Request) (future VirtualMachineScaleSetsRestartFuture, err error)deprecated
- func (client VirtualMachineScaleSetsClient) Start(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (result VirtualMachineScaleSetsStartFuture, err error)deprecated
- func (client VirtualMachineScaleSetsClient) StartPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)deprecated
- func (client VirtualMachineScaleSetsClient) StartResponder(resp *http.Response) (result OperationStatusResponse, err error)deprecated
- func (client VirtualMachineScaleSetsClient) StartSender(req *http.Request) (future VirtualMachineScaleSetsStartFuture, err error)deprecated
- func (client VirtualMachineScaleSetsClient) UpdateInstances(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (result VirtualMachineScaleSetsUpdateInstancesFuture, err error)deprecated
- func (client VirtualMachineScaleSetsClient) UpdateInstancesPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, ...) (*http.Request, error)deprecated
- func (client VirtualMachineScaleSetsClient) UpdateInstancesResponder(resp *http.Response) (result OperationStatusResponse, err error)deprecated
- func (client VirtualMachineScaleSetsClient) UpdateInstancesSender(req *http.Request) (future VirtualMachineScaleSetsUpdateInstancesFuture, err error)deprecated
- type VirtualMachineScaleSetsCreateOrUpdateFuturedeprecated
- type VirtualMachineScaleSetsDeallocateFuturedeprecated
- type VirtualMachineScaleSetsDeleteFuturedeprecated
- type VirtualMachineScaleSetsDeleteInstancesFuturedeprecated
- type VirtualMachineScaleSetsPowerOffFuturedeprecated
- type VirtualMachineScaleSetsReimageAllFuturedeprecated
- type VirtualMachineScaleSetsReimageFuturedeprecated
- type VirtualMachineScaleSetsRestartFuturedeprecated
- type VirtualMachineScaleSetsStartFuturedeprecated
- type VirtualMachineScaleSetsUpdateInstancesFuturedeprecated
- type VirtualMachineSizedeprecated
- type VirtualMachineSizeListResultdeprecated
- type VirtualMachineSizeTypesdeprecated
- type VirtualMachineSizesClientdeprecated
- func (client VirtualMachineSizesClient) List(ctx context.Context, location string) (result VirtualMachineSizeListResult, err error)deprecated
- func (client VirtualMachineSizesClient) ListPreparer(ctx context.Context, location string) (*http.Request, error)deprecated
- func (client VirtualMachineSizesClient) ListResponder(resp *http.Response) (result VirtualMachineSizeListResult, err error)deprecated
- func (client VirtualMachineSizesClient) ListSender(req *http.Request) (*http.Response, error)deprecated
- type VirtualMachineStatusCodeCountdeprecated
- type VirtualMachinesCaptureFuturedeprecated
- type VirtualMachinesClientdeprecated
- func (client VirtualMachinesClient) Capture(ctx context.Context, resourceGroupName string, VMName string, ...) (result VirtualMachinesCaptureFuture, err error)deprecated
- func (client VirtualMachinesClient) CapturePreparer(ctx context.Context, resourceGroupName string, VMName string, ...) (*http.Request, error)deprecated
- func (client VirtualMachinesClient) CaptureResponder(resp *http.Response) (result VirtualMachineCaptureResult, err error)deprecated
- func (client VirtualMachinesClient) CaptureSender(req *http.Request) (future VirtualMachinesCaptureFuture, err error)deprecated
- func (client VirtualMachinesClient) ConvertToManagedDisks(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachinesConvertToManagedDisksFuture, err error)deprecated
- func (client VirtualMachinesClient) ConvertToManagedDisksPreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)deprecated
- func (client VirtualMachinesClient) ConvertToManagedDisksResponder(resp *http.Response) (result OperationStatusResponse, err error)deprecated
- func (client VirtualMachinesClient) ConvertToManagedDisksSender(req *http.Request) (future VirtualMachinesConvertToManagedDisksFuture, err error)deprecated
- func (client VirtualMachinesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, VMName string, ...) (result VirtualMachinesCreateOrUpdateFuture, err error)deprecated
- func (client VirtualMachinesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, VMName string, ...) (*http.Request, error)deprecated
- func (client VirtualMachinesClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualMachine, err error)deprecated
- func (client VirtualMachinesClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachinesCreateOrUpdateFuture, err error)deprecated
- func (client VirtualMachinesClient) Deallocate(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachinesDeallocateFuture, err error)deprecated
- func (client VirtualMachinesClient) DeallocatePreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)deprecated
- func (client VirtualMachinesClient) DeallocateResponder(resp *http.Response) (result OperationStatusResponse, err error)deprecated
- func (client VirtualMachinesClient) DeallocateSender(req *http.Request) (future VirtualMachinesDeallocateFuture, err error)deprecated
- func (client VirtualMachinesClient) Delete(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachinesDeleteFuture, err error)deprecated
- func (client VirtualMachinesClient) DeletePreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)deprecated
- func (client VirtualMachinesClient) DeleteResponder(resp *http.Response) (result OperationStatusResponse, err error)deprecated
- func (client VirtualMachinesClient) DeleteSender(req *http.Request) (future VirtualMachinesDeleteFuture, err error)deprecated
- func (client VirtualMachinesClient) Generalize(ctx context.Context, resourceGroupName string, VMName string) (result OperationStatusResponse, err error)deprecated
- func (client VirtualMachinesClient) GeneralizePreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)deprecated
- func (client VirtualMachinesClient) GeneralizeResponder(resp *http.Response) (result OperationStatusResponse, err error)deprecated
- func (client VirtualMachinesClient) GeneralizeSender(req *http.Request) (*http.Response, error)deprecated
- func (client VirtualMachinesClient) Get(ctx context.Context, resourceGroupName string, VMName string, ...) (result VirtualMachine, err error)deprecated
- func (client VirtualMachinesClient) GetExtensions(ctx context.Context, resourceGroupName string, VMName string, expand string) (result VirtualMachineExtensionsListResult, err error)deprecated
- func (client VirtualMachinesClient) GetExtensionsPreparer(ctx context.Context, resourceGroupName string, VMName string, expand string) (*http.Request, error)deprecated
- func (client VirtualMachinesClient) GetExtensionsResponder(resp *http.Response) (result VirtualMachineExtensionsListResult, err error)deprecated
- func (client VirtualMachinesClient) GetExtensionsSender(req *http.Request) (*http.Response, error)deprecated
- func (client VirtualMachinesClient) GetPreparer(ctx context.Context, resourceGroupName string, VMName string, ...) (*http.Request, error)deprecated
- func (client VirtualMachinesClient) GetResponder(resp *http.Response) (result VirtualMachine, err error)deprecated
- func (client VirtualMachinesClient) GetSender(req *http.Request) (*http.Response, error)deprecated
- func (client VirtualMachinesClient) List(ctx context.Context, resourceGroupName string) (result VirtualMachineListResultPage, err error)deprecated
- func (client VirtualMachinesClient) ListAll(ctx context.Context) (result VirtualMachineListResultPage, err error)deprecated
- func (client VirtualMachinesClient) ListAllComplete(ctx context.Context) (result VirtualMachineListResultIterator, err error)deprecated
- func (client VirtualMachinesClient) ListAllPreparer(ctx context.Context) (*http.Request, error)deprecated
- func (client VirtualMachinesClient) ListAllResponder(resp *http.Response) (result VirtualMachineListResult, err error)deprecated
- func (client VirtualMachinesClient) ListAllSender(req *http.Request) (*http.Response, error)deprecated
- func (client VirtualMachinesClient) ListAvailableSizes(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachineSizeListResult, err error)deprecated
- func (client VirtualMachinesClient) ListAvailableSizesPreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)deprecated
- func (client VirtualMachinesClient) ListAvailableSizesResponder(resp *http.Response) (result VirtualMachineSizeListResult, err error)deprecated
- func (client VirtualMachinesClient) ListAvailableSizesSender(req *http.Request) (*http.Response, error)deprecated
- func (client VirtualMachinesClient) ListComplete(ctx context.Context, resourceGroupName string) (result VirtualMachineListResultIterator, err error)deprecated
- func (client VirtualMachinesClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)deprecated
- func (client VirtualMachinesClient) ListResponder(resp *http.Response) (result VirtualMachineListResult, err error)deprecated
- func (client VirtualMachinesClient) ListSender(req *http.Request) (*http.Response, error)deprecated
- func (client VirtualMachinesClient) PowerOff(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachinesPowerOffFuture, err error)deprecated
- func (client VirtualMachinesClient) PowerOffPreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)deprecated
- func (client VirtualMachinesClient) PowerOffResponder(resp *http.Response) (result OperationStatusResponse, err error)deprecated
- func (client VirtualMachinesClient) PowerOffSender(req *http.Request) (future VirtualMachinesPowerOffFuture, err error)deprecated
- func (client VirtualMachinesClient) Redeploy(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachinesRedeployFuture, err error)deprecated
- func (client VirtualMachinesClient) RedeployPreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)deprecated
- func (client VirtualMachinesClient) RedeployResponder(resp *http.Response) (result OperationStatusResponse, err error)deprecated
- func (client VirtualMachinesClient) RedeploySender(req *http.Request) (future VirtualMachinesRedeployFuture, err error)deprecated
- func (client VirtualMachinesClient) Restart(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachinesRestartFuture, err error)deprecated
- func (client VirtualMachinesClient) RestartPreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)deprecated
- func (client VirtualMachinesClient) RestartResponder(resp *http.Response) (result OperationStatusResponse, err error)deprecated
- func (client VirtualMachinesClient) RestartSender(req *http.Request) (future VirtualMachinesRestartFuture, err error)deprecated
- func (client VirtualMachinesClient) Start(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachinesStartFuture, err error)deprecated
- func (client VirtualMachinesClient) StartPreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)deprecated
- func (client VirtualMachinesClient) StartResponder(resp *http.Response) (result OperationStatusResponse, err error)deprecated
- func (client VirtualMachinesClient) StartSender(req *http.Request) (future VirtualMachinesStartFuture, err error)deprecated
- type VirtualMachinesConvertToManagedDisksFuturedeprecated
- type VirtualMachinesCreateOrUpdateFuturedeprecated
- type VirtualMachinesDeallocateFuturedeprecated
- type VirtualMachinesDeleteFuturedeprecated
- type VirtualMachinesPowerOffFuturedeprecated
- type VirtualMachinesRedeployFuturedeprecated
- type VirtualMachinesRestartFuturedeprecated
- type VirtualMachinesStartFuturedeprecated
- type WinRMConfigurationdeprecated
- type WinRMListenerdeprecated
- type WindowsConfigurationdeprecated
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
Copyright (c) Microsoft and contributors. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and limitations under the License.
Code generated by Microsoft (R) AutoRest Code Generator. Changes may cause incorrect behavior and will be lost if the code is regenerated. Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. UserAgent returns the UserAgent string to use when sending http.Requests.
func Version
deprecated
func Version() string
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Version returns the semantic version (see http://semver.org) of the client.
Types ¶
type APIEntityReference
deprecated
type APIEntityReference struct { // ID - The ARM resource id in the form of /subscriptions/{SubcriptionId}/resourceGroups/{ResourceGroupName}/... ID *string `json:"id,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. APIEntityReference the API entity reference.
type APIError
deprecated
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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. APIError api error.
type APIErrorBase
deprecated
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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. APIErrorBase api error base.
type AccessLevel
deprecated
type AccessLevel string
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. AccessLevel enumerates the values for access level.
const ( // None ... None AccessLevel = "None" // Read ... Read AccessLevel = "Read" )
func PossibleAccessLevelValues
deprecated
func PossibleAccessLevelValues() []AccessLevel
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. PossibleAccessLevelValues returns an array of possible values for the AccessLevel const type.
type AccessURI
deprecated
type AccessURI struct { autorest.Response `json:"-"` // AccessURIOutput - Operation output data (raw JSON) *AccessURIOutput `json:"properties,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. AccessURI a disk access SAS uri.
func (AccessURI) MarshalJSON
deprecated
func (*AccessURI) UnmarshalJSON
deprecated
type AccessURIOutput
deprecated
type AccessURIOutput struct { // AccessURIRaw - Operation output data (raw JSON) *AccessURIRaw `json:"output,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. AccessURIOutput azure properties, including output.
func (AccessURIOutput) MarshalJSON
deprecated
func (auo AccessURIOutput) MarshalJSON() ([]byte, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. MarshalJSON is the custom marshaler for AccessURIOutput.
func (*AccessURIOutput) UnmarshalJSON
deprecated
func (auo *AccessURIOutput) UnmarshalJSON(body []byte) error
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. UnmarshalJSON is the custom unmarshaler for AccessURIOutput struct.
type AccessURIRaw
deprecated
type AccessURIRaw struct { // AccessSAS - A SAS uri for accessing a disk. AccessSAS *string `json:"accessSAS,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. AccessURIRaw this object gets 'bubbled up' through flattening.
type AdditionalUnattendContent
deprecated
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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. 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 AvailabilitySet
deprecated
type AvailabilitySet struct { autorest.Response `json:"-"` *AvailabilitySetProperties `json:"properties,omitempty"` // Sku - Sku of the availability set Sku *Sku `json:"sku,omitempty"` // ID - Resource Id ID *string `json:"id,omitempty"` // Name - Resource name Name *string `json:"name,omitempty"` // Type - Resource type Type *string `json:"type,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. 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 maintainance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json) <br><br> Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set.
func (AvailabilitySet) MarshalJSON
deprecated
func (as AvailabilitySet) MarshalJSON() ([]byte, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. MarshalJSON is the custom marshaler for AvailabilitySet.
func (*AvailabilitySet) UnmarshalJSON
deprecated
func (as *AvailabilitySet) UnmarshalJSON(body []byte) error
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. UnmarshalJSON is the custom unmarshaler for AvailabilitySet struct.
type AvailabilitySetListResult
deprecated
type AvailabilitySetListResult struct { autorest.Response `json:"-"` // Value - The list of availability sets Value *[]AvailabilitySet `json:"value,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. AvailabilitySetListResult the List Availability Set operation response.
type AvailabilitySetProperties
deprecated
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"` // Statuses - The resource status information. Statuses *[]InstanceViewStatus `json:"statuses,omitempty"` // Managed - If the availability set supports managed disks. Managed *bool `json:"managed,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. AvailabilitySetProperties the instance view of a resource.
type AvailabilitySetsClient
deprecated
type AvailabilitySetsClient struct {
BaseClient
}
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. AvailabilitySetsClient is the compute Client
func NewAvailabilitySetsClient
deprecated
func NewAvailabilitySetsClient(subscriptionID string) AvailabilitySetsClient
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. NewAvailabilitySetsClient creates an instance of the AvailabilitySetsClient client.
func NewAvailabilitySetsClientWithBaseURI
deprecated
func NewAvailabilitySetsClientWithBaseURI(baseURI string, subscriptionID string) AvailabilitySetsClient
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. NewAvailabilitySetsClientWithBaseURI creates an instance of the AvailabilitySetsClient client.
func (AvailabilitySetsClient) CreateOrUpdate
deprecated
func (client AvailabilitySetsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, name string, parameters AvailabilitySet) (result AvailabilitySet, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. CreateOrUpdate create or update an availability set.
resourceGroupName is the name of the resource group. name is the name of the availability set. parameters is parameters supplied to the Create Availability Set operation.
func (AvailabilitySetsClient) CreateOrUpdatePreparer
deprecated
func (client AvailabilitySetsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, name string, parameters AvailabilitySet) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (AvailabilitySetsClient) CreateOrUpdateResponder
deprecated
func (client AvailabilitySetsClient) CreateOrUpdateResponder(resp *http.Response) (result AvailabilitySet, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (AvailabilitySetsClient) CreateOrUpdateSender
deprecated
func (client AvailabilitySetsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (AvailabilitySetsClient) Delete
deprecated
func (client AvailabilitySetsClient) Delete(ctx context.Context, resourceGroupName string, availabilitySetName string) (result OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Delete delete an availability set.
resourceGroupName is the name of the resource group. availabilitySetName is the name of the availability set.
func (AvailabilitySetsClient) DeletePreparer
deprecated
func (client AvailabilitySetsClient) DeletePreparer(ctx context.Context, resourceGroupName string, availabilitySetName string) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DeletePreparer prepares the Delete request.
func (AvailabilitySetsClient) DeleteResponder
deprecated
func (client AvailabilitySetsClient) DeleteResponder(resp *http.Response) (result OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (AvailabilitySetsClient) DeleteSender
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (AvailabilitySetsClient) Get
deprecated
func (client AvailabilitySetsClient) Get(ctx context.Context, resourceGroupName string, availabilitySetName string) (result AvailabilitySet, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Get retrieves information about an availability set.
resourceGroupName is the name of the resource group. availabilitySetName is the name of the availability set.
func (AvailabilitySetsClient) GetPreparer
deprecated
func (client AvailabilitySetsClient) GetPreparer(ctx context.Context, resourceGroupName string, availabilitySetName string) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. GetPreparer prepares the Get request.
func (AvailabilitySetsClient) GetResponder
deprecated
func (client AvailabilitySetsClient) GetResponder(resp *http.Response) (result AvailabilitySet, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (AvailabilitySetsClient) GetSender
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (AvailabilitySetsClient) List
deprecated
func (client AvailabilitySetsClient) List(ctx context.Context, resourceGroupName string) (result AvailabilitySetListResult, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. List lists all availability sets in a resource group.
resourceGroupName is the name of the resource group.
func (AvailabilitySetsClient) ListAvailableSizes
deprecated
func (client AvailabilitySetsClient) ListAvailableSizes(ctx context.Context, resourceGroupName string, availabilitySetName string) (result VirtualMachineSizeListResult, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListAvailableSizes lists all available virtual machine sizes that can be used to create a new virtual machine in an existing availability set.
resourceGroupName is the name of the resource group. availabilitySetName is the name of the availability set.
func (AvailabilitySetsClient) ListAvailableSizesPreparer
deprecated
func (client AvailabilitySetsClient) ListAvailableSizesPreparer(ctx context.Context, resourceGroupName string, availabilitySetName string) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListAvailableSizesPreparer prepares the ListAvailableSizes request.
func (AvailabilitySetsClient) ListAvailableSizesResponder
deprecated
func (client AvailabilitySetsClient) ListAvailableSizesResponder(resp *http.Response) (result VirtualMachineSizeListResult, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListAvailableSizesResponder handles the response to the ListAvailableSizes request. The method always closes the http.Response Body.
func (AvailabilitySetsClient) ListAvailableSizesSender
deprecated
func (client AvailabilitySetsClient) ListAvailableSizesSender(req *http.Request) (*http.Response, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListAvailableSizesSender sends the ListAvailableSizes request. The method will close the http.Response Body if it receives an error.
func (AvailabilitySetsClient) ListPreparer
deprecated
func (AvailabilitySetsClient) ListResponder
deprecated
func (client AvailabilitySetsClient) ListResponder(resp *http.Response) (result AvailabilitySetListResult, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (AvailabilitySetsClient) ListSender
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type BaseClient
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. BaseClient is the base client for Compute.
func New
deprecated
func New(subscriptionID string) BaseClient
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. New creates an instance of the BaseClient client.
func NewWithBaseURI
deprecated
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. NewWithBaseURI creates an instance of the BaseClient client.
type BootDiagnostics
deprecated
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. StorageURI *string `json:"storageUri,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. BootDiagnostics boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. <br><br> For Linux Virtual Machines, you can easily view the output of your console log. <br><br> For both Windows and Linux virtual machines, Azure also enables you to see a screenshot of the VM from the hypervisor.
type BootDiagnosticsInstanceView
deprecated
type BootDiagnosticsInstanceView struct { // ConsoleScreenshotBlobURI - The console screenshot blob URI. ConsoleScreenshotBlobURI *string `json:"consoleScreenshotBlobUri,omitempty"` // SerialConsoleLogBlobURI - The Linux serial console log blob Uri. SerialConsoleLogBlobURI *string `json:"serialConsoleLogBlobUri,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. BootDiagnosticsInstanceView the instance view of a virtual machine boot diagnostics.
type CachingTypes
deprecated
type CachingTypes string
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. CachingTypes enumerates the values for caching types.
const ( // CachingTypesNone ... CachingTypesNone CachingTypes = "None" // CachingTypesReadOnly ... CachingTypesReadOnly CachingTypes = "ReadOnly" // CachingTypesReadWrite ... CachingTypesReadWrite CachingTypes = "ReadWrite" )
func PossibleCachingTypesValues
deprecated
func PossibleCachingTypesValues() []CachingTypes
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. PossibleCachingTypesValues returns an array of possible values for the CachingTypes const type.
type ComponentNames
deprecated
type ComponentNames string
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ComponentNames enumerates the values for component names.
const ( // MicrosoftWindowsShellSetup ... MicrosoftWindowsShellSetup ComponentNames = "Microsoft-Windows-Shell-Setup" )
func PossibleComponentNamesValues
deprecated
func PossibleComponentNamesValues() []ComponentNames
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. PossibleComponentNamesValues returns an array of possible values for the ComponentNames const type.
type CreationData
deprecated
type CreationData struct { // CreateOption - This enumerates the possible sources of a disk's creation. Possible values include: 'Empty', 'Attach', 'FromImage', 'Import', 'Copy', 'Restore' CreateOption DiskCreateOption `json:"createOption,omitempty"` // StorageAccountID - If createOption is Import, the Azure Resource Manager identifier of the storage account containing the blob to import as a disk. Required only if the blob is in a different subscription StorageAccountID *string `json:"storageAccountId,omitempty"` // ImageReference - Disk source information. ImageReference *ImageDiskReference `json:"imageReference,omitempty"` // SourceURI - If createOption is Import, this is a SAS URI to a blob to be imported into a managed disk. If createOption is Copy, this is a relative Uri containing the id of the source snapshot to be copied 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. If createOption is Restore, this is the ARM-like id of the source disk restore point. SourceResourceID *string `json:"sourceResourceId,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. CreationData data used when creating a disk.
type DataDisk
deprecated
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"` // 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 name 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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DataDisk describes a data disk.
type DataDiskImage
deprecated
type DataDiskImage 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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DataDiskImage contains the data disk images information.
type DiagnosticsProfile
deprecated
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> For Linux Virtual Machines, you can easily view the output of your console log. <br><br> For both Windows and Linux virtual machines, Azure also enables you to see a screenshot of the VM from the hypervisor. BootDiagnostics *BootDiagnostics `json:"bootDiagnostics,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DiagnosticsProfile specifies the boot diagnostic settings state. <br><br>Minimum api-version: 2015-06-15.
type Disk
deprecated
type Disk struct { autorest.Response `json:"-"` *DiskProperties `json:"properties,omitempty"` // ID - Resource Id ID *string `json:"id,omitempty"` // Name - Resource name Name *string `json:"name,omitempty"` // Type - Resource type Type *string `json:"type,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Disk disk resource.
func (Disk) MarshalJSON
deprecated
func (*Disk) UnmarshalJSON
deprecated
type DiskCreateOption
deprecated
type DiskCreateOption string
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DiskCreateOption enumerates the values for disk create option.
const ( // Attach ... Attach DiskCreateOption = "Attach" // Copy ... Copy DiskCreateOption = "Copy" // Empty ... Empty DiskCreateOption = "Empty" // FromImage ... FromImage DiskCreateOption = "FromImage" // Import ... Import DiskCreateOption = "Import" // Restore ... Restore DiskCreateOption = "Restore" )
func PossibleDiskCreateOptionValues
deprecated
func PossibleDiskCreateOptionValues() []DiskCreateOption
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. PossibleDiskCreateOptionValues returns an array of possible values for the DiskCreateOption const type.
type DiskCreateOptionTypes
deprecated
type DiskCreateOptionTypes string
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DiskCreateOptionTypes enumerates the values for disk create option types.
const ( // DiskCreateOptionTypesAttach ... DiskCreateOptionTypesAttach DiskCreateOptionTypes = "Attach" // DiskCreateOptionTypesEmpty ... DiskCreateOptionTypesEmpty DiskCreateOptionTypes = "Empty" // DiskCreateOptionTypesFromImage ... DiskCreateOptionTypesFromImage DiskCreateOptionTypes = "FromImage" )
func PossibleDiskCreateOptionTypesValues
deprecated
func PossibleDiskCreateOptionTypesValues() []DiskCreateOptionTypes
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. PossibleDiskCreateOptionTypesValues returns an array of possible values for the DiskCreateOptionTypes const type.
type DiskEncryptionSettings
deprecated
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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DiskEncryptionSettings describes a Encryption Settings for a Disk
type DiskInstanceView
deprecated
type DiskInstanceView struct { // Name - The disk name. Name *string `json:"name,omitempty"` // Statuses - The resource status information. Statuses *[]InstanceViewStatus `json:"statuses,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DiskInstanceView the instance view of the disk.
type DiskList
deprecated
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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DiskList the List Disks operation response.
type DiskListIterator
deprecated
type DiskListIterator struct {
// contains filtered or unexported fields
}
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DiskListIterator provides access to a complete listing of Disk values.
func (*DiskListIterator) Next
deprecated
func (iter *DiskListIterator) Next() error
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Next 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
deprecated
func (iter DiskListIterator) NotDone() bool
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. NotDone returns true if the enumeration should be started or is not yet complete.
func (DiskListIterator) Response
deprecated
func (iter DiskListIterator) Response() DiskList
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Response returns the raw server response from the last page request.
func (DiskListIterator) Value
deprecated
func (iter DiskListIterator) Value() Disk
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type DiskListPage
deprecated
type DiskListPage struct {
// contains filtered or unexported fields
}
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DiskListPage contains a page of Disk values.
func (*DiskListPage) Next
deprecated
func (page *DiskListPage) Next() error
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. 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.
func (DiskListPage) NotDone
deprecated
func (page DiskListPage) NotDone() bool
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. NotDone returns true if the page enumeration should be started or is not yet complete.
func (DiskListPage) Response
deprecated
func (page DiskListPage) Response() DiskList
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Response returns the raw server response from the last page request.
func (DiskListPage) Values
deprecated
func (page DiskListPage) Values() []Disk
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Values returns the slice of values for the current page or nil if there are no values.
type DiskProperties
deprecated
type DiskProperties struct { // AccountType - the storage account type of the disk. Possible values include: 'StandardLRS', 'PremiumLRS' AccountType StorageAccountTypes `json:"accountType,omitempty"` // TimeCreated - 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"` // 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 VHD 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"` // EncryptionSettings - Encryption settings for disk or snapshot EncryptionSettings *EncryptionSettings `json:"encryptionSettings,omitempty"` // OwnerID - A relative URI containing the VM id that has the disk attached. OwnerID *string `json:"ownerId,omitempty"` // ProvisioningState - The disk provisioning state. ProvisioningState *string `json:"provisioningState,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DiskProperties disk resource properties.
type DiskUpdate
deprecated
type DiskUpdate struct { *DiskUpdateProperties `json:"properties,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DiskUpdate disk update resource.
func (DiskUpdate) MarshalJSON
deprecated
func (du DiskUpdate) MarshalJSON() ([]byte, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. MarshalJSON is the custom marshaler for DiskUpdate.
func (*DiskUpdate) UnmarshalJSON
deprecated
func (du *DiskUpdate) UnmarshalJSON(body []byte) error
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. UnmarshalJSON is the custom unmarshaler for DiskUpdate struct.
type DiskUpdateProperties
deprecated
type DiskUpdateProperties struct { // AccountType - the storage account type of the disk. Possible values include: 'StandardLRS', 'PremiumLRS' AccountType StorageAccountTypes `json:"accountType,omitempty"` // OsType - the Operating System type. Possible values include: 'Windows', 'Linux' OsType OperatingSystemTypes `json:"osType,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 VHD 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"` // EncryptionSettings - Encryption settings for disk or snapshot EncryptionSettings *EncryptionSettings `json:"encryptionSettings,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DiskUpdateProperties disk resource update properties.
type DisksClient
deprecated
type DisksClient struct {
BaseClient
}
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DisksClient is the compute Client
func NewDisksClient
deprecated
func NewDisksClient(subscriptionID string) DisksClient
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. NewDisksClient creates an instance of the DisksClient client.
func NewDisksClientWithBaseURI
deprecated
func NewDisksClientWithBaseURI(baseURI string, subscriptionID string) DisksClient
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. NewDisksClientWithBaseURI creates an instance of the DisksClient client.
func (DisksClient) CreateOrUpdate
deprecated
func (client DisksClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, diskName string, disk Disk) (result DisksCreateOrUpdateFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. CreateOrUpdate creates or updates a disk.
resourceGroupName is the name of the resource group. diskName is 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 is disk object supplied in the body of the Put disk operation.
func (DisksClient) CreateOrUpdatePreparer
deprecated
func (client DisksClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, diskName string, disk Disk) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (DisksClient) CreateOrUpdateResponder
deprecated
func (client DisksClient) CreateOrUpdateResponder(resp *http.Response) (result Disk, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (DisksClient) CreateOrUpdateSender
deprecated
func (client DisksClient) CreateOrUpdateSender(req *http.Request) (future DisksCreateOrUpdateFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (DisksClient) Delete
deprecated
func (client DisksClient) Delete(ctx context.Context, resourceGroupName string, diskName string) (result DisksDeleteFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Delete deletes a disk.
resourceGroupName is the name of the resource group. diskName is 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
deprecated
func (client DisksClient) DeletePreparer(ctx context.Context, resourceGroupName string, diskName string) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DeletePreparer prepares the Delete request.
func (DisksClient) DeleteResponder
deprecated
func (client DisksClient) DeleteResponder(resp *http.Response) (result OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (DisksClient) DeleteSender
deprecated
func (client DisksClient) DeleteSender(req *http.Request) (future DisksDeleteFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (DisksClient) Get
deprecated
func (client DisksClient) Get(ctx context.Context, resourceGroupName string, diskName string) (result Disk, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Get gets information about a disk.
resourceGroupName is the name of the resource group. diskName is 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
deprecated
func (DisksClient) GetResponder
deprecated
func (client DisksClient) GetResponder(resp *http.Response) (result Disk, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (DisksClient) GetSender
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (DisksClient) GrantAccess
deprecated
func (client DisksClient) GrantAccess(ctx context.Context, resourceGroupName string, diskName string, grantAccessData GrantAccessData) (result DisksGrantAccessFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. GrantAccess grants access to a disk.
resourceGroupName is the name of the resource group. diskName is 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 is access data object supplied in the body of the get disk access operation.
func (DisksClient) GrantAccessPreparer
deprecated
func (client DisksClient) GrantAccessPreparer(ctx context.Context, resourceGroupName string, diskName string, grantAccessData GrantAccessData) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. GrantAccessPreparer prepares the GrantAccess request.
func (DisksClient) GrantAccessResponder
deprecated
func (client DisksClient) GrantAccessResponder(resp *http.Response) (result AccessURI, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. GrantAccessResponder handles the response to the GrantAccess request. The method always closes the http.Response Body.
func (DisksClient) GrantAccessSender
deprecated
func (client DisksClient) GrantAccessSender(req *http.Request) (future DisksGrantAccessFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. GrantAccessSender sends the GrantAccess request. The method will close the http.Response Body if it receives an error.
func (DisksClient) List
deprecated
func (client DisksClient) List(ctx context.Context) (result DiskListPage, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. List lists all the disks under a subscription.
func (DisksClient) ListByResourceGroup
deprecated
func (client DisksClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result DiskListPage, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListByResourceGroup lists all the disks under a resource group.
resourceGroupName is the name of the resource group.
func (DisksClient) ListByResourceGroupComplete
deprecated
func (client DisksClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result DiskListIterator, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (DisksClient) ListByResourceGroupPreparer
deprecated
func (client DisksClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (DisksClient) ListByResourceGroupResponder
deprecated
func (client DisksClient) ListByResourceGroupResponder(resp *http.Response) (result DiskList, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (DisksClient) ListByResourceGroupSender
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (DisksClient) ListComplete
deprecated
func (client DisksClient) ListComplete(ctx context.Context) (result DiskListIterator, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListComplete enumerates all values, automatically crossing page boundaries as required.
func (DisksClient) ListPreparer
deprecated
func (DisksClient) ListResponder
deprecated
func (client DisksClient) ListResponder(resp *http.Response) (result DiskList, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (DisksClient) ListSender
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (DisksClient) RevokeAccess
deprecated
func (client DisksClient) RevokeAccess(ctx context.Context, resourceGroupName string, diskName string) (result DisksRevokeAccessFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. RevokeAccess revokes access to a disk.
resourceGroupName is the name of the resource group. diskName is 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
deprecated
func (client DisksClient) RevokeAccessPreparer(ctx context.Context, resourceGroupName string, diskName string) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. RevokeAccessPreparer prepares the RevokeAccess request.
func (DisksClient) RevokeAccessResponder
deprecated
func (client DisksClient) RevokeAccessResponder(resp *http.Response) (result OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. RevokeAccessResponder handles the response to the RevokeAccess request. The method always closes the http.Response Body.
func (DisksClient) RevokeAccessSender
deprecated
func (client DisksClient) RevokeAccessSender(req *http.Request) (future DisksRevokeAccessFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. RevokeAccessSender sends the RevokeAccess request. The method will close the http.Response Body if it receives an error.
func (DisksClient) Update
deprecated
func (client DisksClient) Update(ctx context.Context, resourceGroupName string, diskName string, disk DiskUpdate) (result DisksUpdateFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Update updates (patches) a disk.
resourceGroupName is the name of the resource group. diskName is 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 is disk object supplied in the body of the Patch disk operation.
func (DisksClient) UpdatePreparer
deprecated
func (client DisksClient) UpdatePreparer(ctx context.Context, resourceGroupName string, diskName string, disk DiskUpdate) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. UpdatePreparer prepares the Update request.
func (DisksClient) UpdateResponder
deprecated
func (client DisksClient) UpdateResponder(resp *http.Response) (result Disk, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (DisksClient) UpdateSender
deprecated
func (client DisksClient) UpdateSender(req *http.Request) (future DisksUpdateFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type DisksCreateOrUpdateFuture
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DisksCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (DisksCreateOrUpdateFuture) Result
deprecated
func (future DisksCreateOrUpdateFuture) Result(client DisksClient) (d Disk, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type DisksDeleteFuture
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DisksDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (DisksDeleteFuture) Result
deprecated
func (future DisksDeleteFuture) Result(client DisksClient) (osr OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type DisksGrantAccessFuture
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DisksGrantAccessFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (DisksGrantAccessFuture) Result
deprecated
func (future DisksGrantAccessFuture) Result(client DisksClient) (au AccessURI, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type DisksRevokeAccessFuture
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DisksRevokeAccessFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (DisksRevokeAccessFuture) Result
deprecated
func (future DisksRevokeAccessFuture) Result(client DisksClient) (osr OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type DisksUpdateFuture
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DisksUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (DisksUpdateFuture) Result
deprecated
func (future DisksUpdateFuture) Result(client DisksClient) (d Disk, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type EncryptionSettings
deprecated
type EncryptionSettings 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"` // 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 *KeyVaultAndKeyReference `json:"keyEncryptionKey,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. EncryptionSettings encryption settings for disk or snapshot
type GrantAccessData
deprecated
type GrantAccessData struct { // Access - Possible values include: 'None', 'Read' Access AccessLevel `json:"access,omitempty"` // DurationInSeconds - Time duration in seconds until the SAS access expires. DurationInSeconds *int32 `json:"durationInSeconds,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. GrantAccessData data used for requesting a SAS.
type HardwareProfile
deprecated
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/azure/virtual-machines/virtual-machines-windows-sizes?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). <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](virtualmachines-list-sizes-availability-set.md) <br><br> [List all available virtual machine sizes in a region](virtualmachines-list-sizes-region.md) <br><br> [List all available virtual machine sizes for resizing](virtualmachines-list-sizes-for-resizing.md). Possible values include: 'BasicA0', 'BasicA1', 'BasicA2', 'BasicA3', 'BasicA4', 'StandardA0', 'StandardA1', 'StandardA2', 'StandardA3', 'StandardA4', 'StandardA5', 'StandardA6', 'StandardA7', 'StandardA8', 'StandardA9', 'StandardA10', 'StandardA11', 'StandardD1', 'StandardD2', 'StandardD3', 'StandardD4', 'StandardD11', 'StandardD12', 'StandardD13', 'StandardD14', 'StandardD1V2', 'StandardD2V2', 'StandardD3V2', 'StandardD4V2', 'StandardD5V2', 'StandardD11V2', 'StandardD12V2', 'StandardD13V2', 'StandardD14V2', 'StandardD15V2', 'StandardDS1', 'StandardDS2', 'StandardDS3', 'StandardDS4', 'StandardDS11', 'StandardDS12', 'StandardDS13', 'StandardDS14', 'StandardDS1V2', 'StandardDS2V2', 'StandardDS3V2', 'StandardDS4V2', 'StandardDS5V2', 'StandardDS11V2', 'StandardDS12V2', 'StandardDS13V2', 'StandardDS14V2', 'StandardDS15V2', 'StandardG1', 'StandardG2', 'StandardG3', 'StandardG4', 'StandardG5', 'StandardGS1', 'StandardGS2', 'StandardGS3', 'StandardGS4', 'StandardGS5' VMSize VirtualMachineSizeTypes `json:"vmSize,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. HardwareProfile specifies the hardware settings for the virtual machine.
type Image
deprecated
type Image struct { autorest.Response `json:"-"` *ImageProperties `json:"properties,omitempty"` // ID - Resource Id ID *string `json:"id,omitempty"` // Name - Resource name Name *string `json:"name,omitempty"` // Type - Resource type Type *string `json:"type,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. 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
deprecated
func (*Image) UnmarshalJSON
deprecated
type ImageDataDisk
deprecated
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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ImageDataDisk describes a data disk.
type ImageDiskReference
deprecated
type ImageDiskReference struct { // ID - A relative uri containing either a Platform Imgage 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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ImageDiskReference the source image used for creating the disk.
type ImageListResult
deprecated
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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ImageListResult the List Image operation response.
func (ImageListResult) IsEmpty
deprecated
func (ilr ImageListResult) IsEmpty() bool
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. IsEmpty returns true if the ListResult contains no values.
type ImageListResultIterator
deprecated
type ImageListResultIterator struct {
// contains filtered or unexported fields
}
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ImageListResultIterator provides access to a complete listing of Image values.
func (*ImageListResultIterator) Next
deprecated
func (iter *ImageListResultIterator) Next() error
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Next 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
deprecated
func (iter ImageListResultIterator) NotDone() bool
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. NotDone returns true if the enumeration should be started or is not yet complete.
func (ImageListResultIterator) Response
deprecated
func (iter ImageListResultIterator) Response() ImageListResult
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Response returns the raw server response from the last page request.
func (ImageListResultIterator) Value
deprecated
func (iter ImageListResultIterator) Value() Image
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ImageListResultPage
deprecated
type ImageListResultPage struct {
// contains filtered or unexported fields
}
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ImageListResultPage contains a page of Image values.
func (*ImageListResultPage) Next
deprecated
func (page *ImageListResultPage) Next() error
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. 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.
func (ImageListResultPage) NotDone
deprecated
func (page ImageListResultPage) NotDone() bool
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. NotDone returns true if the page enumeration should be started or is not yet complete.
func (ImageListResultPage) Response
deprecated
func (page ImageListResultPage) Response() ImageListResult
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Response returns the raw server response from the last page request.
func (ImageListResultPage) Values
deprecated
func (page ImageListResultPage) Values() []Image
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Values returns the slice of values for the current page or nil if there are no values.
type ImageOSDisk
deprecated
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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ImageOSDisk describes an Operating System disk.
type ImageProperties
deprecated
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 - The provisioning state. ProvisioningState *string `json:"provisioningState,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ImageProperties describes the properties of an Image.
type ImageReference
deprecated
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"` // ID - Resource Id ID *string `json:"id,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. 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.
type ImageStorageProfile
deprecated
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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ImageStorageProfile describes a storage profile.
type ImagesClient
deprecated
type ImagesClient struct {
BaseClient
}
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ImagesClient is the compute Client
func NewImagesClient
deprecated
func NewImagesClient(subscriptionID string) ImagesClient
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. NewImagesClient creates an instance of the ImagesClient client.
func NewImagesClientWithBaseURI
deprecated
func NewImagesClientWithBaseURI(baseURI string, subscriptionID string) ImagesClient
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. NewImagesClientWithBaseURI creates an instance of the ImagesClient client.
func (ImagesClient) CreateOrUpdate
deprecated
func (client ImagesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, imageName string, parameters Image) (result ImagesCreateOrUpdateFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. CreateOrUpdate create or update an image.
resourceGroupName is the name of the resource group. imageName is the name of the image. parameters is parameters supplied to the Create Image operation.
func (ImagesClient) CreateOrUpdatePreparer
deprecated
func (client ImagesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, imageName string, parameters Image) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ImagesClient) CreateOrUpdateResponder
deprecated
func (client ImagesClient) CreateOrUpdateResponder(resp *http.Response) (result Image, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ImagesClient) CreateOrUpdateSender
deprecated
func (client ImagesClient) CreateOrUpdateSender(req *http.Request) (future ImagesCreateOrUpdateFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (ImagesClient) Delete
deprecated
func (client ImagesClient) Delete(ctx context.Context, resourceGroupName string, imageName string) (result ImagesDeleteFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Delete deletes an Image.
resourceGroupName is the name of the resource group. imageName is the name of the image.
func (ImagesClient) DeletePreparer
deprecated
func (client ImagesClient) DeletePreparer(ctx context.Context, resourceGroupName string, imageName string) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DeletePreparer prepares the Delete request.
func (ImagesClient) DeleteResponder
deprecated
func (client ImagesClient) DeleteResponder(resp *http.Response) (result OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (ImagesClient) DeleteSender
deprecated
func (client ImagesClient) DeleteSender(req *http.Request) (future ImagesDeleteFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ImagesClient) Get
deprecated
func (client ImagesClient) Get(ctx context.Context, resourceGroupName string, imageName string, expand string) (result Image, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Get gets an image.
resourceGroupName is the name of the resource group. imageName is the name of the image. expand is the expand expression to apply on the operation.
func (ImagesClient) GetPreparer
deprecated
func (client ImagesClient) GetPreparer(ctx context.Context, resourceGroupName string, imageName string, expand string) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. GetPreparer prepares the Get request.
func (ImagesClient) GetResponder
deprecated
func (client ImagesClient) GetResponder(resp *http.Response) (result Image, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ImagesClient) GetSender
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ImagesClient) List
deprecated
func (client ImagesClient) List(ctx context.Context) (result ImageListResultPage, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. 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
deprecated
func (client ImagesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ImageListResultPage, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListByResourceGroup gets the list of images under a resource group.
resourceGroupName is the name of the resource group.
func (ImagesClient) ListByResourceGroupComplete
deprecated
func (client ImagesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ImageListResultIterator, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (ImagesClient) ListByResourceGroupPreparer
deprecated
func (client ImagesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (ImagesClient) ListByResourceGroupResponder
deprecated
func (client ImagesClient) ListByResourceGroupResponder(resp *http.Response) (result ImageListResult, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (ImagesClient) ListByResourceGroupSender
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (ImagesClient) ListComplete
deprecated
func (client ImagesClient) ListComplete(ctx context.Context) (result ImageListResultIterator, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListComplete enumerates all values, automatically crossing page boundaries as required.
func (ImagesClient) ListPreparer
deprecated
func (ImagesClient) ListResponder
deprecated
func (client ImagesClient) ListResponder(resp *http.Response) (result ImageListResult, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (ImagesClient) ListSender
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type ImagesCreateOrUpdateFuture
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ImagesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (ImagesCreateOrUpdateFuture) Result
deprecated
func (future ImagesCreateOrUpdateFuture) Result(client ImagesClient) (i Image, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type ImagesDeleteFuture
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ImagesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (ImagesDeleteFuture) Result
deprecated
func (future ImagesDeleteFuture) Result(client ImagesClient) (osr OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type InnerError
deprecated
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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. InnerError inner error details.
type InstanceViewStatus
deprecated
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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. InstanceViewStatus instance view status.
type InstanceViewTypes
deprecated
type InstanceViewTypes string
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. InstanceViewTypes enumerates the values for instance view types.
const ( // InstanceView ... InstanceView InstanceViewTypes = "instanceView" )
func PossibleInstanceViewTypesValues
deprecated
func PossibleInstanceViewTypesValues() []InstanceViewTypes
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. PossibleInstanceViewTypesValues returns an array of possible values for the InstanceViewTypes const type.
type KeyVaultAndKeyReference
deprecated
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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. KeyVaultAndKeyReference key Vault Key Url and vault id of KeK, KeK is optional and when provided is used to unwrap the encryptionKey
type KeyVaultAndSecretReference
deprecated
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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. KeyVaultAndSecretReference key Vault Secret Url and vault id of the encryption key
type KeyVaultKeyReference
deprecated
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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. KeyVaultKeyReference describes a reference to Key Vault Key
type KeyVaultSecretReference
deprecated
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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. KeyVaultSecretReference describes a reference to Key Vault Secret
type LinuxConfiguration
deprecated
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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. 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
deprecated
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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListUsagesResult the List Usages operation response.
func (ListUsagesResult) IsEmpty
deprecated
func (lur ListUsagesResult) IsEmpty() bool
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. IsEmpty returns true if the ListResult contains no values.
type ListUsagesResultIterator
deprecated
type ListUsagesResultIterator struct {
// contains filtered or unexported fields
}
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListUsagesResultIterator provides access to a complete listing of Usage values.
func (*ListUsagesResultIterator) Next
deprecated
func (iter *ListUsagesResultIterator) Next() error
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Next 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
deprecated
func (iter ListUsagesResultIterator) NotDone() bool
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. NotDone returns true if the enumeration should be started or is not yet complete.
func (ListUsagesResultIterator) Response
deprecated
func (iter ListUsagesResultIterator) Response() ListUsagesResult
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Response returns the raw server response from the last page request.
func (ListUsagesResultIterator) Value
deprecated
func (iter ListUsagesResultIterator) Value() Usage
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ListUsagesResultPage
deprecated
type ListUsagesResultPage struct {
// contains filtered or unexported fields
}
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListUsagesResultPage contains a page of Usage values.
func (*ListUsagesResultPage) Next
deprecated
func (page *ListUsagesResultPage) Next() error
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. 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.
func (ListUsagesResultPage) NotDone
deprecated
func (page ListUsagesResultPage) NotDone() bool
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. NotDone returns true if the page enumeration should be started or is not yet complete.
func (ListUsagesResultPage) Response
deprecated
func (page ListUsagesResultPage) Response() ListUsagesResult
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Response returns the raw server response from the last page request.
func (ListUsagesResultPage) Values
deprecated
func (page ListUsagesResultPage) Values() []Usage
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Values returns the slice of values for the current page or nil if there are no values.
type ListVirtualMachineExtensionImage
deprecated
type ListVirtualMachineExtensionImage struct { autorest.Response `json:"-"` Value *[]VirtualMachineExtensionImage `json:"value,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListVirtualMachineExtensionImage ...
type ListVirtualMachineImageResource
deprecated
type ListVirtualMachineImageResource struct { autorest.Response `json:"-"` Value *[]VirtualMachineImageResource `json:"value,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListVirtualMachineImageResource ...
type LongRunningOperationProperties
deprecated
type LongRunningOperationProperties struct {
// Output - Operation output data (raw JSON)
Output interface{} `json:"output,omitempty"`
}
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. LongRunningOperationProperties compute-specific operation properties, including output
type ManagedDiskParameters
deprecated
type ManagedDiskParameters struct { // StorageAccountType - Specifies the storage account type for the managed disk. Possible values are: Standard_LRS or Premium_LRS. Possible values include: 'StandardLRS', 'PremiumLRS' StorageAccountType StorageAccountTypes `json:"storageAccountType,omitempty"` // ID - Resource Id ID *string `json:"id,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ManagedDiskParameters the parameters of a managed disk.
type NetworkInterfaceReference
deprecated
type NetworkInterfaceReference struct { *NetworkInterfaceReferenceProperties `json:"properties,omitempty"` // ID - Resource Id ID *string `json:"id,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. NetworkInterfaceReference describes a network interface reference.
func (NetworkInterfaceReference) MarshalJSON
deprecated
func (nir NetworkInterfaceReference) MarshalJSON() ([]byte, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. MarshalJSON is the custom marshaler for NetworkInterfaceReference.
func (*NetworkInterfaceReference) UnmarshalJSON
deprecated
func (nir *NetworkInterfaceReference) UnmarshalJSON(body []byte) error
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. UnmarshalJSON is the custom unmarshaler for NetworkInterfaceReference struct.
type NetworkInterfaceReferenceProperties
deprecated
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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. NetworkInterfaceReferenceProperties describes a network interface reference properties.
type NetworkProfile
deprecated
type NetworkProfile struct { // NetworkInterfaces - Specifies the list of resource Ids for the network interfaces associated with the virtual machine. NetworkInterfaces *[]NetworkInterfaceReference `json:"networkInterfaces,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. NetworkProfile specifies the network interfaces of the virtual machine.
type OSDisk
deprecated
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"` // 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 name 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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. 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
deprecated
type OSDiskImage struct { // OperatingSystem - The operating system of the osDiskImage. Possible values include: 'Windows', 'Linux' OperatingSystem OperatingSystemTypes `json:"operatingSystem,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. OSDiskImage contains the os disk image information.
type OSProfile
deprecated
type OSProfile struct { // ComputerName - Specifies the host OS name of the virtual machine. <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> **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 machine. Secrets *[]VaultSecretGroup `json:"secrets,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. OSProfile specifies the operating system settings for the virtual machine.
type OperatingSystemStateTypes
deprecated
type OperatingSystemStateTypes string
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. OperatingSystemStateTypes enumerates the values for operating system state types.
const ( // Generalized ... Generalized OperatingSystemStateTypes = "Generalized" // Specialized ... Specialized OperatingSystemStateTypes = "Specialized" )
func PossibleOperatingSystemStateTypesValues
deprecated
func PossibleOperatingSystemStateTypesValues() []OperatingSystemStateTypes
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. PossibleOperatingSystemStateTypesValues returns an array of possible values for the OperatingSystemStateTypes const type.
type OperatingSystemTypes
deprecated
type OperatingSystemTypes string
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. OperatingSystemTypes enumerates the values for operating system types.
const ( // Linux ... Linux OperatingSystemTypes = "Linux" // Windows ... Windows OperatingSystemTypes = "Windows" )
func PossibleOperatingSystemTypesValues
deprecated
func PossibleOperatingSystemTypesValues() []OperatingSystemTypes
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. PossibleOperatingSystemTypesValues returns an array of possible values for the OperatingSystemTypes const type.
type OperationStatusResponse
deprecated
type OperationStatusResponse struct { autorest.Response `json:"-"` // Name - Operation ID Name *string `json:"name,omitempty"` // Status - Operation status Status *string `json:"status,omitempty"` // StartTime - Start time of the operation StartTime *date.Time `json:"startTime,omitempty"` // EndTime - End time of the operation EndTime *date.Time `json:"endTime,omitempty"` // Error - Api error Error *APIError `json:"error,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. OperationStatusResponse operation status response
type PassNames
deprecated
type PassNames string
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. PassNames enumerates the values for pass names.
const ( // OobeSystem ... OobeSystem PassNames = "OobeSystem" )
func PossiblePassNamesValues
deprecated
func PossiblePassNamesValues() []PassNames
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. PossiblePassNamesValues returns an array of possible values for the PassNames const type.
type Plan
deprecated
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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. 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
deprecated
type ProtocolTypes string
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ProtocolTypes enumerates the values for protocol types.
const ( // HTTP ... HTTP ProtocolTypes = "Http" // HTTPS ... HTTPS ProtocolTypes = "Https" )
func PossibleProtocolTypesValues
deprecated
func PossibleProtocolTypesValues() []ProtocolTypes
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. PossibleProtocolTypesValues returns an array of possible values for the ProtocolTypes const type.
type PurchasePlan
deprecated
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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. PurchasePlan used for establishing the purchase context of any 3rd Party artifact through MarketPlace.
type Resource
deprecated
type Resource struct { // ID - Resource Id ID *string `json:"id,omitempty"` // Name - Resource name Name *string `json:"name,omitempty"` // Type - Resource type Type *string `json:"type,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Resource the Resource model definition.
func (Resource) MarshalJSON
deprecated
type ResourceIdentityType
deprecated
type ResourceIdentityType string
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ResourceIdentityType enumerates the values for resource identity type.
const ( // SystemAssigned ... SystemAssigned ResourceIdentityType = "SystemAssigned" )
func PossibleResourceIdentityTypeValues
deprecated
func PossibleResourceIdentityTypeValues() []ResourceIdentityType
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. PossibleResourceIdentityTypeValues returns an array of possible values for the ResourceIdentityType const type.
type ResourceUpdate
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ResourceUpdate the Resource model definition.
func (ResourceUpdate) MarshalJSON
deprecated
func (ru ResourceUpdate) MarshalJSON() ([]byte, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. MarshalJSON is the custom marshaler for ResourceUpdate.
type SSHConfiguration
deprecated
type SSHConfiguration struct { // PublicKeys - The list of SSH public keys used to authenticate with linux based VMs. PublicKeys *[]SSHPublicKey `json:"publicKeys,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. SSHConfiguration SSH configuration for Linux based VMs running on Azure
type SSHPublicKey
deprecated
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/azure/virtual-machines/virtual-machines-linux-mac-create-ssh-keys?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json). KeyData *string `json:"keyData,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. SSHPublicKey contains information about SSH certificate public key and the path on the Linux VM where the public key is placed.
type SettingNames
deprecated
type SettingNames string
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. SettingNames enumerates the values for setting names.
const ( // AutoLogon ... AutoLogon SettingNames = "AutoLogon" // FirstLogonCommands ... FirstLogonCommands SettingNames = "FirstLogonCommands" )
func PossibleSettingNamesValues
deprecated
func PossibleSettingNamesValues() []SettingNames
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. PossibleSettingNamesValues returns an array of possible values for the SettingNames const type.
type Sku
deprecated
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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Sku describes a virtual machine scale set sku.
type Snapshot
deprecated
type Snapshot struct { autorest.Response `json:"-"` *DiskProperties `json:"properties,omitempty"` // ID - Resource Id ID *string `json:"id,omitempty"` // Name - Resource name Name *string `json:"name,omitempty"` // Type - Resource type Type *string `json:"type,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Snapshot snapshot resource.
func (Snapshot) MarshalJSON
deprecated
func (*Snapshot) UnmarshalJSON
deprecated
type SnapshotList
deprecated
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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. SnapshotList the List Snapshots operation response.
func (SnapshotList) IsEmpty
deprecated
func (sl SnapshotList) IsEmpty() bool
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. IsEmpty returns true if the ListResult contains no values.
type SnapshotListIterator
deprecated
type SnapshotListIterator struct {
// contains filtered or unexported fields
}
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. SnapshotListIterator provides access to a complete listing of Snapshot values.
func (*SnapshotListIterator) Next
deprecated
func (iter *SnapshotListIterator) Next() error
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Next 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
deprecated
func (iter SnapshotListIterator) NotDone() bool
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. NotDone returns true if the enumeration should be started or is not yet complete.
func (SnapshotListIterator) Response
deprecated
func (iter SnapshotListIterator) Response() SnapshotList
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Response returns the raw server response from the last page request.
func (SnapshotListIterator) Value
deprecated
func (iter SnapshotListIterator) Value() Snapshot
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type SnapshotListPage
deprecated
type SnapshotListPage struct {
// contains filtered or unexported fields
}
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. SnapshotListPage contains a page of Snapshot values.
func (*SnapshotListPage) Next
deprecated
func (page *SnapshotListPage) Next() error
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. 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.
func (SnapshotListPage) NotDone
deprecated
func (page SnapshotListPage) NotDone() bool
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. NotDone returns true if the page enumeration should be started or is not yet complete.
func (SnapshotListPage) Response
deprecated
func (page SnapshotListPage) Response() SnapshotList
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Response returns the raw server response from the last page request.
func (SnapshotListPage) Values
deprecated
func (page SnapshotListPage) Values() []Snapshot
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Values returns the slice of values for the current page or nil if there are no values.
type SnapshotUpdate
deprecated
type SnapshotUpdate struct { *DiskUpdateProperties `json:"properties,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. SnapshotUpdate snapshot update resource.
func (SnapshotUpdate) MarshalJSON
deprecated
func (su SnapshotUpdate) MarshalJSON() ([]byte, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. MarshalJSON is the custom marshaler for SnapshotUpdate.
func (*SnapshotUpdate) UnmarshalJSON
deprecated
func (su *SnapshotUpdate) UnmarshalJSON(body []byte) error
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. UnmarshalJSON is the custom unmarshaler for SnapshotUpdate struct.
type SnapshotsClient
deprecated
type SnapshotsClient struct {
BaseClient
}
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. SnapshotsClient is the compute Client
func NewSnapshotsClient
deprecated
func NewSnapshotsClient(subscriptionID string) SnapshotsClient
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. NewSnapshotsClient creates an instance of the SnapshotsClient client.
func NewSnapshotsClientWithBaseURI
deprecated
func NewSnapshotsClientWithBaseURI(baseURI string, subscriptionID string) SnapshotsClient
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. NewSnapshotsClientWithBaseURI creates an instance of the SnapshotsClient client.
func (SnapshotsClient) CreateOrUpdate
deprecated
func (client SnapshotsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, snapshotName string, snapshot Snapshot) (result SnapshotsCreateOrUpdateFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. CreateOrUpdate creates or updates a snapshot.
resourceGroupName is the name of the resource group. snapshotName is the name of the snapshot within the given subscription and resource group. snapshot is snapshot object supplied in the body of the Put disk operation.
func (SnapshotsClient) CreateOrUpdatePreparer
deprecated
func (client SnapshotsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, snapshotName string, snapshot Snapshot) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (SnapshotsClient) CreateOrUpdateResponder
deprecated
func (client SnapshotsClient) CreateOrUpdateResponder(resp *http.Response) (result Snapshot, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (SnapshotsClient) CreateOrUpdateSender
deprecated
func (client SnapshotsClient) CreateOrUpdateSender(req *http.Request) (future SnapshotsCreateOrUpdateFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (SnapshotsClient) Delete
deprecated
func (client SnapshotsClient) Delete(ctx context.Context, resourceGroupName string, snapshotName string) (result SnapshotsDeleteFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Delete deletes a snapshot.
resourceGroupName is the name of the resource group. snapshotName is the name of the snapshot within the given subscription and resource group.
func (SnapshotsClient) DeletePreparer
deprecated
func (client SnapshotsClient) DeletePreparer(ctx context.Context, resourceGroupName string, snapshotName string) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DeletePreparer prepares the Delete request.
func (SnapshotsClient) DeleteResponder
deprecated
func (client SnapshotsClient) DeleteResponder(resp *http.Response) (result OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (SnapshotsClient) DeleteSender
deprecated
func (client SnapshotsClient) DeleteSender(req *http.Request) (future SnapshotsDeleteFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (SnapshotsClient) Get
deprecated
func (client SnapshotsClient) Get(ctx context.Context, resourceGroupName string, snapshotName string) (result Snapshot, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Get gets information about a snapshot.
resourceGroupName is the name of the resource group. snapshotName is the name of the snapshot within the given subscription and resource group.
func (SnapshotsClient) GetPreparer
deprecated
func (client SnapshotsClient) GetPreparer(ctx context.Context, resourceGroupName string, snapshotName string) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. GetPreparer prepares the Get request.
func (SnapshotsClient) GetResponder
deprecated
func (client SnapshotsClient) GetResponder(resp *http.Response) (result Snapshot, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (SnapshotsClient) GetSender
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (SnapshotsClient) GrantAccess
deprecated
func (client SnapshotsClient) GrantAccess(ctx context.Context, resourceGroupName string, snapshotName string, grantAccessData GrantAccessData) (result SnapshotsGrantAccessFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. GrantAccess grants access to a snapshot.
resourceGroupName is the name of the resource group. snapshotName is the name of the snapshot within the given subscription and resource group. grantAccessData is access data object supplied in the body of the get snapshot access operation.
func (SnapshotsClient) GrantAccessPreparer
deprecated
func (client SnapshotsClient) GrantAccessPreparer(ctx context.Context, resourceGroupName string, snapshotName string, grantAccessData GrantAccessData) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. GrantAccessPreparer prepares the GrantAccess request.
func (SnapshotsClient) GrantAccessResponder
deprecated
func (client SnapshotsClient) GrantAccessResponder(resp *http.Response) (result AccessURI, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. GrantAccessResponder handles the response to the GrantAccess request. The method always closes the http.Response Body.
func (SnapshotsClient) GrantAccessSender
deprecated
func (client SnapshotsClient) GrantAccessSender(req *http.Request) (future SnapshotsGrantAccessFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. GrantAccessSender sends the GrantAccess request. The method will close the http.Response Body if it receives an error.
func (SnapshotsClient) List
deprecated
func (client SnapshotsClient) List(ctx context.Context) (result SnapshotListPage, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. List lists snapshots under a subscription.
func (SnapshotsClient) ListByResourceGroup
deprecated
func (client SnapshotsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result SnapshotListPage, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListByResourceGroup lists snapshots under a resource group.
resourceGroupName is the name of the resource group.
func (SnapshotsClient) ListByResourceGroupComplete
deprecated
func (client SnapshotsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result SnapshotListIterator, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (SnapshotsClient) ListByResourceGroupPreparer
deprecated
func (client SnapshotsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (SnapshotsClient) ListByResourceGroupResponder
deprecated
func (client SnapshotsClient) ListByResourceGroupResponder(resp *http.Response) (result SnapshotList, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (SnapshotsClient) ListByResourceGroupSender
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (SnapshotsClient) ListComplete
deprecated
func (client SnapshotsClient) ListComplete(ctx context.Context) (result SnapshotListIterator, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListComplete enumerates all values, automatically crossing page boundaries as required.
func (SnapshotsClient) ListPreparer
deprecated
func (SnapshotsClient) ListResponder
deprecated
func (client SnapshotsClient) ListResponder(resp *http.Response) (result SnapshotList, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (SnapshotsClient) ListSender
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (SnapshotsClient) RevokeAccess
deprecated
func (client SnapshotsClient) RevokeAccess(ctx context.Context, resourceGroupName string, snapshotName string) (result SnapshotsRevokeAccessFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. RevokeAccess revokes access to a snapshot.
resourceGroupName is the name of the resource group. snapshotName is the name of the snapshot within the given subscription and resource group.
func (SnapshotsClient) RevokeAccessPreparer
deprecated
func (client SnapshotsClient) RevokeAccessPreparer(ctx context.Context, resourceGroupName string, snapshotName string) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. RevokeAccessPreparer prepares the RevokeAccess request.
func (SnapshotsClient) RevokeAccessResponder
deprecated
func (client SnapshotsClient) RevokeAccessResponder(resp *http.Response) (result OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. RevokeAccessResponder handles the response to the RevokeAccess request. The method always closes the http.Response Body.
func (SnapshotsClient) RevokeAccessSender
deprecated
func (client SnapshotsClient) RevokeAccessSender(req *http.Request) (future SnapshotsRevokeAccessFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. RevokeAccessSender sends the RevokeAccess request. The method will close the http.Response Body if it receives an error.
func (SnapshotsClient) Update
deprecated
func (client SnapshotsClient) Update(ctx context.Context, resourceGroupName string, snapshotName string, snapshot SnapshotUpdate) (result SnapshotsUpdateFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Update updates (patches) a snapshot.
resourceGroupName is the name of the resource group. snapshotName is the name of the snapshot within the given subscription and resource group. snapshot is snapshot object supplied in the body of the Patch snapshot operation.
func (SnapshotsClient) UpdatePreparer
deprecated
func (client SnapshotsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, snapshotName string, snapshot SnapshotUpdate) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. UpdatePreparer prepares the Update request.
func (SnapshotsClient) UpdateResponder
deprecated
func (client SnapshotsClient) UpdateResponder(resp *http.Response) (result Snapshot, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (SnapshotsClient) UpdateSender
deprecated
func (client SnapshotsClient) UpdateSender(req *http.Request) (future SnapshotsUpdateFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type SnapshotsCreateOrUpdateFuture
deprecated
type SnapshotsCreateOrUpdateFuture struct { azure.Future // contains filtered or unexported fields }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. SnapshotsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (SnapshotsCreateOrUpdateFuture) Result
deprecated
func (future SnapshotsCreateOrUpdateFuture) Result(client SnapshotsClient) (s Snapshot, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type SnapshotsDeleteFuture
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. SnapshotsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (SnapshotsDeleteFuture) Result
deprecated
func (future SnapshotsDeleteFuture) Result(client SnapshotsClient) (osr OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type SnapshotsGrantAccessFuture
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. SnapshotsGrantAccessFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (SnapshotsGrantAccessFuture) Result
deprecated
func (future SnapshotsGrantAccessFuture) Result(client SnapshotsClient) (au AccessURI, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type SnapshotsRevokeAccessFuture
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. SnapshotsRevokeAccessFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (SnapshotsRevokeAccessFuture) Result
deprecated
func (future SnapshotsRevokeAccessFuture) Result(client SnapshotsClient) (osr OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type SnapshotsUpdateFuture
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. SnapshotsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (SnapshotsUpdateFuture) Result
deprecated
func (future SnapshotsUpdateFuture) Result(client SnapshotsClient) (s Snapshot, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type SourceVault
deprecated
type SourceVault struct { // ID - Resource Id ID *string `json:"id,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. SourceVault the vault id is an Azure Resource Manager Resoure id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}
type StatusLevelTypes
deprecated
type StatusLevelTypes string
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. StatusLevelTypes enumerates the values for status level types.
const ( // Error ... Error StatusLevelTypes = "Error" // Info ... Info StatusLevelTypes = "Info" // Warning ... Warning StatusLevelTypes = "Warning" )
func PossibleStatusLevelTypesValues
deprecated
func PossibleStatusLevelTypesValues() []StatusLevelTypes
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. PossibleStatusLevelTypesValues returns an array of possible values for the StatusLevelTypes const type.
type StorageAccountTypes
deprecated
type StorageAccountTypes string
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. StorageAccountTypes enumerates the values for storage account types.
const ( // PremiumLRS ... PremiumLRS StorageAccountTypes = "Premium_LRS" // StandardLRS ... StandardLRS StorageAccountTypes = "Standard_LRS" )
func PossibleStorageAccountTypesValues
deprecated
func PossibleStorageAccountTypesValues() []StorageAccountTypes
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. PossibleStorageAccountTypesValues returns an array of possible values for the StorageAccountTypes const type.
type StorageProfile
deprecated
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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. StorageProfile specifies the storage settings for the virtual machine disks.
type SubResource
deprecated
type SubResource struct { // ID - Resource Id ID *string `json:"id,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. SubResource ...
type SubResourceReadOnly
deprecated
type SubResourceReadOnly struct { // ID - Resource Id ID *string `json:"id,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. SubResourceReadOnly ...
type UpdateResource
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. UpdateResource the Update Resource model definition.
func (UpdateResource) MarshalJSON
deprecated
func (ur UpdateResource) MarshalJSON() ([]byte, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. MarshalJSON is the custom marshaler for UpdateResource.
type UpgradeMode
deprecated
type UpgradeMode string
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. UpgradeMode enumerates the values for upgrade mode.
const ( // Automatic ... Automatic UpgradeMode = "Automatic" // Manual ... Manual UpgradeMode = "Manual" )
func PossibleUpgradeModeValues
deprecated
func PossibleUpgradeModeValues() []UpgradeMode
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. PossibleUpgradeModeValues returns an array of possible values for the UpgradeMode const type.
type UpgradePolicy
deprecated
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: 'Automatic', 'Manual' Mode UpgradeMode `json:"mode,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. UpgradePolicy describes an upgrade policy - automatic or manual.
type Usage
deprecated
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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Usage describes Compute Resource Usage.
type UsageClient
deprecated
type UsageClient struct {
BaseClient
}
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. UsageClient is the compute Client
func NewUsageClient
deprecated
func NewUsageClient(subscriptionID string) UsageClient
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. NewUsageClient creates an instance of the UsageClient client.
func NewUsageClientWithBaseURI
deprecated
func NewUsageClientWithBaseURI(baseURI string, subscriptionID string) UsageClient
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. NewUsageClientWithBaseURI creates an instance of the UsageClient client.
func (UsageClient) List
deprecated
func (client UsageClient) List(ctx context.Context, location string) (result ListUsagesResultPage, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. List gets, for the specified location, the current compute resource usage information as well as the limits for compute resources under the subscription.
location is the location for which resource usage is queried.
func (UsageClient) ListComplete
deprecated
func (client UsageClient) ListComplete(ctx context.Context, location string) (result ListUsagesResultIterator, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListComplete enumerates all values, automatically crossing page boundaries as required.
func (UsageClient) ListPreparer
deprecated
func (UsageClient) ListResponder
deprecated
func (client UsageClient) ListResponder(resp *http.Response) (result ListUsagesResult, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (UsageClient) ListSender
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type UsageName
deprecated
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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. UsageName the Usage Names.
type VaultCertificate
deprecated
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 <UppercaseThumbpring>.prv for private key. Both of these files are .pem formatted. CertificateStore *string `json:"certificateStore,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VaultCertificate describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM.
type VaultSecretGroup
deprecated
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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VaultSecretGroup describes a set of certificates which are all in the same Key Vault.
type VirtualHardDisk
deprecated
type VirtualHardDisk struct { // URI - Specifies the virtual hard disk's uri. URI *string `json:"uri,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualHardDisk describes the uri of a disk.
type VirtualMachine
deprecated
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 - 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"` // ID - Resource Id ID *string `json:"id,omitempty"` // Name - Resource name Name *string `json:"name,omitempty"` // Type - Resource type Type *string `json:"type,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachine describes a Virtual Machine.
func (VirtualMachine) MarshalJSON
deprecated
func (VM VirtualMachine) MarshalJSON() ([]byte, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. MarshalJSON is the custom marshaler for VirtualMachine.
func (*VirtualMachine) UnmarshalJSON
deprecated
func (VM *VirtualMachine) UnmarshalJSON(body []byte) error
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. UnmarshalJSON is the custom unmarshaler for VirtualMachine struct.
type VirtualMachineAgentInstanceView
deprecated
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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineAgentInstanceView the instance view of the VM Agent running on the virtual machine.
type VirtualMachineCaptureParameters
deprecated
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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineCaptureParameters capture Virtual Machine parameters.
type VirtualMachineCaptureResult
deprecated
type VirtualMachineCaptureResult struct { autorest.Response `json:"-"` *VirtualMachineCaptureResultProperties `json:"properties,omitempty"` // ID - Resource Id ID *string `json:"id,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineCaptureResult resource Id.
func (VirtualMachineCaptureResult) MarshalJSON
deprecated
func (vmcr VirtualMachineCaptureResult) MarshalJSON() ([]byte, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. MarshalJSON is the custom marshaler for VirtualMachineCaptureResult.
func (*VirtualMachineCaptureResult) UnmarshalJSON
deprecated
func (vmcr *VirtualMachineCaptureResult) UnmarshalJSON(body []byte) error
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. UnmarshalJSON is the custom unmarshaler for VirtualMachineCaptureResult struct.
type VirtualMachineCaptureResultProperties
deprecated
type VirtualMachineCaptureResultProperties struct {
// Output - Operation output data (raw JSON)
Output interface{} `json:"output,omitempty"`
}
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineCaptureResultProperties compute-specific operation properties, including output
type VirtualMachineExtension
deprecated
type VirtualMachineExtension struct { autorest.Response `json:"-"` *VirtualMachineExtensionProperties `json:"properties,omitempty"` // ID - Resource Id ID *string `json:"id,omitempty"` // Name - Resource name Name *string `json:"name,omitempty"` // Type - Resource type Type *string `json:"type,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineExtension describes a Virtual Machine Extension.
func (VirtualMachineExtension) MarshalJSON
deprecated
func (vme VirtualMachineExtension) MarshalJSON() ([]byte, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. MarshalJSON is the custom marshaler for VirtualMachineExtension.
func (*VirtualMachineExtension) UnmarshalJSON
deprecated
func (vme *VirtualMachineExtension) UnmarshalJSON(body []byte) error
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. UnmarshalJSON is the custom unmarshaler for VirtualMachineExtension struct.
type VirtualMachineExtensionHandlerInstanceView
deprecated
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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineExtensionHandlerInstanceView the instance view of a virtual machine extension handler.
type VirtualMachineExtensionImage
deprecated
type VirtualMachineExtensionImage struct { autorest.Response `json:"-"` *VirtualMachineExtensionImageProperties `json:"properties,omitempty"` // ID - Resource Id ID *string `json:"id,omitempty"` // Name - Resource name Name *string `json:"name,omitempty"` // Type - Resource type Type *string `json:"type,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineExtensionImage describes a Virtual Machine Extension Image.
func (VirtualMachineExtensionImage) MarshalJSON
deprecated
func (vmei VirtualMachineExtensionImage) MarshalJSON() ([]byte, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. MarshalJSON is the custom marshaler for VirtualMachineExtensionImage.
func (*VirtualMachineExtensionImage) UnmarshalJSON
deprecated
func (vmei *VirtualMachineExtensionImage) UnmarshalJSON(body []byte) error
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. UnmarshalJSON is the custom unmarshaler for VirtualMachineExtensionImage struct.
type VirtualMachineExtensionImageProperties
deprecated
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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineExtensionImageProperties describes the properties of a Virtual Machine Extension Image.
type VirtualMachineExtensionImagesClient
deprecated
type VirtualMachineExtensionImagesClient struct {
BaseClient
}
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineExtensionImagesClient is the compute Client
func NewVirtualMachineExtensionImagesClient
deprecated
func NewVirtualMachineExtensionImagesClient(subscriptionID string) VirtualMachineExtensionImagesClient
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. NewVirtualMachineExtensionImagesClient creates an instance of the VirtualMachineExtensionImagesClient client.
func NewVirtualMachineExtensionImagesClientWithBaseURI
deprecated
func NewVirtualMachineExtensionImagesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineExtensionImagesClient
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. NewVirtualMachineExtensionImagesClientWithBaseURI creates an instance of the VirtualMachineExtensionImagesClient client.
func (VirtualMachineExtensionImagesClient) Get
deprecated
func (client VirtualMachineExtensionImagesClient) Get(ctx context.Context, location string, publisherName string, typeParameter string, version string) (result VirtualMachineExtensionImage, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Get gets a virtual machine extension image.
location is the name of a supported Azure region.
func (VirtualMachineExtensionImagesClient) GetPreparer
deprecated
func (client VirtualMachineExtensionImagesClient) GetPreparer(ctx context.Context, location string, publisherName string, typeParameter string, version string) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. GetPreparer prepares the Get request.
func (VirtualMachineExtensionImagesClient) GetResponder
deprecated
func (client VirtualMachineExtensionImagesClient) GetResponder(resp *http.Response) (result VirtualMachineExtensionImage, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (VirtualMachineExtensionImagesClient) GetSender
deprecated
func (client VirtualMachineExtensionImagesClient) GetSender(req *http.Request) (*http.Response, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineExtensionImagesClient) ListTypes
deprecated
func (client VirtualMachineExtensionImagesClient) ListTypes(ctx context.Context, location string, publisherName string) (result ListVirtualMachineExtensionImage, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListTypes gets a list of virtual machine extension image types.
location is the name of a supported Azure region.
func (VirtualMachineExtensionImagesClient) ListTypesPreparer
deprecated
func (client VirtualMachineExtensionImagesClient) ListTypesPreparer(ctx context.Context, location string, publisherName string) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListTypesPreparer prepares the ListTypes request.
func (VirtualMachineExtensionImagesClient) ListTypesResponder
deprecated
func (client VirtualMachineExtensionImagesClient) ListTypesResponder(resp *http.Response) (result ListVirtualMachineExtensionImage, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListTypesResponder handles the response to the ListTypes request. The method always closes the http.Response Body.
func (VirtualMachineExtensionImagesClient) ListTypesSender
deprecated
func (client VirtualMachineExtensionImagesClient) ListTypesSender(req *http.Request) (*http.Response, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListTypesSender sends the ListTypes request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineExtensionImagesClient) ListVersions
deprecated
func (client VirtualMachineExtensionImagesClient) ListVersions(ctx context.Context, location string, publisherName string, typeParameter string, filter string, top *int32, orderby string) (result ListVirtualMachineExtensionImage, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListVersions gets a list of virtual machine extension image versions.
location is the name of a supported Azure region. filter is the filter to apply on the operation.
func (VirtualMachineExtensionImagesClient) ListVersionsPreparer
deprecated
func (client VirtualMachineExtensionImagesClient) ListVersionsPreparer(ctx context.Context, location string, publisherName string, typeParameter string, filter string, top *int32, orderby string) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListVersionsPreparer prepares the ListVersions request.
func (VirtualMachineExtensionImagesClient) ListVersionsResponder
deprecated
func (client VirtualMachineExtensionImagesClient) ListVersionsResponder(resp *http.Response) (result ListVirtualMachineExtensionImage, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListVersionsResponder handles the response to the ListVersions request. The method always closes the http.Response Body.
func (VirtualMachineExtensionImagesClient) ListVersionsSender
deprecated
func (client VirtualMachineExtensionImagesClient) ListVersionsSender(req *http.Request) (*http.Response, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListVersionsSender sends the ListVersions request. The method will close the http.Response Body if it receives an error.
type VirtualMachineExtensionInstanceView
deprecated
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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineExtensionInstanceView the instance view of a virtual machine extension.
type VirtualMachineExtensionProperties
deprecated
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"` // 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 - 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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineExtensionProperties describes the properties of a Virtual Machine Extension.
type VirtualMachineExtensionUpdate
deprecated
type VirtualMachineExtensionUpdate struct { *VirtualMachineExtensionUpdateProperties `json:"properties,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineExtensionUpdate describes a Virtual Machine Extension.
func (VirtualMachineExtensionUpdate) MarshalJSON
deprecated
func (vmeu VirtualMachineExtensionUpdate) MarshalJSON() ([]byte, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. MarshalJSON is the custom marshaler for VirtualMachineExtensionUpdate.
func (*VirtualMachineExtensionUpdate) UnmarshalJSON
deprecated
func (vmeu *VirtualMachineExtensionUpdate) UnmarshalJSON(body []byte) error
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. UnmarshalJSON is the custom unmarshaler for VirtualMachineExtensionUpdate struct.
type VirtualMachineExtensionUpdateProperties
deprecated
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"` // 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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineExtensionUpdateProperties describes the properties of a Virtual Machine Extension.
type VirtualMachineExtensionsClient
deprecated
type VirtualMachineExtensionsClient struct {
BaseClient
}
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineExtensionsClient is the compute Client
func NewVirtualMachineExtensionsClient
deprecated
func NewVirtualMachineExtensionsClient(subscriptionID string) VirtualMachineExtensionsClient
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. NewVirtualMachineExtensionsClient creates an instance of the VirtualMachineExtensionsClient client.
func NewVirtualMachineExtensionsClientWithBaseURI
deprecated
func NewVirtualMachineExtensionsClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineExtensionsClient
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. NewVirtualMachineExtensionsClientWithBaseURI creates an instance of the VirtualMachineExtensionsClient client.
func (VirtualMachineExtensionsClient) CreateOrUpdate
deprecated
func (client VirtualMachineExtensionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, VMName string, VMExtensionName string, extensionParameters VirtualMachineExtension) (result VirtualMachineExtensionsCreateOrUpdateFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. CreateOrUpdate the operation to create or update the extension.
resourceGroupName is the name of the resource group. VMName is the name of the virtual machine where the extension should be created or updated. VMExtensionName is the name of the virtual machine extension. extensionParameters is parameters supplied to the Create Virtual Machine Extension operation.
func (VirtualMachineExtensionsClient) CreateOrUpdatePreparer
deprecated
func (client VirtualMachineExtensionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, VMName string, VMExtensionName string, extensionParameters VirtualMachineExtension) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (VirtualMachineExtensionsClient) CreateOrUpdateResponder
deprecated
func (client VirtualMachineExtensionsClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualMachineExtension, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (VirtualMachineExtensionsClient) CreateOrUpdateSender
deprecated
func (client VirtualMachineExtensionsClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachineExtensionsCreateOrUpdateFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineExtensionsClient) Delete
deprecated
func (client VirtualMachineExtensionsClient) Delete(ctx context.Context, resourceGroupName string, VMName string, VMExtensionName string) (result VirtualMachineExtensionsDeleteFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Delete the operation to delete the extension.
resourceGroupName is the name of the resource group. VMName is the name of the virtual machine where the extension should be deleted. VMExtensionName is the name of the virtual machine extension.
func (VirtualMachineExtensionsClient) DeletePreparer
deprecated
func (client VirtualMachineExtensionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, VMName string, VMExtensionName string) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DeletePreparer prepares the Delete request.
func (VirtualMachineExtensionsClient) DeleteResponder
deprecated
func (client VirtualMachineExtensionsClient) DeleteResponder(resp *http.Response) (result OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (VirtualMachineExtensionsClient) DeleteSender
deprecated
func (client VirtualMachineExtensionsClient) DeleteSender(req *http.Request) (future VirtualMachineExtensionsDeleteFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineExtensionsClient) Get
deprecated
func (client VirtualMachineExtensionsClient) Get(ctx context.Context, resourceGroupName string, VMName string, VMExtensionName string, expand string) (result VirtualMachineExtension, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Get the operation to get the extension.
resourceGroupName is the name of the resource group. VMName is the name of the virtual machine containing the extension. VMExtensionName is the name of the virtual machine extension. expand is the expand expression to apply on the operation.
func (VirtualMachineExtensionsClient) GetPreparer
deprecated
func (client VirtualMachineExtensionsClient) GetPreparer(ctx context.Context, resourceGroupName string, VMName string, VMExtensionName string, expand string) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. GetPreparer prepares the Get request.
func (VirtualMachineExtensionsClient) GetResponder
deprecated
func (client VirtualMachineExtensionsClient) GetResponder(resp *http.Response) (result VirtualMachineExtension, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (VirtualMachineExtensionsClient) GetSender
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineExtensionsClient) Update
deprecated
func (client VirtualMachineExtensionsClient) Update(ctx context.Context, resourceGroupName string, VMName string, VMExtensionName string, extensionParameters VirtualMachineExtensionUpdate) (result VirtualMachineExtensionsUpdateFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Update the operation to update the extension.
resourceGroupName is the name of the resource group. VMName is the name of the virtual machine where the extension should be updated. VMExtensionName is the name of the virtual machine extension. extensionParameters is parameters supplied to the Update Virtual Machine Extension operation.
func (VirtualMachineExtensionsClient) UpdatePreparer
deprecated
func (client VirtualMachineExtensionsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, VMName string, VMExtensionName string, extensionParameters VirtualMachineExtensionUpdate) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. UpdatePreparer prepares the Update request.
func (VirtualMachineExtensionsClient) UpdateResponder
deprecated
func (client VirtualMachineExtensionsClient) UpdateResponder(resp *http.Response) (result VirtualMachineExtension, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (VirtualMachineExtensionsClient) UpdateSender
deprecated
func (client VirtualMachineExtensionsClient) UpdateSender(req *http.Request) (future VirtualMachineExtensionsUpdateFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type VirtualMachineExtensionsCreateOrUpdateFuture
deprecated
type VirtualMachineExtensionsCreateOrUpdateFuture struct { azure.Future // contains filtered or unexported fields }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineExtensionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (VirtualMachineExtensionsCreateOrUpdateFuture) Result
deprecated
func (future VirtualMachineExtensionsCreateOrUpdateFuture) Result(client VirtualMachineExtensionsClient) (vme VirtualMachineExtension, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type VirtualMachineExtensionsDeleteFuture
deprecated
type VirtualMachineExtensionsDeleteFuture struct { azure.Future // contains filtered or unexported fields }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineExtensionsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (VirtualMachineExtensionsDeleteFuture) Result
deprecated
func (future VirtualMachineExtensionsDeleteFuture) Result(client VirtualMachineExtensionsClient) (osr OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type VirtualMachineExtensionsListResult
deprecated
type VirtualMachineExtensionsListResult struct { autorest.Response `json:"-"` // Value - The list of extensions Value *[]VirtualMachineExtension `json:"value,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineExtensionsListResult the List Extension operation response
type VirtualMachineExtensionsUpdateFuture
deprecated
type VirtualMachineExtensionsUpdateFuture struct { azure.Future // contains filtered or unexported fields }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineExtensionsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (VirtualMachineExtensionsUpdateFuture) Result
deprecated
func (future VirtualMachineExtensionsUpdateFuture) Result(client VirtualMachineExtensionsClient) (vme VirtualMachineExtension, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type VirtualMachineIdentity
deprecated
type VirtualMachineIdentity struct { // PrincipalID - The principal id of virtual machine identity. PrincipalID *string `json:"principalId,omitempty"` // TenantID - The tenant id associated with the virtual machine. TenantID *string `json:"tenantId,omitempty"` // Type - The type of identity used for the virtual machine. Currently, the only supported type is 'SystemAssigned', which implicitly creates an identity. Possible values include: 'SystemAssigned' Type ResourceIdentityType `json:"type,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineIdentity identity for the virtual machine.
type VirtualMachineImage
deprecated
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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineImage describes a Virtual Machine Image.
func (VirtualMachineImage) MarshalJSON
deprecated
func (vmi VirtualMachineImage) MarshalJSON() ([]byte, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. MarshalJSON is the custom marshaler for VirtualMachineImage.
func (*VirtualMachineImage) UnmarshalJSON
deprecated
func (vmi *VirtualMachineImage) UnmarshalJSON(body []byte) error
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. UnmarshalJSON is the custom unmarshaler for VirtualMachineImage struct.
type VirtualMachineImageProperties
deprecated
type VirtualMachineImageProperties struct { Plan *PurchasePlan `json:"plan,omitempty"` OsDiskImage *OSDiskImage `json:"osDiskImage,omitempty"` DataDiskImages *[]DataDiskImage `json:"dataDiskImages,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineImageProperties describes the properties of a Virtual Machine Image.
type VirtualMachineImageResource
deprecated
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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineImageResource virtual machine image resource information.
func (VirtualMachineImageResource) MarshalJSON
deprecated
func (vmir VirtualMachineImageResource) MarshalJSON() ([]byte, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. MarshalJSON is the custom marshaler for VirtualMachineImageResource.
type VirtualMachineImagesClient
deprecated
type VirtualMachineImagesClient struct {
BaseClient
}
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineImagesClient is the compute Client
func NewVirtualMachineImagesClient
deprecated
func NewVirtualMachineImagesClient(subscriptionID string) VirtualMachineImagesClient
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. NewVirtualMachineImagesClient creates an instance of the VirtualMachineImagesClient client.
func NewVirtualMachineImagesClientWithBaseURI
deprecated
func NewVirtualMachineImagesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineImagesClient
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. NewVirtualMachineImagesClientWithBaseURI creates an instance of the VirtualMachineImagesClient client.
func (VirtualMachineImagesClient) Get
deprecated
func (client VirtualMachineImagesClient) Get(ctx context.Context, location string, publisherName string, offer string, skus string, version string) (result VirtualMachineImage, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Get gets a virtual machine image.
location is the name of a supported Azure region. publisherName is a valid image publisher. offer is a valid image publisher offer. skus is a valid image SKU. version is a valid image SKU version.
func (VirtualMachineImagesClient) GetPreparer
deprecated
func (client VirtualMachineImagesClient) GetPreparer(ctx context.Context, location string, publisherName string, offer string, skus string, version string) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. GetPreparer prepares the Get request.
func (VirtualMachineImagesClient) GetResponder
deprecated
func (client VirtualMachineImagesClient) GetResponder(resp *http.Response) (result VirtualMachineImage, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (VirtualMachineImagesClient) GetSender
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineImagesClient) List
deprecated
func (client VirtualMachineImagesClient) List(ctx context.Context, location string, publisherName string, offer string, skus string, filter string, top *int32, orderby string) (result ListVirtualMachineImageResource, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. List gets a list of all virtual machine image versions for the specified location, publisher, offer, and SKU.
location is the name of a supported Azure region. publisherName is a valid image publisher. offer is a valid image publisher offer. skus is a valid image SKU. filter is the filter to apply on the operation.
func (VirtualMachineImagesClient) ListOffers
deprecated
func (client VirtualMachineImagesClient) ListOffers(ctx context.Context, location string, publisherName string) (result ListVirtualMachineImageResource, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListOffers gets a list of virtual machine image offers for the specified location and publisher.
location is the name of a supported Azure region. publisherName is a valid image publisher.
func (VirtualMachineImagesClient) ListOffersPreparer
deprecated
func (client VirtualMachineImagesClient) ListOffersPreparer(ctx context.Context, location string, publisherName string) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListOffersPreparer prepares the ListOffers request.
func (VirtualMachineImagesClient) ListOffersResponder
deprecated
func (client VirtualMachineImagesClient) ListOffersResponder(resp *http.Response) (result ListVirtualMachineImageResource, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListOffersResponder handles the response to the ListOffers request. The method always closes the http.Response Body.
func (VirtualMachineImagesClient) ListOffersSender
deprecated
func (client VirtualMachineImagesClient) ListOffersSender(req *http.Request) (*http.Response, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListOffersSender sends the ListOffers request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineImagesClient) ListPreparer
deprecated
func (client VirtualMachineImagesClient) ListPreparer(ctx context.Context, location string, publisherName string, offer string, skus string, filter string, top *int32, orderby string) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListPreparer prepares the List request.
func (VirtualMachineImagesClient) ListPublishers
deprecated
func (client VirtualMachineImagesClient) ListPublishers(ctx context.Context, location string) (result ListVirtualMachineImageResource, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListPublishers gets a list of virtual machine image publishers for the specified Azure location.
location is the name of a supported Azure region.
func (VirtualMachineImagesClient) ListPublishersPreparer
deprecated
func (client VirtualMachineImagesClient) ListPublishersPreparer(ctx context.Context, location string) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListPublishersPreparer prepares the ListPublishers request.
func (VirtualMachineImagesClient) ListPublishersResponder
deprecated
func (client VirtualMachineImagesClient) ListPublishersResponder(resp *http.Response) (result ListVirtualMachineImageResource, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListPublishersResponder handles the response to the ListPublishers request. The method always closes the http.Response Body.
func (VirtualMachineImagesClient) ListPublishersSender
deprecated
func (client VirtualMachineImagesClient) ListPublishersSender(req *http.Request) (*http.Response, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListPublishersSender sends the ListPublishers request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineImagesClient) ListResponder
deprecated
func (client VirtualMachineImagesClient) ListResponder(resp *http.Response) (result ListVirtualMachineImageResource, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (VirtualMachineImagesClient) ListSender
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineImagesClient) ListSkus
deprecated
func (client VirtualMachineImagesClient) ListSkus(ctx context.Context, location string, publisherName string, offer string) (result ListVirtualMachineImageResource, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListSkus gets a list of virtual machine image SKUs for the specified location, publisher, and offer.
location is the name of a supported Azure region. publisherName is a valid image publisher. offer is a valid image publisher offer.
func (VirtualMachineImagesClient) ListSkusPreparer
deprecated
func (client VirtualMachineImagesClient) ListSkusPreparer(ctx context.Context, location string, publisherName string, offer string) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListSkusPreparer prepares the ListSkus request.
func (VirtualMachineImagesClient) ListSkusResponder
deprecated
func (client VirtualMachineImagesClient) ListSkusResponder(resp *http.Response) (result ListVirtualMachineImageResource, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListSkusResponder handles the response to the ListSkus request. The method always closes the http.Response Body.
func (VirtualMachineImagesClient) ListSkusSender
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListSkusSender sends the ListSkus request. The method will close the http.Response Body if it receives an error.
type VirtualMachineInstanceView
deprecated
type VirtualMachineInstanceView struct { // 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"` // 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"` // Disks - The virtual machine disk information. Disks *[]DiskInstanceView `json:"disks,omitempty"` // Extensions - The extensions information. Extensions *[]VirtualMachineExtensionInstanceView `json:"extensions,omitempty"` // BootDiagnostics - Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. <br><br> For Linux Virtual Machines, you can easily view the output of your console log. <br><br> For both Windows and Linux virtual machines, Azure also enables you to see a screenshot of the VM from the hypervisor. BootDiagnostics *BootDiagnosticsInstanceView `json:"bootDiagnostics,omitempty"` // Statuses - The resource status information. Statuses *[]InstanceViewStatus `json:"statuses,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineInstanceView the instance view of a virtual machine.
type VirtualMachineListResult
deprecated
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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineListResult the List Virtual Machine operation response.
func (VirtualMachineListResult) IsEmpty
deprecated
func (vmlr VirtualMachineListResult) IsEmpty() bool
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. IsEmpty returns true if the ListResult contains no values.
type VirtualMachineListResultIterator
deprecated
type VirtualMachineListResultIterator struct {
// contains filtered or unexported fields
}
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineListResultIterator provides access to a complete listing of VirtualMachine values.
func (*VirtualMachineListResultIterator) Next
deprecated
func (iter *VirtualMachineListResultIterator) Next() error
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Next 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
deprecated
func (iter VirtualMachineListResultIterator) NotDone() bool
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. NotDone returns true if the enumeration should be started or is not yet complete.
func (VirtualMachineListResultIterator) Response
deprecated
func (iter VirtualMachineListResultIterator) Response() VirtualMachineListResult
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Response returns the raw server response from the last page request.
func (VirtualMachineListResultIterator) Value
deprecated
func (iter VirtualMachineListResultIterator) Value() VirtualMachine
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type VirtualMachineListResultPage
deprecated
type VirtualMachineListResultPage struct {
// contains filtered or unexported fields
}
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineListResultPage contains a page of VirtualMachine values.
func (*VirtualMachineListResultPage) Next
deprecated
func (page *VirtualMachineListResultPage) Next() error
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. 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.
func (VirtualMachineListResultPage) NotDone
deprecated
func (page VirtualMachineListResultPage) NotDone() bool
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. NotDone returns true if the page enumeration should be started or is not yet complete.
func (VirtualMachineListResultPage) Response
deprecated
func (page VirtualMachineListResultPage) Response() VirtualMachineListResult
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Response returns the raw server response from the last page request.
func (VirtualMachineListResultPage) Values
deprecated
func (page VirtualMachineListResultPage) Values() []VirtualMachine
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Values returns the slice of values for the current page or nil if there are no values.
type VirtualMachineProperties
deprecated
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"` // OsProfile - Specifies the operating system settings for the virtual machine. OsProfile *OSProfile `json:"osProfile,omitempty"` // NetworkProfile - Specifies the network interfaces of the virtual machine. NetworkProfile *NetworkProfile `json:"networkProfile,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 maintainance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json) <br><br> Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set. AvailabilitySet *SubResource `json:"availabilitySet,omitempty"` // ProvisioningState - The provisioning state, which only appears in the response. ProvisioningState *string `json:"provisioningState,omitempty"` // InstanceView - 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. This element is only used for images that contain the Windows Server operating system. <br><br> Possible values are: <br><br> Windows_Client <br><br> Windows_Server <br><br> If this element is included in a request for an update, the value must match the initial value. This value cannot be updated. <br><br> For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json) <br><br> Minimum api-version: 2015-06-15 LicenseType *string `json:"licenseType,omitempty"` // VMID - 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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineProperties describes the properties of a Virtual Machine.
type VirtualMachineScaleSet
deprecated
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"` // ID - Resource Id ID *string `json:"id,omitempty"` // Name - Resource name Name *string `json:"name,omitempty"` // Type - Resource type Type *string `json:"type,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSet describes a Virtual Machine Scale Set.
func (VirtualMachineScaleSet) MarshalJSON
deprecated
func (vmss VirtualMachineScaleSet) MarshalJSON() ([]byte, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. MarshalJSON is the custom marshaler for VirtualMachineScaleSet.
func (*VirtualMachineScaleSet) UnmarshalJSON
deprecated
func (vmss *VirtualMachineScaleSet) UnmarshalJSON(body []byte) error
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. UnmarshalJSON is the custom unmarshaler for VirtualMachineScaleSet struct.
type VirtualMachineScaleSetDataDisk
deprecated
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"` // 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 name 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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetDataDisk describes a virtual machine scale set data disk.
type VirtualMachineScaleSetExtension
deprecated
type VirtualMachineScaleSetExtension struct { // Name - The name of the extension. Name *string `json:"name,omitempty"` *VirtualMachineScaleSetExtensionProperties `json:"properties,omitempty"` // ID - Resource Id ID *string `json:"id,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetExtension describes a Virtual Machine Scale Set Extension.
func (VirtualMachineScaleSetExtension) MarshalJSON
deprecated
func (vmsse VirtualMachineScaleSetExtension) MarshalJSON() ([]byte, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. MarshalJSON is the custom marshaler for VirtualMachineScaleSetExtension.
func (*VirtualMachineScaleSetExtension) UnmarshalJSON
deprecated
func (vmsse *VirtualMachineScaleSetExtension) UnmarshalJSON(body []byte) error
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. UnmarshalJSON is the custom unmarshaler for VirtualMachineScaleSetExtension struct.
type VirtualMachineScaleSetExtensionProfile
deprecated
type VirtualMachineScaleSetExtensionProfile struct { // Extensions - The virtual machine scale set child extension resources. Extensions *[]VirtualMachineScaleSetExtension `json:"extensions,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetExtensionProfile describes a virtual machine scale set extension profile.
type VirtualMachineScaleSetExtensionProperties
deprecated
type VirtualMachineScaleSetExtensionProperties struct { // 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"` // 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 - The provisioning state, which only appears in the response. ProvisioningState *string `json:"provisioningState,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetExtensionProperties describes the properties of a Virtual Machine Scale Set Extension.
type VirtualMachineScaleSetIPConfiguration
deprecated
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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetIPConfiguration describes a virtual machine scale set network profile's IP configuration.
func (VirtualMachineScaleSetIPConfiguration) MarshalJSON
deprecated
func (vmssic VirtualMachineScaleSetIPConfiguration) MarshalJSON() ([]byte, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. MarshalJSON is the custom marshaler for VirtualMachineScaleSetIPConfiguration.
func (*VirtualMachineScaleSetIPConfiguration) UnmarshalJSON
deprecated
func (vmssic *VirtualMachineScaleSetIPConfiguration) UnmarshalJSON(body []byte) error
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. UnmarshalJSON is the custom unmarshaler for VirtualMachineScaleSetIPConfiguration struct.
type VirtualMachineScaleSetIPConfigurationProperties
deprecated
type VirtualMachineScaleSetIPConfigurationProperties struct { // Subnet - The subnet. Subnet *APIEntityReference `json:"subnet,omitempty"` // ApplicationGatewayBackendAddressPools - The application gateway backend address pools. ApplicationGatewayBackendAddressPools *[]SubResource `json:"applicationGatewayBackendAddressPools,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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetIPConfigurationProperties describes a virtual machine scale set network profile's IP configuration properties.
type VirtualMachineScaleSetIdentity
deprecated
type VirtualMachineScaleSetIdentity struct { // PrincipalID - The principal id of virtual machine scale set identity. PrincipalID *string `json:"principalId,omitempty"` // TenantID - The tenant id associated with the virtual machine scale set. TenantID *string `json:"tenantId,omitempty"` // Type - The type of identity used for the virtual machine scale set. Currently, the only supported type is 'SystemAssigned', which implicitly creates an identity. Possible values include: 'SystemAssigned' Type ResourceIdentityType `json:"type,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetIdentity identity for the virtual machine scale set.
type VirtualMachineScaleSetInstanceView
deprecated
type VirtualMachineScaleSetInstanceView struct { autorest.Response `json:"-"` // VirtualMachine - The instance view status summary for the virtual machine scale set. VirtualMachine *VirtualMachineScaleSetInstanceViewStatusesSummary `json:"virtualMachine,omitempty"` // Extensions - The extensions information. Extensions *[]VirtualMachineScaleSetVMExtensionsSummary `json:"extensions,omitempty"` // Statuses - The resource status information. Statuses *[]InstanceViewStatus `json:"statuses,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetInstanceView the instance view of a virtual machine scale set.
type VirtualMachineScaleSetInstanceViewStatusesSummary
deprecated
type VirtualMachineScaleSetInstanceViewStatusesSummary struct { // StatusesSummary - The extensions information. StatusesSummary *[]VirtualMachineStatusCodeCount `json:"statusesSummary,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetInstanceViewStatusesSummary instance view statuses summary for virtual machines of a virtual machine scale set.
type VirtualMachineScaleSetListResult
deprecated
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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetListResult the List Virtual Machine operation response.
func (VirtualMachineScaleSetListResult) IsEmpty
deprecated
func (vmsslr VirtualMachineScaleSetListResult) IsEmpty() bool
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. IsEmpty returns true if the ListResult contains no values.
type VirtualMachineScaleSetListResultIterator
deprecated
type VirtualMachineScaleSetListResultIterator struct {
// contains filtered or unexported fields
}
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetListResultIterator provides access to a complete listing of VirtualMachineScaleSet values.
func (*VirtualMachineScaleSetListResultIterator) Next
deprecated
func (iter *VirtualMachineScaleSetListResultIterator) Next() error
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Next 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
deprecated
func (iter VirtualMachineScaleSetListResultIterator) NotDone() bool
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. NotDone returns true if the enumeration should be started or is not yet complete.
func (VirtualMachineScaleSetListResultIterator) Response
deprecated
func (iter VirtualMachineScaleSetListResultIterator) Response() VirtualMachineScaleSetListResult
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Response returns the raw server response from the last page request.
func (VirtualMachineScaleSetListResultIterator) Value
deprecated
func (iter VirtualMachineScaleSetListResultIterator) Value() VirtualMachineScaleSet
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type VirtualMachineScaleSetListResultPage
deprecated
type VirtualMachineScaleSetListResultPage struct {
// contains filtered or unexported fields
}
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetListResultPage contains a page of VirtualMachineScaleSet values.
func (*VirtualMachineScaleSetListResultPage) Next
deprecated
func (page *VirtualMachineScaleSetListResultPage) Next() error
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. 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.
func (VirtualMachineScaleSetListResultPage) NotDone
deprecated
func (page VirtualMachineScaleSetListResultPage) NotDone() bool
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. NotDone returns true if the page enumeration should be started or is not yet complete.
func (VirtualMachineScaleSetListResultPage) Response
deprecated
func (page VirtualMachineScaleSetListResultPage) Response() VirtualMachineScaleSetListResult
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Response returns the raw server response from the last page request.
func (VirtualMachineScaleSetListResultPage) Values
deprecated
func (page VirtualMachineScaleSetListResultPage) Values() []VirtualMachineScaleSet
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Values returns the slice of values for the current page or nil if there are no values.
type VirtualMachineScaleSetListSkusResult
deprecated
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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetListSkusResult the Virtual Machine Scale Set List Skus operation response.
func (VirtualMachineScaleSetListSkusResult) IsEmpty
deprecated
func (vmsslsr VirtualMachineScaleSetListSkusResult) IsEmpty() bool
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. IsEmpty returns true if the ListResult contains no values.
type VirtualMachineScaleSetListSkusResultIterator
deprecated
type VirtualMachineScaleSetListSkusResultIterator struct {
// contains filtered or unexported fields
}
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetListSkusResultIterator provides access to a complete listing of VirtualMachineScaleSetSku values.
func (*VirtualMachineScaleSetListSkusResultIterator) Next
deprecated
func (iter *VirtualMachineScaleSetListSkusResultIterator) Next() error
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Next 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
deprecated
func (iter VirtualMachineScaleSetListSkusResultIterator) NotDone() bool
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. NotDone returns true if the enumeration should be started or is not yet complete.
func (VirtualMachineScaleSetListSkusResultIterator) Response
deprecated
func (iter VirtualMachineScaleSetListSkusResultIterator) Response() VirtualMachineScaleSetListSkusResult
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Response returns the raw server response from the last page request.
func (VirtualMachineScaleSetListSkusResultIterator) Value
deprecated
func (iter VirtualMachineScaleSetListSkusResultIterator) Value() VirtualMachineScaleSetSku
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type VirtualMachineScaleSetListSkusResultPage
deprecated
type VirtualMachineScaleSetListSkusResultPage struct {
// contains filtered or unexported fields
}
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetListSkusResultPage contains a page of VirtualMachineScaleSetSku values.
func (*VirtualMachineScaleSetListSkusResultPage) Next
deprecated
func (page *VirtualMachineScaleSetListSkusResultPage) Next() error
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. 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.
func (VirtualMachineScaleSetListSkusResultPage) NotDone
deprecated
func (page VirtualMachineScaleSetListSkusResultPage) NotDone() bool
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. NotDone returns true if the page enumeration should be started or is not yet complete.
func (VirtualMachineScaleSetListSkusResultPage) Response
deprecated
func (page VirtualMachineScaleSetListSkusResultPage) Response() VirtualMachineScaleSetListSkusResult
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Response returns the raw server response from the last page request.
func (VirtualMachineScaleSetListSkusResultPage) Values
deprecated
func (page VirtualMachineScaleSetListSkusResultPage) Values() []VirtualMachineScaleSetSku
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Values returns the slice of values for the current page or nil if there are no values.
type VirtualMachineScaleSetListWithLinkResult
deprecated
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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetListWithLinkResult the List Virtual Machine operation response.
func (VirtualMachineScaleSetListWithLinkResult) IsEmpty
deprecated
func (vmsslwlr VirtualMachineScaleSetListWithLinkResult) IsEmpty() bool
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. IsEmpty returns true if the ListResult contains no values.
type VirtualMachineScaleSetListWithLinkResultIterator
deprecated
type VirtualMachineScaleSetListWithLinkResultIterator struct {
// contains filtered or unexported fields
}
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetListWithLinkResultIterator provides access to a complete listing of VirtualMachineScaleSet values.
func (*VirtualMachineScaleSetListWithLinkResultIterator) Next
deprecated
func (iter *VirtualMachineScaleSetListWithLinkResultIterator) Next() error
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Next 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
deprecated
func (iter VirtualMachineScaleSetListWithLinkResultIterator) NotDone() bool
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. NotDone returns true if the enumeration should be started or is not yet complete.
func (VirtualMachineScaleSetListWithLinkResultIterator) Response
deprecated
func (iter VirtualMachineScaleSetListWithLinkResultIterator) Response() VirtualMachineScaleSetListWithLinkResult
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Response returns the raw server response from the last page request.
func (VirtualMachineScaleSetListWithLinkResultIterator) Value
deprecated
func (iter VirtualMachineScaleSetListWithLinkResultIterator) Value() VirtualMachineScaleSet
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type VirtualMachineScaleSetListWithLinkResultPage
deprecated
type VirtualMachineScaleSetListWithLinkResultPage struct {
// contains filtered or unexported fields
}
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetListWithLinkResultPage contains a page of VirtualMachineScaleSet values.
func (*VirtualMachineScaleSetListWithLinkResultPage) Next
deprecated
func (page *VirtualMachineScaleSetListWithLinkResultPage) Next() error
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. 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.
func (VirtualMachineScaleSetListWithLinkResultPage) NotDone
deprecated
func (page VirtualMachineScaleSetListWithLinkResultPage) NotDone() bool
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. NotDone returns true if the page enumeration should be started or is not yet complete.
func (VirtualMachineScaleSetListWithLinkResultPage) Response
deprecated
func (page VirtualMachineScaleSetListWithLinkResultPage) Response() VirtualMachineScaleSetListWithLinkResult
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Response returns the raw server response from the last page request.
func (VirtualMachineScaleSetListWithLinkResultPage) Values
deprecated
func (page VirtualMachineScaleSetListWithLinkResultPage) Values() []VirtualMachineScaleSet
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Values returns the slice of values for the current page or nil if there are no values.
type VirtualMachineScaleSetManagedDiskParameters
deprecated
type VirtualMachineScaleSetManagedDiskParameters struct { // StorageAccountType - Specifies the storage account type for the managed disk. Possible values are: Standard_LRS or Premium_LRS. Possible values include: 'StandardLRS', 'PremiumLRS' StorageAccountType StorageAccountTypes `json:"storageAccountType,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetManagedDiskParameters describes the parameters of a ScaleSet managed disk.
type VirtualMachineScaleSetNetworkConfiguration
deprecated
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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetNetworkConfiguration describes a virtual machine scale set network profile's network configurations.
func (VirtualMachineScaleSetNetworkConfiguration) MarshalJSON
deprecated
func (vmssnc VirtualMachineScaleSetNetworkConfiguration) MarshalJSON() ([]byte, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. MarshalJSON is the custom marshaler for VirtualMachineScaleSetNetworkConfiguration.
func (*VirtualMachineScaleSetNetworkConfiguration) UnmarshalJSON
deprecated
func (vmssnc *VirtualMachineScaleSetNetworkConfiguration) UnmarshalJSON(body []byte) error
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. UnmarshalJSON is the custom unmarshaler for VirtualMachineScaleSetNetworkConfiguration struct.
type VirtualMachineScaleSetNetworkConfigurationProperties
deprecated
type VirtualMachineScaleSetNetworkConfigurationProperties struct { // Primary - Whether this is a primary NIC on a virtual machine. Primary *bool `json:"primary,omitempty"` // IPConfigurations - The virtual machine scale set IP Configuration. IPConfigurations *[]VirtualMachineScaleSetIPConfiguration `json:"ipConfigurations,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetNetworkConfigurationProperties describes a virtual machine scale set network profile's IP configuration.
type VirtualMachineScaleSetNetworkProfile
deprecated
type VirtualMachineScaleSetNetworkProfile struct { // NetworkInterfaceConfigurations - The list of network configurations. NetworkInterfaceConfigurations *[]VirtualMachineScaleSetNetworkConfiguration `json:"networkInterfaceConfigurations,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetNetworkProfile describes a virtual machine scale set network profile.
type VirtualMachineScaleSetOSDisk
deprecated
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"` // 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"` // 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 - 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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetOSDisk describes a virtual machine scale set operating system disk.
type VirtualMachineScaleSetOSProfile
deprecated
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 - 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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetOSProfile describes a virtual machine scale set OS profile.
type VirtualMachineScaleSetProperties
deprecated
type VirtualMachineScaleSetProperties struct { // UpgradePolicy - The upgrade policy. UpgradePolicy *UpgradePolicy `json:"upgradePolicy,omitempty"` // VirtualMachineProfile - The virtual machine profile. VirtualMachineProfile *VirtualMachineScaleSetVMProfile `json:"virtualMachineProfile,omitempty"` // ProvisioningState - 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"` // SinglePlacementGroup - When true this limits the scale set to a single placement group, of max size 100 virtual machines. SinglePlacementGroup *bool `json:"singlePlacementGroup,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetProperties describes the properties of a Virtual Machine Scale Set.
type VirtualMachineScaleSetSku
deprecated
type VirtualMachineScaleSetSku struct { // ResourceType - The type of resource the sku applies to. ResourceType *string `json:"resourceType,omitempty"` // Sku - The Sku. Sku *Sku `json:"sku,omitempty"` // Capacity - Specifies the number of virtual machines in the scale set. Capacity *VirtualMachineScaleSetSkuCapacity `json:"capacity,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetSku describes an available virtual machine scale set sku.
type VirtualMachineScaleSetSkuCapacity
deprecated
type VirtualMachineScaleSetSkuCapacity struct { // Minimum - The minimum capacity. Minimum *int64 `json:"minimum,omitempty"` // Maximum - The maximum capacity that can be set. Maximum *int64 `json:"maximum,omitempty"` // DefaultCapacity - The default capacity. DefaultCapacity *int64 `json:"defaultCapacity,omitempty"` // ScaleType - The scale type applicable to the sku. Possible values include: 'VirtualMachineScaleSetSkuScaleTypeAutomatic', 'VirtualMachineScaleSetSkuScaleTypeNone' ScaleType VirtualMachineScaleSetSkuScaleType `json:"scaleType,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetSkuCapacity describes scaling information of a sku.
type VirtualMachineScaleSetSkuScaleType
deprecated
type VirtualMachineScaleSetSkuScaleType string
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetSkuScaleType enumerates the values for virtual machine scale set sku scale type.
const ( // VirtualMachineScaleSetSkuScaleTypeAutomatic ... VirtualMachineScaleSetSkuScaleTypeAutomatic VirtualMachineScaleSetSkuScaleType = "Automatic" // VirtualMachineScaleSetSkuScaleTypeNone ... VirtualMachineScaleSetSkuScaleTypeNone VirtualMachineScaleSetSkuScaleType = "None" )
func PossibleVirtualMachineScaleSetSkuScaleTypeValues
deprecated
func PossibleVirtualMachineScaleSetSkuScaleTypeValues() []VirtualMachineScaleSetSkuScaleType
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. PossibleVirtualMachineScaleSetSkuScaleTypeValues returns an array of possible values for the VirtualMachineScaleSetSkuScaleType const type.
type VirtualMachineScaleSetStorageProfile
deprecated
type VirtualMachineScaleSetStorageProfile struct { // ImageReference - The image reference. ImageReference *ImageReference `json:"imageReference,omitempty"` // OsDisk - The OS disk. OsDisk *VirtualMachineScaleSetOSDisk `json:"osDisk,omitempty"` // DataDisks - The data disks. DataDisks *[]VirtualMachineScaleSetDataDisk `json:"dataDisks,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetStorageProfile describes a virtual machine scale set storage profile.
type VirtualMachineScaleSetVM
deprecated
type VirtualMachineScaleSetVM struct { autorest.Response `json:"-"` // InstanceID - The virtual machine instance ID. InstanceID *string `json:"instanceId,omitempty"` // Sku - 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 - The virtual machine child extension resources. Resources *[]VirtualMachineExtension `json:"resources,omitempty"` // ID - Resource Id ID *string `json:"id,omitempty"` // Name - Resource name Name *string `json:"name,omitempty"` // Type - Resource type Type *string `json:"type,omitempty"` // Location - Resource location Location *string `json:"location,omitempty"` // Tags - Resource tags Tags map[string]*string `json:"tags"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetVM describes a virtual machine scale set virtual machine.
func (VirtualMachineScaleSetVM) MarshalJSON
deprecated
func (vmssv VirtualMachineScaleSetVM) MarshalJSON() ([]byte, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. MarshalJSON is the custom marshaler for VirtualMachineScaleSetVM.
func (*VirtualMachineScaleSetVM) UnmarshalJSON
deprecated
func (vmssv *VirtualMachineScaleSetVM) UnmarshalJSON(body []byte) error
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. UnmarshalJSON is the custom unmarshaler for VirtualMachineScaleSetVM struct.
type VirtualMachineScaleSetVMExtensionsSummary
deprecated
type VirtualMachineScaleSetVMExtensionsSummary struct { // Name - The extension name. Name *string `json:"name,omitempty"` // StatusesSummary - The extensions information. StatusesSummary *[]VirtualMachineStatusCodeCount `json:"statusesSummary,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetVMExtensionsSummary extensions summary for virtual machines of a virtual machine scale set.
type VirtualMachineScaleSetVMInstanceIDs
deprecated
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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetVMInstanceIDs specifies a list of virtual machine instance IDs from the VM scale set.
type VirtualMachineScaleSetVMInstanceRequiredIDs
deprecated
type VirtualMachineScaleSetVMInstanceRequiredIDs struct { // InstanceIds - The virtual machine scale set instance ids. InstanceIds *[]string `json:"instanceIds,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetVMInstanceRequiredIDs specifies a list of virtual machine instance IDs from the VM scale set.
type VirtualMachineScaleSetVMInstanceView
deprecated
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"` // Disks - The disks information. Disks *[]DiskInstanceView `json:"disks,omitempty"` // Extensions - The extensions information. Extensions *[]VirtualMachineExtensionInstanceView `json:"extensions,omitempty"` // BootDiagnostics - Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. <br><br> For Linux Virtual Machines, you can easily view the output of your console log. <br><br> For both Windows and Linux virtual machines, Azure also enables you to see a screenshot of the VM from the hypervisor. BootDiagnostics *BootDiagnosticsInstanceView `json:"bootDiagnostics,omitempty"` // Statuses - The resource status information. Statuses *[]InstanceViewStatus `json:"statuses,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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetVMInstanceView the instance view of a virtual machine scale set VM.
type VirtualMachineScaleSetVMListResult
deprecated
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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetVMListResult the List Virtual Machine Scale Set VMs operation response.
func (VirtualMachineScaleSetVMListResult) IsEmpty
deprecated
func (vmssvlr VirtualMachineScaleSetVMListResult) IsEmpty() bool
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. IsEmpty returns true if the ListResult contains no values.
type VirtualMachineScaleSetVMListResultIterator
deprecated
type VirtualMachineScaleSetVMListResultIterator struct {
// contains filtered or unexported fields
}
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetVMListResultIterator provides access to a complete listing of VirtualMachineScaleSetVM values.
func (*VirtualMachineScaleSetVMListResultIterator) Next
deprecated
func (iter *VirtualMachineScaleSetVMListResultIterator) Next() error
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Next 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
deprecated
func (iter VirtualMachineScaleSetVMListResultIterator) NotDone() bool
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. NotDone returns true if the enumeration should be started or is not yet complete.
func (VirtualMachineScaleSetVMListResultIterator) Response
deprecated
func (iter VirtualMachineScaleSetVMListResultIterator) Response() VirtualMachineScaleSetVMListResult
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Response returns the raw server response from the last page request.
func (VirtualMachineScaleSetVMListResultIterator) Value
deprecated
func (iter VirtualMachineScaleSetVMListResultIterator) Value() VirtualMachineScaleSetVM
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type VirtualMachineScaleSetVMListResultPage
deprecated
type VirtualMachineScaleSetVMListResultPage struct {
// contains filtered or unexported fields
}
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetVMListResultPage contains a page of VirtualMachineScaleSetVM values.
func (*VirtualMachineScaleSetVMListResultPage) Next
deprecated
func (page *VirtualMachineScaleSetVMListResultPage) Next() error
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. 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.
func (VirtualMachineScaleSetVMListResultPage) NotDone
deprecated
func (page VirtualMachineScaleSetVMListResultPage) NotDone() bool
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. NotDone returns true if the page enumeration should be started or is not yet complete.
func (VirtualMachineScaleSetVMListResultPage) Response
deprecated
func (page VirtualMachineScaleSetVMListResultPage) Response() VirtualMachineScaleSetVMListResult
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Response returns the raw server response from the last page request.
func (VirtualMachineScaleSetVMListResultPage) Values
deprecated
func (page VirtualMachineScaleSetVMListResultPage) Values() []VirtualMachineScaleSetVM
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Values returns the slice of values for the current page or nil if there are no values.
type VirtualMachineScaleSetVMProfile
deprecated
type VirtualMachineScaleSetVMProfile struct { // OsProfile - The virtual machine scale set OS profile. OsProfile *VirtualMachineScaleSetOSProfile `json:"osProfile,omitempty"` // StorageProfile - The virtual machine scale set storage profile. StorageProfile *VirtualMachineScaleSetStorageProfile `json:"storageProfile,omitempty"` // NetworkProfile - The virtual machine scale set network profile. NetworkProfile *VirtualMachineScaleSetNetworkProfile `json:"networkProfile,omitempty"` // ExtensionProfile - The virtual machine scale set extension profile. ExtensionProfile *VirtualMachineScaleSetExtensionProfile `json:"extensionProfile,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetVMProfile describes a virtual machine scale set virtual machine profile.
type VirtualMachineScaleSetVMProperties
deprecated
type VirtualMachineScaleSetVMProperties struct { // LatestModelApplied - Specifies whether the latest model has been applied to the virtual machine. LatestModelApplied *bool `json:"latestModelApplied,omitempty"` // VMID - Azure VM unique ID. VMID *string `json:"vmId,omitempty"` // InstanceView - The virtual machine instance view. InstanceView *VirtualMachineInstanceView `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"` // OsProfile - Specifies the operating system settings for the virtual machine. OsProfile *OSProfile `json:"osProfile,omitempty"` // NetworkProfile - Specifies the network interfaces of the virtual machine. NetworkProfile *NetworkProfile `json:"networkProfile,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 maintainance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json) <br><br> Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set. AvailabilitySet *SubResource `json:"availabilitySet,omitempty"` // ProvisioningState - 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. This element is only used for images that contain the Windows Server operating system. <br><br> Possible values are: <br><br> Windows_Client <br><br> Windows_Server <br><br> If this element is included in a request for an update, the value must match the initial value. This value cannot be updated. <br><br> For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json) <br><br> Minimum api-version: 2015-06-15 LicenseType *string `json:"licenseType,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetVMProperties describes the properties of a virtual machine scale set virtual machine.
type VirtualMachineScaleSetVMsClient
deprecated
type VirtualMachineScaleSetVMsClient struct {
BaseClient
}
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetVMsClient is the compute Client
func NewVirtualMachineScaleSetVMsClient
deprecated
func NewVirtualMachineScaleSetVMsClient(subscriptionID string) VirtualMachineScaleSetVMsClient
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. NewVirtualMachineScaleSetVMsClient creates an instance of the VirtualMachineScaleSetVMsClient client.
func NewVirtualMachineScaleSetVMsClientWithBaseURI
deprecated
func NewVirtualMachineScaleSetVMsClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineScaleSetVMsClient
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. NewVirtualMachineScaleSetVMsClientWithBaseURI creates an instance of the VirtualMachineScaleSetVMsClient client.
func (VirtualMachineScaleSetVMsClient) Deallocate
deprecated
func (client VirtualMachineScaleSetVMsClient) Deallocate(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (result VirtualMachineScaleSetVMsDeallocateFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. 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.
resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set. instanceID is the instance ID of the virtual machine.
func (VirtualMachineScaleSetVMsClient) DeallocatePreparer
deprecated
func (client VirtualMachineScaleSetVMsClient) DeallocatePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DeallocatePreparer prepares the Deallocate request.
func (VirtualMachineScaleSetVMsClient) DeallocateResponder
deprecated
func (client VirtualMachineScaleSetVMsClient) DeallocateResponder(resp *http.Response) (result OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DeallocateResponder handles the response to the Deallocate request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetVMsClient) DeallocateSender
deprecated
func (client VirtualMachineScaleSetVMsClient) DeallocateSender(req *http.Request) (future VirtualMachineScaleSetVMsDeallocateFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DeallocateSender sends the Deallocate request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetVMsClient) Delete
deprecated
func (client VirtualMachineScaleSetVMsClient) Delete(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (result VirtualMachineScaleSetVMsDeleteFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Delete deletes a virtual machine from a VM scale set.
resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set. instanceID is the instance ID of the virtual machine.
func (VirtualMachineScaleSetVMsClient) DeletePreparer
deprecated
func (client VirtualMachineScaleSetVMsClient) DeletePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DeletePreparer prepares the Delete request.
func (VirtualMachineScaleSetVMsClient) DeleteResponder
deprecated
func (client VirtualMachineScaleSetVMsClient) DeleteResponder(resp *http.Response) (result OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetVMsClient) DeleteSender
deprecated
func (client VirtualMachineScaleSetVMsClient) DeleteSender(req *http.Request) (future VirtualMachineScaleSetVMsDeleteFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetVMsClient) Get
deprecated
func (client VirtualMachineScaleSetVMsClient) Get(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (result VirtualMachineScaleSetVM, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Get gets a virtual machine from a VM scale set.
resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set. instanceID is the instance ID of the virtual machine.
func (VirtualMachineScaleSetVMsClient) GetInstanceView
deprecated
func (client VirtualMachineScaleSetVMsClient) GetInstanceView(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (result VirtualMachineScaleSetVMInstanceView, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. GetInstanceView gets the status of a virtual machine from a VM scale set.
resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set. instanceID is the instance ID of the virtual machine.
func (VirtualMachineScaleSetVMsClient) GetInstanceViewPreparer
deprecated
func (client VirtualMachineScaleSetVMsClient) GetInstanceViewPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. GetInstanceViewPreparer prepares the GetInstanceView request.
func (VirtualMachineScaleSetVMsClient) GetInstanceViewResponder
deprecated
func (client VirtualMachineScaleSetVMsClient) GetInstanceViewResponder(resp *http.Response) (result VirtualMachineScaleSetVMInstanceView, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. GetInstanceViewResponder handles the response to the GetInstanceView request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetVMsClient) GetInstanceViewSender
deprecated
func (client VirtualMachineScaleSetVMsClient) GetInstanceViewSender(req *http.Request) (*http.Response, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. GetInstanceViewSender sends the GetInstanceView request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetVMsClient) GetPreparer
deprecated
func (client VirtualMachineScaleSetVMsClient) GetPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. GetPreparer prepares the Get request.
func (VirtualMachineScaleSetVMsClient) GetResponder
deprecated
func (client VirtualMachineScaleSetVMsClient) GetResponder(resp *http.Response) (result VirtualMachineScaleSetVM, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetVMsClient) GetSender
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetVMsClient) List
deprecated
func (client VirtualMachineScaleSetVMsClient) List(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, filter string, selectParameter string, expand string) (result VirtualMachineScaleSetVMListResultPage, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. List gets a list of all virtual machines in a VM scale sets.
resourceGroupName is the name of the resource group. virtualMachineScaleSetName is the name of the VM scale set. filter is the filter to apply to the operation. selectParameter is the list parameters. expand is the expand expression to apply to the operation.
func (VirtualMachineScaleSetVMsClient) ListComplete
deprecated
func (client VirtualMachineScaleSetVMsClient) ListComplete(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, filter string, selectParameter string, expand string) (result VirtualMachineScaleSetVMListResultIterator, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListComplete enumerates all values, automatically crossing page boundaries as required.
func (VirtualMachineScaleSetVMsClient) ListPreparer
deprecated
func (client VirtualMachineScaleSetVMsClient) ListPreparer(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, filter string, selectParameter string, expand string) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListPreparer prepares the List request.
func (VirtualMachineScaleSetVMsClient) ListResponder
deprecated
func (client VirtualMachineScaleSetVMsClient) ListResponder(resp *http.Response) (result VirtualMachineScaleSetVMListResult, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetVMsClient) ListSender
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetVMsClient) PowerOff
deprecated
func (client VirtualMachineScaleSetVMsClient) PowerOff(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (result VirtualMachineScaleSetVMsPowerOffFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. 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.
resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set. instanceID is the instance ID of the virtual machine.
func (VirtualMachineScaleSetVMsClient) PowerOffPreparer
deprecated
func (client VirtualMachineScaleSetVMsClient) PowerOffPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. PowerOffPreparer prepares the PowerOff request.
func (VirtualMachineScaleSetVMsClient) PowerOffResponder
deprecated
func (client VirtualMachineScaleSetVMsClient) PowerOffResponder(resp *http.Response) (result OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. PowerOffResponder handles the response to the PowerOff request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetVMsClient) PowerOffSender
deprecated
func (client VirtualMachineScaleSetVMsClient) PowerOffSender(req *http.Request) (future VirtualMachineScaleSetVMsPowerOffFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. PowerOffSender sends the PowerOff request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetVMsClient) Reimage
deprecated
func (client VirtualMachineScaleSetVMsClient) Reimage(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (result VirtualMachineScaleSetVMsReimageFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Reimage reimages (upgrade the operating system) a specific virtual machine in a VM scale set.
resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set. instanceID is the instance ID of the virtual machine.
func (VirtualMachineScaleSetVMsClient) ReimageAll
deprecated
func (client VirtualMachineScaleSetVMsClient) ReimageAll(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (result VirtualMachineScaleSetVMsReimageAllFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. 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.
resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set. instanceID is the instance ID of the virtual machine.
func (VirtualMachineScaleSetVMsClient) ReimageAllPreparer
deprecated
func (client VirtualMachineScaleSetVMsClient) ReimageAllPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ReimageAllPreparer prepares the ReimageAll request.
func (VirtualMachineScaleSetVMsClient) ReimageAllResponder
deprecated
func (client VirtualMachineScaleSetVMsClient) ReimageAllResponder(resp *http.Response) (result OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ReimageAllResponder handles the response to the ReimageAll request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetVMsClient) ReimageAllSender
deprecated
func (client VirtualMachineScaleSetVMsClient) ReimageAllSender(req *http.Request) (future VirtualMachineScaleSetVMsReimageAllFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ReimageAllSender sends the ReimageAll request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetVMsClient) ReimagePreparer
deprecated
func (client VirtualMachineScaleSetVMsClient) ReimagePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ReimagePreparer prepares the Reimage request.
func (VirtualMachineScaleSetVMsClient) ReimageResponder
deprecated
func (client VirtualMachineScaleSetVMsClient) ReimageResponder(resp *http.Response) (result OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ReimageResponder handles the response to the Reimage request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetVMsClient) ReimageSender
deprecated
func (client VirtualMachineScaleSetVMsClient) ReimageSender(req *http.Request) (future VirtualMachineScaleSetVMsReimageFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ReimageSender sends the Reimage request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetVMsClient) Restart
deprecated
func (client VirtualMachineScaleSetVMsClient) Restart(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (result VirtualMachineScaleSetVMsRestartFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Restart restarts a virtual machine in a VM scale set.
resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set. instanceID is the instance ID of the virtual machine.
func (VirtualMachineScaleSetVMsClient) RestartPreparer
deprecated
func (client VirtualMachineScaleSetVMsClient) RestartPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. RestartPreparer prepares the Restart request.
func (VirtualMachineScaleSetVMsClient) RestartResponder
deprecated
func (client VirtualMachineScaleSetVMsClient) RestartResponder(resp *http.Response) (result OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. RestartResponder handles the response to the Restart request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetVMsClient) RestartSender
deprecated
func (client VirtualMachineScaleSetVMsClient) RestartSender(req *http.Request) (future VirtualMachineScaleSetVMsRestartFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. RestartSender sends the Restart request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetVMsClient) Start
deprecated
func (client VirtualMachineScaleSetVMsClient) Start(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (result VirtualMachineScaleSetVMsStartFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Start starts a virtual machine in a VM scale set.
resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set. instanceID is the instance ID of the virtual machine.
func (VirtualMachineScaleSetVMsClient) StartPreparer
deprecated
func (client VirtualMachineScaleSetVMsClient) StartPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. StartPreparer prepares the Start request.
func (VirtualMachineScaleSetVMsClient) StartResponder
deprecated
func (client VirtualMachineScaleSetVMsClient) StartResponder(resp *http.Response) (result OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. StartResponder handles the response to the Start request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetVMsClient) StartSender
deprecated
func (client VirtualMachineScaleSetVMsClient) StartSender(req *http.Request) (future VirtualMachineScaleSetVMsStartFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. StartSender sends the Start request. The method will close the http.Response Body if it receives an error.
type VirtualMachineScaleSetVMsDeallocateFuture
deprecated
type VirtualMachineScaleSetVMsDeallocateFuture struct { azure.Future // contains filtered or unexported fields }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetVMsDeallocateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (VirtualMachineScaleSetVMsDeallocateFuture) Result
deprecated
func (future VirtualMachineScaleSetVMsDeallocateFuture) Result(client VirtualMachineScaleSetVMsClient) (osr OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type VirtualMachineScaleSetVMsDeleteFuture
deprecated
type VirtualMachineScaleSetVMsDeleteFuture struct { azure.Future // contains filtered or unexported fields }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetVMsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (VirtualMachineScaleSetVMsDeleteFuture) Result
deprecated
func (future VirtualMachineScaleSetVMsDeleteFuture) Result(client VirtualMachineScaleSetVMsClient) (osr OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type VirtualMachineScaleSetVMsPowerOffFuture
deprecated
type VirtualMachineScaleSetVMsPowerOffFuture struct { azure.Future // contains filtered or unexported fields }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetVMsPowerOffFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (VirtualMachineScaleSetVMsPowerOffFuture) Result
deprecated
func (future VirtualMachineScaleSetVMsPowerOffFuture) Result(client VirtualMachineScaleSetVMsClient) (osr OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type VirtualMachineScaleSetVMsReimageAllFuture
deprecated
type VirtualMachineScaleSetVMsReimageAllFuture struct { azure.Future // contains filtered or unexported fields }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetVMsReimageAllFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (VirtualMachineScaleSetVMsReimageAllFuture) Result
deprecated
func (future VirtualMachineScaleSetVMsReimageAllFuture) Result(client VirtualMachineScaleSetVMsClient) (osr OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type VirtualMachineScaleSetVMsReimageFuture
deprecated
type VirtualMachineScaleSetVMsReimageFuture struct { azure.Future // contains filtered or unexported fields }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetVMsReimageFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (VirtualMachineScaleSetVMsReimageFuture) Result
deprecated
func (future VirtualMachineScaleSetVMsReimageFuture) Result(client VirtualMachineScaleSetVMsClient) (osr OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type VirtualMachineScaleSetVMsRestartFuture
deprecated
type VirtualMachineScaleSetVMsRestartFuture struct { azure.Future // contains filtered or unexported fields }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetVMsRestartFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (VirtualMachineScaleSetVMsRestartFuture) Result
deprecated
func (future VirtualMachineScaleSetVMsRestartFuture) Result(client VirtualMachineScaleSetVMsClient) (osr OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type VirtualMachineScaleSetVMsStartFuture
deprecated
type VirtualMachineScaleSetVMsStartFuture struct { azure.Future // contains filtered or unexported fields }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetVMsStartFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (VirtualMachineScaleSetVMsStartFuture) Result
deprecated
func (future VirtualMachineScaleSetVMsStartFuture) Result(client VirtualMachineScaleSetVMsClient) (osr OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type VirtualMachineScaleSetsClient
deprecated
type VirtualMachineScaleSetsClient struct {
BaseClient
}
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetsClient is the compute Client
func NewVirtualMachineScaleSetsClient
deprecated
func NewVirtualMachineScaleSetsClient(subscriptionID string) VirtualMachineScaleSetsClient
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. NewVirtualMachineScaleSetsClient creates an instance of the VirtualMachineScaleSetsClient client.
func NewVirtualMachineScaleSetsClientWithBaseURI
deprecated
func NewVirtualMachineScaleSetsClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineScaleSetsClient
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. NewVirtualMachineScaleSetsClientWithBaseURI creates an instance of the VirtualMachineScaleSetsClient client.
func (VirtualMachineScaleSetsClient) CreateOrUpdate
deprecated
func (client VirtualMachineScaleSetsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, name string, parameters VirtualMachineScaleSet) (result VirtualMachineScaleSetsCreateOrUpdateFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. CreateOrUpdate create or update a VM scale set.
resourceGroupName is the name of the resource group. name is the name of the VM scale set to create or update. parameters is the scale set object.
func (VirtualMachineScaleSetsClient) CreateOrUpdatePreparer
deprecated
func (client VirtualMachineScaleSetsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, name string, parameters VirtualMachineScaleSet) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (VirtualMachineScaleSetsClient) CreateOrUpdateResponder
deprecated
func (client VirtualMachineScaleSetsClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualMachineScaleSet, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetsClient) CreateOrUpdateSender
deprecated
func (client VirtualMachineScaleSetsClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachineScaleSetsCreateOrUpdateFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetsClient) Deallocate
deprecated
func (client VirtualMachineScaleSetsClient) Deallocate(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (result VirtualMachineScaleSetsDeallocateFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. 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.
resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set. VMInstanceIDs is a list of virtual machine instance IDs from the VM scale set.
func (VirtualMachineScaleSetsClient) DeallocatePreparer
deprecated
func (client VirtualMachineScaleSetsClient) DeallocatePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DeallocatePreparer prepares the Deallocate request.
func (VirtualMachineScaleSetsClient) DeallocateResponder
deprecated
func (client VirtualMachineScaleSetsClient) DeallocateResponder(resp *http.Response) (result OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DeallocateResponder handles the response to the Deallocate request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetsClient) DeallocateSender
deprecated
func (client VirtualMachineScaleSetsClient) DeallocateSender(req *http.Request) (future VirtualMachineScaleSetsDeallocateFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DeallocateSender sends the Deallocate request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetsClient) Delete
deprecated
func (client VirtualMachineScaleSetsClient) Delete(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetsDeleteFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Delete deletes a VM scale set.
resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set.
func (VirtualMachineScaleSetsClient) DeleteInstances
deprecated
func (client VirtualMachineScaleSetsClient) DeleteInstances(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs VirtualMachineScaleSetVMInstanceRequiredIDs) (result VirtualMachineScaleSetsDeleteInstancesFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DeleteInstances deletes virtual machines in a VM scale set.
resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set. VMInstanceIDs is a list of virtual machine instance IDs from the VM scale set.
func (VirtualMachineScaleSetsClient) DeleteInstancesPreparer
deprecated
func (client VirtualMachineScaleSetsClient) DeleteInstancesPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs VirtualMachineScaleSetVMInstanceRequiredIDs) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DeleteInstancesPreparer prepares the DeleteInstances request.
func (VirtualMachineScaleSetsClient) DeleteInstancesResponder
deprecated
func (client VirtualMachineScaleSetsClient) DeleteInstancesResponder(resp *http.Response) (result OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DeleteInstancesResponder handles the response to the DeleteInstances request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetsClient) DeleteInstancesSender
deprecated
func (client VirtualMachineScaleSetsClient) DeleteInstancesSender(req *http.Request) (future VirtualMachineScaleSetsDeleteInstancesFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DeleteInstancesSender sends the DeleteInstances request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetsClient) DeletePreparer
deprecated
func (client VirtualMachineScaleSetsClient) DeletePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DeletePreparer prepares the Delete request.
func (VirtualMachineScaleSetsClient) DeleteResponder
deprecated
func (client VirtualMachineScaleSetsClient) DeleteResponder(resp *http.Response) (result OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetsClient) DeleteSender
deprecated
func (client VirtualMachineScaleSetsClient) DeleteSender(req *http.Request) (future VirtualMachineScaleSetsDeleteFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetsClient) Get
deprecated
func (client VirtualMachineScaleSetsClient) Get(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSet, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Get display information about a virtual machine scale set.
resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set.
func (VirtualMachineScaleSetsClient) GetInstanceView
deprecated
func (client VirtualMachineScaleSetsClient) GetInstanceView(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetInstanceView, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. GetInstanceView gets the status of a VM scale set instance.
resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set.
func (VirtualMachineScaleSetsClient) GetInstanceViewPreparer
deprecated
func (client VirtualMachineScaleSetsClient) GetInstanceViewPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. GetInstanceViewPreparer prepares the GetInstanceView request.
func (VirtualMachineScaleSetsClient) GetInstanceViewResponder
deprecated
func (client VirtualMachineScaleSetsClient) GetInstanceViewResponder(resp *http.Response) (result VirtualMachineScaleSetInstanceView, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. GetInstanceViewResponder handles the response to the GetInstanceView request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetsClient) GetInstanceViewSender
deprecated
func (client VirtualMachineScaleSetsClient) GetInstanceViewSender(req *http.Request) (*http.Response, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. GetInstanceViewSender sends the GetInstanceView request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetsClient) GetPreparer
deprecated
func (client VirtualMachineScaleSetsClient) GetPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. GetPreparer prepares the Get request.
func (VirtualMachineScaleSetsClient) GetResponder
deprecated
func (client VirtualMachineScaleSetsClient) GetResponder(resp *http.Response) (result VirtualMachineScaleSet, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetsClient) GetSender
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetsClient) List
deprecated
func (client VirtualMachineScaleSetsClient) List(ctx context.Context, resourceGroupName string) (result VirtualMachineScaleSetListResultPage, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. List gets a list of all VM scale sets under a resource group.
resourceGroupName is the name of the resource group.
func (VirtualMachineScaleSetsClient) ListAll
deprecated
func (client VirtualMachineScaleSetsClient) ListAll(ctx context.Context) (result VirtualMachineScaleSetListWithLinkResultPage, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. 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
deprecated
func (client VirtualMachineScaleSetsClient) ListAllComplete(ctx context.Context) (result VirtualMachineScaleSetListWithLinkResultIterator, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListAllComplete enumerates all values, automatically crossing page boundaries as required.
func (VirtualMachineScaleSetsClient) ListAllPreparer
deprecated
func (VirtualMachineScaleSetsClient) ListAllResponder
deprecated
func (client VirtualMachineScaleSetsClient) ListAllResponder(resp *http.Response) (result VirtualMachineScaleSetListWithLinkResult, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetsClient) ListAllSender
deprecated
func (client VirtualMachineScaleSetsClient) ListAllSender(req *http.Request) (*http.Response, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListAllSender sends the ListAll request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetsClient) ListComplete
deprecated
func (client VirtualMachineScaleSetsClient) ListComplete(ctx context.Context, resourceGroupName string) (result VirtualMachineScaleSetListResultIterator, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListComplete enumerates all values, automatically crossing page boundaries as required.
func (VirtualMachineScaleSetsClient) ListPreparer
deprecated
func (VirtualMachineScaleSetsClient) ListResponder
deprecated
func (client VirtualMachineScaleSetsClient) ListResponder(resp *http.Response) (result VirtualMachineScaleSetListResult, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetsClient) ListSender
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetsClient) ListSkus
deprecated
func (client VirtualMachineScaleSetsClient) ListSkus(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetListSkusResultPage, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListSkus gets a list of SKUs available for your VM scale set, including the minimum and maximum VM instances allowed for each SKU.
resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set.
func (VirtualMachineScaleSetsClient) ListSkusComplete
deprecated
func (client VirtualMachineScaleSetsClient) ListSkusComplete(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetListSkusResultIterator, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListSkusComplete enumerates all values, automatically crossing page boundaries as required.
func (VirtualMachineScaleSetsClient) ListSkusPreparer
deprecated
func (client VirtualMachineScaleSetsClient) ListSkusPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListSkusPreparer prepares the ListSkus request.
func (VirtualMachineScaleSetsClient) ListSkusResponder
deprecated
func (client VirtualMachineScaleSetsClient) ListSkusResponder(resp *http.Response) (result VirtualMachineScaleSetListSkusResult, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListSkusResponder handles the response to the ListSkus request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetsClient) ListSkusSender
deprecated
func (client VirtualMachineScaleSetsClient) ListSkusSender(req *http.Request) (*http.Response, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListSkusSender sends the ListSkus request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetsClient) PowerOff
deprecated
func (client VirtualMachineScaleSetsClient) PowerOff(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (result VirtualMachineScaleSetsPowerOffFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. 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.
resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set. VMInstanceIDs is a list of virtual machine instance IDs from the VM scale set.
func (VirtualMachineScaleSetsClient) PowerOffPreparer
deprecated
func (client VirtualMachineScaleSetsClient) PowerOffPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. PowerOffPreparer prepares the PowerOff request.
func (VirtualMachineScaleSetsClient) PowerOffResponder
deprecated
func (client VirtualMachineScaleSetsClient) PowerOffResponder(resp *http.Response) (result OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. PowerOffResponder handles the response to the PowerOff request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetsClient) PowerOffSender
deprecated
func (client VirtualMachineScaleSetsClient) PowerOffSender(req *http.Request) (future VirtualMachineScaleSetsPowerOffFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. PowerOffSender sends the PowerOff request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetsClient) Reimage
deprecated
func (client VirtualMachineScaleSetsClient) Reimage(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetsReimageFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Reimage reimages (upgrade the operating system) one or more virtual machines in a VM scale set.
resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set.
func (VirtualMachineScaleSetsClient) ReimageAll
deprecated
func (client VirtualMachineScaleSetsClient) ReimageAll(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetsReimageAllFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. 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.
resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set.
func (VirtualMachineScaleSetsClient) ReimageAllPreparer
deprecated
func (client VirtualMachineScaleSetsClient) ReimageAllPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ReimageAllPreparer prepares the ReimageAll request.
func (VirtualMachineScaleSetsClient) ReimageAllResponder
deprecated
func (client VirtualMachineScaleSetsClient) ReimageAllResponder(resp *http.Response) (result OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ReimageAllResponder handles the response to the ReimageAll request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetsClient) ReimageAllSender
deprecated
func (client VirtualMachineScaleSetsClient) ReimageAllSender(req *http.Request) (future VirtualMachineScaleSetsReimageAllFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ReimageAllSender sends the ReimageAll request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetsClient) ReimagePreparer
deprecated
func (client VirtualMachineScaleSetsClient) ReimagePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ReimagePreparer prepares the Reimage request.
func (VirtualMachineScaleSetsClient) ReimageResponder
deprecated
func (client VirtualMachineScaleSetsClient) ReimageResponder(resp *http.Response) (result OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ReimageResponder handles the response to the Reimage request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetsClient) ReimageSender
deprecated
func (client VirtualMachineScaleSetsClient) ReimageSender(req *http.Request) (future VirtualMachineScaleSetsReimageFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ReimageSender sends the Reimage request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetsClient) Restart
deprecated
func (client VirtualMachineScaleSetsClient) Restart(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (result VirtualMachineScaleSetsRestartFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Restart restarts one or more virtual machines in a VM scale set.
resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set. VMInstanceIDs is a list of virtual machine instance IDs from the VM scale set.
func (VirtualMachineScaleSetsClient) RestartPreparer
deprecated
func (client VirtualMachineScaleSetsClient) RestartPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. RestartPreparer prepares the Restart request.
func (VirtualMachineScaleSetsClient) RestartResponder
deprecated
func (client VirtualMachineScaleSetsClient) RestartResponder(resp *http.Response) (result OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. RestartResponder handles the response to the Restart request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetsClient) RestartSender
deprecated
func (client VirtualMachineScaleSetsClient) RestartSender(req *http.Request) (future VirtualMachineScaleSetsRestartFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. RestartSender sends the Restart request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetsClient) Start
deprecated
func (client VirtualMachineScaleSetsClient) Start(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (result VirtualMachineScaleSetsStartFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Start starts one or more virtual machines in a VM scale set.
resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set. VMInstanceIDs is a list of virtual machine instance IDs from the VM scale set.
func (VirtualMachineScaleSetsClient) StartPreparer
deprecated
func (client VirtualMachineScaleSetsClient) StartPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. StartPreparer prepares the Start request.
func (VirtualMachineScaleSetsClient) StartResponder
deprecated
func (client VirtualMachineScaleSetsClient) StartResponder(resp *http.Response) (result OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. StartResponder handles the response to the Start request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetsClient) StartSender
deprecated
func (client VirtualMachineScaleSetsClient) StartSender(req *http.Request) (future VirtualMachineScaleSetsStartFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. StartSender sends the Start request. The method will close the http.Response Body if it receives an error.
func (VirtualMachineScaleSetsClient) UpdateInstances
deprecated
func (client VirtualMachineScaleSetsClient) UpdateInstances(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs VirtualMachineScaleSetVMInstanceRequiredIDs) (result VirtualMachineScaleSetsUpdateInstancesFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. UpdateInstances upgrades one or more virtual machines to the latest SKU set in the VM scale set model.
resourceGroupName is the name of the resource group. VMScaleSetName is the name of the VM scale set. VMInstanceIDs is a list of virtual machine instance IDs from the VM scale set.
func (VirtualMachineScaleSetsClient) UpdateInstancesPreparer
deprecated
func (client VirtualMachineScaleSetsClient) UpdateInstancesPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs VirtualMachineScaleSetVMInstanceRequiredIDs) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. UpdateInstancesPreparer prepares the UpdateInstances request.
func (VirtualMachineScaleSetsClient) UpdateInstancesResponder
deprecated
func (client VirtualMachineScaleSetsClient) UpdateInstancesResponder(resp *http.Response) (result OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. UpdateInstancesResponder handles the response to the UpdateInstances request. The method always closes the http.Response Body.
func (VirtualMachineScaleSetsClient) UpdateInstancesSender
deprecated
func (client VirtualMachineScaleSetsClient) UpdateInstancesSender(req *http.Request) (future VirtualMachineScaleSetsUpdateInstancesFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. UpdateInstancesSender sends the UpdateInstances request. The method will close the http.Response Body if it receives an error.
type VirtualMachineScaleSetsCreateOrUpdateFuture
deprecated
type VirtualMachineScaleSetsCreateOrUpdateFuture struct { azure.Future // contains filtered or unexported fields }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (VirtualMachineScaleSetsCreateOrUpdateFuture) Result
deprecated
func (future VirtualMachineScaleSetsCreateOrUpdateFuture) Result(client VirtualMachineScaleSetsClient) (vmss VirtualMachineScaleSet, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type VirtualMachineScaleSetsDeallocateFuture
deprecated
type VirtualMachineScaleSetsDeallocateFuture struct { azure.Future // contains filtered or unexported fields }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetsDeallocateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (VirtualMachineScaleSetsDeallocateFuture) Result
deprecated
func (future VirtualMachineScaleSetsDeallocateFuture) Result(client VirtualMachineScaleSetsClient) (osr OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type VirtualMachineScaleSetsDeleteFuture
deprecated
type VirtualMachineScaleSetsDeleteFuture struct { azure.Future // contains filtered or unexported fields }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (VirtualMachineScaleSetsDeleteFuture) Result
deprecated
func (future VirtualMachineScaleSetsDeleteFuture) Result(client VirtualMachineScaleSetsClient) (osr OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type VirtualMachineScaleSetsDeleteInstancesFuture
deprecated
type VirtualMachineScaleSetsDeleteInstancesFuture struct { azure.Future // contains filtered or unexported fields }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetsDeleteInstancesFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (VirtualMachineScaleSetsDeleteInstancesFuture) Result
deprecated
func (future VirtualMachineScaleSetsDeleteInstancesFuture) Result(client VirtualMachineScaleSetsClient) (osr OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type VirtualMachineScaleSetsPowerOffFuture
deprecated
type VirtualMachineScaleSetsPowerOffFuture struct { azure.Future // contains filtered or unexported fields }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetsPowerOffFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (VirtualMachineScaleSetsPowerOffFuture) Result
deprecated
func (future VirtualMachineScaleSetsPowerOffFuture) Result(client VirtualMachineScaleSetsClient) (osr OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type VirtualMachineScaleSetsReimageAllFuture
deprecated
type VirtualMachineScaleSetsReimageAllFuture struct { azure.Future // contains filtered or unexported fields }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetsReimageAllFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (VirtualMachineScaleSetsReimageAllFuture) Result
deprecated
func (future VirtualMachineScaleSetsReimageAllFuture) Result(client VirtualMachineScaleSetsClient) (osr OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type VirtualMachineScaleSetsReimageFuture
deprecated
type VirtualMachineScaleSetsReimageFuture struct { azure.Future // contains filtered or unexported fields }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetsReimageFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (VirtualMachineScaleSetsReimageFuture) Result
deprecated
func (future VirtualMachineScaleSetsReimageFuture) Result(client VirtualMachineScaleSetsClient) (osr OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type VirtualMachineScaleSetsRestartFuture
deprecated
type VirtualMachineScaleSetsRestartFuture struct { azure.Future // contains filtered or unexported fields }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetsRestartFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (VirtualMachineScaleSetsRestartFuture) Result
deprecated
func (future VirtualMachineScaleSetsRestartFuture) Result(client VirtualMachineScaleSetsClient) (osr OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type VirtualMachineScaleSetsStartFuture
deprecated
type VirtualMachineScaleSetsStartFuture struct { azure.Future // contains filtered or unexported fields }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetsStartFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (VirtualMachineScaleSetsStartFuture) Result
deprecated
func (future VirtualMachineScaleSetsStartFuture) Result(client VirtualMachineScaleSetsClient) (osr OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type VirtualMachineScaleSetsUpdateInstancesFuture
deprecated
type VirtualMachineScaleSetsUpdateInstancesFuture struct { azure.Future // contains filtered or unexported fields }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineScaleSetsUpdateInstancesFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (VirtualMachineScaleSetsUpdateInstancesFuture) Result
deprecated
func (future VirtualMachineScaleSetsUpdateInstancesFuture) Result(client VirtualMachineScaleSetsClient) (osr OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type VirtualMachineSize
deprecated
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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineSize describes the properties of a VM size.
type VirtualMachineSizeListResult
deprecated
type VirtualMachineSizeListResult struct { autorest.Response `json:"-"` // Value - The list of virtual machine sizes. Value *[]VirtualMachineSize `json:"value,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineSizeListResult the List Virtual Machine operation response.
type VirtualMachineSizeTypes
deprecated
type VirtualMachineSizeTypes string
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. 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" // StandardA2 ... StandardA2 VirtualMachineSizeTypes = "Standard_A2" // StandardA3 ... StandardA3 VirtualMachineSizeTypes = "Standard_A3" // StandardA4 ... StandardA4 VirtualMachineSizeTypes = "Standard_A4" // StandardA5 ... StandardA5 VirtualMachineSizeTypes = "Standard_A5" // StandardA6 ... StandardA6 VirtualMachineSizeTypes = "Standard_A6" // StandardA7 ... StandardA7 VirtualMachineSizeTypes = "Standard_A7" // StandardA8 ... StandardA8 VirtualMachineSizeTypes = "Standard_A8" // StandardA9 ... StandardA9 VirtualMachineSizeTypes = "Standard_A9" // 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" // StandardD1V2 ... StandardD1V2 VirtualMachineSizeTypes = "Standard_D1_v2" // StandardD2 ... StandardD2 VirtualMachineSizeTypes = "Standard_D2" // StandardD2V2 ... StandardD2V2 VirtualMachineSizeTypes = "Standard_D2_v2" // StandardD3 ... StandardD3 VirtualMachineSizeTypes = "Standard_D3" // StandardD3V2 ... StandardD3V2 VirtualMachineSizeTypes = "Standard_D3_v2" // StandardD4 ... StandardD4 VirtualMachineSizeTypes = "Standard_D4" // StandardD4V2 ... StandardD4V2 VirtualMachineSizeTypes = "Standard_D4_v2" // StandardD5V2 ... StandardD5V2 VirtualMachineSizeTypes = "Standard_D5_v2" // 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" // StandardDS13V2 ... StandardDS13V2 VirtualMachineSizeTypes = "Standard_DS13_v2" // StandardDS14 ... StandardDS14 VirtualMachineSizeTypes = "Standard_DS14" // 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" // 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" // StandardGS5 ... StandardGS5 VirtualMachineSizeTypes = "Standard_GS5" )
func PossibleVirtualMachineSizeTypesValues
deprecated
func PossibleVirtualMachineSizeTypesValues() []VirtualMachineSizeTypes
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. PossibleVirtualMachineSizeTypesValues returns an array of possible values for the VirtualMachineSizeTypes const type.
type VirtualMachineSizesClient
deprecated
type VirtualMachineSizesClient struct {
BaseClient
}
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineSizesClient is the compute Client
func NewVirtualMachineSizesClient
deprecated
func NewVirtualMachineSizesClient(subscriptionID string) VirtualMachineSizesClient
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. NewVirtualMachineSizesClient creates an instance of the VirtualMachineSizesClient client.
func NewVirtualMachineSizesClientWithBaseURI
deprecated
func NewVirtualMachineSizesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineSizesClient
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. NewVirtualMachineSizesClientWithBaseURI creates an instance of the VirtualMachineSizesClient client.
func (VirtualMachineSizesClient) List
deprecated
func (client VirtualMachineSizesClient) List(ctx context.Context, location string) (result VirtualMachineSizeListResult, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. List lists all available virtual machine sizes for a subscription in a location.
location is the location upon which virtual-machine-sizes is queried.
func (VirtualMachineSizesClient) ListPreparer
deprecated
func (VirtualMachineSizesClient) ListResponder
deprecated
func (client VirtualMachineSizesClient) ListResponder(resp *http.Response) (result VirtualMachineSizeListResult, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (VirtualMachineSizesClient) ListSender
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type VirtualMachineStatusCodeCount
deprecated
type VirtualMachineStatusCodeCount struct { // Code - The instance view status code. Code *string `json:"code,omitempty"` // Count - The number of instances having a particular status code. Count *int32 `json:"count,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachineStatusCodeCount the status code and count of the virtual machine scale set instance view status summary.
type VirtualMachinesCaptureFuture
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachinesCaptureFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (VirtualMachinesCaptureFuture) Result
deprecated
func (future VirtualMachinesCaptureFuture) Result(client VirtualMachinesClient) (vmcr VirtualMachineCaptureResult, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type VirtualMachinesClient
deprecated
type VirtualMachinesClient struct {
BaseClient
}
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachinesClient is the compute Client
func NewVirtualMachinesClient
deprecated
func NewVirtualMachinesClient(subscriptionID string) VirtualMachinesClient
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. NewVirtualMachinesClient creates an instance of the VirtualMachinesClient client.
func NewVirtualMachinesClientWithBaseURI
deprecated
func NewVirtualMachinesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachinesClient
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. NewVirtualMachinesClientWithBaseURI creates an instance of the VirtualMachinesClient client.
func (VirtualMachinesClient) Capture
deprecated
func (client VirtualMachinesClient) Capture(ctx context.Context, resourceGroupName string, VMName string, parameters VirtualMachineCaptureParameters) (result VirtualMachinesCaptureFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Capture captures the VM by copying virtual hard disks of the VM and outputs a template that can be used to create similar VMs.
resourceGroupName is the name of the resource group. VMName is the name of the virtual machine. parameters is parameters supplied to the Capture Virtual Machine operation.
func (VirtualMachinesClient) CapturePreparer
deprecated
func (client VirtualMachinesClient) CapturePreparer(ctx context.Context, resourceGroupName string, VMName string, parameters VirtualMachineCaptureParameters) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. CapturePreparer prepares the Capture request.
func (VirtualMachinesClient) CaptureResponder
deprecated
func (client VirtualMachinesClient) CaptureResponder(resp *http.Response) (result VirtualMachineCaptureResult, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. CaptureResponder handles the response to the Capture request. The method always closes the http.Response Body.
func (VirtualMachinesClient) CaptureSender
deprecated
func (client VirtualMachinesClient) CaptureSender(req *http.Request) (future VirtualMachinesCaptureFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. CaptureSender sends the Capture request. The method will close the http.Response Body if it receives an error.
func (VirtualMachinesClient) ConvertToManagedDisks
deprecated
func (client VirtualMachinesClient) ConvertToManagedDisks(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachinesConvertToManagedDisksFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ConvertToManagedDisks converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-deallocated before invoking this operation.
resourceGroupName is the name of the resource group. VMName is the name of the virtual machine.
func (VirtualMachinesClient) ConvertToManagedDisksPreparer
deprecated
func (client VirtualMachinesClient) ConvertToManagedDisksPreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ConvertToManagedDisksPreparer prepares the ConvertToManagedDisks request.
func (VirtualMachinesClient) ConvertToManagedDisksResponder
deprecated
func (client VirtualMachinesClient) ConvertToManagedDisksResponder(resp *http.Response) (result OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ConvertToManagedDisksResponder handles the response to the ConvertToManagedDisks request. The method always closes the http.Response Body.
func (VirtualMachinesClient) ConvertToManagedDisksSender
deprecated
func (client VirtualMachinesClient) ConvertToManagedDisksSender(req *http.Request) (future VirtualMachinesConvertToManagedDisksFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ConvertToManagedDisksSender sends the ConvertToManagedDisks request. The method will close the http.Response Body if it receives an error.
func (VirtualMachinesClient) CreateOrUpdate
deprecated
func (client VirtualMachinesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, VMName string, parameters VirtualMachine) (result VirtualMachinesCreateOrUpdateFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. CreateOrUpdate the operation to create or update a virtual machine.
resourceGroupName is the name of the resource group. VMName is the name of the virtual machine. parameters is parameters supplied to the Create Virtual Machine operation.
func (VirtualMachinesClient) CreateOrUpdatePreparer
deprecated
func (client VirtualMachinesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, VMName string, parameters VirtualMachine) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (VirtualMachinesClient) CreateOrUpdateResponder
deprecated
func (client VirtualMachinesClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualMachine, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (VirtualMachinesClient) CreateOrUpdateSender
deprecated
func (client VirtualMachinesClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachinesCreateOrUpdateFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (VirtualMachinesClient) Deallocate
deprecated
func (client VirtualMachinesClient) Deallocate(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachinesDeallocateFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Deallocate shuts down the virtual machine and releases the compute resources. You are not billed for the compute resources that this virtual machine uses.
resourceGroupName is the name of the resource group. VMName is the name of the virtual machine.
func (VirtualMachinesClient) DeallocatePreparer
deprecated
func (client VirtualMachinesClient) DeallocatePreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DeallocatePreparer prepares the Deallocate request.
func (VirtualMachinesClient) DeallocateResponder
deprecated
func (client VirtualMachinesClient) DeallocateResponder(resp *http.Response) (result OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DeallocateResponder handles the response to the Deallocate request. The method always closes the http.Response Body.
func (VirtualMachinesClient) DeallocateSender
deprecated
func (client VirtualMachinesClient) DeallocateSender(req *http.Request) (future VirtualMachinesDeallocateFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DeallocateSender sends the Deallocate request. The method will close the http.Response Body if it receives an error.
func (VirtualMachinesClient) Delete
deprecated
func (client VirtualMachinesClient) Delete(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachinesDeleteFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Delete the operation to delete a virtual machine.
resourceGroupName is the name of the resource group. VMName is the name of the virtual machine.
func (VirtualMachinesClient) DeletePreparer
deprecated
func (client VirtualMachinesClient) DeletePreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DeletePreparer prepares the Delete request.
func (VirtualMachinesClient) DeleteResponder
deprecated
func (client VirtualMachinesClient) DeleteResponder(resp *http.Response) (result OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (VirtualMachinesClient) DeleteSender
deprecated
func (client VirtualMachinesClient) DeleteSender(req *http.Request) (future VirtualMachinesDeleteFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (VirtualMachinesClient) Generalize
deprecated
func (client VirtualMachinesClient) Generalize(ctx context.Context, resourceGroupName string, VMName string) (result OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Generalize sets the state of the virtual machine to generalized.
resourceGroupName is the name of the resource group. VMName is the name of the virtual machine.
func (VirtualMachinesClient) GeneralizePreparer
deprecated
func (client VirtualMachinesClient) GeneralizePreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. GeneralizePreparer prepares the Generalize request.
func (VirtualMachinesClient) GeneralizeResponder
deprecated
func (client VirtualMachinesClient) GeneralizeResponder(resp *http.Response) (result OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. GeneralizeResponder handles the response to the Generalize request. The method always closes the http.Response Body.
func (VirtualMachinesClient) GeneralizeSender
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. GeneralizeSender sends the Generalize request. The method will close the http.Response Body if it receives an error.
func (VirtualMachinesClient) Get
deprecated
func (client VirtualMachinesClient) Get(ctx context.Context, resourceGroupName string, VMName string, expand InstanceViewTypes) (result VirtualMachine, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Get retrieves information about the model view or the instance view of a virtual machine.
resourceGroupName is the name of the resource group. VMName is the name of the virtual machine. expand is the expand expression to apply on the operation.
func (VirtualMachinesClient) GetExtensions
deprecated
func (client VirtualMachinesClient) GetExtensions(ctx context.Context, resourceGroupName string, VMName string, expand string) (result VirtualMachineExtensionsListResult, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. GetExtensions the operation to get all extensions of a Virtual Machine.
resourceGroupName is the name of the resource group. VMName is the name of the virtual machine containing the extension. expand is the expand expression to apply on the operation.
func (VirtualMachinesClient) GetExtensionsPreparer
deprecated
func (client VirtualMachinesClient) GetExtensionsPreparer(ctx context.Context, resourceGroupName string, VMName string, expand string) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. GetExtensionsPreparer prepares the GetExtensions request.
func (VirtualMachinesClient) GetExtensionsResponder
deprecated
func (client VirtualMachinesClient) GetExtensionsResponder(resp *http.Response) (result VirtualMachineExtensionsListResult, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. GetExtensionsResponder handles the response to the GetExtensions request. The method always closes the http.Response Body.
func (VirtualMachinesClient) GetExtensionsSender
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. GetExtensionsSender sends the GetExtensions request. The method will close the http.Response Body if it receives an error.
func (VirtualMachinesClient) GetPreparer
deprecated
func (client VirtualMachinesClient) GetPreparer(ctx context.Context, resourceGroupName string, VMName string, expand InstanceViewTypes) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. GetPreparer prepares the Get request.
func (VirtualMachinesClient) GetResponder
deprecated
func (client VirtualMachinesClient) GetResponder(resp *http.Response) (result VirtualMachine, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (VirtualMachinesClient) GetSender
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (VirtualMachinesClient) List
deprecated
func (client VirtualMachinesClient) List(ctx context.Context, resourceGroupName string) (result VirtualMachineListResultPage, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. List lists all of the virtual machines in the specified resource group. Use the nextLink property in the response to get the next page of virtual machines.
resourceGroupName is the name of the resource group.
func (VirtualMachinesClient) ListAll
deprecated
func (client VirtualMachinesClient) ListAll(ctx context.Context) (result VirtualMachineListResultPage, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListAll lists all of the virtual machines in the specified subscription. Use the nextLink property in the response to get the next page of virtual machines.
func (VirtualMachinesClient) ListAllComplete
deprecated
func (client VirtualMachinesClient) ListAllComplete(ctx context.Context) (result VirtualMachineListResultIterator, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListAllComplete enumerates all values, automatically crossing page boundaries as required.
func (VirtualMachinesClient) ListAllPreparer
deprecated
func (VirtualMachinesClient) ListAllResponder
deprecated
func (client VirtualMachinesClient) ListAllResponder(resp *http.Response) (result VirtualMachineListResult, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.
func (VirtualMachinesClient) ListAllSender
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListAllSender sends the ListAll request. The method will close the http.Response Body if it receives an error.
func (VirtualMachinesClient) ListAvailableSizes
deprecated
func (client VirtualMachinesClient) ListAvailableSizes(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachineSizeListResult, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListAvailableSizes lists all available virtual machine sizes to which the specified virtual machine can be resized.
resourceGroupName is the name of the resource group. VMName is the name of the virtual machine.
func (VirtualMachinesClient) ListAvailableSizesPreparer
deprecated
func (client VirtualMachinesClient) ListAvailableSizesPreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListAvailableSizesPreparer prepares the ListAvailableSizes request.
func (VirtualMachinesClient) ListAvailableSizesResponder
deprecated
func (client VirtualMachinesClient) ListAvailableSizesResponder(resp *http.Response) (result VirtualMachineSizeListResult, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListAvailableSizesResponder handles the response to the ListAvailableSizes request. The method always closes the http.Response Body.
func (VirtualMachinesClient) ListAvailableSizesSender
deprecated
func (client VirtualMachinesClient) ListAvailableSizesSender(req *http.Request) (*http.Response, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListAvailableSizesSender sends the ListAvailableSizes request. The method will close the http.Response Body if it receives an error.
func (VirtualMachinesClient) ListComplete
deprecated
func (client VirtualMachinesClient) ListComplete(ctx context.Context, resourceGroupName string) (result VirtualMachineListResultIterator, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListComplete enumerates all values, automatically crossing page boundaries as required.
func (VirtualMachinesClient) ListPreparer
deprecated
func (VirtualMachinesClient) ListResponder
deprecated
func (client VirtualMachinesClient) ListResponder(resp *http.Response) (result VirtualMachineListResult, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (VirtualMachinesClient) ListSender
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (VirtualMachinesClient) PowerOff
deprecated
func (client VirtualMachinesClient) PowerOff(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachinesPowerOffFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. 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.
resourceGroupName is the name of the resource group. VMName is the name of the virtual machine.
func (VirtualMachinesClient) PowerOffPreparer
deprecated
func (client VirtualMachinesClient) PowerOffPreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. PowerOffPreparer prepares the PowerOff request.
func (VirtualMachinesClient) PowerOffResponder
deprecated
func (client VirtualMachinesClient) PowerOffResponder(resp *http.Response) (result OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. PowerOffResponder handles the response to the PowerOff request. The method always closes the http.Response Body.
func (VirtualMachinesClient) PowerOffSender
deprecated
func (client VirtualMachinesClient) PowerOffSender(req *http.Request) (future VirtualMachinesPowerOffFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. PowerOffSender sends the PowerOff request. The method will close the http.Response Body if it receives an error.
func (VirtualMachinesClient) Redeploy
deprecated
func (client VirtualMachinesClient) Redeploy(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachinesRedeployFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Redeploy the operation to redeploy a virtual machine.
resourceGroupName is the name of the resource group. VMName is the name of the virtual machine.
func (VirtualMachinesClient) RedeployPreparer
deprecated
func (client VirtualMachinesClient) RedeployPreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. RedeployPreparer prepares the Redeploy request.
func (VirtualMachinesClient) RedeployResponder
deprecated
func (client VirtualMachinesClient) RedeployResponder(resp *http.Response) (result OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. RedeployResponder handles the response to the Redeploy request. The method always closes the http.Response Body.
func (VirtualMachinesClient) RedeploySender
deprecated
func (client VirtualMachinesClient) RedeploySender(req *http.Request) (future VirtualMachinesRedeployFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. RedeploySender sends the Redeploy request. The method will close the http.Response Body if it receives an error.
func (VirtualMachinesClient) Restart
deprecated
func (client VirtualMachinesClient) Restart(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachinesRestartFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Restart the operation to restart a virtual machine.
resourceGroupName is the name of the resource group. VMName is the name of the virtual machine.
func (VirtualMachinesClient) RestartPreparer
deprecated
func (client VirtualMachinesClient) RestartPreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. RestartPreparer prepares the Restart request.
func (VirtualMachinesClient) RestartResponder
deprecated
func (client VirtualMachinesClient) RestartResponder(resp *http.Response) (result OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. RestartResponder handles the response to the Restart request. The method always closes the http.Response Body.
func (VirtualMachinesClient) RestartSender
deprecated
func (client VirtualMachinesClient) RestartSender(req *http.Request) (future VirtualMachinesRestartFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. RestartSender sends the Restart request. The method will close the http.Response Body if it receives an error.
func (VirtualMachinesClient) Start
deprecated
func (client VirtualMachinesClient) Start(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachinesStartFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Start the operation to start a virtual machine.
resourceGroupName is the name of the resource group. VMName is the name of the virtual machine.
func (VirtualMachinesClient) StartPreparer
deprecated
func (client VirtualMachinesClient) StartPreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. StartPreparer prepares the Start request.
func (VirtualMachinesClient) StartResponder
deprecated
func (client VirtualMachinesClient) StartResponder(resp *http.Response) (result OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. StartResponder handles the response to the Start request. The method always closes the http.Response Body.
func (VirtualMachinesClient) StartSender
deprecated
func (client VirtualMachinesClient) StartSender(req *http.Request) (future VirtualMachinesStartFuture, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. StartSender sends the Start request. The method will close the http.Response Body if it receives an error.
type VirtualMachinesConvertToManagedDisksFuture
deprecated
type VirtualMachinesConvertToManagedDisksFuture struct { azure.Future // contains filtered or unexported fields }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachinesConvertToManagedDisksFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (VirtualMachinesConvertToManagedDisksFuture) Result
deprecated
func (future VirtualMachinesConvertToManagedDisksFuture) Result(client VirtualMachinesClient) (osr OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type VirtualMachinesCreateOrUpdateFuture
deprecated
type VirtualMachinesCreateOrUpdateFuture struct { azure.Future // contains filtered or unexported fields }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachinesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (VirtualMachinesCreateOrUpdateFuture) Result
deprecated
func (future VirtualMachinesCreateOrUpdateFuture) Result(client VirtualMachinesClient) (VM VirtualMachine, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type VirtualMachinesDeallocateFuture
deprecated
type VirtualMachinesDeallocateFuture struct { azure.Future // contains filtered or unexported fields }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachinesDeallocateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (VirtualMachinesDeallocateFuture) Result
deprecated
func (future VirtualMachinesDeallocateFuture) Result(client VirtualMachinesClient) (osr OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type VirtualMachinesDeleteFuture
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachinesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (VirtualMachinesDeleteFuture) Result
deprecated
func (future VirtualMachinesDeleteFuture) Result(client VirtualMachinesClient) (osr OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type VirtualMachinesPowerOffFuture
deprecated
type VirtualMachinesPowerOffFuture struct { azure.Future // contains filtered or unexported fields }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachinesPowerOffFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (VirtualMachinesPowerOffFuture) Result
deprecated
func (future VirtualMachinesPowerOffFuture) Result(client VirtualMachinesClient) (osr OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type VirtualMachinesRedeployFuture
deprecated
type VirtualMachinesRedeployFuture struct { azure.Future // contains filtered or unexported fields }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachinesRedeployFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (VirtualMachinesRedeployFuture) Result
deprecated
func (future VirtualMachinesRedeployFuture) Result(client VirtualMachinesClient) (osr OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type VirtualMachinesRestartFuture
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachinesRestartFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (VirtualMachinesRestartFuture) Result
deprecated
func (future VirtualMachinesRestartFuture) Result(client VirtualMachinesClient) (osr OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type VirtualMachinesStartFuture
deprecated
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. VirtualMachinesStartFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (VirtualMachinesStartFuture) Result
deprecated
func (future VirtualMachinesStartFuture) Result(client VirtualMachinesClient) (osr OperationStatusResponse, err error)
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type WinRMConfiguration
deprecated
type WinRMConfiguration struct { // Listeners - The list of Windows Remote Management listeners Listeners *[]WinRMListener `json:"listeners,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. WinRMConfiguration describes Windows Remote Management configuration of the VM
type WinRMListener
deprecated
type WinRMListener struct { // Protocol - Specifies the protocol of 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"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. WinRMListener describes Protocol and thumbprint of Windows Remote Management listener
type WindowsConfiguration
deprecated
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 virtual machine is enabled for automatic updates. EnableAutomaticUpdates *bool `json:"enableAutomaticUpdates,omitempty"` // TimeZone - Specifies the time zone of the virtual machine. e.g. "Pacific Standard Time" 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"` // WinRM - Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell. WinRM *WinRMConfiguration `json:"winRM,omitempty"` }
Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/compute/mgmt/2016-04-30-preview/compute instead. WindowsConfiguration specifies Windows operating system settings on the virtual machine.