...

Package dtl

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

Overview ▾

Deprecated: Please note, this package has been deprecated. A replacement package is available github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/devtestlabs/armdevtestlabs(https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/devtestlabs/armdevtestlabs). We strongly encourage you to upgrade to continue receiving updates. See [Migration Guide](https://aka.ms/azsdk/golang/t2/migration) for guidance on upgrading. Refer to our [deprecation policy](https://azure.github.io/azure-sdk/policies_support.html) for more details.

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 ▾

Constants
func UserAgent() string
func Version() string
type ApplyArtifactsRequest
type ArmTemplateInfo
type Artifact
    func (a Artifact) MarshalJSON() ([]byte, error)
    func (a *Artifact) UnmarshalJSON(body []byte) error
type ArtifactClient
    func NewArtifactClient(subscriptionID string) ArtifactClient
    func NewArtifactClientWithBaseURI(baseURI string, subscriptionID string) ArtifactClient
    func (client ArtifactClient) GenerateArmTemplate(ctx context.Context, resourceGroupName string, labName string, artifactSourceName string, name string, generateArmTemplateRequest GenerateArmTemplateRequest) (result ArmTemplateInfo, err error)
    func (client ArtifactClient) GenerateArmTemplatePreparer(ctx context.Context, resourceGroupName string, labName string, artifactSourceName string, name string, generateArmTemplateRequest GenerateArmTemplateRequest) (*http.Request, error)
    func (client ArtifactClient) GenerateArmTemplateResponder(resp *http.Response) (result ArmTemplateInfo, err error)
    func (client ArtifactClient) GenerateArmTemplateSender(req *http.Request) (*http.Response, error)
    func (client ArtifactClient) GetResource(ctx context.Context, resourceGroupName string, labName string, artifactSourceName string, name string) (result Artifact, err error)
    func (client ArtifactClient) GetResourcePreparer(ctx context.Context, resourceGroupName string, labName string, artifactSourceName string, name string) (*http.Request, error)
    func (client ArtifactClient) GetResourceResponder(resp *http.Response) (result Artifact, err error)
    func (client ArtifactClient) GetResourceSender(req *http.Request) (*http.Response, error)
    func (client ArtifactClient) List(ctx context.Context, resourceGroupName string, labName string, artifactSourceName string, filter string, top *int32, orderBy string) (result ResponseWithContinuationArtifactPage, err error)
    func (client ArtifactClient) ListComplete(ctx context.Context, resourceGroupName string, labName string, artifactSourceName string, filter string, top *int32, orderBy string) (result ResponseWithContinuationArtifactIterator, err error)
    func (client ArtifactClient) ListPreparer(ctx context.Context, resourceGroupName string, labName string, artifactSourceName string, filter string, top *int32, orderBy string) (*http.Request, error)
    func (client ArtifactClient) ListResponder(resp *http.Response) (result ResponseWithContinuationArtifact, err error)
    func (client ArtifactClient) ListSender(req *http.Request) (*http.Response, error)
type ArtifactDeploymentStatusProperties
type ArtifactInstallProperties
type ArtifactParameterProperties
type ArtifactProperties
type ArtifactSource
    func (as ArtifactSource) MarshalJSON() ([]byte, error)
    func (as *ArtifactSource) UnmarshalJSON(body []byte) error
type ArtifactSourceClient
    func NewArtifactSourceClient(subscriptionID string) ArtifactSourceClient
    func NewArtifactSourceClientWithBaseURI(baseURI string, subscriptionID string) ArtifactSourceClient
    func (client ArtifactSourceClient) CreateOrUpdateResource(ctx context.Context, resourceGroupName string, labName string, name string, artifactSource ArtifactSource) (result ArtifactSource, err error)
    func (client ArtifactSourceClient) CreateOrUpdateResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string, artifactSource ArtifactSource) (*http.Request, error)
    func (client ArtifactSourceClient) CreateOrUpdateResourceResponder(resp *http.Response) (result ArtifactSource, err error)
    func (client ArtifactSourceClient) CreateOrUpdateResourceSender(req *http.Request) (*http.Response, error)
    func (client ArtifactSourceClient) DeleteResource(ctx context.Context, resourceGroupName string, labName string, name string) (result autorest.Response, err error)
    func (client ArtifactSourceClient) DeleteResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string) (*http.Request, error)
    func (client ArtifactSourceClient) DeleteResourceResponder(resp *http.Response) (result autorest.Response, err error)
    func (client ArtifactSourceClient) DeleteResourceSender(req *http.Request) (*http.Response, error)
    func (client ArtifactSourceClient) GetResource(ctx context.Context, resourceGroupName string, labName string, name string) (result ArtifactSource, err error)
    func (client ArtifactSourceClient) GetResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string) (*http.Request, error)
    func (client ArtifactSourceClient) GetResourceResponder(resp *http.Response) (result ArtifactSource, err error)
    func (client ArtifactSourceClient) GetResourceSender(req *http.Request) (*http.Response, error)
    func (client ArtifactSourceClient) List(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderBy string) (result ResponseWithContinuationArtifactSourcePage, err error)
    func (client ArtifactSourceClient) ListComplete(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderBy string) (result ResponseWithContinuationArtifactSourceIterator, err error)
    func (client ArtifactSourceClient) ListPreparer(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderBy string) (*http.Request, error)
    func (client ArtifactSourceClient) ListResponder(resp *http.Response) (result ResponseWithContinuationArtifactSource, err error)
    func (client ArtifactSourceClient) ListSender(req *http.Request) (*http.Response, error)
    func (client ArtifactSourceClient) PatchResource(ctx context.Context, resourceGroupName string, labName string, name string, artifactSource ArtifactSource) (result ArtifactSource, err error)
    func (client ArtifactSourceClient) PatchResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string, artifactSource ArtifactSource) (*http.Request, error)
    func (client ArtifactSourceClient) PatchResourceResponder(resp *http.Response) (result ArtifactSource, err error)
    func (client ArtifactSourceClient) PatchResourceSender(req *http.Request) (*http.Response, error)
type ArtifactSourceProperties
type BaseClient
    func New(subscriptionID string) BaseClient
    func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient
type CloudError
type CloudErrorBody
type Cost
    func (c Cost) MarshalJSON() ([]byte, error)
    func (c *Cost) UnmarshalJSON(body []byte) error
type CostClient
    func NewCostClient(subscriptionID string) CostClient
    func NewCostClientWithBaseURI(baseURI string, subscriptionID string) CostClient
    func (client CostClient) GetResource(ctx context.Context, resourceGroupName string, labName string, name string) (result Cost, err error)
    func (client CostClient) GetResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string) (*http.Request, error)
    func (client CostClient) GetResourceResponder(resp *http.Response) (result Cost, err error)
    func (client CostClient) GetResourceSender(req *http.Request) (*http.Response, error)
    func (client CostClient) List(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderBy string) (result ResponseWithContinuationCostPage, err error)
    func (client CostClient) ListComplete(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderBy string) (result ResponseWithContinuationCostIterator, err error)
    func (client CostClient) ListPreparer(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderBy string) (*http.Request, error)
    func (client CostClient) ListResponder(resp *http.Response) (result ResponseWithContinuationCost, err error)
    func (client CostClient) ListSender(req *http.Request) (*http.Response, error)
    func (client CostClient) RefreshData(ctx context.Context, resourceGroupName string, labName string, name string) (result CostRefreshDataFuture, err error)
    func (client CostClient) RefreshDataPreparer(ctx context.Context, resourceGroupName string, labName string, name string) (*http.Request, error)
    func (client CostClient) RefreshDataResponder(resp *http.Response) (result autorest.Response, err error)
    func (client CostClient) RefreshDataSender(req *http.Request) (future CostRefreshDataFuture, err error)
type CostInsight
    func (ci CostInsight) MarshalJSON() ([]byte, error)
    func (ci *CostInsight) UnmarshalJSON(body []byte) error
type CostInsightClient
    func NewCostInsightClient(subscriptionID string) CostInsightClient
    func NewCostInsightClientWithBaseURI(baseURI string, subscriptionID string) CostInsightClient
    func (client CostInsightClient) GetResource(ctx context.Context, resourceGroupName string, labName string, name string) (result CostInsight, err error)
    func (client CostInsightClient) GetResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string) (*http.Request, error)
    func (client CostInsightClient) GetResourceResponder(resp *http.Response) (result CostInsight, err error)
    func (client CostInsightClient) GetResourceSender(req *http.Request) (*http.Response, error)
    func (client CostInsightClient) List(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderBy string) (result ResponseWithContinuationCostInsightPage, err error)
    func (client CostInsightClient) ListComplete(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderBy string) (result ResponseWithContinuationCostInsightIterator, err error)
    func (client CostInsightClient) ListPreparer(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderBy string) (*http.Request, error)
    func (client CostInsightClient) ListResponder(resp *http.Response) (result ResponseWithContinuationCostInsight, err error)
    func (client CostInsightClient) ListSender(req *http.Request) (*http.Response, error)
    func (client CostInsightClient) RefreshData(ctx context.Context, resourceGroupName string, labName string, name string) (result CostInsightRefreshDataFuture, err error)
    func (client CostInsightClient) RefreshDataPreparer(ctx context.Context, resourceGroupName string, labName string, name string) (*http.Request, error)
    func (client CostInsightClient) RefreshDataResponder(resp *http.Response) (result autorest.Response, err error)
    func (client CostInsightClient) RefreshDataSender(req *http.Request) (future CostInsightRefreshDataFuture, err error)
type CostInsightProperties
type CostInsightRefreshDataFuture
    func (future *CostInsightRefreshDataFuture) UnmarshalJSON(body []byte) error
type CostPerDayProperties
type CostProperties
type CostPropertyType
    func PossibleCostPropertyTypeValues() []CostPropertyType
type CostRefreshDataFuture
    func (future *CostRefreshDataFuture) UnmarshalJSON(body []byte) error
type CustomImage
    func (ci CustomImage) MarshalJSON() ([]byte, error)
    func (ci *CustomImage) UnmarshalJSON(body []byte) error
type CustomImageClient
    func NewCustomImageClient(subscriptionID string) CustomImageClient
    func NewCustomImageClientWithBaseURI(baseURI string, subscriptionID string) CustomImageClient
    func (client CustomImageClient) CreateOrUpdateResource(ctx context.Context, resourceGroupName string, labName string, name string, customImage CustomImage) (result CustomImageCreateOrUpdateResourceFuture, err error)
    func (client CustomImageClient) CreateOrUpdateResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string, customImage CustomImage) (*http.Request, error)
    func (client CustomImageClient) CreateOrUpdateResourceResponder(resp *http.Response) (result CustomImage, err error)
    func (client CustomImageClient) CreateOrUpdateResourceSender(req *http.Request) (future CustomImageCreateOrUpdateResourceFuture, err error)
    func (client CustomImageClient) DeleteResource(ctx context.Context, resourceGroupName string, labName string, name string) (result CustomImageDeleteResourceFuture, err error)
    func (client CustomImageClient) DeleteResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string) (*http.Request, error)
    func (client CustomImageClient) DeleteResourceResponder(resp *http.Response) (result autorest.Response, err error)
    func (client CustomImageClient) DeleteResourceSender(req *http.Request) (future CustomImageDeleteResourceFuture, err error)
    func (client CustomImageClient) GetResource(ctx context.Context, resourceGroupName string, labName string, name string) (result CustomImage, err error)
    func (client CustomImageClient) GetResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string) (*http.Request, error)
    func (client CustomImageClient) GetResourceResponder(resp *http.Response) (result CustomImage, err error)
    func (client CustomImageClient) GetResourceSender(req *http.Request) (*http.Response, error)
    func (client CustomImageClient) List(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderBy string) (result ResponseWithContinuationCustomImagePage, err error)
    func (client CustomImageClient) ListComplete(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderBy string) (result ResponseWithContinuationCustomImageIterator, err error)
    func (client CustomImageClient) ListPreparer(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderBy string) (*http.Request, error)
    func (client CustomImageClient) ListResponder(resp *http.Response) (result ResponseWithContinuationCustomImage, err error)
    func (client CustomImageClient) ListSender(req *http.Request) (*http.Response, error)
type CustomImageCreateOrUpdateResourceFuture
    func (future *CustomImageCreateOrUpdateResourceFuture) UnmarshalJSON(body []byte) error
type CustomImageDeleteResourceFuture
    func (future *CustomImageDeleteResourceFuture) UnmarshalJSON(body []byte) error
type CustomImageOsType
    func PossibleCustomImageOsTypeValues() []CustomImageOsType
type CustomImageProperties
type CustomImagePropertiesCustom
type CustomImagePropertiesFromVM
type DayDetails
type EnableStatus
    func PossibleEnableStatusValues() []EnableStatus
type EvaluatePoliciesProperties
type EvaluatePoliciesRequest
type EvaluatePoliciesResponse
type Formula
    func (f Formula) MarshalJSON() ([]byte, error)
    func (f *Formula) UnmarshalJSON(body []byte) error
type FormulaClient
    func NewFormulaClient(subscriptionID string) FormulaClient
    func NewFormulaClientWithBaseURI(baseURI string, subscriptionID string) FormulaClient
    func (client FormulaClient) CreateOrUpdateResource(ctx context.Context, resourceGroupName string, labName string, name string, formula Formula) (result FormulaCreateOrUpdateResourceFuture, err error)
    func (client FormulaClient) CreateOrUpdateResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string, formula Formula) (*http.Request, error)
    func (client FormulaClient) CreateOrUpdateResourceResponder(resp *http.Response) (result Formula, err error)
    func (client FormulaClient) CreateOrUpdateResourceSender(req *http.Request) (future FormulaCreateOrUpdateResourceFuture, err error)
    func (client FormulaClient) DeleteResource(ctx context.Context, resourceGroupName string, labName string, name string) (result autorest.Response, err error)
    func (client FormulaClient) DeleteResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string) (*http.Request, error)
    func (client FormulaClient) DeleteResourceResponder(resp *http.Response) (result autorest.Response, err error)
    func (client FormulaClient) DeleteResourceSender(req *http.Request) (*http.Response, error)
    func (client FormulaClient) GetResource(ctx context.Context, resourceGroupName string, labName string, name string) (result Formula, err error)
    func (client FormulaClient) GetResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string) (*http.Request, error)
    func (client FormulaClient) GetResourceResponder(resp *http.Response) (result Formula, err error)
    func (client FormulaClient) GetResourceSender(req *http.Request) (*http.Response, error)
    func (client FormulaClient) List(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderBy string) (result ResponseWithContinuationFormulaPage, err error)
    func (client FormulaClient) ListComplete(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderBy string) (result ResponseWithContinuationFormulaIterator, err error)
    func (client FormulaClient) ListPreparer(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderBy string) (*http.Request, error)
    func (client FormulaClient) ListResponder(resp *http.Response) (result ResponseWithContinuationFormula, err error)
    func (client FormulaClient) ListSender(req *http.Request) (*http.Response, error)
type FormulaCreateOrUpdateResourceFuture
    func (future *FormulaCreateOrUpdateResourceFuture) UnmarshalJSON(body []byte) error
type FormulaProperties
type FormulaPropertiesFromVM
type GalleryImage
    func (gi GalleryImage) MarshalJSON() ([]byte, error)
    func (gi *GalleryImage) UnmarshalJSON(body []byte) error
type GalleryImageClient
    func NewGalleryImageClient(subscriptionID string) GalleryImageClient
    func NewGalleryImageClientWithBaseURI(baseURI string, subscriptionID string) GalleryImageClient
    func (client GalleryImageClient) List(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderBy string) (result ResponseWithContinuationGalleryImagePage, err error)
    func (client GalleryImageClient) ListComplete(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderBy string) (result ResponseWithContinuationGalleryImageIterator, err error)
    func (client GalleryImageClient) ListPreparer(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderBy string) (*http.Request, error)
    func (client GalleryImageClient) ListResponder(resp *http.Response) (result ResponseWithContinuationGalleryImage, err error)
    func (client GalleryImageClient) ListSender(req *http.Request) (*http.Response, error)
type GalleryImageProperties
type GalleryImageReference
type GenerateArmTemplateRequest
type GenerateUploadURIParameter
type GenerateUploadURIResponse
type HourDetails
type Lab
    func (l Lab) MarshalJSON() ([]byte, error)
    func (l *Lab) UnmarshalJSON(body []byte) error
type LabClient
    func NewLabClient(subscriptionID string) LabClient
    func NewLabClientWithBaseURI(baseURI string, subscriptionID string) LabClient
    func (client LabClient) CreateEnvironment(ctx context.Context, resourceGroupName string, name string, labVirtualMachine LabVirtualMachine) (result LabCreateEnvironmentFuture, err error)
    func (client LabClient) CreateEnvironmentPreparer(ctx context.Context, resourceGroupName string, name string, labVirtualMachine LabVirtualMachine) (*http.Request, error)
    func (client LabClient) CreateEnvironmentResponder(resp *http.Response) (result autorest.Response, err error)
    func (client LabClient) CreateEnvironmentSender(req *http.Request) (future LabCreateEnvironmentFuture, err error)
    func (client LabClient) CreateOrUpdateResource(ctx context.Context, resourceGroupName string, name string, lab Lab) (result LabCreateOrUpdateResourceFuture, err error)
    func (client LabClient) CreateOrUpdateResourcePreparer(ctx context.Context, resourceGroupName string, name string, lab Lab) (*http.Request, error)
    func (client LabClient) CreateOrUpdateResourceResponder(resp *http.Response) (result Lab, err error)
    func (client LabClient) CreateOrUpdateResourceSender(req *http.Request) (future LabCreateOrUpdateResourceFuture, err error)
    func (client LabClient) DeleteResource(ctx context.Context, resourceGroupName string, name string) (result LabDeleteResourceFuture, err error)
    func (client LabClient) DeleteResourcePreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
    func (client LabClient) DeleteResourceResponder(resp *http.Response) (result autorest.Response, err error)
    func (client LabClient) DeleteResourceSender(req *http.Request) (future LabDeleteResourceFuture, err error)
    func (client LabClient) GenerateUploadURI(ctx context.Context, resourceGroupName string, name string, generateUploadURIParameter GenerateUploadURIParameter) (result GenerateUploadURIResponse, err error)
    func (client LabClient) GenerateUploadURIPreparer(ctx context.Context, resourceGroupName string, name string, generateUploadURIParameter GenerateUploadURIParameter) (*http.Request, error)
    func (client LabClient) GenerateUploadURIResponder(resp *http.Response) (result GenerateUploadURIResponse, err error)
    func (client LabClient) GenerateUploadURISender(req *http.Request) (*http.Response, error)
    func (client LabClient) GetResource(ctx context.Context, resourceGroupName string, name string) (result Lab, err error)
    func (client LabClient) GetResourcePreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
    func (client LabClient) GetResourceResponder(resp *http.Response) (result Lab, err error)
    func (client LabClient) GetResourceSender(req *http.Request) (*http.Response, error)
    func (client LabClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, filter string, top *int32, orderBy string) (result ResponseWithContinuationLabPage, err error)
    func (client LabClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, filter string, top *int32, orderBy string) (result ResponseWithContinuationLabIterator, err error)
    func (client LabClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, filter string, top *int32, orderBy string) (*http.Request, error)
    func (client LabClient) ListByResourceGroupResponder(resp *http.Response) (result ResponseWithContinuationLab, err error)
    func (client LabClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
    func (client LabClient) ListBySubscription(ctx context.Context, filter string, top *int32, orderBy string) (result ResponseWithContinuationLabPage, err error)
    func (client LabClient) ListBySubscriptionComplete(ctx context.Context, filter string, top *int32, orderBy string) (result ResponseWithContinuationLabIterator, err error)
    func (client LabClient) ListBySubscriptionPreparer(ctx context.Context, filter string, top *int32, orderBy string) (*http.Request, error)
    func (client LabClient) ListBySubscriptionResponder(resp *http.Response) (result ResponseWithContinuationLab, err error)
    func (client LabClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
    func (client LabClient) ListVhds(ctx context.Context, resourceGroupName string, name string) (result ResponseWithContinuationLabVhdPage, err error)
    func (client LabClient) ListVhdsComplete(ctx context.Context, resourceGroupName string, name string) (result ResponseWithContinuationLabVhdIterator, err error)
    func (client LabClient) ListVhdsPreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error)
    func (client LabClient) ListVhdsResponder(resp *http.Response) (result ResponseWithContinuationLabVhd, err error)
    func (client LabClient) ListVhdsSender(req *http.Request) (*http.Response, error)
    func (client LabClient) PatchResource(ctx context.Context, resourceGroupName string, name string, lab Lab) (result Lab, err error)
    func (client LabClient) PatchResourcePreparer(ctx context.Context, resourceGroupName string, name string, lab Lab) (*http.Request, error)
    func (client LabClient) PatchResourceResponder(resp *http.Response) (result Lab, err error)
    func (client LabClient) PatchResourceSender(req *http.Request) (*http.Response, error)
type LabCreateEnvironmentFuture
    func (future *LabCreateEnvironmentFuture) UnmarshalJSON(body []byte) error
type LabCreateOrUpdateResourceFuture
    func (future *LabCreateOrUpdateResourceFuture) UnmarshalJSON(body []byte) error
type LabDeleteResourceFuture
    func (future *LabDeleteResourceFuture) UnmarshalJSON(body []byte) error
type LabProperties
type LabStorageType
    func PossibleLabStorageTypeValues() []LabStorageType
type LabVhd
type LabVirtualMachine
    func (lvm LabVirtualMachine) MarshalJSON() ([]byte, error)
    func (lvm *LabVirtualMachine) UnmarshalJSON(body []byte) error
type LabVirtualMachineProperties
type LinuxOsInfo
type LinuxOsState
    func PossibleLinuxOsStateValues() []LinuxOsState
type ParameterInfo
type Policy
    func (p Policy) MarshalJSON() ([]byte, error)
    func (p *Policy) UnmarshalJSON(body []byte) error
type PolicyClient
    func NewPolicyClient(subscriptionID string) PolicyClient
    func NewPolicyClientWithBaseURI(baseURI string, subscriptionID string) PolicyClient
    func (client PolicyClient) CreateOrUpdateResource(ctx context.Context, resourceGroupName string, labName string, policySetName string, name string, policy Policy) (result Policy, err error)
    func (client PolicyClient) CreateOrUpdateResourcePreparer(ctx context.Context, resourceGroupName string, labName string, policySetName string, name string, policy Policy) (*http.Request, error)
    func (client PolicyClient) CreateOrUpdateResourceResponder(resp *http.Response) (result Policy, err error)
    func (client PolicyClient) CreateOrUpdateResourceSender(req *http.Request) (*http.Response, error)
    func (client PolicyClient) DeleteResource(ctx context.Context, resourceGroupName string, labName string, policySetName string, name string) (result autorest.Response, err error)
    func (client PolicyClient) DeleteResourcePreparer(ctx context.Context, resourceGroupName string, labName string, policySetName string, name string) (*http.Request, error)
    func (client PolicyClient) DeleteResourceResponder(resp *http.Response) (result autorest.Response, err error)
    func (client PolicyClient) DeleteResourceSender(req *http.Request) (*http.Response, error)
    func (client PolicyClient) GetResource(ctx context.Context, resourceGroupName string, labName string, policySetName string, name string) (result Policy, err error)
    func (client PolicyClient) GetResourcePreparer(ctx context.Context, resourceGroupName string, labName string, policySetName string, name string) (*http.Request, error)
    func (client PolicyClient) GetResourceResponder(resp *http.Response) (result Policy, err error)
    func (client PolicyClient) GetResourceSender(req *http.Request) (*http.Response, error)
    func (client PolicyClient) List(ctx context.Context, resourceGroupName string, labName string, policySetName string, filter string, top *int32, orderBy string) (result ResponseWithContinuationPolicyPage, err error)
    func (client PolicyClient) ListComplete(ctx context.Context, resourceGroupName string, labName string, policySetName string, filter string, top *int32, orderBy string) (result ResponseWithContinuationPolicyIterator, err error)
    func (client PolicyClient) ListPreparer(ctx context.Context, resourceGroupName string, labName string, policySetName string, filter string, top *int32, orderBy string) (*http.Request, error)
    func (client PolicyClient) ListResponder(resp *http.Response) (result ResponseWithContinuationPolicy, err error)
    func (client PolicyClient) ListSender(req *http.Request) (*http.Response, error)
    func (client PolicyClient) PatchResource(ctx context.Context, resourceGroupName string, labName string, policySetName string, name string, policy Policy) (result Policy, err error)
    func (client PolicyClient) PatchResourcePreparer(ctx context.Context, resourceGroupName string, labName string, policySetName string, name string, policy Policy) (*http.Request, error)
    func (client PolicyClient) PatchResourceResponder(resp *http.Response) (result Policy, err error)
    func (client PolicyClient) PatchResourceSender(req *http.Request) (*http.Response, error)
type PolicyEvaluatorType
    func PossiblePolicyEvaluatorTypeValues() []PolicyEvaluatorType
type PolicyFactName
    func PossiblePolicyFactNameValues() []PolicyFactName
type PolicyProperties
type PolicySetClient
    func NewPolicySetClient(subscriptionID string) PolicySetClient
    func NewPolicySetClientWithBaseURI(baseURI string, subscriptionID string) PolicySetClient
    func (client PolicySetClient) EvaluatePolicies(ctx context.Context, resourceGroupName string, labName string, name string, evaluatePoliciesRequest EvaluatePoliciesRequest) (result EvaluatePoliciesResponse, err error)
    func (client PolicySetClient) EvaluatePoliciesPreparer(ctx context.Context, resourceGroupName string, labName string, name string, evaluatePoliciesRequest EvaluatePoliciesRequest) (*http.Request, error)
    func (client PolicySetClient) EvaluatePoliciesResponder(resp *http.Response) (result EvaluatePoliciesResponse, err error)
    func (client PolicySetClient) EvaluatePoliciesSender(req *http.Request) (*http.Response, error)
type PolicySetResult
type PolicyStatus
    func PossiblePolicyStatusValues() []PolicyStatus
type PolicyViolation
type ResponseWithContinuationArtifact
    func (rwcA ResponseWithContinuationArtifact) IsEmpty() bool
type ResponseWithContinuationArtifactIterator
    func NewResponseWithContinuationArtifactIterator(page ResponseWithContinuationArtifactPage) ResponseWithContinuationArtifactIterator
    func (iter *ResponseWithContinuationArtifactIterator) Next() error
    func (iter *ResponseWithContinuationArtifactIterator) NextWithContext(ctx context.Context) (err error)
    func (iter ResponseWithContinuationArtifactIterator) NotDone() bool
    func (iter ResponseWithContinuationArtifactIterator) Response() ResponseWithContinuationArtifact
    func (iter ResponseWithContinuationArtifactIterator) Value() Artifact
type ResponseWithContinuationArtifactPage
    func NewResponseWithContinuationArtifactPage(cur ResponseWithContinuationArtifact, getNextPage func(context.Context, ResponseWithContinuationArtifact) (ResponseWithContinuationArtifact, error)) ResponseWithContinuationArtifactPage
    func (page *ResponseWithContinuationArtifactPage) Next() error
    func (page *ResponseWithContinuationArtifactPage) NextWithContext(ctx context.Context) (err error)
    func (page ResponseWithContinuationArtifactPage) NotDone() bool
    func (page ResponseWithContinuationArtifactPage) Response() ResponseWithContinuationArtifact
    func (page ResponseWithContinuationArtifactPage) Values() []Artifact
type ResponseWithContinuationArtifactSource
    func (rwcAs ResponseWithContinuationArtifactSource) IsEmpty() bool
type ResponseWithContinuationArtifactSourceIterator
    func NewResponseWithContinuationArtifactSourceIterator(page ResponseWithContinuationArtifactSourcePage) ResponseWithContinuationArtifactSourceIterator
    func (iter *ResponseWithContinuationArtifactSourceIterator) Next() error
    func (iter *ResponseWithContinuationArtifactSourceIterator) NextWithContext(ctx context.Context) (err error)
    func (iter ResponseWithContinuationArtifactSourceIterator) NotDone() bool
    func (iter ResponseWithContinuationArtifactSourceIterator) Response() ResponseWithContinuationArtifactSource
    func (iter ResponseWithContinuationArtifactSourceIterator) Value() ArtifactSource
type ResponseWithContinuationArtifactSourcePage
    func NewResponseWithContinuationArtifactSourcePage(cur ResponseWithContinuationArtifactSource, getNextPage func(context.Context, ResponseWithContinuationArtifactSource) (ResponseWithContinuationArtifactSource, error)) ResponseWithContinuationArtifactSourcePage
    func (page *ResponseWithContinuationArtifactSourcePage) Next() error
    func (page *ResponseWithContinuationArtifactSourcePage) NextWithContext(ctx context.Context) (err error)
    func (page ResponseWithContinuationArtifactSourcePage) NotDone() bool
    func (page ResponseWithContinuationArtifactSourcePage) Response() ResponseWithContinuationArtifactSource
    func (page ResponseWithContinuationArtifactSourcePage) Values() []ArtifactSource
type ResponseWithContinuationCost
    func (rwcC ResponseWithContinuationCost) IsEmpty() bool
type ResponseWithContinuationCostInsight
    func (rwcCi ResponseWithContinuationCostInsight) IsEmpty() bool
type ResponseWithContinuationCostInsightIterator
    func NewResponseWithContinuationCostInsightIterator(page ResponseWithContinuationCostInsightPage) ResponseWithContinuationCostInsightIterator
    func (iter *ResponseWithContinuationCostInsightIterator) Next() error
    func (iter *ResponseWithContinuationCostInsightIterator) NextWithContext(ctx context.Context) (err error)
    func (iter ResponseWithContinuationCostInsightIterator) NotDone() bool
    func (iter ResponseWithContinuationCostInsightIterator) Response() ResponseWithContinuationCostInsight
    func (iter ResponseWithContinuationCostInsightIterator) Value() CostInsight
type ResponseWithContinuationCostInsightPage
    func NewResponseWithContinuationCostInsightPage(cur ResponseWithContinuationCostInsight, getNextPage func(context.Context, ResponseWithContinuationCostInsight) (ResponseWithContinuationCostInsight, error)) ResponseWithContinuationCostInsightPage
    func (page *ResponseWithContinuationCostInsightPage) Next() error
    func (page *ResponseWithContinuationCostInsightPage) NextWithContext(ctx context.Context) (err error)
    func (page ResponseWithContinuationCostInsightPage) NotDone() bool
    func (page ResponseWithContinuationCostInsightPage) Response() ResponseWithContinuationCostInsight
    func (page ResponseWithContinuationCostInsightPage) Values() []CostInsight
type ResponseWithContinuationCostIterator
    func NewResponseWithContinuationCostIterator(page ResponseWithContinuationCostPage) ResponseWithContinuationCostIterator
    func (iter *ResponseWithContinuationCostIterator) Next() error
    func (iter *ResponseWithContinuationCostIterator) NextWithContext(ctx context.Context) (err error)
    func (iter ResponseWithContinuationCostIterator) NotDone() bool
    func (iter ResponseWithContinuationCostIterator) Response() ResponseWithContinuationCost
    func (iter ResponseWithContinuationCostIterator) Value() Cost
type ResponseWithContinuationCostPage
    func NewResponseWithContinuationCostPage(cur ResponseWithContinuationCost, getNextPage func(context.Context, ResponseWithContinuationCost) (ResponseWithContinuationCost, error)) ResponseWithContinuationCostPage
    func (page *ResponseWithContinuationCostPage) Next() error
    func (page *ResponseWithContinuationCostPage) NextWithContext(ctx context.Context) (err error)
    func (page ResponseWithContinuationCostPage) NotDone() bool
    func (page ResponseWithContinuationCostPage) Response() ResponseWithContinuationCost
    func (page ResponseWithContinuationCostPage) Values() []Cost
type ResponseWithContinuationCustomImage
    func (rwcCi ResponseWithContinuationCustomImage) IsEmpty() bool
type ResponseWithContinuationCustomImageIterator
    func NewResponseWithContinuationCustomImageIterator(page ResponseWithContinuationCustomImagePage) ResponseWithContinuationCustomImageIterator
    func (iter *ResponseWithContinuationCustomImageIterator) Next() error
    func (iter *ResponseWithContinuationCustomImageIterator) NextWithContext(ctx context.Context) (err error)
    func (iter ResponseWithContinuationCustomImageIterator) NotDone() bool
    func (iter ResponseWithContinuationCustomImageIterator) Response() ResponseWithContinuationCustomImage
    func (iter ResponseWithContinuationCustomImageIterator) Value() CustomImage
type ResponseWithContinuationCustomImagePage
    func NewResponseWithContinuationCustomImagePage(cur ResponseWithContinuationCustomImage, getNextPage func(context.Context, ResponseWithContinuationCustomImage) (ResponseWithContinuationCustomImage, error)) ResponseWithContinuationCustomImagePage
    func (page *ResponseWithContinuationCustomImagePage) Next() error
    func (page *ResponseWithContinuationCustomImagePage) NextWithContext(ctx context.Context) (err error)
    func (page ResponseWithContinuationCustomImagePage) NotDone() bool
    func (page ResponseWithContinuationCustomImagePage) Response() ResponseWithContinuationCustomImage
    func (page ResponseWithContinuationCustomImagePage) Values() []CustomImage
type ResponseWithContinuationFormula
    func (rwcF ResponseWithContinuationFormula) IsEmpty() bool
type ResponseWithContinuationFormulaIterator
    func NewResponseWithContinuationFormulaIterator(page ResponseWithContinuationFormulaPage) ResponseWithContinuationFormulaIterator
    func (iter *ResponseWithContinuationFormulaIterator) Next() error
    func (iter *ResponseWithContinuationFormulaIterator) NextWithContext(ctx context.Context) (err error)
    func (iter ResponseWithContinuationFormulaIterator) NotDone() bool
    func (iter ResponseWithContinuationFormulaIterator) Response() ResponseWithContinuationFormula
    func (iter ResponseWithContinuationFormulaIterator) Value() Formula
type ResponseWithContinuationFormulaPage
    func NewResponseWithContinuationFormulaPage(cur ResponseWithContinuationFormula, getNextPage func(context.Context, ResponseWithContinuationFormula) (ResponseWithContinuationFormula, error)) ResponseWithContinuationFormulaPage
    func (page *ResponseWithContinuationFormulaPage) Next() error
    func (page *ResponseWithContinuationFormulaPage) NextWithContext(ctx context.Context) (err error)
    func (page ResponseWithContinuationFormulaPage) NotDone() bool
    func (page ResponseWithContinuationFormulaPage) Response() ResponseWithContinuationFormula
    func (page ResponseWithContinuationFormulaPage) Values() []Formula
type ResponseWithContinuationGalleryImage
    func (rwcGi ResponseWithContinuationGalleryImage) IsEmpty() bool
type ResponseWithContinuationGalleryImageIterator
    func NewResponseWithContinuationGalleryImageIterator(page ResponseWithContinuationGalleryImagePage) ResponseWithContinuationGalleryImageIterator
    func (iter *ResponseWithContinuationGalleryImageIterator) Next() error
    func (iter *ResponseWithContinuationGalleryImageIterator) NextWithContext(ctx context.Context) (err error)
    func (iter ResponseWithContinuationGalleryImageIterator) NotDone() bool
    func (iter ResponseWithContinuationGalleryImageIterator) Response() ResponseWithContinuationGalleryImage
    func (iter ResponseWithContinuationGalleryImageIterator) Value() GalleryImage
type ResponseWithContinuationGalleryImagePage
    func NewResponseWithContinuationGalleryImagePage(cur ResponseWithContinuationGalleryImage, getNextPage func(context.Context, ResponseWithContinuationGalleryImage) (ResponseWithContinuationGalleryImage, error)) ResponseWithContinuationGalleryImagePage
    func (page *ResponseWithContinuationGalleryImagePage) Next() error
    func (page *ResponseWithContinuationGalleryImagePage) NextWithContext(ctx context.Context) (err error)
    func (page ResponseWithContinuationGalleryImagePage) NotDone() bool
    func (page ResponseWithContinuationGalleryImagePage) Response() ResponseWithContinuationGalleryImage
    func (page ResponseWithContinuationGalleryImagePage) Values() []GalleryImage
type ResponseWithContinuationLab
    func (rwcL ResponseWithContinuationLab) IsEmpty() bool
type ResponseWithContinuationLabIterator
    func NewResponseWithContinuationLabIterator(page ResponseWithContinuationLabPage) ResponseWithContinuationLabIterator
    func (iter *ResponseWithContinuationLabIterator) Next() error
    func (iter *ResponseWithContinuationLabIterator) NextWithContext(ctx context.Context) (err error)
    func (iter ResponseWithContinuationLabIterator) NotDone() bool
    func (iter ResponseWithContinuationLabIterator) Response() ResponseWithContinuationLab
    func (iter ResponseWithContinuationLabIterator) Value() Lab
type ResponseWithContinuationLabPage
    func NewResponseWithContinuationLabPage(cur ResponseWithContinuationLab, getNextPage func(context.Context, ResponseWithContinuationLab) (ResponseWithContinuationLab, error)) ResponseWithContinuationLabPage
    func (page *ResponseWithContinuationLabPage) Next() error
    func (page *ResponseWithContinuationLabPage) NextWithContext(ctx context.Context) (err error)
    func (page ResponseWithContinuationLabPage) NotDone() bool
    func (page ResponseWithContinuationLabPage) Response() ResponseWithContinuationLab
    func (page ResponseWithContinuationLabPage) Values() []Lab
type ResponseWithContinuationLabVhd
    func (rwcLv ResponseWithContinuationLabVhd) IsEmpty() bool
type ResponseWithContinuationLabVhdIterator
    func NewResponseWithContinuationLabVhdIterator(page ResponseWithContinuationLabVhdPage) ResponseWithContinuationLabVhdIterator
    func (iter *ResponseWithContinuationLabVhdIterator) Next() error
    func (iter *ResponseWithContinuationLabVhdIterator) NextWithContext(ctx context.Context) (err error)
    func (iter ResponseWithContinuationLabVhdIterator) NotDone() bool
    func (iter ResponseWithContinuationLabVhdIterator) Response() ResponseWithContinuationLabVhd
    func (iter ResponseWithContinuationLabVhdIterator) Value() LabVhd
type ResponseWithContinuationLabVhdPage
    func NewResponseWithContinuationLabVhdPage(cur ResponseWithContinuationLabVhd, getNextPage func(context.Context, ResponseWithContinuationLabVhd) (ResponseWithContinuationLabVhd, error)) ResponseWithContinuationLabVhdPage
    func (page *ResponseWithContinuationLabVhdPage) Next() error
    func (page *ResponseWithContinuationLabVhdPage) NextWithContext(ctx context.Context) (err error)
    func (page ResponseWithContinuationLabVhdPage) NotDone() bool
    func (page ResponseWithContinuationLabVhdPage) Response() ResponseWithContinuationLabVhd
    func (page ResponseWithContinuationLabVhdPage) Values() []LabVhd
type ResponseWithContinuationLabVirtualMachine
    func (rwcLvm ResponseWithContinuationLabVirtualMachine) IsEmpty() bool
type ResponseWithContinuationLabVirtualMachineIterator
    func NewResponseWithContinuationLabVirtualMachineIterator(page ResponseWithContinuationLabVirtualMachinePage) ResponseWithContinuationLabVirtualMachineIterator
    func (iter *ResponseWithContinuationLabVirtualMachineIterator) Next() error
    func (iter *ResponseWithContinuationLabVirtualMachineIterator) NextWithContext(ctx context.Context) (err error)
    func (iter ResponseWithContinuationLabVirtualMachineIterator) NotDone() bool
    func (iter ResponseWithContinuationLabVirtualMachineIterator) Response() ResponseWithContinuationLabVirtualMachine
    func (iter ResponseWithContinuationLabVirtualMachineIterator) Value() LabVirtualMachine
type ResponseWithContinuationLabVirtualMachinePage
    func NewResponseWithContinuationLabVirtualMachinePage(cur ResponseWithContinuationLabVirtualMachine, getNextPage func(context.Context, ResponseWithContinuationLabVirtualMachine) (ResponseWithContinuationLabVirtualMachine, error)) ResponseWithContinuationLabVirtualMachinePage
    func (page *ResponseWithContinuationLabVirtualMachinePage) Next() error
    func (page *ResponseWithContinuationLabVirtualMachinePage) NextWithContext(ctx context.Context) (err error)
    func (page ResponseWithContinuationLabVirtualMachinePage) NotDone() bool
    func (page ResponseWithContinuationLabVirtualMachinePage) Response() ResponseWithContinuationLabVirtualMachine
    func (page ResponseWithContinuationLabVirtualMachinePage) Values() []LabVirtualMachine
type ResponseWithContinuationPolicy
    func (rwcP ResponseWithContinuationPolicy) IsEmpty() bool
type ResponseWithContinuationPolicyIterator
    func NewResponseWithContinuationPolicyIterator(page ResponseWithContinuationPolicyPage) ResponseWithContinuationPolicyIterator
    func (iter *ResponseWithContinuationPolicyIterator) Next() error
    func (iter *ResponseWithContinuationPolicyIterator) NextWithContext(ctx context.Context) (err error)
    func (iter ResponseWithContinuationPolicyIterator) NotDone() bool
    func (iter ResponseWithContinuationPolicyIterator) Response() ResponseWithContinuationPolicy
    func (iter ResponseWithContinuationPolicyIterator) Value() Policy
type ResponseWithContinuationPolicyPage
    func NewResponseWithContinuationPolicyPage(cur ResponseWithContinuationPolicy, getNextPage func(context.Context, ResponseWithContinuationPolicy) (ResponseWithContinuationPolicy, error)) ResponseWithContinuationPolicyPage
    func (page *ResponseWithContinuationPolicyPage) Next() error
    func (page *ResponseWithContinuationPolicyPage) NextWithContext(ctx context.Context) (err error)
    func (page ResponseWithContinuationPolicyPage) NotDone() bool
    func (page ResponseWithContinuationPolicyPage) Response() ResponseWithContinuationPolicy
    func (page ResponseWithContinuationPolicyPage) Values() []Policy
type ResponseWithContinuationSchedule
    func (rwcS ResponseWithContinuationSchedule) IsEmpty() bool
type ResponseWithContinuationScheduleIterator
    func NewResponseWithContinuationScheduleIterator(page ResponseWithContinuationSchedulePage) ResponseWithContinuationScheduleIterator
    func (iter *ResponseWithContinuationScheduleIterator) Next() error
    func (iter *ResponseWithContinuationScheduleIterator) NextWithContext(ctx context.Context) (err error)
    func (iter ResponseWithContinuationScheduleIterator) NotDone() bool
    func (iter ResponseWithContinuationScheduleIterator) Response() ResponseWithContinuationSchedule
    func (iter ResponseWithContinuationScheduleIterator) Value() Schedule
type ResponseWithContinuationSchedulePage
    func NewResponseWithContinuationSchedulePage(cur ResponseWithContinuationSchedule, getNextPage func(context.Context, ResponseWithContinuationSchedule) (ResponseWithContinuationSchedule, error)) ResponseWithContinuationSchedulePage
    func (page *ResponseWithContinuationSchedulePage) Next() error
    func (page *ResponseWithContinuationSchedulePage) NextWithContext(ctx context.Context) (err error)
    func (page ResponseWithContinuationSchedulePage) NotDone() bool
    func (page ResponseWithContinuationSchedulePage) Response() ResponseWithContinuationSchedule
    func (page ResponseWithContinuationSchedulePage) Values() []Schedule
type ResponseWithContinuationVirtualNetwork
    func (rwcVn ResponseWithContinuationVirtualNetwork) IsEmpty() bool
type ResponseWithContinuationVirtualNetworkIterator
    func NewResponseWithContinuationVirtualNetworkIterator(page ResponseWithContinuationVirtualNetworkPage) ResponseWithContinuationVirtualNetworkIterator
    func (iter *ResponseWithContinuationVirtualNetworkIterator) Next() error
    func (iter *ResponseWithContinuationVirtualNetworkIterator) NextWithContext(ctx context.Context) (err error)
    func (iter ResponseWithContinuationVirtualNetworkIterator) NotDone() bool
    func (iter ResponseWithContinuationVirtualNetworkIterator) Response() ResponseWithContinuationVirtualNetwork
    func (iter ResponseWithContinuationVirtualNetworkIterator) Value() VirtualNetwork
type ResponseWithContinuationVirtualNetworkPage
    func NewResponseWithContinuationVirtualNetworkPage(cur ResponseWithContinuationVirtualNetwork, getNextPage func(context.Context, ResponseWithContinuationVirtualNetwork) (ResponseWithContinuationVirtualNetwork, error)) ResponseWithContinuationVirtualNetworkPage
    func (page *ResponseWithContinuationVirtualNetworkPage) Next() error
    func (page *ResponseWithContinuationVirtualNetworkPage) NextWithContext(ctx context.Context) (err error)
    func (page ResponseWithContinuationVirtualNetworkPage) NotDone() bool
    func (page ResponseWithContinuationVirtualNetworkPage) Response() ResponseWithContinuationVirtualNetwork
    func (page ResponseWithContinuationVirtualNetworkPage) Values() []VirtualNetwork
type Schedule
    func (s Schedule) MarshalJSON() ([]byte, error)
    func (s *Schedule) UnmarshalJSON(body []byte) error
type ScheduleClient
    func NewScheduleClient(subscriptionID string) ScheduleClient
    func NewScheduleClientWithBaseURI(baseURI string, subscriptionID string) ScheduleClient
    func (client ScheduleClient) CreateOrUpdateResource(ctx context.Context, resourceGroupName string, labName string, name string, schedule Schedule) (result ScheduleCreateOrUpdateResourceFuture, err error)
    func (client ScheduleClient) CreateOrUpdateResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string, schedule Schedule) (*http.Request, error)
    func (client ScheduleClient) CreateOrUpdateResourceResponder(resp *http.Response) (result Schedule, err error)
    func (client ScheduleClient) CreateOrUpdateResourceSender(req *http.Request) (future ScheduleCreateOrUpdateResourceFuture, err error)
    func (client ScheduleClient) DeleteResource(ctx context.Context, resourceGroupName string, labName string, name string) (result ScheduleDeleteResourceFuture, err error)
    func (client ScheduleClient) DeleteResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string) (*http.Request, error)
    func (client ScheduleClient) DeleteResourceResponder(resp *http.Response) (result autorest.Response, err error)
    func (client ScheduleClient) DeleteResourceSender(req *http.Request) (future ScheduleDeleteResourceFuture, err error)
    func (client ScheduleClient) Execute(ctx context.Context, resourceGroupName string, labName string, name string) (result ScheduleExecuteFuture, err error)
    func (client ScheduleClient) ExecutePreparer(ctx context.Context, resourceGroupName string, labName string, name string) (*http.Request, error)
    func (client ScheduleClient) ExecuteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client ScheduleClient) ExecuteSender(req *http.Request) (future ScheduleExecuteFuture, err error)
    func (client ScheduleClient) GetResource(ctx context.Context, resourceGroupName string, labName string, name string) (result Schedule, err error)
    func (client ScheduleClient) GetResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string) (*http.Request, error)
    func (client ScheduleClient) GetResourceResponder(resp *http.Response) (result Schedule, err error)
    func (client ScheduleClient) GetResourceSender(req *http.Request) (*http.Response, error)
    func (client ScheduleClient) List(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderBy string) (result ResponseWithContinuationSchedulePage, err error)
    func (client ScheduleClient) ListComplete(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderBy string) (result ResponseWithContinuationScheduleIterator, err error)
    func (client ScheduleClient) ListPreparer(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderBy string) (*http.Request, error)
    func (client ScheduleClient) ListResponder(resp *http.Response) (result ResponseWithContinuationSchedule, err error)
    func (client ScheduleClient) ListSender(req *http.Request) (*http.Response, error)
    func (client ScheduleClient) PatchResource(ctx context.Context, resourceGroupName string, labName string, name string, schedule Schedule) (result Schedule, err error)
    func (client ScheduleClient) PatchResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string, schedule Schedule) (*http.Request, error)
    func (client ScheduleClient) PatchResourceResponder(resp *http.Response) (result Schedule, err error)
    func (client ScheduleClient) PatchResourceSender(req *http.Request) (*http.Response, error)
type ScheduleCreateOrUpdateResourceFuture
    func (future *ScheduleCreateOrUpdateResourceFuture) UnmarshalJSON(body []byte) error
type ScheduleDeleteResourceFuture
    func (future *ScheduleDeleteResourceFuture) UnmarshalJSON(body []byte) error
type ScheduleExecuteFuture
    func (future *ScheduleExecuteFuture) UnmarshalJSON(body []byte) error
type ScheduleProperties
type SourceControlType
    func PossibleSourceControlTypeValues() []SourceControlType
type Subnet
type SubnetOverride
type SubscriptionNotification
type SubscriptionNotificationProperties
type SubscriptionNotificationState
    func PossibleSubscriptionNotificationStateValues() []SubscriptionNotificationState
type TaskType
    func PossibleTaskTypeValues() []TaskType
type UsagePermissionType
    func PossibleUsagePermissionTypeValues() []UsagePermissionType
type VMCostProperties
type VirtualMachineApplyArtifactsFuture
    func (future *VirtualMachineApplyArtifactsFuture) UnmarshalJSON(body []byte) error
type VirtualMachineClient
    func NewVirtualMachineClient(subscriptionID string) VirtualMachineClient
    func NewVirtualMachineClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineClient
    func (client VirtualMachineClient) ApplyArtifacts(ctx context.Context, resourceGroupName string, labName string, name string, applyArtifactsRequest ApplyArtifactsRequest) (result VirtualMachineApplyArtifactsFuture, err error)
    func (client VirtualMachineClient) ApplyArtifactsPreparer(ctx context.Context, resourceGroupName string, labName string, name string, applyArtifactsRequest ApplyArtifactsRequest) (*http.Request, error)
    func (client VirtualMachineClient) ApplyArtifactsResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VirtualMachineClient) ApplyArtifactsSender(req *http.Request) (future VirtualMachineApplyArtifactsFuture, err error)
    func (client VirtualMachineClient) CreateOrUpdateResource(ctx context.Context, resourceGroupName string, labName string, name string, labVirtualMachine LabVirtualMachine) (result VirtualMachineCreateOrUpdateResourceFuture, err error)
    func (client VirtualMachineClient) CreateOrUpdateResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string, labVirtualMachine LabVirtualMachine) (*http.Request, error)
    func (client VirtualMachineClient) CreateOrUpdateResourceResponder(resp *http.Response) (result LabVirtualMachine, err error)
    func (client VirtualMachineClient) CreateOrUpdateResourceSender(req *http.Request) (future VirtualMachineCreateOrUpdateResourceFuture, err error)
    func (client VirtualMachineClient) DeleteResource(ctx context.Context, resourceGroupName string, labName string, name string) (result VirtualMachineDeleteResourceFuture, err error)
    func (client VirtualMachineClient) DeleteResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string) (*http.Request, error)
    func (client VirtualMachineClient) DeleteResourceResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VirtualMachineClient) DeleteResourceSender(req *http.Request) (future VirtualMachineDeleteResourceFuture, err error)
    func (client VirtualMachineClient) GetResource(ctx context.Context, resourceGroupName string, labName string, name string) (result LabVirtualMachine, err error)
    func (client VirtualMachineClient) GetResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string) (*http.Request, error)
    func (client VirtualMachineClient) GetResourceResponder(resp *http.Response) (result LabVirtualMachine, err error)
    func (client VirtualMachineClient) GetResourceSender(req *http.Request) (*http.Response, error)
    func (client VirtualMachineClient) List(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderBy string) (result ResponseWithContinuationLabVirtualMachinePage, err error)
    func (client VirtualMachineClient) ListComplete(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderBy string) (result ResponseWithContinuationLabVirtualMachineIterator, err error)
    func (client VirtualMachineClient) ListPreparer(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderBy string) (*http.Request, error)
    func (client VirtualMachineClient) ListResponder(resp *http.Response) (result ResponseWithContinuationLabVirtualMachine, err error)
    func (client VirtualMachineClient) ListSender(req *http.Request) (*http.Response, error)
    func (client VirtualMachineClient) PatchResource(ctx context.Context, resourceGroupName string, labName string, name string, labVirtualMachine LabVirtualMachine) (result LabVirtualMachine, err error)
    func (client VirtualMachineClient) PatchResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string, labVirtualMachine LabVirtualMachine) (*http.Request, error)
    func (client VirtualMachineClient) PatchResourceResponder(resp *http.Response) (result LabVirtualMachine, err error)
    func (client VirtualMachineClient) PatchResourceSender(req *http.Request) (*http.Response, error)
    func (client VirtualMachineClient) Start(ctx context.Context, resourceGroupName string, labName string, name string) (result VirtualMachineStartFuture, err error)
    func (client VirtualMachineClient) StartPreparer(ctx context.Context, resourceGroupName string, labName string, name string) (*http.Request, error)
    func (client VirtualMachineClient) StartResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VirtualMachineClient) StartSender(req *http.Request) (future VirtualMachineStartFuture, err error)
    func (client VirtualMachineClient) Stop(ctx context.Context, resourceGroupName string, labName string, name string) (result VirtualMachineStopFuture, err error)
    func (client VirtualMachineClient) StopPreparer(ctx context.Context, resourceGroupName string, labName string, name string) (*http.Request, error)
    func (client VirtualMachineClient) StopResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VirtualMachineClient) StopSender(req *http.Request) (future VirtualMachineStopFuture, err error)
type VirtualMachineCreateOrUpdateResourceFuture
    func (future *VirtualMachineCreateOrUpdateResourceFuture) UnmarshalJSON(body []byte) error
type VirtualMachineDeleteResourceFuture
    func (future *VirtualMachineDeleteResourceFuture) UnmarshalJSON(body []byte) error
type VirtualMachineStartFuture
    func (future *VirtualMachineStartFuture) UnmarshalJSON(body []byte) error
type VirtualMachineStopFuture
    func (future *VirtualMachineStopFuture) UnmarshalJSON(body []byte) error
type VirtualNetwork
    func (vn VirtualNetwork) MarshalJSON() ([]byte, error)
    func (vn *VirtualNetwork) UnmarshalJSON(body []byte) error
type VirtualNetworkClient
    func NewVirtualNetworkClient(subscriptionID string) VirtualNetworkClient
    func NewVirtualNetworkClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworkClient
    func (client VirtualNetworkClient) CreateOrUpdateResource(ctx context.Context, resourceGroupName string, labName string, name string, virtualNetwork VirtualNetwork) (result VirtualNetworkCreateOrUpdateResourceFuture, err error)
    func (client VirtualNetworkClient) CreateOrUpdateResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string, virtualNetwork VirtualNetwork) (*http.Request, error)
    func (client VirtualNetworkClient) CreateOrUpdateResourceResponder(resp *http.Response) (result VirtualNetwork, err error)
    func (client VirtualNetworkClient) CreateOrUpdateResourceSender(req *http.Request) (future VirtualNetworkCreateOrUpdateResourceFuture, err error)
    func (client VirtualNetworkClient) DeleteResource(ctx context.Context, resourceGroupName string, labName string, name string) (result VirtualNetworkDeleteResourceFuture, err error)
    func (client VirtualNetworkClient) DeleteResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string) (*http.Request, error)
    func (client VirtualNetworkClient) DeleteResourceResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VirtualNetworkClient) DeleteResourceSender(req *http.Request) (future VirtualNetworkDeleteResourceFuture, err error)
    func (client VirtualNetworkClient) GetResource(ctx context.Context, resourceGroupName string, labName string, name string) (result VirtualNetwork, err error)
    func (client VirtualNetworkClient) GetResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string) (*http.Request, error)
    func (client VirtualNetworkClient) GetResourceResponder(resp *http.Response) (result VirtualNetwork, err error)
    func (client VirtualNetworkClient) GetResourceSender(req *http.Request) (*http.Response, error)
    func (client VirtualNetworkClient) List(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderBy string) (result ResponseWithContinuationVirtualNetworkPage, err error)
    func (client VirtualNetworkClient) ListComplete(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderBy string) (result ResponseWithContinuationVirtualNetworkIterator, err error)
    func (client VirtualNetworkClient) ListPreparer(ctx context.Context, resourceGroupName string, labName string, filter string, top *int32, orderBy string) (*http.Request, error)
    func (client VirtualNetworkClient) ListResponder(resp *http.Response) (result ResponseWithContinuationVirtualNetwork, err error)
    func (client VirtualNetworkClient) ListSender(req *http.Request) (*http.Response, error)
    func (client VirtualNetworkClient) PatchResource(ctx context.Context, resourceGroupName string, labName string, name string, virtualNetwork VirtualNetwork) (result VirtualNetwork, err error)
    func (client VirtualNetworkClient) PatchResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string, virtualNetwork VirtualNetwork) (*http.Request, error)
    func (client VirtualNetworkClient) PatchResourceResponder(resp *http.Response) (result VirtualNetwork, err error)
    func (client VirtualNetworkClient) PatchResourceSender(req *http.Request) (*http.Response, error)
type VirtualNetworkCreateOrUpdateResourceFuture
    func (future *VirtualNetworkCreateOrUpdateResourceFuture) UnmarshalJSON(body []byte) error
type VirtualNetworkDeleteResourceFuture
    func (future *VirtualNetworkDeleteResourceFuture) UnmarshalJSON(body []byte) error
type VirtualNetworkProperties
type WeekDetails
type WindowsOsInfo
type WindowsOsState
    func PossibleWindowsOsStateValues() []WindowsOsState

Package files

artifact.go artifactsource.go client.go cost.go costinsight.go customimage.go enums.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

func UserAgent() string

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

func Version

func Version() string

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

type ApplyArtifactsRequest

ApplyArtifactsRequest request body for applying artifacts to a virtual machine.

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

type ArmTemplateInfo

ArmTemplateInfo information about a generated ARM template.

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"`
}

type Artifact

Artifact an artifact.

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"`
}

func (Artifact) MarshalJSON

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

MarshalJSON is the custom marshaler for Artifact.

func (*Artifact) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for Artifact struct.

type ArtifactClient

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

type ArtifactClient struct {
    BaseClient
}

func NewArtifactClient

func NewArtifactClient(subscriptionID string) ArtifactClient

NewArtifactClient creates an instance of the ArtifactClient client.

func NewArtifactClientWithBaseURI

func NewArtifactClientWithBaseURI(baseURI string, subscriptionID string) ArtifactClient

NewArtifactClientWithBaseURI creates an instance of the ArtifactClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ArtifactClient) GenerateArmTemplate

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

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

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

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

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

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

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

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

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

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

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

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

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

ArtifactDeploymentStatusProperties properties of an artifact deployment.

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"`
}

type ArtifactInstallProperties

ArtifactInstallProperties properties of an artifact.

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

type ArtifactParameterProperties

ArtifactParameterProperties properties of an artifact parameter.

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"`
}

type ArtifactProperties

ArtifactProperties properties of an artifact.

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"`
}

type ArtifactSource

ArtifactSource properties of an artifact source.

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"`
}

func (ArtifactSource) MarshalJSON

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

MarshalJSON is the custom marshaler for ArtifactSource.

func (*ArtifactSource) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for ArtifactSource struct.

type ArtifactSourceClient

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

type ArtifactSourceClient struct {
    BaseClient
}

func NewArtifactSourceClient

func NewArtifactSourceClient(subscriptionID string) ArtifactSourceClient

NewArtifactSourceClient creates an instance of the ArtifactSourceClient client.

func NewArtifactSourceClientWithBaseURI

func NewArtifactSourceClientWithBaseURI(baseURI string, subscriptionID string) ArtifactSourceClient

NewArtifactSourceClientWithBaseURI creates an instance of the ArtifactSourceClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ArtifactSourceClient) CreateOrUpdateResource

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

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

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

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

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

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

DeleteResourcePreparer prepares the DeleteResource request.

func (ArtifactSourceClient) DeleteResourceResponder

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

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

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

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

GetResourcePreparer prepares the GetResource request.

func (ArtifactSourceClient) GetResourceResponder

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

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

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

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

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

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

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

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

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

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

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

ArtifactSourceProperties properties of an artifact source.

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"`
}

type BaseClient

BaseClient is the base client for Dtl.

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

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

type CloudError

CloudError ...

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

type CloudErrorBody

CloudErrorBody ...

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

type Cost

Cost a cost item.

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"`
}

func (Cost) MarshalJSON

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

MarshalJSON is the custom marshaler for Cost.

func (*Cost) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for Cost struct.

type CostClient

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

type CostClient struct {
    BaseClient
}

func NewCostClient

func NewCostClient(subscriptionID string) CostClient

NewCostClient creates an instance of the CostClient client.

func NewCostClientWithBaseURI

func NewCostClientWithBaseURI(baseURI string, subscriptionID string) CostClient

NewCostClientWithBaseURI creates an instance of the CostClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (CostClient) GetResource

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

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

GetResourcePreparer prepares the GetResource request.

func (CostClient) GetResourceResponder

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

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

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

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

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

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

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

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

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

RefreshDataPreparer prepares the RefreshData request.

func (CostClient) RefreshDataResponder

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

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

CostInsight ...

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"`
}

func (CostInsight) MarshalJSON

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

MarshalJSON is the custom marshaler for CostInsight.

func (*CostInsight) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for CostInsight struct.

type CostInsightClient

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

type CostInsightClient struct {
    BaseClient
}

func NewCostInsightClient

func NewCostInsightClient(subscriptionID string) CostInsightClient

NewCostInsightClient creates an instance of the CostInsightClient client.

func NewCostInsightClientWithBaseURI

func NewCostInsightClientWithBaseURI(baseURI string, subscriptionID string) CostInsightClient

NewCostInsightClientWithBaseURI creates an instance of the CostInsightClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (CostInsightClient) GetResource

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

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

GetResourcePreparer prepares the GetResource request.

func (CostInsightClient) GetResourceResponder

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

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

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

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

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

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

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

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

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

RefreshDataPreparer prepares the RefreshData request.

func (CostInsightClient) RefreshDataResponder

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

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

CostInsightProperties ...

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"`
}

type CostInsightRefreshDataFuture

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

type CostInsightRefreshDataFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(CostInsightClient) (autorest.Response, error)
}

func (*CostInsightRefreshDataFuture) UnmarshalJSON

func (future *CostInsightRefreshDataFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type CostPerDayProperties

CostPerDayProperties the per-day properties of a cost item.

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"`
}

type CostProperties

CostProperties properties of a cost item.

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"`
}

type CostPropertyType

CostPropertyType enumerates the values for cost property type.

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

func PossibleCostPropertyTypeValues

func PossibleCostPropertyTypeValues() []CostPropertyType

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

type CostRefreshDataFuture

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

type CostRefreshDataFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(CostClient) (autorest.Response, error)
}

func (*CostRefreshDataFuture) UnmarshalJSON

func (future *CostRefreshDataFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type CustomImage

CustomImage a custom image.

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"`
}

func (CustomImage) MarshalJSON

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

MarshalJSON is the custom marshaler for CustomImage.

func (*CustomImage) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for CustomImage struct.

type CustomImageClient

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

type CustomImageClient struct {
    BaseClient
}

func NewCustomImageClient

func NewCustomImageClient(subscriptionID string) CustomImageClient

NewCustomImageClient creates an instance of the CustomImageClient client.

func NewCustomImageClientWithBaseURI

func NewCustomImageClientWithBaseURI(baseURI string, subscriptionID string) CustomImageClient

NewCustomImageClientWithBaseURI creates an instance of the CustomImageClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (CustomImageClient) CreateOrUpdateResource

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

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

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

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

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

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

DeleteResourcePreparer prepares the DeleteResource request.

func (CustomImageClient) DeleteResourceResponder

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

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

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

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

GetResourcePreparer prepares the GetResource request.

func (CustomImageClient) GetResourceResponder

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

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

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

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

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

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

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

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

type CustomImageCreateOrUpdateResourceFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(CustomImageClient) (CustomImage, error)
}

func (*CustomImageCreateOrUpdateResourceFuture) UnmarshalJSON

func (future *CustomImageCreateOrUpdateResourceFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type CustomImageDeleteResourceFuture

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

type CustomImageDeleteResourceFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(CustomImageClient) (autorest.Response, error)
}

func (*CustomImageDeleteResourceFuture) UnmarshalJSON

func (future *CustomImageDeleteResourceFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type CustomImageOsType

CustomImageOsType enumerates the values for custom image os type.

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

func PossibleCustomImageOsTypeValues

func PossibleCustomImageOsTypeValues() []CustomImageOsType

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

type CustomImageProperties

CustomImageProperties properties of a custom image.

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"`
}

type CustomImagePropertiesCustom

CustomImagePropertiesCustom properties for creating a custom image from a VHD.

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"`
}

type CustomImagePropertiesFromVM

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

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"`
}

type DayDetails

DayDetails properties of a daily schedule.

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

type EnableStatus

EnableStatus enumerates the values for enable status.

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

func PossibleEnableStatusValues

func PossibleEnableStatusValues() []EnableStatus

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

type EvaluatePoliciesProperties

EvaluatePoliciesProperties properties for evaluating a policy set.

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"`
}

type EvaluatePoliciesRequest

EvaluatePoliciesRequest request body for evaluating a policy set.

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

type EvaluatePoliciesResponse

EvaluatePoliciesResponse response body for evaluating a policy set.

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

type Formula

Formula a formula.

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"`
}

func (Formula) MarshalJSON

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

MarshalJSON is the custom marshaler for Formula.

func (*Formula) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for Formula struct.

type FormulaClient

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

type FormulaClient struct {
    BaseClient
}

func NewFormulaClient

func NewFormulaClient(subscriptionID string) FormulaClient

NewFormulaClient creates an instance of the FormulaClient client.

func NewFormulaClientWithBaseURI

func NewFormulaClientWithBaseURI(baseURI string, subscriptionID string) FormulaClient

NewFormulaClientWithBaseURI creates an instance of the FormulaClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (FormulaClient) CreateOrUpdateResource

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

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

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

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

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

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

DeleteResourcePreparer prepares the DeleteResource request.

func (FormulaClient) DeleteResourceResponder

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

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

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

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

GetResourcePreparer prepares the GetResource request.

func (FormulaClient) GetResourceResponder

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

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

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

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

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

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

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

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

type FormulaCreateOrUpdateResourceFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(FormulaClient) (Formula, error)
}

func (*FormulaCreateOrUpdateResourceFuture) UnmarshalJSON

func (future *FormulaCreateOrUpdateResourceFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type FormulaProperties

FormulaProperties properties of a formula.

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"`
}

type FormulaPropertiesFromVM

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

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

type GalleryImage

GalleryImage a gallery image.

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"`
}

func (GalleryImage) MarshalJSON

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

MarshalJSON is the custom marshaler for GalleryImage.

func (*GalleryImage) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for GalleryImage struct.

type GalleryImageClient

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

type GalleryImageClient struct {
    BaseClient
}

func NewGalleryImageClient

func NewGalleryImageClient(subscriptionID string) GalleryImageClient

NewGalleryImageClient creates an instance of the GalleryImageClient client.

func NewGalleryImageClientWithBaseURI

func NewGalleryImageClientWithBaseURI(baseURI string, subscriptionID string) GalleryImageClient

NewGalleryImageClientWithBaseURI creates an instance of the GalleryImageClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (GalleryImageClient) List

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

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

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

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

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

GalleryImageProperties properties of a gallery image.

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"`
}

type GalleryImageReference

GalleryImageReference the reference information for an Azure Marketplace image.

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"`
}

type GenerateArmTemplateRequest

GenerateArmTemplateRequest parameters for generating an ARM template for deploying artifacts.

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"`
}

type GenerateUploadURIParameter

GenerateUploadURIParameter properties for generating an upload URI.

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

type GenerateUploadURIResponse

GenerateUploadURIResponse response body for generating an upload URI.

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

type HourDetails

HourDetails properties of an hourly schedule.

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

type Lab

Lab a lab.

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"`
}

func (Lab) MarshalJSON

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

MarshalJSON is the custom marshaler for Lab.

func (*Lab) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for Lab struct.

type LabClient

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

type LabClient struct {
    BaseClient
}

func NewLabClient

func NewLabClient(subscriptionID string) LabClient

NewLabClient creates an instance of the LabClient client.

func NewLabClientWithBaseURI

func NewLabClientWithBaseURI(baseURI string, subscriptionID string) LabClient

NewLabClientWithBaseURI creates an instance of the LabClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (LabClient) CreateEnvironment

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

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

CreateEnvironmentPreparer prepares the CreateEnvironment request.

func (LabClient) CreateEnvironmentResponder

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

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

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

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

CreateOrUpdateResourcePreparer prepares the CreateOrUpdateResource request.

func (LabClient) CreateOrUpdateResourceResponder

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

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

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

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

DeleteResourcePreparer prepares the DeleteResource request.

func (LabClient) DeleteResourceResponder

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

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

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

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

GenerateUploadURIPreparer prepares the GenerateUploadURI request.

func (LabClient) GenerateUploadURIResponder

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

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

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

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

GetResourcePreparer prepares the GetResource request.

func (LabClient) GetResourceResponder

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

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

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

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

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

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

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

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

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

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

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (LabClient) ListBySubscriptionResponder

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

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

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

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

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

ListVhdsPreparer prepares the ListVhds request.

func (LabClient) ListVhdsResponder

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

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

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

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

PatchResourcePreparer prepares the PatchResource request.

func (LabClient) PatchResourceResponder

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

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

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

type LabCreateEnvironmentFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(LabClient) (autorest.Response, error)
}

func (*LabCreateEnvironmentFuture) UnmarshalJSON

func (future *LabCreateEnvironmentFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type LabCreateOrUpdateResourceFuture

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

type LabCreateOrUpdateResourceFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(LabClient) (Lab, error)
}

func (*LabCreateOrUpdateResourceFuture) UnmarshalJSON

func (future *LabCreateOrUpdateResourceFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type LabDeleteResourceFuture

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

type LabDeleteResourceFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(LabClient) (autorest.Response, error)
}

func (*LabDeleteResourceFuture) UnmarshalJSON

func (future *LabDeleteResourceFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type LabProperties

LabProperties properties of a lab.

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"`
}

type LabStorageType

LabStorageType enumerates the values for lab storage type.

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

func PossibleLabStorageTypeValues

func PossibleLabStorageTypeValues() []LabStorageType

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

type LabVhd

LabVhd properties of a VHD in the lab.

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

type LabVirtualMachine

LabVirtualMachine a virtual machine.

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"`
}

func (LabVirtualMachine) MarshalJSON

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

MarshalJSON is the custom marshaler for LabVirtualMachine.

func (*LabVirtualMachine) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for LabVirtualMachine struct.

type LabVirtualMachineProperties

LabVirtualMachineProperties properties of a virtual machine.

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"`
}

type LinuxOsInfo

LinuxOsInfo information about a Linux OS.

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

type LinuxOsState

LinuxOsState enumerates the values for linux os state.

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

func PossibleLinuxOsStateValues

func PossibleLinuxOsStateValues() []LinuxOsState

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

type ParameterInfo

ParameterInfo ...

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

type Policy

Policy a Policy.

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"`
}

func (Policy) MarshalJSON

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

MarshalJSON is the custom marshaler for Policy.

func (*Policy) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for Policy struct.

type PolicyClient

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

type PolicyClient struct {
    BaseClient
}

func NewPolicyClient

func NewPolicyClient(subscriptionID string) PolicyClient

NewPolicyClient creates an instance of the PolicyClient client.

func NewPolicyClientWithBaseURI

func NewPolicyClientWithBaseURI(baseURI string, subscriptionID string) PolicyClient

NewPolicyClientWithBaseURI creates an instance of the PolicyClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (PolicyClient) CreateOrUpdateResource

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

PolicyEvaluatorType enumerates the values for policy evaluator type.

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

func PossiblePolicyEvaluatorTypeValues

func PossiblePolicyEvaluatorTypeValues() []PolicyEvaluatorType

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

type PolicyFactName

PolicyFactName enumerates the values for policy fact name.

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

func PossiblePolicyFactNameValues

func PossiblePolicyFactNameValues() []PolicyFactName

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

type PolicyProperties

PolicyProperties properties of a Policy.

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"`
}

type PolicySetClient

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

type PolicySetClient struct {
    BaseClient
}

func NewPolicySetClient

func NewPolicySetClient(subscriptionID string) PolicySetClient

NewPolicySetClient creates an instance of the PolicySetClient client.

func NewPolicySetClientWithBaseURI

func NewPolicySetClientWithBaseURI(baseURI string, subscriptionID string) PolicySetClient

NewPolicySetClientWithBaseURI creates an instance of the PolicySetClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (PolicySetClient) EvaluatePolicies

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

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

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

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

PolicySetResult result of a policy set evaluation.

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"`
}

type PolicyStatus

PolicyStatus enumerates the values for policy status.

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

func PossiblePolicyStatusValues

func PossiblePolicyStatusValues() []PolicyStatus

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

type PolicyViolation

PolicyViolation policy violation.

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"`
}

type ResponseWithContinuationArtifact

ResponseWithContinuationArtifact the response of a list operation.

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"`
}

func (ResponseWithContinuationArtifact) IsEmpty

func (rwcA ResponseWithContinuationArtifact) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ResponseWithContinuationArtifactIterator

ResponseWithContinuationArtifactIterator provides access to a complete listing of Artifact values.

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

func NewResponseWithContinuationArtifactIterator

func NewResponseWithContinuationArtifactIterator(page ResponseWithContinuationArtifactPage) ResponseWithContinuationArtifactIterator

Creates a new instance of the ResponseWithContinuationArtifactIterator type.

func (*ResponseWithContinuationArtifactIterator) Next

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

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

func (iter ResponseWithContinuationArtifactIterator) NotDone() bool

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

func (ResponseWithContinuationArtifactIterator) Response

func (iter ResponseWithContinuationArtifactIterator) Response() ResponseWithContinuationArtifact

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

func (ResponseWithContinuationArtifactIterator) Value

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

ResponseWithContinuationArtifactPage contains a page of Artifact values.

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

func NewResponseWithContinuationArtifactPage

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

Creates a new instance of the ResponseWithContinuationArtifactPage type.

func (*ResponseWithContinuationArtifactPage) Next

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

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

func (page ResponseWithContinuationArtifactPage) NotDone() bool

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

func (ResponseWithContinuationArtifactPage) Response

func (page ResponseWithContinuationArtifactPage) Response() ResponseWithContinuationArtifact

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

func (ResponseWithContinuationArtifactPage) Values

func (page ResponseWithContinuationArtifactPage) Values() []Artifact

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

type ResponseWithContinuationArtifactSource

ResponseWithContinuationArtifactSource the response of a list operation.

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"`
}

func (ResponseWithContinuationArtifactSource) IsEmpty

func (rwcAs ResponseWithContinuationArtifactSource) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ResponseWithContinuationArtifactSourceIterator

ResponseWithContinuationArtifactSourceIterator provides access to a complete listing of ArtifactSource values.

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

func NewResponseWithContinuationArtifactSourceIterator

func NewResponseWithContinuationArtifactSourceIterator(page ResponseWithContinuationArtifactSourcePage) ResponseWithContinuationArtifactSourceIterator

Creates a new instance of the ResponseWithContinuationArtifactSourceIterator type.

func (*ResponseWithContinuationArtifactSourceIterator) Next

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

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

func (iter ResponseWithContinuationArtifactSourceIterator) NotDone() bool

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

func (ResponseWithContinuationArtifactSourceIterator) Response

func (iter ResponseWithContinuationArtifactSourceIterator) Response() ResponseWithContinuationArtifactSource

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

func (ResponseWithContinuationArtifactSourceIterator) Value

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

ResponseWithContinuationArtifactSourcePage contains a page of ArtifactSource values.

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

func NewResponseWithContinuationArtifactSourcePage

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

Creates a new instance of the ResponseWithContinuationArtifactSourcePage type.

func (*ResponseWithContinuationArtifactSourcePage) Next

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

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

func (page ResponseWithContinuationArtifactSourcePage) NotDone() bool

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

func (ResponseWithContinuationArtifactSourcePage) Response

func (page ResponseWithContinuationArtifactSourcePage) Response() ResponseWithContinuationArtifactSource

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

func (ResponseWithContinuationArtifactSourcePage) Values

func (page ResponseWithContinuationArtifactSourcePage) Values() []ArtifactSource

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

type ResponseWithContinuationCost

ResponseWithContinuationCost the response of a list operation.

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"`
}

func (ResponseWithContinuationCost) IsEmpty

func (rwcC ResponseWithContinuationCost) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ResponseWithContinuationCostInsight

ResponseWithContinuationCostInsight the response of a list operation.

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"`
}

func (ResponseWithContinuationCostInsight) IsEmpty

func (rwcCi ResponseWithContinuationCostInsight) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ResponseWithContinuationCostInsightIterator

ResponseWithContinuationCostInsightIterator provides access to a complete listing of CostInsight values.

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

func NewResponseWithContinuationCostInsightIterator

func NewResponseWithContinuationCostInsightIterator(page ResponseWithContinuationCostInsightPage) ResponseWithContinuationCostInsightIterator

Creates a new instance of the ResponseWithContinuationCostInsightIterator type.

func (*ResponseWithContinuationCostInsightIterator) Next

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

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

func (iter ResponseWithContinuationCostInsightIterator) NotDone() bool

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

func (ResponseWithContinuationCostInsightIterator) Response

func (iter ResponseWithContinuationCostInsightIterator) Response() ResponseWithContinuationCostInsight

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

func (ResponseWithContinuationCostInsightIterator) Value

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

ResponseWithContinuationCostInsightPage contains a page of CostInsight values.

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

func NewResponseWithContinuationCostInsightPage

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

Creates a new instance of the ResponseWithContinuationCostInsightPage type.

func (*ResponseWithContinuationCostInsightPage) Next

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

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

func (page ResponseWithContinuationCostInsightPage) NotDone() bool

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

func (ResponseWithContinuationCostInsightPage) Response

func (page ResponseWithContinuationCostInsightPage) Response() ResponseWithContinuationCostInsight

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

func (ResponseWithContinuationCostInsightPage) Values

func (page ResponseWithContinuationCostInsightPage) Values() []CostInsight

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

type ResponseWithContinuationCostIterator

ResponseWithContinuationCostIterator provides access to a complete listing of Cost values.

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

func NewResponseWithContinuationCostIterator

func NewResponseWithContinuationCostIterator(page ResponseWithContinuationCostPage) ResponseWithContinuationCostIterator

Creates a new instance of the ResponseWithContinuationCostIterator type.

func (*ResponseWithContinuationCostIterator) Next

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

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

func (iter ResponseWithContinuationCostIterator) NotDone() bool

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

func (ResponseWithContinuationCostIterator) Response

func (iter ResponseWithContinuationCostIterator) Response() ResponseWithContinuationCost

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

func (ResponseWithContinuationCostIterator) Value

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

ResponseWithContinuationCostPage contains a page of Cost values.

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

func NewResponseWithContinuationCostPage

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

Creates a new instance of the ResponseWithContinuationCostPage type.

func (*ResponseWithContinuationCostPage) Next

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

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

func (page ResponseWithContinuationCostPage) NotDone() bool

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

func (ResponseWithContinuationCostPage) Response

func (page ResponseWithContinuationCostPage) Response() ResponseWithContinuationCost

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

func (ResponseWithContinuationCostPage) Values

func (page ResponseWithContinuationCostPage) Values() []Cost

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

type ResponseWithContinuationCustomImage

ResponseWithContinuationCustomImage the response of a list operation.

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"`
}

func (ResponseWithContinuationCustomImage) IsEmpty

func (rwcCi ResponseWithContinuationCustomImage) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ResponseWithContinuationCustomImageIterator

ResponseWithContinuationCustomImageIterator provides access to a complete listing of CustomImage values.

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

func NewResponseWithContinuationCustomImageIterator

func NewResponseWithContinuationCustomImageIterator(page ResponseWithContinuationCustomImagePage) ResponseWithContinuationCustomImageIterator

Creates a new instance of the ResponseWithContinuationCustomImageIterator type.

func (*ResponseWithContinuationCustomImageIterator) Next

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

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

func (iter ResponseWithContinuationCustomImageIterator) NotDone() bool

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

func (ResponseWithContinuationCustomImageIterator) Response

func (iter ResponseWithContinuationCustomImageIterator) Response() ResponseWithContinuationCustomImage

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

func (ResponseWithContinuationCustomImageIterator) Value

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

ResponseWithContinuationCustomImagePage contains a page of CustomImage values.

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

func NewResponseWithContinuationCustomImagePage

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

Creates a new instance of the ResponseWithContinuationCustomImagePage type.

func (*ResponseWithContinuationCustomImagePage) Next

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

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

func (page ResponseWithContinuationCustomImagePage) NotDone() bool

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

func (ResponseWithContinuationCustomImagePage) Response

func (page ResponseWithContinuationCustomImagePage) Response() ResponseWithContinuationCustomImage

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

func (ResponseWithContinuationCustomImagePage) Values

func (page ResponseWithContinuationCustomImagePage) Values() []CustomImage

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

type ResponseWithContinuationFormula

ResponseWithContinuationFormula the response of a list operation.

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"`
}

func (ResponseWithContinuationFormula) IsEmpty

func (rwcF ResponseWithContinuationFormula) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ResponseWithContinuationFormulaIterator

ResponseWithContinuationFormulaIterator provides access to a complete listing of Formula values.

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

func NewResponseWithContinuationFormulaIterator

func NewResponseWithContinuationFormulaIterator(page ResponseWithContinuationFormulaPage) ResponseWithContinuationFormulaIterator

Creates a new instance of the ResponseWithContinuationFormulaIterator type.

func (*ResponseWithContinuationFormulaIterator) Next

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

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

func (iter ResponseWithContinuationFormulaIterator) NotDone() bool

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

func (ResponseWithContinuationFormulaIterator) Response

func (iter ResponseWithContinuationFormulaIterator) Response() ResponseWithContinuationFormula

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

func (ResponseWithContinuationFormulaIterator) Value

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

ResponseWithContinuationFormulaPage contains a page of Formula values.

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

func NewResponseWithContinuationFormulaPage

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

Creates a new instance of the ResponseWithContinuationFormulaPage type.

func (*ResponseWithContinuationFormulaPage) Next

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

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

func (page ResponseWithContinuationFormulaPage) NotDone() bool

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

func (ResponseWithContinuationFormulaPage) Response

func (page ResponseWithContinuationFormulaPage) Response() ResponseWithContinuationFormula

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

func (ResponseWithContinuationFormulaPage) Values

func (page ResponseWithContinuationFormulaPage) Values() []Formula

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

type ResponseWithContinuationGalleryImage

ResponseWithContinuationGalleryImage the response of a list operation.

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"`
}

func (ResponseWithContinuationGalleryImage) IsEmpty

func (rwcGi ResponseWithContinuationGalleryImage) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ResponseWithContinuationGalleryImageIterator

ResponseWithContinuationGalleryImageIterator provides access to a complete listing of GalleryImage values.

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

func NewResponseWithContinuationGalleryImageIterator

func NewResponseWithContinuationGalleryImageIterator(page ResponseWithContinuationGalleryImagePage) ResponseWithContinuationGalleryImageIterator

Creates a new instance of the ResponseWithContinuationGalleryImageIterator type.

func (*ResponseWithContinuationGalleryImageIterator) Next

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

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

func (iter ResponseWithContinuationGalleryImageIterator) NotDone() bool

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

func (ResponseWithContinuationGalleryImageIterator) Response

func (iter ResponseWithContinuationGalleryImageIterator) Response() ResponseWithContinuationGalleryImage

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

func (ResponseWithContinuationGalleryImageIterator) Value

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

ResponseWithContinuationGalleryImagePage contains a page of GalleryImage values.

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

func NewResponseWithContinuationGalleryImagePage

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

Creates a new instance of the ResponseWithContinuationGalleryImagePage type.

func (*ResponseWithContinuationGalleryImagePage) Next

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

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

func (page ResponseWithContinuationGalleryImagePage) NotDone() bool

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

func (ResponseWithContinuationGalleryImagePage) Response

func (page ResponseWithContinuationGalleryImagePage) Response() ResponseWithContinuationGalleryImage

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

func (ResponseWithContinuationGalleryImagePage) Values

func (page ResponseWithContinuationGalleryImagePage) Values() []GalleryImage

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

type ResponseWithContinuationLab

ResponseWithContinuationLab the response of a list operation.

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"`
}

func (ResponseWithContinuationLab) IsEmpty

func (rwcL ResponseWithContinuationLab) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ResponseWithContinuationLabIterator

ResponseWithContinuationLabIterator provides access to a complete listing of Lab values.

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

func NewResponseWithContinuationLabIterator

func NewResponseWithContinuationLabIterator(page ResponseWithContinuationLabPage) ResponseWithContinuationLabIterator

Creates a new instance of the ResponseWithContinuationLabIterator type.

func (*ResponseWithContinuationLabIterator) Next

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

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

func (iter ResponseWithContinuationLabIterator) NotDone() bool

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

func (ResponseWithContinuationLabIterator) Response

func (iter ResponseWithContinuationLabIterator) Response() ResponseWithContinuationLab

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

func (ResponseWithContinuationLabIterator) Value

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

ResponseWithContinuationLabPage contains a page of Lab values.

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

func NewResponseWithContinuationLabPage

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

Creates a new instance of the ResponseWithContinuationLabPage type.

func (*ResponseWithContinuationLabPage) Next

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

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

func (page ResponseWithContinuationLabPage) NotDone() bool

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

func (ResponseWithContinuationLabPage) Response

func (page ResponseWithContinuationLabPage) Response() ResponseWithContinuationLab

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

func (ResponseWithContinuationLabPage) Values

func (page ResponseWithContinuationLabPage) Values() []Lab

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

type ResponseWithContinuationLabVhd

ResponseWithContinuationLabVhd the response of a list operation.

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"`
}

func (ResponseWithContinuationLabVhd) IsEmpty

func (rwcLv ResponseWithContinuationLabVhd) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ResponseWithContinuationLabVhdIterator

ResponseWithContinuationLabVhdIterator provides access to a complete listing of LabVhd values.

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

func NewResponseWithContinuationLabVhdIterator

func NewResponseWithContinuationLabVhdIterator(page ResponseWithContinuationLabVhdPage) ResponseWithContinuationLabVhdIterator

Creates a new instance of the ResponseWithContinuationLabVhdIterator type.

func (*ResponseWithContinuationLabVhdIterator) Next

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

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

func (iter ResponseWithContinuationLabVhdIterator) NotDone() bool

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

func (ResponseWithContinuationLabVhdIterator) Response

func (iter ResponseWithContinuationLabVhdIterator) Response() ResponseWithContinuationLabVhd

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

func (ResponseWithContinuationLabVhdIterator) Value

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

ResponseWithContinuationLabVhdPage contains a page of LabVhd values.

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

func NewResponseWithContinuationLabVhdPage

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

Creates a new instance of the ResponseWithContinuationLabVhdPage type.

func (*ResponseWithContinuationLabVhdPage) Next

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

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

func (page ResponseWithContinuationLabVhdPage) NotDone() bool

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

func (ResponseWithContinuationLabVhdPage) Response

func (page ResponseWithContinuationLabVhdPage) Response() ResponseWithContinuationLabVhd

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

func (ResponseWithContinuationLabVhdPage) Values

func (page ResponseWithContinuationLabVhdPage) Values() []LabVhd

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

type ResponseWithContinuationLabVirtualMachine

ResponseWithContinuationLabVirtualMachine the response of a list operation.

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"`
}

func (ResponseWithContinuationLabVirtualMachine) IsEmpty

func (rwcLvm ResponseWithContinuationLabVirtualMachine) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ResponseWithContinuationLabVirtualMachineIterator

ResponseWithContinuationLabVirtualMachineIterator provides access to a complete listing of LabVirtualMachine values.

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

func NewResponseWithContinuationLabVirtualMachineIterator

func NewResponseWithContinuationLabVirtualMachineIterator(page ResponseWithContinuationLabVirtualMachinePage) ResponseWithContinuationLabVirtualMachineIterator

Creates a new instance of the ResponseWithContinuationLabVirtualMachineIterator type.

func (*ResponseWithContinuationLabVirtualMachineIterator) Next

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

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

func (iter ResponseWithContinuationLabVirtualMachineIterator) NotDone() bool

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

func (ResponseWithContinuationLabVirtualMachineIterator) Response

func (iter ResponseWithContinuationLabVirtualMachineIterator) Response() ResponseWithContinuationLabVirtualMachine

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

func (ResponseWithContinuationLabVirtualMachineIterator) Value

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

ResponseWithContinuationLabVirtualMachinePage contains a page of LabVirtualMachine values.

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

func NewResponseWithContinuationLabVirtualMachinePage

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

Creates a new instance of the ResponseWithContinuationLabVirtualMachinePage type.

func (*ResponseWithContinuationLabVirtualMachinePage) Next

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

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

func (page ResponseWithContinuationLabVirtualMachinePage) NotDone() bool

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

func (ResponseWithContinuationLabVirtualMachinePage) Response

func (page ResponseWithContinuationLabVirtualMachinePage) Response() ResponseWithContinuationLabVirtualMachine

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

func (ResponseWithContinuationLabVirtualMachinePage) Values

func (page ResponseWithContinuationLabVirtualMachinePage) Values() []LabVirtualMachine

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

type ResponseWithContinuationPolicy

ResponseWithContinuationPolicy the response of a list operation.

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"`
}

func (ResponseWithContinuationPolicy) IsEmpty

func (rwcP ResponseWithContinuationPolicy) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ResponseWithContinuationPolicyIterator

ResponseWithContinuationPolicyIterator provides access to a complete listing of Policy values.

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

func NewResponseWithContinuationPolicyIterator

func NewResponseWithContinuationPolicyIterator(page ResponseWithContinuationPolicyPage) ResponseWithContinuationPolicyIterator

Creates a new instance of the ResponseWithContinuationPolicyIterator type.

func (*ResponseWithContinuationPolicyIterator) Next

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

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

func (iter ResponseWithContinuationPolicyIterator) NotDone() bool

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

func (ResponseWithContinuationPolicyIterator) Response

func (iter ResponseWithContinuationPolicyIterator) Response() ResponseWithContinuationPolicy

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

func (ResponseWithContinuationPolicyIterator) Value

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

ResponseWithContinuationPolicyPage contains a page of Policy values.

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

func NewResponseWithContinuationPolicyPage

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

Creates a new instance of the ResponseWithContinuationPolicyPage type.

func (*ResponseWithContinuationPolicyPage) Next

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

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

func (page ResponseWithContinuationPolicyPage) NotDone() bool

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

func (ResponseWithContinuationPolicyPage) Response

func (page ResponseWithContinuationPolicyPage) Response() ResponseWithContinuationPolicy

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

func (ResponseWithContinuationPolicyPage) Values

func (page ResponseWithContinuationPolicyPage) Values() []Policy

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

type ResponseWithContinuationSchedule

ResponseWithContinuationSchedule the response of a list operation.

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"`
}

func (ResponseWithContinuationSchedule) IsEmpty

func (rwcS ResponseWithContinuationSchedule) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ResponseWithContinuationScheduleIterator

ResponseWithContinuationScheduleIterator provides access to a complete listing of Schedule values.

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

func NewResponseWithContinuationScheduleIterator

func NewResponseWithContinuationScheduleIterator(page ResponseWithContinuationSchedulePage) ResponseWithContinuationScheduleIterator

Creates a new instance of the ResponseWithContinuationScheduleIterator type.

func (*ResponseWithContinuationScheduleIterator) Next

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

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

func (iter ResponseWithContinuationScheduleIterator) NotDone() bool

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

func (ResponseWithContinuationScheduleIterator) Response

func (iter ResponseWithContinuationScheduleIterator) Response() ResponseWithContinuationSchedule

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

func (ResponseWithContinuationScheduleIterator) Value

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

ResponseWithContinuationSchedulePage contains a page of Schedule values.

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

func NewResponseWithContinuationSchedulePage

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

Creates a new instance of the ResponseWithContinuationSchedulePage type.

func (*ResponseWithContinuationSchedulePage) Next

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

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

func (page ResponseWithContinuationSchedulePage) NotDone() bool

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

func (ResponseWithContinuationSchedulePage) Response

func (page ResponseWithContinuationSchedulePage) Response() ResponseWithContinuationSchedule

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

func (ResponseWithContinuationSchedulePage) Values

func (page ResponseWithContinuationSchedulePage) Values() []Schedule

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

type ResponseWithContinuationVirtualNetwork

ResponseWithContinuationVirtualNetwork the response of a list operation.

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"`
}

func (ResponseWithContinuationVirtualNetwork) IsEmpty

func (rwcVn ResponseWithContinuationVirtualNetwork) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ResponseWithContinuationVirtualNetworkIterator

ResponseWithContinuationVirtualNetworkIterator provides access to a complete listing of VirtualNetwork values.

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

func NewResponseWithContinuationVirtualNetworkIterator

func NewResponseWithContinuationVirtualNetworkIterator(page ResponseWithContinuationVirtualNetworkPage) ResponseWithContinuationVirtualNetworkIterator

Creates a new instance of the ResponseWithContinuationVirtualNetworkIterator type.

func (*ResponseWithContinuationVirtualNetworkIterator) Next

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

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

func (iter ResponseWithContinuationVirtualNetworkIterator) NotDone() bool

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

func (ResponseWithContinuationVirtualNetworkIterator) Response

func (iter ResponseWithContinuationVirtualNetworkIterator) Response() ResponseWithContinuationVirtualNetwork

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

func (ResponseWithContinuationVirtualNetworkIterator) Value

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

ResponseWithContinuationVirtualNetworkPage contains a page of VirtualNetwork values.

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

func NewResponseWithContinuationVirtualNetworkPage

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

Creates a new instance of the ResponseWithContinuationVirtualNetworkPage type.

func (*ResponseWithContinuationVirtualNetworkPage) Next

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

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

func (page ResponseWithContinuationVirtualNetworkPage) NotDone() bool

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

func (ResponseWithContinuationVirtualNetworkPage) Response

func (page ResponseWithContinuationVirtualNetworkPage) Response() ResponseWithContinuationVirtualNetwork

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

func (ResponseWithContinuationVirtualNetworkPage) Values

func (page ResponseWithContinuationVirtualNetworkPage) Values() []VirtualNetwork

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

type Schedule

Schedule a schedule.

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"`
}

func (Schedule) MarshalJSON

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

MarshalJSON is the custom marshaler for Schedule.

func (*Schedule) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for Schedule struct.

type ScheduleClient

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

type ScheduleClient struct {
    BaseClient
}

func NewScheduleClient

func NewScheduleClient(subscriptionID string) ScheduleClient

NewScheduleClient creates an instance of the ScheduleClient client.

func NewScheduleClientWithBaseURI

func NewScheduleClientWithBaseURI(baseURI string, subscriptionID string) ScheduleClient

NewScheduleClientWithBaseURI creates an instance of the ScheduleClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ScheduleClient) CreateOrUpdateResource

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

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

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

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

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

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

DeleteResourcePreparer prepares the DeleteResource request.

func (ScheduleClient) DeleteResourceResponder

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

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

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

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

ExecutePreparer prepares the Execute request.

func (ScheduleClient) ExecuteResponder

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

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

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

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

GetResourcePreparer prepares the GetResource request.

func (ScheduleClient) GetResourceResponder

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

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

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

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

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

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

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

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

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

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

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

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

type ScheduleCreateOrUpdateResourceFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(ScheduleClient) (Schedule, error)
}

func (*ScheduleCreateOrUpdateResourceFuture) UnmarshalJSON

func (future *ScheduleCreateOrUpdateResourceFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ScheduleDeleteResourceFuture

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

type ScheduleDeleteResourceFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(ScheduleClient) (autorest.Response, error)
}

func (*ScheduleDeleteResourceFuture) UnmarshalJSON

func (future *ScheduleDeleteResourceFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ScheduleExecuteFuture

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

type ScheduleExecuteFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(ScheduleClient) (autorest.Response, error)
}

func (*ScheduleExecuteFuture) UnmarshalJSON

func (future *ScheduleExecuteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ScheduleProperties

ScheduleProperties properties of a schedule.

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"`
}

type SourceControlType

SourceControlType enumerates the values for source control type.

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

func PossibleSourceControlTypeValues

func PossibleSourceControlTypeValues() []SourceControlType

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

type Subnet

Subnet ...

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"`
}

type SubnetOverride

SubnetOverride property overrides on a subnet of a virtual network.

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"`
}

type SubscriptionNotification

SubscriptionNotification ...

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"`
}

type SubscriptionNotificationProperties

SubscriptionNotificationProperties ...

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

type SubscriptionNotificationState

SubscriptionNotificationState enumerates the values for subscription notification state.

type SubscriptionNotificationState string
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

func PossibleSubscriptionNotificationStateValues() []SubscriptionNotificationState

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

type TaskType

TaskType enumerates the values for task type.

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

func PossibleTaskTypeValues

func PossibleTaskTypeValues() []TaskType

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

type UsagePermissionType

UsagePermissionType enumerates the values for usage permission type.

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

func PossibleUsagePermissionTypeValues

func PossibleUsagePermissionTypeValues() []UsagePermissionType

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

type VMCostProperties

VMCostProperties ...

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

type VirtualMachineApplyArtifactsFuture

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

type VirtualMachineApplyArtifactsFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachineClient) (autorest.Response, error)
}

func (*VirtualMachineApplyArtifactsFuture) UnmarshalJSON

func (future *VirtualMachineApplyArtifactsFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachineClient

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

type VirtualMachineClient struct {
    BaseClient
}

func NewVirtualMachineClient

func NewVirtualMachineClient(subscriptionID string) VirtualMachineClient

NewVirtualMachineClient creates an instance of the VirtualMachineClient client.

func NewVirtualMachineClientWithBaseURI

func NewVirtualMachineClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineClient

NewVirtualMachineClientWithBaseURI creates an instance of the VirtualMachineClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VirtualMachineClient) ApplyArtifacts

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

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

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

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

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

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

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

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

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

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

DeleteResourcePreparer prepares the DeleteResource request.

func (VirtualMachineClient) DeleteResourceResponder

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

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

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

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

GetResourcePreparer prepares the GetResource request.

func (VirtualMachineClient) GetResourceResponder

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

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

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

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

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

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

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

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

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

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

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

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

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

StartPreparer prepares the Start request.

func (VirtualMachineClient) StartResponder

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

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

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

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

StopPreparer prepares the Stop request.

func (VirtualMachineClient) StopResponder

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

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

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

type VirtualMachineCreateOrUpdateResourceFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachineClient) (LabVirtualMachine, error)
}

func (*VirtualMachineCreateOrUpdateResourceFuture) UnmarshalJSON

func (future *VirtualMachineCreateOrUpdateResourceFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachineDeleteResourceFuture

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

type VirtualMachineDeleteResourceFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachineClient) (autorest.Response, error)
}

func (*VirtualMachineDeleteResourceFuture) UnmarshalJSON

func (future *VirtualMachineDeleteResourceFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachineStartFuture

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

type VirtualMachineStartFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachineClient) (autorest.Response, error)
}

func (*VirtualMachineStartFuture) UnmarshalJSON

func (future *VirtualMachineStartFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachineStopFuture

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

type VirtualMachineStopFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachineClient) (autorest.Response, error)
}

func (*VirtualMachineStopFuture) UnmarshalJSON

func (future *VirtualMachineStopFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualNetwork

VirtualNetwork a virtual network.

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"`
}

func (VirtualNetwork) MarshalJSON

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

MarshalJSON is the custom marshaler for VirtualNetwork.

func (*VirtualNetwork) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for VirtualNetwork struct.

type VirtualNetworkClient

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

type VirtualNetworkClient struct {
    BaseClient
}

func NewVirtualNetworkClient

func NewVirtualNetworkClient(subscriptionID string) VirtualNetworkClient

NewVirtualNetworkClient creates an instance of the VirtualNetworkClient client.

func NewVirtualNetworkClientWithBaseURI

func NewVirtualNetworkClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworkClient

NewVirtualNetworkClientWithBaseURI creates an instance of the VirtualNetworkClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VirtualNetworkClient) CreateOrUpdateResource

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

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

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

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

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

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

DeleteResourcePreparer prepares the DeleteResource request.

func (VirtualNetworkClient) DeleteResourceResponder

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

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

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

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

GetResourcePreparer prepares the GetResource request.

func (VirtualNetworkClient) GetResourceResponder

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

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

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

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

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

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

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

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

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

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

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

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

type VirtualNetworkCreateOrUpdateResourceFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualNetworkClient) (VirtualNetwork, error)
}

func (*VirtualNetworkCreateOrUpdateResourceFuture) UnmarshalJSON

func (future *VirtualNetworkCreateOrUpdateResourceFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualNetworkDeleteResourceFuture

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

type VirtualNetworkDeleteResourceFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualNetworkClient) (autorest.Response, error)
}

func (*VirtualNetworkDeleteResourceFuture) UnmarshalJSON

func (future *VirtualNetworkDeleteResourceFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualNetworkProperties

VirtualNetworkProperties properties of a virtual network.

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"`
}

type WeekDetails

WeekDetails properties of a weekly schedule.

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"`
}

type WindowsOsInfo

WindowsOsInfo information about a Windows OS.

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

type WindowsOsState

WindowsOsState enumerates the values for windows os state.

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

func PossibleWindowsOsStateValues

func PossibleWindowsOsStateValues() []WindowsOsState

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

Subdirectories

Name Synopsis
..
dtlapi Deprecated: Please note, this package has been deprecated.