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 PossibleValuesForDiskMode() []string + func PossibleValuesForDiskType() []string + func PossibleValuesForFirmwareType() []string + func PossibleValuesForIPAddressAllocationMethod() []string + func PossibleValuesForNICType() []string + func PossibleValuesForOsType() []string + func PossibleValuesForPowerOnBootOption() []string + func PossibleValuesForProvisioningState() []string + func PossibleValuesForSCSIControllerType() []string + func PossibleValuesForVirtualSCSISharing() []string + type CreateOrUpdateOperationResponse struct + HttpResponse *http.Response + Model *VirtualMachineInstance + OData *odata.OData + Poller pollers.Poller + type DeleteOperationOptions struct + DeleteFromHost *bool + Force *bool + 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 DiskMode string + const DiskModeIndependentNonpersistent + const DiskModeIndependentPersistent + const DiskModePersistent + func (s *DiskMode) UnmarshalJSON(bytes []byte) error + type DiskType string + const DiskTypeFlat + const DiskTypePmem + const DiskTypeRawphysical + const DiskTypeRawvirtual + const DiskTypeSesparse + const DiskTypeSparse + const DiskTypeUnknown + func (s *DiskType) UnmarshalJSON(bytes []byte) error + type ExtendedLocation struct + Name *string + Type *string + type FirmwareType string + const FirmwareTypeBios + const FirmwareTypeEfi + func (s *FirmwareType) UnmarshalJSON(bytes []byte) error + type GetOperationResponse struct + HttpResponse *http.Response + Model *VirtualMachineInstance + OData *odata.OData + type HardwareProfile struct + CpuHotAddEnabled *bool + CpuHotRemoveEnabled *bool + MemoryHotAddEnabled *bool + MemorySizeMB *int64 + NumCPUs *int64 + NumCoresPerSocket *int64 + type IPAddressAllocationMethod string + const IPAddressAllocationMethodDynamic + const IPAddressAllocationMethodLinklayer + const IPAddressAllocationMethodOther + const IPAddressAllocationMethodRandom + const IPAddressAllocationMethodStatic + const IPAddressAllocationMethodUnset + func (s *IPAddressAllocationMethod) UnmarshalJSON(bytes []byte) error + type InfrastructureProfile struct + CustomResourceName *string + FirmwareType *FirmwareType + FolderPath *string + InstanceUuid *string + InventoryItemId *string + MoName *string + MoRefId *string + SmbiosUuid *string + TemplateId *string + VCenterId *string + 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 NICType string + const NICTypeEOneThousand + const NICTypeEOneThousande + const NICTypePcnetThreeTwo + const NICTypeVMxnet + const NICTypeVMxnetThree + const NICTypeVMxnetTwo + func (s *NICType) UnmarshalJSON(bytes []byte) error + type NetworkInterface struct + DeviceKey *int64 + IPAddresses *[]string + IPSettings *NicIPSettings + Label *string + MacAddress *string + Name *string + NetworkId *string + NetworkMoName *string + NetworkMoRefId *string + NicType *NICType + PowerOnBoot *PowerOnBootOption + type NetworkInterfaceUpdate struct + DeviceKey *int64 + Name *string + NetworkId *string + NicType *NICType + PowerOnBoot *PowerOnBootOption + type NetworkProfile struct + NetworkInterfaces *[]NetworkInterface + type NetworkProfileUpdate struct + NetworkInterfaces *[]NetworkInterfaceUpdate + type NicIPAddressSettings struct + AllocationMethod *string + IPAddress *string + SubnetMask *string + type NicIPSettings struct + AllocationMethod *IPAddressAllocationMethod + DnsServers *[]string + Gateway *[]string + IPAddress *string + IPAddressInfo *[]NicIPAddressSettings + PrimaryWinsServer *string + SecondaryWinsServer *string + SubnetMask *string + type OsProfileForVMInstance struct + AdminPassword *string + AdminUsername *string + ComputerName *string + GuestId *string + OsSku *string + OsType *OsType + ToolsRunningStatus *string + ToolsVersion *string + ToolsVersionStatus *string + type OsType string + const OsTypeLinux + const OsTypeOther + const OsTypeWindows + func (s *OsType) UnmarshalJSON(bytes []byte) error + type PlacementProfile struct + ClusterId *string + DatastoreId *string + HostId *string + ResourcePoolId *string + type PowerOnBootOption string + const PowerOnBootOptionDisabled + const PowerOnBootOptionEnabled + func (s *PowerOnBootOption) 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 ResourceStatus struct + LastUpdatedAt *string + Message *string + Reason *string + Severity *string + Status *string + Type *string + func (o *ResourceStatus) GetLastUpdatedAtAsTime() (*time.Time, error) + func (o *ResourceStatus) SetLastUpdatedAtAsTime(input time.Time) + type RestartOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type SCSIControllerType string + const SCSIControllerTypeBuslogic + const SCSIControllerTypeLsilogic + const SCSIControllerTypeLsilogicsas + const SCSIControllerTypePvscsi + func (s *SCSIControllerType) UnmarshalJSON(bytes []byte) error + type SecurityProfile struct + UefiSettings *UefiSettings + 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 *bool + type StorageProfile struct + Disks *[]VirtualDisk + ScsiControllers *[]VirtualSCSIController + type StorageProfileUpdate struct + Disks *[]VirtualDiskUpdate + type UefiSettings struct + SecureBootEnabled *bool + type UpdateOperationResponse struct + HttpResponse *http.Response + Model *VirtualMachineInstance + OData *odata.OData + Poller pollers.Poller + type VirtualDisk struct + ControllerKey *int64 + DeviceKey *int64 + DeviceName *string + DiskMode *DiskMode + DiskObjectId *string + DiskSizeGB *int64 + DiskType *DiskType + Label *string + Name *string + UnitNumber *int64 + type VirtualDiskUpdate struct + ControllerKey *int64 + DeviceKey *int64 + DeviceName *string + DiskMode *DiskMode + DiskSizeGB *int64 + DiskType *DiskType + Name *string + UnitNumber *int64 + 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 + HardwareProfile *HardwareProfile + InfrastructureProfile *InfrastructureProfile + NetworkProfile *NetworkProfile + OsProfile *OsProfileForVMInstance + PlacementProfile *PlacementProfile + PowerState *string + ProvisioningState *ProvisioningState + ResourceUid *string + SecurityProfile *SecurityProfile + Statuses *[]ResourceStatus + StorageProfile *StorageProfile + type VirtualMachineInstanceUpdate struct + Properties *VirtualMachineInstanceUpdateProperties + type VirtualMachineInstanceUpdateProperties struct + HardwareProfile *HardwareProfile + NetworkProfile *NetworkProfileUpdate + StorageProfile *StorageProfileUpdate + type VirtualMachineInstancesClient struct + Client *resourcemanager.Client + func NewVirtualMachineInstancesClientWithBaseURI(sdkApi sdkEnv.Api) (*VirtualMachineInstancesClient, 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) 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) 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 VirtualSCSIController struct + BusNumber *int64 + ControllerKey *int64 + ScsiCtlrUnitNumber *int64 + Sharing *VirtualSCSISharing + Type *SCSIControllerType + type VirtualSCSISharing string + const VirtualSCSISharingNoSharing + const VirtualSCSISharingPhysicalSharing + const VirtualSCSISharingVirtualSharing + func (s *VirtualSCSISharing) UnmarshalJSON(bytes []byte) error