Documentation ¶
Overview ¶
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
- type ArtifactClient
- func (client ArtifactClient) GenerateArmTemplate(ctx context.Context, resourceGroupName string, labName string, ...) (result ArmTemplateInfo, err error)
- func (client ArtifactClient) GenerateArmTemplatePreparer(ctx context.Context, resourceGroupName string, labName string, ...) (*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, ...) (result Artifact, err error)
- func (client ArtifactClient) GetResourcePreparer(ctx context.Context, resourceGroupName string, labName 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, ...) (result ResponseWithContinuationArtifactPage, err error)
- func (client ArtifactClient) ListComplete(ctx context.Context, resourceGroupName string, labName string, ...) (result ResponseWithContinuationArtifactIterator, err error)
- func (client ArtifactClient) ListPreparer(ctx context.Context, resourceGroupName string, labName 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
- type ArtifactSourceClient
- func (client ArtifactSourceClient) CreateOrUpdateResource(ctx context.Context, resourceGroupName string, labName string, name string, ...) (result ArtifactSource, err error)
- func (client ArtifactSourceClient) CreateOrUpdateResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string, ...) (*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, ...) (result ResponseWithContinuationArtifactSourcePage, err error)
- func (client ArtifactSourceClient) ListComplete(ctx context.Context, resourceGroupName string, labName string, filter string, ...) (result ResponseWithContinuationArtifactSourceIterator, err error)
- func (client ArtifactSourceClient) ListPreparer(ctx context.Context, resourceGroupName string, labName string, filter 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, ...) (result ArtifactSource, err error)
- func (client ArtifactSourceClient) PatchResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string, ...) (*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
- type CloudError
- type CloudErrorBody
- type Cost
- type 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, ...) (result ResponseWithContinuationCostPage, err error)
- func (client CostClient) ListComplete(ctx context.Context, resourceGroupName string, labName string, filter string, ...) (result ResponseWithContinuationCostIterator, err error)
- func (client CostClient) ListPreparer(ctx context.Context, resourceGroupName string, labName string, filter 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
- type 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, ...) (result ResponseWithContinuationCostInsightPage, err error)
- func (client CostInsightClient) ListComplete(ctx context.Context, resourceGroupName string, labName string, filter string, ...) (result ResponseWithContinuationCostInsightIterator, err error)
- func (client CostInsightClient) ListPreparer(ctx context.Context, resourceGroupName string, labName string, filter 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
- type CostPerDayProperties
- type CostProperties
- type CostPropertyType
- type CostRefreshDataFuture
- type CustomImage
- type CustomImageClient
- func (client CustomImageClient) CreateOrUpdateResource(ctx context.Context, resourceGroupName string, labName string, name string, ...) (result CustomImageCreateOrUpdateResourceFuture, err error)
- func (client CustomImageClient) CreateOrUpdateResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string, ...) (*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, ...) (result ResponseWithContinuationCustomImagePage, err error)
- func (client CustomImageClient) ListComplete(ctx context.Context, resourceGroupName string, labName string, filter string, ...) (result ResponseWithContinuationCustomImageIterator, err error)
- func (client CustomImageClient) ListPreparer(ctx context.Context, resourceGroupName string, labName string, filter 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
- type CustomImageDeleteResourceFuture
- type CustomImageOsType
- type CustomImageProperties
- type CustomImagePropertiesCustom
- type CustomImagePropertiesFromVM
- type DayDetails
- type EnableStatus
- type EvaluatePoliciesProperties
- type EvaluatePoliciesRequest
- type EvaluatePoliciesResponse
- type Formula
- type FormulaClient
- func (client FormulaClient) CreateOrUpdateResource(ctx context.Context, resourceGroupName string, labName string, name string, ...) (result FormulaCreateOrUpdateResourceFuture, err error)
- func (client FormulaClient) CreateOrUpdateResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string, ...) (*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, ...) (result ResponseWithContinuationFormulaPage, err error)
- func (client FormulaClient) ListComplete(ctx context.Context, resourceGroupName string, labName string, filter string, ...) (result ResponseWithContinuationFormulaIterator, err error)
- func (client FormulaClient) ListPreparer(ctx context.Context, resourceGroupName string, labName string, filter 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
- type FormulaProperties
- type FormulaPropertiesFromVM
- type GalleryImage
- type GalleryImageClient
- func (client GalleryImageClient) List(ctx context.Context, resourceGroupName string, labName string, filter string, ...) (result ResponseWithContinuationGalleryImagePage, err error)
- func (client GalleryImageClient) ListComplete(ctx context.Context, resourceGroupName string, labName string, filter string, ...) (result ResponseWithContinuationGalleryImageIterator, err error)
- func (client GalleryImageClient) ListPreparer(ctx context.Context, resourceGroupName string, labName string, filter 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
- type LabClient
- func (client LabClient) CreateEnvironment(ctx context.Context, resourceGroupName string, name string, ...) (result LabCreateEnvironmentFuture, err error)
- func (client LabClient) CreateEnvironmentPreparer(ctx context.Context, resourceGroupName string, name string, ...) (*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, ...) (result GenerateUploadURIResponse, err error)
- func (client LabClient) GenerateUploadURIPreparer(ctx context.Context, resourceGroupName string, name string, ...) (*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, ...) (result ResponseWithContinuationLabPage, err error)
- func (client LabClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, filter string, top *int32, ...) (result ResponseWithContinuationLabIterator, err error)
- func (client LabClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, filter string, top *int32, ...) (*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
- type LabCreateOrUpdateResourceFuture
- type LabDeleteResourceFuture
- type LabProperties
- type LabStorageType
- type LabVhd
- type LabVirtualMachine
- type LabVirtualMachineProperties
- type LinuxOsInfo
- type LinuxOsState
- type ParameterInfo
- type Policy
- type PolicyClient
- func (client PolicyClient) CreateOrUpdateResource(ctx context.Context, resourceGroupName string, labName string, ...) (result Policy, err error)
- func (client PolicyClient) CreateOrUpdateResourcePreparer(ctx context.Context, resourceGroupName string, labName string, ...) (*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, ...) (result autorest.Response, err error)
- func (client PolicyClient) DeleteResourcePreparer(ctx context.Context, resourceGroupName string, labName 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, ...) (result Policy, err error)
- func (client PolicyClient) GetResourcePreparer(ctx context.Context, resourceGroupName string, labName 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, ...) (result ResponseWithContinuationPolicyPage, err error)
- func (client PolicyClient) ListComplete(ctx context.Context, resourceGroupName string, labName string, ...) (result ResponseWithContinuationPolicyIterator, err error)
- func (client PolicyClient) ListPreparer(ctx context.Context, resourceGroupName string, labName 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, ...) (result Policy, err error)
- func (client PolicyClient) PatchResourcePreparer(ctx context.Context, resourceGroupName string, labName string, ...) (*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
- type PolicyFactName
- type PolicyProperties
- type PolicySetClient
- func (client PolicySetClient) EvaluatePolicies(ctx context.Context, resourceGroupName string, labName string, name string, ...) (result EvaluatePoliciesResponse, err error)
- func (client PolicySetClient) EvaluatePoliciesPreparer(ctx context.Context, resourceGroupName string, labName string, name string, ...) (*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
- type PolicyViolation
- type ResponseWithContinuationArtifact
- type 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 (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
- type 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 (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
- type ResponseWithContinuationCostInsight
- type 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 (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 (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 (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
- type 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 (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
- type 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 (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
- type 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 (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
- type 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 (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
- type 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 (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
- type 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 (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
- type 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 (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
- type 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 (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
- type 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 (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
- type ScheduleClient
- func (client ScheduleClient) CreateOrUpdateResource(ctx context.Context, resourceGroupName string, labName string, name string, ...) (result ScheduleCreateOrUpdateResourceFuture, err error)
- func (client ScheduleClient) CreateOrUpdateResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string, ...) (*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, ...) (result ResponseWithContinuationSchedulePage, err error)
- func (client ScheduleClient) ListComplete(ctx context.Context, resourceGroupName string, labName string, filter string, ...) (result ResponseWithContinuationScheduleIterator, err error)
- func (client ScheduleClient) ListPreparer(ctx context.Context, resourceGroupName string, labName string, filter 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, ...) (result Schedule, err error)
- func (client ScheduleClient) PatchResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string, ...) (*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
- type ScheduleDeleteResourceFuture
- type ScheduleExecuteFuture
- type ScheduleProperties
- type SourceControlType
- type Subnet
- type SubnetOverride
- type SubscriptionNotification
- type SubscriptionNotificationProperties
- type SubscriptionNotificationState
- type TaskType
- type UsagePermissionType
- type VMCostProperties
- type VirtualMachineApplyArtifactsFuture
- type VirtualMachineClient
- func (client VirtualMachineClient) ApplyArtifacts(ctx context.Context, resourceGroupName string, labName string, name string, ...) (result VirtualMachineApplyArtifactsFuture, err error)
- func (client VirtualMachineClient) ApplyArtifactsPreparer(ctx context.Context, resourceGroupName string, labName string, name string, ...) (*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, ...) (result VirtualMachineCreateOrUpdateResourceFuture, err error)
- func (client VirtualMachineClient) CreateOrUpdateResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string, ...) (*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, ...) (result ResponseWithContinuationLabVirtualMachinePage, err error)
- func (client VirtualMachineClient) ListComplete(ctx context.Context, resourceGroupName string, labName string, filter string, ...) (result ResponseWithContinuationLabVirtualMachineIterator, err error)
- func (client VirtualMachineClient) ListPreparer(ctx context.Context, resourceGroupName string, labName string, filter 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, ...) (result LabVirtualMachine, err error)
- func (client VirtualMachineClient) PatchResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string, ...) (*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
- type VirtualMachineDeleteResourceFuture
- type VirtualMachineStartFuture
- type VirtualMachineStopFuture
- type VirtualNetwork
- type VirtualNetworkClient
- func (client VirtualNetworkClient) CreateOrUpdateResource(ctx context.Context, resourceGroupName string, labName string, name string, ...) (result VirtualNetworkCreateOrUpdateResourceFuture, err error)
- func (client VirtualNetworkClient) CreateOrUpdateResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string, ...) (*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, ...) (result ResponseWithContinuationVirtualNetworkPage, err error)
- func (client VirtualNetworkClient) ListComplete(ctx context.Context, resourceGroupName string, labName string, filter string, ...) (result ResponseWithContinuationVirtualNetworkIterator, err error)
- func (client VirtualNetworkClient) ListPreparer(ctx context.Context, resourceGroupName string, labName string, filter 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, ...) (result VirtualNetwork, err error)
- func (client VirtualNetworkClient) PatchResourcePreparer(ctx context.Context, resourceGroupName string, labName string, name string, ...) (*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
- type VirtualNetworkDeleteResourceFuture
- type VirtualNetworkProperties
- type WeekDetails
- type WindowsOsInfo
- type WindowsOsState
Constants ¶
const (
// DefaultBaseURI is the default URI used for the service Dtl
DefaultBaseURI = "https://management.azure.com"
)
Variables ¶
This section is empty.
Functions ¶
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.
Types ¶
type ApplyArtifactsRequest ¶
type ApplyArtifactsRequest struct { // Artifacts - The list of artifacts to apply. Artifacts *[]ArtifactInstallProperties `json:"artifacts,omitempty"` }
ApplyArtifactsRequest request body for applying artifacts to a virtual machine.
type ArmTemplateInfo ¶
type ArmTemplateInfo struct { autorest.Response `json:"-"` // Template - The template's contents. Template interface{} `json:"template,omitempty"` // Parameters - The parameters of the ARM template. Parameters interface{} `json:"parameters,omitempty"` }
ArmTemplateInfo information about a generated ARM template.
type Artifact ¶
type Artifact struct { autorest.Response `json:"-"` // ArtifactProperties - The properties of the resource. *ArtifactProperties `json:"properties,omitempty"` // ID - The identifier of the resource. ID *string `json:"id,omitempty"` // Name - The name of the resource. Name *string `json:"name,omitempty"` // Type - The type of the resource. Type *string `json:"type,omitempty"` // Location - The location of the resource. Location *string `json:"location,omitempty"` // Tags - The tags of the resource. Tags map[string]*string `json:"tags"` }
Artifact an artifact.
func (Artifact) MarshalJSON ¶
MarshalJSON is the custom marshaler for Artifact.
func (*Artifact) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Artifact struct.
type ArtifactClient ¶
type ArtifactClient struct {
BaseClient
}
ArtifactClient is the azure DevTest Labs REST API version 2015-05-21-preview.
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 ¶
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 ¶
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 ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type ArtifactDeploymentStatusProperties ¶
type ArtifactDeploymentStatusProperties struct { // DeploymentStatus - The deployment status of the artifact. DeploymentStatus *string `json:"deploymentStatus,omitempty"` // ArtifactsApplied - The total count of the artifacts that were successfully applied. ArtifactsApplied *int32 `json:"artifactsApplied,omitempty"` // TotalArtifacts - The total count of the artifacts that were tentatively applied. TotalArtifacts *int32 `json:"totalArtifacts,omitempty"` }
ArtifactDeploymentStatusProperties properties of an artifact deployment.
type ArtifactInstallProperties ¶
type ArtifactInstallProperties struct { // ArtifactID - The artifact's identifier. ArtifactID *string `json:"artifactId,omitempty"` // Parameters - The parameters of the artifact. Parameters *[]ArtifactParameterProperties `json:"parameters,omitempty"` }
ArtifactInstallProperties properties of an artifact.
type ArtifactParameterProperties ¶
type ArtifactParameterProperties struct { // Name - The name of the artifact parameter. Name *string `json:"name,omitempty"` // Value - The value of the artifact parameter. Value *string `json:"value,omitempty"` }
ArtifactParameterProperties properties of an artifact parameter.
type ArtifactProperties ¶
type ArtifactProperties struct { // Title - The title of the artifact. Title *string `json:"title,omitempty"` // Description - The description of the artifact. Description *string `json:"description,omitempty"` // FilePath - The file path of the artifact. FilePath *string `json:"filePath,omitempty"` // Icon - The icon of the artifact. Icon *string `json:"icon,omitempty"` // TargetOsType - Gets or sets the type of the target os. TargetOsType *string `json:"targetOsType,omitempty"` // Parameters - The parameters of the artifact. Parameters interface{} `json:"parameters,omitempty"` }
ArtifactProperties properties of an artifact.
type ArtifactSource ¶
type ArtifactSource struct { autorest.Response `json:"-"` // ArtifactSourceProperties - The properties of the resource. *ArtifactSourceProperties `json:"properties,omitempty"` // ID - The identifier of the resource. ID *string `json:"id,omitempty"` // Name - The name of the resource. Name *string `json:"name,omitempty"` // Type - The type of the resource. Type *string `json:"type,omitempty"` // Location - The location of the resource. Location *string `json:"location,omitempty"` // Tags - The tags of the resource. Tags map[string]*string `json:"tags"` }
ArtifactSource properties of an artifact source.
func (ArtifactSource) MarshalJSON ¶
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 ¶
type ArtifactSourceClient struct {
BaseClient
}
ArtifactSourceClient is the azure DevTest Labs REST API version 2015-05-21-preview.
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 ¶
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 ¶
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 ¶
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 ¶
PatchResourceSender sends the PatchResource request. The method will close the http.Response Body if it receives an error.
type ArtifactSourceProperties ¶
type ArtifactSourceProperties struct { // DisplayName - The display name of the artifact source. DisplayName *string `json:"displayName,omitempty"` // URI - The URI of the artifact source. URI *string `json:"uri,omitempty"` // SourceType - The type of the artifact source. Possible values include: 'VsoGit', 'GitHub' SourceType SourceControlType `json:"sourceType,omitempty"` // FolderPath - The folder path of the artifact source. FolderPath *string `json:"folderPath,omitempty"` // BranchRef - The branch reference of the artifact source. BranchRef *string `json:"branchRef,omitempty"` // SecurityToken - The security token of the artifact source. SecurityToken *string `json:"securityToken,omitempty"` // Status - The status of the artifact source. Possible values include: 'Enabled', 'Disabled' Status EnableStatus `json:"status,omitempty"` // ProvisioningState - The provisioning status of the resource. ProvisioningState *string `json:"provisioningState,omitempty"` }
ArtifactSourceProperties properties of an artifact source.
type BaseClient ¶
BaseClient is the base client for Dtl.
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 ¶
type CloudError struct {
Error *CloudErrorBody `json:"error,omitempty"`
}
CloudError ...
type CloudErrorBody ¶
type CloudErrorBody struct { Code *string `json:"code,omitempty"` Message *string `json:"message,omitempty"` Target *string `json:"target,omitempty"` Details *[]CloudErrorBody `json:"details,omitempty"` }
CloudErrorBody ...
type Cost ¶
type Cost struct { autorest.Response `json:"-"` // CostProperties - The properties of the resource. *CostProperties `json:"properties,omitempty"` // ID - The identifier of the resource. ID *string `json:"id,omitempty"` // Name - The name of the resource. Name *string `json:"name,omitempty"` // Type - The type of the resource. Type *string `json:"type,omitempty"` // Location - The location of the resource. Location *string `json:"location,omitempty"` // Tags - The tags of the resource. Tags map[string]*string `json:"tags"` }
Cost a cost item.
func (Cost) MarshalJSON ¶
MarshalJSON is the custom marshaler for Cost.
func (*Cost) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Cost struct.
type CostClient ¶
type CostClient struct {
BaseClient
}
CostClient is the azure DevTest Labs REST API version 2015-05-21-preview.
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 ¶
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 ¶
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 ¶
type CostInsight struct { autorest.Response `json:"-"` // CostInsightProperties - The properties of the resource. *CostInsightProperties `json:"properties,omitempty"` // ID - The identifier of the resource. ID *string `json:"id,omitempty"` // Name - The name of the resource. Name *string `json:"name,omitempty"` // Type - The type of the resource. Type *string `json:"type,omitempty"` // Location - The location of the resource. Location *string `json:"location,omitempty"` // Tags - The tags of the resource. Tags map[string]*string `json:"tags"` }
CostInsight ...
func (CostInsight) MarshalJSON ¶
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 ¶
type CostInsightClient struct {
BaseClient
}
CostInsightClient is the azure DevTest Labs REST API version 2015-05-21-preview.
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 ¶
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 ¶
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 ¶
type CostInsightProperties struct { CurrencyCode *string `json:"currencyCode,omitempty"` VMCosts *[]VMCostProperties `json:"vmCosts,omitempty"` // ProvisioningState - The provisioning status of the resource. ProvisioningState *string `json:"provisioningState,omitempty"` }
CostInsightProperties ...
type CostInsightRefreshDataFuture ¶
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) }
CostInsightRefreshDataFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*CostInsightRefreshDataFuture) UnmarshalJSON ¶
func (future *CostInsightRefreshDataFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type CostPerDayProperties ¶
type CostPerDayProperties struct { // Date - The date of the cost item. Date *date.Time `json:"date,omitempty"` // Cost - The cost of the cost item. Cost *float64 `json:"cost,omitempty"` // CostType - The type of the cost. Possible values include: 'Unavailable', 'Reported', 'Projected' CostType CostPropertyType `json:"costType,omitempty"` }
CostPerDayProperties the per-day properties of a cost item.
type CostProperties ¶
type CostProperties struct { // CurrencyCode - The currency code of the cost. CurrencyCode *string `json:"currencyCode,omitempty"` // Costs - The per-day costs items of the cost. Costs *[]CostPerDayProperties `json:"costs,omitempty"` }
CostProperties properties of a cost item.
type CostPropertyType ¶
type CostPropertyType string
CostPropertyType enumerates the values for cost property type.
const ( // Projected ... Projected CostPropertyType = "Projected" // Reported ... Reported CostPropertyType = "Reported" Unavailable CostPropertyType = "Unavailable" )
func PossibleCostPropertyTypeValues ¶
func PossibleCostPropertyTypeValues() []CostPropertyType
PossibleCostPropertyTypeValues returns an array of possible values for the CostPropertyType const type.
type CostRefreshDataFuture ¶
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) }
CostRefreshDataFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*CostRefreshDataFuture) UnmarshalJSON ¶
func (future *CostRefreshDataFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type CustomImage ¶
type CustomImage struct { autorest.Response `json:"-"` // CustomImageProperties - The properties of the resource. *CustomImageProperties `json:"properties,omitempty"` // ID - The identifier of the resource. ID *string `json:"id,omitempty"` // Name - The name of the resource. Name *string `json:"name,omitempty"` // Type - The type of the resource. Type *string `json:"type,omitempty"` // Location - The location of the resource. Location *string `json:"location,omitempty"` // Tags - The tags of the resource. Tags map[string]*string `json:"tags"` }
CustomImage a custom image.
func (CustomImage) MarshalJSON ¶
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 ¶
type CustomImageClient struct {
BaseClient
}
CustomImageClient is the azure DevTest Labs REST API version 2015-05-21-preview.
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 ¶
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 ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type CustomImageCreateOrUpdateResourceFuture ¶
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) }
CustomImageCreateOrUpdateResourceFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*CustomImageCreateOrUpdateResourceFuture) UnmarshalJSON ¶
func (future *CustomImageCreateOrUpdateResourceFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type CustomImageDeleteResourceFuture ¶
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) }
CustomImageDeleteResourceFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*CustomImageDeleteResourceFuture) UnmarshalJSON ¶
func (future *CustomImageDeleteResourceFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type CustomImageOsType ¶
type CustomImageOsType string
CustomImageOsType enumerates the values for custom image os type.
const ( // Linux ... Linux CustomImageOsType = "Linux" // None ... None CustomImageOsType = "None" // Windows ... Windows CustomImageOsType = "Windows" )
func PossibleCustomImageOsTypeValues ¶
func PossibleCustomImageOsTypeValues() []CustomImageOsType
PossibleCustomImageOsTypeValues returns an array of possible values for the CustomImageOsType const type.
type CustomImageProperties ¶
type CustomImageProperties struct { VM *CustomImagePropertiesFromVM `json:"vm,omitempty"` // Vhd - The VHD from which the image is to be created. Vhd *CustomImagePropertiesCustom `json:"vhd,omitempty"` // Description - The description of the custom image. Description *string `json:"description,omitempty"` // OsType - The OS type of the custom image. Possible values include: 'Windows', 'Linux', 'None' OsType CustomImageOsType `json:"osType,omitempty"` // Author - The author of the custom image. Author *string `json:"author,omitempty"` // CreationDate - The creation date of the custom image. CreationDate *date.Time `json:"creationDate,omitempty"` // ProvisioningState - The provisioning status of the resource. ProvisioningState *string `json:"provisioningState,omitempty"` }
CustomImageProperties properties of a custom image.
type CustomImagePropertiesCustom ¶
type CustomImagePropertiesCustom struct { // ImageName - The image name. ImageName *string `json:"imageName,omitempty"` // SysPrep - Indicates whether sysprep has been run on the VHD. SysPrep *bool `json:"sysPrep,omitempty"` }
CustomImagePropertiesCustom properties for creating a custom image from a VHD.
type CustomImagePropertiesFromVM ¶
type CustomImagePropertiesFromVM struct { // SourceVMID - The source vm identifier. SourceVMID *string `json:"sourceVmId,omitempty"` // SysPrep - Indicates whether sysprep has been run on the VHD. SysPrep *bool `json:"sysPrep,omitempty"` // WindowsOsInfo - The Windows OS information of the VM. WindowsOsInfo *WindowsOsInfo `json:"windowsOsInfo,omitempty"` // LinuxOsInfo - The Linux OS information of the VM. LinuxOsInfo *LinuxOsInfo `json:"linuxOsInfo,omitempty"` }
CustomImagePropertiesFromVM properties for creating a custom image from a virtual machine.
type DayDetails ¶
type DayDetails struct {
Time *string `json:"time,omitempty"`
}
DayDetails properties of a daily schedule.
type EnableStatus ¶
type EnableStatus string
EnableStatus enumerates the values for enable status.
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 ¶
type EvaluatePoliciesProperties struct { // FactName - The fact name. FactName *string `json:"factName,omitempty"` // FactData - The fact data. FactData *string `json:"factData,omitempty"` // ValueOffset - The value offset. ValueOffset *string `json:"valueOffset,omitempty"` }
EvaluatePoliciesProperties properties for evaluating a policy set.
type EvaluatePoliciesRequest ¶
type EvaluatePoliciesRequest struct { // Policies - Policies to evaluate. Policies *[]EvaluatePoliciesProperties `json:"policies,omitempty"` }
EvaluatePoliciesRequest request body for evaluating a policy set.
type EvaluatePoliciesResponse ¶
type EvaluatePoliciesResponse struct { autorest.Response `json:"-"` // Results - Results of evaluating a policy set. Results *[]PolicySetResult `json:"results,omitempty"` }
EvaluatePoliciesResponse response body for evaluating a policy set.
type Formula ¶
type Formula struct { autorest.Response `json:"-"` // FormulaProperties - The properties of the resource. *FormulaProperties `json:"properties,omitempty"` // ID - The identifier of the resource. ID *string `json:"id,omitempty"` // Name - The name of the resource. Name *string `json:"name,omitempty"` // Type - The type of the resource. Type *string `json:"type,omitempty"` // Location - The location of the resource. Location *string `json:"location,omitempty"` // Tags - The tags of the resource. Tags map[string]*string `json:"tags"` }
Formula a formula.
func (Formula) MarshalJSON ¶
MarshalJSON is the custom marshaler for Formula.
func (*Formula) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Formula struct.
type FormulaClient ¶
type FormulaClient struct {
BaseClient
}
FormulaClient is the azure DevTest Labs REST API version 2015-05-21-preview.
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 ¶
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 ¶
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 ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type FormulaCreateOrUpdateResourceFuture ¶
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) }
FormulaCreateOrUpdateResourceFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*FormulaCreateOrUpdateResourceFuture) UnmarshalJSON ¶
func (future *FormulaCreateOrUpdateResourceFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type FormulaProperties ¶
type FormulaProperties struct { // Description - The description of the formula. Description *string `json:"description,omitempty"` // Author - The author of the formula. Author *string `json:"author,omitempty"` // OsType - The OS type of the formula. OsType *string `json:"osType,omitempty"` // CreationDate - The creation date of the formula. CreationDate *date.Time `json:"creationDate,omitempty"` // FormulaContent - The content of the formula. FormulaContent *LabVirtualMachine `json:"formulaContent,omitempty"` // VM - Information about a VM from which a formula is to be created. VM *FormulaPropertiesFromVM `json:"vm,omitempty"` // ProvisioningState - The provisioning status of the resource. ProvisioningState *string `json:"provisioningState,omitempty"` }
FormulaProperties properties of a formula.
type FormulaPropertiesFromVM ¶
type FormulaPropertiesFromVM struct { // LabVMID - The identifier of the VM from which a formula is to be created. LabVMID *string `json:"labVmId,omitempty"` }
FormulaPropertiesFromVM information about a VM from which a formula is to be created.
type GalleryImage ¶
type GalleryImage struct { // GalleryImageProperties - The properties of the resource. *GalleryImageProperties `json:"properties,omitempty"` // ID - The identifier of the resource. ID *string `json:"id,omitempty"` // Name - The name of the resource. Name *string `json:"name,omitempty"` // Type - The type of the resource. Type *string `json:"type,omitempty"` // Location - The location of the resource. Location *string `json:"location,omitempty"` // Tags - The tags of the resource. Tags map[string]*string `json:"tags"` }
GalleryImage a gallery image.
func (GalleryImage) MarshalJSON ¶
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 ¶
type GalleryImageClient struct {
BaseClient
}
GalleryImageClient is the azure DevTest Labs REST API version 2015-05-21-preview.
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 ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type GalleryImageProperties ¶
type GalleryImageProperties struct { // Author - The author of the gallery image. Author *string `json:"author,omitempty"` // CreatedDate - The creation date of the gallery image. CreatedDate *date.Time `json:"createdDate,omitempty"` // Description - The description of the gallery image. Description *string `json:"description,omitempty"` // ImageReference - The image reference of the gallery image. ImageReference *GalleryImageReference `json:"imageReference,omitempty"` // Icon - The icon of the gallery image. Icon *string `json:"icon,omitempty"` // Enabled - Indicates whether this gallery image is enabled. Enabled *bool `json:"enabled,omitempty"` }
GalleryImageProperties properties of a gallery image.
type GalleryImageReference ¶
type GalleryImageReference struct { // Offer - The offer of the gallery image. Offer *string `json:"offer,omitempty"` // Publisher - The publisher of the gallery image. Publisher *string `json:"publisher,omitempty"` // Sku - The SKU of the gallery image. Sku *string `json:"sku,omitempty"` // OsType - The OS type of the gallery image. OsType *string `json:"osType,omitempty"` // Version - The version of the gallery image. Version *string `json:"version,omitempty"` }
GalleryImageReference the reference information for an Azure Marketplace image.
type GenerateArmTemplateRequest ¶
type GenerateArmTemplateRequest struct { // VirtualMachineName - The resource name of the virtual machine. VirtualMachineName *string `json:"virtualMachineName,omitempty"` // Parameters - The parameters of the ARM template. Parameters *[]ParameterInfo `json:"parameters,omitempty"` // Location - The location of the virtual machine. Location *string `json:"location,omitempty"` }
GenerateArmTemplateRequest parameters for generating an ARM template for deploying artifacts.
type GenerateUploadURIParameter ¶
type GenerateUploadURIParameter struct { // BlobName - The blob name of the upload URI. BlobName *string `json:"blobName,omitempty"` }
GenerateUploadURIParameter properties for generating an upload URI.
type GenerateUploadURIResponse ¶
type GenerateUploadURIResponse struct { autorest.Response `json:"-"` // UploadURI - The upload URI for the VHD. UploadURI *string `json:"uploadUri,omitempty"` }
GenerateUploadURIResponse response body for generating an upload URI.
type HourDetails ¶
type HourDetails struct { // Minute - Minutes of the hour the schedule will run. Minute *int32 `json:"minute,omitempty"` }
HourDetails properties of an hourly schedule.
type Lab ¶
type Lab struct { autorest.Response `json:"-"` // LabProperties - The properties of the resource. *LabProperties `json:"properties,omitempty"` // ID - The identifier of the resource. ID *string `json:"id,omitempty"` // Name - The name of the resource. Name *string `json:"name,omitempty"` // Type - The type of the resource. Type *string `json:"type,omitempty"` // Location - The location of the resource. Location *string `json:"location,omitempty"` // Tags - The tags of the resource. Tags map[string]*string `json:"tags"` }
Lab a lab.
func (Lab) MarshalJSON ¶
MarshalJSON is the custom marshaler for Lab.
func (*Lab) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Lab struct.
type LabClient ¶
type LabClient struct {
BaseClient
}
LabClient is the azure DevTest Labs REST API version 2015-05-21-preview.
func NewLabClient ¶
NewLabClient creates an instance of the LabClient client.
func NewLabClientWithBaseURI ¶
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 ¶
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 ¶
GetResourceResponder handles the response to the GetResource request. The method always closes the http.Response Body.
func (LabClient) GetResourceSender ¶
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 ¶
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 ¶
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 ¶
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 ¶
PatchResourceResponder handles the response to the PatchResource request. The method always closes the http.Response Body.
type LabCreateEnvironmentFuture ¶
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) }
LabCreateEnvironmentFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*LabCreateEnvironmentFuture) UnmarshalJSON ¶
func (future *LabCreateEnvironmentFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type LabCreateOrUpdateResourceFuture ¶
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) }
LabCreateOrUpdateResourceFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*LabCreateOrUpdateResourceFuture) UnmarshalJSON ¶
func (future *LabCreateOrUpdateResourceFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type LabDeleteResourceFuture ¶
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) }
LabDeleteResourceFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*LabDeleteResourceFuture) UnmarshalJSON ¶
func (future *LabDeleteResourceFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type LabProperties ¶
type LabProperties struct { // DefaultStorageAccount - The lab's default storage account. DefaultStorageAccount *string `json:"defaultStorageAccount,omitempty"` // ArtifactsStorageAccount - The artifact storage account of the lab. ArtifactsStorageAccount *string `json:"artifactsStorageAccount,omitempty"` // StorageAccounts - The storage accounts of the lab. StorageAccounts *[]string `json:"storageAccounts,omitempty"` // VaultName - The name of the key vault of the lab. VaultName *string `json:"vaultName,omitempty"` // LabStorageType - The type of the lab storage. Possible values include: 'Standard', 'Premium' LabStorageType LabStorageType `json:"labStorageType,omitempty"` // DefaultVirtualNetworkID - The default virtual network identifier of the lab. DefaultVirtualNetworkID *string `json:"defaultVirtualNetworkId,omitempty"` // CreatedDate - The creation date of the lab. CreatedDate *date.Time `json:"createdDate,omitempty"` // ProvisioningState - The provisioning status of the resource. ProvisioningState *string `json:"provisioningState,omitempty"` }
LabProperties properties of a lab.
type LabStorageType ¶
type LabStorageType string
LabStorageType enumerates the values for lab storage type.
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 ¶
type LabVhd struct { // ID - The absolute URI of the VHD. ID *string `json:"id,omitempty"` }
LabVhd properties of a VHD in the lab.
type LabVirtualMachine ¶
type LabVirtualMachine struct { autorest.Response `json:"-"` // LabVirtualMachineProperties - The properties of the resource. *LabVirtualMachineProperties `json:"properties,omitempty"` // ID - The identifier of the resource. ID *string `json:"id,omitempty"` // Name - The name of the resource. Name *string `json:"name,omitempty"` // Type - The type of the resource. Type *string `json:"type,omitempty"` // Location - The location of the resource. Location *string `json:"location,omitempty"` // Tags - The tags of the resource. Tags map[string]*string `json:"tags"` }
LabVirtualMachine a virtual machine.
func (LabVirtualMachine) MarshalJSON ¶
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 ¶
type LabVirtualMachineProperties struct { // Notes - The notes of the virtual machine. Notes *string `json:"notes,omitempty"` // OwnerObjectID - The object identifier of the owner of the virtual machine. OwnerObjectID *string `json:"ownerObjectId,omitempty"` // CreatedByUserID - The object identifier of the creator of the virtual machine. CreatedByUserID *string `json:"createdByUserId,omitempty"` // CreatedByUser - The email address of creator of the virtual machine. CreatedByUser *string `json:"createdByUser,omitempty"` // ComputeID - The resource identifier (Microsoft.Compute) of the virtual machine. ComputeID *string `json:"computeId,omitempty"` // CustomImageID - The custom image identifier of the virtual machine. CustomImageID *string `json:"customImageId,omitempty"` // OsType - The OS type of the virtual machine. OsType *string `json:"osType,omitempty"` // Size - The size of the virtual machine. Size *string `json:"size,omitempty"` // UserName - The user name of the virtual machine. UserName *string `json:"userName,omitempty"` // Password - The password of the virtual machine administrator. Password *string `json:"password,omitempty"` // SSHKey - The SSH key of the virtual machine administrator. SSHKey *string `json:"sshKey,omitempty"` // IsAuthenticationWithSSHKey - A value indicating whether this virtual machine uses an SSH key for authentication. IsAuthenticationWithSSHKey *bool `json:"isAuthenticationWithSshKey,omitempty"` // Fqdn - The fully-qualified domain name of the virtual machine. Fqdn *string `json:"fqdn,omitempty"` // LabSubnetName - The lab subnet name of the virtual machine. LabSubnetName *string `json:"labSubnetName,omitempty"` // LabVirtualNetworkID - The lab virtual network identifier of the virtual machine. LabVirtualNetworkID *string `json:"labVirtualNetworkId,omitempty"` // DisallowPublicIPAddress - Indicates whether the virtual machine is to be created without a public IP address. DisallowPublicIPAddress *bool `json:"disallowPublicIpAddress,omitempty"` // Artifacts - The artifacts to be installed on the virtual machine. Artifacts *[]ArtifactInstallProperties `json:"artifacts,omitempty"` // ArtifactDeploymentStatus - The artifact deployment status for the virtual machine. ArtifactDeploymentStatus *ArtifactDeploymentStatusProperties `json:"artifactDeploymentStatus,omitempty"` // GalleryImageReference - The Microsoft Azure Marketplace image reference of the virtual machine. GalleryImageReference *GalleryImageReference `json:"galleryImageReference,omitempty"` // ProvisioningState - The provisioning status of the resource. ProvisioningState *string `json:"provisioningState,omitempty"` }
LabVirtualMachineProperties properties of a virtual machine.
type LinuxOsInfo ¶
type LinuxOsInfo struct { // LinuxOsState - The state of the Linux OS. Possible values include: 'NonDeprovisioned', 'DeprovisionRequested', 'DeprovisionApplied' LinuxOsState LinuxOsState `json:"linuxOsState,omitempty"` }
LinuxOsInfo information about a Linux OS.
type LinuxOsState ¶
type LinuxOsState string
LinuxOsState enumerates the values for linux os state.
const ( // DeprovisionApplied ... DeprovisionApplied LinuxOsState = "DeprovisionApplied" // DeprovisionRequested ... DeprovisionRequested LinuxOsState = "DeprovisionRequested" // NonDeprovisioned ... NonDeprovisioned LinuxOsState = "NonDeprovisioned" )
func PossibleLinuxOsStateValues ¶
func PossibleLinuxOsStateValues() []LinuxOsState
PossibleLinuxOsStateValues returns an array of possible values for the LinuxOsState const type.
type ParameterInfo ¶
type ParameterInfo struct { Name *string `json:"name,omitempty"` Value *string `json:"value,omitempty"` }
ParameterInfo ...
type 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"` }
Policy a Policy.
func (Policy) MarshalJSON ¶
MarshalJSON is the custom marshaler for Policy.
func (*Policy) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Policy struct.
type PolicyClient ¶
type PolicyClient struct {
BaseClient
}
PolicyClient is the azure DevTest Labs REST API version 2015-05-21-preview.
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
PatchResourceSender sends the PatchResource request. The method will close the http.Response Body if it receives an error.
type PolicyEvaluatorType ¶
type PolicyEvaluatorType string
PolicyEvaluatorType enumerates the values for policy evaluator type.
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 ¶
type PolicyFactName string
PolicyFactName enumerates the values for policy fact name.
const ( // PolicyFactNameGalleryImage ... PolicyFactNameGalleryImage PolicyFactName = "GalleryImage" // PolicyFactNameLabVMCount ... PolicyFactNameLabVMCount PolicyFactName = "LabVmCount" // PolicyFactNameLabVMSize ... PolicyFactNameLabVMSize PolicyFactName = "LabVmSize" // PolicyFactNameUserOwnedLabVMCount ... PolicyFactNameUserOwnedLabVMCount PolicyFactName = "UserOwnedLabVmCount" // PolicyFactNameUserOwnedLabVMCountInSubnet ... PolicyFactNameUserOwnedLabVMCountInSubnet PolicyFactName = "UserOwnedLabVmCountInSubnet" )
func PossiblePolicyFactNameValues ¶
func PossiblePolicyFactNameValues() []PolicyFactName
PossiblePolicyFactNameValues returns an array of possible values for the PolicyFactName const type.
type PolicyProperties ¶
type PolicyProperties struct { // Description - The description of the policy. Description *string `json:"description,omitempty"` // Status - The status of the policy. Possible values include: 'PolicyStatusEnabled', 'PolicyStatusDisabled' Status PolicyStatus `json:"status,omitempty"` // FactName - The fact name of the policy. Possible values include: 'PolicyFactNameUserOwnedLabVMCount', 'PolicyFactNameLabVMCount', 'PolicyFactNameLabVMSize', 'PolicyFactNameGalleryImage', 'PolicyFactNameUserOwnedLabVMCountInSubnet' FactName PolicyFactName `json:"factName,omitempty"` // FactData - The fact data of the policy. FactData *string `json:"factData,omitempty"` // Threshold - The threshold of the policy. Threshold *string `json:"threshold,omitempty"` // EvaluatorType - The evaluator type of the policy. Possible values include: 'AllowedValuesPolicy', 'MaxValuePolicy' EvaluatorType PolicyEvaluatorType `json:"evaluatorType,omitempty"` // ProvisioningState - The provisioning status of the resource. ProvisioningState *string `json:"provisioningState,omitempty"` }
PolicyProperties properties of a Policy.
type PolicySetClient ¶
type PolicySetClient struct {
BaseClient
}
PolicySetClient is the azure DevTest Labs REST API version 2015-05-21-preview.
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 ¶
EvaluatePoliciesSender sends the EvaluatePolicies request. The method will close the http.Response Body if it receives an error.
type PolicySetResult ¶
type PolicySetResult struct { // HasError - A value indicating whether this policy set evaluation has discovered violations. HasError *bool `json:"hasError,omitempty"` // PolicyViolations - The list of policy violations. PolicyViolations *[]PolicyViolation `json:"policyViolations,omitempty"` }
PolicySetResult result of a policy set evaluation.
type PolicyStatus ¶
type PolicyStatus string
PolicyStatus enumerates the values for policy status.
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 ¶
type PolicyViolation struct { // Code - The code of the policy violation. Code *string `json:"code,omitempty"` // Message - The message of the policy violation. Message *string `json:"message,omitempty"` }
PolicyViolation policy violation.
type ResponseWithContinuationArtifact ¶
type ResponseWithContinuationArtifact struct { autorest.Response `json:"-"` // Value - Results of the list operation. Value *[]Artifact `json:"value,omitempty"` // NextLink - Link for next set of results. NextLink *string `json:"nextLink,omitempty"` }
ResponseWithContinuationArtifact the response of a list operation.
func (ResponseWithContinuationArtifact) IsEmpty ¶
func (rwcA ResponseWithContinuationArtifact) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ResponseWithContinuationArtifactIterator ¶
type ResponseWithContinuationArtifactIterator struct {
// contains filtered or unexported fields
}
ResponseWithContinuationArtifactIterator provides access to a complete listing of Artifact values.
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 ¶
type ResponseWithContinuationArtifactPage struct {
// contains filtered or unexported fields
}
ResponseWithContinuationArtifactPage contains a page of Artifact values.
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 ¶
type ResponseWithContinuationArtifactSource struct { autorest.Response `json:"-"` // Value - Results of the list operation. Value *[]ArtifactSource `json:"value,omitempty"` // NextLink - Link for next set of results. NextLink *string `json:"nextLink,omitempty"` }
ResponseWithContinuationArtifactSource the response of a list operation.
func (ResponseWithContinuationArtifactSource) IsEmpty ¶
func (rwcAs ResponseWithContinuationArtifactSource) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ResponseWithContinuationArtifactSourceIterator ¶
type ResponseWithContinuationArtifactSourceIterator struct {
// contains filtered or unexported fields
}
ResponseWithContinuationArtifactSourceIterator provides access to a complete listing of ArtifactSource values.
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 ¶
type ResponseWithContinuationArtifactSourcePage struct {
// contains filtered or unexported fields
}
ResponseWithContinuationArtifactSourcePage contains a page of ArtifactSource values.
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 ¶
type ResponseWithContinuationCost struct { autorest.Response `json:"-"` // Value - Results of the list operation. Value *[]Cost `json:"value,omitempty"` // NextLink - Link for next set of results. NextLink *string `json:"nextLink,omitempty"` }
ResponseWithContinuationCost the response of a list operation.
func (ResponseWithContinuationCost) IsEmpty ¶
func (rwcC ResponseWithContinuationCost) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ResponseWithContinuationCostInsight ¶
type ResponseWithContinuationCostInsight struct { autorest.Response `json:"-"` // Value - Results of the list operation. Value *[]CostInsight `json:"value,omitempty"` // NextLink - Link for next set of results. NextLink *string `json:"nextLink,omitempty"` }
ResponseWithContinuationCostInsight the response of a list operation.
func (ResponseWithContinuationCostInsight) IsEmpty ¶
func (rwcCi ResponseWithContinuationCostInsight) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ResponseWithContinuationCostInsightIterator ¶
type ResponseWithContinuationCostInsightIterator struct {
// contains filtered or unexported fields
}
ResponseWithContinuationCostInsightIterator provides access to a complete listing of CostInsight values.
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 ¶
type ResponseWithContinuationCostInsightPage struct {
// contains filtered or unexported fields
}
ResponseWithContinuationCostInsightPage contains a page of CostInsight values.
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 ¶
type ResponseWithContinuationCostIterator struct {
// contains filtered or unexported fields
}
ResponseWithContinuationCostIterator provides access to a complete listing of Cost values.
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 ¶
type ResponseWithContinuationCostPage struct {
// contains filtered or unexported fields
}
ResponseWithContinuationCostPage contains a page of Cost values.
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 ¶
type ResponseWithContinuationCustomImage struct { autorest.Response `json:"-"` // Value - Results of the list operation. Value *[]CustomImage `json:"value,omitempty"` // NextLink - Link for next set of results. NextLink *string `json:"nextLink,omitempty"` }
ResponseWithContinuationCustomImage the response of a list operation.
func (ResponseWithContinuationCustomImage) IsEmpty ¶
func (rwcCi ResponseWithContinuationCustomImage) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ResponseWithContinuationCustomImageIterator ¶
type ResponseWithContinuationCustomImageIterator struct {
// contains filtered or unexported fields
}
ResponseWithContinuationCustomImageIterator provides access to a complete listing of CustomImage values.
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 ¶
type ResponseWithContinuationCustomImagePage struct {
// contains filtered or unexported fields
}
ResponseWithContinuationCustomImagePage contains a page of CustomImage values.
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 ¶
type ResponseWithContinuationFormula struct { autorest.Response `json:"-"` // Value - Results of the list operation. Value *[]Formula `json:"value,omitempty"` // NextLink - Link for next set of results. NextLink *string `json:"nextLink,omitempty"` }
ResponseWithContinuationFormula the response of a list operation.
func (ResponseWithContinuationFormula) IsEmpty ¶
func (rwcF ResponseWithContinuationFormula) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ResponseWithContinuationFormulaIterator ¶
type ResponseWithContinuationFormulaIterator struct {
// contains filtered or unexported fields
}
ResponseWithContinuationFormulaIterator provides access to a complete listing of Formula values.
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 ¶
type ResponseWithContinuationFormulaPage struct {
// contains filtered or unexported fields
}
ResponseWithContinuationFormulaPage contains a page of Formula values.
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 ¶
type ResponseWithContinuationGalleryImage struct { autorest.Response `json:"-"` // Value - Results of the list operation. Value *[]GalleryImage `json:"value,omitempty"` // NextLink - Link for next set of results. NextLink *string `json:"nextLink,omitempty"` }
ResponseWithContinuationGalleryImage the response of a list operation.
func (ResponseWithContinuationGalleryImage) IsEmpty ¶
func (rwcGi ResponseWithContinuationGalleryImage) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ResponseWithContinuationGalleryImageIterator ¶
type ResponseWithContinuationGalleryImageIterator struct {
// contains filtered or unexported fields
}
ResponseWithContinuationGalleryImageIterator provides access to a complete listing of GalleryImage values.
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 ¶
type ResponseWithContinuationGalleryImagePage struct {
// contains filtered or unexported fields
}
ResponseWithContinuationGalleryImagePage contains a page of GalleryImage values.
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 ¶
type ResponseWithContinuationLab struct { autorest.Response `json:"-"` // Value - Results of the list operation. Value *[]Lab `json:"value,omitempty"` // NextLink - Link for next set of results. NextLink *string `json:"nextLink,omitempty"` }
ResponseWithContinuationLab the response of a list operation.
func (ResponseWithContinuationLab) IsEmpty ¶
func (rwcL ResponseWithContinuationLab) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ResponseWithContinuationLabIterator ¶
type ResponseWithContinuationLabIterator struct {
// contains filtered or unexported fields
}
ResponseWithContinuationLabIterator provides access to a complete listing of Lab values.
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 ¶
type ResponseWithContinuationLabPage struct {
// contains filtered or unexported fields
}
ResponseWithContinuationLabPage contains a page of Lab values.
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 ¶
type ResponseWithContinuationLabVhd struct { autorest.Response `json:"-"` // Value - Results of the list operation. Value *[]LabVhd `json:"value,omitempty"` // NextLink - Link for next set of results. NextLink *string `json:"nextLink,omitempty"` }
ResponseWithContinuationLabVhd the response of a list operation.
func (ResponseWithContinuationLabVhd) IsEmpty ¶
func (rwcLv ResponseWithContinuationLabVhd) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ResponseWithContinuationLabVhdIterator ¶
type ResponseWithContinuationLabVhdIterator struct {
// contains filtered or unexported fields
}
ResponseWithContinuationLabVhdIterator provides access to a complete listing of LabVhd values.
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 ¶
type ResponseWithContinuationLabVhdPage struct {
// contains filtered or unexported fields
}
ResponseWithContinuationLabVhdPage contains a page of LabVhd values.
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 ¶
type ResponseWithContinuationLabVirtualMachine struct { autorest.Response `json:"-"` // Value - Results of the list operation. Value *[]LabVirtualMachine `json:"value,omitempty"` // NextLink - Link for next set of results. NextLink *string `json:"nextLink,omitempty"` }
ResponseWithContinuationLabVirtualMachine the response of a list operation.
func (ResponseWithContinuationLabVirtualMachine) IsEmpty ¶
func (rwcLvm ResponseWithContinuationLabVirtualMachine) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ResponseWithContinuationLabVirtualMachineIterator ¶
type ResponseWithContinuationLabVirtualMachineIterator struct {
// contains filtered or unexported fields
}
ResponseWithContinuationLabVirtualMachineIterator provides access to a complete listing of LabVirtualMachine values.
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 ¶
type ResponseWithContinuationLabVirtualMachinePage struct {
// contains filtered or unexported fields
}
ResponseWithContinuationLabVirtualMachinePage contains a page of LabVirtualMachine values.
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 ¶
type ResponseWithContinuationPolicy struct { autorest.Response `json:"-"` // Value - Results of the list operation. Value *[]Policy `json:"value,omitempty"` // NextLink - Link for next set of results. NextLink *string `json:"nextLink,omitempty"` }
ResponseWithContinuationPolicy the response of a list operation.
func (ResponseWithContinuationPolicy) IsEmpty ¶
func (rwcP ResponseWithContinuationPolicy) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ResponseWithContinuationPolicyIterator ¶
type ResponseWithContinuationPolicyIterator struct {
// contains filtered or unexported fields
}
ResponseWithContinuationPolicyIterator provides access to a complete listing of Policy values.
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 ¶
type ResponseWithContinuationPolicyPage struct {
// contains filtered or unexported fields
}
ResponseWithContinuationPolicyPage contains a page of Policy values.
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 ¶
type ResponseWithContinuationSchedule struct { autorest.Response `json:"-"` // Value - Results of the list operation. Value *[]Schedule `json:"value,omitempty"` // NextLink - Link for next set of results. NextLink *string `json:"nextLink,omitempty"` }
ResponseWithContinuationSchedule the response of a list operation.
func (ResponseWithContinuationSchedule) IsEmpty ¶
func (rwcS ResponseWithContinuationSchedule) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ResponseWithContinuationScheduleIterator ¶
type ResponseWithContinuationScheduleIterator struct {
// contains filtered or unexported fields
}
ResponseWithContinuationScheduleIterator provides access to a complete listing of Schedule values.
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 ¶
type ResponseWithContinuationSchedulePage struct {
// contains filtered or unexported fields
}
ResponseWithContinuationSchedulePage contains a page of Schedule values.
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 ¶
type ResponseWithContinuationVirtualNetwork struct { autorest.Response `json:"-"` // Value - Results of the list operation. Value *[]VirtualNetwork `json:"value,omitempty"` // NextLink - Link for next set of results. NextLink *string `json:"nextLink,omitempty"` }
ResponseWithContinuationVirtualNetwork the response of a list operation.
func (ResponseWithContinuationVirtualNetwork) IsEmpty ¶
func (rwcVn ResponseWithContinuationVirtualNetwork) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ResponseWithContinuationVirtualNetworkIterator ¶
type ResponseWithContinuationVirtualNetworkIterator struct {
// contains filtered or unexported fields
}
ResponseWithContinuationVirtualNetworkIterator provides access to a complete listing of VirtualNetwork values.
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 ¶
type ResponseWithContinuationVirtualNetworkPage struct {
// contains filtered or unexported fields
}
ResponseWithContinuationVirtualNetworkPage contains a page of VirtualNetwork values.
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 ¶
type Schedule struct { autorest.Response `json:"-"` // ScheduleProperties - The properties of the resource. *ScheduleProperties `json:"properties,omitempty"` // ID - The identifier of the resource. ID *string `json:"id,omitempty"` // Name - The name of the resource. Name *string `json:"name,omitempty"` // Type - The type of the resource. Type *string `json:"type,omitempty"` // Location - The location of the resource. Location *string `json:"location,omitempty"` // Tags - The tags of the resource. Tags map[string]*string `json:"tags"` }
Schedule a schedule.
func (Schedule) MarshalJSON ¶
MarshalJSON is the custom marshaler for Schedule.
func (*Schedule) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Schedule struct.
type ScheduleClient ¶
type ScheduleClient struct {
BaseClient
}
ScheduleClient is the azure DevTest Labs REST API version 2015-05-21-preview.
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 ¶
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 ¶
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 ¶
PatchResourceSender sends the PatchResource request. The method will close the http.Response Body if it receives an error.
type ScheduleCreateOrUpdateResourceFuture ¶
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) }
ScheduleCreateOrUpdateResourceFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ScheduleCreateOrUpdateResourceFuture) UnmarshalJSON ¶
func (future *ScheduleCreateOrUpdateResourceFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ScheduleDeleteResourceFuture ¶
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) }
ScheduleDeleteResourceFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ScheduleDeleteResourceFuture) UnmarshalJSON ¶
func (future *ScheduleDeleteResourceFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ScheduleExecuteFuture ¶
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) }
ScheduleExecuteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ScheduleExecuteFuture) UnmarshalJSON ¶
func (future *ScheduleExecuteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type ScheduleProperties ¶
type ScheduleProperties struct { // Status - The status of the schedule. Possible values include: 'Enabled', 'Disabled' Status EnableStatus `json:"status,omitempty"` // TaskType - The task type of the schedule. Possible values include: 'LabVmsShutdownTask', 'LabVmsStartupTask', 'LabBillingTask' TaskType TaskType `json:"taskType,omitempty"` // WeeklyRecurrence - The weekly recurrence of the schedule. WeeklyRecurrence *WeekDetails `json:"weeklyRecurrence,omitempty"` // DailyRecurrence - The daily recurrence of the schedule. DailyRecurrence *DayDetails `json:"dailyRecurrence,omitempty"` // HourlyRecurrence - The hourly recurrence of the schedule. HourlyRecurrence *HourDetails `json:"hourlyRecurrence,omitempty"` // TimeZoneID - The time zone id. TimeZoneID *string `json:"timeZoneId,omitempty"` // ProvisioningState - The provisioning status of the resource. ProvisioningState *string `json:"provisioningState,omitempty"` }
ScheduleProperties properties of a schedule.
type SourceControlType ¶
type SourceControlType string
SourceControlType enumerates the values for source control type.
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 ¶
type Subnet struct { ResourceID *string `json:"resourceId,omitempty"` LabSubnetName *string `json:"labSubnetName,omitempty"` // AllowPublicIP - Possible values include: 'Default', 'Deny', 'Allow' AllowPublicIP UsagePermissionType `json:"allowPublicIp,omitempty"` }
Subnet ...
type SubnetOverride ¶
type SubnetOverride struct { // ResourceID - The resource identifier of the subnet. ResourceID *string `json:"resourceId,omitempty"` // LabSubnetName - The name given to the subnet within the lab. LabSubnetName *string `json:"labSubnetName,omitempty"` // UseInVMCreationPermission - Indicates whether this subnet can be used during virtual machine creation. Possible values include: 'Default', 'Deny', 'Allow' UseInVMCreationPermission UsagePermissionType `json:"useInVmCreationPermission,omitempty"` // UsePublicIPAddressPermission - Indicates whether public IP addresses can be assigned to virtual machines on this subnet. Possible values include: 'Default', 'Deny', 'Allow' UsePublicIPAddressPermission UsagePermissionType `json:"usePublicIpAddressPermission,omitempty"` }
SubnetOverride property overrides on a subnet of a virtual network.
type SubscriptionNotification ¶
type SubscriptionNotification struct { RegistrationDate *string `json:"registrationDate,omitempty"` // State - Possible values include: 'NotDefined', 'Registered', 'Unregistered', 'Warned', 'Suspended', 'Deleted' State SubscriptionNotificationState `json:"state,omitempty"` Properties *SubscriptionNotificationProperties `json:"properties,omitempty"` }
SubscriptionNotification ...
type SubscriptionNotificationProperties ¶
type SubscriptionNotificationProperties struct {
TenantID *string `json:"tenantId,omitempty"`
}
SubscriptionNotificationProperties ...
type SubscriptionNotificationState ¶
type SubscriptionNotificationState string
SubscriptionNotificationState enumerates the values for subscription notification state.
const ( // Deleted ... Deleted SubscriptionNotificationState = "Deleted" // NotDefined ... NotDefined SubscriptionNotificationState = "NotDefined" // Registered ... Registered SubscriptionNotificationState = "Registered" // Suspended ... Suspended SubscriptionNotificationState = "Suspended" // Unregistered ... Unregistered SubscriptionNotificationState = "Unregistered" // Warned ... Warned SubscriptionNotificationState = "Warned" )
func PossibleSubscriptionNotificationStateValues ¶
func PossibleSubscriptionNotificationStateValues() []SubscriptionNotificationState
PossibleSubscriptionNotificationStateValues returns an array of possible values for the SubscriptionNotificationState const type.
type TaskType ¶
type TaskType string
TaskType enumerates the values for task type.
func PossibleTaskTypeValues ¶
func PossibleTaskTypeValues() []TaskType
PossibleTaskTypeValues returns an array of possible values for the TaskType const type.
type UsagePermissionType ¶
type UsagePermissionType string
UsagePermissionType enumerates the values for usage permission type.
const ( // Allow ... Allow UsagePermissionType = "Allow" // Default ... Default UsagePermissionType = "Default" // Deny ... Deny UsagePermissionType = "Deny" )
func PossibleUsagePermissionTypeValues ¶
func PossibleUsagePermissionTypeValues() []UsagePermissionType
PossibleUsagePermissionTypeValues returns an array of possible values for the UsagePermissionType const type.
type VMCostProperties ¶
type VMCostProperties struct { Name *string `json:"name,omitempty"` ResourceGroupName *string `json:"resourceGroupName,omitempty"` Cost *float64 `json:"cost,omitempty"` }
VMCostProperties ...
type VirtualMachineApplyArtifactsFuture ¶
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) }
VirtualMachineApplyArtifactsFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualMachineApplyArtifactsFuture) UnmarshalJSON ¶
func (future *VirtualMachineApplyArtifactsFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualMachineClient ¶
type VirtualMachineClient struct {
BaseClient
}
VirtualMachineClient is the azure DevTest Labs REST API version 2015-05-21-preview.
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 ¶
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 ¶
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 ¶
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 ¶
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) }
VirtualMachineCreateOrUpdateResourceFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualMachineCreateOrUpdateResourceFuture) UnmarshalJSON ¶
func (future *VirtualMachineCreateOrUpdateResourceFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualMachineDeleteResourceFuture ¶
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) }
VirtualMachineDeleteResourceFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualMachineDeleteResourceFuture) UnmarshalJSON ¶
func (future *VirtualMachineDeleteResourceFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualMachineStartFuture ¶
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) }
VirtualMachineStartFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualMachineStartFuture) UnmarshalJSON ¶
func (future *VirtualMachineStartFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualMachineStopFuture ¶
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) }
VirtualMachineStopFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualMachineStopFuture) UnmarshalJSON ¶
func (future *VirtualMachineStopFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualNetwork ¶
type VirtualNetwork struct { autorest.Response `json:"-"` // VirtualNetworkProperties - The properties of the resource. *VirtualNetworkProperties `json:"properties,omitempty"` // ID - The identifier of the resource. ID *string `json:"id,omitempty"` // Name - The name of the resource. Name *string `json:"name,omitempty"` // Type - The type of the resource. Type *string `json:"type,omitempty"` // Location - The location of the resource. Location *string `json:"location,omitempty"` // Tags - The tags of the resource. Tags map[string]*string `json:"tags"` }
VirtualNetwork a virtual network.
func (VirtualNetwork) MarshalJSON ¶
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 ¶
type VirtualNetworkClient struct {
BaseClient
}
VirtualNetworkClient is the azure DevTest Labs REST API version 2015-05-21-preview.
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 ¶
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 ¶
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 ¶
PatchResourceSender sends the PatchResource request. The method will close the http.Response Body if it receives an error.
type VirtualNetworkCreateOrUpdateResourceFuture ¶
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) }
VirtualNetworkCreateOrUpdateResourceFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualNetworkCreateOrUpdateResourceFuture) UnmarshalJSON ¶
func (future *VirtualNetworkCreateOrUpdateResourceFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualNetworkDeleteResourceFuture ¶
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) }
VirtualNetworkDeleteResourceFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*VirtualNetworkDeleteResourceFuture) UnmarshalJSON ¶
func (future *VirtualNetworkDeleteResourceFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type VirtualNetworkProperties ¶
type VirtualNetworkProperties struct { // AllowedSubnets - The allowed subnets of the virtual network. AllowedSubnets *[]Subnet `json:"allowedSubnets,omitempty"` // Description - The description of the virtual network. Description *string `json:"description,omitempty"` // ExternalProviderResourceID - The Microsoft.Network resource identifier of the virtual network. ExternalProviderResourceID *string `json:"externalProviderResourceId,omitempty"` // SubnetOverrides - The subnet overrides of the virtual network. SubnetOverrides *[]SubnetOverride `json:"subnetOverrides,omitempty"` // ProvisioningState - The provisioning status of the resource. ProvisioningState *string `json:"provisioningState,omitempty"` }
VirtualNetworkProperties properties of a virtual network.
type WeekDetails ¶
type WeekDetails struct { // Weekdays - The days of the week. Weekdays *[]string `json:"weekdays,omitempty"` // Time - The time of the day. Time *string `json:"time,omitempty"` }
WeekDetails properties of a weekly schedule.
type WindowsOsInfo ¶
type WindowsOsInfo struct { // WindowsOsState - The state of the Windows OS. Possible values include: 'NonSysprepped', 'SysprepRequested', 'SysprepApplied' WindowsOsState WindowsOsState `json:"windowsOsState,omitempty"` }
WindowsOsInfo information about a Windows OS.
type WindowsOsState ¶
type WindowsOsState string
WindowsOsState enumerates the values for windows os state.
const ( // NonSysprepped ... NonSysprepped WindowsOsState = "NonSysprepped" // SysprepApplied ... SysprepApplied WindowsOsState = "SysprepApplied" // SysprepRequested ... SysprepRequested WindowsOsState = "SysprepRequested" )
func PossibleWindowsOsStateValues ¶
func PossibleWindowsOsStateValues() []WindowsOsState
PossibleWindowsOsStateValues returns an array of possible values for the WindowsOsState const type.