Documentation ¶
Index ¶
- func PossibleValuesForConnectionType() []string
- func PossibleValuesForCreateOption() []string
- func PossibleValuesForEnableState() []string
- func PossibleValuesForLabState() []string
- func PossibleValuesForOsType() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForShutdownOnIdleMode() []string
- func PossibleValuesForSkuTier() []string
- func ValidateLabID(input interface{}, key string) (warnings []string, errors []error)
- type AutoShutdownProfile
- type ConnectionProfile
- type ConnectionType
- type CreateOption
- type CreateOrUpdateOperationResponse
- type Credentials
- type DeleteOperationResponse
- type EnableState
- type GetOperationResponse
- type ImageReference
- type Lab
- type LabClient
- func (c LabClient) CreateOrUpdate(ctx context.Context, id LabId, input Lab) (result CreateOrUpdateOperationResponse, err error)
- func (c LabClient) CreateOrUpdateThenPoll(ctx context.Context, id LabId, input Lab) error
- func (c LabClient) Delete(ctx context.Context, id LabId) (result DeleteOperationResponse, err error)
- func (c LabClient) DeleteThenPoll(ctx context.Context, id LabId) error
- func (c LabClient) Get(ctx context.Context, id LabId) (result GetOperationResponse, err error)
- func (c LabClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ListByResourceGroupOperationResponse, err error)
- func (c LabClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c LabClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (resp ListByResourceGroupCompleteResult, err error)
- func (c LabClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (resp ListBySubscriptionOperationResponse, err error)
- func (c LabClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c LabClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (resp ListBySubscriptionCompleteResult, err error)
- func (c LabClient) Publish(ctx context.Context, id LabId) (result PublishOperationResponse, err error)
- func (c LabClient) PublishThenPoll(ctx context.Context, id LabId) error
- func (c LabClient) SyncGroup(ctx context.Context, id LabId) (result SyncGroupOperationResponse, err error)
- func (c LabClient) SyncGroupThenPoll(ctx context.Context, id LabId) error
- func (c LabClient) Update(ctx context.Context, id LabId, input LabUpdate) (result UpdateOperationResponse, err error)
- func (c LabClient) UpdateThenPoll(ctx context.Context, id LabId, input LabUpdate) error
- type LabId
- type LabNetworkProfile
- type LabOperationPredicate
- type LabProperties
- type LabState
- type LabUpdate
- type LabUpdateProperties
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionOperationResponse
- type OsType
- type ProvisioningState
- type PublishOperationResponse
- type RosterProfile
- type SecurityProfile
- type ShutdownOnIdleMode
- type Sku
- type SkuTier
- type SyncGroupOperationResponse
- type UpdateOperationResponse
- type VirtualMachineAdditionalCapabilities
- type VirtualMachineProfile
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForConnectionType ¶
func PossibleValuesForConnectionType() []string
func PossibleValuesForCreateOption ¶
func PossibleValuesForCreateOption() []string
func PossibleValuesForEnableState ¶
func PossibleValuesForEnableState() []string
func PossibleValuesForLabState ¶
func PossibleValuesForLabState() []string
func PossibleValuesForOsType ¶
func PossibleValuesForOsType() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForShutdownOnIdleMode ¶
func PossibleValuesForShutdownOnIdleMode() []string
func PossibleValuesForSkuTier ¶
func PossibleValuesForSkuTier() []string
func ValidateLabID ¶
ValidateLabID checks that 'input' can be parsed as a Lab ID
Types ¶
type AutoShutdownProfile ¶
type AutoShutdownProfile struct { DisconnectDelay *string `json:"disconnectDelay,omitempty"` IdleDelay *string `json:"idleDelay,omitempty"` NoConnectDelay *string `json:"noConnectDelay,omitempty"` ShutdownOnDisconnect *EnableState `json:"shutdownOnDisconnect,omitempty"` ShutdownOnIdle *ShutdownOnIdleMode `json:"shutdownOnIdle,omitempty"` ShutdownWhenNotConnected *EnableState `json:"shutdownWhenNotConnected,omitempty"` }
type ConnectionProfile ¶
type ConnectionProfile struct { ClientRdpAccess *ConnectionType `json:"clientRdpAccess,omitempty"` ClientSshAccess *ConnectionType `json:"clientSshAccess,omitempty"` WebRdpAccess *ConnectionType `json:"webRdpAccess,omitempty"` WebSshAccess *ConnectionType `json:"webSshAccess,omitempty"` }
type ConnectionType ¶
type ConnectionType string
const ( ConnectionTypeNone ConnectionType = "None" ConnectionTypePrivate ConnectionType = "Private" ConnectionTypePublic ConnectionType = "Public" )
type CreateOption ¶
type CreateOption string
const ( CreateOptionImage CreateOption = "Image" CreateOptionTemplateVM CreateOption = "TemplateVM" )
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type Credentials ¶
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type EnableState ¶
type EnableState string
const ( EnableStateDisabled EnableState = "Disabled" EnableStateEnabled EnableState = "Enabled" )
type GetOperationResponse ¶
type ImageReference ¶
type Lab ¶
type Lab struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties LabProperties `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type LabClient ¶
func NewLabClientWithBaseURI ¶
func (LabClient) CreateOrUpdate ¶
func (c LabClient) CreateOrUpdate(ctx context.Context, id LabId, input Lab) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (LabClient) CreateOrUpdateThenPoll ¶
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (LabClient) Delete ¶
func (c LabClient) Delete(ctx context.Context, id LabId) (result DeleteOperationResponse, err error)
Delete ...
func (LabClient) DeleteThenPoll ¶
DeleteThenPoll performs Delete then polls until it's completed
func (LabClient) ListByResourceGroup ¶
func (c LabClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (LabClient) ListByResourceGroupComplete ¶
func (c LabClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all of the results into a single object
func (LabClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c LabClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate LabOperationPredicate) (resp ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (LabClient) ListBySubscription ¶
func (c LabClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (resp ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (LabClient) ListBySubscriptionComplete ¶
func (c LabClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all of the results into a single object
func (LabClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c LabClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate LabOperationPredicate) (resp ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (LabClient) Publish ¶
func (c LabClient) Publish(ctx context.Context, id LabId) (result PublishOperationResponse, err error)
Publish ...
func (LabClient) PublishThenPoll ¶
PublishThenPoll performs Publish then polls until it's completed
func (LabClient) SyncGroup ¶
func (c LabClient) SyncGroup(ctx context.Context, id LabId) (result SyncGroupOperationResponse, err error)
SyncGroup ...
func (LabClient) SyncGroupThenPoll ¶
SyncGroupThenPoll performs SyncGroup then polls until it's completed
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 LabNetworkProfile ¶
type LabOperationPredicate ¶
func (LabOperationPredicate) Matches ¶
func (p LabOperationPredicate) Matches(input Lab) bool
type LabProperties ¶
type LabProperties struct { AutoShutdownProfile AutoShutdownProfile `json:"autoShutdownProfile"` ConnectionProfile ConnectionProfile `json:"connectionProfile"` Description *string `json:"description,omitempty"` LabPlanId *string `json:"labPlanId,omitempty"` NetworkProfile *LabNetworkProfile `json:"networkProfile,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` RosterProfile *RosterProfile `json:"rosterProfile,omitempty"` SecurityProfile SecurityProfile `json:"securityProfile"` State *LabState `json:"state,omitempty"` Title *string `json:"title,omitempty"` VirtualMachineProfile VirtualMachineProfile `json:"virtualMachineProfile"` }
type LabUpdate ¶
type LabUpdate struct { Properties *LabUpdateProperties `json:"properties,omitempty"` Tags *[]string `json:"tags,omitempty"` }
type LabUpdateProperties ¶
type LabUpdateProperties struct { AutoShutdownProfile *AutoShutdownProfile `json:"autoShutdownProfile,omitempty"` ConnectionProfile *ConnectionProfile `json:"connectionProfile,omitempty"` Description *string `json:"description,omitempty"` LabPlanId *string `json:"labPlanId,omitempty"` RosterProfile *RosterProfile `json:"rosterProfile,omitempty"` SecurityProfile *SecurityProfile `json:"securityProfile,omitempty"` Title *string `json:"title,omitempty"` VirtualMachineProfile *VirtualMachineProfile `json:"virtualMachineProfile,omitempty"` }
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []Lab
}
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response Model *[]Lab // contains filtered or unexported fields }
func (ListByResourceGroupOperationResponse) HasMore ¶
func (r ListByResourceGroupOperationResponse) HasMore() bool
func (ListByResourceGroupOperationResponse) LoadMore ¶
func (r ListByResourceGroupOperationResponse) LoadMore(ctx context.Context) (resp ListByResourceGroupOperationResponse, err error)
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct {
Items []Lab
}
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response Model *[]Lab // contains filtered or unexported fields }
func (ListBySubscriptionOperationResponse) HasMore ¶
func (r ListBySubscriptionOperationResponse) HasMore() bool
func (ListBySubscriptionOperationResponse) LoadMore ¶
func (r ListBySubscriptionOperationResponse) LoadMore(ctx context.Context) (resp ListBySubscriptionOperationResponse, err error)
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateLocked ProvisioningState = "Locked" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
type PublishOperationResponse ¶
type PublishOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type RosterProfile ¶
type RosterProfile struct { ActiveDirectoryGroupId *string `json:"activeDirectoryGroupId,omitempty"` LmsInstance *string `json:"lmsInstance,omitempty"` LtiClientId *string `json:"ltiClientId,omitempty"` LtiContextId *string `json:"ltiContextId,omitempty"` LtiRosterEndpoint *string `json:"ltiRosterEndpoint,omitempty"` }
type SecurityProfile ¶
type SecurityProfile struct { OpenAccess *EnableState `json:"openAccess,omitempty"` RegistrationCode *string `json:"registrationCode,omitempty"` }
type ShutdownOnIdleMode ¶
type ShutdownOnIdleMode string
const ( ShutdownOnIdleModeLowUsage ShutdownOnIdleMode = "LowUsage" ShutdownOnIdleModeNone ShutdownOnIdleMode = "None" ShutdownOnIdleModeUserAbsence ShutdownOnIdleMode = "UserAbsence" )
type SyncGroupOperationResponse ¶
type SyncGroupOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type VirtualMachineAdditionalCapabilities ¶
type VirtualMachineAdditionalCapabilities struct {
InstallGpuDrivers *EnableState `json:"installGpuDrivers,omitempty"`
}
type VirtualMachineProfile ¶
type VirtualMachineProfile struct { AdditionalCapabilities *VirtualMachineAdditionalCapabilities `json:"additionalCapabilities,omitempty"` AdminUser Credentials `json:"adminUser"` CreateOption CreateOption `json:"createOption"` ImageReference ImageReference `json:"imageReference"` NonAdminUser *Credentials `json:"nonAdminUser,omitempty"` OsType *OsType `json:"osType,omitempty"` Sku Sku `json:"sku"` UsageQuota string `json:"usageQuota"` }
Source Files ¶
- client.go
- constants.go
- id_lab.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_listbyresourcegroup_autorest.go
- method_listbysubscription_autorest.go
- method_publish_autorest.go
- method_syncgroup_autorest.go
- method_update_autorest.go
- model_autoshutdownprofile.go
- model_connectionprofile.go
- model_credentials.go
- model_imagereference.go
- model_lab.go
- model_labnetworkprofile.go
- model_labproperties.go
- model_labupdate.go
- model_labupdateproperties.go
- model_rosterprofile.go
- model_securityprofile.go
- model_sku.go
- model_virtualmachineadditionalcapabilities.go
- model_virtualmachineprofile.go
- predicates.go
- version.go