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) (result 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, ...) (result 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 ApplicableSchedule ¶
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 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 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 DetachDataDiskProperties ¶
type DetachDataDiskProperties struct {
ExistingLabDiskId *string `json:"existingLabDiskId,omitempty"`
}
type EnableStatus ¶
type EnableStatus string
const ( EnableStatusDisabled EnableStatus = "Disabled" EnableStatusEnabled EnableStatus = "Enabled" )
func (*EnableStatus) UnmarshalJSON ¶
func (s *EnableStatus) UnmarshalJSON(bytes []byte) error
type GalleryImageReference ¶
type GetOperationOptions ¶
type GetOperationOptions struct {
Expand *string
}
func DefaultGetOperationOptions ¶
func DefaultGetOperationOptions() GetOperationOptions
func (GetOperationOptions) ToHeaders ¶
func (o GetOperationOptions) ToHeaders() *client.Headers
func (GetOperationOptions) ToOData ¶
func (o GetOperationOptions) ToOData() *odata.Query
func (GetOperationOptions) ToQuery ¶
func (o GetOperationOptions) ToQuery() *client.QueryParams
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *LabVirtualMachine }
type GetRdpFileContentsOperationResponse ¶
type GetRdpFileContentsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RdpConnection }
type HostCachingOptions ¶
type HostCachingOptions string
const ( HostCachingOptionsNone HostCachingOptions = "None" HostCachingOptionsReadOnly HostCachingOptions = "ReadOnly" HostCachingOptionsReadWrite HostCachingOptions = "ReadWrite" )
func (*HostCachingOptions) UnmarshalJSON ¶
func (s *HostCachingOptions) UnmarshalJSON(bytes []byte) error
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) FromParseResult ¶
func (id *LabId) FromParseResult(input resourceids.ParseResult) error
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 OData *odata.OData Model *ApplicableSchedule }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []LabVirtualMachine }
type ListOperationOptions ¶
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]LabVirtualMachine }
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 ResizeLabVirtualMachineProperties ¶
type ResizeLabVirtualMachineProperties struct {
Size *string `json:"size,omitempty"`
}
type ResizeOperationResponse ¶
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 StopOperationResponse ¶
type StorageType ¶
type StorageType string
const ( StorageTypePremium StorageType = "Premium" StorageTypeStandard StorageType = "Standard" StorageTypeStandardSSD StorageType = "StandardSSD" )
func (*StorageType) UnmarshalJSON ¶
func (s *StorageType) UnmarshalJSON(bytes []byte) error
type TransportProtocol ¶
type TransportProtocol string
const ( TransportProtocolTcp TransportProtocol = "Tcp" TransportProtocolUdp TransportProtocol = "Udp" )
func (*TransportProtocol) UnmarshalJSON ¶
func (s *TransportProtocol) UnmarshalJSON(bytes []byte) error
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *LabVirtualMachine }
type UpdateResource ¶
type VirtualMachineCreationSource ¶
type VirtualMachineCreationSource string
const ( VirtualMachineCreationSourceFromCustomImage VirtualMachineCreationSource = "FromCustomImage" VirtualMachineCreationSourceFromGalleryImage VirtualMachineCreationSource = "FromGalleryImage" )
func (*VirtualMachineCreationSource) UnmarshalJSON ¶
func (s *VirtualMachineCreationSource) UnmarshalJSON(bytes []byte) error
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) FromParseResult ¶
func (id *VirtualMachineId) FromParseResult(input resourceids.ParseResult) error
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 *resourcemanager.Client
}
func NewVirtualMachinesClientWithBaseURI ¶
func NewVirtualMachinesClientWithBaseURI(sdkApi sdkEnv.Api) (*VirtualMachinesClient, error)
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) (result 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 the results into a single object
func (VirtualMachinesClient) ListCompleteMatchingPredicate ¶
func (c VirtualMachinesClient) ListCompleteMatchingPredicate(ctx context.Context, id LabId, options ListOperationOptions, predicate LabVirtualMachineOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies 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.go
- method_applyartifacts.go
- method_claim.go
- method_createorupdate.go
- method_delete.go
- method_detachdatadisk.go
- method_get.go
- method_getrdpfilecontents.go
- method_list.go
- method_listapplicableschedules.go
- method_redeploy.go
- method_resize.go
- method_restart.go
- method_start.go
- method_stop.go
- method_transferdisks.go
- method_unclaim.go
- method_update.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