Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func PossibleValuesForAllocationMethod() []string + func PossibleValuesForCreateDiffDisk() []string + func PossibleValuesForDeleteFromHost() []string + func PossibleValuesForDynamicMemoryEnabled() []string + func PossibleValuesForForceDelete() []string + func PossibleValuesForIsHighlyAvailable() []string + func PossibleValuesForLimitCPUForMigration() []string + func PossibleValuesForOsType() []string + func PossibleValuesForProvisioningState() []string + func PossibleValuesForSkipShutdown() []string + type AllocationMethod string + const AllocationMethodDynamic + const AllocationMethodStatic + func (s *AllocationMethod) UnmarshalJSON(bytes []byte) error + type AvailabilitySetListItem struct + Id *string + Name *string + type Checkpoint struct + CheckpointID *string + Description *string + Name *string + ParentCheckpointID *string + type CreateCheckpointOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type CreateDiffDisk string + const CreateDiffDiskFalse + const CreateDiffDiskTrue + func (s *CreateDiffDisk) UnmarshalJSON(bytes []byte) error + type CreateOrUpdateOperationResponse struct + HttpResponse *http.Response + Model *VirtualMachineInstance + OData *odata.OData + Poller pollers.Poller + type DeleteCheckpointOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type DeleteFromHost string + const DeleteFromHostFalse + const DeleteFromHostTrue + func (s *DeleteFromHost) UnmarshalJSON(bytes []byte) error + type DeleteOperationOptions struct + DeleteFromHost *DeleteFromHost + Force *ForceDelete + func DefaultDeleteOperationOptions() DeleteOperationOptions + func (o DeleteOperationOptions) ToHeaders() *client.Headers + func (o DeleteOperationOptions) ToOData() *odata.Query + func (o DeleteOperationOptions) ToQuery() *client.QueryParams + type DeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type DynamicMemoryEnabled string + const DynamicMemoryEnabledFalse + const DynamicMemoryEnabledTrue + func (s *DynamicMemoryEnabled) UnmarshalJSON(bytes []byte) error + type ExtendedLocation struct + Name *string + Type *string + type ForceDelete string + const ForceDeleteFalse + const ForceDeleteTrue + func (s *ForceDelete) UnmarshalJSON(bytes []byte) error + type GetOperationResponse struct + HttpResponse *http.Response + Model *VirtualMachineInstance + OData *odata.OData + type HardwareProfile struct + CpuCount *int64 + DynamicMemoryEnabled *DynamicMemoryEnabled + DynamicMemoryMaxMB *int64 + DynamicMemoryMinMB *int64 + IsHighlyAvailable *IsHighlyAvailable + LimitCPUForMigration *LimitCPUForMigration + MemoryMB *int64 + type HardwareProfileUpdate struct + CpuCount *int64 + DynamicMemoryEnabled *DynamicMemoryEnabled + DynamicMemoryMaxMB *int64 + DynamicMemoryMinMB *int64 + LimitCPUForMigration *LimitCPUForMigration + MemoryMB *int64 + type InfrastructureProfile struct + BiosGuid *string + CheckpointType *string + Checkpoints *[]Checkpoint + CloudId *string + Generation *int64 + InventoryItemId *string + LastRestoredVMCheckpoint *Checkpoint + TemplateId *string + Uuid *string + VMmServerId *string + VirtualMachineName *string + type InfrastructureProfileUpdate struct + CheckpointType *string + type IsHighlyAvailable string + const IsHighlyAvailableFalse + const IsHighlyAvailableTrue + func (s *IsHighlyAvailable) UnmarshalJSON(bytes []byte) error + type LimitCPUForMigration string + const LimitCPUForMigrationFalse + const LimitCPUForMigrationTrue + func (s *LimitCPUForMigration) UnmarshalJSON(bytes []byte) error + type ListCompleteResult struct + Items []VirtualMachineInstance + LatestHttpResponse *http.Response + type ListCustomPager struct + NextLink *odata.Link + func (p *ListCustomPager) NextPageLink() *odata.Link + type ListOperationResponse struct + HttpResponse *http.Response + Model *[]VirtualMachineInstance + OData *odata.OData + type NetworkInterface struct + DisplayName *string + IPv4AddressType *AllocationMethod + IPv4Addresses *[]string + IPv6AddressType *AllocationMethod + IPv6Addresses *[]string + MacAddress *string + MacAddressType *AllocationMethod + Name *string + NetworkName *string + NicId *string + VirtualNetworkId *string + type NetworkInterfaceUpdate struct + IPv4AddressType *AllocationMethod + IPv6AddressType *AllocationMethod + MacAddress *string + MacAddressType *AllocationMethod + Name *string + NicId *string + VirtualNetworkId *string + type NetworkProfile struct + NetworkInterfaces *[]NetworkInterface + type NetworkProfileUpdate struct + NetworkInterfaces *[]NetworkInterfaceUpdate + type OsProfileForVMInstance struct + AdminPassword *string + ComputerName *string + DomainName *string + DomainPassword *string + DomainUsername *string + OsSku *string + OsType *OsType + OsVersion *string + ProductKey *string + RunOnceCommands *string + Timezone *int64 + Workgroup *string + type OsType string + const OsTypeLinux + const OsTypeOther + const OsTypeWindows + func (s *OsType) UnmarshalJSON(bytes []byte) error + type ProvisioningState string + const ProvisioningStateAccepted + const ProvisioningStateCanceled + const ProvisioningStateCreated + const ProvisioningStateDeleting + const ProvisioningStateFailed + const ProvisioningStateProvisioning + const ProvisioningStateSucceeded + const ProvisioningStateUpdating + func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error + type RestartOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type RestoreCheckpointOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type SkipShutdown string + const SkipShutdownFalse + const SkipShutdownTrue + func (s *SkipShutdown) UnmarshalJSON(bytes []byte) error + type StartOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type StopOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type StopVirtualMachineOptions struct + SkipShutdown *SkipShutdown + type StorageProfile struct + Disks *[]VirtualDisk + type StorageProfileUpdate struct + Disks *[]VirtualDiskUpdate + type StorageQosPolicyDetails struct + Id *string + Name *string + type UpdateOperationResponse struct + HttpResponse *http.Response + Model *VirtualMachineInstance + OData *odata.OData + Poller pollers.Poller + type VirtualDisk struct + Bus *int64 + BusType *string + CreateDiffDisk *CreateDiffDisk + DiskId *string + DiskSizeGB *int64 + DisplayName *string + Lun *int64 + MaxDiskSizeGB *int64 + Name *string + StorageQoSPolicy *StorageQosPolicyDetails + TemplateDiskId *string + VhdFormatType *string + VhdType *string + VolumeType *string + type VirtualDiskUpdate struct + Bus *int64 + BusType *string + DiskId *string + DiskSizeGB *int64 + Lun *int64 + Name *string + StorageQoSPolicy *StorageQosPolicyDetails + VhdType *string + type VirtualMachineCreateCheckpoint struct + Description *string + Name *string + type VirtualMachineDeleteCheckpoint struct + Id *string + type VirtualMachineInstance struct + ExtendedLocation ExtendedLocation + Id *string + Name *string + Properties *VirtualMachineInstanceProperties + SystemData *systemdata.SystemData + Type *string + type VirtualMachineInstanceOperationPredicate struct + Id *string + Name *string + Type *string + func (p VirtualMachineInstanceOperationPredicate) Matches(input VirtualMachineInstance) bool + type VirtualMachineInstanceProperties struct + AvailabilitySets *[]AvailabilitySetListItem + HardwareProfile *HardwareProfile + InfrastructureProfile *InfrastructureProfile + NetworkProfile *NetworkProfile + OsProfile *OsProfileForVMInstance + PowerState *string + ProvisioningState *ProvisioningState + StorageProfile *StorageProfile + type VirtualMachineInstanceUpdate struct + Properties *VirtualMachineInstanceUpdateProperties + type VirtualMachineInstanceUpdateProperties struct + AvailabilitySets *[]AvailabilitySetListItem + HardwareProfile *HardwareProfileUpdate + InfrastructureProfile *InfrastructureProfileUpdate + NetworkProfile *NetworkProfileUpdate + StorageProfile *StorageProfileUpdate + type VirtualMachineInstancesClient struct + Client *resourcemanager.Client + func NewVirtualMachineInstancesClientWithBaseURI(sdkApi sdkEnv.Api) (*VirtualMachineInstancesClient, error) + 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 struct + Id *string