Documentation ¶
Index ¶
- func PossibleValuesForEnableStatus() []string
- func PossibleValuesForHostCachingOptions() []string
- func PossibleValuesForStorageType() []string
- func PossibleValuesForTransportProtocol() []string
- func PossibleValuesForVirtualMachineCreationSource() []string
- func ValidateLabID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateVirtualMachineID(input interface{}, key string) (warnings []string, errors []error)
- type AddDataDiskOperationResponse
- type ApplicableSchedule
- type ApplicableScheduleProperties
- type ApplyArtifactsOperationResponse
- type ApplyArtifactsRequest
- type ArtifactDeploymentStatusProperties
- type ArtifactInstallProperties
- type ArtifactParameterProperties
- type AttachNewDataDiskOptions
- type ClaimOperationResponse
- type ComputeDataDisk
- type ComputeVMInstanceViewStatus
- type ComputeVMProperties
- type CreateOrUpdateOperationResponse
- type DataDiskProperties
- type DayDetails
- type DeleteOperationResponse
- type DetachDataDiskOperationResponse
- type DetachDataDiskProperties
- type EnableStatus
- type GalleryImageReference
- type GetOperationOptions
- type GetOperationResponse
- type GetRdpFileContentsOperationResponse
- type HostCachingOptions
- type HourDetails
- type InboundNatRule
- type LabId
- type LabVirtualMachine
- type LabVirtualMachineOperationPredicate
- type LabVirtualMachineProperties
- func (o *LabVirtualMachineProperties) GetCreatedDateAsTime() (*time.Time, error)
- func (o *LabVirtualMachineProperties) GetExpirationDateAsTime() (*time.Time, error)
- func (o *LabVirtualMachineProperties) SetCreatedDateAsTime(input time.Time)
- func (o *LabVirtualMachineProperties) SetExpirationDateAsTime(input time.Time)
- type ListApplicableSchedulesOperationResponse
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type NetworkInterfaceProperties
- type NotificationSettings
- type RdpConnection
- type RedeployOperationResponse
- type ResizeLabVirtualMachineProperties
- type ResizeOperationResponse
- type RestartOperationResponse
- type Schedule
- type ScheduleCreationParameter
- type ScheduleCreationParameterProperties
- type ScheduleProperties
- type SharedPublicIPAddressConfiguration
- type StartOperationResponse
- type StopOperationResponse
- type StorageType
- type TransferDisksOperationResponse
- type TransportProtocol
- type UnClaimOperationResponse
- type UpdateOperationResponse
- type UpdateResource
- type VirtualMachineCreationSource
- type VirtualMachineId
- type VirtualMachinesClient
- func (c VirtualMachinesClient) AddDataDisk(ctx context.Context, id VirtualMachineId, input DataDiskProperties) (result AddDataDiskOperationResponse, err error)
- func (c VirtualMachinesClient) AddDataDiskThenPoll(ctx context.Context, id VirtualMachineId, input DataDiskProperties) error
- func (c VirtualMachinesClient) ApplyArtifacts(ctx context.Context, id VirtualMachineId, input ApplyArtifactsRequest) (result ApplyArtifactsOperationResponse, err error)
- func (c VirtualMachinesClient) ApplyArtifactsThenPoll(ctx context.Context, id VirtualMachineId, input ApplyArtifactsRequest) error
- func (c VirtualMachinesClient) Claim(ctx context.Context, id VirtualMachineId) (result ClaimOperationResponse, err error)
- func (c VirtualMachinesClient) ClaimThenPoll(ctx context.Context, id VirtualMachineId) error
- func (c VirtualMachinesClient) CreateOrUpdate(ctx context.Context, id VirtualMachineId, input LabVirtualMachine) (result CreateOrUpdateOperationResponse, err error)
- func (c VirtualMachinesClient) CreateOrUpdateThenPoll(ctx context.Context, id VirtualMachineId, input LabVirtualMachine) error
- func (c VirtualMachinesClient) Delete(ctx context.Context, id VirtualMachineId) (result DeleteOperationResponse, err error)
- func (c VirtualMachinesClient) DeleteThenPoll(ctx context.Context, id VirtualMachineId) error
- func (c VirtualMachinesClient) DetachDataDisk(ctx context.Context, id VirtualMachineId, input DetachDataDiskProperties) (result DetachDataDiskOperationResponse, err error)
- func (c VirtualMachinesClient) DetachDataDiskThenPoll(ctx context.Context, id VirtualMachineId, input DetachDataDiskProperties) error
- func (c VirtualMachinesClient) Get(ctx context.Context, id VirtualMachineId, options GetOperationOptions) (result GetOperationResponse, err error)
- func (c VirtualMachinesClient) GetRdpFileContents(ctx context.Context, id VirtualMachineId) (result GetRdpFileContentsOperationResponse, err error)
- func (c VirtualMachinesClient) List(ctx context.Context, id LabId, options ListOperationOptions) (resp ListOperationResponse, err error)
- func (c VirtualMachinesClient) ListApplicableSchedules(ctx context.Context, id VirtualMachineId) (result ListApplicableSchedulesOperationResponse, err error)
- func (c VirtualMachinesClient) ListComplete(ctx context.Context, id LabId, options ListOperationOptions) (ListCompleteResult, error)
- func (c VirtualMachinesClient) ListCompleteMatchingPredicate(ctx context.Context, id LabId, options ListOperationOptions, ...) (resp ListCompleteResult, err error)
- func (c VirtualMachinesClient) Redeploy(ctx context.Context, id VirtualMachineId) (result RedeployOperationResponse, err error)
- func (c VirtualMachinesClient) RedeployThenPoll(ctx context.Context, id VirtualMachineId) error
- func (c VirtualMachinesClient) Resize(ctx context.Context, id VirtualMachineId, ...) (result ResizeOperationResponse, err error)
- func (c VirtualMachinesClient) ResizeThenPoll(ctx context.Context, id VirtualMachineId, ...) error
- func (c VirtualMachinesClient) Restart(ctx context.Context, id VirtualMachineId) (result RestartOperationResponse, err error)
- func (c VirtualMachinesClient) RestartThenPoll(ctx context.Context, id VirtualMachineId) error
- func (c VirtualMachinesClient) Start(ctx context.Context, id VirtualMachineId) (result StartOperationResponse, err error)
- func (c VirtualMachinesClient) StartThenPoll(ctx context.Context, id VirtualMachineId) error
- func (c VirtualMachinesClient) Stop(ctx context.Context, id VirtualMachineId) (result StopOperationResponse, err error)
- func (c VirtualMachinesClient) StopThenPoll(ctx context.Context, id VirtualMachineId) error
- func (c VirtualMachinesClient) TransferDisks(ctx context.Context, id VirtualMachineId) (result TransferDisksOperationResponse, err error)
- func (c VirtualMachinesClient) TransferDisksThenPoll(ctx context.Context, id VirtualMachineId) error
- func (c VirtualMachinesClient) UnClaim(ctx context.Context, id VirtualMachineId) (result UnClaimOperationResponse, err error)
- func (c VirtualMachinesClient) UnClaimThenPoll(ctx context.Context, id VirtualMachineId) error
- func (c VirtualMachinesClient) Update(ctx context.Context, id VirtualMachineId, input UpdateResource) (result UpdateOperationResponse, err error)
- type WeekDetails
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForEnableStatus ¶
func PossibleValuesForEnableStatus() []string
func PossibleValuesForHostCachingOptions ¶
func PossibleValuesForHostCachingOptions() []string
func PossibleValuesForStorageType ¶
func PossibleValuesForStorageType() []string
func PossibleValuesForTransportProtocol ¶
func PossibleValuesForTransportProtocol() []string
func PossibleValuesForVirtualMachineCreationSource ¶
func PossibleValuesForVirtualMachineCreationSource() []string
func ValidateLabID ¶
ValidateLabID checks that 'input' can be parsed as a Lab ID
func ValidateVirtualMachineID ¶
ValidateVirtualMachineID checks that 'input' can be parsed as a Virtual Machine ID
Types ¶
type AddDataDiskOperationResponse ¶
type AddDataDiskOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type ApplicableSchedule ¶
type ApplyArtifactsOperationResponse ¶
type ApplyArtifactsOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type ApplyArtifactsRequest ¶
type ApplyArtifactsRequest struct {
Artifacts *[]ArtifactInstallProperties `json:"artifacts,omitempty"`
}
type ArtifactInstallProperties ¶
type ArtifactInstallProperties struct { ArtifactId *string `json:"artifactId,omitempty"` ArtifactTitle *string `json:"artifactTitle,omitempty"` DeploymentStatusMessage *string `json:"deploymentStatusMessage,omitempty"` InstallTime *string `json:"installTime,omitempty"` Parameters *[]ArtifactParameterProperties `json:"parameters,omitempty"` Status *string `json:"status,omitempty"` VMExtensionStatusMessage *string `json:"vmExtensionStatusMessage,omitempty"` }
func (*ArtifactInstallProperties) GetInstallTimeAsTime ¶
func (o *ArtifactInstallProperties) GetInstallTimeAsTime() (*time.Time, error)
func (*ArtifactInstallProperties) SetInstallTimeAsTime ¶
func (o *ArtifactInstallProperties) SetInstallTimeAsTime(input time.Time)
type AttachNewDataDiskOptions ¶
type AttachNewDataDiskOptions struct { DiskName *string `json:"diskName,omitempty"` DiskSizeGiB *int64 `json:"diskSizeGiB,omitempty"` DiskType *StorageType `json:"diskType,omitempty"` }
type ClaimOperationResponse ¶
type ClaimOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type ComputeDataDisk ¶
type ComputeVMProperties ¶
type ComputeVMProperties struct { DataDiskIds *[]string `json:"dataDiskIds,omitempty"` DataDisks *[]ComputeDataDisk `json:"dataDisks,omitempty"` NetworkInterfaceId *string `json:"networkInterfaceId,omitempty"` OsDiskId *string `json:"osDiskId,omitempty"` OsType *string `json:"osType,omitempty"` Statuses *[]ComputeVMInstanceViewStatus `json:"statuses,omitempty"` VMSize *string `json:"vmSize,omitempty"` }
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DataDiskProperties ¶
type DataDiskProperties struct { AttachNewDataDiskOptions *AttachNewDataDiskOptions `json:"attachNewDataDiskOptions,omitempty"` ExistingLabDiskId *string `json:"existingLabDiskId,omitempty"` HostCaching *HostCachingOptions `json:"hostCaching,omitempty"` }
type DayDetails ¶
type DayDetails struct {
Time *string `json:"time,omitempty"`
}
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DetachDataDiskOperationResponse ¶
type DetachDataDiskOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DetachDataDiskProperties ¶
type DetachDataDiskProperties struct {
ExistingLabDiskId *string `json:"existingLabDiskId,omitempty"`
}
type EnableStatus ¶
type EnableStatus string
const ( EnableStatusDisabled EnableStatus = "Disabled" EnableStatusEnabled EnableStatus = "Enabled" )
type GalleryImageReference ¶
type GetOperationOptions ¶
type GetOperationOptions struct {
Expand *string
}
func DefaultGetOperationOptions ¶
func DefaultGetOperationOptions() GetOperationOptions
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *LabVirtualMachine }
type GetRdpFileContentsOperationResponse ¶
type GetRdpFileContentsOperationResponse struct { HttpResponse *http.Response Model *RdpConnection }
type HostCachingOptions ¶
type HostCachingOptions string
const ( HostCachingOptionsNone HostCachingOptions = "None" HostCachingOptionsReadOnly HostCachingOptions = "ReadOnly" HostCachingOptionsReadWrite HostCachingOptions = "ReadWrite" )
type HourDetails ¶
type HourDetails struct {
Minute *int64 `json:"minute,omitempty"`
}
type InboundNatRule ¶
type InboundNatRule struct { BackendPort *int64 `json:"backendPort,omitempty"` FrontendPort *int64 `json:"frontendPort,omitempty"` TransportProtocol *TransportProtocol `json:"transportProtocol,omitempty"` }
type LabId ¶
LabId is a struct representing the Resource ID for a Lab
func ParseLabID ¶
ParseLabID parses 'input' into a LabId
func ParseLabIDInsensitively ¶
ParseLabIDInsensitively parses 'input' case-insensitively into a LabId note: this method should only be used for API response data and not user input
func (LabId) Segments ¶
func (id LabId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Lab ID
type LabVirtualMachine ¶
type LabVirtualMachineOperationPredicate ¶
type LabVirtualMachineOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (LabVirtualMachineOperationPredicate) Matches ¶
func (p LabVirtualMachineOperationPredicate) Matches(input LabVirtualMachine) bool
type LabVirtualMachineProperties ¶
type LabVirtualMachineProperties struct { AllowClaim *bool `json:"allowClaim,omitempty"` ApplicableSchedule *ApplicableSchedule `json:"applicableSchedule,omitempty"` ArtifactDeploymentStatus *ArtifactDeploymentStatusProperties `json:"artifactDeploymentStatus,omitempty"` Artifacts *[]ArtifactInstallProperties `json:"artifacts,omitempty"` ComputeId *string `json:"computeId,omitempty"` ComputeVM *ComputeVMProperties `json:"computeVm,omitempty"` CreatedByUser *string `json:"createdByUser,omitempty"` CreatedByUserId *string `json:"createdByUserId,omitempty"` CreatedDate *string `json:"createdDate,omitempty"` CustomImageId *string `json:"customImageId,omitempty"` DataDiskParameters *[]DataDiskProperties `json:"dataDiskParameters,omitempty"` DisallowPublicIPAddress *bool `json:"disallowPublicIpAddress,omitempty"` EnvironmentId *string `json:"environmentId,omitempty"` ExpirationDate *string `json:"expirationDate,omitempty"` Fqdn *string `json:"fqdn,omitempty"` GalleryImageReference *GalleryImageReference `json:"galleryImageReference,omitempty"` IsAuthenticationWithSshKey *bool `json:"isAuthenticationWithSshKey,omitempty"` LabSubnetName *string `json:"labSubnetName,omitempty"` LabVirtualNetworkId *string `json:"labVirtualNetworkId,omitempty"` LastKnownPowerState *string `json:"lastKnownPowerState,omitempty"` NetworkInterface *NetworkInterfaceProperties `json:"networkInterface,omitempty"` Notes *string `json:"notes,omitempty"` OsType *string `json:"osType,omitempty"` OwnerObjectId *string `json:"ownerObjectId,omitempty"` OwnerUserPrincipalName *string `json:"ownerUserPrincipalName,omitempty"` Password *string `json:"password,omitempty"` PlanId *string `json:"planId,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` ScheduleParameters *[]ScheduleCreationParameter `json:"scheduleParameters,omitempty"` Size *string `json:"size,omitempty"` SshKey *string `json:"sshKey,omitempty"` StorageType *string `json:"storageType,omitempty"` UniqueIdentifier *string `json:"uniqueIdentifier,omitempty"` UserName *string `json:"userName,omitempty"` VirtualMachineCreationSource *VirtualMachineCreationSource `json:"virtualMachineCreationSource,omitempty"` }
func (*LabVirtualMachineProperties) GetCreatedDateAsTime ¶
func (o *LabVirtualMachineProperties) GetCreatedDateAsTime() (*time.Time, error)
func (*LabVirtualMachineProperties) GetExpirationDateAsTime ¶
func (o *LabVirtualMachineProperties) GetExpirationDateAsTime() (*time.Time, error)
func (*LabVirtualMachineProperties) SetCreatedDateAsTime ¶
func (o *LabVirtualMachineProperties) SetCreatedDateAsTime(input time.Time)
func (*LabVirtualMachineProperties) SetExpirationDateAsTime ¶
func (o *LabVirtualMachineProperties) SetExpirationDateAsTime(input time.Time)
type ListApplicableSchedulesOperationResponse ¶
type ListApplicableSchedulesOperationResponse struct { HttpResponse *http.Response Model *ApplicableSchedule }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []LabVirtualMachine
}
type ListOperationOptions ¶
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]LabVirtualMachine // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
type NetworkInterfaceProperties ¶
type NetworkInterfaceProperties struct { DnsName *string `json:"dnsName,omitempty"` PrivateIPAddress *string `json:"privateIpAddress,omitempty"` PublicIPAddress *string `json:"publicIpAddress,omitempty"` PublicIPAddressId *string `json:"publicIpAddressId,omitempty"` RdpAuthority *string `json:"rdpAuthority,omitempty"` SshAuthority *string `json:"sshAuthority,omitempty"` SubnetId *string `json:"subnetId,omitempty"` VirtualNetworkId *string `json:"virtualNetworkId,omitempty"` }
type NotificationSettings ¶
type NotificationSettings struct { EmailRecipient *string `json:"emailRecipient,omitempty"` NotificationLocale *string `json:"notificationLocale,omitempty"` Status *EnableStatus `json:"status,omitempty"` TimeInMinutes *int64 `json:"timeInMinutes,omitempty"` WebhookUrl *string `json:"webhookUrl,omitempty"` }
type RdpConnection ¶
type RdpConnection struct {
Contents *string `json:"contents,omitempty"`
}
type RedeployOperationResponse ¶
type RedeployOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type ResizeLabVirtualMachineProperties ¶
type ResizeLabVirtualMachineProperties struct {
Size *string `json:"size,omitempty"`
}
type ResizeOperationResponse ¶
type ResizeOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type RestartOperationResponse ¶
type RestartOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type ScheduleCreationParameter ¶
type ScheduleCreationParameter struct { Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *ScheduleCreationParameterProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type ScheduleCreationParameterProperties ¶
type ScheduleCreationParameterProperties struct { DailyRecurrence *DayDetails `json:"dailyRecurrence,omitempty"` HourlyRecurrence *HourDetails `json:"hourlyRecurrence,omitempty"` NotificationSettings *NotificationSettings `json:"notificationSettings,omitempty"` Status *EnableStatus `json:"status,omitempty"` TargetResourceId *string `json:"targetResourceId,omitempty"` TaskType *string `json:"taskType,omitempty"` TimeZoneId *string `json:"timeZoneId,omitempty"` WeeklyRecurrence *WeekDetails `json:"weeklyRecurrence,omitempty"` }
type ScheduleProperties ¶
type ScheduleProperties struct { CreatedDate *string `json:"createdDate,omitempty"` DailyRecurrence *DayDetails `json:"dailyRecurrence,omitempty"` HourlyRecurrence *HourDetails `json:"hourlyRecurrence,omitempty"` NotificationSettings *NotificationSettings `json:"notificationSettings,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` Status *EnableStatus `json:"status,omitempty"` TargetResourceId *string `json:"targetResourceId,omitempty"` TaskType *string `json:"taskType,omitempty"` TimeZoneId *string `json:"timeZoneId,omitempty"` UniqueIdentifier *string `json:"uniqueIdentifier,omitempty"` WeeklyRecurrence *WeekDetails `json:"weeklyRecurrence,omitempty"` }
func (*ScheduleProperties) GetCreatedDateAsTime ¶
func (o *ScheduleProperties) GetCreatedDateAsTime() (*time.Time, error)
func (*ScheduleProperties) SetCreatedDateAsTime ¶
func (o *ScheduleProperties) SetCreatedDateAsTime(input time.Time)
type SharedPublicIPAddressConfiguration ¶
type SharedPublicIPAddressConfiguration struct {
}type StartOperationResponse ¶
type StartOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type StopOperationResponse ¶
type StopOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type StorageType ¶
type StorageType string
const ( StorageTypePremium StorageType = "Premium" StorageTypeStandard StorageType = "Standard" StorageTypeStandardSSD StorageType = "StandardSSD" )
type TransferDisksOperationResponse ¶
type TransferDisksOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type TransportProtocol ¶
type TransportProtocol string
const ( TransportProtocolTcp TransportProtocol = "Tcp" TransportProtocolUdp TransportProtocol = "Udp" )
type UnClaimOperationResponse ¶
type UnClaimOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response Model *LabVirtualMachine }
type UpdateResource ¶
type VirtualMachineCreationSource ¶
type VirtualMachineCreationSource string
const ( VirtualMachineCreationSourceFromCustomImage VirtualMachineCreationSource = "FromCustomImage" VirtualMachineCreationSourceFromGalleryImage VirtualMachineCreationSource = "FromGalleryImage" )
type VirtualMachineId ¶
type VirtualMachineId struct { SubscriptionId string ResourceGroupName string LabName string VirtualMachineName string }
VirtualMachineId is a struct representing the Resource ID for a Virtual Machine
func NewVirtualMachineID ¶
func NewVirtualMachineID(subscriptionId string, resourceGroupName string, labName string, virtualMachineName string) VirtualMachineId
NewVirtualMachineID returns a new VirtualMachineId struct
func ParseVirtualMachineID ¶
func ParseVirtualMachineID(input string) (*VirtualMachineId, error)
ParseVirtualMachineID parses 'input' into a VirtualMachineId
func ParseVirtualMachineIDInsensitively ¶
func ParseVirtualMachineIDInsensitively(input string) (*VirtualMachineId, error)
ParseVirtualMachineIDInsensitively parses 'input' case-insensitively into a VirtualMachineId note: this method should only be used for API response data and not user input
func (VirtualMachineId) ID ¶
func (id VirtualMachineId) ID() string
ID returns the formatted Virtual Machine ID
func (VirtualMachineId) Segments ¶
func (id VirtualMachineId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Virtual Machine ID
func (VirtualMachineId) String ¶
func (id VirtualMachineId) String() string
String returns a human-readable description of this Virtual Machine ID
type VirtualMachinesClient ¶
type VirtualMachinesClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewVirtualMachinesClientWithBaseURI ¶
func NewVirtualMachinesClientWithBaseURI(endpoint string) VirtualMachinesClient
func (VirtualMachinesClient) AddDataDisk ¶
func (c VirtualMachinesClient) AddDataDisk(ctx context.Context, id VirtualMachineId, input DataDiskProperties) (result AddDataDiskOperationResponse, err error)
AddDataDisk ...
func (VirtualMachinesClient) AddDataDiskThenPoll ¶
func (c VirtualMachinesClient) AddDataDiskThenPoll(ctx context.Context, id VirtualMachineId, input DataDiskProperties) error
AddDataDiskThenPoll performs AddDataDisk then polls until it's completed
func (VirtualMachinesClient) ApplyArtifacts ¶
func (c VirtualMachinesClient) ApplyArtifacts(ctx context.Context, id VirtualMachineId, input ApplyArtifactsRequest) (result ApplyArtifactsOperationResponse, err error)
ApplyArtifacts ...
func (VirtualMachinesClient) ApplyArtifactsThenPoll ¶
func (c VirtualMachinesClient) ApplyArtifactsThenPoll(ctx context.Context, id VirtualMachineId, input ApplyArtifactsRequest) error
ApplyArtifactsThenPoll performs ApplyArtifacts then polls until it's completed
func (VirtualMachinesClient) Claim ¶
func (c VirtualMachinesClient) Claim(ctx context.Context, id VirtualMachineId) (result ClaimOperationResponse, err error)
Claim ...
func (VirtualMachinesClient) ClaimThenPoll ¶
func (c VirtualMachinesClient) ClaimThenPoll(ctx context.Context, id VirtualMachineId) error
ClaimThenPoll performs Claim then polls until it's completed
func (VirtualMachinesClient) CreateOrUpdate ¶
func (c VirtualMachinesClient) CreateOrUpdate(ctx context.Context, id VirtualMachineId, input LabVirtualMachine) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (VirtualMachinesClient) CreateOrUpdateThenPoll ¶
func (c VirtualMachinesClient) CreateOrUpdateThenPoll(ctx context.Context, id VirtualMachineId, input LabVirtualMachine) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (VirtualMachinesClient) Delete ¶
func (c VirtualMachinesClient) Delete(ctx context.Context, id VirtualMachineId) (result DeleteOperationResponse, err error)
Delete ...
func (VirtualMachinesClient) DeleteThenPoll ¶
func (c VirtualMachinesClient) DeleteThenPoll(ctx context.Context, id VirtualMachineId) error
DeleteThenPoll performs Delete then polls until it's completed
func (VirtualMachinesClient) DetachDataDisk ¶
func (c VirtualMachinesClient) DetachDataDisk(ctx context.Context, id VirtualMachineId, input DetachDataDiskProperties) (result DetachDataDiskOperationResponse, err error)
DetachDataDisk ...
func (VirtualMachinesClient) DetachDataDiskThenPoll ¶
func (c VirtualMachinesClient) DetachDataDiskThenPoll(ctx context.Context, id VirtualMachineId, input DetachDataDiskProperties) error
DetachDataDiskThenPoll performs DetachDataDisk then polls until it's completed
func (VirtualMachinesClient) Get ¶
func (c VirtualMachinesClient) Get(ctx context.Context, id VirtualMachineId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
func (VirtualMachinesClient) GetRdpFileContents ¶
func (c VirtualMachinesClient) GetRdpFileContents(ctx context.Context, id VirtualMachineId) (result GetRdpFileContentsOperationResponse, err error)
GetRdpFileContents ...
func (VirtualMachinesClient) List ¶
func (c VirtualMachinesClient) List(ctx context.Context, id LabId, options ListOperationOptions) (resp ListOperationResponse, err error)
List ...
func (VirtualMachinesClient) ListApplicableSchedules ¶
func (c VirtualMachinesClient) ListApplicableSchedules(ctx context.Context, id VirtualMachineId) (result ListApplicableSchedulesOperationResponse, err error)
ListApplicableSchedules ...
func (VirtualMachinesClient) ListComplete ¶
func (c VirtualMachinesClient) ListComplete(ctx context.Context, id LabId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (VirtualMachinesClient) ListCompleteMatchingPredicate ¶
func (c VirtualMachinesClient) ListCompleteMatchingPredicate(ctx context.Context, id LabId, options ListOperationOptions, predicate LabVirtualMachineOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (VirtualMachinesClient) Redeploy ¶
func (c VirtualMachinesClient) Redeploy(ctx context.Context, id VirtualMachineId) (result RedeployOperationResponse, err error)
Redeploy ...
func (VirtualMachinesClient) RedeployThenPoll ¶
func (c VirtualMachinesClient) RedeployThenPoll(ctx context.Context, id VirtualMachineId) error
RedeployThenPoll performs Redeploy then polls until it's completed
func (VirtualMachinesClient) Resize ¶
func (c VirtualMachinesClient) Resize(ctx context.Context, id VirtualMachineId, input ResizeLabVirtualMachineProperties) (result ResizeOperationResponse, err error)
Resize ...
func (VirtualMachinesClient) ResizeThenPoll ¶
func (c VirtualMachinesClient) ResizeThenPoll(ctx context.Context, id VirtualMachineId, input ResizeLabVirtualMachineProperties) error
ResizeThenPoll performs Resize then polls until it's completed
func (VirtualMachinesClient) Restart ¶
func (c VirtualMachinesClient) Restart(ctx context.Context, id VirtualMachineId) (result RestartOperationResponse, err error)
Restart ...
func (VirtualMachinesClient) RestartThenPoll ¶
func (c VirtualMachinesClient) RestartThenPoll(ctx context.Context, id VirtualMachineId) error
RestartThenPoll performs Restart then polls until it's completed
func (VirtualMachinesClient) Start ¶
func (c VirtualMachinesClient) Start(ctx context.Context, id VirtualMachineId) (result StartOperationResponse, err error)
Start ...
func (VirtualMachinesClient) StartThenPoll ¶
func (c VirtualMachinesClient) StartThenPoll(ctx context.Context, id VirtualMachineId) error
StartThenPoll performs Start then polls until it's completed
func (VirtualMachinesClient) Stop ¶
func (c VirtualMachinesClient) Stop(ctx context.Context, id VirtualMachineId) (result StopOperationResponse, err error)
Stop ...
func (VirtualMachinesClient) StopThenPoll ¶
func (c VirtualMachinesClient) StopThenPoll(ctx context.Context, id VirtualMachineId) error
StopThenPoll performs Stop then polls until it's completed
func (VirtualMachinesClient) TransferDisks ¶
func (c VirtualMachinesClient) TransferDisks(ctx context.Context, id VirtualMachineId) (result TransferDisksOperationResponse, err error)
TransferDisks ...
func (VirtualMachinesClient) TransferDisksThenPoll ¶
func (c VirtualMachinesClient) TransferDisksThenPoll(ctx context.Context, id VirtualMachineId) error
TransferDisksThenPoll performs TransferDisks then polls until it's completed
func (VirtualMachinesClient) UnClaim ¶
func (c VirtualMachinesClient) UnClaim(ctx context.Context, id VirtualMachineId) (result UnClaimOperationResponse, err error)
UnClaim ...
func (VirtualMachinesClient) UnClaimThenPoll ¶
func (c VirtualMachinesClient) UnClaimThenPoll(ctx context.Context, id VirtualMachineId) error
UnClaimThenPoll performs UnClaim then polls until it's completed
func (VirtualMachinesClient) Update ¶
func (c VirtualMachinesClient) Update(ctx context.Context, id VirtualMachineId, input UpdateResource) (result UpdateOperationResponse, err error)
Update ...
type WeekDetails ¶
Source Files ¶
- client.go
- constants.go
- id_lab.go
- id_virtualmachine.go
- method_adddatadisk_autorest.go
- method_applyartifacts_autorest.go
- method_claim_autorest.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_detachdatadisk_autorest.go
- method_get_autorest.go
- method_getrdpfilecontents_autorest.go
- method_list_autorest.go
- method_listapplicableschedules_autorest.go
- method_redeploy_autorest.go
- method_resize_autorest.go
- method_restart_autorest.go
- method_start_autorest.go
- method_stop_autorest.go
- method_transferdisks_autorest.go
- method_unclaim_autorest.go
- method_update_autorest.go
- model_applicableschedule.go
- model_applicablescheduleproperties.go
- model_applyartifactsrequest.go
- model_artifactdeploymentstatusproperties.go
- model_artifactinstallproperties.go
- model_artifactparameterproperties.go
- model_attachnewdatadiskoptions.go
- model_computedatadisk.go
- model_computevminstanceviewstatus.go
- model_computevmproperties.go
- model_datadiskproperties.go
- model_daydetails.go
- model_detachdatadiskproperties.go
- model_galleryimagereference.go
- model_hourdetails.go
- model_inboundnatrule.go
- model_labvirtualmachine.go
- model_labvirtualmachineproperties.go
- model_networkinterfaceproperties.go
- model_notificationsettings.go
- model_rdpconnection.go
- model_resizelabvirtualmachineproperties.go
- model_schedule.go
- model_schedulecreationparameter.go
- model_schedulecreationparameterproperties.go
- model_scheduleproperties.go
- model_sharedpublicipaddressconfiguration.go
- model_updateresource.go
- model_weekdetails.go
- predicates.go
- version.go