Documentation ¶
Index ¶
- func PossibleValuesForAllocationMethod() []string
- func PossibleValuesForCreateDiffDisk() []string
- func PossibleValuesForDeleteFromHost() []string
- func PossibleValuesForDynamicMemoryEnabled() []string
- func PossibleValuesForForce() []string
- func PossibleValuesForIsHighlyAvailable() []string
- func PossibleValuesForLimitCPUForMigration() []string
- func PossibleValuesForOsType() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForSkipShutdown() []string
- type AllocationMethod
- type AvailabilitySetListAvailabilitySetsInlined
- type Checkpoint
- type CreateCheckpointOperationResponse
- type CreateDiffDisk
- type CreateOrUpdateOperationResponse
- type DeleteCheckpointOperationResponse
- type DeleteFromHost
- type DeleteOperationOptions
- type DeleteOperationResponse
- type DynamicMemoryEnabled
- type ExtendedLocation
- type Force
- type GetOperationResponse
- type HardwareProfile
- type HardwareProfileUpdate
- type InfrastructureProfile
- type InfrastructureProfileUpdate
- type IsHighlyAvailable
- type LimitCPUForMigration
- type ListCompleteResult
- type ListOperationResponse
- type NetworkInterface
- type NetworkInterfaceUpdate
- type NetworkProfile
- type NetworkProfileUpdate
- type OsProfileForVMInstance
- type OsType
- type ProvisioningState
- type RestartOperationResponse
- type RestoreCheckpointOperationResponse
- type SkipShutdown
- type StartOperationResponse
- type StopOperationResponse
- type StopVirtualMachineOptions
- type StorageProfile
- type StorageProfileUpdate
- type StorageQoSPolicyDetails
- type UpdateOperationResponse
- type VirtualDisk
- type VirtualDiskUpdate
- type VirtualMachineCreateCheckpoint
- type VirtualMachineDeleteCheckpoint
- type VirtualMachineInstance
- type VirtualMachineInstanceOperationPredicate
- type VirtualMachineInstanceProperties
- type VirtualMachineInstanceUpdate
- type VirtualMachineInstanceUpdateProperties
- type VirtualMachineInstancesClient
- func (c VirtualMachineInstancesClient) CreateCheckpoint(ctx context.Context, id commonids.ScopeId, ...) (result CreateCheckpointOperationResponse, err error)
- func (c VirtualMachineInstancesClient) CreateCheckpointThenPoll(ctx context.Context, id commonids.ScopeId, ...) error
- func (c VirtualMachineInstancesClient) CreateOrUpdate(ctx context.Context, id commonids.ScopeId, input VirtualMachineInstance) (result CreateOrUpdateOperationResponse, err error)
- func (c VirtualMachineInstancesClient) CreateOrUpdateThenPoll(ctx context.Context, id commonids.ScopeId, input VirtualMachineInstance) error
- func (c VirtualMachineInstancesClient) Delete(ctx context.Context, id commonids.ScopeId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c VirtualMachineInstancesClient) DeleteCheckpoint(ctx context.Context, id commonids.ScopeId, ...) (result DeleteCheckpointOperationResponse, err error)
- func (c VirtualMachineInstancesClient) DeleteCheckpointThenPoll(ctx context.Context, id commonids.ScopeId, ...) error
- func (c VirtualMachineInstancesClient) DeleteThenPoll(ctx context.Context, id commonids.ScopeId, options DeleteOperationOptions) error
- func (c VirtualMachineInstancesClient) Get(ctx context.Context, id commonids.ScopeId) (result GetOperationResponse, err error)
- func (c VirtualMachineInstancesClient) List(ctx context.Context, id commonids.ScopeId) (result ListOperationResponse, err error)
- func (c VirtualMachineInstancesClient) ListComplete(ctx context.Context, id commonids.ScopeId) (ListCompleteResult, error)
- func (c VirtualMachineInstancesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, ...) (result ListCompleteResult, err error)
- func (c VirtualMachineInstancesClient) Restart(ctx context.Context, id commonids.ScopeId) (result RestartOperationResponse, err error)
- func (c VirtualMachineInstancesClient) RestartThenPoll(ctx context.Context, id commonids.ScopeId) error
- func (c VirtualMachineInstancesClient) RestoreCheckpoint(ctx context.Context, id commonids.ScopeId, ...) (result RestoreCheckpointOperationResponse, err error)
- func (c VirtualMachineInstancesClient) RestoreCheckpointThenPoll(ctx context.Context, id commonids.ScopeId, ...) error
- func (c VirtualMachineInstancesClient) Start(ctx context.Context, id commonids.ScopeId) (result StartOperationResponse, err error)
- func (c VirtualMachineInstancesClient) StartThenPoll(ctx context.Context, id commonids.ScopeId) error
- func (c VirtualMachineInstancesClient) Stop(ctx context.Context, id commonids.ScopeId, input StopVirtualMachineOptions) (result StopOperationResponse, err error)
- func (c VirtualMachineInstancesClient) StopThenPoll(ctx context.Context, id commonids.ScopeId, input StopVirtualMachineOptions) error
- func (c VirtualMachineInstancesClient) Update(ctx context.Context, id commonids.ScopeId, input VirtualMachineInstanceUpdate) (result UpdateOperationResponse, err error)
- func (c VirtualMachineInstancesClient) UpdateThenPoll(ctx context.Context, id commonids.ScopeId, input VirtualMachineInstanceUpdate) error
- type VirtualMachineRestoreCheckpoint
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAllocationMethod ¶
func PossibleValuesForAllocationMethod() []string
func PossibleValuesForCreateDiffDisk ¶
func PossibleValuesForCreateDiffDisk() []string
func PossibleValuesForDeleteFromHost ¶
func PossibleValuesForDeleteFromHost() []string
func PossibleValuesForDynamicMemoryEnabled ¶
func PossibleValuesForDynamicMemoryEnabled() []string
func PossibleValuesForForce ¶
func PossibleValuesForForce() []string
func PossibleValuesForIsHighlyAvailable ¶
func PossibleValuesForIsHighlyAvailable() []string
func PossibleValuesForLimitCPUForMigration ¶
func PossibleValuesForLimitCPUForMigration() []string
func PossibleValuesForOsType ¶
func PossibleValuesForOsType() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForSkipShutdown ¶
func PossibleValuesForSkipShutdown() []string
Types ¶
type AllocationMethod ¶
type AllocationMethod string
const ( AllocationMethodDynamic AllocationMethod = "Dynamic" AllocationMethodStatic AllocationMethod = "Static" )
func (*AllocationMethod) UnmarshalJSON ¶
func (s *AllocationMethod) UnmarshalJSON(bytes []byte) error
type Checkpoint ¶
type CreateDiffDisk ¶
type CreateDiffDisk string
const ( CreateDiffDiskFalse CreateDiffDisk = "false" CreateDiffDiskTrue CreateDiffDisk = "true" )
func (*CreateDiffDisk) UnmarshalJSON ¶
func (s *CreateDiffDisk) UnmarshalJSON(bytes []byte) error
type DeleteFromHost ¶
type DeleteFromHost string
const ( DeleteFromHostFalse DeleteFromHost = "false" DeleteFromHostTrue DeleteFromHost = "true" )
func (*DeleteFromHost) UnmarshalJSON ¶
func (s *DeleteFromHost) UnmarshalJSON(bytes []byte) error
type DeleteOperationOptions ¶
type DeleteOperationOptions struct { DeleteFromHost *DeleteFromHost Force *Force }
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
func (DeleteOperationOptions) ToHeaders ¶
func (o DeleteOperationOptions) ToHeaders() *client.Headers
func (DeleteOperationOptions) ToOData ¶
func (o DeleteOperationOptions) ToOData() *odata.Query
func (DeleteOperationOptions) ToQuery ¶
func (o DeleteOperationOptions) ToQuery() *client.QueryParams
type DeleteOperationResponse ¶
type DynamicMemoryEnabled ¶
type DynamicMemoryEnabled string
const ( DynamicMemoryEnabledFalse DynamicMemoryEnabled = "false" DynamicMemoryEnabledTrue DynamicMemoryEnabled = "true" )
func (*DynamicMemoryEnabled) UnmarshalJSON ¶
func (s *DynamicMemoryEnabled) UnmarshalJSON(bytes []byte) error
type ExtendedLocation ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *VirtualMachineInstance }
type HardwareProfile ¶
type HardwareProfile struct { CpuCount *int64 `json:"cpuCount,omitempty"` DynamicMemoryEnabled *DynamicMemoryEnabled `json:"dynamicMemoryEnabled,omitempty"` DynamicMemoryMaxMB *int64 `json:"dynamicMemoryMaxMB,omitempty"` DynamicMemoryMinMB *int64 `json:"dynamicMemoryMinMB,omitempty"` IsHighlyAvailable *IsHighlyAvailable `json:"isHighlyAvailable,omitempty"` LimitCPUForMigration *LimitCPUForMigration `json:"limitCpuForMigration,omitempty"` MemoryMB *int64 `json:"memoryMB,omitempty"` }
type HardwareProfileUpdate ¶
type HardwareProfileUpdate struct { CpuCount *int64 `json:"cpuCount,omitempty"` DynamicMemoryEnabled *DynamicMemoryEnabled `json:"dynamicMemoryEnabled,omitempty"` DynamicMemoryMaxMB *int64 `json:"dynamicMemoryMaxMB,omitempty"` DynamicMemoryMinMB *int64 `json:"dynamicMemoryMinMB,omitempty"` LimitCPUForMigration *LimitCPUForMigration `json:"limitCpuForMigration,omitempty"` MemoryMB *int64 `json:"memoryMB,omitempty"` }
type InfrastructureProfile ¶
type InfrastructureProfile struct { BiosGuid *string `json:"biosGuid,omitempty"` CheckpointType *string `json:"checkpointType,omitempty"` Checkpoints *[]Checkpoint `json:"checkpoints,omitempty"` CloudId *string `json:"cloudId,omitempty"` Generation *int64 `json:"generation,omitempty"` InventoryItemId *string `json:"inventoryItemId,omitempty"` LastRestoredVMCheckpoint *Checkpoint `json:"lastRestoredVMCheckpoint,omitempty"` TemplateId *string `json:"templateId,omitempty"` Uuid *string `json:"uuid,omitempty"` VMmServerId *string `json:"vmmServerId,omitempty"` VirtualMachineName *string `json:"vmName,omitempty"` }
type InfrastructureProfileUpdate ¶
type InfrastructureProfileUpdate struct {
CheckpointType *string `json:"checkpointType,omitempty"`
}
type IsHighlyAvailable ¶
type IsHighlyAvailable string
const ( IsHighlyAvailableFalse IsHighlyAvailable = "false" IsHighlyAvailableTrue IsHighlyAvailable = "true" )
func (*IsHighlyAvailable) UnmarshalJSON ¶
func (s *IsHighlyAvailable) UnmarshalJSON(bytes []byte) error
type LimitCPUForMigration ¶
type LimitCPUForMigration string
const ( LimitCPUForMigrationFalse LimitCPUForMigration = "false" LimitCPUForMigrationTrue LimitCPUForMigration = "true" )
func (*LimitCPUForMigration) UnmarshalJSON ¶
func (s *LimitCPUForMigration) UnmarshalJSON(bytes []byte) error
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []VirtualMachineInstance
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]VirtualMachineInstance }
type NetworkInterface ¶
type NetworkInterface struct { DisplayName *string `json:"displayName,omitempty"` IPv4AddressType *AllocationMethod `json:"ipv4AddressType,omitempty"` IPv4Addresses *[]string `json:"ipv4Addresses,omitempty"` IPv6AddressType *AllocationMethod `json:"ipv6AddressType,omitempty"` IPv6Addresses *[]string `json:"ipv6Addresses,omitempty"` MacAddress *string `json:"macAddress,omitempty"` MacAddressType *AllocationMethod `json:"macAddressType,omitempty"` Name *string `json:"name,omitempty"` NetworkName *string `json:"networkName,omitempty"` NicId *string `json:"nicId,omitempty"` VirtualNetworkId *string `json:"virtualNetworkId,omitempty"` }
type NetworkInterfaceUpdate ¶
type NetworkInterfaceUpdate struct { IPv4AddressType *AllocationMethod `json:"ipv4AddressType,omitempty"` IPv6AddressType *AllocationMethod `json:"ipv6AddressType,omitempty"` MacAddress *string `json:"macAddress,omitempty"` MacAddressType *AllocationMethod `json:"macAddressType,omitempty"` Name *string `json:"name,omitempty"` NicId *string `json:"nicId,omitempty"` VirtualNetworkId *string `json:"virtualNetworkId,omitempty"` }
type NetworkProfile ¶
type NetworkProfile struct {
NetworkInterfaces *[]NetworkInterface `json:"networkInterfaces,omitempty"`
}
type NetworkProfileUpdate ¶
type NetworkProfileUpdate struct {
NetworkInterfaces *[]NetworkInterfaceUpdate `json:"networkInterfaces,omitempty"`
}
type OsProfileForVMInstance ¶
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreated ProvisioningState = "Created" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateProvisioning ProvisioningState = "Provisioning" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type SkipShutdown ¶
type SkipShutdown string
const ( SkipShutdownFalse SkipShutdown = "false" SkipShutdownTrue SkipShutdown = "true" )
func (*SkipShutdown) UnmarshalJSON ¶
func (s *SkipShutdown) UnmarshalJSON(bytes []byte) error
type StartOperationResponse ¶
type StopOperationResponse ¶
type StopVirtualMachineOptions ¶
type StopVirtualMachineOptions struct {
SkipShutdown *SkipShutdown `json:"skipShutdown,omitempty"`
}
type StorageProfile ¶
type StorageProfile struct {
Disks *[]VirtualDisk `json:"disks,omitempty"`
}
type StorageProfileUpdate ¶
type StorageProfileUpdate struct {
Disks *[]VirtualDiskUpdate `json:"disks,omitempty"`
}
type StorageQoSPolicyDetails ¶
type UpdateOperationResponse ¶
type VirtualDisk ¶
type VirtualDisk struct { Bus *int64 `json:"bus,omitempty"` BusType *string `json:"busType,omitempty"` CreateDiffDisk *CreateDiffDisk `json:"createDiffDisk,omitempty"` DiskId *string `json:"diskId,omitempty"` DiskSizeGB *int64 `json:"diskSizeGB,omitempty"` DisplayName *string `json:"displayName,omitempty"` Lun *int64 `json:"lun,omitempty"` MaxDiskSizeGB *int64 `json:"maxDiskSizeGB,omitempty"` Name *string `json:"name,omitempty"` StorageQoSPolicy *StorageQoSPolicyDetails `json:"storageQoSPolicy,omitempty"` TemplateDiskId *string `json:"templateDiskId,omitempty"` VhdFormatType *string `json:"vhdFormatType,omitempty"` VhdType *string `json:"vhdType,omitempty"` VolumeType *string `json:"volumeType,omitempty"` }
type VirtualDiskUpdate ¶
type VirtualDiskUpdate struct { Bus *int64 `json:"bus,omitempty"` BusType *string `json:"busType,omitempty"` DiskId *string `json:"diskId,omitempty"` DiskSizeGB *int64 `json:"diskSizeGB,omitempty"` Lun *int64 `json:"lun,omitempty"` Name *string `json:"name,omitempty"` StorageQoSPolicy *StorageQoSPolicyDetails `json:"storageQoSPolicy,omitempty"` VhdType *string `json:"vhdType,omitempty"` }
type VirtualMachineDeleteCheckpoint ¶
type VirtualMachineDeleteCheckpoint struct {
Id *string `json:"id,omitempty"`
}
type VirtualMachineInstance ¶
type VirtualMachineInstance struct { ExtendedLocation ExtendedLocation `json:"extendedLocation"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties VirtualMachineInstanceProperties `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type VirtualMachineInstanceOperationPredicate ¶
func (VirtualMachineInstanceOperationPredicate) Matches ¶
func (p VirtualMachineInstanceOperationPredicate) Matches(input VirtualMachineInstance) bool
type VirtualMachineInstanceProperties ¶
type VirtualMachineInstanceProperties struct { AvailabilitySets *[]AvailabilitySetListAvailabilitySetsInlined `json:"availabilitySets,omitempty"` HardwareProfile *HardwareProfile `json:"hardwareProfile,omitempty"` InfrastructureProfile *InfrastructureProfile `json:"infrastructureProfile,omitempty"` NetworkProfile *NetworkProfile `json:"networkProfile,omitempty"` OsProfile *OsProfileForVMInstance `json:"osProfile,omitempty"` PowerState *string `json:"powerState,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` StorageProfile *StorageProfile `json:"storageProfile,omitempty"` }
type VirtualMachineInstanceUpdate ¶
type VirtualMachineInstanceUpdate struct {
Properties *VirtualMachineInstanceUpdateProperties `json:"properties,omitempty"`
}
type VirtualMachineInstanceUpdateProperties ¶
type VirtualMachineInstanceUpdateProperties struct { AvailabilitySets *[]AvailabilitySetListAvailabilitySetsInlined `json:"availabilitySets,omitempty"` HardwareProfile *HardwareProfileUpdate `json:"hardwareProfile,omitempty"` InfrastructureProfile *InfrastructureProfileUpdate `json:"infrastructureProfile,omitempty"` NetworkProfile *NetworkProfileUpdate `json:"networkProfile,omitempty"` StorageProfile *StorageProfileUpdate `json:"storageProfile,omitempty"` }
type VirtualMachineInstancesClient ¶
type VirtualMachineInstancesClient struct {
Client *resourcemanager.Client
}
func NewVirtualMachineInstancesClientWithBaseURI ¶
func NewVirtualMachineInstancesClientWithBaseURI(sdkApi sdkEnv.Api) (*VirtualMachineInstancesClient, error)
func (VirtualMachineInstancesClient) CreateCheckpoint ¶
func (c VirtualMachineInstancesClient) CreateCheckpoint(ctx context.Context, id commonids.ScopeId, input VirtualMachineCreateCheckpoint) (result CreateCheckpointOperationResponse, err error)
CreateCheckpoint ...
func (VirtualMachineInstancesClient) CreateCheckpointThenPoll ¶
func (c VirtualMachineInstancesClient) CreateCheckpointThenPoll(ctx context.Context, id commonids.ScopeId, input VirtualMachineCreateCheckpoint) error
CreateCheckpointThenPoll performs CreateCheckpoint then polls until it's completed
func (VirtualMachineInstancesClient) CreateOrUpdate ¶
func (c VirtualMachineInstancesClient) CreateOrUpdate(ctx context.Context, id commonids.ScopeId, input VirtualMachineInstance) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (VirtualMachineInstancesClient) CreateOrUpdateThenPoll ¶
func (c VirtualMachineInstancesClient) CreateOrUpdateThenPoll(ctx context.Context, id commonids.ScopeId, input VirtualMachineInstance) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (VirtualMachineInstancesClient) Delete ¶
func (c VirtualMachineInstancesClient) Delete(ctx context.Context, id commonids.ScopeId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (VirtualMachineInstancesClient) DeleteCheckpoint ¶
func (c VirtualMachineInstancesClient) DeleteCheckpoint(ctx context.Context, id commonids.ScopeId, input VirtualMachineDeleteCheckpoint) (result DeleteCheckpointOperationResponse, err error)
DeleteCheckpoint ...
func (VirtualMachineInstancesClient) DeleteCheckpointThenPoll ¶
func (c VirtualMachineInstancesClient) DeleteCheckpointThenPoll(ctx context.Context, id commonids.ScopeId, input VirtualMachineDeleteCheckpoint) error
DeleteCheckpointThenPoll performs DeleteCheckpoint then polls until it's completed
func (VirtualMachineInstancesClient) DeleteThenPoll ¶
func (c VirtualMachineInstancesClient) DeleteThenPoll(ctx context.Context, id commonids.ScopeId, options DeleteOperationOptions) error
DeleteThenPoll performs Delete then polls until it's completed
func (VirtualMachineInstancesClient) Get ¶
func (c VirtualMachineInstancesClient) Get(ctx context.Context, id commonids.ScopeId) (result GetOperationResponse, err error)
Get ...
func (VirtualMachineInstancesClient) List ¶
func (c VirtualMachineInstancesClient) List(ctx context.Context, id commonids.ScopeId) (result ListOperationResponse, err error)
List ...
func (VirtualMachineInstancesClient) ListComplete ¶
func (c VirtualMachineInstancesClient) ListComplete(ctx context.Context, id commonids.ScopeId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (VirtualMachineInstancesClient) ListCompleteMatchingPredicate ¶
func (c VirtualMachineInstancesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, predicate VirtualMachineInstanceOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (VirtualMachineInstancesClient) Restart ¶
func (c VirtualMachineInstancesClient) Restart(ctx context.Context, id commonids.ScopeId) (result RestartOperationResponse, err error)
Restart ...
func (VirtualMachineInstancesClient) RestartThenPoll ¶
func (c VirtualMachineInstancesClient) RestartThenPoll(ctx context.Context, id commonids.ScopeId) error
RestartThenPoll performs Restart then polls until it's completed
func (VirtualMachineInstancesClient) RestoreCheckpoint ¶
func (c VirtualMachineInstancesClient) RestoreCheckpoint(ctx context.Context, id commonids.ScopeId, input VirtualMachineRestoreCheckpoint) (result RestoreCheckpointOperationResponse, err error)
RestoreCheckpoint ...
func (VirtualMachineInstancesClient) RestoreCheckpointThenPoll ¶
func (c VirtualMachineInstancesClient) RestoreCheckpointThenPoll(ctx context.Context, id commonids.ScopeId, input VirtualMachineRestoreCheckpoint) error
RestoreCheckpointThenPoll performs RestoreCheckpoint then polls until it's completed
func (VirtualMachineInstancesClient) Start ¶
func (c VirtualMachineInstancesClient) Start(ctx context.Context, id commonids.ScopeId) (result StartOperationResponse, err error)
Start ...
func (VirtualMachineInstancesClient) StartThenPoll ¶
func (c VirtualMachineInstancesClient) StartThenPoll(ctx context.Context, id commonids.ScopeId) error
StartThenPoll performs Start then polls until it's completed
func (VirtualMachineInstancesClient) Stop ¶
func (c VirtualMachineInstancesClient) Stop(ctx context.Context, id commonids.ScopeId, input StopVirtualMachineOptions) (result StopOperationResponse, err error)
Stop ...
func (VirtualMachineInstancesClient) StopThenPoll ¶
func (c VirtualMachineInstancesClient) StopThenPoll(ctx context.Context, id commonids.ScopeId, input StopVirtualMachineOptions) error
StopThenPoll performs Stop then polls until it's completed
func (VirtualMachineInstancesClient) Update ¶
func (c VirtualMachineInstancesClient) Update(ctx context.Context, id commonids.ScopeId, input VirtualMachineInstanceUpdate) (result UpdateOperationResponse, err error)
Update ...
func (VirtualMachineInstancesClient) UpdateThenPoll ¶
func (c VirtualMachineInstancesClient) UpdateThenPoll(ctx context.Context, id commonids.ScopeId, input VirtualMachineInstanceUpdate) error
UpdateThenPoll performs Update then polls until it's completed
type VirtualMachineRestoreCheckpoint ¶
type VirtualMachineRestoreCheckpoint struct {
Id *string `json:"id,omitempty"`
}
Source Files ¶
- client.go
- constants.go
- method_createcheckpoint.go
- method_createorupdate.go
- method_delete.go
- method_deletecheckpoint.go
- method_get.go
- method_list.go
- method_restart.go
- method_restorecheckpoint.go
- method_start.go
- method_stop.go
- method_update.go
- model_availabilitysetlistavailabilitysetsinlined.go
- model_checkpoint.go
- model_extendedlocation.go
- model_hardwareprofile.go
- model_hardwareprofileupdate.go
- model_infrastructureprofile.go
- model_infrastructureprofileupdate.go
- model_networkinterface.go
- model_networkinterfaceupdate.go
- model_networkprofile.go
- model_networkprofileupdate.go
- model_osprofileforvminstance.go
- model_stopvirtualmachineoptions.go
- model_storageprofile.go
- model_storageprofileupdate.go
- model_storageqospolicydetails.go
- model_virtualdisk.go
- model_virtualdiskupdate.go
- model_virtualmachinecreatecheckpoint.go
- model_virtualmachinedeletecheckpoint.go
- model_virtualmachineinstance.go
- model_virtualmachineinstanceproperties.go
- model_virtualmachineinstanceupdate.go
- model_virtualmachineinstanceupdateproperties.go
- model_virtualmachinerestorecheckpoint.go
- predicates.go
- version.go