azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/preview/devtestlabs/mgmt/2015-05-21-preview/dtl Index | Files | Directories

package dtl

import "github.com/Azure/azure-sdk-for-go/services/preview/devtestlabs/mgmt/2015-05-21-preview/dtl"

Package dtl implements the Azure ARM Dtl service API version 2015-05-21-preview.

Azure DevTest Labs REST API version 2015-05-21-preview.

Index

Package Files

artifact.go artifactsource.go client.go cost.go costinsight.go customimage.go formula.go galleryimage.go lab.go models.go policy.go policyset.go schedule.go version.go virtualmachine.go virtualnetwork.go

Constants

const (
    // DefaultBaseURI is the default URI used for the service Dtl
    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 ApplyArtifactsRequest Uses

type ApplyArtifactsRequest struct {
    // Artifacts - The list of artifacts to apply.
    Artifacts *[]ArtifactInstallProperties `json:"artifacts,omitempty"`
}

ApplyArtifactsRequest request body for applying artifacts to a virtual machine.

type ArmTemplateInfo Uses

type ArmTemplateInfo struct {
    autorest.Response `json:"-"`
    // Template - The template's contents.
    Template interface{} `json:"template,omitempty"`
    // Parameters - The parameters of the ARM template.
    Parameters interface{} `json:"parameters,omitempty"`
}

ArmTemplateInfo information about a generated ARM template.

type Artifact Uses

type Artifact struct {
    autorest.Response `json:"-"`
    // ArtifactProperties - The properties of the resource.
    *ArtifactProperties `json:"properties,omitempty"`
    // ID - The identifier of the resource.
    ID  *string `json:"id,omitempty"`
    // Name - The name of the resource.
    Name *string `json:"name,omitempty"`
    // Type - 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"`
}

Artifact an artifact.

func (Artifact) MarshalJSON Uses

func (a Artifact) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Artifact.

func (*Artifact) UnmarshalJSON Uses

func (a *Artifact) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Artifact struct.

type ArtifactClient Uses

type ArtifactClient struct {
    BaseClient
}

ArtifactClient is the azure DevTest Labs REST API version 2015-05-21-preview.

func NewArtifactClient Uses

func NewArtifactClient(subscriptionID string) ArtifactClient

NewArtifactClient creates an instance of the ArtifactClient client.

func NewArtifactClientWithBaseURI Uses

func NewArtifactClientWithBaseURI(baseURI string, subscriptionID string) ArtifactClient

NewArtifactClientWithBaseURI creates an instance of the ArtifactClient client.

func (ArtifactClient) GenerateArmTemplate Uses

func (client ArtifactClient) GenerateArmTemplate(ctx context.Context, resourceGroupName string, labName string, artifactSourceName string, name string, generateArmTemplateRequest GenerateArmTemplateRequest) (result ArmTemplateInfo, err error)

GenerateArmTemplate generates an ARM template for the given artifact, uploads the required files to a storage account, and validates the generated artifact. Parameters: resourceGroupName - the name of the resource group. labName - the name of the lab. artifactSourceName - the name of the artifact source. name - the name of the artifact.

func (ArtifactClient) GenerateArmTemplatePreparer Uses

func (client ArtifactClient) GenerateArmTemplatePreparer(ctx context.Context, resourceGroupName string, labName string, artifactSourceName string, name string, generateArmTemplateRequest GenerateArmTemplateRequest) (*http.Request, error)

GenerateArmTemplatePreparer prepares the GenerateArmTemplate request.

func (ArtifactClient) GenerateArmTemplateResponder Uses

func (client ArtifactClient) GenerateArmTemplateResponder(resp *http.Response) (result ArmTemplateInfo, err error)

GenerateArmTemplateResponder handles the response to the GenerateArmTemplate request. The method always closes the http.Response Body.

func (ArtifactClient) GenerateArmTemplateSender Uses

func (client ArtifactClient) GenerateArmTemplateSender(req *http.Request) (*http.Response, error)

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

func (ArtifactClient) GetResource Uses

func (client ArtifactClient) GetResource(ctx context.Context, resourceGroupName string, labName string, artifactSourceName string, name string) (result Artifact, err error)

GetResource get artifact. Parameters: resourceGroupName - the name of the resource group. labName - the name of the lab. artifactSourceName - the name of the artifact source. name - the name of the artifact.

func (ArtifactClient) GetResourcePreparer Uses

func (client ArtifactClient) GetResourcePreparer(ctx context.Context, resourceGroupName string, labName string, artifactSourceName string, name string) (*http.Request, error)

GetResourcePreparer prepares the GetResource request.

func (ArtifactClient) GetResourceResponder Uses

func (client ArtifactClient) GetResourceResponder(resp *http.Response) (result Artifact, err error)

GetResourceResponder handles the response to the GetResource request. The method always closes the http.Response Body.

func (ArtifactClient) GetResourceSender Uses

func (client ArtifactClient) GetResourceSender(req *http.Request) (*http.Response, error)

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

func (ArtifactClient) List Uses

func (client ArtifactClient) List(ctx context.Context, resourceGroupName string, labName string, artifactSourceName string, filter string, top *int32, orderBy string) (result ResponseWithContinuationArtifactPage, err error)

List list artifacts. Parameters: resourceGroupName - the name of the resource group. labName - the name of the lab. artifactSourceName - the name of the artifact source. filter - the filter to apply on the operation.

func (ArtifactClient) ListComplete Uses

func (client ArtifactClient) ListComplete(ctx context.Context, resourceGroupName string, labName string, artifactSourceName string, filter string, top *int32, orderBy string) (result ResponseWithContinuationArtifactIterator, err error)

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

func (ArtifactClient) ListPreparer Uses

func (client ArtifactClient) ListPreparer(ctx context.Context, resourceGroupName string, labName string, artifactSourceName string, filter string, top *int32, orderBy string) (*http.Request, error)

ListPreparer prepares the List request.

func (ArtifactClient) ListResponder Uses

func (client ArtifactClient) ListResponder(resp *http.Response) (result ResponseWithContinuationArtifact, err error)

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

func (ArtifactClient) ListSender Uses

func (client ArtifactClient) 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 ArtifactDeploymentStatusProperties Uses

type ArtifactDeploymentStatusProperties struct {
    // DeploymentStatus - The deployment status of the artifact.
    DeploymentStatus *string `json:"deploymentStatus,omitempty"`
    // ArtifactsApplied - The total count of the artifacts that were successfully applied.
    ArtifactsApplied *int32 `json:"artifactsApplied,omitempty"`
    // TotalArtifacts - The total count of the artifacts that were tentatively applied.
    TotalArtifacts *int32 `json:"totalArtifacts,omitempty"`
}

ArtifactDeploymentStatusProperties properties of an artifact deployment.

type ArtifactInstallProperties Uses

type ArtifactInstallProperties struct {
    // ArtifactID - The artifact's identifier.
    ArtifactID *string `json:"artifactId,omitempty"`
    // Parameters - The parameters of the artifact.
    Parameters *[]ArtifactParameterProperties `json:"parameters,omitempty"`
}

ArtifactInstallProperties properties of an artifact.

type ArtifactParameterProperties Uses

type ArtifactParameterProperties struct {
    // Name - The name of the artifact parameter.
    Name *string `json:"name,omitempty"`
    // Value - The value of the artifact parameter.
    Value *string `json:"value,omitempty"`
}

ArtifactParameterProperties properties of an artifact parameter.

type ArtifactProperties Uses

type ArtifactProperties struct {
    // Title - The title of the artifact.
    Title *string `json:"title,omitempty"`
    // Description - The description of the artifact.
    Description *string `json:"description,omitempty"`
    // FilePath - The file path of the artifact.
    FilePath *string `json:"filePath,omitempty"`
    // Icon - The icon of the artifact.
    Icon *string `json:"icon,omitempty"`
    // TargetOsType - Gets or sets the type of the target os.
    TargetOsType *string `json:"targetOsType,omitempty"`
    // Parameters - The parameters of the artifact.
    Parameters interface{} `json:"parameters,omitempty"`
}

ArtifactProperties properties of an artifact.

type ArtifactSource Uses

type ArtifactSource struct {
    autorest.Response `json:"-"`
    // ArtifactSourceProperties - The properties of the resource.
    *ArtifactSourceProperties `json:"properties,omitempty"`
    // ID - The identifier of the resource.
    ID  *string `json:"id,omitempty"`
    // Name - The name of the resource.
    Name *string `json:"name,omitempty"`
    // Type - 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"`
}

ArtifactSource properties of an artifact source.

func (ArtifactSource) MarshalJSON Uses

func (as ArtifactSource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ArtifactSource.

func (*ArtifactSource) UnmarshalJSON Uses

func (as *ArtifactSource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ArtifactSource struct.

type ArtifactSourceClient Uses

type ArtifactSourceClient struct {
    BaseClient
}

ArtifactSourceClient is the azure DevTest Labs REST API version 2015-05-21-preview.

func NewArtifactSourceClient Uses

func NewArtifactSourceClient(subscriptionID string) ArtifactSourceClient

NewArtifactSourceClient creates an instance of the ArtifactSourceClient client.

func NewArtifactSourceClientWithBaseURI Uses

func NewArtifactSourceClientWithBaseURI(baseURI string, subscriptionID string) ArtifactSourceClient

NewArtifactSourceClientWithBaseURI creates an instance of the ArtifactSourceClient client.

func (ArtifactSourceClient) CreateOrUpdateResource Uses

func (client ArtifactSourceClient) CreateOrUpdateResource(ctx context.Context, resourceGroupName string, labName string, name string, artifactSource ArtifactSource) (result ArtifactSource, err error)

CreateOrUpdateResource create or replace an existing artifact source. Parameters: resourceGroupName - the name of the resource group. labName - the name of the lab. name - the name of the artifact source.

func (ArtifactSourceClient) CreateOrUpdateResourcePreparer Uses

func (client ArtifactSourceClient) CreateOrUpdateResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string, artifactSource ArtifactSource) (*http.Request, error)

CreateOrUpdateResourcePreparer prepares the CreateOrUpdateResource request.

func (ArtifactSourceClient) CreateOrUpdateResourceResponder Uses

func (client ArtifactSourceClient) CreateOrUpdateResourceResponder(resp *http.Response) (result ArtifactSource, err error)

CreateOrUpdateResourceResponder handles the response to the CreateOrUpdateResource request. The method always closes the http.Response Body.

func (ArtifactSourceClient) CreateOrUpdateResourceSender Uses

func (client ArtifactSourceClient) CreateOrUpdateResourceSender(req *http.Request) (*http.Response, error)

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

func (ArtifactSourceClient) DeleteResource Uses

func (client ArtifactSourceClient) DeleteResource(ctx context.Context, resourceGroupName string, labName string, name string) (result autorest.Response, err error)

DeleteResource delete artifact source. Parameters: resourceGroupName - the name of the resource group. labName - the name of the lab. name - the name of the artifact source.

func (ArtifactSourceClient) DeleteResourcePreparer Uses

func (client ArtifactSourceClient) DeleteResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string) (*http.Request, error)

DeleteResourcePreparer prepares the DeleteResource request.

func (ArtifactSourceClient) DeleteResourceResponder Uses

func (client ArtifactSourceClient) DeleteResourceResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResourceResponder handles the response to the DeleteResource request. The method always closes the http.Response Body.

func (ArtifactSourceClient) DeleteResourceSender Uses

func (client ArtifactSourceClient) DeleteResourceSender(req *http.Request) (*http.Response, error)

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

func (ArtifactSourceClient) GetResource Uses

func (client ArtifactSourceClient) GetResource(ctx context.Context, resourceGroupName string, labName string, name string) (result ArtifactSource, err error)

GetResource get artifact source. Parameters: resourceGroupName - the name of the resource group. labName - the name of the lab. name - the name of the artifact source.

func (ArtifactSourceClient) GetResourcePreparer Uses

func (client ArtifactSourceClient) GetResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string) (*http.Request, error)

GetResourcePreparer prepares the GetResource request.

func (ArtifactSourceClient) GetResourceResponder Uses

func (client ArtifactSourceClient) GetResourceResponder(resp *http.Response) (result ArtifactSource, err error)

GetResourceResponder handles the response to the GetResource request. The method always closes the http.Response Body.

func (ArtifactSourceClient) GetResourceSender Uses

func (client ArtifactSourceClient) GetResourceSender(req *http.Request) (*http.Response, error)

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

func (ArtifactSourceClient) List Uses

func (client ArtifactSourceClient) List(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderBy string) (result ResponseWithContinuationArtifactSourcePage, err error)

List list artifact sources. Parameters: resourceGroupName - the name of the resource group. labName - the name of the lab. filter - the filter to apply on the operation.

func (ArtifactSourceClient) ListComplete Uses

func (client ArtifactSourceClient) ListComplete(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderBy string) (result ResponseWithContinuationArtifactSourceIterator, err error)

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

func (ArtifactSourceClient) ListPreparer Uses

func (client ArtifactSourceClient) ListPreparer(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderBy string) (*http.Request, error)

ListPreparer prepares the List request.

func (ArtifactSourceClient) ListResponder Uses

func (client ArtifactSourceClient) ListResponder(resp *http.Response) (result ResponseWithContinuationArtifactSource, err error)

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

func (ArtifactSourceClient) ListSender Uses

func (client ArtifactSourceClient) 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 (ArtifactSourceClient) PatchResource Uses

func (client ArtifactSourceClient) PatchResource(ctx context.Context, resourceGroupName string, labName string, name string, artifactSource ArtifactSource) (result ArtifactSource, err error)

PatchResource modify properties of artifact sources. Parameters: resourceGroupName - the name of the resource group. labName - the name of the lab. name - the name of the artifact source.

func (ArtifactSourceClient) PatchResourcePreparer Uses

func (client ArtifactSourceClient) PatchResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string, artifactSource ArtifactSource) (*http.Request, error)

PatchResourcePreparer prepares the PatchResource request.

func (ArtifactSourceClient) PatchResourceResponder Uses

func (client ArtifactSourceClient) PatchResourceResponder(resp *http.Response) (result ArtifactSource, err error)

PatchResourceResponder handles the response to the PatchResource request. The method always closes the http.Response Body.

func (ArtifactSourceClient) PatchResourceSender Uses

func (client ArtifactSourceClient) PatchResourceSender(req *http.Request) (*http.Response, error)

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

type ArtifactSourceProperties Uses

type ArtifactSourceProperties struct {
    // DisplayName - The display name of the artifact source.
    DisplayName *string `json:"displayName,omitempty"`
    // URI - The URI of the artifact source.
    URI *string `json:"uri,omitempty"`
    // SourceType - The type of the artifact source. Possible values include: 'VsoGit', 'GitHub'
    SourceType SourceControlType `json:"sourceType,omitempty"`
    // FolderPath - The folder path of the artifact source.
    FolderPath *string `json:"folderPath,omitempty"`
    // BranchRef - The branch reference of the artifact source.
    BranchRef *string `json:"branchRef,omitempty"`
    // SecurityToken - The security token of the artifact source.
    SecurityToken *string `json:"securityToken,omitempty"`
    // Status - The status of the artifact source. Possible values include: 'Enabled', 'Disabled'
    Status EnableStatus `json:"status,omitempty"`
    // ProvisioningState - The provisioning status of the resource.
    ProvisioningState *string `json:"provisioningState,omitempty"`
}

ArtifactSourceProperties properties of an artifact source.

type BaseClient Uses

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

BaseClient is the base client for Dtl.

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 ...

type CloudErrorBody Uses

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

CloudErrorBody ...

type Cost Uses

type Cost struct {
    autorest.Response `json:"-"`
    // CostProperties - The properties of the resource.
    *CostProperties `json:"properties,omitempty"`
    // ID - The identifier of the resource.
    ID  *string `json:"id,omitempty"`
    // Name - The name of the resource.
    Name *string `json:"name,omitempty"`
    // Type - 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"`
}

Cost a cost item.

func (Cost) MarshalJSON Uses

func (c Cost) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Cost.

func (*Cost) UnmarshalJSON Uses

func (c *Cost) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Cost struct.

type CostClient Uses

type CostClient struct {
    BaseClient
}

CostClient is the azure DevTest Labs REST API version 2015-05-21-preview.

func NewCostClient Uses

func NewCostClient(subscriptionID string) CostClient

NewCostClient creates an instance of the CostClient client.

func NewCostClientWithBaseURI Uses

func NewCostClientWithBaseURI(baseURI string, subscriptionID string) CostClient

NewCostClientWithBaseURI creates an instance of the CostClient client.

func (CostClient) GetResource Uses

func (client CostClient) GetResource(ctx context.Context, resourceGroupName string, labName string, name string) (result Cost, err error)

GetResource get cost. Parameters: resourceGroupName - the name of the resource group. labName - the name of the lab. name - the name of the cost.

func (CostClient) GetResourcePreparer Uses

func (client CostClient) GetResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string) (*http.Request, error)

GetResourcePreparer prepares the GetResource request.

func (CostClient) GetResourceResponder Uses

func (client CostClient) GetResourceResponder(resp *http.Response) (result Cost, err error)

GetResourceResponder handles the response to the GetResource request. The method always closes the http.Response Body.

func (CostClient) GetResourceSender Uses

func (client CostClient) GetResourceSender(req *http.Request) (*http.Response, error)

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

func (CostClient) List Uses

func (client CostClient) List(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderBy string) (result ResponseWithContinuationCostPage, err error)

List list costs. Parameters: resourceGroupName - the name of the resource group. labName - the name of the lab. filter - the filter to apply on the operation.

func (CostClient) ListComplete Uses

func (client CostClient) ListComplete(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderBy string) (result ResponseWithContinuationCostIterator, err error)

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

func (CostClient) ListPreparer Uses

func (client CostClient) ListPreparer(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderBy string) (*http.Request, error)

ListPreparer prepares the List request.

func (CostClient) ListResponder Uses

func (client CostClient) ListResponder(resp *http.Response) (result ResponseWithContinuationCost, err error)

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

func (CostClient) ListSender Uses

func (client CostClient) 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 (CostClient) RefreshData Uses

func (client CostClient) RefreshData(ctx context.Context, resourceGroupName string, labName string, name string) (result CostRefreshDataFuture, err error)

RefreshData refresh Lab's Cost Data. This operation can take a while to complete. Parameters: resourceGroupName - the name of the resource group. labName - the name of the lab. name - the name of the cost.

func (CostClient) RefreshDataPreparer Uses

func (client CostClient) RefreshDataPreparer(ctx context.Context, resourceGroupName string, labName string, name string) (*http.Request, error)

RefreshDataPreparer prepares the RefreshData request.

func (CostClient) RefreshDataResponder Uses

func (client CostClient) RefreshDataResponder(resp *http.Response) (result autorest.Response, err error)

RefreshDataResponder handles the response to the RefreshData request. The method always closes the http.Response Body.

func (CostClient) RefreshDataSender Uses

func (client CostClient) RefreshDataSender(req *http.Request) (future CostRefreshDataFuture, err error)

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

type CostInsight Uses

type CostInsight struct {
    autorest.Response `json:"-"`
    // CostInsightProperties - The properties of the resource.
    *CostInsightProperties `json:"properties,omitempty"`
    // ID - The identifier of the resource.
    ID  *string `json:"id,omitempty"`
    // Name - The name of the resource.
    Name *string `json:"name,omitempty"`
    // Type - 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"`
}

CostInsight ...

func (CostInsight) MarshalJSON Uses

func (ci CostInsight) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CostInsight.

func (*CostInsight) UnmarshalJSON Uses

func (ci *CostInsight) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CostInsight struct.

type CostInsightClient Uses

type CostInsightClient struct {
    BaseClient
}

CostInsightClient is the azure DevTest Labs REST API version 2015-05-21-preview.

func NewCostInsightClient Uses

func NewCostInsightClient(subscriptionID string) CostInsightClient

NewCostInsightClient creates an instance of the CostInsightClient client.

func NewCostInsightClientWithBaseURI Uses

func NewCostInsightClientWithBaseURI(baseURI string, subscriptionID string) CostInsightClient

NewCostInsightClientWithBaseURI creates an instance of the CostInsightClient client.

func (CostInsightClient) GetResource Uses

func (client CostInsightClient) GetResource(ctx context.Context, resourceGroupName string, labName string, name string) (result CostInsight, err error)

GetResource get cost insight. Parameters: resourceGroupName - the name of the resource group. labName - the name of the lab. name - the name of the cost insight.

func (CostInsightClient) GetResourcePreparer Uses

func (client CostInsightClient) GetResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string) (*http.Request, error)

GetResourcePreparer prepares the GetResource request.

func (CostInsightClient) GetResourceResponder Uses

func (client CostInsightClient) GetResourceResponder(resp *http.Response) (result CostInsight, err error)

GetResourceResponder handles the response to the GetResource request. The method always closes the http.Response Body.

func (CostInsightClient) GetResourceSender Uses

func (client CostInsightClient) GetResourceSender(req *http.Request) (*http.Response, error)

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

func (CostInsightClient) List Uses

func (client CostInsightClient) List(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderBy string) (result ResponseWithContinuationCostInsightPage, err error)

List list cost insights. Parameters: resourceGroupName - the name of the resource group. labName - the name of the lab. filter - the filter to apply on the operation.

func (CostInsightClient) ListComplete Uses

func (client CostInsightClient) ListComplete(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderBy string) (result ResponseWithContinuationCostInsightIterator, err error)

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

func (CostInsightClient) ListPreparer Uses

func (client CostInsightClient) ListPreparer(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderBy string) (*http.Request, error)

ListPreparer prepares the List request.

func (CostInsightClient) ListResponder Uses

func (client CostInsightClient) ListResponder(resp *http.Response) (result ResponseWithContinuationCostInsight, err error)

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

func (CostInsightClient) ListSender Uses

func (client CostInsightClient) 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 (CostInsightClient) RefreshData Uses

func (client CostInsightClient) RefreshData(ctx context.Context, resourceGroupName string, labName string, name string) (result CostInsightRefreshDataFuture, err error)

RefreshData refresh Lab's Cost Insight Data. This operation can take a while to complete. Parameters: resourceGroupName - the name of the resource group. labName - the name of the lab. name - the name of the cost insight.

func (CostInsightClient) RefreshDataPreparer Uses

func (client CostInsightClient) RefreshDataPreparer(ctx context.Context, resourceGroupName string, labName string, name string) (*http.Request, error)

RefreshDataPreparer prepares the RefreshData request.

func (CostInsightClient) RefreshDataResponder Uses

func (client CostInsightClient) RefreshDataResponder(resp *http.Response) (result autorest.Response, err error)

RefreshDataResponder handles the response to the RefreshData request. The method always closes the http.Response Body.

func (CostInsightClient) RefreshDataSender Uses

func (client CostInsightClient) RefreshDataSender(req *http.Request) (future CostInsightRefreshDataFuture, err error)

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

type CostInsightProperties Uses

type CostInsightProperties struct {
    CurrencyCode *string             `json:"currencyCode,omitempty"`
    VMCosts      *[]VMCostProperties `json:"vmCosts,omitempty"`
    // ProvisioningState - The provisioning status of the resource.
    ProvisioningState *string `json:"provisioningState,omitempty"`
}

CostInsightProperties ...

type CostInsightRefreshDataFuture Uses

type CostInsightRefreshDataFuture struct {
    azure.Future
}

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

func (*CostInsightRefreshDataFuture) Result Uses

func (future *CostInsightRefreshDataFuture) Result(client CostInsightClient) (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 CostPerDayProperties Uses

type CostPerDayProperties struct {
    // Date - The date of the cost item.
    Date *date.Time `json:"date,omitempty"`
    // Cost - The cost of the cost item.
    Cost *float64 `json:"cost,omitempty"`
    // CostType - The type of the cost. Possible values include: 'Unavailable', 'Reported', 'Projected'
    CostType CostPropertyType `json:"costType,omitempty"`
}

CostPerDayProperties the per-day properties of a cost item.

type CostProperties Uses

type CostProperties struct {
    // CurrencyCode - The currency code of the cost.
    CurrencyCode *string `json:"currencyCode,omitempty"`
    // Costs - The per-day costs items of the cost.
    Costs *[]CostPerDayProperties `json:"costs,omitempty"`
}

CostProperties properties of a cost item.

type CostPropertyType Uses

type CostPropertyType string

CostPropertyType enumerates the values for cost property type.

const (
    // Projected ...
    Projected CostPropertyType = "Projected"
    // Reported ...
    Reported CostPropertyType = "Reported"
    // Unavailable ...
    Unavailable CostPropertyType = "Unavailable"
)

func PossibleCostPropertyTypeValues Uses

func PossibleCostPropertyTypeValues() []CostPropertyType

PossibleCostPropertyTypeValues returns an array of possible values for the CostPropertyType const type.

type CostRefreshDataFuture Uses

type CostRefreshDataFuture struct {
    azure.Future
}

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

func (*CostRefreshDataFuture) Result Uses

func (future *CostRefreshDataFuture) Result(client CostClient) (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 CustomImage Uses

type CustomImage struct {
    autorest.Response `json:"-"`
    // CustomImageProperties - The properties of the resource.
    *CustomImageProperties `json:"properties,omitempty"`
    // ID - The identifier of the resource.
    ID  *string `json:"id,omitempty"`
    // Name - The name of the resource.
    Name *string `json:"name,omitempty"`
    // Type - 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"`
}

CustomImage a custom image.

func (CustomImage) MarshalJSON Uses

func (ci CustomImage) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CustomImage.

func (*CustomImage) UnmarshalJSON Uses

func (ci *CustomImage) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CustomImage struct.

type CustomImageClient Uses

type CustomImageClient struct {
    BaseClient
}

CustomImageClient is the azure DevTest Labs REST API version 2015-05-21-preview.

func NewCustomImageClient Uses

func NewCustomImageClient(subscriptionID string) CustomImageClient

NewCustomImageClient creates an instance of the CustomImageClient client.

func NewCustomImageClientWithBaseURI Uses

func NewCustomImageClientWithBaseURI(baseURI string, subscriptionID string) CustomImageClient

NewCustomImageClientWithBaseURI creates an instance of the CustomImageClient client.

func (CustomImageClient) CreateOrUpdateResource Uses

func (client CustomImageClient) CreateOrUpdateResource(ctx context.Context, resourceGroupName string, labName string, name string, customImage CustomImage) (result CustomImageCreateOrUpdateResourceFuture, err error)

CreateOrUpdateResource create or replace an existing custom image. This operation can take a while to complete. Parameters: resourceGroupName - the name of the resource group. labName - the name of the lab. name - the name of the custom image.

func (CustomImageClient) CreateOrUpdateResourcePreparer Uses

func (client CustomImageClient) CreateOrUpdateResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string, customImage CustomImage) (*http.Request, error)

CreateOrUpdateResourcePreparer prepares the CreateOrUpdateResource request.

func (CustomImageClient) CreateOrUpdateResourceResponder Uses

func (client CustomImageClient) CreateOrUpdateResourceResponder(resp *http.Response) (result CustomImage, err error)

CreateOrUpdateResourceResponder handles the response to the CreateOrUpdateResource request. The method always closes the http.Response Body.

func (CustomImageClient) CreateOrUpdateResourceSender Uses

func (client CustomImageClient) CreateOrUpdateResourceSender(req *http.Request) (future CustomImageCreateOrUpdateResourceFuture, err error)

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

func (CustomImageClient) DeleteResource Uses

func (client CustomImageClient) DeleteResource(ctx context.Context, resourceGroupName string, labName string, name string) (result CustomImageDeleteResourceFuture, err error)

DeleteResource delete custom image. This operation can take a while to complete. Parameters: resourceGroupName - the name of the resource group. labName - the name of the lab. name - the name of the custom image.

func (CustomImageClient) DeleteResourcePreparer Uses

func (client CustomImageClient) DeleteResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string) (*http.Request, error)

DeleteResourcePreparer prepares the DeleteResource request.

func (CustomImageClient) DeleteResourceResponder Uses

func (client CustomImageClient) DeleteResourceResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResourceResponder handles the response to the DeleteResource request. The method always closes the http.Response Body.

func (CustomImageClient) DeleteResourceSender Uses

func (client CustomImageClient) DeleteResourceSender(req *http.Request) (future CustomImageDeleteResourceFuture, err error)

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

func (CustomImageClient) GetResource Uses

func (client CustomImageClient) GetResource(ctx context.Context, resourceGroupName string, labName string, name string) (result CustomImage, err error)

GetResource get custom image. Parameters: resourceGroupName - the name of the resource group. labName - the name of the lab. name - the name of the custom image.

func (CustomImageClient) GetResourcePreparer Uses

func (client CustomImageClient) GetResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string) (*http.Request, error)

GetResourcePreparer prepares the GetResource request.

func (CustomImageClient) GetResourceResponder Uses

func (client CustomImageClient) GetResourceResponder(resp *http.Response) (result CustomImage, err error)

GetResourceResponder handles the response to the GetResource request. The method always closes the http.Response Body.

func (CustomImageClient) GetResourceSender Uses

func (client CustomImageClient) GetResourceSender(req *http.Request) (*http.Response, error)

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

func (CustomImageClient) List Uses

func (client CustomImageClient) List(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderBy string) (result ResponseWithContinuationCustomImagePage, err error)

List list custom images. Parameters: resourceGroupName - the name of the resource group. labName - the name of the lab. filter - the filter to apply on the operation.

func (CustomImageClient) ListComplete Uses

func (client CustomImageClient) ListComplete(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderBy string) (result ResponseWithContinuationCustomImageIterator, err error)

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

func (CustomImageClient) ListPreparer Uses

func (client CustomImageClient) ListPreparer(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderBy string) (*http.Request, error)

ListPreparer prepares the List request.

func (CustomImageClient) ListResponder Uses

func (client CustomImageClient) ListResponder(resp *http.Response) (result ResponseWithContinuationCustomImage, err error)

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

func (CustomImageClient) ListSender Uses

func (client CustomImageClient) 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 CustomImageCreateOrUpdateResourceFuture Uses

type CustomImageCreateOrUpdateResourceFuture struct {
    azure.Future
}

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

func (*CustomImageCreateOrUpdateResourceFuture) Result Uses

func (future *CustomImageCreateOrUpdateResourceFuture) Result(client CustomImageClient) (ci CustomImage, err error)

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

type CustomImageDeleteResourceFuture Uses

type CustomImageDeleteResourceFuture struct {
    azure.Future
}

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

func (*CustomImageDeleteResourceFuture) Result Uses

func (future *CustomImageDeleteResourceFuture) Result(client CustomImageClient) (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 CustomImageOsType Uses

type CustomImageOsType string

CustomImageOsType enumerates the values for custom image os type.

const (
    // Linux ...
    Linux CustomImageOsType = "Linux"
    // None ...
    None CustomImageOsType = "None"
    // Windows ...
    Windows CustomImageOsType = "Windows"
)

func PossibleCustomImageOsTypeValues Uses

func PossibleCustomImageOsTypeValues() []CustomImageOsType

PossibleCustomImageOsTypeValues returns an array of possible values for the CustomImageOsType const type.

type CustomImageProperties Uses

type CustomImageProperties struct {
    VM  *CustomImagePropertiesFromVM `json:"vm,omitempty"`
    // Vhd - The VHD from which the image is to be created.
    Vhd *CustomImagePropertiesCustom `json:"vhd,omitempty"`
    // Description - The description of the custom image.
    Description *string `json:"description,omitempty"`
    // OsType - The OS type of the custom image. Possible values include: 'Windows', 'Linux', 'None'
    OsType CustomImageOsType `json:"osType,omitempty"`
    // Author - The author of the custom image.
    Author *string `json:"author,omitempty"`
    // CreationDate - The creation date of the custom image.
    CreationDate *date.Time `json:"creationDate,omitempty"`
    // ProvisioningState - The provisioning status of the resource.
    ProvisioningState *string `json:"provisioningState,omitempty"`
}

CustomImageProperties properties of a custom image.

type CustomImagePropertiesCustom Uses

type CustomImagePropertiesCustom struct {
    // ImageName - The image name.
    ImageName *string `json:"imageName,omitempty"`
    // SysPrep - Indicates whether sysprep has been run on the VHD.
    SysPrep *bool `json:"sysPrep,omitempty"`
}

CustomImagePropertiesCustom properties for creating a custom image from a VHD.

type CustomImagePropertiesFromVM Uses

type CustomImagePropertiesFromVM struct {
    // SourceVMID - The source vm identifier.
    SourceVMID *string `json:"sourceVmId,omitempty"`
    // SysPrep - Indicates whether sysprep has been run on the VHD.
    SysPrep *bool `json:"sysPrep,omitempty"`
    // WindowsOsInfo - The Windows OS information of the VM.
    WindowsOsInfo *WindowsOsInfo `json:"windowsOsInfo,omitempty"`
    // LinuxOsInfo - The Linux OS information of the VM.
    LinuxOsInfo *LinuxOsInfo `json:"linuxOsInfo,omitempty"`
}

CustomImagePropertiesFromVM properties for creating a custom image from a virtual machine.

type DayDetails Uses

type DayDetails struct {
    Time *string `json:"time,omitempty"`
}

DayDetails properties of a daily schedule.

type EnableStatus Uses

type EnableStatus string

EnableStatus enumerates the values for enable status.

const (
    // Disabled ...
    Disabled EnableStatus = "Disabled"
    // Enabled ...
    Enabled EnableStatus = "Enabled"
)

func PossibleEnableStatusValues Uses

func PossibleEnableStatusValues() []EnableStatus

PossibleEnableStatusValues returns an array of possible values for the EnableStatus const type.

type EvaluatePoliciesProperties Uses

type EvaluatePoliciesProperties struct {
    // FactName - The fact name.
    FactName *string `json:"factName,omitempty"`
    // FactData - The fact data.
    FactData *string `json:"factData,omitempty"`
    // ValueOffset - The value offset.
    ValueOffset *string `json:"valueOffset,omitempty"`
}

EvaluatePoliciesProperties properties for evaluating a policy set.

type EvaluatePoliciesRequest Uses

type EvaluatePoliciesRequest struct {
    // Policies - Policies to evaluate.
    Policies *[]EvaluatePoliciesProperties `json:"policies,omitempty"`
}

EvaluatePoliciesRequest request body for evaluating a policy set.

type EvaluatePoliciesResponse Uses

type EvaluatePoliciesResponse struct {
    autorest.Response `json:"-"`
    // Results - Results of evaluating a policy set.
    Results *[]PolicySetResult `json:"results,omitempty"`
}

EvaluatePoliciesResponse response body for evaluating a policy set.

type Formula Uses

type Formula struct {
    autorest.Response `json:"-"`
    // FormulaProperties - The properties of the resource.
    *FormulaProperties `json:"properties,omitempty"`
    // ID - The identifier of the resource.
    ID  *string `json:"id,omitempty"`
    // Name - The name of the resource.
    Name *string `json:"name,omitempty"`
    // Type - 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"`
}

Formula a formula.

func (Formula) MarshalJSON Uses

func (f Formula) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Formula.

func (*Formula) UnmarshalJSON Uses

func (f *Formula) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Formula struct.

type FormulaClient Uses

type FormulaClient struct {
    BaseClient
}

FormulaClient is the azure DevTest Labs REST API version 2015-05-21-preview.

func NewFormulaClient Uses

func NewFormulaClient(subscriptionID string) FormulaClient

NewFormulaClient creates an instance of the FormulaClient client.

func NewFormulaClientWithBaseURI Uses

func NewFormulaClientWithBaseURI(baseURI string, subscriptionID string) FormulaClient

NewFormulaClientWithBaseURI creates an instance of the FormulaClient client.

func (FormulaClient) CreateOrUpdateResource Uses

func (client FormulaClient) CreateOrUpdateResource(ctx context.Context, resourceGroupName string, labName string, name string, formula Formula) (result FormulaCreateOrUpdateResourceFuture, err error)

CreateOrUpdateResource create or replace an existing Formula. This operation can take a while to complete. Parameters: resourceGroupName - the name of the resource group. labName - the name of the lab. name - the name of the formula.

func (FormulaClient) CreateOrUpdateResourcePreparer Uses

func (client FormulaClient) CreateOrUpdateResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string, formula Formula) (*http.Request, error)

CreateOrUpdateResourcePreparer prepares the CreateOrUpdateResource request.

func (FormulaClient) CreateOrUpdateResourceResponder Uses

func (client FormulaClient) CreateOrUpdateResourceResponder(resp *http.Response) (result Formula, err error)

CreateOrUpdateResourceResponder handles the response to the CreateOrUpdateResource request. The method always closes the http.Response Body.

func (FormulaClient) CreateOrUpdateResourceSender Uses

func (client FormulaClient) CreateOrUpdateResourceSender(req *http.Request) (future FormulaCreateOrUpdateResourceFuture, err error)

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

func (FormulaClient) DeleteResource Uses

func (client FormulaClient) DeleteResource(ctx context.Context, resourceGroupName string, labName string, name string) (result autorest.Response, err error)

DeleteResource delete formula. Parameters: resourceGroupName - the name of the resource group. labName - the name of the lab. name - the name of the formula.

func (FormulaClient) DeleteResourcePreparer Uses

func (client FormulaClient) DeleteResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string) (*http.Request, error)

DeleteResourcePreparer prepares the DeleteResource request.

func (FormulaClient) DeleteResourceResponder Uses

func (client FormulaClient) DeleteResourceResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResourceResponder handles the response to the DeleteResource request. The method always closes the http.Response Body.

func (FormulaClient) DeleteResourceSender Uses

func (client FormulaClient) DeleteResourceSender(req *http.Request) (*http.Response, error)

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

func (FormulaClient) GetResource Uses

func (client FormulaClient) GetResource(ctx context.Context, resourceGroupName string, labName string, name string) (result Formula, err error)

GetResource get formula. Parameters: resourceGroupName - the name of the resource group. labName - the name of the lab. name - the name of the formula.

func (FormulaClient) GetResourcePreparer Uses

func (client FormulaClient) GetResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string) (*http.Request, error)

GetResourcePreparer prepares the GetResource request.

func (FormulaClient) GetResourceResponder Uses

func (client FormulaClient) GetResourceResponder(resp *http.Response) (result Formula, err error)

GetResourceResponder handles the response to the GetResource request. The method always closes the http.Response Body.

func (FormulaClient) GetResourceSender Uses

func (client FormulaClient) GetResourceSender(req *http.Request) (*http.Response, error)

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

func (FormulaClient) List Uses

func (client FormulaClient) List(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderBy string) (result ResponseWithContinuationFormulaPage, err error)

List list formulas. Parameters: resourceGroupName - the name of the resource group. labName - the name of the lab. filter - the filter to apply on the operation.

func (FormulaClient) ListComplete Uses

func (client FormulaClient) ListComplete(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderBy string) (result ResponseWithContinuationFormulaIterator, err error)

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

func (FormulaClient) ListPreparer Uses

func (client FormulaClient) ListPreparer(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderBy string) (*http.Request, error)

ListPreparer prepares the List request.

func (FormulaClient) ListResponder Uses

func (client FormulaClient) ListResponder(resp *http.Response) (result ResponseWithContinuationFormula, err error)

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

func (FormulaClient) ListSender Uses

func (client FormulaClient) 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 FormulaCreateOrUpdateResourceFuture Uses

type FormulaCreateOrUpdateResourceFuture struct {
    azure.Future
}

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

func (*FormulaCreateOrUpdateResourceFuture) Result Uses

func (future *FormulaCreateOrUpdateResourceFuture) Result(client FormulaClient) (f Formula, err error)

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

type FormulaProperties Uses

type FormulaProperties struct {
    // Description - The description of the formula.
    Description *string `json:"description,omitempty"`
    // Author - The author of the formula.
    Author *string `json:"author,omitempty"`
    // OsType - The OS type of the formula.
    OsType *string `json:"osType,omitempty"`
    // CreationDate - The creation date of the formula.
    CreationDate *date.Time `json:"creationDate,omitempty"`
    // FormulaContent - The content of the formula.
    FormulaContent *LabVirtualMachine `json:"formulaContent,omitempty"`
    // VM - Information about a VM from which a formula is to be created.
    VM  *FormulaPropertiesFromVM `json:"vm,omitempty"`
    // ProvisioningState - The provisioning status of the resource.
    ProvisioningState *string `json:"provisioningState,omitempty"`
}

FormulaProperties properties of a formula.

type FormulaPropertiesFromVM Uses

type FormulaPropertiesFromVM struct {
    // LabVMID - The identifier of the VM from which a formula is to be created.
    LabVMID *string `json:"labVmId,omitempty"`
}

FormulaPropertiesFromVM information about a VM from which a formula is to be created.

type GalleryImage Uses

type GalleryImage struct {
    // GalleryImageProperties - The properties of the resource.
    *GalleryImageProperties `json:"properties,omitempty"`
    // ID - The identifier of the resource.
    ID  *string `json:"id,omitempty"`
    // Name - The name of the resource.
    Name *string `json:"name,omitempty"`
    // Type - 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 a gallery image.

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 GalleryImageClient Uses

type GalleryImageClient struct {
    BaseClient
}

GalleryImageClient is the azure DevTest Labs REST API version 2015-05-21-preview.

func NewGalleryImageClient Uses

func NewGalleryImageClient(subscriptionID string) GalleryImageClient

NewGalleryImageClient creates an instance of the GalleryImageClient client.

func NewGalleryImageClientWithBaseURI Uses

func NewGalleryImageClientWithBaseURI(baseURI string, subscriptionID string) GalleryImageClient

NewGalleryImageClientWithBaseURI creates an instance of the GalleryImageClient client.

func (GalleryImageClient) List Uses

func (client GalleryImageClient) List(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderBy string) (result ResponseWithContinuationGalleryImagePage, err error)

List list gallery images. Parameters: resourceGroupName - the name of the resource group. labName - the name of the lab. filter - the filter to apply on the operation.

func (GalleryImageClient) ListComplete Uses

func (client GalleryImageClient) ListComplete(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderBy string) (result ResponseWithContinuationGalleryImageIterator, err error)

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

func (GalleryImageClient) ListPreparer Uses

func (client GalleryImageClient) ListPreparer(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderBy string) (*http.Request, error)

ListPreparer prepares the List request.

func (GalleryImageClient) ListResponder Uses

func (client GalleryImageClient) 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 (GalleryImageClient) ListSender Uses

func (client GalleryImageClient) 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 GalleryImageProperties Uses

type GalleryImageProperties struct {
    // Author - The author of the gallery image.
    Author *string `json:"author,omitempty"`
    // CreatedDate - The creation date of the gallery image.
    CreatedDate *date.Time `json:"createdDate,omitempty"`
    // Description - The description of the gallery image.
    Description *string `json:"description,omitempty"`
    // ImageReference - The image reference of the gallery image.
    ImageReference *GalleryImageReference `json:"imageReference,omitempty"`
    // Icon - The icon of the gallery image.
    Icon *string `json:"icon,omitempty"`
    // Enabled - Indicates whether this gallery image is enabled.
    Enabled *bool `json:"enabled,omitempty"`
}

GalleryImageProperties properties of a gallery image.

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 GenerateArmTemplateRequest Uses

type GenerateArmTemplateRequest struct {
    // VirtualMachineName - The resource name of the virtual machine.
    VirtualMachineName *string `json:"virtualMachineName,omitempty"`
    // Parameters - The parameters of the ARM template.
    Parameters *[]ParameterInfo `json:"parameters,omitempty"`
    // Location - The location of the virtual machine.
    Location *string `json:"location,omitempty"`
}

GenerateArmTemplateRequest parameters for generating an ARM template for deploying artifacts.

type GenerateUploadURIParameter Uses

type GenerateUploadURIParameter struct {
    // BlobName - The blob name of the upload URI.
    BlobName *string `json:"blobName,omitempty"`
}

GenerateUploadURIParameter properties for generating an upload URI.

type GenerateUploadURIResponse Uses

type GenerateUploadURIResponse struct {
    autorest.Response `json:"-"`
    // UploadURI - The upload URI for the VHD.
    UploadURI *string `json:"uploadUri,omitempty"`
}

GenerateUploadURIResponse response body for generating an upload URI.

type HourDetails Uses

type HourDetails struct {
    // Minute - Minutes of the hour the schedule will run.
    Minute *int32 `json:"minute,omitempty"`
}

HourDetails properties of an hourly schedule.

type Lab Uses

type Lab struct {
    autorest.Response `json:"-"`
    // LabProperties - The properties of the resource.
    *LabProperties `json:"properties,omitempty"`
    // ID - The identifier of the resource.
    ID  *string `json:"id,omitempty"`
    // Name - The name of the resource.
    Name *string `json:"name,omitempty"`
    // Type - 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 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 LabClient Uses

type LabClient struct {
    BaseClient
}

LabClient is the azure DevTest Labs REST API version 2015-05-21-preview.

func NewLabClient Uses

func NewLabClient(subscriptionID string) LabClient

NewLabClient creates an instance of the LabClient client.

func NewLabClientWithBaseURI Uses

func NewLabClientWithBaseURI(baseURI string, subscriptionID string) LabClient

NewLabClientWithBaseURI creates an instance of the LabClient client.

func (LabClient) CreateEnvironment Uses

func (client LabClient) CreateEnvironment(ctx context.Context, resourceGroupName string, name string, labVirtualMachine LabVirtualMachine) (result LabCreateEnvironmentFuture, err error)

CreateEnvironment create virtual machines in a Lab. This operation can take a while to complete. Parameters: resourceGroupName - the name of the resource group. name - the name of the lab.

func (LabClient) CreateEnvironmentPreparer Uses

func (client LabClient) CreateEnvironmentPreparer(ctx context.Context, resourceGroupName string, name string, labVirtualMachine LabVirtualMachine) (*http.Request, error)

CreateEnvironmentPreparer prepares the CreateEnvironment request.

func (LabClient) CreateEnvironmentResponder Uses

func (client LabClient) CreateEnvironmentResponder(resp *http.Response) (result autorest.Response, err error)

CreateEnvironmentResponder handles the response to the CreateEnvironment request. The method always closes the http.Response Body.

func (LabClient) CreateEnvironmentSender Uses

func (client LabClient) CreateEnvironmentSender(req *http.Request) (future LabCreateEnvironmentFuture, err error)

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

func (LabClient) CreateOrUpdateResource Uses

func (client LabClient) CreateOrUpdateResource(ctx context.Context, resourceGroupName string, name string, lab Lab) (result LabCreateOrUpdateResourceFuture, err error)

CreateOrUpdateResource create or replace an existing Lab. This operation can take a while to complete. Parameters: resourceGroupName - the name of the resource group. name - the name of the lab.

func (LabClient) CreateOrUpdateResourcePreparer Uses

func (client LabClient) CreateOrUpdateResourcePreparer(ctx context.Context, resourceGroupName string, name string, lab Lab) (*http.Request, error)

CreateOrUpdateResourcePreparer prepares the CreateOrUpdateResource request.

func (LabClient) CreateOrUpdateResourceResponder Uses

func (client LabClient) CreateOrUpdateResourceResponder(resp *http.Response) (result Lab, err error)

CreateOrUpdateResourceResponder handles the response to the CreateOrUpdateResource request. The method always closes the http.Response Body.

func (LabClient) CreateOrUpdateResourceSender Uses

func (client LabClient) CreateOrUpdateResourceSender(req *http.Request) (future LabCreateOrUpdateResourceFuture, err error)

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

func (LabClient) DeleteResource Uses

func (client LabClient) DeleteResource(ctx context.Context, resourceGroupName string, name string) (result LabDeleteResourceFuture, err error)

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

func (LabClient) DeleteResourcePreparer Uses

func (client LabClient) DeleteResourcePreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)

DeleteResourcePreparer prepares the DeleteResource request.

func (LabClient) DeleteResourceResponder Uses

func (client LabClient) DeleteResourceResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResourceResponder handles the response to the DeleteResource request. The method always closes the http.Response Body.

func (LabClient) DeleteResourceSender Uses

func (client LabClient) DeleteResourceSender(req *http.Request) (future LabDeleteResourceFuture, err error)

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

func (LabClient) GenerateUploadURI Uses

func (client LabClient) GenerateUploadURI(ctx context.Context, resourceGroupName string, name string, generateUploadURIParameter GenerateUploadURIParameter) (result GenerateUploadURIResponse, err error)

GenerateUploadURI generate a URI for uploading custom disk images to a Lab. Parameters: resourceGroupName - the name of the resource group. name - the name of the lab.

func (LabClient) GenerateUploadURIPreparer Uses

func (client LabClient) GenerateUploadURIPreparer(ctx context.Context, resourceGroupName string, name string, generateUploadURIParameter GenerateUploadURIParameter) (*http.Request, error)

GenerateUploadURIPreparer prepares the GenerateUploadURI request.

func (LabClient) GenerateUploadURIResponder Uses

func (client LabClient) GenerateUploadURIResponder(resp *http.Response) (result GenerateUploadURIResponse, err error)

GenerateUploadURIResponder handles the response to the GenerateUploadURI request. The method always closes the http.Response Body.

func (LabClient) GenerateUploadURISender Uses

func (client LabClient) GenerateUploadURISender(req *http.Request) (*http.Response, error)

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

func (LabClient) GetResource Uses

func (client LabClient) GetResource(ctx context.Context, resourceGroupName string, name string) (result Lab, err error)

GetResource get lab. Parameters: resourceGroupName - the name of the resource group. name - the name of the lab.

func (LabClient) GetResourcePreparer Uses

func (client LabClient) GetResourcePreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)

GetResourcePreparer prepares the GetResource request.

func (LabClient) GetResourceResponder Uses

func (client LabClient) GetResourceResponder(resp *http.Response) (result Lab, err error)

GetResourceResponder handles the response to the GetResource request. The method always closes the http.Response Body.

func (LabClient) GetResourceSender Uses

func (client LabClient) GetResourceSender(req *http.Request) (*http.Response, error)

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

func (LabClient) ListByResourceGroup Uses

func (client LabClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, filter string, top *int32, orderBy string) (result ResponseWithContinuationLabPage, err error)

ListByResourceGroup list labs. Parameters: resourceGroupName - the name of the resource group. filter - the filter to apply on the operation.

func (LabClient) ListByResourceGroupComplete Uses

func (client LabClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, filter string, top *int32, orderBy string) (result ResponseWithContinuationLabIterator, err error)

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

func (LabClient) ListByResourceGroupPreparer Uses

func (client LabClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, filter string, top *int32, orderBy string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (LabClient) ListByResourceGroupResponder Uses

func (client LabClient) ListByResourceGroupResponder(resp *http.Response) (result ResponseWithContinuationLab, err error)

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

func (LabClient) ListByResourceGroupSender Uses

func (client LabClient) 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 (LabClient) ListBySubscription Uses

func (client LabClient) ListBySubscription(ctx context.Context, filter string, top *int32, orderBy string) (result ResponseWithContinuationLabPage, err error)

ListBySubscription list labs. Parameters: filter - the filter to apply on the operation.

func (LabClient) ListBySubscriptionComplete Uses

func (client LabClient) ListBySubscriptionComplete(ctx context.Context, filter string, top *int32, orderBy string) (result ResponseWithContinuationLabIterator, err error)

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

func (LabClient) ListBySubscriptionPreparer Uses

func (client LabClient) ListBySubscriptionPreparer(ctx context.Context, filter string, top *int32, orderBy string) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (LabClient) ListBySubscriptionResponder Uses

func (client LabClient) ListBySubscriptionResponder(resp *http.Response) (result ResponseWithContinuationLab, err error)

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

func (LabClient) ListBySubscriptionSender Uses

func (client LabClient) 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 (LabClient) ListVhds Uses

func (client LabClient) ListVhds(ctx context.Context, resourceGroupName string, name string) (result ResponseWithContinuationLabVhdPage, err error)

ListVhds list disk images available for custom image creation. Parameters: resourceGroupName - the name of the resource group. name - the name of the lab.

func (LabClient) ListVhdsComplete Uses

func (client LabClient) ListVhdsComplete(ctx context.Context, resourceGroupName string, name string) (result ResponseWithContinuationLabVhdIterator, err error)

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

func (LabClient) ListVhdsPreparer Uses

func (client LabClient) ListVhdsPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)

ListVhdsPreparer prepares the ListVhds request.

func (LabClient) ListVhdsResponder Uses

func (client LabClient) ListVhdsResponder(resp *http.Response) (result ResponseWithContinuationLabVhd, err error)

ListVhdsResponder handles the response to the ListVhds request. The method always closes the http.Response Body.

func (LabClient) ListVhdsSender Uses

func (client LabClient) ListVhdsSender(req *http.Request) (*http.Response, error)

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

func (LabClient) PatchResource Uses

func (client LabClient) PatchResource(ctx context.Context, resourceGroupName string, name string, lab Lab) (result Lab, err error)

PatchResource modify properties of labs. Parameters: resourceGroupName - the name of the resource group. name - the name of the lab.

func (LabClient) PatchResourcePreparer Uses

func (client LabClient) PatchResourcePreparer(ctx context.Context, resourceGroupName string, name string, lab Lab) (*http.Request, error)

PatchResourcePreparer prepares the PatchResource request.

func (LabClient) PatchResourceResponder Uses

func (client LabClient) PatchResourceResponder(resp *http.Response) (result Lab, err error)

PatchResourceResponder handles the response to the PatchResource request. The method always closes the http.Response Body.

func (LabClient) PatchResourceSender Uses

func (client LabClient) PatchResourceSender(req *http.Request) (*http.Response, error)

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

type LabCreateEnvironmentFuture Uses

type LabCreateEnvironmentFuture struct {
    azure.Future
}

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

func (*LabCreateEnvironmentFuture) Result Uses

func (future *LabCreateEnvironmentFuture) Result(client LabClient) (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 LabCreateOrUpdateResourceFuture Uses

type LabCreateOrUpdateResourceFuture struct {
    azure.Future
}

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

func (*LabCreateOrUpdateResourceFuture) Result Uses

func (future *LabCreateOrUpdateResourceFuture) Result(client LabClient) (l Lab, err error)

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

type LabDeleteResourceFuture Uses

type LabDeleteResourceFuture struct {
    azure.Future
}

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

func (*LabDeleteResourceFuture) Result Uses

func (future *LabDeleteResourceFuture) Result(client LabClient) (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 LabProperties Uses

type LabProperties struct {
    // DefaultStorageAccount - The lab's default storage account.
    DefaultStorageAccount *string `json:"defaultStorageAccount,omitempty"`
    // ArtifactsStorageAccount - The artifact storage account of the lab.
    ArtifactsStorageAccount *string `json:"artifactsStorageAccount,omitempty"`
    // StorageAccounts - The storage accounts of the lab.
    StorageAccounts *[]string `json:"storageAccounts,omitempty"`
    // VaultName - The name of the key vault of the lab.
    VaultName *string `json:"vaultName,omitempty"`
    // LabStorageType - The type of the lab storage. Possible values include: 'Standard', 'Premium'
    LabStorageType LabStorageType `json:"labStorageType,omitempty"`
    // DefaultVirtualNetworkID - The default virtual network identifier of the lab.
    DefaultVirtualNetworkID *string `json:"defaultVirtualNetworkId,omitempty"`
    // CreatedDate - The creation date of the lab.
    CreatedDate *date.Time `json:"createdDate,omitempty"`
    // ProvisioningState - The provisioning status of the resource.
    ProvisioningState *string `json:"provisioningState,omitempty"`
}

LabProperties properties of a lab.

type LabStorageType Uses

type LabStorageType string

LabStorageType enumerates the values for lab storage type.

const (
    // Premium ...
    Premium LabStorageType = "Premium"
    // Standard ...
    Standard LabStorageType = "Standard"
)

func PossibleLabStorageTypeValues Uses

func PossibleLabStorageTypeValues() []LabStorageType

PossibleLabStorageTypeValues returns an array of possible values for the LabStorageType const type.

type LabVhd Uses

type LabVhd struct {
    // ID - The absolute URI of the VHD.
    ID *string `json:"id,omitempty"`
}

LabVhd properties of a VHD in the lab.

type LabVirtualMachine Uses

type LabVirtualMachine struct {
    autorest.Response `json:"-"`
    // LabVirtualMachineProperties - The properties of the resource.
    *LabVirtualMachineProperties `json:"properties,omitempty"`
    // ID - The identifier of the resource.
    ID  *string `json:"id,omitempty"`
    // Name - The name of the resource.
    Name *string `json:"name,omitempty"`
    // Type - 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"`
}

LabVirtualMachine a virtual machine.

func (LabVirtualMachine) MarshalJSON Uses

func (lvm LabVirtualMachine) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LabVirtualMachine.

func (*LabVirtualMachine) UnmarshalJSON Uses

func (lvm *LabVirtualMachine) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for LabVirtualMachine struct.

type LabVirtualMachineProperties Uses

type LabVirtualMachineProperties struct {
    // Notes - The notes of the virtual machine.
    Notes *string `json:"notes,omitempty"`
    // OwnerObjectID - The object identifier of the owner of the virtual machine.
    OwnerObjectID *string `json:"ownerObjectId,omitempty"`
    // CreatedByUserID - The object identifier of the creator of the virtual machine.
    CreatedByUserID *string `json:"createdByUserId,omitempty"`
    // CreatedByUser - The email address of creator of the virtual machine.
    CreatedByUser *string `json:"createdByUser,omitempty"`
    // ComputeID - The resource identifier (Microsoft.Compute) of the virtual machine.
    ComputeID *string `json:"computeId,omitempty"`
    // CustomImageID - The custom image identifier of the virtual machine.
    CustomImageID *string `json:"customImageId,omitempty"`
    // OsType - The OS type of the virtual machine.
    OsType *string `json:"osType,omitempty"`
    // Size - The size of the virtual machine.
    Size *string `json:"size,omitempty"`
    // UserName - The user name of the virtual machine.
    UserName *string `json:"userName,omitempty"`
    // Password - The password of the virtual machine administrator.
    Password *string `json:"password,omitempty"`
    // SSHKey - The SSH key of the virtual machine administrator.
    SSHKey *string `json:"sshKey,omitempty"`
    // IsAuthenticationWithSSHKey - A value indicating whether this virtual machine uses an SSH key for authentication.
    IsAuthenticationWithSSHKey *bool `json:"isAuthenticationWithSshKey,omitempty"`
    // Fqdn - The fully-qualified domain name of the virtual machine.
    Fqdn *string `json:"fqdn,omitempty"`
    // LabSubnetName - The lab subnet name of the virtual machine.
    LabSubnetName *string `json:"labSubnetName,omitempty"`
    // LabVirtualNetworkID - The lab virtual network identifier of the virtual machine.
    LabVirtualNetworkID *string `json:"labVirtualNetworkId,omitempty"`
    // DisallowPublicIPAddress - Indicates whether the virtual machine is to be created without a public IP address.
    DisallowPublicIPAddress *bool `json:"disallowPublicIpAddress,omitempty"`
    // Artifacts - The artifacts to be installed on the virtual machine.
    Artifacts *[]ArtifactInstallProperties `json:"artifacts,omitempty"`
    // ArtifactDeploymentStatus - The artifact deployment status for the virtual machine.
    ArtifactDeploymentStatus *ArtifactDeploymentStatusProperties `json:"artifactDeploymentStatus,omitempty"`
    // GalleryImageReference - The Microsoft Azure Marketplace image reference of the virtual machine.
    GalleryImageReference *GalleryImageReference `json:"galleryImageReference,omitempty"`
    // ProvisioningState - The provisioning status of the resource.
    ProvisioningState *string `json:"provisioningState,omitempty"`
}

LabVirtualMachineProperties properties of a virtual machine.

type LinuxOsInfo Uses

type LinuxOsInfo struct {
    // LinuxOsState - The state of the Linux OS. Possible values include: 'NonDeprovisioned', 'DeprovisionRequested', 'DeprovisionApplied'
    LinuxOsState LinuxOsState `json:"linuxOsState,omitempty"`
}

LinuxOsInfo information about a Linux OS.

type LinuxOsState Uses

type LinuxOsState string

LinuxOsState enumerates the values for linux os state.

const (
    // DeprovisionApplied ...
    DeprovisionApplied LinuxOsState = "DeprovisionApplied"
    // DeprovisionRequested ...
    DeprovisionRequested LinuxOsState = "DeprovisionRequested"
    // NonDeprovisioned ...
    NonDeprovisioned LinuxOsState = "NonDeprovisioned"
)

func PossibleLinuxOsStateValues Uses

func PossibleLinuxOsStateValues() []LinuxOsState

PossibleLinuxOsStateValues returns an array of possible values for the LinuxOsState const type.

type ParameterInfo Uses

type ParameterInfo struct {
    Name  *string `json:"name,omitempty"`
    Value *string `json:"value,omitempty"`
}

ParameterInfo ...

type Policy Uses

type Policy struct {
    autorest.Response `json:"-"`
    // PolicyProperties - The properties of the resource.
    *PolicyProperties `json:"properties,omitempty"`
    // ID - The identifier of the resource.
    ID  *string `json:"id,omitempty"`
    // Name - The name of the resource.
    Name *string `json:"name,omitempty"`
    // Type - 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"`
}

Policy a Policy.

func (Policy) MarshalJSON Uses

func (p Policy) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Policy.

func (*Policy) UnmarshalJSON Uses

func (p *Policy) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Policy struct.

type PolicyClient Uses

type PolicyClient struct {
    BaseClient
}

PolicyClient is the azure DevTest Labs REST API version 2015-05-21-preview.

func NewPolicyClient Uses

func NewPolicyClient(subscriptionID string) PolicyClient

NewPolicyClient creates an instance of the PolicyClient client.

func NewPolicyClientWithBaseURI Uses

func NewPolicyClientWithBaseURI(baseURI string, subscriptionID string) PolicyClient

NewPolicyClientWithBaseURI creates an instance of the PolicyClient client.

func (PolicyClient) CreateOrUpdateResource Uses

func (client PolicyClient) CreateOrUpdateResource(ctx context.Context, resourceGroupName string, labName string, policySetName string, name string, policy Policy) (result Policy, err error)

CreateOrUpdateResource create or replace an existing policy. Parameters: resourceGroupName - the name of the resource group. labName - the name of the lab. policySetName - the name of the policy set. name - the name of the policy.

func (PolicyClient) CreateOrUpdateResourcePreparer Uses

func (client PolicyClient) CreateOrUpdateResourcePreparer(ctx context.Context, resourceGroupName string, labName string, policySetName string, name string, policy Policy) (*http.Request, error)

CreateOrUpdateResourcePreparer prepares the CreateOrUpdateResource request.

func (PolicyClient) CreateOrUpdateResourceResponder Uses

func (client PolicyClient) CreateOrUpdateResourceResponder(resp *http.Response) (result Policy, err error)

CreateOrUpdateResourceResponder handles the response to the CreateOrUpdateResource request. The method always closes the http.Response Body.

func (PolicyClient) CreateOrUpdateResourceSender Uses

func (client PolicyClient) CreateOrUpdateResourceSender(req *http.Request) (*http.Response, error)

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

func (PolicyClient) DeleteResource Uses

func (client PolicyClient) DeleteResource(ctx context.Context, resourceGroupName string, labName string, policySetName string, name string) (result autorest.Response, err error)

DeleteResource delete policy. Parameters: resourceGroupName - the name of the resource group. labName - the name of the lab. policySetName - the name of the policy set. name - the name of the policy.

func (PolicyClient) DeleteResourcePreparer Uses

func (client PolicyClient) DeleteResourcePreparer(ctx context.Context, resourceGroupName string, labName string, policySetName string, name string) (*http.Request, error)

DeleteResourcePreparer prepares the DeleteResource request.

func (PolicyClient) DeleteResourceResponder Uses

func (client PolicyClient) DeleteResourceResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResourceResponder handles the response to the DeleteResource request. The method always closes the http.Response Body.

func (PolicyClient) DeleteResourceSender Uses

func (client PolicyClient) DeleteResourceSender(req *http.Request) (*http.Response, error)

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

func (PolicyClient) GetResource Uses

func (client PolicyClient) GetResource(ctx context.Context, resourceGroupName string, labName string, policySetName string, name string) (result Policy, err error)

GetResource get policy. Parameters: resourceGroupName - the name of the resource group. labName - the name of the lab. policySetName - the name of the policy set. name - the name of the policy.

func (PolicyClient) GetResourcePreparer Uses

func (client PolicyClient) GetResourcePreparer(ctx context.Context, resourceGroupName string, labName string, policySetName string, name string) (*http.Request, error)

GetResourcePreparer prepares the GetResource request.

func (PolicyClient) GetResourceResponder Uses

func (client PolicyClient) GetResourceResponder(resp *http.Response) (result Policy, err error)

GetResourceResponder handles the response to the GetResource request. The method always closes the http.Response Body.

func (PolicyClient) GetResourceSender Uses

func (client PolicyClient) GetResourceSender(req *http.Request) (*http.Response, error)

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

func (PolicyClient) List Uses

func (client PolicyClient) List(ctx context.Context, resourceGroupName string, labName string, policySetName string, filter string, top *int32, orderBy string) (result ResponseWithContinuationPolicyPage, err error)

List list policies. Parameters: resourceGroupName - the name of the resource group. labName - the name of the lab. policySetName - the name of the policy set. filter - the filter to apply on the operation.

func (PolicyClient) ListComplete Uses

func (client PolicyClient) ListComplete(ctx context.Context, resourceGroupName string, labName string, policySetName string, filter string, top *int32, orderBy string) (result ResponseWithContinuationPolicyIterator, err error)

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

func (PolicyClient) ListPreparer Uses

func (client PolicyClient) ListPreparer(ctx context.Context, resourceGroupName string, labName string, policySetName string, filter string, top *int32, orderBy string) (*http.Request, error)

ListPreparer prepares the List request.

func (PolicyClient) ListResponder Uses

func (client PolicyClient) ListResponder(resp *http.Response) (result ResponseWithContinuationPolicy, err error)

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

func (PolicyClient) ListSender Uses

func (client PolicyClient) 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 (PolicyClient) PatchResource Uses

func (client PolicyClient) PatchResource(ctx context.Context, resourceGroupName string, labName string, policySetName string, name string, policy Policy) (result Policy, err error)

PatchResource modify properties of policies. Parameters: resourceGroupName - the name of the resource group. labName - the name of the lab. policySetName - the name of the policy set. name - the name of the policy.

func (PolicyClient) PatchResourcePreparer Uses

func (client PolicyClient) PatchResourcePreparer(ctx context.Context, resourceGroupName string, labName string, policySetName string, name string, policy Policy) (*http.Request, error)

PatchResourcePreparer prepares the PatchResource request.

func (PolicyClient) PatchResourceResponder Uses

func (client PolicyClient) PatchResourceResponder(resp *http.Response) (result Policy, err error)

PatchResourceResponder handles the response to the PatchResource request. The method always closes the http.Response Body.

func (PolicyClient) PatchResourceSender Uses

func (client PolicyClient) PatchResourceSender(req *http.Request) (*http.Response, error)

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

type PolicyEvaluatorType Uses

type PolicyEvaluatorType string

PolicyEvaluatorType enumerates the values for policy evaluator type.

const (
    // AllowedValuesPolicy ...
    AllowedValuesPolicy PolicyEvaluatorType = "AllowedValuesPolicy"
    // MaxValuePolicy ...
    MaxValuePolicy PolicyEvaluatorType = "MaxValuePolicy"
)

func PossiblePolicyEvaluatorTypeValues Uses

func PossiblePolicyEvaluatorTypeValues() []PolicyEvaluatorType

PossiblePolicyEvaluatorTypeValues returns an array of possible values for the PolicyEvaluatorType const type.

type PolicyFactName Uses

type PolicyFactName string

PolicyFactName enumerates the values for policy fact name.

const (
    // PolicyFactNameGalleryImage ...
    PolicyFactNameGalleryImage PolicyFactName = "GalleryImage"
    // PolicyFactNameLabVMCount ...
    PolicyFactNameLabVMCount PolicyFactName = "LabVmCount"
    // PolicyFactNameLabVMSize ...
    PolicyFactNameLabVMSize PolicyFactName = "LabVmSize"
    // PolicyFactNameUserOwnedLabVMCount ...
    PolicyFactNameUserOwnedLabVMCount PolicyFactName = "UserOwnedLabVmCount"
    // PolicyFactNameUserOwnedLabVMCountInSubnet ...
    PolicyFactNameUserOwnedLabVMCountInSubnet PolicyFactName = "UserOwnedLabVmCountInSubnet"
)

func PossiblePolicyFactNameValues Uses

func PossiblePolicyFactNameValues() []PolicyFactName

PossiblePolicyFactNameValues returns an array of possible values for the PolicyFactName const type.

type PolicyProperties Uses

type PolicyProperties struct {
    // Description - The description of the policy.
    Description *string `json:"description,omitempty"`
    // Status - The status of the policy. Possible values include: 'PolicyStatusEnabled', 'PolicyStatusDisabled'
    Status PolicyStatus `json:"status,omitempty"`
    // FactName - The fact name of the policy. Possible values include: 'PolicyFactNameUserOwnedLabVMCount', 'PolicyFactNameLabVMCount', 'PolicyFactNameLabVMSize', 'PolicyFactNameGalleryImage', 'PolicyFactNameUserOwnedLabVMCountInSubnet'
    FactName PolicyFactName `json:"factName,omitempty"`
    // FactData - The fact data of the policy.
    FactData *string `json:"factData,omitempty"`
    // Threshold - The threshold of the policy.
    Threshold *string `json:"threshold,omitempty"`
    // EvaluatorType - The evaluator type of the policy. Possible values include: 'AllowedValuesPolicy', 'MaxValuePolicy'
    EvaluatorType PolicyEvaluatorType `json:"evaluatorType,omitempty"`
    // ProvisioningState - The provisioning status of the resource.
    ProvisioningState *string `json:"provisioningState,omitempty"`
}

PolicyProperties properties of a Policy.

type PolicySetClient Uses

type PolicySetClient struct {
    BaseClient
}

PolicySetClient is the azure DevTest Labs REST API version 2015-05-21-preview.

func NewPolicySetClient Uses

func NewPolicySetClient(subscriptionID string) PolicySetClient

NewPolicySetClient creates an instance of the PolicySetClient client.

func NewPolicySetClientWithBaseURI Uses

func NewPolicySetClientWithBaseURI(baseURI string, subscriptionID string) PolicySetClient

NewPolicySetClientWithBaseURI creates an instance of the PolicySetClient client.

func (PolicySetClient) EvaluatePolicies Uses

func (client PolicySetClient) EvaluatePolicies(ctx context.Context, resourceGroupName string, labName string, name string, evaluatePoliciesRequest EvaluatePoliciesRequest) (result EvaluatePoliciesResponse, err error)

EvaluatePolicies evaluates Lab Policy. Parameters: resourceGroupName - the name of the resource group. labName - the name of the lab. name - the name of the policy set.

func (PolicySetClient) EvaluatePoliciesPreparer Uses

func (client PolicySetClient) EvaluatePoliciesPreparer(ctx context.Context, resourceGroupName string, labName string, name string, evaluatePoliciesRequest EvaluatePoliciesRequest) (*http.Request, error)

EvaluatePoliciesPreparer prepares the EvaluatePolicies request.

func (PolicySetClient) EvaluatePoliciesResponder Uses

func (client PolicySetClient) EvaluatePoliciesResponder(resp *http.Response) (result EvaluatePoliciesResponse, err error)

EvaluatePoliciesResponder handles the response to the EvaluatePolicies request. The method always closes the http.Response Body.

func (PolicySetClient) EvaluatePoliciesSender Uses

func (client PolicySetClient) EvaluatePoliciesSender(req *http.Request) (*http.Response, error)

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

type PolicySetResult Uses

type PolicySetResult struct {
    // HasError - A value indicating whether this policy set evaluation has discovered violations.
    HasError *bool `json:"hasError,omitempty"`
    // PolicyViolations - The list of policy violations.
    PolicyViolations *[]PolicyViolation `json:"policyViolations,omitempty"`
}

PolicySetResult result of a policy set evaluation.

type PolicyStatus Uses

type PolicyStatus string

PolicyStatus enumerates the values for policy status.

const (
    // PolicyStatusDisabled ...
    PolicyStatusDisabled PolicyStatus = "Disabled"
    // PolicyStatusEnabled ...
    PolicyStatusEnabled PolicyStatus = "Enabled"
)

func PossiblePolicyStatusValues Uses

func PossiblePolicyStatusValues() []PolicyStatus

PossiblePolicyStatusValues returns an array of possible values for the PolicyStatus const type.

type PolicyViolation Uses

type PolicyViolation struct {
    // Code - The code of the policy violation.
    Code *string `json:"code,omitempty"`
    // Message - The message of the policy violation.
    Message *string `json:"message,omitempty"`
}

PolicyViolation policy violation.

type ResponseWithContinuationArtifact Uses

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

ResponseWithContinuationArtifact the response of a list operation.

func (ResponseWithContinuationArtifact) IsEmpty Uses

func (rwcA ResponseWithContinuationArtifact) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ResponseWithContinuationArtifactIterator Uses

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

ResponseWithContinuationArtifactIterator provides access to a complete listing of Artifact values.

func NewResponseWithContinuationArtifactIterator Uses

func NewResponseWithContinuationArtifactIterator(page ResponseWithContinuationArtifactPage) ResponseWithContinuationArtifactIterator

Creates a new instance of the ResponseWithContinuationArtifactIterator type.

func (*ResponseWithContinuationArtifactIterator) Next Uses

func (iter *ResponseWithContinuationArtifactIterator) 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 (*ResponseWithContinuationArtifactIterator) NextWithContext Uses

func (iter *ResponseWithContinuationArtifactIterator) 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 (ResponseWithContinuationArtifactIterator) NotDone Uses

func (iter ResponseWithContinuationArtifactIterator) NotDone() bool

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

func (ResponseWithContinuationArtifactIterator) Response Uses

func (iter ResponseWithContinuationArtifactIterator) Response() ResponseWithContinuationArtifact

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

func (ResponseWithContinuationArtifactIterator) Value Uses

func (iter ResponseWithContinuationArtifactIterator) Value() Artifact

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

type ResponseWithContinuationArtifactPage Uses

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

ResponseWithContinuationArtifactPage contains a page of Artifact values.

func NewResponseWithContinuationArtifactPage Uses

func NewResponseWithContinuationArtifactPage(getNextPage func(context.Context, ResponseWithContinuationArtifact) (ResponseWithContinuationArtifact, error)) ResponseWithContinuationArtifactPage

Creates a new instance of the ResponseWithContinuationArtifactPage type.

func (*ResponseWithContinuationArtifactPage) Next Uses

func (page *ResponseWithContinuationArtifactPage) 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 (*ResponseWithContinuationArtifactPage) NextWithContext Uses

func (page *ResponseWithContinuationArtifactPage) 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 (ResponseWithContinuationArtifactPage) NotDone Uses

func (page ResponseWithContinuationArtifactPage) NotDone() bool

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

func (ResponseWithContinuationArtifactPage) Response Uses

func (page ResponseWithContinuationArtifactPage) Response() ResponseWithContinuationArtifact

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

func (ResponseWithContinuationArtifactPage) Values Uses

func (page ResponseWithContinuationArtifactPage) Values() []Artifact

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

type ResponseWithContinuationArtifactSource Uses

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

ResponseWithContinuationArtifactSource the response of a list operation.

func (ResponseWithContinuationArtifactSource) IsEmpty Uses

func (rwcAs ResponseWithContinuationArtifactSource) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ResponseWithContinuationArtifactSourceIterator Uses

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

ResponseWithContinuationArtifactSourceIterator provides access to a complete listing of ArtifactSource values.

func NewResponseWithContinuationArtifactSourceIterator Uses

func NewResponseWithContinuationArtifactSourceIterator(page ResponseWithContinuationArtifactSourcePage) ResponseWithContinuationArtifactSourceIterator

Creates a new instance of the ResponseWithContinuationArtifactSourceIterator type.

func (*ResponseWithContinuationArtifactSourceIterator) Next Uses

func (iter *ResponseWithContinuationArtifactSourceIterator) 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 (*ResponseWithContinuationArtifactSourceIterator) NextWithContext Uses

func (iter *ResponseWithContinuationArtifactSourceIterator) 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 (ResponseWithContinuationArtifactSourceIterator) NotDone Uses

func (iter ResponseWithContinuationArtifactSourceIterator) NotDone() bool

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

func (ResponseWithContinuationArtifactSourceIterator) Response Uses

func (iter ResponseWithContinuationArtifactSourceIterator) Response() ResponseWithContinuationArtifactSource

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

func (ResponseWithContinuationArtifactSourceIterator) Value Uses

func (iter ResponseWithContinuationArtifactSourceIterator) Value() ArtifactSource

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

type ResponseWithContinuationArtifactSourcePage Uses

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

ResponseWithContinuationArtifactSourcePage contains a page of ArtifactSource values.

func NewResponseWithContinuationArtifactSourcePage Uses

func NewResponseWithContinuationArtifactSourcePage(getNextPage func(context.Context, ResponseWithContinuationArtifactSource) (ResponseWithContinuationArtifactSource, error)) ResponseWithContinuationArtifactSourcePage

Creates a new instance of the ResponseWithContinuationArtifactSourcePage type.

func (*ResponseWithContinuationArtifactSourcePage) Next Uses

func (page *ResponseWithContinuationArtifactSourcePage) 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 (*ResponseWithContinuationArtifactSourcePage) NextWithContext Uses

func (page *ResponseWithContinuationArtifactSourcePage) 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 (ResponseWithContinuationArtifactSourcePage) NotDone Uses

func (page ResponseWithContinuationArtifactSourcePage) NotDone() bool

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

func (ResponseWithContinuationArtifactSourcePage) Response Uses

func (page ResponseWithContinuationArtifactSourcePage) Response() ResponseWithContinuationArtifactSource

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

func (ResponseWithContinuationArtifactSourcePage) Values Uses

func (page ResponseWithContinuationArtifactSourcePage) Values() []ArtifactSource

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

type ResponseWithContinuationCost Uses

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

ResponseWithContinuationCost the response of a list operation.

func (ResponseWithContinuationCost) IsEmpty Uses

func (rwcC ResponseWithContinuationCost) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ResponseWithContinuationCostInsight Uses

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

ResponseWithContinuationCostInsight the response of a list operation.

func (ResponseWithContinuationCostInsight) IsEmpty Uses

func (rwcCi ResponseWithContinuationCostInsight) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ResponseWithContinuationCostInsightIterator Uses

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

ResponseWithContinuationCostInsightIterator provides access to a complete listing of CostInsight values.

func NewResponseWithContinuationCostInsightIterator Uses

func NewResponseWithContinuationCostInsightIterator(page ResponseWithContinuationCostInsightPage) ResponseWithContinuationCostInsightIterator

Creates a new instance of the ResponseWithContinuationCostInsightIterator type.

func (*ResponseWithContinuationCostInsightIterator) Next Uses

func (iter *ResponseWithContinuationCostInsightIterator) 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 (*ResponseWithContinuationCostInsightIterator) NextWithContext Uses

func (iter *ResponseWithContinuationCostInsightIterator) 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 (ResponseWithContinuationCostInsightIterator) NotDone Uses

func (iter ResponseWithContinuationCostInsightIterator) NotDone() bool

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

func (ResponseWithContinuationCostInsightIterator) Response Uses

func (iter ResponseWithContinuationCostInsightIterator) Response() ResponseWithContinuationCostInsight

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

func (ResponseWithContinuationCostInsightIterator) Value Uses

func (iter ResponseWithContinuationCostInsightIterator) Value() CostInsight

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

type ResponseWithContinuationCostInsightPage Uses

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

ResponseWithContinuationCostInsightPage contains a page of CostInsight values.

func NewResponseWithContinuationCostInsightPage Uses

func NewResponseWithContinuationCostInsightPage(getNextPage func(context.Context, ResponseWithContinuationCostInsight) (ResponseWithContinuationCostInsight, error)) ResponseWithContinuationCostInsightPage

Creates a new instance of the ResponseWithContinuationCostInsightPage type.

func (*ResponseWithContinuationCostInsightPage) Next Uses

func (page *ResponseWithContinuationCostInsightPage) 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 (*ResponseWithContinuationCostInsightPage) NextWithContext Uses

func (page *ResponseWithContinuationCostInsightPage) 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 (ResponseWithContinuationCostInsightPage) NotDone Uses

func (page ResponseWithContinuationCostInsightPage) NotDone() bool

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

func (ResponseWithContinuationCostInsightPage) Response Uses

func (page ResponseWithContinuationCostInsightPage) Response() ResponseWithContinuationCostInsight

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

func (ResponseWithContinuationCostInsightPage) Values Uses

func (page ResponseWithContinuationCostInsightPage) Values() []CostInsight

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

type ResponseWithContinuationCostIterator Uses

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

ResponseWithContinuationCostIterator provides access to a complete listing of Cost values.

func NewResponseWithContinuationCostIterator Uses

func NewResponseWithContinuationCostIterator(page ResponseWithContinuationCostPage) ResponseWithContinuationCostIterator

Creates a new instance of the ResponseWithContinuationCostIterator type.

func (*ResponseWithContinuationCostIterator) Next Uses

func (iter *ResponseWithContinuationCostIterator) 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 (*ResponseWithContinuationCostIterator) NextWithContext Uses

func (iter *ResponseWithContinuationCostIterator) 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 (ResponseWithContinuationCostIterator) NotDone Uses

func (iter ResponseWithContinuationCostIterator) NotDone() bool

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

func (ResponseWithContinuationCostIterator) Response Uses

func (iter ResponseWithContinuationCostIterator) Response() ResponseWithContinuationCost

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

func (ResponseWithContinuationCostIterator) Value Uses

func (iter ResponseWithContinuationCostIterator) Value() Cost

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

type ResponseWithContinuationCostPage Uses

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

ResponseWithContinuationCostPage contains a page of Cost values.

func NewResponseWithContinuationCostPage Uses

func NewResponseWithContinuationCostPage(getNextPage func(context.Context, ResponseWithContinuationCost) (ResponseWithContinuationCost, error)) ResponseWithContinuationCostPage

Creates a new instance of the ResponseWithContinuationCostPage type.

func (*ResponseWithContinuationCostPage) Next Uses

func (page *ResponseWithContinuationCostPage) 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 (*ResponseWithContinuationCostPage) NextWithContext Uses

func (page *ResponseWithContinuationCostPage) 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 (ResponseWithContinuationCostPage) NotDone Uses

func (page ResponseWithContinuationCostPage) NotDone() bool

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

func (ResponseWithContinuationCostPage) Response Uses

func (page ResponseWithContinuationCostPage) Response() ResponseWithContinuationCost

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

func (ResponseWithContinuationCostPage) Values Uses

func (page ResponseWithContinuationCostPage) Values() []Cost

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

type ResponseWithContinuationCustomImage Uses

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

ResponseWithContinuationCustomImage the response of a list operation.

func (ResponseWithContinuationCustomImage) IsEmpty Uses

func (rwcCi ResponseWithContinuationCustomImage) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ResponseWithContinuationCustomImageIterator Uses

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

ResponseWithContinuationCustomImageIterator provides access to a complete listing of CustomImage values.

func NewResponseWithContinuationCustomImageIterator Uses

func NewResponseWithContinuationCustomImageIterator(page ResponseWithContinuationCustomImagePage) ResponseWithContinuationCustomImageIterator

Creates a new instance of the ResponseWithContinuationCustomImageIterator type.

func (*ResponseWithContinuationCustomImageIterator) Next Uses

func (iter *ResponseWithContinuationCustomImageIterator) 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 (*ResponseWithContinuationCustomImageIterator) NextWithContext Uses

func (iter *ResponseWithContinuationCustomImageIterator) 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 (ResponseWithContinuationCustomImageIterator) NotDone Uses

func (iter ResponseWithContinuationCustomImageIterator) NotDone() bool

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

func (ResponseWithContinuationCustomImageIterator) Response Uses

func (iter ResponseWithContinuationCustomImageIterator) Response() ResponseWithContinuationCustomImage

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

func (ResponseWithContinuationCustomImageIterator) Value Uses

func (iter ResponseWithContinuationCustomImageIterator) Value() CustomImage

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

type ResponseWithContinuationCustomImagePage Uses

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

ResponseWithContinuationCustomImagePage contains a page of CustomImage values.

func NewResponseWithContinuationCustomImagePage Uses

func NewResponseWithContinuationCustomImagePage(getNextPage func(context.Context, ResponseWithContinuationCustomImage) (ResponseWithContinuationCustomImage, error)) ResponseWithContinuationCustomImagePage

Creates a new instance of the ResponseWithContinuationCustomImagePage type.

func (*ResponseWithContinuationCustomImagePage) Next Uses

func (page *ResponseWithContinuationCustomImagePage) 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 (*ResponseWithContinuationCustomImagePage) NextWithContext Uses

func (page *ResponseWithContinuationCustomImagePage) 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 (ResponseWithContinuationCustomImagePage) NotDone Uses

func (page ResponseWithContinuationCustomImagePage) NotDone() bool

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

func (ResponseWithContinuationCustomImagePage) Response Uses

func (page ResponseWithContinuationCustomImagePage) Response() ResponseWithContinuationCustomImage

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

func (ResponseWithContinuationCustomImagePage) Values Uses

func (page ResponseWithContinuationCustomImagePage) Values() []CustomImage

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

type ResponseWithContinuationFormula Uses

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

ResponseWithContinuationFormula the response of a list operation.

func (ResponseWithContinuationFormula) IsEmpty Uses

func (rwcF ResponseWithContinuationFormula) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ResponseWithContinuationFormulaIterator Uses

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

ResponseWithContinuationFormulaIterator provides access to a complete listing of Formula values.

func NewResponseWithContinuationFormulaIterator Uses

func NewResponseWithContinuationFormulaIterator(page ResponseWithContinuationFormulaPage) ResponseWithContinuationFormulaIterator

Creates a new instance of the ResponseWithContinuationFormulaIterator type.

func (*ResponseWithContinuationFormulaIterator) Next Uses

func (iter *ResponseWithContinuationFormulaIterator) 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 (*ResponseWithContinuationFormulaIterator) NextWithContext Uses

func (iter *ResponseWithContinuationFormulaIterator) 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 (ResponseWithContinuationFormulaIterator) NotDone Uses

func (iter ResponseWithContinuationFormulaIterator) NotDone() bool

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

func (ResponseWithContinuationFormulaIterator) Response Uses

func (iter ResponseWithContinuationFormulaIterator) Response() ResponseWithContinuationFormula

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

func (ResponseWithContinuationFormulaIterator) Value Uses

func (iter ResponseWithContinuationFormulaIterator) Value() Formula

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

type ResponseWithContinuationFormulaPage Uses

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

ResponseWithContinuationFormulaPage contains a page of Formula values.

func NewResponseWithContinuationFormulaPage Uses

func NewResponseWithContinuationFormulaPage(getNextPage func(context.Context, ResponseWithContinuationFormula) (ResponseWithContinuationFormula, error)) ResponseWithContinuationFormulaPage

Creates a new instance of the ResponseWithContinuationFormulaPage type.

func (*ResponseWithContinuationFormulaPage) Next Uses

func (page *ResponseWithContinuationFormulaPage) 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 (*ResponseWithContinuationFormulaPage) NextWithContext Uses

func (page *ResponseWithContinuationFormulaPage) 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 (ResponseWithContinuationFormulaPage) NotDone Uses

func (page ResponseWithContinuationFormulaPage) NotDone() bool

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

func (ResponseWithContinuationFormulaPage) Response Uses

func (page ResponseWithContinuationFormulaPage) Response() ResponseWithContinuationFormula

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

func (ResponseWithContinuationFormulaPage) Values Uses

func (page ResponseWithContinuationFormulaPage) Values() []Formula

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 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 ResponseWithContinuationLabVhd Uses

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

ResponseWithContinuationLabVhd the response of a list operation.

func (ResponseWithContinuationLabVhd) IsEmpty Uses

func (rwcLv ResponseWithContinuationLabVhd) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ResponseWithContinuationLabVhdIterator Uses

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

ResponseWithContinuationLabVhdIterator provides access to a complete listing of LabVhd values.

func NewResponseWithContinuationLabVhdIterator Uses

func NewResponseWithContinuationLabVhdIterator(page ResponseWithContinuationLabVhdPage) ResponseWithContinuationLabVhdIterator

Creates a new instance of the ResponseWithContinuationLabVhdIterator type.

func (*ResponseWithContinuationLabVhdIterator) Next Uses

func (iter *ResponseWithContinuationLabVhdIterator) 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 (*ResponseWithContinuationLabVhdIterator) NextWithContext Uses

func (iter *ResponseWithContinuationLabVhdIterator) 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 (ResponseWithContinuationLabVhdIterator) NotDone Uses

func (iter ResponseWithContinuationLabVhdIterator) NotDone() bool

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

func (ResponseWithContinuationLabVhdIterator) Response Uses

func (iter ResponseWithContinuationLabVhdIterator) Response() ResponseWithContinuationLabVhd

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

func (ResponseWithContinuationLabVhdIterator) Value Uses

func (iter ResponseWithContinuationLabVhdIterator) Value() LabVhd

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

type ResponseWithContinuationLabVhdPage Uses

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

ResponseWithContinuationLabVhdPage contains a page of LabVhd values.

func NewResponseWithContinuationLabVhdPage Uses

func NewResponseWithContinuationLabVhdPage(getNextPage func(context.Context, ResponseWithContinuationLabVhd) (ResponseWithContinuationLabVhd, error)) ResponseWithContinuationLabVhdPage

Creates a new instance of the ResponseWithContinuationLabVhdPage type.

func (*ResponseWithContinuationLabVhdPage) Next Uses

func (page *ResponseWithContinuationLabVhdPage) 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 (*ResponseWithContinuationLabVhdPage) NextWithContext Uses

func (page *ResponseWithContinuationLabVhdPage) 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 (ResponseWithContinuationLabVhdPage) NotDone Uses

func (page ResponseWithContinuationLabVhdPage) NotDone() bool

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

func (ResponseWithContinuationLabVhdPage) Response Uses

func (page ResponseWithContinuationLabVhdPage) Response() ResponseWithContinuationLabVhd

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

func (ResponseWithContinuationLabVhdPage) Values Uses

func (page ResponseWithContinuationLabVhdPage) Values() []LabVhd

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

type ResponseWithContinuationLabVirtualMachine Uses

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

ResponseWithContinuationLabVirtualMachine the response of a list operation.

func (ResponseWithContinuationLabVirtualMachine) IsEmpty Uses

func (rwcLvm ResponseWithContinuationLabVirtualMachine) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ResponseWithContinuationLabVirtualMachineIterator Uses

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

ResponseWithContinuationLabVirtualMachineIterator provides access to a complete listing of LabVirtualMachine values.

func NewResponseWithContinuationLabVirtualMachineIterator Uses

func NewResponseWithContinuationLabVirtualMachineIterator(page ResponseWithContinuationLabVirtualMachinePage) ResponseWithContinuationLabVirtualMachineIterator

Creates a new instance of the ResponseWithContinuationLabVirtualMachineIterator type.

func (*ResponseWithContinuationLabVirtualMachineIterator) Next Uses

func (iter *ResponseWithContinuationLabVirtualMachineIterator) 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 (*ResponseWithContinuationLabVirtualMachineIterator) NextWithContext Uses

func (iter *ResponseWithContinuationLabVirtualMachineIterator) 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 (ResponseWithContinuationLabVirtualMachineIterator) NotDone Uses

func (iter ResponseWithContinuationLabVirtualMachineIterator) NotDone() bool

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

func (ResponseWithContinuationLabVirtualMachineIterator) Response Uses

func (iter ResponseWithContinuationLabVirtualMachineIterator) Response() ResponseWithContinuationLabVirtualMachine

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

func (ResponseWithContinuationLabVirtualMachineIterator) Value Uses

func (iter ResponseWithContinuationLabVirtualMachineIterator) Value() LabVirtualMachine

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

type ResponseWithContinuationLabVirtualMachinePage Uses

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

ResponseWithContinuationLabVirtualMachinePage contains a page of LabVirtualMachine values.

func NewResponseWithContinuationLabVirtualMachinePage Uses

func NewResponseWithContinuationLabVirtualMachinePage(getNextPage func(context.Context, ResponseWithContinuationLabVirtualMachine) (ResponseWithContinuationLabVirtualMachine, error)) ResponseWithContinuationLabVirtualMachinePage

Creates a new instance of the ResponseWithContinuationLabVirtualMachinePage type.

func (*ResponseWithContinuationLabVirtualMachinePage) Next Uses

func (page *ResponseWithContinuationLabVirtualMachinePage) 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 (*ResponseWithContinuationLabVirtualMachinePage) NextWithContext Uses

func (page *ResponseWithContinuationLabVirtualMachinePage) 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 (ResponseWithContinuationLabVirtualMachinePage) NotDone Uses

func (page ResponseWithContinuationLabVirtualMachinePage) NotDone() bool

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

func (ResponseWithContinuationLabVirtualMachinePage) Response Uses

func (page ResponseWithContinuationLabVirtualMachinePage) Response() ResponseWithContinuationLabVirtualMachine

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

func (ResponseWithContinuationLabVirtualMachinePage) Values Uses

func (page ResponseWithContinuationLabVirtualMachinePage) Values() []LabVirtualMachine

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

type ResponseWithContinuationPolicy Uses

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

ResponseWithContinuationPolicy the response of a list operation.

func (ResponseWithContinuationPolicy) IsEmpty Uses

func (rwcP ResponseWithContinuationPolicy) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ResponseWithContinuationPolicyIterator Uses

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

ResponseWithContinuationPolicyIterator provides access to a complete listing of Policy values.

func NewResponseWithContinuationPolicyIterator Uses

func NewResponseWithContinuationPolicyIterator(page ResponseWithContinuationPolicyPage) ResponseWithContinuationPolicyIterator

Creates a new instance of the ResponseWithContinuationPolicyIterator type.

func (*ResponseWithContinuationPolicyIterator) Next Uses

func (iter *ResponseWithContinuationPolicyIterator) 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 (*ResponseWithContinuationPolicyIterator) NextWithContext Uses

func (iter *ResponseWithContinuationPolicyIterator) 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 (ResponseWithContinuationPolicyIterator) NotDone Uses

func (iter ResponseWithContinuationPolicyIterator) NotDone() bool

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

func (ResponseWithContinuationPolicyIterator) Response Uses

func (iter ResponseWithContinuationPolicyIterator) Response() ResponseWithContinuationPolicy

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

func (ResponseWithContinuationPolicyIterator) Value Uses

func (iter ResponseWithContinuationPolicyIterator) Value() Policy

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

type ResponseWithContinuationPolicyPage Uses

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

ResponseWithContinuationPolicyPage contains a page of Policy values.

func NewResponseWithContinuationPolicyPage Uses

func NewResponseWithContinuationPolicyPage(getNextPage func(context.Context, ResponseWithContinuationPolicy) (ResponseWithContinuationPolicy, error)) ResponseWithContinuationPolicyPage

Creates a new instance of the ResponseWithContinuationPolicyPage type.

func (*ResponseWithContinuationPolicyPage) Next Uses

func (page *ResponseWithContinuationPolicyPage) 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 (*ResponseWithContinuationPolicyPage) NextWithContext Uses

func (page *ResponseWithContinuationPolicyPage) 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 (ResponseWithContinuationPolicyPage) NotDone Uses

func (page ResponseWithContinuationPolicyPage) NotDone() bool

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

func (ResponseWithContinuationPolicyPage) Response Uses

func (page ResponseWithContinuationPolicyPage) Response() ResponseWithContinuationPolicy

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

func (ResponseWithContinuationPolicyPage) Values Uses

func (page ResponseWithContinuationPolicyPage) Values() []Policy

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

type ResponseWithContinuationSchedule Uses

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

ResponseWithContinuationSchedule the response of a list operation.

func (ResponseWithContinuationSchedule) IsEmpty Uses

func (rwcS ResponseWithContinuationSchedule) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ResponseWithContinuationScheduleIterator Uses

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

ResponseWithContinuationScheduleIterator provides access to a complete listing of Schedule values.

func NewResponseWithContinuationScheduleIterator Uses

func NewResponseWithContinuationScheduleIterator(page ResponseWithContinuationSchedulePage) ResponseWithContinuationScheduleIterator

Creates a new instance of the ResponseWithContinuationScheduleIterator type.

func (*ResponseWithContinuationScheduleIterator) Next Uses

func (iter *ResponseWithContinuationScheduleIterator) 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 (*ResponseWithContinuationScheduleIterator) NextWithContext Uses

func (iter *ResponseWithContinuationScheduleIterator) 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 (ResponseWithContinuationScheduleIterator) NotDone Uses

func (iter ResponseWithContinuationScheduleIterator) NotDone() bool

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

func (ResponseWithContinuationScheduleIterator) Response Uses

func (iter ResponseWithContinuationScheduleIterator) Response() ResponseWithContinuationSchedule

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

func (ResponseWithContinuationScheduleIterator) Value Uses

func (iter ResponseWithContinuationScheduleIterator) Value() Schedule

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

type ResponseWithContinuationSchedulePage Uses

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

ResponseWithContinuationSchedulePage contains a page of Schedule values.

func NewResponseWithContinuationSchedulePage Uses

func NewResponseWithContinuationSchedulePage(getNextPage func(context.Context, ResponseWithContinuationSchedule) (ResponseWithContinuationSchedule, error)) ResponseWithContinuationSchedulePage

Creates a new instance of the ResponseWithContinuationSchedulePage type.

func (*ResponseWithContinuationSchedulePage) Next Uses

func (page *ResponseWithContinuationSchedulePage) 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 (*ResponseWithContinuationSchedulePage) NextWithContext Uses

func (page *ResponseWithContinuationSchedulePage) 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 (ResponseWithContinuationSchedulePage) NotDone Uses

func (page ResponseWithContinuationSchedulePage) NotDone() bool

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

func (ResponseWithContinuationSchedulePage) Response Uses

func (page ResponseWithContinuationSchedulePage) Response() ResponseWithContinuationSchedule

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

func (ResponseWithContinuationSchedulePage) Values Uses

func (page ResponseWithContinuationSchedulePage) Values() []Schedule

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

type ResponseWithContinuationVirtualNetwork Uses

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

ResponseWithContinuationVirtualNetwork the response of a list operation.

func (ResponseWithContinuationVirtualNetwork) IsEmpty Uses

func (rwcVn ResponseWithContinuationVirtualNetwork) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ResponseWithContinuationVirtualNetworkIterator Uses

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

ResponseWithContinuationVirtualNetworkIterator provides access to a complete listing of VirtualNetwork values.

func NewResponseWithContinuationVirtualNetworkIterator Uses

func NewResponseWithContinuationVirtualNetworkIterator(page ResponseWithContinuationVirtualNetworkPage) ResponseWithContinuationVirtualNetworkIterator

Creates a new instance of the ResponseWithContinuationVirtualNetworkIterator type.

func (*ResponseWithContinuationVirtualNetworkIterator) Next Uses

func (iter *ResponseWithContinuationVirtualNetworkIterator) 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 (*ResponseWithContinuationVirtualNetworkIterator) NextWithContext Uses

func (iter *ResponseWithContinuationVirtualNetworkIterator) 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 (ResponseWithContinuationVirtualNetworkIterator) NotDone Uses

func (iter ResponseWithContinuationVirtualNetworkIterator) NotDone() bool

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

func (ResponseWithContinuationVirtualNetworkIterator) Response Uses

func (iter ResponseWithContinuationVirtualNetworkIterator) Response() ResponseWithContinuationVirtualNetwork

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

func (ResponseWithContinuationVirtualNetworkIterator) Value Uses

func (iter ResponseWithContinuationVirtualNetworkIterator) Value() VirtualNetwork

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

type ResponseWithContinuationVirtualNetworkPage Uses

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

ResponseWithContinuationVirtualNetworkPage contains a page of VirtualNetwork values.

func NewResponseWithContinuationVirtualNetworkPage Uses

func NewResponseWithContinuationVirtualNetworkPage(getNextPage func(context.Context, ResponseWithContinuationVirtualNetwork) (ResponseWithContinuationVirtualNetwork, error)) ResponseWithContinuationVirtualNetworkPage

Creates a new instance of the ResponseWithContinuationVirtualNetworkPage type.

func (*ResponseWithContinuationVirtualNetworkPage) Next Uses

func (page *ResponseWithContinuationVirtualNetworkPage) 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 (*ResponseWithContinuationVirtualNetworkPage) NextWithContext Uses

func (page *ResponseWithContinuationVirtualNetworkPage) 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 (ResponseWithContinuationVirtualNetworkPage) NotDone Uses

func (page ResponseWithContinuationVirtualNetworkPage) NotDone() bool

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

func (ResponseWithContinuationVirtualNetworkPage) Response Uses

func (page ResponseWithContinuationVirtualNetworkPage) Response() ResponseWithContinuationVirtualNetwork

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

func (ResponseWithContinuationVirtualNetworkPage) Values Uses

func (page ResponseWithContinuationVirtualNetworkPage) Values() []VirtualNetwork

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

type Schedule Uses

type Schedule struct {
    autorest.Response `json:"-"`
    // ScheduleProperties - The properties of the resource.
    *ScheduleProperties `json:"properties,omitempty"`
    // ID - The identifier of the resource.
    ID  *string `json:"id,omitempty"`
    // Name - The name of the resource.
    Name *string `json:"name,omitempty"`
    // Type - 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"`
}

Schedule a schedule.

func (Schedule) MarshalJSON Uses

func (s Schedule) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Schedule.

func (*Schedule) UnmarshalJSON Uses

func (s *Schedule) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Schedule struct.

type ScheduleClient Uses

type ScheduleClient struct {
    BaseClient
}

ScheduleClient is the azure DevTest Labs REST API version 2015-05-21-preview.

func NewScheduleClient Uses

func NewScheduleClient(subscriptionID string) ScheduleClient

NewScheduleClient creates an instance of the ScheduleClient client.

func NewScheduleClientWithBaseURI Uses

func NewScheduleClientWithBaseURI(baseURI string, subscriptionID string) ScheduleClient

NewScheduleClientWithBaseURI creates an instance of the ScheduleClient client.

func (ScheduleClient) CreateOrUpdateResource Uses

func (client ScheduleClient) CreateOrUpdateResource(ctx context.Context, resourceGroupName string, labName string, name string, schedule Schedule) (result ScheduleCreateOrUpdateResourceFuture, err error)

CreateOrUpdateResource create or replace an existing schedule. This operation can take a while to complete. Parameters: resourceGroupName - the name of the resource group. labName - the name of the lab. name - the name of the schedule.

func (ScheduleClient) CreateOrUpdateResourcePreparer Uses

func (client ScheduleClient) CreateOrUpdateResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string, schedule Schedule) (*http.Request, error)

CreateOrUpdateResourcePreparer prepares the CreateOrUpdateResource request.

func (ScheduleClient) CreateOrUpdateResourceResponder Uses

func (client ScheduleClient) CreateOrUpdateResourceResponder(resp *http.Response) (result Schedule, err error)

CreateOrUpdateResourceResponder handles the response to the CreateOrUpdateResource request. The method always closes the http.Response Body.

func (ScheduleClient) CreateOrUpdateResourceSender Uses

func (client ScheduleClient) CreateOrUpdateResourceSender(req *http.Request) (future ScheduleCreateOrUpdateResourceFuture, err error)

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

func (ScheduleClient) DeleteResource Uses

func (client ScheduleClient) DeleteResource(ctx context.Context, resourceGroupName string, labName string, name string) (result ScheduleDeleteResourceFuture, err error)

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

func (ScheduleClient) DeleteResourcePreparer Uses

func (client ScheduleClient) DeleteResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string) (*http.Request, error)

DeleteResourcePreparer prepares the DeleteResource request.

func (ScheduleClient) DeleteResourceResponder Uses

func (client ScheduleClient) DeleteResourceResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResourceResponder handles the response to the DeleteResource request. The method always closes the http.Response Body.

func (ScheduleClient) DeleteResourceSender Uses

func (client ScheduleClient) DeleteResourceSender(req *http.Request) (future ScheduleDeleteResourceFuture, err error)

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

func (ScheduleClient) Execute Uses

func (client ScheduleClient) Execute(ctx context.Context, resourceGroupName string, labName string, name string) (result ScheduleExecuteFuture, err error)

Execute execute a schedule. This operation can take a while to complete. Parameters: resourceGroupName - the name of the resource group. labName - the name of the lab. name - the name of the schedule.

func (ScheduleClient) ExecutePreparer Uses

func (client ScheduleClient) ExecutePreparer(ctx context.Context, resourceGroupName string, labName string, name string) (*http.Request, error)

ExecutePreparer prepares the Execute request.

func (ScheduleClient) ExecuteResponder Uses

func (client ScheduleClient) ExecuteResponder(resp *http.Response) (result autorest.Response, err error)

ExecuteResponder handles the response to the Execute request. The method always closes the http.Response Body.

func (ScheduleClient) ExecuteSender Uses

func (client ScheduleClient) ExecuteSender(req *http.Request) (future ScheduleExecuteFuture, err error)

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

func (ScheduleClient) GetResource Uses

func (client ScheduleClient) GetResource(ctx context.Context, resourceGroupName string, labName string, name string) (result Schedule, err error)

GetResource get schedule. Parameters: resourceGroupName - the name of the resource group. labName - the name of the lab. name - the name of the schedule.

func (ScheduleClient) GetResourcePreparer Uses

func (client ScheduleClient) GetResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string) (*http.Request, error)

GetResourcePreparer prepares the GetResource request.

func (ScheduleClient) GetResourceResponder Uses

func (client ScheduleClient) GetResourceResponder(resp *http.Response) (result Schedule, err error)

GetResourceResponder handles the response to the GetResource request. The method always closes the http.Response Body.

func (ScheduleClient) GetResourceSender Uses

func (client ScheduleClient) GetResourceSender(req *http.Request) (*http.Response, error)

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

func (ScheduleClient) List Uses

func (client ScheduleClient) List(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderBy string) (result ResponseWithContinuationSchedulePage, err error)

List list schedules. Parameters: resourceGroupName - the name of the resource group. labName - the name of the lab. filter - the filter to apply on the operation.

func (ScheduleClient) ListComplete Uses

func (client ScheduleClient) ListComplete(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderBy string) (result ResponseWithContinuationScheduleIterator, err error)

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

func (ScheduleClient) ListPreparer Uses

func (client ScheduleClient) ListPreparer(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderBy string) (*http.Request, error)

ListPreparer prepares the List request.

func (ScheduleClient) ListResponder Uses

func (client ScheduleClient) ListResponder(resp *http.Response) (result ResponseWithContinuationSchedule, err error)

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

func (ScheduleClient) ListSender Uses

func (client ScheduleClient) 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 (ScheduleClient) PatchResource Uses

func (client ScheduleClient) PatchResource(ctx context.Context, resourceGroupName string, labName string, name string, schedule Schedule) (result Schedule, err error)

PatchResource modify properties of schedules. Parameters: resourceGroupName - the name of the resource group. labName - the name of the lab. name - the name of the schedule.

func (ScheduleClient) PatchResourcePreparer Uses

func (client ScheduleClient) PatchResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string, schedule Schedule) (*http.Request, error)

PatchResourcePreparer prepares the PatchResource request.

func (ScheduleClient) PatchResourceResponder Uses

func (client ScheduleClient) PatchResourceResponder(resp *http.Response) (result Schedule, err error)

PatchResourceResponder handles the response to the PatchResource request. The method always closes the http.Response Body.

func (ScheduleClient) PatchResourceSender Uses

func (client ScheduleClient) PatchResourceSender(req *http.Request) (*http.Response, error)

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

type ScheduleCreateOrUpdateResourceFuture Uses

type ScheduleCreateOrUpdateResourceFuture struct {
    azure.Future
}

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

func (*ScheduleCreateOrUpdateResourceFuture) Result Uses

func (future *ScheduleCreateOrUpdateResourceFuture) Result(client ScheduleClient) (s Schedule, err error)

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

type ScheduleDeleteResourceFuture Uses

type ScheduleDeleteResourceFuture struct {
    azure.Future
}

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

func (*ScheduleDeleteResourceFuture) Result Uses

func (future *ScheduleDeleteResourceFuture) Result(client ScheduleClient) (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 ScheduleExecuteFuture Uses

type ScheduleExecuteFuture struct {
    azure.Future
}

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

func (*ScheduleExecuteFuture) Result Uses

func (future *ScheduleExecuteFuture) Result(client ScheduleClient) (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 ScheduleProperties Uses

type ScheduleProperties struct {
    // Status - The status of the schedule. Possible values include: 'Enabled', 'Disabled'
    Status EnableStatus `json:"status,omitempty"`
    // TaskType - The task type of the schedule. Possible values include: 'LabVmsShutdownTask', 'LabVmsStartupTask', 'LabBillingTask'
    TaskType TaskType `json:"taskType,omitempty"`
    // WeeklyRecurrence - The weekly recurrence of the schedule.
    WeeklyRecurrence *WeekDetails `json:"weeklyRecurrence,omitempty"`
    // DailyRecurrence - The daily recurrence of the schedule.
    DailyRecurrence *DayDetails `json:"dailyRecurrence,omitempty"`
    // HourlyRecurrence - The hourly recurrence of the schedule.
    HourlyRecurrence *HourDetails `json:"hourlyRecurrence,omitempty"`
    // TimeZoneID - The time zone id.
    TimeZoneID *string `json:"timeZoneId,omitempty"`
    // ProvisioningState - The provisioning status of the resource.
    ProvisioningState *string `json:"provisioningState,omitempty"`
}

ScheduleProperties properties of a schedule.

type SourceControlType Uses

type SourceControlType string

SourceControlType enumerates the values for source control type.

const (
    // GitHub ...
    GitHub SourceControlType = "GitHub"
    // VsoGit ...
    VsoGit SourceControlType = "VsoGit"
)

func PossibleSourceControlTypeValues Uses

func PossibleSourceControlTypeValues() []SourceControlType

PossibleSourceControlTypeValues returns an array of possible values for the SourceControlType const type.

type Subnet Uses

type Subnet struct {
    ResourceID    *string `json:"resourceId,omitempty"`
    LabSubnetName *string `json:"labSubnetName,omitempty"`
    // AllowPublicIP - Possible values include: 'Default', 'Deny', 'Allow'
    AllowPublicIP UsagePermissionType `json:"allowPublicIp,omitempty"`
}

Subnet ...

type SubnetOverride Uses

type SubnetOverride struct {
    // ResourceID - The resource identifier of the subnet.
    ResourceID *string `json:"resourceId,omitempty"`
    // LabSubnetName - The name given to the subnet within the lab.
    LabSubnetName *string `json:"labSubnetName,omitempty"`
    // UseInVMCreationPermission - Indicates whether this subnet can be used during virtual machine creation. Possible values include: 'Default', 'Deny', 'Allow'
    UseInVMCreationPermission UsagePermissionType `json:"useInVmCreationPermission,omitempty"`
    // UsePublicIPAddressPermission - Indicates whether public IP addresses can be assigned to virtual machines on this subnet. Possible values include: 'Default', 'Deny', 'Allow'
    UsePublicIPAddressPermission UsagePermissionType `json:"usePublicIpAddressPermission,omitempty"`
}

SubnetOverride property overrides on a subnet of a virtual network.

type SubscriptionNotification Uses

type SubscriptionNotification struct {
    RegistrationDate *string `json:"registrationDate,omitempty"`
    // State - Possible values include: 'NotDefined', 'Registered', 'Unregistered', 'Warned', 'Suspended', 'Deleted'
    State      SubscriptionNotificationState       `json:"state,omitempty"`
    Properties *SubscriptionNotificationProperties `json:"properties,omitempty"`
}

SubscriptionNotification ...

type SubscriptionNotificationProperties Uses

type SubscriptionNotificationProperties struct {
    TenantID *string `json:"tenantId,omitempty"`
}

SubscriptionNotificationProperties ...

type SubscriptionNotificationState Uses

type SubscriptionNotificationState string

SubscriptionNotificationState enumerates the values for subscription notification state.

const (
    // Deleted ...
    Deleted SubscriptionNotificationState = "Deleted"
    // NotDefined ...
    NotDefined SubscriptionNotificationState = "NotDefined"
    // Registered ...
    Registered SubscriptionNotificationState = "Registered"
    // Suspended ...
    Suspended SubscriptionNotificationState = "Suspended"
    // Unregistered ...
    Unregistered SubscriptionNotificationState = "Unregistered"
    // Warned ...
    Warned SubscriptionNotificationState = "Warned"
)

func PossibleSubscriptionNotificationStateValues Uses

func PossibleSubscriptionNotificationStateValues() []SubscriptionNotificationState

PossibleSubscriptionNotificationStateValues returns an array of possible values for the SubscriptionNotificationState const type.

type TaskType Uses

type TaskType string

TaskType enumerates the values for task type.

const (
    // LabBillingTask ...
    LabBillingTask TaskType = "LabBillingTask"
    // LabVmsShutdownTask ...
    LabVmsShutdownTask TaskType = "LabVmsShutdownTask"
    // LabVmsStartupTask ...
    LabVmsStartupTask TaskType = "LabVmsStartupTask"
)

func PossibleTaskTypeValues Uses

func PossibleTaskTypeValues() []TaskType

PossibleTaskTypeValues returns an array of possible values for the TaskType const type.

type UsagePermissionType Uses

type UsagePermissionType string

UsagePermissionType enumerates the values for usage permission type.

const (
    // Allow ...
    Allow UsagePermissionType = "Allow"
    // Default ...
    Default UsagePermissionType = "Default"
    // Deny ...
    Deny UsagePermissionType = "Deny"
)

func PossibleUsagePermissionTypeValues Uses

func PossibleUsagePermissionTypeValues() []UsagePermissionType

PossibleUsagePermissionTypeValues returns an array of possible values for the UsagePermissionType const type.

type VMCostProperties Uses

type VMCostProperties struct {
    Name              *string  `json:"name,omitempty"`
    ResourceGroupName *string  `json:"resourceGroupName,omitempty"`
    Cost              *float64 `json:"cost,omitempty"`
}

VMCostProperties ...

type VirtualMachineApplyArtifactsFuture Uses

type VirtualMachineApplyArtifactsFuture struct {
    azure.Future
}

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

func (*VirtualMachineApplyArtifactsFuture) Result Uses

func (future *VirtualMachineApplyArtifactsFuture) Result(client VirtualMachineClient) (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 VirtualMachineClient Uses

type VirtualMachineClient struct {
    BaseClient
}

VirtualMachineClient is the azure DevTest Labs REST API version 2015-05-21-preview.

func NewVirtualMachineClient Uses

func NewVirtualMachineClient(subscriptionID string) VirtualMachineClient

NewVirtualMachineClient creates an instance of the VirtualMachineClient client.

func NewVirtualMachineClientWithBaseURI Uses

func NewVirtualMachineClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineClient

NewVirtualMachineClientWithBaseURI creates an instance of the VirtualMachineClient client.

func (VirtualMachineClient) ApplyArtifacts Uses

func (client VirtualMachineClient) ApplyArtifacts(ctx context.Context, resourceGroupName string, labName string, name string, applyArtifactsRequest ApplyArtifactsRequest) (result VirtualMachineApplyArtifactsFuture, err error)

ApplyArtifacts apply artifacts to Lab VM. This operation can take a while to complete. Parameters: resourceGroupName - the name of the resource group. labName - the name of the lab. name - the name of the virtual Machine.

func (VirtualMachineClient) ApplyArtifactsPreparer Uses

func (client VirtualMachineClient) ApplyArtifactsPreparer(ctx context.Context, resourceGroupName string, labName string, name string, applyArtifactsRequest ApplyArtifactsRequest) (*http.Request, error)

ApplyArtifactsPreparer prepares the ApplyArtifacts request.

func (VirtualMachineClient) ApplyArtifactsResponder Uses

func (client VirtualMachineClient) ApplyArtifactsResponder(resp *http.Response) (result autorest.Response, err error)

ApplyArtifactsResponder handles the response to the ApplyArtifacts request. The method always closes the http.Response Body.

func (VirtualMachineClient) ApplyArtifactsSender Uses

func (client VirtualMachineClient) ApplyArtifactsSender(req *http.Request) (future VirtualMachineApplyArtifactsFuture, err error)

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

func (VirtualMachineClient) CreateOrUpdateResource Uses

func (client VirtualMachineClient) CreateOrUpdateResource(ctx context.Context, resourceGroupName string, labName string, name string, labVirtualMachine LabVirtualMachine) (result VirtualMachineCreateOrUpdateResourceFuture, err error)

CreateOrUpdateResource create or replace an existing Virtual Machine. This operation can take a while to complete. Parameters: resourceGroupName - the name of the resource group. labName - the name of the lab. name - the name of the virtual Machine.

func (VirtualMachineClient) CreateOrUpdateResourcePreparer Uses

func (client VirtualMachineClient) CreateOrUpdateResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string, labVirtualMachine LabVirtualMachine) (*http.Request, error)

CreateOrUpdateResourcePreparer prepares the CreateOrUpdateResource request.

func (VirtualMachineClient) CreateOrUpdateResourceResponder Uses

func (client VirtualMachineClient) CreateOrUpdateResourceResponder(resp *http.Response) (result LabVirtualMachine, err error)

CreateOrUpdateResourceResponder handles the response to the CreateOrUpdateResource request. The method always closes the http.Response Body.

func (VirtualMachineClient) CreateOrUpdateResourceSender Uses

func (client VirtualMachineClient) CreateOrUpdateResourceSender(req *http.Request) (future VirtualMachineCreateOrUpdateResourceFuture, err error)

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

func (VirtualMachineClient) DeleteResource Uses

func (client VirtualMachineClient) DeleteResource(ctx context.Context, resourceGroupName string, labName string, name string) (result VirtualMachineDeleteResourceFuture, err error)

DeleteResource delete virtual machine. This operation can take a while to complete. Parameters: resourceGroupName - the name of the resource group. labName - the name of the lab. name - the name of the virtual Machine.

func (VirtualMachineClient) DeleteResourcePreparer Uses

func (client VirtualMachineClient) DeleteResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string) (*http.Request, error)

DeleteResourcePreparer prepares the DeleteResource request.

func (VirtualMachineClient) DeleteResourceResponder Uses

func (client VirtualMachineClient) DeleteResourceResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResourceResponder handles the response to the DeleteResource request. The method always closes the http.Response Body.

func (VirtualMachineClient) DeleteResourceSender Uses

func (client VirtualMachineClient) DeleteResourceSender(req *http.Request) (future VirtualMachineDeleteResourceFuture, err error)

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

func (VirtualMachineClient) GetResource Uses

func (client VirtualMachineClient) GetResource(ctx context.Context, resourceGroupName string, labName string, name string) (result LabVirtualMachine, err error)

GetResource get virtual machine. Parameters: resourceGroupName - the name of the resource group. labName - the name of the lab. name - the name of the virtual Machine.

func (VirtualMachineClient) GetResourcePreparer Uses

func (client VirtualMachineClient) GetResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string) (*http.Request, error)

GetResourcePreparer prepares the GetResource request.

func (VirtualMachineClient) GetResourceResponder Uses

func (client VirtualMachineClient) GetResourceResponder(resp *http.Response) (result LabVirtualMachine, err error)

GetResourceResponder handles the response to the GetResource request. The method always closes the http.Response Body.

func (VirtualMachineClient) GetResourceSender Uses

func (client VirtualMachineClient) GetResourceSender(req *http.Request) (*http.Response, error)

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

func (VirtualMachineClient) List Uses

func (client VirtualMachineClient) List(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderBy string) (result ResponseWithContinuationLabVirtualMachinePage, err error)

List list virtual machines. Parameters: resourceGroupName - the name of the resource group. labName - the name of the lab. filter - the filter to apply on the operation.

func (VirtualMachineClient) ListComplete Uses

func (client VirtualMachineClient) ListComplete(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderBy string) (result ResponseWithContinuationLabVirtualMachineIterator, err error)

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

func (VirtualMachineClient) ListPreparer Uses

func (client VirtualMachineClient) ListPreparer(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderBy string) (*http.Request, error)

ListPreparer prepares the List request.

func (VirtualMachineClient) ListResponder Uses

func (client VirtualMachineClient) ListResponder(resp *http.Response) (result ResponseWithContinuationLabVirtualMachine, err error)

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

func (VirtualMachineClient) ListSender Uses

func (client VirtualMachineClient) 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 (VirtualMachineClient) PatchResource Uses

func (client VirtualMachineClient) PatchResource(ctx context.Context, resourceGroupName string, labName string, name string, labVirtualMachine LabVirtualMachine) (result LabVirtualMachine, err error)

PatchResource modify properties of virtual machines. Parameters: resourceGroupName - the name of the resource group. labName - the name of the lab. name - the name of the virtual Machine.

func (VirtualMachineClient) PatchResourcePreparer Uses

func (client VirtualMachineClient) PatchResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string, labVirtualMachine LabVirtualMachine) (*http.Request, error)

PatchResourcePreparer prepares the PatchResource request.

func (VirtualMachineClient) PatchResourceResponder Uses

func (client VirtualMachineClient) PatchResourceResponder(resp *http.Response) (result LabVirtualMachine, err error)

PatchResourceResponder handles the response to the PatchResource request. The method always closes the http.Response Body.

func (VirtualMachineClient) PatchResourceSender Uses

func (client VirtualMachineClient) PatchResourceSender(req *http.Request) (*http.Response, error)

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

func (VirtualMachineClient) Start Uses

func (client VirtualMachineClient) Start(ctx context.Context, resourceGroupName string, labName string, name string) (result VirtualMachineStartFuture, err error)

Start start a Lab VM. This operation can take a while to complete. Parameters: resourceGroupName - the name of the resource group. labName - the name of the lab. name - the name of the virtual Machine.

func (VirtualMachineClient) StartPreparer Uses

func (client VirtualMachineClient) StartPreparer(ctx context.Context, resourceGroupName string, labName string, name string) (*http.Request, error)

StartPreparer prepares the Start request.

func (VirtualMachineClient) StartResponder Uses

func (client VirtualMachineClient) 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 (VirtualMachineClient) StartSender Uses

func (client VirtualMachineClient) StartSender(req *http.Request) (future VirtualMachineStartFuture, err error)

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

func (VirtualMachineClient) Stop Uses

func (client VirtualMachineClient) Stop(ctx context.Context, resourceGroupName string, labName string, name string) (result VirtualMachineStopFuture, err error)

Stop stop a Lab VM. This operation can take a while to complete. Parameters: resourceGroupName - the name of the resource group. labName - the name of the lab. name - the name of the virtual Machine.

func (VirtualMachineClient) StopPreparer Uses

func (client VirtualMachineClient) StopPreparer(ctx context.Context, resourceGroupName string, labName string, name string) (*http.Request, error)

StopPreparer prepares the Stop request.

func (VirtualMachineClient) StopResponder Uses

func (client VirtualMachineClient) 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 (VirtualMachineClient) StopSender Uses

func (client VirtualMachineClient) StopSender(req *http.Request) (future VirtualMachineStopFuture, err error)

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

type VirtualMachineCreateOrUpdateResourceFuture Uses

type VirtualMachineCreateOrUpdateResourceFuture struct {
    azure.Future
}

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

func (*VirtualMachineCreateOrUpdateResourceFuture) Result Uses

func (future *VirtualMachineCreateOrUpdateResourceFuture) Result(client VirtualMachineClient) (lvm LabVirtualMachine, err error)

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

type VirtualMachineDeleteResourceFuture Uses

type VirtualMachineDeleteResourceFuture struct {
    azure.Future
}

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

func (*VirtualMachineDeleteResourceFuture) Result Uses

func (future *VirtualMachineDeleteResourceFuture) Result(client VirtualMachineClient) (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 VirtualMachineStartFuture Uses

type VirtualMachineStartFuture struct {
    azure.Future
}

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

func (*VirtualMachineStartFuture) Result Uses

func (future *VirtualMachineStartFuture) Result(client VirtualMachineClient) (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 VirtualMachineStopFuture Uses

type VirtualMachineStopFuture struct {
    azure.Future
}

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

func (*VirtualMachineStopFuture) Result Uses

func (future *VirtualMachineStopFuture) Result(client VirtualMachineClient) (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 VirtualNetwork Uses

type VirtualNetwork struct {
    autorest.Response `json:"-"`
    // VirtualNetworkProperties - The properties of the resource.
    *VirtualNetworkProperties `json:"properties,omitempty"`
    // ID - The identifier of the resource.
    ID  *string `json:"id,omitempty"`
    // Name - The name of the resource.
    Name *string `json:"name,omitempty"`
    // Type - 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"`
}

VirtualNetwork a virtual network.

func (VirtualNetwork) MarshalJSON Uses

func (vn VirtualNetwork) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualNetwork.

func (*VirtualNetwork) UnmarshalJSON Uses

func (vn *VirtualNetwork) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VirtualNetwork struct.

type VirtualNetworkClient Uses

type VirtualNetworkClient struct {
    BaseClient
}

VirtualNetworkClient is the azure DevTest Labs REST API version 2015-05-21-preview.

func NewVirtualNetworkClient Uses

func NewVirtualNetworkClient(subscriptionID string) VirtualNetworkClient

NewVirtualNetworkClient creates an instance of the VirtualNetworkClient client.

func NewVirtualNetworkClientWithBaseURI Uses

func NewVirtualNetworkClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworkClient

NewVirtualNetworkClientWithBaseURI creates an instance of the VirtualNetworkClient client.

func (VirtualNetworkClient) CreateOrUpdateResource Uses

func (client VirtualNetworkClient) CreateOrUpdateResource(ctx context.Context, resourceGroupName string, labName string, name string, virtualNetwork VirtualNetwork) (result VirtualNetworkCreateOrUpdateResourceFuture, err error)

CreateOrUpdateResource create or replace an existing virtual network. This operation can take a while to complete. Parameters: resourceGroupName - the name of the resource group. labName - the name of the lab. name - the name of the virtual network.

func (VirtualNetworkClient) CreateOrUpdateResourcePreparer Uses

func (client VirtualNetworkClient) CreateOrUpdateResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string, virtualNetwork VirtualNetwork) (*http.Request, error)

CreateOrUpdateResourcePreparer prepares the CreateOrUpdateResource request.

func (VirtualNetworkClient) CreateOrUpdateResourceResponder Uses

func (client VirtualNetworkClient) CreateOrUpdateResourceResponder(resp *http.Response) (result VirtualNetwork, err error)

CreateOrUpdateResourceResponder handles the response to the CreateOrUpdateResource request. The method always closes the http.Response Body.

func (VirtualNetworkClient) CreateOrUpdateResourceSender Uses

func (client VirtualNetworkClient) CreateOrUpdateResourceSender(req *http.Request) (future VirtualNetworkCreateOrUpdateResourceFuture, err error)

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

func (VirtualNetworkClient) DeleteResource Uses

func (client VirtualNetworkClient) DeleteResource(ctx context.Context, resourceGroupName string, labName string, name string) (result VirtualNetworkDeleteResourceFuture, err error)

DeleteResource delete virtual network. This operation can take a while to complete. Parameters: resourceGroupName - the name of the resource group. labName - the name of the lab. name - the name of the virtual network.

func (VirtualNetworkClient) DeleteResourcePreparer Uses

func (client VirtualNetworkClient) DeleteResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string) (*http.Request, error)

DeleteResourcePreparer prepares the DeleteResource request.

func (VirtualNetworkClient) DeleteResourceResponder Uses

func (client VirtualNetworkClient) DeleteResourceResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResourceResponder handles the response to the DeleteResource request. The method always closes the http.Response Body.

func (VirtualNetworkClient) DeleteResourceSender Uses

func (client VirtualNetworkClient) DeleteResourceSender(req *http.Request) (future VirtualNetworkDeleteResourceFuture, err error)

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

func (VirtualNetworkClient) GetResource Uses

func (client VirtualNetworkClient) GetResource(ctx context.Context, resourceGroupName string, labName string, name string) (result VirtualNetwork, err error)

GetResource get virtual network. Parameters: resourceGroupName - the name of the resource group. labName - the name of the lab. name - the name of the virtual network.

func (VirtualNetworkClient) GetResourcePreparer Uses

func (client VirtualNetworkClient) GetResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string) (*http.Request, error)

GetResourcePreparer prepares the GetResource request.

func (VirtualNetworkClient) GetResourceResponder Uses

func (client VirtualNetworkClient) GetResourceResponder(resp *http.Response) (result VirtualNetwork, err error)

GetResourceResponder handles the response to the GetResource request. The method always closes the http.Response Body.

func (VirtualNetworkClient) GetResourceSender Uses

func (client VirtualNetworkClient) GetResourceSender(req *http.Request) (*http.Response, error)

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

func (VirtualNetworkClient) List Uses

func (client VirtualNetworkClient) List(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderBy string) (result ResponseWithContinuationVirtualNetworkPage, err error)

List list virtual networks. Parameters: resourceGroupName - the name of the resource group. labName - the name of the lab. filter - the filter to apply on the operation.

func (VirtualNetworkClient) ListComplete Uses

func (client VirtualNetworkClient) ListComplete(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderBy string) (result ResponseWithContinuationVirtualNetworkIterator, err error)

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

func (VirtualNetworkClient) ListPreparer Uses

func (client VirtualNetworkClient) ListPreparer(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderBy string) (*http.Request, error)

ListPreparer prepares the List request.

func (VirtualNetworkClient) ListResponder Uses

func (client VirtualNetworkClient) ListResponder(resp *http.Response) (result ResponseWithContinuationVirtualNetwork, err error)

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

func (VirtualNetworkClient) ListSender Uses

func (client VirtualNetworkClient) 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 (VirtualNetworkClient) PatchResource Uses

func (client VirtualNetworkClient) PatchResource(ctx context.Context, resourceGroupName string, labName string, name string, virtualNetwork VirtualNetwork) (result VirtualNetwork, err error)

PatchResource modify properties of virtual networks. Parameters: resourceGroupName - the name of the resource group. labName - the name of the lab. name - the name of the virtual network.

func (VirtualNetworkClient) PatchResourcePreparer Uses

func (client VirtualNetworkClient) PatchResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string, virtualNetwork VirtualNetwork) (*http.Request, error)

PatchResourcePreparer prepares the PatchResource request.

func (VirtualNetworkClient) PatchResourceResponder Uses

func (client VirtualNetworkClient) PatchResourceResponder(resp *http.Response) (result VirtualNetwork, err error)

PatchResourceResponder handles the response to the PatchResource request. The method always closes the http.Response Body.

func (VirtualNetworkClient) PatchResourceSender Uses

func (client VirtualNetworkClient) PatchResourceSender(req *http.Request) (*http.Response, error)

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

type VirtualNetworkCreateOrUpdateResourceFuture Uses

type VirtualNetworkCreateOrUpdateResourceFuture struct {
    azure.Future
}

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

func (*VirtualNetworkCreateOrUpdateResourceFuture) Result Uses

func (future *VirtualNetworkCreateOrUpdateResourceFuture) Result(client VirtualNetworkClient) (vn VirtualNetwork, err error)

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

type VirtualNetworkDeleteResourceFuture Uses

type VirtualNetworkDeleteResourceFuture struct {
    azure.Future
}

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

func (*VirtualNetworkDeleteResourceFuture) Result Uses

func (future *VirtualNetworkDeleteResourceFuture) Result(client VirtualNetworkClient) (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 VirtualNetworkProperties Uses

type VirtualNetworkProperties struct {
    // AllowedSubnets - The allowed subnets of the virtual network.
    AllowedSubnets *[]Subnet `json:"allowedSubnets,omitempty"`
    // Description - The description of the virtual network.
    Description *string `json:"description,omitempty"`
    // ExternalProviderResourceID - The Microsoft.Network resource identifier of the virtual network.
    ExternalProviderResourceID *string `json:"externalProviderResourceId,omitempty"`
    // SubnetOverrides - The subnet overrides of the virtual network.
    SubnetOverrides *[]SubnetOverride `json:"subnetOverrides,omitempty"`
    // ProvisioningState - The provisioning status of the resource.
    ProvisioningState *string `json:"provisioningState,omitempty"`
}

VirtualNetworkProperties properties of a virtual network.

type WeekDetails Uses

type WeekDetails struct {
    // Weekdays - The days of the week.
    Weekdays *[]string `json:"weekdays,omitempty"`
    // Time - The time of the day.
    Time *string `json:"time,omitempty"`
}

WeekDetails properties of a weekly schedule.

type WindowsOsInfo Uses

type WindowsOsInfo struct {
    // WindowsOsState - The state of the Windows OS. Possible values include: 'NonSysprepped', 'SysprepRequested', 'SysprepApplied'
    WindowsOsState WindowsOsState `json:"windowsOsState,omitempty"`
}

WindowsOsInfo information about a Windows OS.

type WindowsOsState Uses

type WindowsOsState string

WindowsOsState enumerates the values for windows os state.

const (
    // NonSysprepped ...
    NonSysprepped WindowsOsState = "NonSysprepped"
    // SysprepApplied ...
    SysprepApplied WindowsOsState = "SysprepApplied"
    // SysprepRequested ...
    SysprepRequested WindowsOsState = "SysprepRequested"
)

func PossibleWindowsOsStateValues Uses

func PossibleWindowsOsStateValues() []WindowsOsState

PossibleWindowsOsStateValues returns an array of possible values for the WindowsOsState const type.

Directories

PathSynopsis
dtlapi

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