azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/labservices/mgmt/2018-10-15/labservices Index | Files | Directories

package labservices

import "github.com/Azure/azure-sdk-for-go/services/labservices/mgmt/2018-10-15/labservices"

Package labservices implements the Azure ARM Labservices service API version 2018-10-15.

The Managed Labs Client.

Index

Package Files

client.go environments.go environmentsettings.go galleryimages.go globalusers.go labaccounts.go labs.go models.go operations.go provideroperations.go users.go version.go

Constants

const (
    // DefaultBaseURI is the default URI used for the service Labservices
    DefaultBaseURI = "https://management.azure.com"
)

func UserAgent Uses

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version Uses

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

type AddRemove Uses

type AddRemove string

AddRemove enumerates the values for add remove.

const (
    // Add Indicates that a user is adding a favorite lab
    Add AddRemove = "Add"
    // Remove Indicates that a user is removing a favorite lab
    Remove AddRemove = "Remove"
)

func PossibleAddRemoveValues Uses

func PossibleAddRemoveValues() []AddRemove

PossibleAddRemoveValues returns an array of possible values for the AddRemove const type.

type AddUsersPayload Uses

type AddUsersPayload struct {
    // EmailAddresses - List of user emails addresses to add to the lab.
    EmailAddresses *[]string `json:"emailAddresses,omitempty"`
}

AddUsersPayload payload for Add Users operation on a Lab.

type BaseClient Uses

type BaseClient struct {
    autorest.Client
    BaseURI        string
    SubscriptionID string
}

BaseClient is the base client for Labservices.

func New Uses

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

type CloudError Uses

type CloudError struct {
    Error *CloudErrorBody `json:"error,omitempty"`
}

CloudError error from a REST request.

type CloudErrorBody Uses

type CloudErrorBody struct {
    Code    *string `json:"code,omitempty"`
    Message *string `json:"message,omitempty"`
    Target  *string `json:"target,omitempty"`
    // Details - Inner errors.
    Details *[]CloudErrorBody `json:"details,omitempty"`
}

CloudErrorBody body of an error from a REST request.

type ConfigurationState Uses

type ConfigurationState string

ConfigurationState enumerates the values for configuration state.

const (
    // Completed User is finished modifying the template.
    Completed ConfigurationState = "Completed"
    // NotApplicable User either hasn't started configuring their template
    // or they haven't started the configuration process.
    NotApplicable ConfigurationState = "NotApplicable"
)

func PossibleConfigurationStateValues Uses

func PossibleConfigurationStateValues() []ConfigurationState

PossibleConfigurationStateValues returns an array of possible values for the ConfigurationState const type.

type CreateLabProperties Uses

type CreateLabProperties struct {
    // EnvironmentSettingCreationParameters - Settings related to creating an environment setting
    EnvironmentSettingCreationParameters *EnvironmentSettingCreationParameters `json:"environmentSettingCreationParameters,omitempty"`
    // LabCreationParameters - Settings related to creating a lab
    LabCreationParameters *LabCreationParameters `json:"labCreationParameters,omitempty"`
    // Name - The name of the resource
    Name *string `json:"name,omitempty"`
    // Location - The location of the resource
    Location *string `json:"location,omitempty"`
    // Tags - The tags of the resource.
    Tags map[string]*string `json:"tags"`
}

CreateLabProperties properties for creating a managed lab and a default environment setting

func (CreateLabProperties) MarshalJSON Uses

func (clp CreateLabProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CreateLabProperties.

type Environment Uses

type Environment struct {
    autorest.Response `json:"-"`
    // EnvironmentProperties - The properties of the Environment resource
    *EnvironmentProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; The identifier of the resource.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource.
    Type *string `json:"type,omitempty"`
    // Location - The location of the resource.
    Location *string `json:"location,omitempty"`
    // Tags - The tags of the resource.
    Tags map[string]*string `json:"tags"`
}

Environment represents an environment instance

func (Environment) MarshalJSON Uses

func (e Environment) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Environment.

func (*Environment) UnmarshalJSON Uses

func (e *Environment) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Environment struct.

type EnvironmentDetails Uses

type EnvironmentDetails struct {
    // Name - READ-ONLY; Name of the Environment
    Name *string `json:"name,omitempty"`
    // Description - READ-ONLY; Description of the Environment
    Description *string `json:"description,omitempty"`
    // ID - READ-ONLY; Resource Id of the environment
    ID  *string `json:"id,omitempty"`
    // ProvisioningState - READ-ONLY; The provisioning state of the environment. This also includes LabIsFull and NotYetProvisioned status.
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // VirtualMachineDetails - READ-ONLY; Details of backing DTL virtual machine with compute and network details.
    VirtualMachineDetails *VirtualMachineDetails `json:"virtualMachineDetails,omitempty"`
    // LatestOperationResult - READ-ONLY; The details of the latest operation. ex: status, error
    LatestOperationResult *LatestOperationResult `json:"latestOperationResult,omitempty"`
    // EnvironmentState - READ-ONLY; Publishing state of the environment setting Possible values are Creating, Created, Failed
    EnvironmentState *string `json:"environmentState,omitempty"`
    // TotalUsage - READ-ONLY; How long the environment has been used by a lab user
    TotalUsage *string `json:"totalUsage,omitempty"`
    // PasswordLastReset - READ-ONLY; When the password was last reset on the environment.
    PasswordLastReset *date.Time `json:"passwordLastReset,omitempty"`
}

EnvironmentDetails this represents the details about a User's environment and its state.

type EnvironmentFragment Uses

type EnvironmentFragment struct {
    // EnvironmentPropertiesFragment - The properties of the Environment resource
    *EnvironmentPropertiesFragment `json:"properties,omitempty"`
    // ID - READ-ONLY; The identifier of the resource.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource.
    Type *string `json:"type,omitempty"`
    // Location - The location of the resource.
    Location *string `json:"location,omitempty"`
    // Tags - The tags of the resource.
    Tags map[string]*string `json:"tags"`
}

EnvironmentFragment represents an environment instance

func (EnvironmentFragment) MarshalJSON Uses

func (ef EnvironmentFragment) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EnvironmentFragment.

func (*EnvironmentFragment) UnmarshalJSON Uses

func (ef *EnvironmentFragment) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for EnvironmentFragment struct.

type EnvironmentOperationsPayload Uses

type EnvironmentOperationsPayload struct {
    // EnvironmentID - The resourceId of the environment
    EnvironmentID *string `json:"environmentId,omitempty"`
}

EnvironmentOperationsPayload represents payload for any Environment operations like get, start, stop, connect

type EnvironmentProperties Uses

type EnvironmentProperties struct {
    // ResourceSets - The set of a VM and the setting id it was created for
    ResourceSets *ResourceSet `json:"resourceSets,omitempty"`
    // ClaimedByUserObjectID - READ-ONLY; The AAD object Id of the user who has claimed the environment
    ClaimedByUserObjectID *string `json:"claimedByUserObjectId,omitempty"`
    // ClaimedByUserPrincipalID - READ-ONLY; The user principal Id of the user who has claimed the environment
    ClaimedByUserPrincipalID *string `json:"claimedByUserPrincipalId,omitempty"`
    // ClaimedByUserName - READ-ONLY; The name or email address of the user who has claimed the environment
    ClaimedByUserName *string `json:"claimedByUserName,omitempty"`
    // IsClaimed - READ-ONLY; Is the environment claimed or not
    IsClaimed *bool `json:"isClaimed,omitempty"`
    // LastKnownPowerState - READ-ONLY; Last known power state of the environment
    LastKnownPowerState *string `json:"lastKnownPowerState,omitempty"`
    // NetworkInterface - READ-ONLY; Network details of the environment
    NetworkInterface *NetworkInterface `json:"networkInterface,omitempty"`
    // TotalUsage - READ-ONLY; How long the environment has been used by a lab user
    TotalUsage *string `json:"totalUsage,omitempty"`
    // PasswordLastReset - READ-ONLY; When the password was last reset on the environment.
    PasswordLastReset *date.Time `json:"passwordLastReset,omitempty"`
    // ProvisioningState - The provisioning status of the resource.
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // UniqueIdentifier - The unique immutable identifier of a resource (Guid).
    UniqueIdentifier *string `json:"uniqueIdentifier,omitempty"`
    // LatestOperationResult - READ-ONLY; The details of the latest operation. ex: status, error
    LatestOperationResult *LatestOperationResult `json:"latestOperationResult,omitempty"`
}

EnvironmentProperties properties of an environment

type EnvironmentPropertiesFragment Uses

type EnvironmentPropertiesFragment struct {
    // ResourceSets - The set of a VM and the setting id it was created for
    ResourceSets *ResourceSetFragment `json:"resourceSets,omitempty"`
    // ProvisioningState - The provisioning status of the resource.
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // UniqueIdentifier - The unique immutable identifier of a resource (Guid).
    UniqueIdentifier *string `json:"uniqueIdentifier,omitempty"`
}

EnvironmentPropertiesFragment properties of an environment

type EnvironmentSetting Uses

type EnvironmentSetting struct {
    autorest.Response `json:"-"`
    // EnvironmentSettingProperties - The properties of the Environment Setting resource
    *EnvironmentSettingProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; The identifier of the resource.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource.
    Type *string `json:"type,omitempty"`
    // Location - The location of the resource.
    Location *string `json:"location,omitempty"`
    // Tags - The tags of the resource.
    Tags map[string]*string `json:"tags"`
}

EnvironmentSetting represents settings of an environment, from which environment instances would be created

func (EnvironmentSetting) MarshalJSON Uses

func (es EnvironmentSetting) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EnvironmentSetting.

func (*EnvironmentSetting) UnmarshalJSON Uses

func (es *EnvironmentSetting) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for EnvironmentSetting struct.

type EnvironmentSettingCreationParameters Uses

type EnvironmentSettingCreationParameters struct {
    // ResourceSettingCreationParameters - The resource specific settings
    ResourceSettingCreationParameters *ResourceSettingCreationParameters `json:"resourceSettingCreationParameters,omitempty"`
}

EnvironmentSettingCreationParameters settings related to creating an environment setting

type EnvironmentSettingFragment Uses

type EnvironmentSettingFragment struct {
    // EnvironmentSettingPropertiesFragment - The properties of the Environment Setting resource
    *EnvironmentSettingPropertiesFragment `json:"properties,omitempty"`
    // ID - READ-ONLY; The identifier of the resource.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource.
    Type *string `json:"type,omitempty"`
    // Location - The location of the resource.
    Location *string `json:"location,omitempty"`
    // Tags - The tags of the resource.
    Tags map[string]*string `json:"tags"`
}

EnvironmentSettingFragment represents settings of an environment, from which environment instances would be created

func (EnvironmentSettingFragment) MarshalJSON Uses

func (esf EnvironmentSettingFragment) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EnvironmentSettingFragment.

func (*EnvironmentSettingFragment) UnmarshalJSON Uses

func (esf *EnvironmentSettingFragment) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for EnvironmentSettingFragment struct.

type EnvironmentSettingProperties Uses

type EnvironmentSettingProperties struct {
    // PublishingState - READ-ONLY; Describes the readiness of this environment setting. Possible values include: 'Draft', 'Publishing', 'Published', 'PublishFailed', 'Scaling'
    PublishingState PublishingState `json:"publishingState,omitempty"`
    // ConfigurationState - Describes the user's progress in configuring their environment setting. Possible values include: 'NotApplicable', 'Completed'
    ConfigurationState ConfigurationState `json:"configurationState,omitempty"`
    // Description - Describes the environment and its resource settings
    Description *string `json:"description,omitempty"`
    // Title - Brief title describing the environment and its resource settings
    Title *string `json:"title,omitempty"`
    // ResourceSettings - The resource specific settings
    ResourceSettings *ResourceSettings `json:"resourceSettings,omitempty"`
    // LastChanged - READ-ONLY; Time when the template VM was last changed.
    LastChanged *date.Time `json:"lastChanged,omitempty"`
    // LastPublished - READ-ONLY; Time when the template VM was last sent for publishing.
    LastPublished *date.Time `json:"lastPublished,omitempty"`
    // ProvisioningState - The provisioning status of the resource.
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // UniqueIdentifier - The unique immutable identifier of a resource (Guid).
    UniqueIdentifier *string `json:"uniqueIdentifier,omitempty"`
    // LatestOperationResult - READ-ONLY; The details of the latest operation. ex: status, error
    LatestOperationResult *LatestOperationResult `json:"latestOperationResult,omitempty"`
}

EnvironmentSettingProperties properties of an environment setting

type EnvironmentSettingPropertiesFragment Uses

type EnvironmentSettingPropertiesFragment struct {
    // ConfigurationState - Describes the user's progress in configuring their environment setting. Possible values include: 'NotApplicable', 'Completed'
    ConfigurationState ConfigurationState `json:"configurationState,omitempty"`
    // Description - Describes the environment and its resource settings
    Description *string `json:"description,omitempty"`
    // Title - Brief title describing the environment and its resource settings
    Title *string `json:"title,omitempty"`
    // ResourceSettings - The resource specific settings
    ResourceSettings *ResourceSettingsFragment `json:"resourceSettings,omitempty"`
    // ProvisioningState - The provisioning status of the resource.
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // UniqueIdentifier - The unique immutable identifier of a resource (Guid).
    UniqueIdentifier *string `json:"uniqueIdentifier,omitempty"`
}

EnvironmentSettingPropertiesFragment properties of an environment setting

type EnvironmentSettingsClient Uses

type EnvironmentSettingsClient struct {
    BaseClient
}

EnvironmentSettingsClient is the the Managed Labs Client.

func NewEnvironmentSettingsClient Uses

func NewEnvironmentSettingsClient(subscriptionID string) EnvironmentSettingsClient

NewEnvironmentSettingsClient creates an instance of the EnvironmentSettingsClient client.

func NewEnvironmentSettingsClientWithBaseURI Uses

func NewEnvironmentSettingsClientWithBaseURI(baseURI string, subscriptionID string) EnvironmentSettingsClient

NewEnvironmentSettingsClientWithBaseURI creates an instance of the EnvironmentSettingsClient client.

func (EnvironmentSettingsClient) ClaimAny Uses

func (client EnvironmentSettingsClient) ClaimAny(ctx context.Context, resourceGroupName string, labAccountName string, labName string, environmentSettingName string) (result autorest.Response, err error)

ClaimAny claims a random environment for a user in an environment settings Parameters: resourceGroupName - the name of the resource group. labAccountName - the name of the lab Account. labName - the name of the lab. environmentSettingName - the name of the environment Setting.

func (EnvironmentSettingsClient) ClaimAnyPreparer Uses

func (client EnvironmentSettingsClient) ClaimAnyPreparer(ctx context.Context, resourceGroupName string, labAccountName string, labName string, environmentSettingName string) (*http.Request, error)

ClaimAnyPreparer prepares the ClaimAny request.

func (EnvironmentSettingsClient) ClaimAnyResponder Uses

func (client EnvironmentSettingsClient) ClaimAnyResponder(resp *http.Response) (result autorest.Response, err error)

ClaimAnyResponder handles the response to the ClaimAny request. The method always closes the http.Response Body.

func (EnvironmentSettingsClient) ClaimAnySender Uses

func (client EnvironmentSettingsClient) ClaimAnySender(req *http.Request) (*http.Response, error)

ClaimAnySender sends the ClaimAny request. The method will close the http.Response Body if it receives an error.

func (EnvironmentSettingsClient) CreateOrUpdate Uses

func (client EnvironmentSettingsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, labAccountName string, labName string, environmentSettingName string, environmentSetting EnvironmentSetting) (result EnvironmentSettingsCreateOrUpdateFuture, err error)

CreateOrUpdate create or replace an existing Environment Setting. This operation can take a while to complete Parameters: resourceGroupName - the name of the resource group. labAccountName - the name of the lab Account. labName - the name of the lab. environmentSettingName - the name of the environment Setting. environmentSetting - represents settings of an environment, from which environment instances would be created

func (EnvironmentSettingsClient) CreateOrUpdatePreparer Uses

func (client EnvironmentSettingsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, labAccountName string, labName string, environmentSettingName string, environmentSetting EnvironmentSetting) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (EnvironmentSettingsClient) CreateOrUpdateResponder Uses

func (client EnvironmentSettingsClient) CreateOrUpdateResponder(resp *http.Response) (result EnvironmentSetting, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (EnvironmentSettingsClient) CreateOrUpdateSender Uses

func (client EnvironmentSettingsClient) CreateOrUpdateSender(req *http.Request) (future EnvironmentSettingsCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (EnvironmentSettingsClient) Delete Uses

func (client EnvironmentSettingsClient) Delete(ctx context.Context, resourceGroupName string, labAccountName string, labName string, environmentSettingName string) (result EnvironmentSettingsDeleteFuture, err error)

Delete delete environment setting. This operation can take a while to complete Parameters: resourceGroupName - the name of the resource group. labAccountName - the name of the lab Account. labName - the name of the lab. environmentSettingName - the name of the environment Setting.

func (EnvironmentSettingsClient) DeletePreparer Uses

func (client EnvironmentSettingsClient) DeletePreparer(ctx context.Context, resourceGroupName string, labAccountName string, labName string, environmentSettingName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (EnvironmentSettingsClient) DeleteResponder Uses

func (client EnvironmentSettingsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (EnvironmentSettingsClient) DeleteSender Uses

func (client EnvironmentSettingsClient) DeleteSender(req *http.Request) (future EnvironmentSettingsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (EnvironmentSettingsClient) Get Uses

func (client EnvironmentSettingsClient) Get(ctx context.Context, resourceGroupName string, labAccountName string, labName string, environmentSettingName string, expand string) (result EnvironmentSetting, err error)

Get get environment setting Parameters: resourceGroupName - the name of the resource group. labAccountName - the name of the lab Account. labName - the name of the lab. environmentSettingName - the name of the environment Setting. expand - specify the $expand query. Example: 'properties($select=publishingState)'

func (EnvironmentSettingsClient) GetPreparer Uses

func (client EnvironmentSettingsClient) GetPreparer(ctx context.Context, resourceGroupName string, labAccountName string, labName string, environmentSettingName string, expand string) (*http.Request, error)

GetPreparer prepares the Get request.

func (EnvironmentSettingsClient) GetResponder Uses

func (client EnvironmentSettingsClient) GetResponder(resp *http.Response) (result EnvironmentSetting, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (EnvironmentSettingsClient) GetSender Uses

func (client EnvironmentSettingsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (EnvironmentSettingsClient) List Uses

func (client EnvironmentSettingsClient) List(ctx context.Context, resourceGroupName string, labAccountName string, labName string, expand string, filter string, top *int32, orderby string) (result ResponseWithContinuationEnvironmentSettingPage, err error)

List list environment setting in a given lab. Parameters: resourceGroupName - the name of the resource group. labAccountName - the name of the lab Account. labName - the name of the lab. expand - specify the $expand query. Example: 'properties($select=publishingState)' filter - the filter to apply to the operation. top - the maximum number of resources to return from the operation. orderby - the ordering expression for the results, using OData notation.

func (EnvironmentSettingsClient) ListComplete Uses

func (client EnvironmentSettingsClient) ListComplete(ctx context.Context, resourceGroupName string, labAccountName string, labName string, expand string, filter string, top *int32, orderby string) (result ResponseWithContinuationEnvironmentSettingIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (EnvironmentSettingsClient) ListPreparer Uses

func (client EnvironmentSettingsClient) ListPreparer(ctx context.Context, resourceGroupName string, labAccountName string, labName string, expand string, filter string, top *int32, orderby string) (*http.Request, error)

ListPreparer prepares the List request.

func (EnvironmentSettingsClient) ListResponder Uses

func (client EnvironmentSettingsClient) ListResponder(resp *http.Response) (result ResponseWithContinuationEnvironmentSetting, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (EnvironmentSettingsClient) ListSender Uses

func (client EnvironmentSettingsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (EnvironmentSettingsClient) Publish Uses

func (client EnvironmentSettingsClient) Publish(ctx context.Context, resourceGroupName string, labAccountName string, labName string, environmentSettingName string, publishPayload PublishPayload) (result autorest.Response, err error)

Publish provisions/deprovisions required resources for an environment setting based on current state of the lab/environment setting. Parameters: resourceGroupName - the name of the resource group. labAccountName - the name of the lab Account. labName - the name of the lab. environmentSettingName - the name of the environment Setting. publishPayload - payload for Publish operation on EnvironmentSetting.

func (EnvironmentSettingsClient) PublishPreparer Uses

func (client EnvironmentSettingsClient) PublishPreparer(ctx context.Context, resourceGroupName string, labAccountName string, labName string, environmentSettingName string, publishPayload PublishPayload) (*http.Request, error)

PublishPreparer prepares the Publish request.

func (EnvironmentSettingsClient) PublishResponder Uses

func (client EnvironmentSettingsClient) PublishResponder(resp *http.Response) (result autorest.Response, err error)

PublishResponder handles the response to the Publish request. The method always closes the http.Response Body.

func (EnvironmentSettingsClient) PublishSender Uses

func (client EnvironmentSettingsClient) PublishSender(req *http.Request) (*http.Response, error)

PublishSender sends the Publish request. The method will close the http.Response Body if it receives an error.

func (EnvironmentSettingsClient) Start Uses

func (client EnvironmentSettingsClient) Start(ctx context.Context, resourceGroupName string, labAccountName string, labName string, environmentSettingName string) (result EnvironmentSettingsStartFuture, err error)

Start starts a template by starting all resources inside the template. This operation can take a while to complete Parameters: resourceGroupName - the name of the resource group. labAccountName - the name of the lab Account. labName - the name of the lab. environmentSettingName - the name of the environment Setting.

func (EnvironmentSettingsClient) StartPreparer Uses

func (client EnvironmentSettingsClient) StartPreparer(ctx context.Context, resourceGroupName string, labAccountName string, labName string, environmentSettingName string) (*http.Request, error)

StartPreparer prepares the Start request.

func (EnvironmentSettingsClient) StartResponder Uses

func (client EnvironmentSettingsClient) StartResponder(resp *http.Response) (result autorest.Response, err error)

StartResponder handles the response to the Start request. The method always closes the http.Response Body.

func (EnvironmentSettingsClient) StartSender Uses

func (client EnvironmentSettingsClient) StartSender(req *http.Request) (future EnvironmentSettingsStartFuture, err error)

StartSender sends the Start request. The method will close the http.Response Body if it receives an error.

func (EnvironmentSettingsClient) Stop Uses

func (client EnvironmentSettingsClient) Stop(ctx context.Context, resourceGroupName string, labAccountName string, labName string, environmentSettingName string) (result EnvironmentSettingsStopFuture, err error)

Stop starts a template by starting all resources inside the template. This operation can take a while to complete Parameters: resourceGroupName - the name of the resource group. labAccountName - the name of the lab Account. labName - the name of the lab. environmentSettingName - the name of the environment Setting.

func (EnvironmentSettingsClient) StopPreparer Uses

func (client EnvironmentSettingsClient) StopPreparer(ctx context.Context, resourceGroupName string, labAccountName string, labName string, environmentSettingName string) (*http.Request, error)

StopPreparer prepares the Stop request.

func (EnvironmentSettingsClient) StopResponder Uses

func (client EnvironmentSettingsClient) StopResponder(resp *http.Response) (result autorest.Response, err error)

StopResponder handles the response to the Stop request. The method always closes the http.Response Body.

func (EnvironmentSettingsClient) StopSender Uses

func (client EnvironmentSettingsClient) StopSender(req *http.Request) (future EnvironmentSettingsStopFuture, err error)

StopSender sends the Stop request. The method will close the http.Response Body if it receives an error.

func (EnvironmentSettingsClient) Update Uses

func (client EnvironmentSettingsClient) Update(ctx context.Context, resourceGroupName string, labAccountName string, labName string, environmentSettingName string, environmentSetting EnvironmentSettingFragment) (result EnvironmentSetting, err error)

Update modify properties of environment setting. Parameters: resourceGroupName - the name of the resource group. labAccountName - the name of the lab Account. labName - the name of the lab. environmentSettingName - the name of the environment Setting. environmentSetting - represents settings of an environment, from which environment instances would be created

func (EnvironmentSettingsClient) UpdatePreparer Uses

func (client EnvironmentSettingsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, labAccountName string, labName string, environmentSettingName string, environmentSetting EnvironmentSettingFragment) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (EnvironmentSettingsClient) UpdateResponder Uses

func (client EnvironmentSettingsClient) UpdateResponder(resp *http.Response) (result EnvironmentSetting, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (EnvironmentSettingsClient) UpdateSender Uses

func (client EnvironmentSettingsClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type EnvironmentSettingsCreateOrUpdateFuture Uses

type EnvironmentSettingsCreateOrUpdateFuture struct {
    azure.Future
}

EnvironmentSettingsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*EnvironmentSettingsCreateOrUpdateFuture) Result Uses

func (future *EnvironmentSettingsCreateOrUpdateFuture) Result(client EnvironmentSettingsClient) (es EnvironmentSetting, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type EnvironmentSettingsDeleteFuture Uses

type EnvironmentSettingsDeleteFuture struct {
    azure.Future
}

EnvironmentSettingsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*EnvironmentSettingsDeleteFuture) Result Uses

func (future *EnvironmentSettingsDeleteFuture) Result(client EnvironmentSettingsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type EnvironmentSettingsStartFuture Uses

type EnvironmentSettingsStartFuture struct {
    azure.Future
}

EnvironmentSettingsStartFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*EnvironmentSettingsStartFuture) Result Uses

func (future *EnvironmentSettingsStartFuture) Result(client EnvironmentSettingsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type EnvironmentSettingsStopFuture Uses

type EnvironmentSettingsStopFuture struct {
    azure.Future
}

EnvironmentSettingsStopFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*EnvironmentSettingsStopFuture) Result Uses

func (future *EnvironmentSettingsStopFuture) Result(client EnvironmentSettingsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type EnvironmentSize Uses

type EnvironmentSize struct {
    // Name - The size category. Possible values include: 'Basic', 'Standard', 'Performance'
    Name ManagedLabVMSize `json:"name,omitempty"`
    // VMSizes - Represents a set of compute sizes that can serve this given size type
    VMSizes *[]SizeInfo `json:"vmSizes,omitempty"`
    // MaxPrice - READ-ONLY; The pay-as-you-go dollar price per hour this size will cost. It does not include discounts and may not reflect the actual price the size will cost. This is the maximum price of all prices within this tier.
    MaxPrice *decimal.Decimal `json:"maxPrice,omitempty"`
    // MinNumberOfCores - READ-ONLY; The number of cores a VM of this size has. This is the minimum number of cores within this tier.
    MinNumberOfCores *int32 `json:"minNumberOfCores,omitempty"`
    // MinMemory - READ-ONLY; The amount of memory available (in GB). This is the minimum amount of memory within this tier.
    MinMemory *float64 `json:"minMemory,omitempty"`
}

EnvironmentSize represents a size category supported by this Lab Account (small, medium or large)

type EnvironmentSizeFragment Uses

type EnvironmentSizeFragment struct {
    // Name - The size category. Possible values include: 'Basic', 'Standard', 'Performance'
    Name ManagedLabVMSize `json:"name,omitempty"`
    // VMSizes - Represents a set of compute sizes that can serve this given size type
    VMSizes *[]SizeInfoFragment `json:"vmSizes,omitempty"`
}

EnvironmentSizeFragment represents a size category supported by this Lab Account (small, medium or large)

type EnvironmentsClient Uses

type EnvironmentsClient struct {
    BaseClient
}

EnvironmentsClient is the the Managed Labs Client.

func NewEnvironmentsClient Uses

func NewEnvironmentsClient(subscriptionID string) EnvironmentsClient

NewEnvironmentsClient creates an instance of the EnvironmentsClient client.

func NewEnvironmentsClientWithBaseURI Uses

func NewEnvironmentsClientWithBaseURI(baseURI string, subscriptionID string) EnvironmentsClient

NewEnvironmentsClientWithBaseURI creates an instance of the EnvironmentsClient client.

func (EnvironmentsClient) Claim Uses

func (client EnvironmentsClient) Claim(ctx context.Context, resourceGroupName string, labAccountName string, labName string, environmentSettingName string, environmentName string) (result autorest.Response, err error)

Claim claims the environment and assigns it to the user Parameters: resourceGroupName - the name of the resource group. labAccountName - the name of the lab Account. labName - the name of the lab. environmentSettingName - the name of the environment Setting. environmentName - the name of the environment.

func (EnvironmentsClient) ClaimPreparer Uses

func (client EnvironmentsClient) ClaimPreparer(ctx context.Context, resourceGroupName string, labAccountName string, labName string, environmentSettingName string, environmentName string) (*http.Request, error)

ClaimPreparer prepares the Claim request.

func (EnvironmentsClient) ClaimResponder Uses

func (client EnvironmentsClient) ClaimResponder(resp *http.Response) (result autorest.Response, err error)

ClaimResponder handles the response to the Claim request. The method always closes the http.Response Body.

func (EnvironmentsClient) ClaimSender Uses

func (client EnvironmentsClient) ClaimSender(req *http.Request) (*http.Response, error)

ClaimSender sends the Claim request. The method will close the http.Response Body if it receives an error.

func (EnvironmentsClient) CreateOrUpdate Uses

func (client EnvironmentsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, labAccountName string, labName string, environmentSettingName string, environmentName string, environment Environment) (result Environment, err error)

CreateOrUpdate create or replace an existing Environment. Parameters: resourceGroupName - the name of the resource group. labAccountName - the name of the lab Account. labName - the name of the lab. environmentSettingName - the name of the environment Setting. environmentName - the name of the environment. environment - represents an environment instance

func (EnvironmentsClient) CreateOrUpdatePreparer Uses

func (client EnvironmentsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, labAccountName string, labName string, environmentSettingName string, environmentName string, environment Environment) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (EnvironmentsClient) CreateOrUpdateResponder Uses

func (client EnvironmentsClient) CreateOrUpdateResponder(resp *http.Response) (result Environment, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (EnvironmentsClient) CreateOrUpdateSender Uses

func (client EnvironmentsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (EnvironmentsClient) Delete Uses

func (client EnvironmentsClient) Delete(ctx context.Context, resourceGroupName string, labAccountName string, labName string, environmentSettingName string, environmentName string) (result EnvironmentsDeleteFuture, err error)

Delete delete environment. This operation can take a while to complete Parameters: resourceGroupName - the name of the resource group. labAccountName - the name of the lab Account. labName - the name of the lab. environmentSettingName - the name of the environment Setting. environmentName - the name of the environment.

func (EnvironmentsClient) DeletePreparer Uses

func (client EnvironmentsClient) DeletePreparer(ctx context.Context, resourceGroupName string, labAccountName string, labName string, environmentSettingName string, environmentName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (EnvironmentsClient) DeleteResponder Uses

func (client EnvironmentsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (EnvironmentsClient) DeleteSender Uses

func (client EnvironmentsClient) DeleteSender(req *http.Request) (future EnvironmentsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (EnvironmentsClient) Get Uses

func (client EnvironmentsClient) Get(ctx context.Context, resourceGroupName string, labAccountName string, labName string, environmentSettingName string, environmentName string, expand string) (result Environment, err error)

Get get environment Parameters: resourceGroupName - the name of the resource group. labAccountName - the name of the lab Account. labName - the name of the lab. environmentSettingName - the name of the environment Setting. environmentName - the name of the environment. expand - specify the $expand query. Example: 'properties($expand=networkInterface)'

func (EnvironmentsClient) GetPreparer Uses

func (client EnvironmentsClient) GetPreparer(ctx context.Context, resourceGroupName string, labAccountName string, labName string, environmentSettingName string, environmentName string, expand string) (*http.Request, error)

GetPreparer prepares the Get request.

func (EnvironmentsClient) GetResponder Uses

func (client EnvironmentsClient) GetResponder(resp *http.Response) (result Environment, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (EnvironmentsClient) GetSender Uses

func (client EnvironmentsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (EnvironmentsClient) List Uses

func (client EnvironmentsClient) List(ctx context.Context, resourceGroupName string, labAccountName string, labName string, environmentSettingName string, expand string, filter string, top *int32, orderby string) (result ResponseWithContinuationEnvironmentPage, err error)

List list environments in a given environment setting. Parameters: resourceGroupName - the name of the resource group. labAccountName - the name of the lab Account. labName - the name of the lab. environmentSettingName - the name of the environment Setting. expand - specify the $expand query. Example: 'properties($expand=networkInterface)' filter - the filter to apply to the operation. top - the maximum number of resources to return from the operation. orderby - the ordering expression for the results, using OData notation.

func (EnvironmentsClient) ListComplete Uses

func (client EnvironmentsClient) ListComplete(ctx context.Context, resourceGroupName string, labAccountName string, labName string, environmentSettingName string, expand string, filter string, top *int32, orderby string) (result ResponseWithContinuationEnvironmentIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (EnvironmentsClient) ListPreparer Uses

func (client EnvironmentsClient) ListPreparer(ctx context.Context, resourceGroupName string, labAccountName string, labName string, environmentSettingName string, expand string, filter string, top *int32, orderby string) (*http.Request, error)

ListPreparer prepares the List request.

func (EnvironmentsClient) ListResponder Uses

func (client EnvironmentsClient) ListResponder(resp *http.Response) (result ResponseWithContinuationEnvironment, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (EnvironmentsClient) ListSender Uses

func (client EnvironmentsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (EnvironmentsClient) ResetPassword Uses

func (client EnvironmentsClient) ResetPassword(ctx context.Context, resourceGroupName string, labAccountName string, labName string, environmentSettingName string, environmentName string, resetPasswordPayload ResetPasswordPayload) (result EnvironmentsResetPasswordFuture, err error)

ResetPassword resets the user password on an environment This operation can take a while to complete Parameters: resourceGroupName - the name of the resource group. labAccountName - the name of the lab Account. labName - the name of the lab. environmentSettingName - the name of the environment Setting. environmentName - the name of the environment. resetPasswordPayload - represents the payload for resetting passwords.

func (EnvironmentsClient) ResetPasswordPreparer Uses

func (client EnvironmentsClient) ResetPasswordPreparer(ctx context.Context, resourceGroupName string, labAccountName string, labName string, environmentSettingName string, environmentName string, resetPasswordPayload ResetPasswordPayload) (*http.Request, error)

ResetPasswordPreparer prepares the ResetPassword request.

func (EnvironmentsClient) ResetPasswordResponder Uses

func (client EnvironmentsClient) ResetPasswordResponder(resp *http.Response) (result autorest.Response, err error)

ResetPasswordResponder handles the response to the ResetPassword request. The method always closes the http.Response Body.

func (EnvironmentsClient) ResetPasswordSender Uses

func (client EnvironmentsClient) ResetPasswordSender(req *http.Request) (future EnvironmentsResetPasswordFuture, err error)

ResetPasswordSender sends the ResetPassword request. The method will close the http.Response Body if it receives an error.

func (EnvironmentsClient) Start Uses

func (client EnvironmentsClient) Start(ctx context.Context, resourceGroupName string, labAccountName string, labName string, environmentSettingName string, environmentName string) (result EnvironmentsStartFuture, err error)

Start starts an environment by starting all resources inside the environment. This operation can take a while to complete Parameters: resourceGroupName - the name of the resource group. labAccountName - the name of the lab Account. labName - the name of the lab. environmentSettingName - the name of the environment Setting. environmentName - the name of the environment.

func (EnvironmentsClient) StartPreparer Uses

func (client EnvironmentsClient) StartPreparer(ctx context.Context, resourceGroupName string, labAccountName string, labName string, environmentSettingName string, environmentName string) (*http.Request, error)

StartPreparer prepares the Start request.

func (EnvironmentsClient) StartResponder Uses

func (client EnvironmentsClient) StartResponder(resp *http.Response) (result autorest.Response, err error)

StartResponder handles the response to the Start request. The method always closes the http.Response Body.

func (EnvironmentsClient) StartSender Uses

func (client EnvironmentsClient) StartSender(req *http.Request) (future EnvironmentsStartFuture, err error)

StartSender sends the Start request. The method will close the http.Response Body if it receives an error.

func (EnvironmentsClient) Stop Uses

func (client EnvironmentsClient) Stop(ctx context.Context, resourceGroupName string, labAccountName string, labName string, environmentSettingName string, environmentName string) (result EnvironmentsStopFuture, err error)

Stop stops an environment by stopping all resources inside the environment This operation can take a while to complete Parameters: resourceGroupName - the name of the resource group. labAccountName - the name of the lab Account. labName - the name of the lab. environmentSettingName - the name of the environment Setting. environmentName - the name of the environment.

func (EnvironmentsClient) StopPreparer Uses

func (client EnvironmentsClient) StopPreparer(ctx context.Context, resourceGroupName string, labAccountName string, labName string, environmentSettingName string, environmentName string) (*http.Request, error)

StopPreparer prepares the Stop request.

func (EnvironmentsClient) StopResponder Uses

func (client EnvironmentsClient) StopResponder(resp *http.Response) (result autorest.Response, err error)

StopResponder handles the response to the Stop request. The method always closes the http.Response Body.

func (EnvironmentsClient) StopSender Uses

func (client EnvironmentsClient) StopSender(req *http.Request) (future EnvironmentsStopFuture, err error)

StopSender sends the Stop request. The method will close the http.Response Body if it receives an error.

func (EnvironmentsClient) Update Uses

func (client EnvironmentsClient) Update(ctx context.Context, resourceGroupName string, labAccountName string, labName string, environmentSettingName string, environmentName string, environment EnvironmentFragment) (result Environment, err error)

Update modify properties of environments. Parameters: resourceGroupName - the name of the resource group. labAccountName - the name of the lab Account. labName - the name of the lab. environmentSettingName - the name of the environment Setting. environmentName - the name of the environment. environment - represents an environment instance

func (EnvironmentsClient) UpdatePreparer Uses

func (client EnvironmentsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, labAccountName string, labName string, environmentSettingName string, environmentName string, environment EnvironmentFragment) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (EnvironmentsClient) UpdateResponder Uses

func (client EnvironmentsClient) UpdateResponder(resp *http.Response) (result Environment, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (EnvironmentsClient) UpdateSender Uses

func (client EnvironmentsClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type EnvironmentsDeleteFuture Uses

type EnvironmentsDeleteFuture struct {
    azure.Future
}

EnvironmentsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*EnvironmentsDeleteFuture) Result Uses

func (future *EnvironmentsDeleteFuture) Result(client EnvironmentsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type EnvironmentsResetPasswordFuture Uses

type EnvironmentsResetPasswordFuture struct {
    azure.Future
}

EnvironmentsResetPasswordFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*EnvironmentsResetPasswordFuture) Result Uses

func (future *EnvironmentsResetPasswordFuture) Result(client EnvironmentsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type EnvironmentsStartFuture Uses

type EnvironmentsStartFuture struct {
    azure.Future
}

EnvironmentsStartFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*EnvironmentsStartFuture) Result Uses

func (future *EnvironmentsStartFuture) Result(client EnvironmentsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type EnvironmentsStopFuture Uses

type EnvironmentsStopFuture struct {
    azure.Future
}

EnvironmentsStopFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*EnvironmentsStopFuture) Result Uses

func (future *EnvironmentsStopFuture) Result(client EnvironmentsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type GalleryImage Uses

type GalleryImage struct {
    autorest.Response `json:"-"`
    // GalleryImageProperties - The gallery image properties
    *GalleryImageProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; The identifier of the resource.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource.
    Type *string `json:"type,omitempty"`
    // Location - The location of the resource.
    Location *string `json:"location,omitempty"`
    // Tags - The tags of the resource.
    Tags map[string]*string `json:"tags"`
}

GalleryImage represents an image from the Azure Marketplace

func (GalleryImage) MarshalJSON Uses

func (gi GalleryImage) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GalleryImage.

func (*GalleryImage) UnmarshalJSON Uses

func (gi *GalleryImage) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for GalleryImage struct.

type GalleryImageFragment Uses

type GalleryImageFragment struct {
    // GalleryImagePropertiesFragment - The gallery image properties
    *GalleryImagePropertiesFragment `json:"properties,omitempty"`
    // ID - READ-ONLY; The identifier of the resource.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource.
    Type *string `json:"type,omitempty"`
    // Location - The location of the resource.
    Location *string `json:"location,omitempty"`
    // Tags - The tags of the resource.
    Tags map[string]*string `json:"tags"`
}

GalleryImageFragment represents an image from the Azure Marketplace

func (GalleryImageFragment) MarshalJSON Uses

func (gifVar GalleryImageFragment) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GalleryImageFragment.

func (*GalleryImageFragment) UnmarshalJSON Uses

func (gifVar *GalleryImageFragment) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for GalleryImageFragment struct.

type GalleryImageProperties Uses

type GalleryImageProperties struct {
    // Author - READ-ONLY; The author of the gallery image.
    Author *string `json:"author,omitempty"`
    // CreatedDate - READ-ONLY; The creation date of the gallery image.
    CreatedDate *date.Time `json:"createdDate,omitempty"`
    // Description - READ-ONLY; The description of the gallery image.
    Description *string `json:"description,omitempty"`
    // ImageReference - READ-ONLY; The image reference of the gallery image.
    ImageReference *GalleryImageReference `json:"imageReference,omitempty"`
    // Icon - READ-ONLY; The icon of the gallery image.
    Icon *string `json:"icon,omitempty"`
    // IsEnabled - Indicates whether this gallery image is enabled.
    IsEnabled *bool `json:"isEnabled,omitempty"`
    // IsOverride - Indicates whether this gallery has been overridden for this lab account
    IsOverride *bool `json:"isOverride,omitempty"`
    // PlanID - READ-ONLY; The third party plan that applies to this image
    PlanID *string `json:"planId,omitempty"`
    // IsPlanAuthorized - Indicates if the plan has been authorized for programmatic deployment.
    IsPlanAuthorized *bool `json:"isPlanAuthorized,omitempty"`
    // ProvisioningState - The provisioning status of the resource.
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // UniqueIdentifier - The unique immutable identifier of a resource (Guid).
    UniqueIdentifier *string `json:"uniqueIdentifier,omitempty"`
    // LatestOperationResult - READ-ONLY; The details of the latest operation. ex: status, error
    LatestOperationResult *LatestOperationResult `json:"latestOperationResult,omitempty"`
}

GalleryImageProperties the gallery image properties

type GalleryImagePropertiesFragment Uses

type GalleryImagePropertiesFragment struct {
    // IsEnabled - Indicates whether this gallery image is enabled.
    IsEnabled *bool `json:"isEnabled,omitempty"`
    // IsOverride - Indicates whether this gallery has been overridden for this lab account
    IsOverride *bool `json:"isOverride,omitempty"`
    // IsPlanAuthorized - Indicates if the plan has been authorized for programmatic deployment.
    IsPlanAuthorized *bool `json:"isPlanAuthorized,omitempty"`
    // ProvisioningState - The provisioning status of the resource.
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // UniqueIdentifier - The unique immutable identifier of a resource (Guid).
    UniqueIdentifier *string `json:"uniqueIdentifier,omitempty"`
}

GalleryImagePropertiesFragment the gallery image properties

type GalleryImageReference Uses

type GalleryImageReference struct {
    // Offer - The offer of the gallery image.
    Offer *string `json:"offer,omitempty"`
    // Publisher - The publisher of the gallery image.
    Publisher *string `json:"publisher,omitempty"`
    // Sku - The SKU of the gallery image.
    Sku *string `json:"sku,omitempty"`
    // OsType - The OS type of the gallery image.
    OsType *string `json:"osType,omitempty"`
    // Version - The version of the gallery image.
    Version *string `json:"version,omitempty"`
}

GalleryImageReference the reference information for an Azure Marketplace image.

type GalleryImageReferenceFragment Uses

type GalleryImageReferenceFragment struct {
    // Offer - The offer of the gallery image.
    Offer *string `json:"offer,omitempty"`
    // Publisher - The publisher of the gallery image.
    Publisher *string `json:"publisher,omitempty"`
    // Sku - The SKU of the gallery image.
    Sku *string `json:"sku,omitempty"`
    // OsType - The OS type of the gallery image.
    OsType *string `json:"osType,omitempty"`
    // Version - The version of the gallery image.
    Version *string `json:"version,omitempty"`
}

GalleryImageReferenceFragment the reference information for an Azure Marketplace image.

type GalleryImagesClient Uses

type GalleryImagesClient struct {
    BaseClient
}

GalleryImagesClient is the the Managed Labs Client.

func NewGalleryImagesClient Uses

func NewGalleryImagesClient(subscriptionID string) GalleryImagesClient

NewGalleryImagesClient creates an instance of the GalleryImagesClient client.

func NewGalleryImagesClientWithBaseURI Uses

func NewGalleryImagesClientWithBaseURI(baseURI string, subscriptionID string) GalleryImagesClient

NewGalleryImagesClientWithBaseURI creates an instance of the GalleryImagesClient client.

func (GalleryImagesClient) CreateOrUpdate Uses

func (client GalleryImagesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, labAccountName string, galleryImageName string, galleryImage GalleryImage) (result GalleryImage, err error)

CreateOrUpdate create or replace an existing Gallery Image. Parameters: resourceGroupName - the name of the resource group. labAccountName - the name of the lab Account. galleryImageName - the name of the gallery Image. galleryImage - represents an image from the Azure Marketplace

func (GalleryImagesClient) CreateOrUpdatePreparer Uses

func (client GalleryImagesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, labAccountName string, galleryImageName string, galleryImage GalleryImage) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (GalleryImagesClient) CreateOrUpdateResponder Uses

func (client GalleryImagesClient) CreateOrUpdateResponder(resp *http.Response) (result GalleryImage, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (GalleryImagesClient) CreateOrUpdateSender Uses

func (client GalleryImagesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (GalleryImagesClient) Delete Uses

func (client GalleryImagesClient) Delete(ctx context.Context, resourceGroupName string, labAccountName string, galleryImageName string) (result autorest.Response, err error)

Delete delete gallery image. Parameters: resourceGroupName - the name of the resource group. labAccountName - the name of the lab Account. galleryImageName - the name of the gallery Image.

func (GalleryImagesClient) DeletePreparer Uses

func (client GalleryImagesClient) DeletePreparer(ctx context.Context, resourceGroupName string, labAccountName string, galleryImageName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (GalleryImagesClient) DeleteResponder Uses

func (client GalleryImagesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (GalleryImagesClient) DeleteSender Uses

func (client GalleryImagesClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (GalleryImagesClient) Get Uses

func (client GalleryImagesClient) Get(ctx context.Context, resourceGroupName string, labAccountName string, galleryImageName string, expand string) (result GalleryImage, err error)

Get get gallery image Parameters: resourceGroupName - the name of the resource group. labAccountName - the name of the lab Account. galleryImageName - the name of the gallery Image. expand - specify the $expand query. Example: 'properties($select=author)'

func (GalleryImagesClient) GetPreparer Uses

func (client GalleryImagesClient) GetPreparer(ctx context.Context, resourceGroupName string, labAccountName string, galleryImageName string, expand string) (*http.Request, error)

GetPreparer prepares the Get request.

func (GalleryImagesClient) GetResponder Uses

func (client GalleryImagesClient) GetResponder(resp *http.Response) (result GalleryImage, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (GalleryImagesClient) GetSender Uses

func (client GalleryImagesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (GalleryImagesClient) List Uses

func (client GalleryImagesClient) List(ctx context.Context, resourceGroupName string, labAccountName string, expand string, filter string, top *int32, orderby string) (result ResponseWithContinuationGalleryImagePage, err error)

List list gallery images in a given lab account. Parameters: resourceGroupName - the name of the resource group. labAccountName - the name of the lab Account. expand - specify the $expand query. Example: 'properties($select=author)' filter - the filter to apply to the operation. top - the maximum number of resources to return from the operation. orderby - the ordering expression for the results, using OData notation.

func (GalleryImagesClient) ListComplete Uses

func (client GalleryImagesClient) ListComplete(ctx context.Context, resourceGroupName string, labAccountName string, expand string, filter string, top *int32, orderby string) (result ResponseWithContinuationGalleryImageIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (GalleryImagesClient) ListPreparer Uses

func (client GalleryImagesClient) ListPreparer(ctx context.Context, resourceGroupName string, labAccountName string, expand string, filter string, top *int32, orderby string) (*http.Request, error)

ListPreparer prepares the List request.

func (GalleryImagesClient) ListResponder Uses

func (client GalleryImagesClient) ListResponder(resp *http.Response) (result ResponseWithContinuationGalleryImage, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (GalleryImagesClient) ListSender Uses

func (client GalleryImagesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (GalleryImagesClient) Update Uses

func (client GalleryImagesClient) Update(ctx context.Context, resourceGroupName string, labAccountName string, galleryImageName string, galleryImage GalleryImageFragment) (result GalleryImage, err error)

Update modify properties of gallery images. Parameters: resourceGroupName - the name of the resource group. labAccountName - the name of the lab Account. galleryImageName - the name of the gallery Image. galleryImage - represents an image from the Azure Marketplace

func (GalleryImagesClient) UpdatePreparer Uses

func (client GalleryImagesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, labAccountName string, galleryImageName string, galleryImage GalleryImageFragment) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (GalleryImagesClient) UpdateResponder Uses

func (client GalleryImagesClient) UpdateResponder(resp *http.Response) (result GalleryImage, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (GalleryImagesClient) UpdateSender Uses

func (client GalleryImagesClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type GetEnvironmentResponse Uses

type GetEnvironmentResponse struct {
    autorest.Response `json:"-"`
    // Environment - READ-ONLY; Details of the environment
    Environment *EnvironmentDetails `json:"environment,omitempty"`
}

GetEnvironmentResponse represents the environments details

type GetPersonalPreferencesResponse Uses

type GetPersonalPreferencesResponse struct {
    autorest.Response `json:"-"`
    // ID - Id to be used by the cache orchestrator
    ID  *string `json:"id,omitempty"`
    // FavoriteLabResourceIds - Array of favorite lab resource ids
    FavoriteLabResourceIds *[]string `json:"favoriteLabResourceIds,omitempty"`
}

GetPersonalPreferencesResponse represents the PersonalPreferences for the user

type GetRegionalAvailabilityResponse Uses

type GetRegionalAvailabilityResponse struct {
    autorest.Response `json:"-"`
    // RegionalAvailability - Availability information for different size categories per region
    RegionalAvailability *[]RegionalAvailability `json:"regionalAvailability,omitempty"`
}

GetRegionalAvailabilityResponse the response model from the GetRegionalAvailability action

type GlobalUsersClient Uses

type GlobalUsersClient struct {
    BaseClient
}

GlobalUsersClient is the the Managed Labs Client.

func NewGlobalUsersClient Uses

func NewGlobalUsersClient(subscriptionID string) GlobalUsersClient

NewGlobalUsersClient creates an instance of the GlobalUsersClient client.

func NewGlobalUsersClientWithBaseURI Uses

func NewGlobalUsersClientWithBaseURI(baseURI string, subscriptionID string) GlobalUsersClient

NewGlobalUsersClientWithBaseURI creates an instance of the GlobalUsersClient client.

func (GlobalUsersClient) GetEnvironment Uses

func (client GlobalUsersClient) GetEnvironment(ctx context.Context, userName string, environmentOperationsPayload EnvironmentOperationsPayload, expand string) (result GetEnvironmentResponse, err error)

GetEnvironment gets the virtual machine details Parameters: userName - the name of the user. environmentOperationsPayload - represents payload for any Environment operations like get, start, stop, connect expand - specify the $expand query. Example: 'properties($expand=environment)'

func (GlobalUsersClient) GetEnvironmentPreparer Uses

func (client GlobalUsersClient) GetEnvironmentPreparer(ctx context.Context, userName string, environmentOperationsPayload EnvironmentOperationsPayload, expand string) (*http.Request, error)

GetEnvironmentPreparer prepares the GetEnvironment request.

func (GlobalUsersClient) GetEnvironmentResponder Uses

func (client GlobalUsersClient) GetEnvironmentResponder(resp *http.Response) (result GetEnvironmentResponse, err error)

GetEnvironmentResponder handles the response to the GetEnvironment request. The method always closes the http.Response Body.

func (GlobalUsersClient) GetEnvironmentSender Uses

func (client GlobalUsersClient) GetEnvironmentSender(req *http.Request) (*http.Response, error)

GetEnvironmentSender sends the GetEnvironment request. The method will close the http.Response Body if it receives an error.

func (GlobalUsersClient) GetOperationBatchStatus Uses

func (client GlobalUsersClient) GetOperationBatchStatus(ctx context.Context, userName string, operationBatchStatusPayload OperationBatchStatusPayload) (result OperationBatchStatusResponse, err error)

GetOperationBatchStatus get batch operation status Parameters: userName - the name of the user. operationBatchStatusPayload - payload to get the status of an operation

func (GlobalUsersClient) GetOperationBatchStatusPreparer Uses

func (client GlobalUsersClient) GetOperationBatchStatusPreparer(ctx context.Context, userName string, operationBatchStatusPayload OperationBatchStatusPayload) (*http.Request, error)

GetOperationBatchStatusPreparer prepares the GetOperationBatchStatus request.

func (GlobalUsersClient) GetOperationBatchStatusResponder Uses

func (client GlobalUsersClient) GetOperationBatchStatusResponder(resp *http.Response) (result OperationBatchStatusResponse, err error)

GetOperationBatchStatusResponder handles the response to the GetOperationBatchStatus request. The method always closes the http.Response Body.

func (GlobalUsersClient) GetOperationBatchStatusSender Uses

func (client GlobalUsersClient) GetOperationBatchStatusSender(req *http.Request) (*http.Response, error)

GetOperationBatchStatusSender sends the GetOperationBatchStatus request. The method will close the http.Response Body if it receives an error.

func (GlobalUsersClient) GetOperationStatus Uses

func (client GlobalUsersClient) GetOperationStatus(ctx context.Context, userName string, operationStatusPayload OperationStatusPayload) (result OperationStatusResponse, err error)

GetOperationStatus gets the status of long running operation Parameters: userName - the name of the user. operationStatusPayload - payload to get the status of an operation

func (GlobalUsersClient) GetOperationStatusPreparer Uses

func (client GlobalUsersClient) GetOperationStatusPreparer(ctx context.Context, userName string, operationStatusPayload OperationStatusPayload) (*http.Request, error)

GetOperationStatusPreparer prepares the GetOperationStatus request.

func (GlobalUsersClient) GetOperationStatusResponder Uses

func (client GlobalUsersClient) GetOperationStatusResponder(resp *http.Response) (result OperationStatusResponse, err error)

GetOperationStatusResponder handles the response to the GetOperationStatus request. The method always closes the http.Response Body.

func (GlobalUsersClient) GetOperationStatusSender Uses

func (client GlobalUsersClient) GetOperationStatusSender(req *http.Request) (*http.Response, error)

GetOperationStatusSender sends the GetOperationStatus request. The method will close the http.Response Body if it receives an error.

func (GlobalUsersClient) GetPersonalPreferences Uses

func (client GlobalUsersClient) GetPersonalPreferences(ctx context.Context, userName string, personalPreferencesOperationsPayload PersonalPreferencesOperationsPayload) (result GetPersonalPreferencesResponse, err error)

GetPersonalPreferences get personal preferences for a user Parameters: userName - the name of the user. personalPreferencesOperationsPayload - represents payload for any Environment operations like get, start, stop, connect

func (GlobalUsersClient) GetPersonalPreferencesPreparer Uses

func (client GlobalUsersClient) GetPersonalPreferencesPreparer(ctx context.Context, userName string, personalPreferencesOperationsPayload PersonalPreferencesOperationsPayload) (*http.Request, error)

GetPersonalPreferencesPreparer prepares the GetPersonalPreferences request.

func (GlobalUsersClient) GetPersonalPreferencesResponder Uses

func (client GlobalUsersClient) GetPersonalPreferencesResponder(resp *http.Response) (result GetPersonalPreferencesResponse, err error)

GetPersonalPreferencesResponder handles the response to the GetPersonalPreferences request. The method always closes the http.Response Body.

func (GlobalUsersClient) GetPersonalPreferencesSender Uses

func (client GlobalUsersClient) GetPersonalPreferencesSender(req *http.Request) (*http.Response, error)

GetPersonalPreferencesSender sends the GetPersonalPreferences request. The method will close the http.Response Body if it receives an error.

func (GlobalUsersClient) ListEnvironments Uses

func (client GlobalUsersClient) ListEnvironments(ctx context.Context, userName string, listEnvironmentsPayload ListEnvironmentsPayload) (result ListEnvironmentsResponse, err error)

ListEnvironments list Environments for the user Parameters: userName - the name of the user. listEnvironmentsPayload - represents the payload to list environments owned by a user

func (GlobalUsersClient) ListEnvironmentsPreparer Uses

func (client GlobalUsersClient) ListEnvironmentsPreparer(ctx context.Context, userName string, listEnvironmentsPayload ListEnvironmentsPayload) (*http.Request, error)

ListEnvironmentsPreparer prepares the ListEnvironments request.

func (GlobalUsersClient) ListEnvironmentsResponder Uses

func (client GlobalUsersClient) ListEnvironmentsResponder(resp *http.Response) (result ListEnvironmentsResponse, err error)

ListEnvironmentsResponder handles the response to the ListEnvironments request. The method always closes the http.Response Body.

func (GlobalUsersClient) ListEnvironmentsSender Uses

func (client GlobalUsersClient) ListEnvironmentsSender(req *http.Request) (*http.Response, error)

ListEnvironmentsSender sends the ListEnvironments request. The method will close the http.Response Body if it receives an error.

func (GlobalUsersClient) ListLabs Uses

func (client GlobalUsersClient) ListLabs(ctx context.Context, userName string) (result ListLabsResponse, err error)

ListLabs list labs for the user. Parameters: userName - the name of the user.

func (GlobalUsersClient) ListLabsPreparer Uses

func (client GlobalUsersClient) ListLabsPreparer(ctx context.Context, userName string) (*http.Request, error)

ListLabsPreparer prepares the ListLabs request.

func (GlobalUsersClient) ListLabsResponder Uses

func (client GlobalUsersClient) ListLabsResponder(resp *http.Response) (result ListLabsResponse, err error)

ListLabsResponder handles the response to the ListLabs request. The method always closes the http.Response Body.

func (GlobalUsersClient) ListLabsSender Uses

func (client GlobalUsersClient) ListLabsSender(req *http.Request) (*http.Response, error)

ListLabsSender sends the ListLabs request. The method will close the http.Response Body if it receives an error.

func (GlobalUsersClient) Register Uses

func (client GlobalUsersClient) Register(ctx context.Context, userName string, registerPayload RegisterPayload) (result autorest.Response, err error)

Register register a user to a managed lab Parameters: userName - the name of the user. registerPayload - represents payload for Register action.

func (GlobalUsersClient) RegisterPreparer Uses

func (client GlobalUsersClient) RegisterPreparer(ctx context.Context, userName string, registerPayload RegisterPayload) (*http.Request, error)

RegisterPreparer prepares the Register request.

func (GlobalUsersClient) RegisterResponder Uses

func (client GlobalUsersClient) RegisterResponder(resp *http.Response) (result autorest.Response, err error)

RegisterResponder handles the response to the Register request. The method always closes the http.Response Body.

func (GlobalUsersClient) RegisterSender Uses

func (client GlobalUsersClient) RegisterSender(req *http.Request) (*http.Response, error)

RegisterSender sends the Register request. The method will close the http.Response Body if it receives an error.

func (GlobalUsersClient) ResetPassword Uses

func (client GlobalUsersClient) ResetPassword(ctx context.Context, userName string, resetPasswordPayload ResetPasswordPayload) (result GlobalUsersResetPasswordFuture, err error)

ResetPassword resets the user password on an environment This operation can take a while to complete Parameters: userName - the name of the user. resetPasswordPayload - represents the payload for resetting passwords.

func (GlobalUsersClient) ResetPasswordPreparer Uses

func (client GlobalUsersClient) ResetPasswordPreparer(ctx context.Context, userName string, resetPasswordPayload ResetPasswordPayload) (*http.Request, error)

ResetPasswordPreparer prepares the ResetPassword request.

func (GlobalUsersClient) ResetPasswordResponder Uses

func (client GlobalUsersClient) ResetPasswordResponder(resp *http.Response) (result autorest.Response, err error)

ResetPasswordResponder handles the response to the ResetPassword request. The method always closes the http.Response Body.

func (GlobalUsersClient) ResetPasswordSender Uses

func (client GlobalUsersClient) ResetPasswordSender(req *http.Request) (future GlobalUsersResetPasswordFuture, err error)

ResetPasswordSender sends the ResetPassword request. The method will close the http.Response Body if it receives an error.

func (GlobalUsersClient) StartEnvironment Uses

func (client GlobalUsersClient) StartEnvironment(ctx context.Context, userName string, environmentOperationsPayload EnvironmentOperationsPayload) (result GlobalUsersStartEnvironmentFuture, err error)

StartEnvironment starts an environment by starting all resources inside the environment. This operation can take a while to complete Parameters: userName - the name of the user. environmentOperationsPayload - represents payload for any Environment operations like get, start, stop, connect

func (GlobalUsersClient) StartEnvironmentPreparer Uses

func (client GlobalUsersClient) StartEnvironmentPreparer(ctx context.Context, userName string, environmentOperationsPayload EnvironmentOperationsPayload) (*http.Request, error)

StartEnvironmentPreparer prepares the StartEnvironment request.

func (GlobalUsersClient) StartEnvironmentResponder Uses

func (client GlobalUsersClient) StartEnvironmentResponder(resp *http.Response) (result autorest.Response, err error)

StartEnvironmentResponder handles the response to the StartEnvironment request. The method always closes the http.Response Body.

func (GlobalUsersClient) StartEnvironmentSender Uses

func (client GlobalUsersClient) StartEnvironmentSender(req *http.Request) (future GlobalUsersStartEnvironmentFuture, err error)

StartEnvironmentSender sends the StartEnvironment request. The method will close the http.Response Body if it receives an error.

func (GlobalUsersClient) StopEnvironment Uses

func (client GlobalUsersClient) StopEnvironment(ctx context.Context, userName string, environmentOperationsPayload EnvironmentOperationsPayload) (result GlobalUsersStopEnvironmentFuture, err error)

StopEnvironment stops an environment by stopping all resources inside the environment This operation can take a while to complete Parameters: userName - the name of the user. environmentOperationsPayload - represents payload for any Environment operations like get, start, stop, connect

func (GlobalUsersClient) StopEnvironmentPreparer Uses

func (client GlobalUsersClient) StopEnvironmentPreparer(ctx context.Context, userName string, environmentOperationsPayload EnvironmentOperationsPayload) (*http.Request, error)

StopEnvironmentPreparer prepares the StopEnvironment request.

func (GlobalUsersClient) StopEnvironmentResponder Uses

func (client GlobalUsersClient) StopEnvironmentResponder(resp *http.Response) (result autorest.Response, err error)

StopEnvironmentResponder handles the response to the StopEnvironment request. The method always closes the http.Response Body.

func (GlobalUsersClient) StopEnvironmentSender Uses

func (client GlobalUsersClient) StopEnvironmentSender(req *http.Request) (future GlobalUsersStopEnvironmentFuture, err error)

StopEnvironmentSender sends the StopEnvironment request. The method will close the http.Response Body if it receives an error.

type GlobalUsersResetPasswordFuture Uses

type GlobalUsersResetPasswordFuture struct {
    azure.Future
}

GlobalUsersResetPasswordFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*GlobalUsersResetPasswordFuture) Result Uses

func (future *GlobalUsersResetPasswordFuture) Result(client GlobalUsersClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type GlobalUsersStartEnvironmentFuture Uses

type GlobalUsersStartEnvironmentFuture struct {
    azure.Future
}

GlobalUsersStartEnvironmentFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*GlobalUsersStartEnvironmentFuture) Result Uses

func (future *GlobalUsersStartEnvironmentFuture) Result(client GlobalUsersClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type GlobalUsersStopEnvironmentFuture Uses

type GlobalUsersStopEnvironmentFuture struct {
    azure.Future
}

GlobalUsersStopEnvironmentFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*GlobalUsersStopEnvironmentFuture) Result Uses

func (future *GlobalUsersStopEnvironmentFuture) Result(client GlobalUsersClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type Lab Uses

type Lab struct {
    autorest.Response `json:"-"`
    // LabProperties - The properties of the resource.
    *LabProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; The identifier of the resource.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource.
    Type *string `json:"type,omitempty"`
    // Location - The location of the resource.
    Location *string `json:"location,omitempty"`
    // Tags - The tags of the resource.
    Tags map[string]*string `json:"tags"`
}

Lab represents a lab.

func (Lab) MarshalJSON Uses

func (l Lab) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Lab.

func (*Lab) UnmarshalJSON Uses

func (l *Lab) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Lab struct.

type LabAccount Uses

type LabAccount struct {
    autorest.Response `json:"-"`
    // LabAccountProperties - The properties of the resource.
    *LabAccountProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; The identifier of the resource.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource.
    Type *string `json:"type,omitempty"`
    // Location - The location of the resource.
    Location *string `json:"location,omitempty"`
    // Tags - The tags of the resource.
    Tags map[string]*string `json:"tags"`
}

LabAccount represents a lab account.

func (LabAccount) MarshalJSON Uses

func (la LabAccount) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LabAccount.

func (*LabAccount) UnmarshalJSON Uses

func (la *LabAccount) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for LabAccount struct.

type LabAccountFragment Uses

type LabAccountFragment struct {
    // LabAccountPropertiesFragment - The properties of the resource.
    *LabAccountPropertiesFragment `json:"properties,omitempty"`
    // ID - READ-ONLY; The identifier of the resource.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource.
    Type *string `json:"type,omitempty"`
    // Location - The location of the resource.
    Location *string `json:"location,omitempty"`
    // Tags - The tags of the resource.
    Tags map[string]*string `json:"tags"`
}

LabAccountFragment represents a lab account.

func (LabAccountFragment) MarshalJSON Uses

func (laf LabAccountFragment) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LabAccountFragment.

func (*LabAccountFragment) UnmarshalJSON Uses

func (laf *LabAccountFragment) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for LabAccountFragment struct.

type LabAccountProperties Uses

type LabAccountProperties struct {
    // SizeConfiguration - READ-ONLY; Represents the size configuration under the lab account
    SizeConfiguration *SizeConfigurationProperties `json:"sizeConfiguration,omitempty"`
    // EnabledRegionSelection - Represents if region selection is enabled
    EnabledRegionSelection *bool `json:"enabledRegionSelection,omitempty"`
    // ProvisioningState - The provisioning status of the resource.
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // UniqueIdentifier - The unique immutable identifier of a resource (Guid).
    UniqueIdentifier *string `json:"uniqueIdentifier,omitempty"`
    // LatestOperationResult - READ-ONLY; The details of the latest operation. ex: status, error
    LatestOperationResult *LatestOperationResult `json:"latestOperationResult,omitempty"`
}

LabAccountProperties properties of a Lab Account.

type LabAccountPropertiesFragment Uses

type LabAccountPropertiesFragment struct {
    // EnabledRegionSelection - Represents if region selection is enabled
    EnabledRegionSelection *bool `json:"enabledRegionSelection,omitempty"`
    // ProvisioningState - The provisioning status of the resource.
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // UniqueIdentifier - The unique immutable identifier of a resource (Guid).
    UniqueIdentifier *string `json:"uniqueIdentifier,omitempty"`
}

LabAccountPropertiesFragment properties of a Lab Account.

type LabAccountsClient Uses

type LabAccountsClient struct {
    BaseClient
}

LabAccountsClient is the the Managed Labs Client.

func NewLabAccountsClient Uses

func NewLabAccountsClient(subscriptionID string) LabAccountsClient

NewLabAccountsClient creates an instance of the LabAccountsClient client.

func NewLabAccountsClientWithBaseURI Uses

func NewLabAccountsClientWithBaseURI(baseURI string, subscriptionID string) LabAccountsClient

NewLabAccountsClientWithBaseURI creates an instance of the LabAccountsClient client.

func (LabAccountsClient) CreateLab Uses

func (client LabAccountsClient) CreateLab(ctx context.Context, resourceGroupName string, labAccountName string, createLabProperties CreateLabProperties) (result autorest.Response, err error)

CreateLab create a lab in a lab account. Parameters: resourceGroupName - the name of the resource group. labAccountName - the name of the lab Account. createLabProperties - properties for creating a managed lab and a default environment setting

func (LabAccountsClient) CreateLabPreparer Uses

func (client LabAccountsClient) CreateLabPreparer(ctx context.Context, resourceGroupName string, labAccountName string, createLabProperties CreateLabProperties) (*http.Request, error)

CreateLabPreparer prepares the CreateLab request.

func (LabAccountsClient) CreateLabResponder Uses

func (client LabAccountsClient) CreateLabResponder(resp *http.Response) (result autorest.Response, err error)

CreateLabResponder handles the response to the CreateLab request. The method always closes the http.Response Body.

func (LabAccountsClient) CreateLabSender Uses

func (client LabAccountsClient) CreateLabSender(req *http.Request) (*http.Response, error)

CreateLabSender sends the CreateLab request. The method will close the http.Response Body if it receives an error.

func (LabAccountsClient) CreateOrUpdate Uses

func (client LabAccountsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, labAccountName string, labAccount LabAccount) (result LabAccount, err error)

CreateOrUpdate create or replace an existing Lab Account. Parameters: resourceGroupName - the name of the resource group. labAccountName - the name of the lab Account. labAccount - represents a lab account.

func (LabAccountsClient) CreateOrUpdatePreparer Uses

func (client LabAccountsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, labAccountName string, labAccount LabAccount) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (LabAccountsClient) CreateOrUpdateResponder Uses

func (client LabAccountsClient) CreateOrUpdateResponder(resp *http.Response) (result LabAccount, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (LabAccountsClient) CreateOrUpdateSender Uses

func (client LabAccountsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (LabAccountsClient) Delete Uses

func (client LabAccountsClient) Delete(ctx context.Context, resourceGroupName string, labAccountName string) (result LabAccountsDeleteFuture, err error)

Delete delete lab account. This operation can take a while to complete Parameters: resourceGroupName - the name of the resource group. labAccountName - the name of the lab Account.

func (LabAccountsClient) DeletePreparer Uses

func (client LabAccountsClient) DeletePreparer(ctx context.Context, resourceGroupName string, labAccountName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (LabAccountsClient) DeleteResponder Uses

func (client LabAccountsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (LabAccountsClient) DeleteSender Uses

func (client LabAccountsClient) DeleteSender(req *http.Request) (future LabAccountsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (LabAccountsClient) Get Uses

func (client LabAccountsClient) Get(ctx context.Context, resourceGroupName string, labAccountName string, expand string) (result LabAccount, err error)

Get get lab account Parameters: resourceGroupName - the name of the resource group. labAccountName - the name of the lab Account. expand - specify the $expand query. Example: 'properties($expand=sizeConfiguration)'

func (LabAccountsClient) GetPreparer Uses

func (client LabAccountsClient) GetPreparer(ctx context.Context, resourceGroupName string, labAccountName string, expand string) (*http.Request, error)

GetPreparer prepares the Get request.

func (LabAccountsClient) GetRegionalAvailability Uses

func (client LabAccountsClient) GetRegionalAvailability(ctx context.Context, resourceGroupName string, labAccountName string) (result GetRegionalAvailabilityResponse, err error)

GetRegionalAvailability get regional availability information for each size category configured under a lab account Parameters: resourceGroupName - the name of the resource group. labAccountName - the name of the lab Account.

func (LabAccountsClient) GetRegionalAvailabilityPreparer Uses

func (client LabAccountsClient) GetRegionalAvailabilityPreparer(ctx context.Context, resourceGroupName string, labAccountName string) (*http.Request, error)

GetRegionalAvailabilityPreparer prepares the GetRegionalAvailability request.

func (LabAccountsClient) GetRegionalAvailabilityResponder Uses

func (client LabAccountsClient) GetRegionalAvailabilityResponder(resp *http.Response) (result GetRegionalAvailabilityResponse, err error)

GetRegionalAvailabilityResponder handles the response to the GetRegionalAvailability request. The method always closes the http.Response Body.

func (LabAccountsClient) GetRegionalAvailabilitySender Uses

func (client LabAccountsClient) GetRegionalAvailabilitySender(req *http.Request) (*http.Response, error)

GetRegionalAvailabilitySender sends the GetRegionalAvailability request. The method will close the http.Response Body if it receives an error.

func (LabAccountsClient) GetResponder Uses

func (client LabAccountsClient) GetResponder(resp *http.Response) (result LabAccount, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (LabAccountsClient) GetSender Uses

func (client LabAccountsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (LabAccountsClient) ListByResourceGroup Uses

func (client LabAccountsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, expand string, filter string, top *int32, orderby string) (result ResponseWithContinuationLabAccountPage, err error)

ListByResourceGroup list lab accounts in a resource group. Parameters: resourceGroupName - the name of the resource group. expand - specify the $expand query. Example: 'properties($expand=sizeConfiguration)' filter - the filter to apply to the operation. top - the maximum number of resources to return from the operation. orderby - the ordering expression for the results, using OData notation.

func (LabAccountsClient) ListByResourceGroupComplete Uses

func (client LabAccountsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, expand string, filter string, top *int32, orderby string) (result ResponseWithContinuationLabAccountIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (LabAccountsClient) ListByResourceGroupPreparer Uses

func (client LabAccountsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, expand string, filter string, top *int32, orderby string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (LabAccountsClient) ListByResourceGroupResponder Uses

func (client LabAccountsClient) ListByResourceGroupResponder(resp *http.Response) (result ResponseWithContinuationLabAccount, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (LabAccountsClient) ListByResourceGroupSender Uses

func (client LabAccountsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (LabAccountsClient) ListBySubscription Uses

func (client LabAccountsClient) ListBySubscription(ctx context.Context, expand string, filter string, top *int32, orderby string) (result ResponseWithContinuationLabAccountPage, err error)

ListBySubscription list lab accounts in a subscription. Parameters: expand - specify the $expand query. Example: 'properties($expand=sizeConfiguration)' filter - the filter to apply to the operation. top - the maximum number of resources to return from the operation. orderby - the ordering expression for the results, using OData notation.

func (LabAccountsClient) ListBySubscriptionComplete Uses

func (client LabAccountsClient) ListBySubscriptionComplete(ctx context.Context, expand string, filter string, top *int32, orderby string) (result ResponseWithContinuationLabAccountIterator, err error)

ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.

func (LabAccountsClient) ListBySubscriptionPreparer Uses

func (client LabAccountsClient) ListBySubscriptionPreparer(ctx context.Context, expand string, filter string, top *int32, orderby string) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (LabAccountsClient) ListBySubscriptionResponder Uses

func (client LabAccountsClient) ListBySubscriptionResponder(resp *http.Response) (result ResponseWithContinuationLabAccount, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (LabAccountsClient) ListBySubscriptionSender Uses

func (client LabAccountsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.

func (LabAccountsClient) Update Uses

func (client LabAccountsClient) Update(ctx context.Context, resourceGroupName string, labAccountName string, labAccount LabAccountFragment) (result LabAccount, err error)

Update modify properties of lab accounts. Parameters: resourceGroupName - the name of the resource group. labAccountName - the name of the lab Account. labAccount - represents a lab account.

func (LabAccountsClient) UpdatePreparer Uses

func (client LabAccountsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, labAccountName string, labAccount LabAccountFragment) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (LabAccountsClient) UpdateResponder Uses

func (client LabAccountsClient) UpdateResponder(resp *http.Response) (result LabAccount, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (LabAccountsClient) UpdateSender Uses

func (client LabAccountsClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type LabAccountsDeleteFuture Uses

type LabAccountsDeleteFuture struct {
    azure.Future
}

LabAccountsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*LabAccountsDeleteFuture) Result Uses

func (future *LabAccountsDeleteFuture) Result(client LabAccountsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type LabCreationParameters Uses

type LabCreationParameters struct {
    // MaxUsersInLab - Maximum number of users allowed in the lab.
    MaxUsersInLab *int32 `json:"maxUsersInLab,omitempty"`
}

LabCreationParameters settings related to creating a lab

type LabDetails Uses

type LabDetails struct {
    // Name - Name of the lab
    Name *string `json:"name,omitempty"`
    // ProvisioningState - The provisioning state of the lab.
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // ID - The Id of the lab.
    ID  *string `json:"id,omitempty"`
    // UsageQuota - READ-ONLY; The maximum duration a user can use a VM in this lab.
    UsageQuota *string `json:"usageQuota,omitempty"`
}

LabDetails this represents the details about a lab that the User is in, and its state.

type LabFragment Uses

type LabFragment struct {
    // LabPropertiesFragment - The properties of the resource.
    *LabPropertiesFragment `json:"properties,omitempty"`
    // ID - READ-ONLY; The identifier of the resource.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource.
    Type *string `json:"type,omitempty"`
    // Location - The location of the resource.
    Location *string `json:"location,omitempty"`
    // Tags - The tags of the resource.
    Tags map[string]*string `json:"tags"`
}

LabFragment represents a lab.

func (LabFragment) MarshalJSON Uses

func (lf LabFragment) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LabFragment.

func (*LabFragment) UnmarshalJSON Uses

func (lf *LabFragment) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for LabFragment struct.

type LabProperties Uses

type LabProperties struct {
    // MaxUsersInLab - Maximum number of users allowed in the lab.
    MaxUsersInLab *int32 `json:"maxUsersInLab,omitempty"`
    // UserQuota - READ-ONLY; Maximum value MaxUsersInLab can be set to, as specified by the service
    UserQuota *int32 `json:"userQuota,omitempty"`
    // InvitationCode - READ-ONLY; Invitation code that users can use to join a lab.
    InvitationCode *string `json:"invitationCode,omitempty"`
    // CreatedByObjectID - READ-ONLY; Object id of the user that created the lab.
    CreatedByObjectID *string `json:"createdByObjectId,omitempty"`
    // UsageQuota - Maximum duration a user can use an environment for in the lab.
    UsageQuota *string `json:"usageQuota,omitempty"`
    // UserAccessMode - Lab user access mode (open to all vs. restricted to those listed on the lab). Possible values include: 'Restricted', 'Open'
    UserAccessMode LabUserAccessMode `json:"userAccessMode,omitempty"`
    // CreatedByUserPrincipalName - READ-ONLY; Lab creator name
    CreatedByUserPrincipalName *string `json:"createdByUserPrincipalName,omitempty"`
    // CreatedDate - READ-ONLY; Creation date for the lab
    CreatedDate *date.Time `json:"createdDate,omitempty"`
    // ProvisioningState - The provisioning status of the resource.
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // UniqueIdentifier - The unique immutable identifier of a resource (Guid).
    UniqueIdentifier *string `json:"uniqueIdentifier,omitempty"`
    // LatestOperationResult - READ-ONLY; The details of the latest operation. ex: status, error
    LatestOperationResult *LatestOperationResult `json:"latestOperationResult,omitempty"`
}

LabProperties properties of a Lab.

type LabPropertiesFragment Uses

type LabPropertiesFragment struct {
    // MaxUsersInLab - Maximum number of users allowed in the lab.
    MaxUsersInLab *int32 `json:"maxUsersInLab,omitempty"`
    // UsageQuota - Maximum duration a user can use an environment for in the lab.
    UsageQuota *string `json:"usageQuota,omitempty"`
    // UserAccessMode - Lab user access mode (open to all vs. restricted to those listed on the lab). Possible values include: 'Restricted', 'Open'
    UserAccessMode LabUserAccessMode `json:"userAccessMode,omitempty"`
    // ProvisioningState - The provisioning status of the resource.
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // UniqueIdentifier - The unique immutable identifier of a resource (Guid).
    UniqueIdentifier *string `json:"uniqueIdentifier,omitempty"`
}

LabPropertiesFragment properties of a Lab.

type LabUserAccessMode Uses

type LabUserAccessMode string

LabUserAccessMode enumerates the values for lab user access mode.

const (
    // Open Any user can register with the lab and access its VMs.
    Open LabUserAccessMode = "Open"
    // Restricted Only users registered with the lab can access VMs.
    Restricted LabUserAccessMode = "Restricted"
)

func PossibleLabUserAccessModeValues Uses

func PossibleLabUserAccessModeValues() []LabUserAccessMode

PossibleLabUserAccessModeValues returns an array of possible values for the LabUserAccessMode const type.

type LabsClient Uses

type LabsClient struct {
    BaseClient
}

LabsClient is the the Managed Labs Client.

func NewLabsClient Uses

func NewLabsClient(subscriptionID string) LabsClient

NewLabsClient creates an instance of the LabsClient client.

func NewLabsClientWithBaseURI Uses

func NewLabsClientWithBaseURI(baseURI string, subscriptionID string) LabsClient

NewLabsClientWithBaseURI creates an instance of the LabsClient client.

func (LabsClient) AddUsers Uses

func (client LabsClient) AddUsers(ctx context.Context, resourceGroupName string, labAccountName string, labName string, addUsersPayload AddUsersPayload) (result autorest.Response, err error)

AddUsers add users to a lab Parameters: resourceGroupName - the name of the resource group. labAccountName - the name of the lab Account. labName - the name of the lab. addUsersPayload - payload for Add Users operation on a Lab.

func (LabsClient) AddUsersPreparer Uses

func (client LabsClient) AddUsersPreparer(ctx context.Context, resourceGroupName string, labAccountName string, labName string, addUsersPayload AddUsersPayload) (*http.Request, error)

AddUsersPreparer prepares the AddUsers request.

func (LabsClient) AddUsersResponder Uses

func (client LabsClient) AddUsersResponder(resp *http.Response) (result autorest.Response, err error)

AddUsersResponder handles the response to the AddUsers request. The method always closes the http.Response Body.

func (LabsClient) AddUsersSender Uses

func (client LabsClient) AddUsersSender(req *http.Request) (*http.Response, error)

AddUsersSender sends the AddUsers request. The method will close the http.Response Body if it receives an error.

func (LabsClient) CreateOrUpdate Uses

func (client LabsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, labAccountName string, labName string, lab Lab) (result Lab, err error)

CreateOrUpdate create or replace an existing Lab. Parameters: resourceGroupName - the name of the resource group. labAccountName - the name of the lab Account. labName - the name of the lab. lab - represents a lab.

func (LabsClient) CreateOrUpdatePreparer Uses

func (client LabsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, labAccountName string, labName string, lab Lab) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (LabsClient) CreateOrUpdateResponder Uses

func (client LabsClient) CreateOrUpdateResponder(resp *http.Response) (result Lab, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (LabsClient) CreateOrUpdateSender Uses

func (client LabsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (LabsClient) Delete Uses

func (client LabsClient) Delete(ctx context.Context, resourceGroupName string, labAccountName string, labName string) (result LabsDeleteFuture, err error)

Delete delete lab. This operation can take a while to complete Parameters: resourceGroupName - the name of the resource group. labAccountName - the name of the lab Account. labName - the name of the lab.

func (LabsClient) DeletePreparer Uses

func (client LabsClient) DeletePreparer(ctx context.Context, resourceGroupName string, labAccountName string, labName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (LabsClient) DeleteResponder Uses

func (client LabsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (LabsClient) DeleteSender Uses

func (client LabsClient) DeleteSender(req *http.Request) (future LabsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (LabsClient) Get Uses

func (client LabsClient) Get(ctx context.Context, resourceGroupName string, labAccountName string, labName string, expand string) (result Lab, err error)

Get get lab Parameters: resourceGroupName - the name of the resource group. labAccountName - the name of the lab Account. labName - the name of the lab. expand - specify the $expand query. Example: 'properties($select=maxUsersInLab)'

func (LabsClient) GetPreparer Uses

func (client LabsClient) GetPreparer(ctx context.Context, resourceGroupName string, labAccountName string, labName string, expand string) (*http.Request, error)

GetPreparer prepares the Get request.

func (LabsClient) GetResponder Uses

func (client LabsClient) GetResponder(resp *http.Response) (result Lab, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (LabsClient) GetSender Uses

func (client LabsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (LabsClient) List Uses

func (client LabsClient) List(ctx context.Context, resourceGroupName string, labAccountName string, expand string, filter string, top *int32, orderby string) (result ResponseWithContinuationLabPage, err error)

List list labs in a given lab account. Parameters: resourceGroupName - the name of the resource group. labAccountName - the name of the lab Account. expand - specify the $expand query. Example: 'properties($select=maxUsersInLab)' filter - the filter to apply to the operation. top - the maximum number of resources to return from the operation. orderby - the ordering expression for the results, using OData notation.

func (LabsClient) ListComplete Uses

func (client LabsClient) ListComplete(ctx context.Context, resourceGroupName string, labAccountName string, expand string, filter string, top *int32, orderby string) (result ResponseWithContinuationLabIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (LabsClient) ListPreparer Uses

func (client LabsClient) ListPreparer(ctx context.Context, resourceGroupName string, labAccountName string, expand string, filter string, top *int32, orderby string) (*http.Request, error)

ListPreparer prepares the List request.

func (LabsClient) ListResponder Uses

func (client LabsClient) ListResponder(resp *http.Response) (result ResponseWithContinuationLab, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (LabsClient) ListSender Uses

func (client LabsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (LabsClient) Register Uses

func (client LabsClient) Register(ctx context.Context, resourceGroupName string, labAccountName string, labName string) (result autorest.Response, err error)

Register register to managed lab. Parameters: resourceGroupName - the name of the resource group. labAccountName - the name of the lab Account. labName - the name of the lab.

func (LabsClient) RegisterPreparer Uses

func (client LabsClient) RegisterPreparer(ctx context.Context, resourceGroupName string, labAccountName string, labName string) (*http.Request, error)

RegisterPreparer prepares the Register request.

func (LabsClient) RegisterResponder Uses

func (client LabsClient) RegisterResponder(resp *http.Response) (result autorest.Response, err error)

RegisterResponder handles the response to the Register request. The method always closes the http.Response Body.

func (LabsClient) RegisterSender Uses

func (client LabsClient) RegisterSender(req *http.Request) (*http.Response, error)

RegisterSender sends the Register request. The method will close the http.Response Body if it receives an error.

func (LabsClient) Update Uses

func (client LabsClient) Update(ctx context.Context, resourceGroupName string, labAccountName string, labName string, lab LabFragment) (result Lab, err error)

Update modify properties of labs. Parameters: resourceGroupName - the name of the resource group. labAccountName - the name of the lab Account. labName - the name of the lab. lab - represents a lab.

func (LabsClient) UpdatePreparer Uses

func (client LabsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, labAccountName string, labName string, lab LabFragment) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (LabsClient) UpdateResponder Uses

func (client LabsClient) UpdateResponder(resp *http.Response) (result Lab, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (LabsClient) UpdateSender Uses

func (client LabsClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type LabsDeleteFuture Uses

type LabsDeleteFuture struct {
    azure.Future
}

LabsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*LabsDeleteFuture) Result Uses

func (future *LabsDeleteFuture) Result(client LabsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type LatestOperationResult Uses

type LatestOperationResult struct {
    // Status - READ-ONLY; The current status of the operation.
    Status *string `json:"status,omitempty"`
    // ErrorCode - READ-ONLY; Error code on failure.
    ErrorCode *string `json:"errorCode,omitempty"`
    // ErrorMessage - READ-ONLY; The error message.
    ErrorMessage *string `json:"errorMessage,omitempty"`
    // RequestURI - READ-ONLY; Request URI of the operation.
    RequestURI *string `json:"requestUri,omitempty"`
    // HTTPMethod - READ-ONLY; The HttpMethod - PUT/POST/DELETE for the operation.
    HTTPMethod *string `json:"httpMethod,omitempty"`
    // OperationURL - READ-ONLY; The URL to use to check long-running operation status
    OperationURL *string `json:"operationUrl,omitempty"`
}

LatestOperationResult details of the status of an operation.

type ListEnvironmentsPayload Uses

type ListEnvironmentsPayload struct {
    // LabID - The resource Id of the lab
    LabID *string `json:"labId,omitempty"`
}

ListEnvironmentsPayload represents the payload to list environments owned by a user

type ListEnvironmentsResponse Uses

type ListEnvironmentsResponse struct {
    autorest.Response `json:"-"`
    // Environments - List of all the environments
    Environments *[]EnvironmentDetails `json:"environments,omitempty"`
}

ListEnvironmentsResponse represents the list of environments owned by a user

type ListLabsResponse Uses

type ListLabsResponse struct {
    autorest.Response `json:"-"`
    // Labs - List of all the labs
    Labs *[]LabDetails `json:"labs,omitempty"`
}

ListLabsResponse lists the labs owned by a user

type ManagedLabVMSize Uses

type ManagedLabVMSize string

ManagedLabVMSize enumerates the values for managed lab vm size.

const (
    // Basic The base VM size
    Basic ManagedLabVMSize = "Basic"
    // Performance The most performant VM size
    Performance ManagedLabVMSize = "Performance"
    // Standard The standard or default VM size
    Standard ManagedLabVMSize = "Standard"
)

func PossibleManagedLabVMSizeValues Uses

func PossibleManagedLabVMSizeValues() []ManagedLabVMSize

PossibleManagedLabVMSizeValues returns an array of possible values for the ManagedLabVMSize const type.

type NetworkInterface Uses

type NetworkInterface struct {
    // PrivateIPAddress - READ-ONLY; PrivateIp address of the Compute VM
    PrivateIPAddress *string `json:"privateIpAddress,omitempty"`
    // SSHAuthority - READ-ONLY; Connection information for Linux
    SSHAuthority *string `json:"sshAuthority,omitempty"`
    // RdpAuthority - READ-ONLY; Connection information for Windows
    RdpAuthority *string `json:"rdpAuthority,omitempty"`
    // Username - READ-ONLY; Username of the VM
    Username *string `json:"username,omitempty"`
}

NetworkInterface network details of the environment

type OperationBatchStatusPayload Uses

type OperationBatchStatusPayload struct {
    // Urls - The operation url of long running operation
    Urls *[]string `json:"urls,omitempty"`
}

OperationBatchStatusPayload payload to get the status of an operation

type OperationBatchStatusResponse Uses

type OperationBatchStatusResponse struct {
    autorest.Response `json:"-"`
    // Items - READ-ONLY; Gets a collection of items that contain the operation url and status.
    Items *[]OperationBatchStatusResponseItem `json:"items,omitempty"`
}

OperationBatchStatusResponse status Details of the long running operation for an environment

type OperationBatchStatusResponseItem Uses

type OperationBatchStatusResponseItem struct {
    // OperationURL - READ-ONLY; status of the long running operation for an environment
    OperationURL *string `json:"operationUrl,omitempty"`
    // Status - READ-ONLY; status of the long running operation for an environment
    Status *string `json:"status,omitempty"`
}

OperationBatchStatusResponseItem represents the status of an operation that used the batch API.

type OperationError Uses

type OperationError struct {
    // Code - The error code of the operation error.
    Code *string `json:"code,omitempty"`
    // Message - The error message of the operation error.
    Message *string `json:"message,omitempty"`
}

OperationError error details for the operation in case of a failure.

type OperationMetadata Uses

type OperationMetadata struct {
    // Name - Operation name: {provider}/{resource}/{operation}
    Name *string `json:"name,omitempty"`
    // Display - The object that describes the operations
    Display *OperationMetadataDisplay `json:"display,omitempty"`
}

OperationMetadata the REST API operation supported by ManagedLab ResourceProvider.

type OperationMetadataDisplay Uses

type OperationMetadataDisplay struct {
    // Provider - Friendly name of the resource provider
    Provider *string `json:"provider,omitempty"`
    // Resource - Resource type on which the operation is performed.
    Resource *string `json:"resource,omitempty"`
    // Operation - Operation type: read, write, delete, listKeys/action, etc.
    Operation *string `json:"operation,omitempty"`
    // Description - Friendly name of the operation
    Description *string `json:"description,omitempty"`
}

OperationMetadataDisplay the object that describes the operations

type OperationResult Uses

type OperationResult struct {
    autorest.Response `json:"-"`
    // Status - The operation status.
    Status *string `json:"status,omitempty"`
    // Error - Error details for the operation in case of a failure.
    Error *OperationError `json:"error,omitempty"`
}

OperationResult an Operation Result

type OperationStatusPayload Uses

type OperationStatusPayload struct {
    // OperationURL - The operation url of long running operation
    OperationURL *string `json:"operationUrl,omitempty"`
}

OperationStatusPayload payload to get the status of an operation

type OperationStatusResponse Uses

type OperationStatusResponse struct {
    autorest.Response `json:"-"`
    // Status - READ-ONLY; status of the long running operation for an environment
    Status *string `json:"status,omitempty"`
}

OperationStatusResponse status Details of the long running operation for an environment

type OperationsClient Uses

type OperationsClient struct {
    BaseClient
}

OperationsClient is the the Managed Labs Client.

func NewOperationsClient Uses

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI Uses

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.

func (OperationsClient) Get Uses

func (client OperationsClient) Get(ctx context.Context, locationName string, operationName string) (result OperationResult, err error)

Get get operation Parameters: locationName - the name of the location. operationName - the name of the operation.

func (OperationsClient) GetPreparer Uses

func (client OperationsClient) GetPreparer(ctx context.Context, locationName string, operationName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (OperationsClient) GetResponder Uses

func (client OperationsClient) GetResponder(resp *http.Response) (result OperationResult, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (OperationsClient) GetSender Uses

func (client OperationsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type PersonalPreferencesOperationsPayload Uses

type PersonalPreferencesOperationsPayload struct {
    // LabAccountResourceID - Resource Id of the lab account
    LabAccountResourceID *string `json:"labAccountResourceId,omitempty"`
    // AddRemove - Enum indicating if user is adding or removing a favorite lab. Possible values include: 'Add', 'Remove'
    AddRemove AddRemove `json:"addRemove,omitempty"`
    // LabResourceID - Resource Id of the lab to add/remove from the favorites list
    LabResourceID *string `json:"labResourceId,omitempty"`
}

PersonalPreferencesOperationsPayload represents payload for any Environment operations like get, start, stop, connect

type ProviderOperationResult Uses

type ProviderOperationResult struct {
    autorest.Response `json:"-"`
    // Value - List of operations supported by the resource provider.
    Value *[]OperationMetadata `json:"value,omitempty"`
    // NextLink - READ-ONLY; URL to get the next set of operation list results if there are any.
    NextLink *string `json:"nextLink,omitempty"`
}

ProviderOperationResult result of the request to list REST API operations

func (ProviderOperationResult) IsEmpty Uses

func (por ProviderOperationResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ProviderOperationResultIterator Uses

type ProviderOperationResultIterator struct {
    // contains filtered or unexported fields
}

ProviderOperationResultIterator provides access to a complete listing of OperationMetadata values.

func NewProviderOperationResultIterator Uses

func NewProviderOperationResultIterator(page ProviderOperationResultPage) ProviderOperationResultIterator

Creates a new instance of the ProviderOperationResultIterator type.

func (*ProviderOperationResultIterator) Next Uses

func (iter *ProviderOperationResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ProviderOperationResultIterator) NextWithContext Uses

func (iter *ProviderOperationResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ProviderOperationResultIterator) NotDone Uses

func (iter ProviderOperationResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ProviderOperationResultIterator) Response Uses

func (iter ProviderOperationResultIterator) Response() ProviderOperationResult

Response returns the raw server response from the last page request.

func (ProviderOperationResultIterator) Value Uses

func (iter ProviderOperationResultIterator) Value() OperationMetadata

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ProviderOperationResultPage Uses

type ProviderOperationResultPage struct {
    // contains filtered or unexported fields
}

ProviderOperationResultPage contains a page of OperationMetadata values.

func NewProviderOperationResultPage Uses

func NewProviderOperationResultPage(getNextPage func(context.Context, ProviderOperationResult) (ProviderOperationResult, error)) ProviderOperationResultPage

Creates a new instance of the ProviderOperationResultPage type.

func (*ProviderOperationResultPage) Next Uses

func (page *ProviderOperationResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ProviderOperationResultPage) NextWithContext Uses

func (page *ProviderOperationResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ProviderOperationResultPage) NotDone Uses

func (page ProviderOperationResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ProviderOperationResultPage) Response Uses

func (page ProviderOperationResultPage) Response() ProviderOperationResult

Response returns the raw server response from the last page request.

func (ProviderOperationResultPage) Values Uses

func (page ProviderOperationResultPage) Values() []OperationMetadata

Values returns the slice of values for the current page or nil if there are no values.

type ProviderOperationsClient Uses

type ProviderOperationsClient struct {
    BaseClient
}

ProviderOperationsClient is the the Managed Labs Client.

func NewProviderOperationsClient Uses

func NewProviderOperationsClient(subscriptionID string) ProviderOperationsClient

NewProviderOperationsClient creates an instance of the ProviderOperationsClient client.

func NewProviderOperationsClientWithBaseURI Uses

func NewProviderOperationsClientWithBaseURI(baseURI string, subscriptionID string) ProviderOperationsClient

NewProviderOperationsClientWithBaseURI creates an instance of the ProviderOperationsClient client.

func (ProviderOperationsClient) List Uses

func (client ProviderOperationsClient) List(ctx context.Context) (result ProviderOperationResultPage, err error)

List result of the request to list REST API operations

func (ProviderOperationsClient) ListComplete Uses

func (client ProviderOperationsClient) ListComplete(ctx context.Context) (result ProviderOperationResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ProviderOperationsClient) ListPreparer Uses

func (client ProviderOperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (ProviderOperationsClient) ListResponder Uses

func (client ProviderOperationsClient) ListResponder(resp *http.Response) (result ProviderOperationResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ProviderOperationsClient) ListSender Uses

func (client ProviderOperationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type PublishPayload Uses

type PublishPayload struct {
    // UseExistingImage - Whether to use existing VM custom image when publishing.
    UseExistingImage *bool `json:"useExistingImage,omitempty"`
}

PublishPayload payload for Publish operation on EnvironmentSetting.

type PublishingState Uses

type PublishingState string

PublishingState enumerates the values for publishing state.

const (
    // Draft Initial state of an environment setting.
    Draft PublishingState = "Draft"
    // Published All resources are currently provisioned.
    Published PublishingState = "Published"
    // PublishFailed Failed to provision all the necessary resources.
    PublishFailed PublishingState = "PublishFailed"
    // Publishing Currently provisioning resources.
    Publishing PublishingState = "Publishing"
    // Scaling Currently provisioning resources without recreating VM image.
    Scaling PublishingState = "Scaling"
)

func PossiblePublishingStateValues Uses

func PossiblePublishingStateValues() []PublishingState

PossiblePublishingStateValues returns an array of possible values for the PublishingState const type.

type ReferenceVM Uses

type ReferenceVM struct {
    // UserName - The username of the virtual machine
    UserName *string `json:"userName,omitempty"`
    // Password - The password of the virtual machine. This will be set to null in GET resource API
    Password *string `json:"password,omitempty"`
    // VMStateDetails - READ-ONLY; The state details for the reference virtual machine.
    VMStateDetails *VMStateDetails `json:"vmStateDetails,omitempty"`
    // VMResourceID - READ-ONLY; VM resource Id for the environment
    VMResourceID *string `json:"vmResourceId,omitempty"`
}

ReferenceVM details of a Reference Vm

type ReferenceVMCreationParameters Uses

type ReferenceVMCreationParameters struct {
    // UserName - The username of the virtual machine
    UserName *string `json:"userName,omitempty"`
    // Password - The password of the virtual machine.
    Password *string `json:"password,omitempty"`
}

ReferenceVMCreationParameters creation parameters for Reference Vm

type ReferenceVMFragment Uses

type ReferenceVMFragment struct {
    // UserName - The username of the virtual machine
    UserName *string `json:"userName,omitempty"`
    // Password - The password of the virtual machine. This will be set to null in GET resource API
    Password *string `json:"password,omitempty"`
}

ReferenceVMFragment details of a Reference Vm

type RegionalAvailability Uses

type RegionalAvailability struct {
    // Region - Corresponding region
    Region *string `json:"region,omitempty"`
    // SizeAvailabilities - List of all the size information for the region
    SizeAvailabilities *[]SizeAvailability `json:"sizeAvailabilities,omitempty"`
}

RegionalAvailability the availability information of sizes across regions

type RegisterPayload Uses

type RegisterPayload struct {
    // RegistrationCode - The registration code of the lab.
    RegistrationCode *string `json:"registrationCode,omitempty"`
}

RegisterPayload represents payload for Register action.

type ResetPasswordPayload Uses

type ResetPasswordPayload struct {
    // EnvironmentID - The resourceId of the environment
    EnvironmentID *string `json:"environmentId,omitempty"`
    // Username - The username for which the password will be reset.
    Username *string `json:"username,omitempty"`
    // Password - The password to assign to the user specified in
    Password *string `json:"password,omitempty"`
}

ResetPasswordPayload represents the payload for resetting passwords.

type Resource Uses

type Resource struct {
    // ID - READ-ONLY; The identifier of the resource.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource.
    Type *string `json:"type,omitempty"`
    // Location - The location of the resource.
    Location *string `json:"location,omitempty"`
    // Tags - The tags of the resource.
    Tags map[string]*string `json:"tags"`
}

Resource an Azure resource.

func (Resource) MarshalJSON Uses

func (r Resource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Resource.

type ResourceSet Uses

type ResourceSet struct {
    // VMResourceID - VM resource Id for the environment
    VMResourceID *string `json:"vmResourceId,omitempty"`
    // ResourceSettingID - resourceSettingId for the environment
    ResourceSettingID *string `json:"resourceSettingId,omitempty"`
}

ResourceSet represents a VM and the setting Id it was created for.

type ResourceSetFragment Uses

type ResourceSetFragment struct {
    // VMResourceID - VM resource Id for the environment
    VMResourceID *string `json:"vmResourceId,omitempty"`
    // ResourceSettingID - resourceSettingId for the environment
    ResourceSettingID *string `json:"resourceSettingId,omitempty"`
}

ResourceSetFragment represents a VM and the setting Id it was created for.

type ResourceSettingCreationParameters Uses

type ResourceSettingCreationParameters struct {
    // Location - The location where the virtual machine will live
    Location *string `json:"location,omitempty"`
    // Name - The name of the resource setting
    Name *string `json:"name,omitempty"`
    // GalleryImageResourceID - The resource id of the gallery image used for creating the virtual machine
    GalleryImageResourceID *string `json:"galleryImageResourceId,omitempty"`
    // Size - The size of the virtual machine. Possible values include: 'Basic', 'Standard', 'Performance'
    Size ManagedLabVMSize `json:"size,omitempty"`
    // ReferenceVMCreationParameters - Creation parameters for Reference Vm
    ReferenceVMCreationParameters *ReferenceVMCreationParameters `json:"referenceVmCreationParameters,omitempty"`
}

ResourceSettingCreationParameters represents resource specific settings

type ResourceSettings Uses

type ResourceSettings struct {
    // ID - READ-ONLY; The unique id of the resource setting
    ID  *string `json:"id,omitempty"`
    // GalleryImageResourceID - The resource id of the gallery image used for creating the virtual machine
    GalleryImageResourceID *string `json:"galleryImageResourceId,omitempty"`
    // ImageName - READ-ONLY; The name of the image used to created the environment setting
    ImageName *string `json:"imageName,omitempty"`
    // Size - The size of the virtual machine. Possible values include: 'Basic', 'Standard', 'Performance'
    Size ManagedLabVMSize `json:"size,omitempty"`
    // Cores - READ-ONLY; The translated compute cores of the virtual machine
    Cores *int32 `json:"cores,omitempty"`
    // ReferenceVM - Details specific to Reference Vm
    ReferenceVM *ReferenceVM `json:"referenceVm,omitempty"`
}

ResourceSettings represents resource specific settings

type ResourceSettingsFragment Uses

type ResourceSettingsFragment struct {
    // GalleryImageResourceID - The resource id of the gallery image used for creating the virtual machine
    GalleryImageResourceID *string `json:"galleryImageResourceId,omitempty"`
    // Size - The size of the virtual machine. Possible values include: 'Basic', 'Standard', 'Performance'
    Size ManagedLabVMSize `json:"size,omitempty"`
    // ReferenceVM - Details specific to Reference Vm
    ReferenceVM *ReferenceVMFragment `json:"referenceVm,omitempty"`
}

ResourceSettingsFragment represents resource specific settings

type ResponseWithContinuationEnvironment Uses

type ResponseWithContinuationEnvironment struct {
    autorest.Response `json:"-"`
    // Value - Results of the list operation.
    Value *[]Environment `json:"value,omitempty"`
    // NextLink - Link for next set of results.
    NextLink *string `json:"nextLink,omitempty"`
}

ResponseWithContinuationEnvironment the response of a list operation.

func (ResponseWithContinuationEnvironment) IsEmpty Uses

func (rwcE ResponseWithContinuationEnvironment) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ResponseWithContinuationEnvironmentIterator Uses

type ResponseWithContinuationEnvironmentIterator struct {
    // contains filtered or unexported fields
}

ResponseWithContinuationEnvironmentIterator provides access to a complete listing of Environment values.

func NewResponseWithContinuationEnvironmentIterator Uses

func NewResponseWithContinuationEnvironmentIterator(page ResponseWithContinuationEnvironmentPage) ResponseWithContinuationEnvironmentIterator

Creates a new instance of the ResponseWithContinuationEnvironmentIterator type.

func (*ResponseWithContinuationEnvironmentIterator) Next Uses

func (iter *ResponseWithContinuationEnvironmentIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ResponseWithContinuationEnvironmentIterator) NextWithContext Uses

func (iter *ResponseWithContinuationEnvironmentIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ResponseWithContinuationEnvironmentIterator) NotDone Uses

func (iter ResponseWithContinuationEnvironmentIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ResponseWithContinuationEnvironmentIterator) Response Uses

func (iter ResponseWithContinuationEnvironmentIterator) Response() ResponseWithContinuationEnvironment

Response returns the raw server response from the last page request.

func (ResponseWithContinuationEnvironmentIterator) Value Uses

func (iter ResponseWithContinuationEnvironmentIterator) Value() Environment

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ResponseWithContinuationEnvironmentPage Uses

type ResponseWithContinuationEnvironmentPage struct {
    // contains filtered or unexported fields
}

ResponseWithContinuationEnvironmentPage contains a page of Environment values.

func NewResponseWithContinuationEnvironmentPage Uses

func NewResponseWithContinuationEnvironmentPage(getNextPage func(context.Context, ResponseWithContinuationEnvironment) (ResponseWithContinuationEnvironment, error)) ResponseWithContinuationEnvironmentPage

Creates a new instance of the ResponseWithContinuationEnvironmentPage type.

func (*ResponseWithContinuationEnvironmentPage) Next Uses

func (page *ResponseWithContinuationEnvironmentPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ResponseWithContinuationEnvironmentPage) NextWithContext Uses

func (page *ResponseWithContinuationEnvironmentPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ResponseWithContinuationEnvironmentPage) NotDone Uses

func (page ResponseWithContinuationEnvironmentPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ResponseWithContinuationEnvironmentPage) Response Uses

func (page ResponseWithContinuationEnvironmentPage) Response() ResponseWithContinuationEnvironment

Response returns the raw server response from the last page request.

func (ResponseWithContinuationEnvironmentPage) Values Uses

func (page ResponseWithContinuationEnvironmentPage) Values() []Environment

Values returns the slice of values for the current page or nil if there are no values.

type ResponseWithContinuationEnvironmentSetting Uses

type ResponseWithContinuationEnvironmentSetting struct {
    autorest.Response `json:"-"`
    // Value - Results of the list operation.
    Value *[]EnvironmentSetting `json:"value,omitempty"`
    // NextLink - Link for next set of results.
    NextLink *string `json:"nextLink,omitempty"`
}

ResponseWithContinuationEnvironmentSetting the response of a list operation.

func (ResponseWithContinuationEnvironmentSetting) IsEmpty Uses

func (rwcEs ResponseWithContinuationEnvironmentSetting) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ResponseWithContinuationEnvironmentSettingIterator Uses

type ResponseWithContinuationEnvironmentSettingIterator struct {
    // contains filtered or unexported fields
}

ResponseWithContinuationEnvironmentSettingIterator provides access to a complete listing of EnvironmentSetting values.

func NewResponseWithContinuationEnvironmentSettingIterator Uses

func NewResponseWithContinuationEnvironmentSettingIterator(page ResponseWithContinuationEnvironmentSettingPage) ResponseWithContinuationEnvironmentSettingIterator

Creates a new instance of the ResponseWithContinuationEnvironmentSettingIterator type.

func (*ResponseWithContinuationEnvironmentSettingIterator) Next Uses

func (iter *ResponseWithContinuationEnvironmentSettingIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ResponseWithContinuationEnvironmentSettingIterator) NextWithContext Uses

func (iter *ResponseWithContinuationEnvironmentSettingIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ResponseWithContinuationEnvironmentSettingIterator) NotDone Uses

func (iter ResponseWithContinuationEnvironmentSettingIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ResponseWithContinuationEnvironmentSettingIterator) Response Uses

func (iter ResponseWithContinuationEnvironmentSettingIterator) Response() ResponseWithContinuationEnvironmentSetting

Response returns the raw server response from the last page request.

func (ResponseWithContinuationEnvironmentSettingIterator) Value Uses

func (iter ResponseWithContinuationEnvironmentSettingIterator) Value() EnvironmentSetting

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ResponseWithContinuationEnvironmentSettingPage Uses

type ResponseWithContinuationEnvironmentSettingPage struct {
    // contains filtered or unexported fields
}

ResponseWithContinuationEnvironmentSettingPage contains a page of EnvironmentSetting values.

func NewResponseWithContinuationEnvironmentSettingPage Uses

func NewResponseWithContinuationEnvironmentSettingPage(getNextPage func(context.Context, ResponseWithContinuationEnvironmentSetting) (ResponseWithContinuationEnvironmentSetting, error)) ResponseWithContinuationEnvironmentSettingPage

Creates a new instance of the ResponseWithContinuationEnvironmentSettingPage type.

func (*ResponseWithContinuationEnvironmentSettingPage) Next Uses

func (page *ResponseWithContinuationEnvironmentSettingPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ResponseWithContinuationEnvironmentSettingPage) NextWithContext Uses

func (page *ResponseWithContinuationEnvironmentSettingPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ResponseWithContinuationEnvironmentSettingPage) NotDone Uses

func (page ResponseWithContinuationEnvironmentSettingPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ResponseWithContinuationEnvironmentSettingPage) Response Uses

func (page ResponseWithContinuationEnvironmentSettingPage) Response() ResponseWithContinuationEnvironmentSetting

Response returns the raw server response from the last page request.

func (ResponseWithContinuationEnvironmentSettingPage) Values Uses

func (page ResponseWithContinuationEnvironmentSettingPage) Values() []EnvironmentSetting

Values returns the slice of values for the current page or nil if there are no values.

type ResponseWithContinuationGalleryImage Uses

type ResponseWithContinuationGalleryImage struct {
    autorest.Response `json:"-"`
    // Value - Results of the list operation.
    Value *[]GalleryImage `json:"value,omitempty"`
    // NextLink - Link for next set of results.
    NextLink *string `json:"nextLink,omitempty"`
}

ResponseWithContinuationGalleryImage the response of a list operation.

func (ResponseWithContinuationGalleryImage) IsEmpty Uses

func (rwcGi ResponseWithContinuationGalleryImage) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ResponseWithContinuationGalleryImageIterator Uses

type ResponseWithContinuationGalleryImageIterator struct {
    // contains filtered or unexported fields
}

ResponseWithContinuationGalleryImageIterator provides access to a complete listing of GalleryImage values.

func NewResponseWithContinuationGalleryImageIterator Uses

func NewResponseWithContinuationGalleryImageIterator(page ResponseWithContinuationGalleryImagePage) ResponseWithContinuationGalleryImageIterator

Creates a new instance of the ResponseWithContinuationGalleryImageIterator type.

func (*ResponseWithContinuationGalleryImageIterator) Next Uses

func (iter *ResponseWithContinuationGalleryImageIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ResponseWithContinuationGalleryImageIterator) NextWithContext Uses

func (iter *ResponseWithContinuationGalleryImageIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ResponseWithContinuationGalleryImageIterator) NotDone Uses

func (iter ResponseWithContinuationGalleryImageIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ResponseWithContinuationGalleryImageIterator) Response Uses

func (iter ResponseWithContinuationGalleryImageIterator) Response() ResponseWithContinuationGalleryImage

Response returns the raw server response from the last page request.

func (ResponseWithContinuationGalleryImageIterator) Value Uses

func (iter ResponseWithContinuationGalleryImageIterator) Value() GalleryImage

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ResponseWithContinuationGalleryImagePage Uses

type ResponseWithContinuationGalleryImagePage struct {
    // contains filtered or unexported fields
}

ResponseWithContinuationGalleryImagePage contains a page of GalleryImage values.

func NewResponseWithContinuationGalleryImagePage Uses

func NewResponseWithContinuationGalleryImagePage(getNextPage func(context.Context, ResponseWithContinuationGalleryImage) (ResponseWithContinuationGalleryImage, error)) ResponseWithContinuationGalleryImagePage

Creates a new instance of the ResponseWithContinuationGalleryImagePage type.

func (*ResponseWithContinuationGalleryImagePage) Next Uses

func (page *ResponseWithContinuationGalleryImagePage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ResponseWithContinuationGalleryImagePage) NextWithContext Uses

func (page *ResponseWithContinuationGalleryImagePage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ResponseWithContinuationGalleryImagePage) NotDone Uses

func (page ResponseWithContinuationGalleryImagePage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ResponseWithContinuationGalleryImagePage) Response Uses

func (page ResponseWithContinuationGalleryImagePage) Response() ResponseWithContinuationGalleryImage

Response returns the raw server response from the last page request.

func (ResponseWithContinuationGalleryImagePage) Values Uses

func (page ResponseWithContinuationGalleryImagePage) Values() []GalleryImage

Values returns the slice of values for the current page or nil if there are no values.

type ResponseWithContinuationLab Uses

type ResponseWithContinuationLab struct {
    autorest.Response `json:"-"`
    // Value - Results of the list operation.
    Value *[]Lab `json:"value,omitempty"`
    // NextLink - Link for next set of results.
    NextLink *string `json:"nextLink,omitempty"`
}

ResponseWithContinuationLab the response of a list operation.

func (ResponseWithContinuationLab) IsEmpty Uses

func (rwcL ResponseWithContinuationLab) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ResponseWithContinuationLabAccount Uses

type ResponseWithContinuationLabAccount struct {
    autorest.Response `json:"-"`
    // Value - Results of the list operation.
    Value *[]LabAccount `json:"value,omitempty"`
    // NextLink - Link for next set of results.
    NextLink *string `json:"nextLink,omitempty"`
}

ResponseWithContinuationLabAccount the response of a list operation.

func (ResponseWithContinuationLabAccount) IsEmpty Uses

func (rwcLa ResponseWithContinuationLabAccount) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ResponseWithContinuationLabAccountIterator Uses

type ResponseWithContinuationLabAccountIterator struct {
    // contains filtered or unexported fields
}

ResponseWithContinuationLabAccountIterator provides access to a complete listing of LabAccount values.

func NewResponseWithContinuationLabAccountIterator Uses

func NewResponseWithContinuationLabAccountIterator(page ResponseWithContinuationLabAccountPage) ResponseWithContinuationLabAccountIterator

Creates a new instance of the ResponseWithContinuationLabAccountIterator type.

func (*ResponseWithContinuationLabAccountIterator) Next Uses

func (iter *ResponseWithContinuationLabAccountIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ResponseWithContinuationLabAccountIterator) NextWithContext Uses

func (iter *ResponseWithContinuationLabAccountIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ResponseWithContinuationLabAccountIterator) NotDone Uses

func (iter ResponseWithContinuationLabAccountIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ResponseWithContinuationLabAccountIterator) Response Uses

func (iter ResponseWithContinuationLabAccountIterator) Response() ResponseWithContinuationLabAccount

Response returns the raw server response from the last page request.

func (ResponseWithContinuationLabAccountIterator) Value Uses

func (iter ResponseWithContinuationLabAccountIterator) Value() LabAccount

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ResponseWithContinuationLabAccountPage Uses

type ResponseWithContinuationLabAccountPage struct {
    // contains filtered or unexported fields
}

ResponseWithContinuationLabAccountPage contains a page of LabAccount values.

func NewResponseWithContinuationLabAccountPage Uses

func NewResponseWithContinuationLabAccountPage(getNextPage func(context.Context, ResponseWithContinuationLabAccount) (ResponseWithContinuationLabAccount, error)) ResponseWithContinuationLabAccountPage

Creates a new instance of the ResponseWithContinuationLabAccountPage type.

func (*ResponseWithContinuationLabAccountPage) Next Uses

func (page *ResponseWithContinuationLabAccountPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ResponseWithContinuationLabAccountPage) NextWithContext Uses

func (page *ResponseWithContinuationLabAccountPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ResponseWithContinuationLabAccountPage) NotDone Uses

func (page ResponseWithContinuationLabAccountPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ResponseWithContinuationLabAccountPage) Response Uses

func (page ResponseWithContinuationLabAccountPage) Response() ResponseWithContinuationLabAccount

Response returns the raw server response from the last page request.

func (ResponseWithContinuationLabAccountPage) Values Uses

func (page ResponseWithContinuationLabAccountPage) Values() []LabAccount

Values returns the slice of values for the current page or nil if there are no values.

type ResponseWithContinuationLabIterator Uses

type ResponseWithContinuationLabIterator struct {
    // contains filtered or unexported fields
}

ResponseWithContinuationLabIterator provides access to a complete listing of Lab values.

func NewResponseWithContinuationLabIterator Uses

func NewResponseWithContinuationLabIterator(page ResponseWithContinuationLabPage) ResponseWithContinuationLabIterator

Creates a new instance of the ResponseWithContinuationLabIterator type.

func (*ResponseWithContinuationLabIterator) Next Uses

func (iter *ResponseWithContinuationLabIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ResponseWithContinuationLabIterator) NextWithContext Uses

func (iter *ResponseWithContinuationLabIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ResponseWithContinuationLabIterator) NotDone Uses

func (iter ResponseWithContinuationLabIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ResponseWithContinuationLabIterator) Response Uses

func (iter ResponseWithContinuationLabIterator) Response() ResponseWithContinuationLab

Response returns the raw server response from the last page request.

func (ResponseWithContinuationLabIterator) Value Uses

func (iter ResponseWithContinuationLabIterator) Value() Lab

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ResponseWithContinuationLabPage Uses

type ResponseWithContinuationLabPage struct {
    // contains filtered or unexported fields
}

ResponseWithContinuationLabPage contains a page of Lab values.

func NewResponseWithContinuationLabPage Uses

func NewResponseWithContinuationLabPage(getNextPage func(context.Context, ResponseWithContinuationLab) (ResponseWithContinuationLab, error)) ResponseWithContinuationLabPage

Creates a new instance of the ResponseWithContinuationLabPage type.

func (*ResponseWithContinuationLabPage) Next Uses

func (page *ResponseWithContinuationLabPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ResponseWithContinuationLabPage) NextWithContext Uses

func (page *ResponseWithContinuationLabPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ResponseWithContinuationLabPage) NotDone Uses

func (page ResponseWithContinuationLabPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ResponseWithContinuationLabPage) Response Uses

func (page ResponseWithContinuationLabPage) Response() ResponseWithContinuationLab

Response returns the raw server response from the last page request.

func (ResponseWithContinuationLabPage) Values Uses

func (page ResponseWithContinuationLabPage) Values() []Lab

Values returns the slice of values for the current page or nil if there are no values.

type ResponseWithContinuationUser Uses

type ResponseWithContinuationUser struct {
    autorest.Response `json:"-"`
    // Value - Results of the list operation.
    Value *[]User `json:"value,omitempty"`
    // NextLink - Link for next set of results.
    NextLink *string `json:"nextLink,omitempty"`
}

ResponseWithContinuationUser the response of a list operation.

func (ResponseWithContinuationUser) IsEmpty Uses

func (rwcU ResponseWithContinuationUser) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ResponseWithContinuationUserIterator Uses

type ResponseWithContinuationUserIterator struct {
    // contains filtered or unexported fields
}

ResponseWithContinuationUserIterator provides access to a complete listing of User values.

func NewResponseWithContinuationUserIterator Uses

func NewResponseWithContinuationUserIterator(page ResponseWithContinuationUserPage) ResponseWithContinuationUserIterator

Creates a new instance of the ResponseWithContinuationUserIterator type.

func (*ResponseWithContinuationUserIterator) Next Uses

func (iter *ResponseWithContinuationUserIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ResponseWithContinuationUserIterator) NextWithContext Uses

func (iter *ResponseWithContinuationUserIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ResponseWithContinuationUserIterator) NotDone Uses

func (iter ResponseWithContinuationUserIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ResponseWithContinuationUserIterator) Response Uses

func (iter ResponseWithContinuationUserIterator) Response() ResponseWithContinuationUser

Response returns the raw server response from the last page request.

func (ResponseWithContinuationUserIterator) Value Uses

func (iter ResponseWithContinuationUserIterator) Value() User

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ResponseWithContinuationUserPage Uses

type ResponseWithContinuationUserPage struct {
    // contains filtered or unexported fields
}

ResponseWithContinuationUserPage contains a page of User values.

func NewResponseWithContinuationUserPage Uses

func NewResponseWithContinuationUserPage(getNextPage func(context.Context, ResponseWithContinuationUser) (ResponseWithContinuationUser, error)) ResponseWithContinuationUserPage

Creates a new instance of the ResponseWithContinuationUserPage type.

func (*ResponseWithContinuationUserPage) Next Uses

func (page *ResponseWithContinuationUserPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ResponseWithContinuationUserPage) NextWithContext Uses

func (page *ResponseWithContinuationUserPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ResponseWithContinuationUserPage) NotDone Uses

func (page ResponseWithContinuationUserPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ResponseWithContinuationUserPage) Response Uses

func (page ResponseWithContinuationUserPage) Response() ResponseWithContinuationUser

Response returns the raw server response from the last page request.

func (ResponseWithContinuationUserPage) Values Uses

func (page ResponseWithContinuationUserPage) Values() []User

Values returns the slice of values for the current page or nil if there are no values.

type SizeAvailability Uses

type SizeAvailability struct {
    // SizeCategory - The category of the size (Basic, Standard, Performance). Possible values include: 'Basic', 'Standard', 'Performance'
    SizeCategory ManagedLabVMSize `json:"sizeCategory,omitempty"`
    // IsAvailable - Whether or not this size category is available
    IsAvailable *bool `json:"isAvailable,omitempty"`
}

SizeAvailability represents the size information

type SizeConfigurationProperties Uses

type SizeConfigurationProperties struct {
    // EnvironmentSizes - Represents a list of size categories supported by this Lab Account (Small, Medium, Large)
    EnvironmentSizes *[]EnvironmentSize `json:"environmentSizes,omitempty"`
}

SizeConfigurationProperties represents the size configuration under the lab account

type SizeConfigurationPropertiesFragment Uses

type SizeConfigurationPropertiesFragment struct {
    // EnvironmentSizes - Represents a list of size categories supported by this Lab Account (Small, Medium, Large)
    EnvironmentSizes *[]EnvironmentSizeFragment `json:"environmentSizes,omitempty"`
}

SizeConfigurationPropertiesFragment represents the size configuration under the lab account

type SizeInfo Uses

type SizeInfo struct {
    // ComputeSize - Represents the actual compute size, e.g. Standard_A2_v2.
    ComputeSize *string `json:"computeSize,omitempty"`
    // Price - The pay-as-you-go price per hour this size will cost. It does not include discounts and may not reflect the actual price the size will cost.
    Price *decimal.Decimal `json:"price,omitempty"`
    // NumberOfCores - The number of cores a VM of this size has.
    NumberOfCores *int32 `json:"numberOfCores,omitempty"`
    // Memory - The amount of memory available (in GB).
    Memory *float64 `json:"memory,omitempty"`
}

SizeInfo contains detailed information about a size

type SizeInfoFragment Uses

type SizeInfoFragment struct {
    // ComputeSize - Represents the actual compute size, e.g. Standard_A2_v2.
    ComputeSize *string `json:"computeSize,omitempty"`
    // Price - The pay-as-you-go price per hour this size will cost. It does not include discounts and may not reflect the actual price the size will cost.
    Price *decimal.Decimal `json:"price,omitempty"`
    // NumberOfCores - The number of cores a VM of this size has.
    NumberOfCores *int32 `json:"numberOfCores,omitempty"`
    // Memory - The amount of memory available (in GB).
    Memory *float64 `json:"memory,omitempty"`
}

SizeInfoFragment contains detailed information about a size

type User Uses

type User struct {
    autorest.Response `json:"-"`
    // UserProperties - These are the properties for the user registered under a lab.
    *UserProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; The identifier of the resource.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource.
    Type *string `json:"type,omitempty"`
    // Location - The location of the resource.
    Location *string `json:"location,omitempty"`
    // Tags - The tags of the resource.
    Tags map[string]*string `json:"tags"`
}

User the User registered to a lab

func (User) MarshalJSON Uses

func (u User) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for User.

func (*User) UnmarshalJSON Uses

func (u *User) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for User struct.

type UserFragment Uses

type UserFragment struct {
    // UserPropertiesFragment - These are the properties for the user registered under a lab.
    *UserPropertiesFragment `json:"properties,omitempty"`
    // ID - READ-ONLY; The identifier of the resource.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource.
    Type *string `json:"type,omitempty"`
    // Location - The location of the resource.
    Location *string `json:"location,omitempty"`
    // Tags - The tags of the resource.
    Tags map[string]*string `json:"tags"`
}

UserFragment the User registered to a lab

func (UserFragment) MarshalJSON Uses

func (uf UserFragment) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UserFragment.

func (*UserFragment) UnmarshalJSON Uses

func (uf *UserFragment) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for UserFragment struct.

type UserProperties Uses

type UserProperties struct {
    // Email - READ-ONLY; The user email address, as it was specified during registration.
    Email *string `json:"email,omitempty"`
    // FamilyName - READ-ONLY; The user family name, as it was specified during registration.
    FamilyName *string `json:"familyName,omitempty"`
    // GivenName - READ-ONLY; The user given name, as it was specified during registration.
    GivenName *string `json:"givenName,omitempty"`
    // TenantID - READ-ONLY; The user tenant ID, as it was specified during registration.
    TenantID *string `json:"tenantId,omitempty"`
    // TotalUsage - READ-ONLY; How long the user has used his VMs in this lab
    TotalUsage *string `json:"totalUsage,omitempty"`
    // ProvisioningState - The provisioning status of the resource.
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // UniqueIdentifier - The unique immutable identifier of a resource (Guid).
    UniqueIdentifier *string `json:"uniqueIdentifier,omitempty"`
    // LatestOperationResult - READ-ONLY; The details of the latest operation. ex: status, error
    LatestOperationResult *LatestOperationResult `json:"latestOperationResult,omitempty"`
}

UserProperties lab User properties

type UserPropertiesFragment Uses

type UserPropertiesFragment struct {
    // ProvisioningState - The provisioning status of the resource.
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // UniqueIdentifier - The unique immutable identifier of a resource (Guid).
    UniqueIdentifier *string `json:"uniqueIdentifier,omitempty"`
}

UserPropertiesFragment lab User properties

type UsersClient Uses

type UsersClient struct {
    BaseClient
}

UsersClient is the the Managed Labs Client.

func NewUsersClient Uses

func NewUsersClient(subscriptionID string) UsersClient

NewUsersClient creates an instance of the UsersClient client.

func NewUsersClientWithBaseURI Uses

func NewUsersClientWithBaseURI(baseURI string, subscriptionID string) UsersClient

NewUsersClientWithBaseURI creates an instance of the UsersClient client.

func (UsersClient) CreateOrUpdate Uses

func (client UsersClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, labAccountName string, labName string, userName string, userParameter User) (result User, err error)

CreateOrUpdate create or replace an existing User. Parameters: resourceGroupName - the name of the resource group. labAccountName - the name of the lab Account. labName - the name of the lab. userName - the name of the user. userParameter - the User registered to a lab

func (UsersClient) CreateOrUpdatePreparer Uses

func (client UsersClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, labAccountName string, labName string, userName string, userParameter User) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (UsersClient) CreateOrUpdateResponder Uses

func (client UsersClient) CreateOrUpdateResponder(resp *http.Response) (result User, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (UsersClient) CreateOrUpdateSender Uses

func (client UsersClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (UsersClient) Delete Uses

func (client UsersClient) Delete(ctx context.Context, resourceGroupName string, labAccountName string, labName string, userName string) (result UsersDeleteFuture, err error)

Delete delete user. This operation can take a while to complete Parameters: resourceGroupName - the name of the resource group. labAccountName - the name of the lab Account. labName - the name of the lab. userName - the name of the user.

func (UsersClient) DeletePreparer Uses

func (client UsersClient) DeletePreparer(ctx context.Context, resourceGroupName string, labAccountName string, labName string, userName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (UsersClient) DeleteResponder Uses

func (client UsersClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (UsersClient) DeleteSender Uses

func (client UsersClient) DeleteSender(req *http.Request) (future UsersDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (UsersClient) Get Uses

func (client UsersClient) Get(ctx context.Context, resourceGroupName string, labAccountName string, labName string, userName string, expand string) (result User, err error)

Get get user Parameters: resourceGroupName - the name of the resource group. labAccountName - the name of the lab Account. labName - the name of the lab. userName - the name of the user. expand - specify the $expand query. Example: 'properties($select=email)'

func (UsersClient) GetPreparer Uses

func (client UsersClient) GetPreparer(ctx context.Context, resourceGroupName string, labAccountName string, labName string, userName string, expand string) (*http.Request, error)

GetPreparer prepares the Get request.

func (UsersClient) GetResponder Uses

func (client UsersClient) GetResponder(resp *http.Response) (result User, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (UsersClient) GetSender Uses

func (client UsersClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (UsersClient) List Uses

func (client UsersClient) List(ctx context.Context, resourceGroupName string, labAccountName string, labName string, expand string, filter string, top *int32, orderby string) (result ResponseWithContinuationUserPage, err error)

List list users in a given lab. Parameters: resourceGroupName - the name of the resource group. labAccountName - the name of the lab Account. labName - the name of the lab. expand - specify the $expand query. Example: 'properties($select=email)' filter - the filter to apply to the operation. top - the maximum number of resources to return from the operation. orderby - the ordering expression for the results, using OData notation.

func (UsersClient) ListComplete Uses

func (client UsersClient) ListComplete(ctx context.Context, resourceGroupName string, labAccountName string, labName string, expand string, filter string, top *int32, orderby string) (result ResponseWithContinuationUserIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (UsersClient) ListPreparer Uses

func (client UsersClient) ListPreparer(ctx context.Context, resourceGroupName string, labAccountName string, labName string, expand string, filter string, top *int32, orderby string) (*http.Request, error)

ListPreparer prepares the List request.

func (UsersClient) ListResponder Uses

func (client UsersClient) ListResponder(resp *http.Response) (result ResponseWithContinuationUser, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (UsersClient) ListSender Uses

func (client UsersClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (UsersClient) Update Uses

func (client UsersClient) Update(ctx context.Context, resourceGroupName string, labAccountName string, labName string, userName string, userParameter UserFragment) (result User, err error)

Update modify properties of users. Parameters: resourceGroupName - the name of the resource group. labAccountName - the name of the lab Account. labName - the name of the lab. userName - the name of the user. userParameter - the User registered to a lab

func (UsersClient) UpdatePreparer Uses

func (client UsersClient) UpdatePreparer(ctx context.Context, resourceGroupName string, labAccountName string, labName string, userName string, userParameter UserFragment) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (UsersClient) UpdateResponder Uses

func (client UsersClient) UpdateResponder(resp *http.Response) (result User, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (UsersClient) UpdateSender Uses

func (client UsersClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type UsersDeleteFuture Uses

type UsersDeleteFuture struct {
    azure.Future
}

UsersDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*UsersDeleteFuture) Result Uses

func (future *UsersDeleteFuture) Result(client UsersClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VMStateDetails Uses

type VMStateDetails struct {
    // RdpAuthority - READ-ONLY; The RdpAuthority property is a server DNS host name or IP address followed by the service port number for RDP (Remote Desktop Protocol).
    RdpAuthority *string `json:"rdpAuthority,omitempty"`
    // SSHAuthority - READ-ONLY; The SshAuthority property is a server DNS host name or IP address followed by the service port number for SSH.
    SSHAuthority *string `json:"sshAuthority,omitempty"`
    // PowerState - READ-ONLY; The power state of the reference virtual machine.
    PowerState *string `json:"powerState,omitempty"`
    // LastKnownPowerState - READ-ONLY; Last known compute power state captured in DTL
    LastKnownPowerState *string `json:"lastKnownPowerState,omitempty"`
}

VMStateDetails details about the state of the reference virtual machine.

type VirtualMachineDetails Uses

type VirtualMachineDetails struct {
    // ProvisioningState - READ-ONLY; Provisioning state of the Dtl VM
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // RdpAuthority - READ-ONLY; Connection information for Windows
    RdpAuthority *string `json:"rdpAuthority,omitempty"`
    // SSHAuthority - READ-ONLY; Connection information for Linux
    SSHAuthority *string `json:"sshAuthority,omitempty"`
    // PrivateIPAddress - READ-ONLY; PrivateIp address of the compute VM
    PrivateIPAddress *string `json:"privateIpAddress,omitempty"`
    // UserName - READ-ONLY; Compute VM login user name
    UserName *string `json:"userName,omitempty"`
    // LastKnownPowerState - READ-ONLY; Last known compute power state captured in DTL
    LastKnownPowerState *string `json:"lastKnownPowerState,omitempty"`
}

VirtualMachineDetails details of the backing virtual machine.

Directories

PathSynopsis
labservicesapi

Package labservices imports 11 packages (graph) and is imported by 4 packages. Updated 2019-08-17. Refresh now. Tools for package owners.