Documentation ¶
Index ¶
- func PossibleValuesForExtendedLocationTypes() []string
- func PossibleValuesForOperatingSystemTypes() []string
- func PossibleValuesForPowerStateEnum() []string
- func PossibleValuesForProvisioningStateEnum() []string
- func PossibleValuesForSecurityTypes() []string
- func PossibleValuesForStatus() []string
- func PossibleValuesForStatusLevelTypes() []string
- func PossibleValuesForStatusTypes() []string
- func PossibleValuesForVMSizeEnum() []string
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type ErrorAdditionalInfo
- type ErrorDetail
- type ExtendedLocation
- type ExtendedLocationTypes
- type GetOperationResponse
- type GuestAgentInstallStatus
- type HTTPProxyConfiguration
- type HardwareProfileUpdate
- type InstanceViewStatus
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type NetworkProfileUpdate
- type NetworkProfileUpdateNetworkInterfacesInlined
- type OperatingSystemTypes
- type OsProfileUpdate
- type OsProfileUpdateLinuxConfiguration
- type OsProfileUpdateWindowsConfiguration
- type PowerStateEnum
- type ProvisioningStateEnum
- type RestartOperationResponse
- type SecurityTypes
- type SshConfiguration
- type SshPublicKey
- type StartOperationResponse
- type Status
- type StatusLevelTypes
- type StatusTypes
- type StopOperationResponse
- type StorageProfileUpdate
- type StorageProfileUpdateDataDisksInlined
- type UpdateOperationResponse
- type VMSizeEnum
- type VirtualMachineConfigAgentInstanceView
- type VirtualMachineInstance
- type VirtualMachineInstanceOperationPredicate
- type VirtualMachineInstanceProperties
- type VirtualMachineInstancePropertiesHardwareProfile
- type VirtualMachineInstancePropertiesHardwareProfileDynamicMemoryConfig
- type VirtualMachineInstancePropertiesNetworkProfile
- type VirtualMachineInstancePropertiesNetworkProfileNetworkInterfacesInlined
- type VirtualMachineInstancePropertiesOsProfile
- type VirtualMachineInstancePropertiesOsProfileLinuxConfiguration
- type VirtualMachineInstancePropertiesOsProfileWindowsConfiguration
- type VirtualMachineInstancePropertiesSecurityProfile
- type VirtualMachineInstancePropertiesSecurityProfileUefiSettings
- type VirtualMachineInstancePropertiesStorageProfile
- type VirtualMachineInstancePropertiesStorageProfileDataDisksInlined
- type VirtualMachineInstancePropertiesStorageProfileImageReference
- type VirtualMachineInstancePropertiesStorageProfileOsDisk
- type VirtualMachineInstanceStatus
- type VirtualMachineInstanceStatusProvisioningStatus
- type VirtualMachineInstanceUpdateProperties
- type VirtualMachineInstanceUpdateRequest
- type VirtualMachineInstanceView
- type VirtualMachineInstancesClient
- 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) (result DeleteOperationResponse, err error)
- func (c VirtualMachineInstancesClient) DeleteThenPoll(ctx context.Context, id commonids.ScopeId) 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) (result StopOperationResponse, err error)
- func (c VirtualMachineInstancesClient) StopThenPoll(ctx context.Context, id commonids.ScopeId) error
- func (c VirtualMachineInstancesClient) Update(ctx context.Context, id commonids.ScopeId, ...) (result UpdateOperationResponse, err error)
- func (c VirtualMachineInstancesClient) UpdateThenPoll(ctx context.Context, id commonids.ScopeId, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForExtendedLocationTypes ¶
func PossibleValuesForExtendedLocationTypes() []string
func PossibleValuesForOperatingSystemTypes ¶
func PossibleValuesForOperatingSystemTypes() []string
func PossibleValuesForPowerStateEnum ¶
func PossibleValuesForPowerStateEnum() []string
func PossibleValuesForProvisioningStateEnum ¶
func PossibleValuesForProvisioningStateEnum() []string
func PossibleValuesForSecurityTypes ¶
func PossibleValuesForSecurityTypes() []string
func PossibleValuesForStatus ¶
func PossibleValuesForStatus() []string
func PossibleValuesForStatusLevelTypes ¶
func PossibleValuesForStatusLevelTypes() []string
func PossibleValuesForStatusTypes ¶
func PossibleValuesForStatusTypes() []string
func PossibleValuesForVMSizeEnum ¶
func PossibleValuesForVMSizeEnum() []string
Types ¶
type DeleteOperationResponse ¶
type ErrorAdditionalInfo ¶
type ErrorAdditionalInfo struct { Info *interface{} `json:"info,omitempty"` Type *string `json:"type,omitempty"` }
type ErrorDetail ¶
type ErrorDetail struct { AdditionalInfo *[]ErrorAdditionalInfo `json:"additionalInfo,omitempty"` Code *string `json:"code,omitempty"` Details *[]ErrorDetail `json:"details,omitempty"` Message *string `json:"message,omitempty"` Target *string `json:"target,omitempty"` }
type ExtendedLocation ¶
type ExtendedLocation struct { Name *string `json:"name,omitempty"` Type *ExtendedLocationTypes `json:"type,omitempty"` }
type ExtendedLocationTypes ¶
type ExtendedLocationTypes string
const (
ExtendedLocationTypesCustomLocation ExtendedLocationTypes = "CustomLocation"
)
func (*ExtendedLocationTypes) UnmarshalJSON ¶
func (s *ExtendedLocationTypes) UnmarshalJSON(bytes []byte) error
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *VirtualMachineInstance }
type GuestAgentInstallStatus ¶
type GuestAgentInstallStatus struct { AgentVersion *string `json:"agentVersion,omitempty"` ErrorDetails *[]ErrorDetail `json:"errorDetails,omitempty"` LastStatusChange *string `json:"lastStatusChange,omitempty"` Status *StatusTypes `json:"status,omitempty"` VMUuid *string `json:"vmUuid,omitempty"` }
func (*GuestAgentInstallStatus) GetLastStatusChangeAsTime ¶
func (o *GuestAgentInstallStatus) GetLastStatusChangeAsTime() (*time.Time, error)
func (*GuestAgentInstallStatus) SetLastStatusChangeAsTime ¶
func (o *GuestAgentInstallStatus) SetLastStatusChangeAsTime(input time.Time)
type HTTPProxyConfiguration ¶
type HardwareProfileUpdate ¶
type HardwareProfileUpdate struct { MemoryMB *int64 `json:"memoryMB,omitempty"` Processors *int64 `json:"processors,omitempty"` VMSize *VMSizeEnum `json:"vmSize,omitempty"` }
type InstanceViewStatus ¶
type InstanceViewStatus struct { Code *string `json:"code,omitempty"` DisplayStatus *string `json:"displayStatus,omitempty"` Level *StatusLevelTypes `json:"level,omitempty"` Message *string `json:"message,omitempty"` Time *string `json:"time,omitempty"` }
func (*InstanceViewStatus) GetTimeAsTime ¶
func (o *InstanceViewStatus) GetTimeAsTime() (*time.Time, error)
func (*InstanceViewStatus) SetTimeAsTime ¶
func (o *InstanceViewStatus) SetTimeAsTime(input time.Time)
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []VirtualMachineInstance }
type ListCustomPager ¶
func (*ListCustomPager) NextPageLink ¶
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]VirtualMachineInstance }
type NetworkProfileUpdate ¶
type NetworkProfileUpdate struct {
NetworkInterfaces *[]NetworkProfileUpdateNetworkInterfacesInlined `json:"networkInterfaces,omitempty"`
}
type NetworkProfileUpdateNetworkInterfacesInlined ¶
type NetworkProfileUpdateNetworkInterfacesInlined struct {
Id *string `json:"id,omitempty"`
}
type OperatingSystemTypes ¶
type OperatingSystemTypes string
const ( OperatingSystemTypesLinux OperatingSystemTypes = "Linux" OperatingSystemTypesWindows OperatingSystemTypes = "Windows" )
func (*OperatingSystemTypes) UnmarshalJSON ¶
func (s *OperatingSystemTypes) UnmarshalJSON(bytes []byte) error
type OsProfileUpdate ¶
type OsProfileUpdate struct { ComputerName *string `json:"computerName,omitempty"` LinuxConfiguration *OsProfileUpdateLinuxConfiguration `json:"linuxConfiguration,omitempty"` WindowsConfiguration *OsProfileUpdateWindowsConfiguration `json:"windowsConfiguration,omitempty"` }
type PowerStateEnum ¶
type PowerStateEnum string
const ( PowerStateEnumDeallocated PowerStateEnum = "Deallocated" PowerStateEnumDeallocating PowerStateEnum = "Deallocating" PowerStateEnumRunning PowerStateEnum = "Running" PowerStateEnumStarting PowerStateEnum = "Starting" PowerStateEnumStopped PowerStateEnum = "Stopped" PowerStateEnumStopping PowerStateEnum = "Stopping" PowerStateEnumUnknown PowerStateEnum = "Unknown" )
func (*PowerStateEnum) UnmarshalJSON ¶
func (s *PowerStateEnum) UnmarshalJSON(bytes []byte) error
type ProvisioningStateEnum ¶
type ProvisioningStateEnum string
const ( ProvisioningStateEnumAccepted ProvisioningStateEnum = "Accepted" ProvisioningStateEnumCanceled ProvisioningStateEnum = "Canceled" ProvisioningStateEnumDeleting ProvisioningStateEnum = "Deleting" ProvisioningStateEnumFailed ProvisioningStateEnum = "Failed" ProvisioningStateEnumInProgress ProvisioningStateEnum = "InProgress" ProvisioningStateEnumSucceeded ProvisioningStateEnum = "Succeeded" )
func (*ProvisioningStateEnum) UnmarshalJSON ¶
func (s *ProvisioningStateEnum) UnmarshalJSON(bytes []byte) error
type SecurityTypes ¶
type SecurityTypes string
const ( SecurityTypesConfidentialVM SecurityTypes = "ConfidentialVM" SecurityTypesTrustedLaunch SecurityTypes = "TrustedLaunch" )
func (*SecurityTypes) UnmarshalJSON ¶
func (s *SecurityTypes) UnmarshalJSON(bytes []byte) error
type SshConfiguration ¶
type SshConfiguration struct {
PublicKeys *[]SshPublicKey `json:"publicKeys,omitempty"`
}
type SshPublicKey ¶
type StartOperationResponse ¶
type StatusLevelTypes ¶
type StatusLevelTypes string
const ( StatusLevelTypesError StatusLevelTypes = "Error" StatusLevelTypesInfo StatusLevelTypes = "Info" StatusLevelTypesWarning StatusLevelTypes = "Warning" )
func (*StatusLevelTypes) UnmarshalJSON ¶
func (s *StatusLevelTypes) UnmarshalJSON(bytes []byte) error
type StatusTypes ¶
type StatusTypes string
const ( StatusTypesFailed StatusTypes = "Failed" StatusTypesInProgress StatusTypes = "InProgress" StatusTypesSucceeded StatusTypes = "Succeeded" )
func (*StatusTypes) UnmarshalJSON ¶
func (s *StatusTypes) UnmarshalJSON(bytes []byte) error
type StopOperationResponse ¶
type StorageProfileUpdate ¶
type StorageProfileUpdate struct {
DataDisks *[]StorageProfileUpdateDataDisksInlined `json:"dataDisks,omitempty"`
}
type StorageProfileUpdateDataDisksInlined ¶
type StorageProfileUpdateDataDisksInlined struct {
Id *string `json:"id,omitempty"`
}
type UpdateOperationResponse ¶
type VMSizeEnum ¶
type VMSizeEnum string
const ( VMSizeEnumCustom VMSizeEnum = "Custom" VMSizeEnumDefault VMSizeEnum = "Default" VMSizeEnumStandardAFourVTwo VMSizeEnum = "Standard_A4_v2" VMSizeEnumStandardATwoVTwo VMSizeEnum = "Standard_A2_v2" VMSizeEnumStandardDEightsVThree VMSizeEnum = "Standard_D8s_v3" VMSizeEnumStandardDFoursVThree VMSizeEnum = "Standard_D4s_v3" VMSizeEnumStandardDOneSixsVThree VMSizeEnum = "Standard_D16s_v3" VMSizeEnumStandardDSFiveVTwo VMSizeEnum = "Standard_DS5_v2" VMSizeEnumStandardDSFourVTwo VMSizeEnum = "Standard_DS4_v2" VMSizeEnumStandardDSOneThreeVTwo VMSizeEnum = "Standard_DS13_v2" VMSizeEnumStandardDSThreeVTwo VMSizeEnum = "Standard_DS3_v2" VMSizeEnumStandardDSTwoVTwo VMSizeEnum = "Standard_DS2_v2" VMSizeEnumStandardDThreeTwosVThree VMSizeEnum = "Standard_D32s_v3" VMSizeEnumStandardDTwosVThree VMSizeEnum = "Standard_D2s_v3" VMSizeEnumStandardKEightSFiveVOne VMSizeEnum = "Standard_K8S5_v1" VMSizeEnumStandardKEightSFourVOne VMSizeEnum = "Standard_K8S4_v1" VMSizeEnumStandardKEightSThreeVOne VMSizeEnum = "Standard_K8S3_v1" VMSizeEnumStandardKEightSTwoVOne VMSizeEnum = "Standard_K8S2_v1" VMSizeEnumStandardKEightSVOne VMSizeEnum = "Standard_K8S_v1" VMSizeEnumStandardNKOneTwo VMSizeEnum = "Standard_NK12" VMSizeEnumStandardNKSix VMSizeEnum = "Standard_NK6" VMSizeEnumStandardNVOneTwo VMSizeEnum = "Standard_NV12" VMSizeEnumStandardNVSix VMSizeEnum = "Standard_NV6" )
func (*VMSizeEnum) UnmarshalJSON ¶
func (s *VMSizeEnum) UnmarshalJSON(bytes []byte) error
type VirtualMachineConfigAgentInstanceView ¶
type VirtualMachineConfigAgentInstanceView struct { Statuses *[]InstanceViewStatus `json:"statuses,omitempty"` VMConfigAgentVersion *string `json:"vmConfigAgentVersion,omitempty"` }
type VirtualMachineInstance ¶
type VirtualMachineInstance struct { ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"` Id *string `json:"id,omitempty"` Identity *identity.SystemAssigned `json:"identity,omitempty"` Name *string `json:"name,omitempty"` Properties *VirtualMachineInstanceProperties `json:"properties,omitempty"` 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 { GuestAgentInstallStatus *GuestAgentInstallStatus `json:"guestAgentInstallStatus,omitempty"` HTTPProxyConfig *HTTPProxyConfiguration `json:"httpProxyConfig,omitempty"` HardwareProfile *VirtualMachineInstancePropertiesHardwareProfile `json:"hardwareProfile,omitempty"` InstanceView *VirtualMachineInstanceView `json:"instanceView,omitempty"` NetworkProfile *VirtualMachineInstancePropertiesNetworkProfile `json:"networkProfile,omitempty"` OsProfile *VirtualMachineInstancePropertiesOsProfile `json:"osProfile,omitempty"` ProvisioningState *ProvisioningStateEnum `json:"provisioningState,omitempty"` ResourceUid *string `json:"resourceUid,omitempty"` SecurityProfile *VirtualMachineInstancePropertiesSecurityProfile `json:"securityProfile,omitempty"` Status *VirtualMachineInstanceStatus `json:"status,omitempty"` StorageProfile *VirtualMachineInstancePropertiesStorageProfile `json:"storageProfile,omitempty"` VMId *string `json:"vmId,omitempty"` }
type VirtualMachineInstancePropertiesHardwareProfile ¶
type VirtualMachineInstancePropertiesHardwareProfile struct { DynamicMemoryConfig *VirtualMachineInstancePropertiesHardwareProfileDynamicMemoryConfig `json:"dynamicMemoryConfig,omitempty"` MemoryMB *int64 `json:"memoryMB,omitempty"` Processors *int64 `json:"processors,omitempty"` VMSize *VMSizeEnum `json:"vmSize,omitempty"` }
type VirtualMachineInstancePropertiesNetworkProfile ¶
type VirtualMachineInstancePropertiesNetworkProfile struct {
NetworkInterfaces *[]VirtualMachineInstancePropertiesNetworkProfileNetworkInterfacesInlined `json:"networkInterfaces,omitempty"`
}
type VirtualMachineInstancePropertiesNetworkProfileNetworkInterfacesInlined ¶
type VirtualMachineInstancePropertiesNetworkProfileNetworkInterfacesInlined struct {
Id *string `json:"id,omitempty"`
}
type VirtualMachineInstancePropertiesOsProfile ¶
type VirtualMachineInstancePropertiesOsProfile struct { AdminPassword *string `json:"adminPassword,omitempty"` AdminUsername *string `json:"adminUsername,omitempty"` ComputerName *string `json:"computerName,omitempty"` LinuxConfiguration *VirtualMachineInstancePropertiesOsProfileLinuxConfiguration `json:"linuxConfiguration,omitempty"` WindowsConfiguration *VirtualMachineInstancePropertiesOsProfileWindowsConfiguration `json:"windowsConfiguration,omitempty"` }
type VirtualMachineInstancePropertiesOsProfileLinuxConfiguration ¶
type VirtualMachineInstancePropertiesOsProfileLinuxConfiguration struct { DisablePasswordAuthentication *bool `json:"disablePasswordAuthentication,omitempty"` ProvisionVMAgent *bool `json:"provisionVMAgent,omitempty"` ProvisionVMConfigAgent *bool `json:"provisionVMConfigAgent,omitempty"` Ssh *SshConfiguration `json:"ssh,omitempty"` }
type VirtualMachineInstancePropertiesOsProfileWindowsConfiguration ¶
type VirtualMachineInstancePropertiesOsProfileWindowsConfiguration struct { EnableAutomaticUpdates *bool `json:"enableAutomaticUpdates,omitempty"` ProvisionVMAgent *bool `json:"provisionVMAgent,omitempty"` ProvisionVMConfigAgent *bool `json:"provisionVMConfigAgent,omitempty"` Ssh *SshConfiguration `json:"ssh,omitempty"` TimeZone *string `json:"timeZone,omitempty"` }
type VirtualMachineInstancePropertiesSecurityProfile ¶
type VirtualMachineInstancePropertiesSecurityProfile struct { EnableTPM *bool `json:"enableTPM,omitempty"` SecurityType *SecurityTypes `json:"securityType,omitempty"` UefiSettings *VirtualMachineInstancePropertiesSecurityProfileUefiSettings `json:"uefiSettings,omitempty"` }
type VirtualMachineInstancePropertiesSecurityProfileUefiSettings ¶
type VirtualMachineInstancePropertiesSecurityProfileUefiSettings struct {
SecureBootEnabled *bool `json:"secureBootEnabled,omitempty"`
}
type VirtualMachineInstancePropertiesStorageProfile ¶
type VirtualMachineInstancePropertiesStorageProfile struct { DataDisks *[]VirtualMachineInstancePropertiesStorageProfileDataDisksInlined `json:"dataDisks,omitempty"` ImageReference *VirtualMachineInstancePropertiesStorageProfileImageReference `json:"imageReference,omitempty"` OsDisk *VirtualMachineInstancePropertiesStorageProfileOsDisk `json:"osDisk,omitempty"` VMConfigStoragePathId *string `json:"vmConfigStoragePathId,omitempty"` }
type VirtualMachineInstancePropertiesStorageProfileDataDisksInlined ¶
type VirtualMachineInstancePropertiesStorageProfileDataDisksInlined struct {
Id *string `json:"id,omitempty"`
}
type VirtualMachineInstancePropertiesStorageProfileImageReference ¶
type VirtualMachineInstancePropertiesStorageProfileImageReference struct {
Id *string `json:"id,omitempty"`
}
type VirtualMachineInstancePropertiesStorageProfileOsDisk ¶
type VirtualMachineInstancePropertiesStorageProfileOsDisk struct { Id *string `json:"id,omitempty"` OsType *OperatingSystemTypes `json:"osType,omitempty"` }
type VirtualMachineInstanceStatus ¶
type VirtualMachineInstanceStatus struct { ErrorCode *string `json:"errorCode,omitempty"` ErrorMessage *string `json:"errorMessage,omitempty"` PowerState *PowerStateEnum `json:"powerState,omitempty"` ProvisioningStatus *VirtualMachineInstanceStatusProvisioningStatus `json:"provisioningStatus,omitempty"` }
type VirtualMachineInstanceUpdateProperties ¶
type VirtualMachineInstanceUpdateProperties struct { HardwareProfile *HardwareProfileUpdate `json:"hardwareProfile,omitempty"` NetworkProfile *NetworkProfileUpdate `json:"networkProfile,omitempty"` OsProfile *OsProfileUpdate `json:"osProfile,omitempty"` StorageProfile *StorageProfileUpdate `json:"storageProfile,omitempty"` }
type VirtualMachineInstanceUpdateRequest ¶
type VirtualMachineInstanceUpdateRequest struct { Identity *identity.SystemAssigned `json:"identity,omitempty"` Properties *VirtualMachineInstanceUpdateProperties `json:"properties,omitempty"` }
type VirtualMachineInstanceView ¶
type VirtualMachineInstanceView struct {
VMAgent *VirtualMachineConfigAgentInstanceView `json:"vmAgent,omitempty"`
}
type VirtualMachineInstancesClient ¶
type VirtualMachineInstancesClient struct {
Client *resourcemanager.Client
}
func NewVirtualMachineInstancesClientWithBaseURI ¶
func NewVirtualMachineInstancesClientWithBaseURI(sdkApi sdkEnv.Api) (*VirtualMachineInstancesClient, error)
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) (result DeleteOperationResponse, err error)
Delete ...
func (VirtualMachineInstancesClient) DeleteThenPoll ¶
func (c VirtualMachineInstancesClient) DeleteThenPoll(ctx context.Context, id commonids.ScopeId) 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) 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) (result StopOperationResponse, err error)
Stop ...
func (VirtualMachineInstancesClient) StopThenPoll ¶
func (c VirtualMachineInstancesClient) StopThenPoll(ctx context.Context, id commonids.ScopeId) error
StopThenPoll performs Stop then polls until it's completed
func (VirtualMachineInstancesClient) Update ¶
func (c VirtualMachineInstancesClient) Update(ctx context.Context, id commonids.ScopeId, input VirtualMachineInstanceUpdateRequest) (result UpdateOperationResponse, err error)
Update ...
func (VirtualMachineInstancesClient) UpdateThenPoll ¶
func (c VirtualMachineInstancesClient) UpdateThenPoll(ctx context.Context, id commonids.ScopeId, input VirtualMachineInstanceUpdateRequest) error
UpdateThenPoll performs Update then polls until it's completed
Source Files ¶
- client.go
- constants.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_restart.go
- method_start.go
- method_stop.go
- method_update.go
- model_erroradditionalinfo.go
- model_errordetail.go
- model_extendedlocation.go
- model_guestagentinstallstatus.go
- model_hardwareprofileupdate.go
- model_httpproxyconfiguration.go
- model_instanceviewstatus.go
- model_networkprofileupdate.go
- model_networkprofileupdatenetworkinterfacesinlined.go
- model_osprofileupdate.go
- model_osprofileupdatelinuxconfiguration.go
- model_osprofileupdatewindowsconfiguration.go
- model_sshconfiguration.go
- model_sshpublickey.go
- model_storageprofileupdate.go
- model_storageprofileupdatedatadisksinlined.go
- model_virtualmachineconfigagentinstanceview.go
- model_virtualmachineinstance.go
- model_virtualmachineinstanceproperties.go
- model_virtualmachineinstancepropertieshardwareprofile.go
- model_virtualmachineinstancepropertieshardwareprofiledynamicmemoryconfig.go
- model_virtualmachineinstancepropertiesnetworkprofile.go
- model_virtualmachineinstancepropertiesnetworkprofilenetworkinterfacesinlined.go
- model_virtualmachineinstancepropertiesosprofile.go
- model_virtualmachineinstancepropertiesosprofilelinuxconfiguration.go
- model_virtualmachineinstancepropertiesosprofilewindowsconfiguration.go
- model_virtualmachineinstancepropertiessecurityprofile.go
- model_virtualmachineinstancepropertiessecurityprofileuefisettings.go
- model_virtualmachineinstancepropertiesstorageprofile.go
- model_virtualmachineinstancepropertiesstorageprofiledatadisksinlined.go
- model_virtualmachineinstancepropertiesstorageprofileimagereference.go
- model_virtualmachineinstancepropertiesstorageprofileosdisk.go
- model_virtualmachineinstancestatus.go
- model_virtualmachineinstancestatusprovisioningstatus.go
- model_virtualmachineinstanceupdateproperties.go
- model_virtualmachineinstanceupdaterequest.go
- model_virtualmachineinstanceview.go
- predicates.go
- version.go
Click to show internal directories.
Click to hide internal directories.