...

Package features

import "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2019-07-01/features"
Overview
Index
Subdirectories

Overview ▾

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

Package features implements the Azure ARM Features service API version 2019-07-01.

Provides operations for working with resources and resource groups.

Index ▾

Constants
func UserAgent() string
func Version() string
type AliasPathType
type AliasType
type BaseClient
    func New(subscriptionID string) BaseClient
    func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient
type BasicDependency
type ChangeType
    func PossibleChangeTypeValues() []ChangeType
type CloudError
type DebugSetting
type Dependency
type Deployment
type DeploymentExportResult
type DeploymentExtended
    func (de DeploymentExtended) MarshalJSON() ([]byte, error)
type DeploymentExtendedFilter
type DeploymentListResult
    func (dlr DeploymentListResult) IsEmpty() bool
    func (dlr DeploymentListResult) MarshalJSON() ([]byte, error)
type DeploymentListResultIterator
    func NewDeploymentListResultIterator(page DeploymentListResultPage) DeploymentListResultIterator
    func (iter *DeploymentListResultIterator) Next() error
    func (iter *DeploymentListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter DeploymentListResultIterator) NotDone() bool
    func (iter DeploymentListResultIterator) Response() DeploymentListResult
    func (iter DeploymentListResultIterator) Value() DeploymentExtended
type DeploymentListResultPage
    func NewDeploymentListResultPage(cur DeploymentListResult, getNextPage func(context.Context, DeploymentListResult) (DeploymentListResult, error)) DeploymentListResultPage
    func (page *DeploymentListResultPage) Next() error
    func (page *DeploymentListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page DeploymentListResultPage) NotDone() bool
    func (page DeploymentListResultPage) Response() DeploymentListResult
    func (page DeploymentListResultPage) Values() []DeploymentExtended
type DeploymentMode
    func PossibleDeploymentModeValues() []DeploymentMode
type DeploymentOperation
    func (do DeploymentOperation) MarshalJSON() ([]byte, error)
type DeploymentOperationProperties
    func (dop DeploymentOperationProperties) MarshalJSON() ([]byte, error)
type DeploymentOperationsClient
    func NewDeploymentOperationsClient(subscriptionID string) DeploymentOperationsClient
    func NewDeploymentOperationsClientWithBaseURI(baseURI string, subscriptionID string) DeploymentOperationsClient
    func (client DeploymentOperationsClient) Get(ctx context.Context, resourceGroupName string, deploymentName string, operationID string) (result DeploymentOperation, err error)
    func (client DeploymentOperationsClient) GetAtManagementGroupScope(ctx context.Context, groupID string, deploymentName string, operationID string) (result DeploymentOperation, err error)
    func (client DeploymentOperationsClient) GetAtManagementGroupScopePreparer(ctx context.Context, groupID string, deploymentName string, operationID string) (*http.Request, error)
    func (client DeploymentOperationsClient) GetAtManagementGroupScopeResponder(resp *http.Response) (result DeploymentOperation, err error)
    func (client DeploymentOperationsClient) GetAtManagementGroupScopeSender(req *http.Request) (*http.Response, error)
    func (client DeploymentOperationsClient) GetAtScope(ctx context.Context, scope string, deploymentName string, operationID string) (result DeploymentOperation, err error)
    func (client DeploymentOperationsClient) GetAtScopePreparer(ctx context.Context, scope string, deploymentName string, operationID string) (*http.Request, error)
    func (client DeploymentOperationsClient) GetAtScopeResponder(resp *http.Response) (result DeploymentOperation, err error)
    func (client DeploymentOperationsClient) GetAtScopeSender(req *http.Request) (*http.Response, error)
    func (client DeploymentOperationsClient) GetAtSubscriptionScope(ctx context.Context, deploymentName string, operationID string) (result DeploymentOperation, err error)
    func (client DeploymentOperationsClient) GetAtSubscriptionScopePreparer(ctx context.Context, deploymentName string, operationID string) (*http.Request, error)
    func (client DeploymentOperationsClient) GetAtSubscriptionScopeResponder(resp *http.Response) (result DeploymentOperation, err error)
    func (client DeploymentOperationsClient) GetAtSubscriptionScopeSender(req *http.Request) (*http.Response, error)
    func (client DeploymentOperationsClient) GetAtTenantScope(ctx context.Context, deploymentName string, operationID string) (result DeploymentOperation, err error)
    func (client DeploymentOperationsClient) GetAtTenantScopePreparer(ctx context.Context, deploymentName string, operationID string) (*http.Request, error)
    func (client DeploymentOperationsClient) GetAtTenantScopeResponder(resp *http.Response) (result DeploymentOperation, err error)
    func (client DeploymentOperationsClient) GetAtTenantScopeSender(req *http.Request) (*http.Response, error)
    func (client DeploymentOperationsClient) GetPreparer(ctx context.Context, resourceGroupName string, deploymentName string, operationID string) (*http.Request, error)
    func (client DeploymentOperationsClient) GetResponder(resp *http.Response) (result DeploymentOperation, err error)
    func (client DeploymentOperationsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client DeploymentOperationsClient) List(ctx context.Context, resourceGroupName string, deploymentName string, top *int32) (result DeploymentOperationsListResultPage, err error)
    func (client DeploymentOperationsClient) ListAtManagementGroupScope(ctx context.Context, groupID string, deploymentName string, top *int32) (result DeploymentOperationsListResultPage, err error)
    func (client DeploymentOperationsClient) ListAtManagementGroupScopeComplete(ctx context.Context, groupID string, deploymentName string, top *int32) (result DeploymentOperationsListResultIterator, err error)
    func (client DeploymentOperationsClient) ListAtManagementGroupScopePreparer(ctx context.Context, groupID string, deploymentName string, top *int32) (*http.Request, error)
    func (client DeploymentOperationsClient) ListAtManagementGroupScopeResponder(resp *http.Response) (result DeploymentOperationsListResult, err error)
    func (client DeploymentOperationsClient) ListAtManagementGroupScopeSender(req *http.Request) (*http.Response, error)
    func (client DeploymentOperationsClient) ListAtScope(ctx context.Context, scope string, deploymentName string, top *int32) (result DeploymentOperationsListResultPage, err error)
    func (client DeploymentOperationsClient) ListAtScopeComplete(ctx context.Context, scope string, deploymentName string, top *int32) (result DeploymentOperationsListResultIterator, err error)
    func (client DeploymentOperationsClient) ListAtScopePreparer(ctx context.Context, scope string, deploymentName string, top *int32) (*http.Request, error)
    func (client DeploymentOperationsClient) ListAtScopeResponder(resp *http.Response) (result DeploymentOperationsListResult, err error)
    func (client DeploymentOperationsClient) ListAtScopeSender(req *http.Request) (*http.Response, error)
    func (client DeploymentOperationsClient) ListAtSubscriptionScope(ctx context.Context, deploymentName string, top *int32) (result DeploymentOperationsListResultPage, err error)
    func (client DeploymentOperationsClient) ListAtSubscriptionScopeComplete(ctx context.Context, deploymentName string, top *int32) (result DeploymentOperationsListResultIterator, err error)
    func (client DeploymentOperationsClient) ListAtSubscriptionScopePreparer(ctx context.Context, deploymentName string, top *int32) (*http.Request, error)
    func (client DeploymentOperationsClient) ListAtSubscriptionScopeResponder(resp *http.Response) (result DeploymentOperationsListResult, err error)
    func (client DeploymentOperationsClient) ListAtSubscriptionScopeSender(req *http.Request) (*http.Response, error)
    func (client DeploymentOperationsClient) ListAtTenantScope(ctx context.Context, deploymentName string, top *int32) (result DeploymentOperationsListResultPage, err error)
    func (client DeploymentOperationsClient) ListAtTenantScopeComplete(ctx context.Context, deploymentName string, top *int32) (result DeploymentOperationsListResultIterator, err error)
    func (client DeploymentOperationsClient) ListAtTenantScopePreparer(ctx context.Context, deploymentName string, top *int32) (*http.Request, error)
    func (client DeploymentOperationsClient) ListAtTenantScopeResponder(resp *http.Response) (result DeploymentOperationsListResult, err error)
    func (client DeploymentOperationsClient) ListAtTenantScopeSender(req *http.Request) (*http.Response, error)
    func (client DeploymentOperationsClient) ListComplete(ctx context.Context, resourceGroupName string, deploymentName string, top *int32) (result DeploymentOperationsListResultIterator, err error)
    func (client DeploymentOperationsClient) ListPreparer(ctx context.Context, resourceGroupName string, deploymentName string, top *int32) (*http.Request, error)
    func (client DeploymentOperationsClient) ListResponder(resp *http.Response) (result DeploymentOperationsListResult, err error)
    func (client DeploymentOperationsClient) ListSender(req *http.Request) (*http.Response, error)
type DeploymentOperationsListResult
    func (dolr DeploymentOperationsListResult) IsEmpty() bool
    func (dolr DeploymentOperationsListResult) MarshalJSON() ([]byte, error)
type DeploymentOperationsListResultIterator
    func NewDeploymentOperationsListResultIterator(page DeploymentOperationsListResultPage) DeploymentOperationsListResultIterator
    func (iter *DeploymentOperationsListResultIterator) Next() error
    func (iter *DeploymentOperationsListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter DeploymentOperationsListResultIterator) NotDone() bool
    func (iter DeploymentOperationsListResultIterator) Response() DeploymentOperationsListResult
    func (iter DeploymentOperationsListResultIterator) Value() DeploymentOperation
type DeploymentOperationsListResultPage
    func NewDeploymentOperationsListResultPage(cur DeploymentOperationsListResult, getNextPage func(context.Context, DeploymentOperationsListResult) (DeploymentOperationsListResult, error)) DeploymentOperationsListResultPage
    func (page *DeploymentOperationsListResultPage) Next() error
    func (page *DeploymentOperationsListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page DeploymentOperationsListResultPage) NotDone() bool
    func (page DeploymentOperationsListResultPage) Response() DeploymentOperationsListResult
    func (page DeploymentOperationsListResultPage) Values() []DeploymentOperation
type DeploymentProperties
type DeploymentPropertiesExtended
    func (dpe DeploymentPropertiesExtended) MarshalJSON() ([]byte, error)
type DeploymentValidateResult
type DeploymentWhatIf
type DeploymentWhatIfProperties
type DeploymentWhatIfSettings
type DeploymentsClient
    func NewDeploymentsClient(subscriptionID string) DeploymentsClient
    func NewDeploymentsClientWithBaseURI(baseURI string, subscriptionID string) DeploymentsClient
    func (client DeploymentsClient) CalculateTemplateHash(ctx context.Context, templateParameter interface{}) (result TemplateHashResult, err error)
    func (client DeploymentsClient) CalculateTemplateHashPreparer(ctx context.Context, templateParameter interface{}) (*http.Request, error)
    func (client DeploymentsClient) CalculateTemplateHashResponder(resp *http.Response) (result TemplateHashResult, err error)
    func (client DeploymentsClient) CalculateTemplateHashSender(req *http.Request) (*http.Response, error)
    func (client DeploymentsClient) Cancel(ctx context.Context, resourceGroupName string, deploymentName string) (result autorest.Response, err error)
    func (client DeploymentsClient) CancelAtManagementGroupScope(ctx context.Context, groupID string, deploymentName string) (result autorest.Response, err error)
    func (client DeploymentsClient) CancelAtManagementGroupScopePreparer(ctx context.Context, groupID string, deploymentName string) (*http.Request, error)
    func (client DeploymentsClient) CancelAtManagementGroupScopeResponder(resp *http.Response) (result autorest.Response, err error)
    func (client DeploymentsClient) CancelAtManagementGroupScopeSender(req *http.Request) (*http.Response, error)
    func (client DeploymentsClient) CancelAtScope(ctx context.Context, scope string, deploymentName string) (result autorest.Response, err error)
    func (client DeploymentsClient) CancelAtScopePreparer(ctx context.Context, scope string, deploymentName string) (*http.Request, error)
    func (client DeploymentsClient) CancelAtScopeResponder(resp *http.Response) (result autorest.Response, err error)
    func (client DeploymentsClient) CancelAtScopeSender(req *http.Request) (*http.Response, error)
    func (client DeploymentsClient) CancelAtSubscriptionScope(ctx context.Context, deploymentName string) (result autorest.Response, err error)
    func (client DeploymentsClient) CancelAtSubscriptionScopePreparer(ctx context.Context, deploymentName string) (*http.Request, error)
    func (client DeploymentsClient) CancelAtSubscriptionScopeResponder(resp *http.Response) (result autorest.Response, err error)
    func (client DeploymentsClient) CancelAtSubscriptionScopeSender(req *http.Request) (*http.Response, error)
    func (client DeploymentsClient) CancelAtTenantScope(ctx context.Context, deploymentName string) (result autorest.Response, err error)
    func (client DeploymentsClient) CancelAtTenantScopePreparer(ctx context.Context, deploymentName string) (*http.Request, error)
    func (client DeploymentsClient) CancelAtTenantScopeResponder(resp *http.Response) (result autorest.Response, err error)
    func (client DeploymentsClient) CancelAtTenantScopeSender(req *http.Request) (*http.Response, error)
    func (client DeploymentsClient) CancelPreparer(ctx context.Context, resourceGroupName string, deploymentName string) (*http.Request, error)
    func (client DeploymentsClient) CancelResponder(resp *http.Response) (result autorest.Response, err error)
    func (client DeploymentsClient) CancelSender(req *http.Request) (*http.Response, error)
    func (client DeploymentsClient) CheckExistence(ctx context.Context, resourceGroupName string, deploymentName string) (result autorest.Response, err error)
    func (client DeploymentsClient) CheckExistenceAtManagementGroupScope(ctx context.Context, groupID string, deploymentName string) (result autorest.Response, err error)
    func (client DeploymentsClient) CheckExistenceAtManagementGroupScopePreparer(ctx context.Context, groupID string, deploymentName string) (*http.Request, error)
    func (client DeploymentsClient) CheckExistenceAtManagementGroupScopeResponder(resp *http.Response) (result autorest.Response, err error)
    func (client DeploymentsClient) CheckExistenceAtManagementGroupScopeSender(req *http.Request) (*http.Response, error)
    func (client DeploymentsClient) CheckExistenceAtScope(ctx context.Context, scope string, deploymentName string) (result autorest.Response, err error)
    func (client DeploymentsClient) CheckExistenceAtScopePreparer(ctx context.Context, scope string, deploymentName string) (*http.Request, error)
    func (client DeploymentsClient) CheckExistenceAtScopeResponder(resp *http.Response) (result autorest.Response, err error)
    func (client DeploymentsClient) CheckExistenceAtScopeSender(req *http.Request) (*http.Response, error)
    func (client DeploymentsClient) CheckExistenceAtSubscriptionScope(ctx context.Context, deploymentName string) (result autorest.Response, err error)
    func (client DeploymentsClient) CheckExistenceAtSubscriptionScopePreparer(ctx context.Context, deploymentName string) (*http.Request, error)
    func (client DeploymentsClient) CheckExistenceAtSubscriptionScopeResponder(resp *http.Response) (result autorest.Response, err error)
    func (client DeploymentsClient) CheckExistenceAtSubscriptionScopeSender(req *http.Request) (*http.Response, error)
    func (client DeploymentsClient) CheckExistenceAtTenantScope(ctx context.Context, deploymentName string) (result autorest.Response, err error)
    func (client DeploymentsClient) CheckExistenceAtTenantScopePreparer(ctx context.Context, deploymentName string) (*http.Request, error)
    func (client DeploymentsClient) CheckExistenceAtTenantScopeResponder(resp *http.Response) (result autorest.Response, err error)
    func (client DeploymentsClient) CheckExistenceAtTenantScopeSender(req *http.Request) (*http.Response, error)
    func (client DeploymentsClient) CheckExistencePreparer(ctx context.Context, resourceGroupName string, deploymentName string) (*http.Request, error)
    func (client DeploymentsClient) CheckExistenceResponder(resp *http.Response) (result autorest.Response, err error)
    func (client DeploymentsClient) CheckExistenceSender(req *http.Request) (*http.Response, error)
    func (client DeploymentsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, deploymentName string, parameters Deployment) (result DeploymentsCreateOrUpdateFuture, err error)
    func (client DeploymentsClient) CreateOrUpdateAtManagementGroupScope(ctx context.Context, groupID string, deploymentName string, parameters Deployment) (result DeploymentsCreateOrUpdateAtManagementGroupScopeFuture, err error)
    func (client DeploymentsClient) CreateOrUpdateAtManagementGroupScopePreparer(ctx context.Context, groupID string, deploymentName string, parameters Deployment) (*http.Request, error)
    func (client DeploymentsClient) CreateOrUpdateAtManagementGroupScopeResponder(resp *http.Response) (result DeploymentExtended, err error)
    func (client DeploymentsClient) CreateOrUpdateAtManagementGroupScopeSender(req *http.Request) (future DeploymentsCreateOrUpdateAtManagementGroupScopeFuture, err error)
    func (client DeploymentsClient) CreateOrUpdateAtScope(ctx context.Context, scope string, deploymentName string, parameters Deployment) (result DeploymentsCreateOrUpdateAtScopeFuture, err error)
    func (client DeploymentsClient) CreateOrUpdateAtScopePreparer(ctx context.Context, scope string, deploymentName string, parameters Deployment) (*http.Request, error)
    func (client DeploymentsClient) CreateOrUpdateAtScopeResponder(resp *http.Response) (result DeploymentExtended, err error)
    func (client DeploymentsClient) CreateOrUpdateAtScopeSender(req *http.Request) (future DeploymentsCreateOrUpdateAtScopeFuture, err error)
    func (client DeploymentsClient) CreateOrUpdateAtSubscriptionScope(ctx context.Context, deploymentName string, parameters Deployment) (result DeploymentsCreateOrUpdateAtSubscriptionScopeFuture, err error)
    func (client DeploymentsClient) CreateOrUpdateAtSubscriptionScopePreparer(ctx context.Context, deploymentName string, parameters Deployment) (*http.Request, error)
    func (client DeploymentsClient) CreateOrUpdateAtSubscriptionScopeResponder(resp *http.Response) (result DeploymentExtended, err error)
    func (client DeploymentsClient) CreateOrUpdateAtSubscriptionScopeSender(req *http.Request) (future DeploymentsCreateOrUpdateAtSubscriptionScopeFuture, err error)
    func (client DeploymentsClient) CreateOrUpdateAtTenantScope(ctx context.Context, deploymentName string, parameters Deployment) (result DeploymentsCreateOrUpdateAtTenantScopeFuture, err error)
    func (client DeploymentsClient) CreateOrUpdateAtTenantScopePreparer(ctx context.Context, deploymentName string, parameters Deployment) (*http.Request, error)
    func (client DeploymentsClient) CreateOrUpdateAtTenantScopeResponder(resp *http.Response) (result DeploymentExtended, err error)
    func (client DeploymentsClient) CreateOrUpdateAtTenantScopeSender(req *http.Request) (future DeploymentsCreateOrUpdateAtTenantScopeFuture, err error)
    func (client DeploymentsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, deploymentName string, parameters Deployment) (*http.Request, error)
    func (client DeploymentsClient) CreateOrUpdateResponder(resp *http.Response) (result DeploymentExtended, err error)
    func (client DeploymentsClient) CreateOrUpdateSender(req *http.Request) (future DeploymentsCreateOrUpdateFuture, err error)
    func (client DeploymentsClient) Delete(ctx context.Context, resourceGroupName string, deploymentName string) (result DeploymentsDeleteFuture, err error)
    func (client DeploymentsClient) DeleteAtManagementGroupScope(ctx context.Context, groupID string, deploymentName string) (result DeploymentsDeleteAtManagementGroupScopeFuture, err error)
    func (client DeploymentsClient) DeleteAtManagementGroupScopePreparer(ctx context.Context, groupID string, deploymentName string) (*http.Request, error)
    func (client DeploymentsClient) DeleteAtManagementGroupScopeResponder(resp *http.Response) (result autorest.Response, err error)
    func (client DeploymentsClient) DeleteAtManagementGroupScopeSender(req *http.Request) (future DeploymentsDeleteAtManagementGroupScopeFuture, err error)
    func (client DeploymentsClient) DeleteAtScope(ctx context.Context, scope string, deploymentName string) (result DeploymentsDeleteAtScopeFuture, err error)
    func (client DeploymentsClient) DeleteAtScopePreparer(ctx context.Context, scope string, deploymentName string) (*http.Request, error)
    func (client DeploymentsClient) DeleteAtScopeResponder(resp *http.Response) (result autorest.Response, err error)
    func (client DeploymentsClient) DeleteAtScopeSender(req *http.Request) (future DeploymentsDeleteAtScopeFuture, err error)
    func (client DeploymentsClient) DeleteAtSubscriptionScope(ctx context.Context, deploymentName string) (result DeploymentsDeleteAtSubscriptionScopeFuture, err error)
    func (client DeploymentsClient) DeleteAtSubscriptionScopePreparer(ctx context.Context, deploymentName string) (*http.Request, error)
    func (client DeploymentsClient) DeleteAtSubscriptionScopeResponder(resp *http.Response) (result autorest.Response, err error)
    func (client DeploymentsClient) DeleteAtSubscriptionScopeSender(req *http.Request) (future DeploymentsDeleteAtSubscriptionScopeFuture, err error)
    func (client DeploymentsClient) DeleteAtTenantScope(ctx context.Context, deploymentName string) (result DeploymentsDeleteAtTenantScopeFuture, err error)
    func (client DeploymentsClient) DeleteAtTenantScopePreparer(ctx context.Context, deploymentName string) (*http.Request, error)
    func (client DeploymentsClient) DeleteAtTenantScopeResponder(resp *http.Response) (result autorest.Response, err error)
    func (client DeploymentsClient) DeleteAtTenantScopeSender(req *http.Request) (future DeploymentsDeleteAtTenantScopeFuture, err error)
    func (client DeploymentsClient) DeletePreparer(ctx context.Context, resourceGroupName string, deploymentName string) (*http.Request, error)
    func (client DeploymentsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client DeploymentsClient) DeleteSender(req *http.Request) (future DeploymentsDeleteFuture, err error)
    func (client DeploymentsClient) ExportTemplate(ctx context.Context, resourceGroupName string, deploymentName string) (result DeploymentExportResult, err error)
    func (client DeploymentsClient) ExportTemplateAtManagementGroupScope(ctx context.Context, groupID string, deploymentName string) (result DeploymentExportResult, err error)
    func (client DeploymentsClient) ExportTemplateAtManagementGroupScopePreparer(ctx context.Context, groupID string, deploymentName string) (*http.Request, error)
    func (client DeploymentsClient) ExportTemplateAtManagementGroupScopeResponder(resp *http.Response) (result DeploymentExportResult, err error)
    func (client DeploymentsClient) ExportTemplateAtManagementGroupScopeSender(req *http.Request) (*http.Response, error)
    func (client DeploymentsClient) ExportTemplateAtScope(ctx context.Context, scope string, deploymentName string) (result DeploymentExportResult, err error)
    func (client DeploymentsClient) ExportTemplateAtScopePreparer(ctx context.Context, scope string, deploymentName string) (*http.Request, error)
    func (client DeploymentsClient) ExportTemplateAtScopeResponder(resp *http.Response) (result DeploymentExportResult, err error)
    func (client DeploymentsClient) ExportTemplateAtScopeSender(req *http.Request) (*http.Response, error)
    func (client DeploymentsClient) ExportTemplateAtSubscriptionScope(ctx context.Context, deploymentName string) (result DeploymentExportResult, err error)
    func (client DeploymentsClient) ExportTemplateAtSubscriptionScopePreparer(ctx context.Context, deploymentName string) (*http.Request, error)
    func (client DeploymentsClient) ExportTemplateAtSubscriptionScopeResponder(resp *http.Response) (result DeploymentExportResult, err error)
    func (client DeploymentsClient) ExportTemplateAtSubscriptionScopeSender(req *http.Request) (*http.Response, error)
    func (client DeploymentsClient) ExportTemplateAtTenantScope(ctx context.Context, deploymentName string) (result DeploymentExportResult, err error)
    func (client DeploymentsClient) ExportTemplateAtTenantScopePreparer(ctx context.Context, deploymentName string) (*http.Request, error)
    func (client DeploymentsClient) ExportTemplateAtTenantScopeResponder(resp *http.Response) (result DeploymentExportResult, err error)
    func (client DeploymentsClient) ExportTemplateAtTenantScopeSender(req *http.Request) (*http.Response, error)
    func (client DeploymentsClient) ExportTemplatePreparer(ctx context.Context, resourceGroupName string, deploymentName string) (*http.Request, error)
    func (client DeploymentsClient) ExportTemplateResponder(resp *http.Response) (result DeploymentExportResult, err error)
    func (client DeploymentsClient) ExportTemplateSender(req *http.Request) (*http.Response, error)
    func (client DeploymentsClient) Get(ctx context.Context, resourceGroupName string, deploymentName string) (result DeploymentExtended, err error)
    func (client DeploymentsClient) GetAtManagementGroupScope(ctx context.Context, groupID string, deploymentName string) (result DeploymentExtended, err error)
    func (client DeploymentsClient) GetAtManagementGroupScopePreparer(ctx context.Context, groupID string, deploymentName string) (*http.Request, error)
    func (client DeploymentsClient) GetAtManagementGroupScopeResponder(resp *http.Response) (result DeploymentExtended, err error)
    func (client DeploymentsClient) GetAtManagementGroupScopeSender(req *http.Request) (*http.Response, error)
    func (client DeploymentsClient) GetAtScope(ctx context.Context, scope string, deploymentName string) (result DeploymentExtended, err error)
    func (client DeploymentsClient) GetAtScopePreparer(ctx context.Context, scope string, deploymentName string) (*http.Request, error)
    func (client DeploymentsClient) GetAtScopeResponder(resp *http.Response) (result DeploymentExtended, err error)
    func (client DeploymentsClient) GetAtScopeSender(req *http.Request) (*http.Response, error)
    func (client DeploymentsClient) GetAtSubscriptionScope(ctx context.Context, deploymentName string) (result DeploymentExtended, err error)
    func (client DeploymentsClient) GetAtSubscriptionScopePreparer(ctx context.Context, deploymentName string) (*http.Request, error)
    func (client DeploymentsClient) GetAtSubscriptionScopeResponder(resp *http.Response) (result DeploymentExtended, err error)
    func (client DeploymentsClient) GetAtSubscriptionScopeSender(req *http.Request) (*http.Response, error)
    func (client DeploymentsClient) GetAtTenantScope(ctx context.Context, deploymentName string) (result DeploymentExtended, err error)
    func (client DeploymentsClient) GetAtTenantScopePreparer(ctx context.Context, deploymentName string) (*http.Request, error)
    func (client DeploymentsClient) GetAtTenantScopeResponder(resp *http.Response) (result DeploymentExtended, err error)
    func (client DeploymentsClient) GetAtTenantScopeSender(req *http.Request) (*http.Response, error)
    func (client DeploymentsClient) GetPreparer(ctx context.Context, resourceGroupName string, deploymentName string) (*http.Request, error)
    func (client DeploymentsClient) GetResponder(resp *http.Response) (result DeploymentExtended, err error)
    func (client DeploymentsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client DeploymentsClient) ListAtManagementGroupScope(ctx context.Context, groupID string, filter string, top *int32) (result DeploymentListResultPage, err error)
    func (client DeploymentsClient) ListAtManagementGroupScopeComplete(ctx context.Context, groupID string, filter string, top *int32) (result DeploymentListResultIterator, err error)
    func (client DeploymentsClient) ListAtManagementGroupScopePreparer(ctx context.Context, groupID string, filter string, top *int32) (*http.Request, error)
    func (client DeploymentsClient) ListAtManagementGroupScopeResponder(resp *http.Response) (result DeploymentListResult, err error)
    func (client DeploymentsClient) ListAtManagementGroupScopeSender(req *http.Request) (*http.Response, error)
    func (client DeploymentsClient) ListAtScope(ctx context.Context, scope string, filter string, top *int32) (result DeploymentListResultPage, err error)
    func (client DeploymentsClient) ListAtScopeComplete(ctx context.Context, scope string, filter string, top *int32) (result DeploymentListResultIterator, err error)
    func (client DeploymentsClient) ListAtScopePreparer(ctx context.Context, scope string, filter string, top *int32) (*http.Request, error)
    func (client DeploymentsClient) ListAtScopeResponder(resp *http.Response) (result DeploymentListResult, err error)
    func (client DeploymentsClient) ListAtScopeSender(req *http.Request) (*http.Response, error)
    func (client DeploymentsClient) ListAtSubscriptionScope(ctx context.Context, filter string, top *int32) (result DeploymentListResultPage, err error)
    func (client DeploymentsClient) ListAtSubscriptionScopeComplete(ctx context.Context, filter string, top *int32) (result DeploymentListResultIterator, err error)
    func (client DeploymentsClient) ListAtSubscriptionScopePreparer(ctx context.Context, filter string, top *int32) (*http.Request, error)
    func (client DeploymentsClient) ListAtSubscriptionScopeResponder(resp *http.Response) (result DeploymentListResult, err error)
    func (client DeploymentsClient) ListAtSubscriptionScopeSender(req *http.Request) (*http.Response, error)
    func (client DeploymentsClient) ListAtTenantScope(ctx context.Context, filter string, top *int32) (result DeploymentListResultPage, err error)
    func (client DeploymentsClient) ListAtTenantScopeComplete(ctx context.Context, filter string, top *int32) (result DeploymentListResultIterator, err error)
    func (client DeploymentsClient) ListAtTenantScopePreparer(ctx context.Context, filter string, top *int32) (*http.Request, error)
    func (client DeploymentsClient) ListAtTenantScopeResponder(resp *http.Response) (result DeploymentListResult, err error)
    func (client DeploymentsClient) ListAtTenantScopeSender(req *http.Request) (*http.Response, error)
    func (client DeploymentsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, filter string, top *int32) (result DeploymentListResultPage, err error)
    func (client DeploymentsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, filter string, top *int32) (result DeploymentListResultIterator, err error)
    func (client DeploymentsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, filter string, top *int32) (*http.Request, error)
    func (client DeploymentsClient) ListByResourceGroupResponder(resp *http.Response) (result DeploymentListResult, err error)
    func (client DeploymentsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
    func (client DeploymentsClient) Validate(ctx context.Context, resourceGroupName string, deploymentName string, parameters Deployment) (result DeploymentValidateResult, err error)
    func (client DeploymentsClient) ValidateAtManagementGroupScope(ctx context.Context, groupID string, deploymentName string, parameters Deployment) (result DeploymentValidateResult, err error)
    func (client DeploymentsClient) ValidateAtManagementGroupScopePreparer(ctx context.Context, groupID string, deploymentName string, parameters Deployment) (*http.Request, error)
    func (client DeploymentsClient) ValidateAtManagementGroupScopeResponder(resp *http.Response) (result DeploymentValidateResult, err error)
    func (client DeploymentsClient) ValidateAtManagementGroupScopeSender(req *http.Request) (*http.Response, error)
    func (client DeploymentsClient) ValidateAtScope(ctx context.Context, scope string, deploymentName string, parameters Deployment) (result DeploymentValidateResult, err error)
    func (client DeploymentsClient) ValidateAtScopePreparer(ctx context.Context, scope string, deploymentName string, parameters Deployment) (*http.Request, error)
    func (client DeploymentsClient) ValidateAtScopeResponder(resp *http.Response) (result DeploymentValidateResult, err error)
    func (client DeploymentsClient) ValidateAtScopeSender(req *http.Request) (*http.Response, error)
    func (client DeploymentsClient) ValidateAtSubscriptionScope(ctx context.Context, deploymentName string, parameters Deployment) (result DeploymentValidateResult, err error)
    func (client DeploymentsClient) ValidateAtSubscriptionScopePreparer(ctx context.Context, deploymentName string, parameters Deployment) (*http.Request, error)
    func (client DeploymentsClient) ValidateAtSubscriptionScopeResponder(resp *http.Response) (result DeploymentValidateResult, err error)
    func (client DeploymentsClient) ValidateAtSubscriptionScopeSender(req *http.Request) (*http.Response, error)
    func (client DeploymentsClient) ValidateAtTenantScope(ctx context.Context, deploymentName string, parameters Deployment) (result DeploymentValidateResult, err error)
    func (client DeploymentsClient) ValidateAtTenantScopePreparer(ctx context.Context, deploymentName string, parameters Deployment) (*http.Request, error)
    func (client DeploymentsClient) ValidateAtTenantScopeResponder(resp *http.Response) (result DeploymentValidateResult, err error)
    func (client DeploymentsClient) ValidateAtTenantScopeSender(req *http.Request) (*http.Response, error)
    func (client DeploymentsClient) ValidatePreparer(ctx context.Context, resourceGroupName string, deploymentName string, parameters Deployment) (*http.Request, error)
    func (client DeploymentsClient) ValidateResponder(resp *http.Response) (result DeploymentValidateResult, err error)
    func (client DeploymentsClient) ValidateSender(req *http.Request) (*http.Response, error)
    func (client DeploymentsClient) WhatIf(ctx context.Context, resourceGroupName string, deploymentName string, parameters DeploymentWhatIf) (result DeploymentsWhatIfFuture, err error)
    func (client DeploymentsClient) WhatIfAtSubscriptionScope(ctx context.Context, deploymentName string, parameters DeploymentWhatIf) (result DeploymentsWhatIfAtSubscriptionScopeFuture, err error)
    func (client DeploymentsClient) WhatIfAtSubscriptionScopePreparer(ctx context.Context, deploymentName string, parameters DeploymentWhatIf) (*http.Request, error)
    func (client DeploymentsClient) WhatIfAtSubscriptionScopeResponder(resp *http.Response) (result WhatIfOperationResult, err error)
    func (client DeploymentsClient) WhatIfAtSubscriptionScopeSender(req *http.Request) (future DeploymentsWhatIfAtSubscriptionScopeFuture, err error)
    func (client DeploymentsClient) WhatIfPreparer(ctx context.Context, resourceGroupName string, deploymentName string, parameters DeploymentWhatIf) (*http.Request, error)
    func (client DeploymentsClient) WhatIfResponder(resp *http.Response) (result WhatIfOperationResult, err error)
    func (client DeploymentsClient) WhatIfSender(req *http.Request) (future DeploymentsWhatIfFuture, err error)
type DeploymentsCreateOrUpdateAtManagementGroupScopeFuture
    func (future *DeploymentsCreateOrUpdateAtManagementGroupScopeFuture) UnmarshalJSON(body []byte) error
type DeploymentsCreateOrUpdateAtScopeFuture
    func (future *DeploymentsCreateOrUpdateAtScopeFuture) UnmarshalJSON(body []byte) error
type DeploymentsCreateOrUpdateAtSubscriptionScopeFuture
    func (future *DeploymentsCreateOrUpdateAtSubscriptionScopeFuture) UnmarshalJSON(body []byte) error
type DeploymentsCreateOrUpdateAtTenantScopeFuture
    func (future *DeploymentsCreateOrUpdateAtTenantScopeFuture) UnmarshalJSON(body []byte) error
type DeploymentsCreateOrUpdateFuture
    func (future *DeploymentsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
type DeploymentsDeleteAtManagementGroupScopeFuture
    func (future *DeploymentsDeleteAtManagementGroupScopeFuture) UnmarshalJSON(body []byte) error
type DeploymentsDeleteAtScopeFuture
    func (future *DeploymentsDeleteAtScopeFuture) UnmarshalJSON(body []byte) error
type DeploymentsDeleteAtSubscriptionScopeFuture
    func (future *DeploymentsDeleteAtSubscriptionScopeFuture) UnmarshalJSON(body []byte) error
type DeploymentsDeleteAtTenantScopeFuture
    func (future *DeploymentsDeleteAtTenantScopeFuture) UnmarshalJSON(body []byte) error
type DeploymentsDeleteFuture
    func (future *DeploymentsDeleteFuture) UnmarshalJSON(body []byte) error
type DeploymentsWhatIfAtSubscriptionScopeFuture
    func (future *DeploymentsWhatIfAtSubscriptionScopeFuture) UnmarshalJSON(body []byte) error
type DeploymentsWhatIfFuture
    func (future *DeploymentsWhatIfFuture) UnmarshalJSON(body []byte) error
type ErrorAdditionalInfo
    func (eai ErrorAdditionalInfo) MarshalJSON() ([]byte, error)
type ErrorResponse
    func (er ErrorResponse) MarshalJSON() ([]byte, error)
type ExportTemplateRequest
type GenericResource
    func (gr GenericResource) MarshalJSON() ([]byte, error)
type GenericResourceExpanded
    func (gre GenericResourceExpanded) MarshalJSON() ([]byte, error)
type GenericResourceFilter
type HTTPMessage
type Identity
    func (i Identity) MarshalJSON() ([]byte, error)
type IdentityUserAssignedIdentitiesValue
    func (iAiv IdentityUserAssignedIdentitiesValue) MarshalJSON() ([]byte, error)
type OnErrorDeployment
type OnErrorDeploymentExtended
    func (oede OnErrorDeploymentExtended) MarshalJSON() ([]byte, error)
type OnErrorDeploymentType
    func PossibleOnErrorDeploymentTypeValues() []OnErrorDeploymentType
type Operation
type OperationDisplay
type OperationListResult
    func (olr OperationListResult) IsEmpty() bool
type OperationListResultIterator
    func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator
    func (iter *OperationListResultIterator) Next() error
    func (iter *OperationListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter OperationListResultIterator) NotDone() bool
    func (iter OperationListResultIterator) Response() OperationListResult
    func (iter OperationListResultIterator) Value() Operation
type OperationListResultPage
    func NewOperationListResultPage(cur OperationListResult, getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage
    func (page *OperationListResultPage) Next() error
    func (page *OperationListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page OperationListResultPage) NotDone() bool
    func (page OperationListResultPage) Response() OperationListResult
    func (page OperationListResultPage) Values() []Operation
type OperationsClient
    func NewOperationsClient(subscriptionID string) OperationsClient
    func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient
    func (client OperationsClient) List(ctx context.Context) (result OperationListResultPage, err error)
    func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error)
    func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)
    func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)
    func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)
type ParametersLink
type Plan
type PropertyChangeType
    func PossiblePropertyChangeTypeValues() []PropertyChangeType
type Provider
    func (p Provider) MarshalJSON() ([]byte, error)
type ProviderListResult
    func (plr ProviderListResult) IsEmpty() bool
    func (plr ProviderListResult) MarshalJSON() ([]byte, error)
type ProviderListResultIterator
    func NewProviderListResultIterator(page ProviderListResultPage) ProviderListResultIterator
    func (iter *ProviderListResultIterator) Next() error
    func (iter *ProviderListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter ProviderListResultIterator) NotDone() bool
    func (iter ProviderListResultIterator) Response() ProviderListResult
    func (iter ProviderListResultIterator) Value() Provider
type ProviderListResultPage
    func NewProviderListResultPage(cur ProviderListResult, getNextPage func(context.Context, ProviderListResult) (ProviderListResult, error)) ProviderListResultPage
    func (page *ProviderListResultPage) Next() error
    func (page *ProviderListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page ProviderListResultPage) NotDone() bool
    func (page ProviderListResultPage) Response() ProviderListResult
    func (page ProviderListResultPage) Values() []Provider
type ProviderResourceType
    func (prt ProviderResourceType) MarshalJSON() ([]byte, error)
type ProvidersClient
    func NewProvidersClient(subscriptionID string) ProvidersClient
    func NewProvidersClientWithBaseURI(baseURI string, subscriptionID string) ProvidersClient
    func (client ProvidersClient) Get(ctx context.Context, resourceProviderNamespace string, expand string) (result Provider, err error)
    func (client ProvidersClient) GetAtTenantScope(ctx context.Context, resourceProviderNamespace string, expand string) (result Provider, err error)
    func (client ProvidersClient) GetAtTenantScopePreparer(ctx context.Context, resourceProviderNamespace string, expand string) (*http.Request, error)
    func (client ProvidersClient) GetAtTenantScopeResponder(resp *http.Response) (result Provider, err error)
    func (client ProvidersClient) GetAtTenantScopeSender(req *http.Request) (*http.Response, error)
    func (client ProvidersClient) GetPreparer(ctx context.Context, resourceProviderNamespace string, expand string) (*http.Request, error)
    func (client ProvidersClient) GetResponder(resp *http.Response) (result Provider, err error)
    func (client ProvidersClient) GetSender(req *http.Request) (*http.Response, error)
    func (client ProvidersClient) List(ctx context.Context, top *int32, expand string) (result ProviderListResultPage, err error)
    func (client ProvidersClient) ListAtTenantScope(ctx context.Context, top *int32, expand string) (result ProviderListResultPage, err error)
    func (client ProvidersClient) ListAtTenantScopeComplete(ctx context.Context, top *int32, expand string) (result ProviderListResultIterator, err error)
    func (client ProvidersClient) ListAtTenantScopePreparer(ctx context.Context, top *int32, expand string) (*http.Request, error)
    func (client ProvidersClient) ListAtTenantScopeResponder(resp *http.Response) (result ProviderListResult, err error)
    func (client ProvidersClient) ListAtTenantScopeSender(req *http.Request) (*http.Response, error)
    func (client ProvidersClient) ListComplete(ctx context.Context, top *int32, expand string) (result ProviderListResultIterator, err error)
    func (client ProvidersClient) ListPreparer(ctx context.Context, top *int32, expand string) (*http.Request, error)
    func (client ProvidersClient) ListResponder(resp *http.Response) (result ProviderListResult, err error)
    func (client ProvidersClient) ListSender(req *http.Request) (*http.Response, error)
    func (client ProvidersClient) Register(ctx context.Context, resourceProviderNamespace string) (result Provider, err error)
    func (client ProvidersClient) RegisterPreparer(ctx context.Context, resourceProviderNamespace string) (*http.Request, error)
    func (client ProvidersClient) RegisterResponder(resp *http.Response) (result Provider, err error)
    func (client ProvidersClient) RegisterSender(req *http.Request) (*http.Response, error)
    func (client ProvidersClient) Unregister(ctx context.Context, resourceProviderNamespace string) (result Provider, err error)
    func (client ProvidersClient) UnregisterPreparer(ctx context.Context, resourceProviderNamespace string) (*http.Request, error)
    func (client ProvidersClient) UnregisterResponder(resp *http.Response) (result Provider, err error)
    func (client ProvidersClient) UnregisterSender(req *http.Request) (*http.Response, error)
type Resource
    func (r Resource) MarshalJSON() ([]byte, error)
type ResourceGroup
    func (rg ResourceGroup) MarshalJSON() ([]byte, error)
type ResourceGroupExportResult
type ResourceGroupFilter
type ResourceGroupListResult
    func (rglr ResourceGroupListResult) IsEmpty() bool
    func (rglr ResourceGroupListResult) MarshalJSON() ([]byte, error)
type ResourceGroupListResultIterator
    func NewResourceGroupListResultIterator(page ResourceGroupListResultPage) ResourceGroupListResultIterator
    func (iter *ResourceGroupListResultIterator) Next() error
    func (iter *ResourceGroupListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter ResourceGroupListResultIterator) NotDone() bool
    func (iter ResourceGroupListResultIterator) Response() ResourceGroupListResult
    func (iter ResourceGroupListResultIterator) Value() ResourceGroup
type ResourceGroupListResultPage
    func NewResourceGroupListResultPage(cur ResourceGroupListResult, getNextPage func(context.Context, ResourceGroupListResult) (ResourceGroupListResult, error)) ResourceGroupListResultPage
    func (page *ResourceGroupListResultPage) Next() error
    func (page *ResourceGroupListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page ResourceGroupListResultPage) NotDone() bool
    func (page ResourceGroupListResultPage) Response() ResourceGroupListResult
    func (page ResourceGroupListResultPage) Values() []ResourceGroup
type ResourceGroupPatchable
    func (rgp ResourceGroupPatchable) MarshalJSON() ([]byte, error)
type ResourceGroupProperties
    func (rgp ResourceGroupProperties) MarshalJSON() ([]byte, error)
type ResourceGroupsClient
    func NewResourceGroupsClient(subscriptionID string) ResourceGroupsClient
    func NewResourceGroupsClientWithBaseURI(baseURI string, subscriptionID string) ResourceGroupsClient
    func (client ResourceGroupsClient) CheckExistence(ctx context.Context, resourceGroupName string) (result autorest.Response, err error)
    func (client ResourceGroupsClient) CheckExistencePreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
    func (client ResourceGroupsClient) CheckExistenceResponder(resp *http.Response) (result autorest.Response, err error)
    func (client ResourceGroupsClient) CheckExistenceSender(req *http.Request) (*http.Response, error)
    func (client ResourceGroupsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, parameters ResourceGroup) (result ResourceGroup, err error)
    func (client ResourceGroupsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, parameters ResourceGroup) (*http.Request, error)
    func (client ResourceGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result ResourceGroup, err error)
    func (client ResourceGroupsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
    func (client ResourceGroupsClient) Delete(ctx context.Context, resourceGroupName string) (result ResourceGroupsDeleteFuture, err error)
    func (client ResourceGroupsClient) DeletePreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
    func (client ResourceGroupsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client ResourceGroupsClient) DeleteSender(req *http.Request) (future ResourceGroupsDeleteFuture, err error)
    func (client ResourceGroupsClient) ExportTemplate(ctx context.Context, resourceGroupName string, parameters ExportTemplateRequest) (result ResourceGroupExportResult, err error)
    func (client ResourceGroupsClient) ExportTemplatePreparer(ctx context.Context, resourceGroupName string, parameters ExportTemplateRequest) (*http.Request, error)
    func (client ResourceGroupsClient) ExportTemplateResponder(resp *http.Response) (result ResourceGroupExportResult, err error)
    func (client ResourceGroupsClient) ExportTemplateSender(req *http.Request) (*http.Response, error)
    func (client ResourceGroupsClient) Get(ctx context.Context, resourceGroupName string) (result ResourceGroup, err error)
    func (client ResourceGroupsClient) GetPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
    func (client ResourceGroupsClient) GetResponder(resp *http.Response) (result ResourceGroup, err error)
    func (client ResourceGroupsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client ResourceGroupsClient) List(ctx context.Context, filter string, top *int32) (result ResourceGroupListResultPage, err error)
    func (client ResourceGroupsClient) ListComplete(ctx context.Context, filter string, top *int32) (result ResourceGroupListResultIterator, err error)
    func (client ResourceGroupsClient) ListPreparer(ctx context.Context, filter string, top *int32) (*http.Request, error)
    func (client ResourceGroupsClient) ListResponder(resp *http.Response) (result ResourceGroupListResult, err error)
    func (client ResourceGroupsClient) ListSender(req *http.Request) (*http.Response, error)
    func (client ResourceGroupsClient) Update(ctx context.Context, resourceGroupName string, parameters ResourceGroupPatchable) (result ResourceGroup, err error)
    func (client ResourceGroupsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, parameters ResourceGroupPatchable) (*http.Request, error)
    func (client ResourceGroupsClient) UpdateResponder(resp *http.Response) (result ResourceGroup, err error)
    func (client ResourceGroupsClient) UpdateSender(req *http.Request) (*http.Response, error)
type ResourceGroupsDeleteFuture
    func (future *ResourceGroupsDeleteFuture) UnmarshalJSON(body []byte) error
type ResourceIdentityType
    func PossibleResourceIdentityTypeValues() []ResourceIdentityType
type ResourceListResult
    func (rlr ResourceListResult) IsEmpty() bool
    func (rlr ResourceListResult) MarshalJSON() ([]byte, error)
type ResourceListResultIterator
    func NewResourceListResultIterator(page ResourceListResultPage) ResourceListResultIterator
    func (iter *ResourceListResultIterator) Next() error
    func (iter *ResourceListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter ResourceListResultIterator) NotDone() bool
    func (iter ResourceListResultIterator) Response() ResourceListResult
    func (iter ResourceListResultIterator) Value() GenericResourceExpanded
type ResourceListResultPage
    func NewResourceListResultPage(cur ResourceListResult, getNextPage func(context.Context, ResourceListResult) (ResourceListResult, error)) ResourceListResultPage
    func (page *ResourceListResultPage) Next() error
    func (page *ResourceListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page ResourceListResultPage) NotDone() bool
    func (page ResourceListResultPage) Response() ResourceListResult
    func (page ResourceListResultPage) Values() []GenericResourceExpanded
type ResourceProviderOperationDisplayProperties
type ResourcesClient
    func NewResourcesClient(subscriptionID string) ResourcesClient
    func NewResourcesClientWithBaseURI(baseURI string, subscriptionID string) ResourcesClient
    func (client ResourcesClient) CheckExistence(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, APIVersion string) (result autorest.Response, err error)
    func (client ResourcesClient) CheckExistenceByID(ctx context.Context, resourceID string, APIVersion string) (result autorest.Response, err error)
    func (client ResourcesClient) CheckExistenceByIDPreparer(ctx context.Context, resourceID string, APIVersion string) (*http.Request, error)
    func (client ResourcesClient) CheckExistenceByIDResponder(resp *http.Response) (result autorest.Response, err error)
    func (client ResourcesClient) CheckExistenceByIDSender(req *http.Request) (*http.Response, error)
    func (client ResourcesClient) CheckExistencePreparer(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, APIVersion string) (*http.Request, error)
    func (client ResourcesClient) CheckExistenceResponder(resp *http.Response) (result autorest.Response, err error)
    func (client ResourcesClient) CheckExistenceSender(req *http.Request) (*http.Response, error)
    func (client ResourcesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, APIVersion string, parameters GenericResource) (result ResourcesCreateOrUpdateFuture, err error)
    func (client ResourcesClient) CreateOrUpdateByID(ctx context.Context, resourceID string, APIVersion string, parameters GenericResource) (result ResourcesCreateOrUpdateByIDFuture, err error)
    func (client ResourcesClient) CreateOrUpdateByIDPreparer(ctx context.Context, resourceID string, APIVersion string, parameters GenericResource) (*http.Request, error)
    func (client ResourcesClient) CreateOrUpdateByIDResponder(resp *http.Response) (result GenericResource, err error)
    func (client ResourcesClient) CreateOrUpdateByIDSender(req *http.Request) (future ResourcesCreateOrUpdateByIDFuture, err error)
    func (client ResourcesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, APIVersion string, parameters GenericResource) (*http.Request, error)
    func (client ResourcesClient) CreateOrUpdateResponder(resp *http.Response) (result GenericResource, err error)
    func (client ResourcesClient) CreateOrUpdateSender(req *http.Request) (future ResourcesCreateOrUpdateFuture, err error)
    func (client ResourcesClient) Delete(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, APIVersion string) (result ResourcesDeleteFuture, err error)
    func (client ResourcesClient) DeleteByID(ctx context.Context, resourceID string, APIVersion string) (result ResourcesDeleteByIDFuture, err error)
    func (client ResourcesClient) DeleteByIDPreparer(ctx context.Context, resourceID string, APIVersion string) (*http.Request, error)
    func (client ResourcesClient) DeleteByIDResponder(resp *http.Response) (result autorest.Response, err error)
    func (client ResourcesClient) DeleteByIDSender(req *http.Request) (future ResourcesDeleteByIDFuture, err error)
    func (client ResourcesClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, APIVersion string) (*http.Request, error)
    func (client ResourcesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client ResourcesClient) DeleteSender(req *http.Request) (future ResourcesDeleteFuture, err error)
    func (client ResourcesClient) Get(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, APIVersion string) (result GenericResource, err error)
    func (client ResourcesClient) GetByID(ctx context.Context, resourceID string, APIVersion string) (result GenericResource, err error)
    func (client ResourcesClient) GetByIDPreparer(ctx context.Context, resourceID string, APIVersion string) (*http.Request, error)
    func (client ResourcesClient) GetByIDResponder(resp *http.Response) (result GenericResource, err error)
    func (client ResourcesClient) GetByIDSender(req *http.Request) (*http.Response, error)
    func (client ResourcesClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, APIVersion string) (*http.Request, error)
    func (client ResourcesClient) GetResponder(resp *http.Response) (result GenericResource, err error)
    func (client ResourcesClient) GetSender(req *http.Request) (*http.Response, error)
    func (client ResourcesClient) List(ctx context.Context, filter string, expand string, top *int32) (result ResourceListResultPage, err error)
    func (client ResourcesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, filter string, expand string, top *int32) (result ResourceListResultPage, err error)
    func (client ResourcesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, filter string, expand string, top *int32) (result ResourceListResultIterator, err error)
    func (client ResourcesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, filter string, expand string, top *int32) (*http.Request, error)
    func (client ResourcesClient) ListByResourceGroupResponder(resp *http.Response) (result ResourceListResult, err error)
    func (client ResourcesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
    func (client ResourcesClient) ListComplete(ctx context.Context, filter string, expand string, top *int32) (result ResourceListResultIterator, err error)
    func (client ResourcesClient) ListPreparer(ctx context.Context, filter string, expand string, top *int32) (*http.Request, error)
    func (client ResourcesClient) ListResponder(resp *http.Response) (result ResourceListResult, err error)
    func (client ResourcesClient) ListSender(req *http.Request) (*http.Response, error)
    func (client ResourcesClient) MoveResources(ctx context.Context, sourceResourceGroupName string, parameters ResourcesMoveInfo) (result ResourcesMoveResourcesFuture, err error)
    func (client ResourcesClient) MoveResourcesPreparer(ctx context.Context, sourceResourceGroupName string, parameters ResourcesMoveInfo) (*http.Request, error)
    func (client ResourcesClient) MoveResourcesResponder(resp *http.Response) (result autorest.Response, err error)
    func (client ResourcesClient) MoveResourcesSender(req *http.Request) (future ResourcesMoveResourcesFuture, err error)
    func (client ResourcesClient) Update(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, APIVersion string, parameters GenericResource) (result ResourcesUpdateFuture, err error)
    func (client ResourcesClient) UpdateByID(ctx context.Context, resourceID string, APIVersion string, parameters GenericResource) (result ResourcesUpdateByIDFuture, err error)
    func (client ResourcesClient) UpdateByIDPreparer(ctx context.Context, resourceID string, APIVersion string, parameters GenericResource) (*http.Request, error)
    func (client ResourcesClient) UpdateByIDResponder(resp *http.Response) (result GenericResource, err error)
    func (client ResourcesClient) UpdateByIDSender(req *http.Request) (future ResourcesUpdateByIDFuture, err error)
    func (client ResourcesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, APIVersion string, parameters GenericResource) (*http.Request, error)
    func (client ResourcesClient) UpdateResponder(resp *http.Response) (result GenericResource, err error)
    func (client ResourcesClient) UpdateSender(req *http.Request) (future ResourcesUpdateFuture, err error)
    func (client ResourcesClient) ValidateMoveResources(ctx context.Context, sourceResourceGroupName string, parameters ResourcesMoveInfo) (result ResourcesValidateMoveResourcesFuture, err error)
    func (client ResourcesClient) ValidateMoveResourcesPreparer(ctx context.Context, sourceResourceGroupName string, parameters ResourcesMoveInfo) (*http.Request, error)
    func (client ResourcesClient) ValidateMoveResourcesResponder(resp *http.Response) (result autorest.Response, err error)
    func (client ResourcesClient) ValidateMoveResourcesSender(req *http.Request) (future ResourcesValidateMoveResourcesFuture, err error)
type ResourcesCreateOrUpdateByIDFuture
    func (future *ResourcesCreateOrUpdateByIDFuture) UnmarshalJSON(body []byte) error
type ResourcesCreateOrUpdateFuture
    func (future *ResourcesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
type ResourcesDeleteByIDFuture
    func (future *ResourcesDeleteByIDFuture) UnmarshalJSON(body []byte) error
type ResourcesDeleteFuture
    func (future *ResourcesDeleteFuture) UnmarshalJSON(body []byte) error
type ResourcesMoveInfo
type ResourcesMoveResourcesFuture
    func (future *ResourcesMoveResourcesFuture) UnmarshalJSON(body []byte) error
type ResourcesUpdateByIDFuture
    func (future *ResourcesUpdateByIDFuture) UnmarshalJSON(body []byte) error
type ResourcesUpdateFuture
    func (future *ResourcesUpdateFuture) UnmarshalJSON(body []byte) error
type ResourcesValidateMoveResourcesFuture
    func (future *ResourcesValidateMoveResourcesFuture) UnmarshalJSON(body []byte) error
type Sku
type SubResource
type TagCount
type TagDetails
    func (td TagDetails) MarshalJSON() ([]byte, error)
type TagValue
    func (tv TagValue) MarshalJSON() ([]byte, error)
type TagsClient
    func NewTagsClient(subscriptionID string) TagsClient
    func NewTagsClientWithBaseURI(baseURI string, subscriptionID string) TagsClient
    func (client TagsClient) CreateOrUpdate(ctx context.Context, tagName string) (result TagDetails, err error)
    func (client TagsClient) CreateOrUpdatePreparer(ctx context.Context, tagName string) (*http.Request, error)
    func (client TagsClient) CreateOrUpdateResponder(resp *http.Response) (result TagDetails, err error)
    func (client TagsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
    func (client TagsClient) CreateOrUpdateValue(ctx context.Context, tagName string, tagValue string) (result TagValue, err error)
    func (client TagsClient) CreateOrUpdateValuePreparer(ctx context.Context, tagName string, tagValue string) (*http.Request, error)
    func (client TagsClient) CreateOrUpdateValueResponder(resp *http.Response) (result TagValue, err error)
    func (client TagsClient) CreateOrUpdateValueSender(req *http.Request) (*http.Response, error)
    func (client TagsClient) Delete(ctx context.Context, tagName string) (result autorest.Response, err error)
    func (client TagsClient) DeletePreparer(ctx context.Context, tagName string) (*http.Request, error)
    func (client TagsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client TagsClient) DeleteSender(req *http.Request) (*http.Response, error)
    func (client TagsClient) DeleteValue(ctx context.Context, tagName string, tagValue string) (result autorest.Response, err error)
    func (client TagsClient) DeleteValuePreparer(ctx context.Context, tagName string, tagValue string) (*http.Request, error)
    func (client TagsClient) DeleteValueResponder(resp *http.Response) (result autorest.Response, err error)
    func (client TagsClient) DeleteValueSender(req *http.Request) (*http.Response, error)
    func (client TagsClient) List(ctx context.Context) (result TagsListResultPage, err error)
    func (client TagsClient) ListComplete(ctx context.Context) (result TagsListResultIterator, err error)
    func (client TagsClient) ListPreparer(ctx context.Context) (*http.Request, error)
    func (client TagsClient) ListResponder(resp *http.Response) (result TagsListResult, err error)
    func (client TagsClient) ListSender(req *http.Request) (*http.Response, error)
type TagsListResult
    func (tlr TagsListResult) IsEmpty() bool
    func (tlr TagsListResult) MarshalJSON() ([]byte, error)
type TagsListResultIterator
    func NewTagsListResultIterator(page TagsListResultPage) TagsListResultIterator
    func (iter *TagsListResultIterator) Next() error
    func (iter *TagsListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter TagsListResultIterator) NotDone() bool
    func (iter TagsListResultIterator) Response() TagsListResult
    func (iter TagsListResultIterator) Value() TagDetails
type TagsListResultPage
    func NewTagsListResultPage(cur TagsListResult, getNextPage func(context.Context, TagsListResult) (TagsListResult, error)) TagsListResultPage
    func (page *TagsListResultPage) Next() error
    func (page *TagsListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page TagsListResultPage) NotDone() bool
    func (page TagsListResultPage) Response() TagsListResult
    func (page TagsListResultPage) Values() []TagDetails
type TargetResource
type TemplateHashResult
type TemplateLink
type WhatIfChange
type WhatIfOperationProperties
type WhatIfOperationResult
    func (wior WhatIfOperationResult) MarshalJSON() ([]byte, error)
    func (wior *WhatIfOperationResult) UnmarshalJSON(body []byte) error
type WhatIfPropertyChange
type WhatIfResultFormat
    func PossibleWhatIfResultFormatValues() []WhatIfResultFormat

Package files

client.go deploymentoperations.go deployments.go enums.go models.go operations.go providers.go resourcegroups.go resources.go tags.go version.go

Constants

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

func UserAgent

func UserAgent() string

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

func Version

func Version() string

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

type AliasPathType

AliasPathType the type of the paths for alias.

type AliasPathType struct {
    // Path - The path of an alias.
    Path *string `json:"path,omitempty"`
    // APIVersions - The API versions.
    APIVersions *[]string `json:"apiVersions,omitempty"`
}

type AliasType

AliasType the alias type.

type AliasType struct {
    // Name - The alias name.
    Name *string `json:"name,omitempty"`
    // Paths - The paths for an alias.
    Paths *[]AliasPathType `json:"paths,omitempty"`
}

type BaseClient

BaseClient is the base client for Features.

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

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

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

type BasicDependency

BasicDependency deployment dependency information.

type BasicDependency struct {
    // ID - The ID of the dependency.
    ID *string `json:"id,omitempty"`
    // ResourceType - The dependency resource type.
    ResourceType *string `json:"resourceType,omitempty"`
    // ResourceName - The dependency resource name.
    ResourceName *string `json:"resourceName,omitempty"`
}

type ChangeType

ChangeType enumerates the values for change type.

type ChangeType string
const (
    // Create The resource does not exist in the current state but is present in the desired state. The
    // resource will be created when the deployment is executed.
    Create ChangeType = "Create"
    // Delete The resource exists in the current state and is missing from the desired state. The resource will
    // be deleted when the deployment is executed.
    Delete ChangeType = "Delete"
    // Deploy The resource exists in the current state and the desired state and will be redeployed when the
    // deployment is executed. The properties of the resource may or may not change.
    Deploy ChangeType = "Deploy"
    // Ignore The resource exists in the current state and is missing from the desired state. The resource will
    // not be deployed or modified when the deployment is executed.
    Ignore ChangeType = "Ignore"
    // Modify The resource exists in the current state and the desired state and will be redeployed when the
    // deployment is executed. The properties of the resource will change.
    Modify ChangeType = "Modify"
    // NoChange The resource exists in the current state and the desired state and will be redeployed when the
    // deployment is executed. The properties of the resource will not change.
    NoChange ChangeType = "NoChange"
)

func PossibleChangeTypeValues

func PossibleChangeTypeValues() []ChangeType

PossibleChangeTypeValues returns an array of possible values for the ChangeType const type.

type CloudError

CloudError an error response for a resource management request.

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

type DebugSetting

DebugSetting the debug setting.

type DebugSetting struct {
    // DetailLevel - Specifies the type of information to log for debugging. The permitted values are none, requestContent, responseContent, or both requestContent and responseContent separated by a comma. The default is none. When setting this value, carefully consider the type of information you are passing in during deployment. By logging information about the request or response, you could potentially expose sensitive data that is retrieved through the deployment operations.
    DetailLevel *string `json:"detailLevel,omitempty"`
}

type Dependency

Dependency deployment dependency information.

type Dependency struct {
    // DependsOn - The list of dependencies.
    DependsOn *[]BasicDependency `json:"dependsOn,omitempty"`
    // ID - The ID of the dependency.
    ID *string `json:"id,omitempty"`
    // ResourceType - The dependency resource type.
    ResourceType *string `json:"resourceType,omitempty"`
    // ResourceName - The dependency resource name.
    ResourceName *string `json:"resourceName,omitempty"`
}

type Deployment

Deployment deployment operation parameters.

type Deployment struct {
    // Location - The location to store the deployment data.
    Location *string `json:"location,omitempty"`
    // Properties - The deployment properties.
    Properties *DeploymentProperties `json:"properties,omitempty"`
}

type DeploymentExportResult

DeploymentExportResult the deployment export result.

type DeploymentExportResult struct {
    autorest.Response `json:"-"`
    // Template - The template content.
    Template interface{} `json:"template,omitempty"`
}

type DeploymentExtended

DeploymentExtended deployment information.

type DeploymentExtended struct {
    autorest.Response `json:"-"`
    // ID - READ-ONLY; The ID of the deployment.
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the deployment.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the deployment.
    Type *string `json:"type,omitempty"`
    // Location - the location of the deployment.
    Location *string `json:"location,omitempty"`
    // Properties - Deployment properties.
    Properties *DeploymentPropertiesExtended `json:"properties,omitempty"`
}

func (DeploymentExtended) MarshalJSON

func (de DeploymentExtended) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DeploymentExtended.

type DeploymentExtendedFilter

DeploymentExtendedFilter deployment filter.

type DeploymentExtendedFilter struct {
    // ProvisioningState - The provisioning state.
    ProvisioningState *string `json:"provisioningState,omitempty"`
}

type DeploymentListResult

DeploymentListResult list of deployments.

type DeploymentListResult struct {
    autorest.Response `json:"-"`
    // Value - An array of deployments.
    Value *[]DeploymentExtended `json:"value,omitempty"`
    // NextLink - READ-ONLY; The URL to use for getting the next set of results.
    NextLink *string `json:"nextLink,omitempty"`
}

func (DeploymentListResult) IsEmpty

func (dlr DeploymentListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (DeploymentListResult) MarshalJSON

func (dlr DeploymentListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DeploymentListResult.

type DeploymentListResultIterator

DeploymentListResultIterator provides access to a complete listing of DeploymentExtended values.

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

func NewDeploymentListResultIterator

func NewDeploymentListResultIterator(page DeploymentListResultPage) DeploymentListResultIterator

Creates a new instance of the DeploymentListResultIterator type.

func (*DeploymentListResultIterator) Next

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

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

func (iter DeploymentListResultIterator) NotDone() bool

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

func (DeploymentListResultIterator) Response

func (iter DeploymentListResultIterator) Response() DeploymentListResult

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

func (DeploymentListResultIterator) Value

func (iter DeploymentListResultIterator) Value() DeploymentExtended

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

type DeploymentListResultPage

DeploymentListResultPage contains a page of DeploymentExtended values.

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

func NewDeploymentListResultPage

func NewDeploymentListResultPage(cur DeploymentListResult, getNextPage func(context.Context, DeploymentListResult) (DeploymentListResult, error)) DeploymentListResultPage

Creates a new instance of the DeploymentListResultPage type.

func (*DeploymentListResultPage) Next

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

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

func (page DeploymentListResultPage) NotDone() bool

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

func (DeploymentListResultPage) Response

func (page DeploymentListResultPage) Response() DeploymentListResult

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

func (DeploymentListResultPage) Values

func (page DeploymentListResultPage) Values() []DeploymentExtended

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

type DeploymentMode

DeploymentMode enumerates the values for deployment mode.

type DeploymentMode string
const (
    // Complete ...
    Complete DeploymentMode = "Complete"
    // Incremental ...
    Incremental DeploymentMode = "Incremental"
)

func PossibleDeploymentModeValues

func PossibleDeploymentModeValues() []DeploymentMode

PossibleDeploymentModeValues returns an array of possible values for the DeploymentMode const type.

type DeploymentOperation

DeploymentOperation deployment operation information.

type DeploymentOperation struct {
    autorest.Response `json:"-"`
    // ID - READ-ONLY; Full deployment operation ID.
    ID *string `json:"id,omitempty"`
    // OperationID - READ-ONLY; Deployment operation ID.
    OperationID *string `json:"operationId,omitempty"`
    // Properties - Deployment properties.
    Properties *DeploymentOperationProperties `json:"properties,omitempty"`
}

func (DeploymentOperation) MarshalJSON

func (do DeploymentOperation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DeploymentOperation.

type DeploymentOperationProperties

DeploymentOperationProperties deployment operation properties.

type DeploymentOperationProperties struct {
    // ProvisioningState - READ-ONLY; The state of the provisioning.
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // Timestamp - READ-ONLY; The date and time of the operation.
    Timestamp *date.Time `json:"timestamp,omitempty"`
    // Duration - READ-ONLY; The duration of the operation.
    Duration *string `json:"duration,omitempty"`
    // ServiceRequestID - READ-ONLY; Deployment operation service request id.
    ServiceRequestID *string `json:"serviceRequestId,omitempty"`
    // StatusCode - READ-ONLY; Operation status code.
    StatusCode *string `json:"statusCode,omitempty"`
    // StatusMessage - READ-ONLY; Operation status message.
    StatusMessage interface{} `json:"statusMessage,omitempty"`
    // TargetResource - READ-ONLY; The target resource.
    TargetResource *TargetResource `json:"targetResource,omitempty"`
    // Request - READ-ONLY; The HTTP request message.
    Request *HTTPMessage `json:"request,omitempty"`
    // Response - READ-ONLY; The HTTP response message.
    Response *HTTPMessage `json:"response,omitempty"`
}

func (DeploymentOperationProperties) MarshalJSON

func (dop DeploymentOperationProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DeploymentOperationProperties.

type DeploymentOperationsClient

DeploymentOperationsClient is the provides operations for working with resources and resource groups.

type DeploymentOperationsClient struct {
    BaseClient
}

func NewDeploymentOperationsClient

func NewDeploymentOperationsClient(subscriptionID string) DeploymentOperationsClient

NewDeploymentOperationsClient creates an instance of the DeploymentOperationsClient client.

func NewDeploymentOperationsClientWithBaseURI

func NewDeploymentOperationsClientWithBaseURI(baseURI string, subscriptionID string) DeploymentOperationsClient

NewDeploymentOperationsClientWithBaseURI creates an instance of the DeploymentOperationsClient 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 (DeploymentOperationsClient) Get

func (client DeploymentOperationsClient) Get(ctx context.Context, resourceGroupName string, deploymentName string, operationID string) (result DeploymentOperation, err error)

Get gets a deployments operation. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. deploymentName - the name of the deployment. operationID - the ID of the operation to get.

func (DeploymentOperationsClient) GetAtManagementGroupScope

func (client DeploymentOperationsClient) GetAtManagementGroupScope(ctx context.Context, groupID string, deploymentName string, operationID string) (result DeploymentOperation, err error)

GetAtManagementGroupScope gets a deployments operation. Parameters: groupID - the management group ID. deploymentName - the name of the deployment. operationID - the ID of the operation to get.

func (DeploymentOperationsClient) GetAtManagementGroupScopePreparer

func (client DeploymentOperationsClient) GetAtManagementGroupScopePreparer(ctx context.Context, groupID string, deploymentName string, operationID string) (*http.Request, error)

GetAtManagementGroupScopePreparer prepares the GetAtManagementGroupScope request.

func (DeploymentOperationsClient) GetAtManagementGroupScopeResponder

func (client DeploymentOperationsClient) GetAtManagementGroupScopeResponder(resp *http.Response) (result DeploymentOperation, err error)

GetAtManagementGroupScopeResponder handles the response to the GetAtManagementGroupScope request. The method always closes the http.Response Body.

func (DeploymentOperationsClient) GetAtManagementGroupScopeSender

func (client DeploymentOperationsClient) GetAtManagementGroupScopeSender(req *http.Request) (*http.Response, error)

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

func (DeploymentOperationsClient) GetAtScope

func (client DeploymentOperationsClient) GetAtScope(ctx context.Context, scope string, deploymentName string, operationID string) (result DeploymentOperation, err error)

GetAtScope gets a deployments operation. Parameters: scope - the scope of a deployment. deploymentName - the name of the deployment. operationID - the ID of the operation to get.

func (DeploymentOperationsClient) GetAtScopePreparer

func (client DeploymentOperationsClient) GetAtScopePreparer(ctx context.Context, scope string, deploymentName string, operationID string) (*http.Request, error)

GetAtScopePreparer prepares the GetAtScope request.

func (DeploymentOperationsClient) GetAtScopeResponder

func (client DeploymentOperationsClient) GetAtScopeResponder(resp *http.Response) (result DeploymentOperation, err error)

GetAtScopeResponder handles the response to the GetAtScope request. The method always closes the http.Response Body.

func (DeploymentOperationsClient) GetAtScopeSender

func (client DeploymentOperationsClient) GetAtScopeSender(req *http.Request) (*http.Response, error)

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

func (DeploymentOperationsClient) GetAtSubscriptionScope

func (client DeploymentOperationsClient) GetAtSubscriptionScope(ctx context.Context, deploymentName string, operationID string) (result DeploymentOperation, err error)

GetAtSubscriptionScope gets a deployments operation. Parameters: deploymentName - the name of the deployment. operationID - the ID of the operation to get.

func (DeploymentOperationsClient) GetAtSubscriptionScopePreparer

func (client DeploymentOperationsClient) GetAtSubscriptionScopePreparer(ctx context.Context, deploymentName string, operationID string) (*http.Request, error)

GetAtSubscriptionScopePreparer prepares the GetAtSubscriptionScope request.

func (DeploymentOperationsClient) GetAtSubscriptionScopeResponder

func (client DeploymentOperationsClient) GetAtSubscriptionScopeResponder(resp *http.Response) (result DeploymentOperation, err error)

GetAtSubscriptionScopeResponder handles the response to the GetAtSubscriptionScope request. The method always closes the http.Response Body.

func (DeploymentOperationsClient) GetAtSubscriptionScopeSender

func (client DeploymentOperationsClient) GetAtSubscriptionScopeSender(req *http.Request) (*http.Response, error)

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

func (DeploymentOperationsClient) GetAtTenantScope

func (client DeploymentOperationsClient) GetAtTenantScope(ctx context.Context, deploymentName string, operationID string) (result DeploymentOperation, err error)

GetAtTenantScope gets a deployments operation. Parameters: deploymentName - the name of the deployment. operationID - the ID of the operation to get.

func (DeploymentOperationsClient) GetAtTenantScopePreparer

func (client DeploymentOperationsClient) GetAtTenantScopePreparer(ctx context.Context, deploymentName string, operationID string) (*http.Request, error)

GetAtTenantScopePreparer prepares the GetAtTenantScope request.

func (DeploymentOperationsClient) GetAtTenantScopeResponder

func (client DeploymentOperationsClient) GetAtTenantScopeResponder(resp *http.Response) (result DeploymentOperation, err error)

GetAtTenantScopeResponder handles the response to the GetAtTenantScope request. The method always closes the http.Response Body.

func (DeploymentOperationsClient) GetAtTenantScopeSender

func (client DeploymentOperationsClient) GetAtTenantScopeSender(req *http.Request) (*http.Response, error)

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

func (DeploymentOperationsClient) GetPreparer

func (client DeploymentOperationsClient) GetPreparer(ctx context.Context, resourceGroupName string, deploymentName string, operationID string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DeploymentOperationsClient) GetResponder

func (client DeploymentOperationsClient) GetResponder(resp *http.Response) (result DeploymentOperation, err error)

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

func (DeploymentOperationsClient) GetSender

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

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

func (DeploymentOperationsClient) List

func (client DeploymentOperationsClient) List(ctx context.Context, resourceGroupName string, deploymentName string, top *int32) (result DeploymentOperationsListResultPage, err error)

List gets all deployments operations for a deployment. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. deploymentName - the name of the deployment. top - the number of results to return.

func (DeploymentOperationsClient) ListAtManagementGroupScope

func (client DeploymentOperationsClient) ListAtManagementGroupScope(ctx context.Context, groupID string, deploymentName string, top *int32) (result DeploymentOperationsListResultPage, err error)

ListAtManagementGroupScope gets all deployments operations for a deployment. Parameters: groupID - the management group ID. deploymentName - the name of the deployment. top - the number of results to return.

func (DeploymentOperationsClient) ListAtManagementGroupScopeComplete

func (client DeploymentOperationsClient) ListAtManagementGroupScopeComplete(ctx context.Context, groupID string, deploymentName string, top *int32) (result DeploymentOperationsListResultIterator, err error)

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

func (DeploymentOperationsClient) ListAtManagementGroupScopePreparer

func (client DeploymentOperationsClient) ListAtManagementGroupScopePreparer(ctx context.Context, groupID string, deploymentName string, top *int32) (*http.Request, error)

ListAtManagementGroupScopePreparer prepares the ListAtManagementGroupScope request.

func (DeploymentOperationsClient) ListAtManagementGroupScopeResponder

func (client DeploymentOperationsClient) ListAtManagementGroupScopeResponder(resp *http.Response) (result DeploymentOperationsListResult, err error)

ListAtManagementGroupScopeResponder handles the response to the ListAtManagementGroupScope request. The method always closes the http.Response Body.

func (DeploymentOperationsClient) ListAtManagementGroupScopeSender

func (client DeploymentOperationsClient) ListAtManagementGroupScopeSender(req *http.Request) (*http.Response, error)

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

func (DeploymentOperationsClient) ListAtScope

func (client DeploymentOperationsClient) ListAtScope(ctx context.Context, scope string, deploymentName string, top *int32) (result DeploymentOperationsListResultPage, err error)

ListAtScope gets all deployments operations for a deployment. Parameters: scope - the scope of a deployment. deploymentName - the name of the deployment. top - the number of results to return.

func (DeploymentOperationsClient) ListAtScopeComplete

func (client DeploymentOperationsClient) ListAtScopeComplete(ctx context.Context, scope string, deploymentName string, top *int32) (result DeploymentOperationsListResultIterator, err error)

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

func (DeploymentOperationsClient) ListAtScopePreparer

func (client DeploymentOperationsClient) ListAtScopePreparer(ctx context.Context, scope string, deploymentName string, top *int32) (*http.Request, error)

ListAtScopePreparer prepares the ListAtScope request.

func (DeploymentOperationsClient) ListAtScopeResponder

func (client DeploymentOperationsClient) ListAtScopeResponder(resp *http.Response) (result DeploymentOperationsListResult, err error)

ListAtScopeResponder handles the response to the ListAtScope request. The method always closes the http.Response Body.

func (DeploymentOperationsClient) ListAtScopeSender

func (client DeploymentOperationsClient) ListAtScopeSender(req *http.Request) (*http.Response, error)

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

func (DeploymentOperationsClient) ListAtSubscriptionScope

func (client DeploymentOperationsClient) ListAtSubscriptionScope(ctx context.Context, deploymentName string, top *int32) (result DeploymentOperationsListResultPage, err error)

ListAtSubscriptionScope gets all deployments operations for a deployment. Parameters: deploymentName - the name of the deployment. top - the number of results to return.

func (DeploymentOperationsClient) ListAtSubscriptionScopeComplete

func (client DeploymentOperationsClient) ListAtSubscriptionScopeComplete(ctx context.Context, deploymentName string, top *int32) (result DeploymentOperationsListResultIterator, err error)

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

func (DeploymentOperationsClient) ListAtSubscriptionScopePreparer

func (client DeploymentOperationsClient) ListAtSubscriptionScopePreparer(ctx context.Context, deploymentName string, top *int32) (*http.Request, error)

ListAtSubscriptionScopePreparer prepares the ListAtSubscriptionScope request.

func (DeploymentOperationsClient) ListAtSubscriptionScopeResponder

func (client DeploymentOperationsClient) ListAtSubscriptionScopeResponder(resp *http.Response) (result DeploymentOperationsListResult, err error)

ListAtSubscriptionScopeResponder handles the response to the ListAtSubscriptionScope request. The method always closes the http.Response Body.

func (DeploymentOperationsClient) ListAtSubscriptionScopeSender

func (client DeploymentOperationsClient) ListAtSubscriptionScopeSender(req *http.Request) (*http.Response, error)

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

func (DeploymentOperationsClient) ListAtTenantScope

func (client DeploymentOperationsClient) ListAtTenantScope(ctx context.Context, deploymentName string, top *int32) (result DeploymentOperationsListResultPage, err error)

ListAtTenantScope gets all deployments operations for a deployment. Parameters: deploymentName - the name of the deployment. top - the number of results to return.

func (DeploymentOperationsClient) ListAtTenantScopeComplete

func (client DeploymentOperationsClient) ListAtTenantScopeComplete(ctx context.Context, deploymentName string, top *int32) (result DeploymentOperationsListResultIterator, err error)

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

func (DeploymentOperationsClient) ListAtTenantScopePreparer

func (client DeploymentOperationsClient) ListAtTenantScopePreparer(ctx context.Context, deploymentName string, top *int32) (*http.Request, error)

ListAtTenantScopePreparer prepares the ListAtTenantScope request.

func (DeploymentOperationsClient) ListAtTenantScopeResponder

func (client DeploymentOperationsClient) ListAtTenantScopeResponder(resp *http.Response) (result DeploymentOperationsListResult, err error)

ListAtTenantScopeResponder handles the response to the ListAtTenantScope request. The method always closes the http.Response Body.

func (DeploymentOperationsClient) ListAtTenantScopeSender

func (client DeploymentOperationsClient) ListAtTenantScopeSender(req *http.Request) (*http.Response, error)

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

func (DeploymentOperationsClient) ListComplete

func (client DeploymentOperationsClient) ListComplete(ctx context.Context, resourceGroupName string, deploymentName string, top *int32) (result DeploymentOperationsListResultIterator, err error)

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

func (DeploymentOperationsClient) ListPreparer

func (client DeploymentOperationsClient) ListPreparer(ctx context.Context, resourceGroupName string, deploymentName string, top *int32) (*http.Request, error)

ListPreparer prepares the List request.

func (DeploymentOperationsClient) ListResponder

func (client DeploymentOperationsClient) ListResponder(resp *http.Response) (result DeploymentOperationsListResult, err error)

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

func (DeploymentOperationsClient) ListSender

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

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

type DeploymentOperationsListResult

DeploymentOperationsListResult list of deployment operations.

type DeploymentOperationsListResult struct {
    autorest.Response `json:"-"`
    // Value - An array of deployment operations.
    Value *[]DeploymentOperation `json:"value,omitempty"`
    // NextLink - READ-ONLY; The URL to use for getting the next set of results.
    NextLink *string `json:"nextLink,omitempty"`
}

func (DeploymentOperationsListResult) IsEmpty

func (dolr DeploymentOperationsListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (DeploymentOperationsListResult) MarshalJSON

func (dolr DeploymentOperationsListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DeploymentOperationsListResult.

type DeploymentOperationsListResultIterator

DeploymentOperationsListResultIterator provides access to a complete listing of DeploymentOperation values.

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

func NewDeploymentOperationsListResultIterator

func NewDeploymentOperationsListResultIterator(page DeploymentOperationsListResultPage) DeploymentOperationsListResultIterator

Creates a new instance of the DeploymentOperationsListResultIterator type.

func (*DeploymentOperationsListResultIterator) Next

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

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

func (iter DeploymentOperationsListResultIterator) NotDone() bool

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

func (DeploymentOperationsListResultIterator) Response

func (iter DeploymentOperationsListResultIterator) Response() DeploymentOperationsListResult

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

func (DeploymentOperationsListResultIterator) Value

func (iter DeploymentOperationsListResultIterator) Value() DeploymentOperation

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

type DeploymentOperationsListResultPage

DeploymentOperationsListResultPage contains a page of DeploymentOperation values.

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

func NewDeploymentOperationsListResultPage

func NewDeploymentOperationsListResultPage(cur DeploymentOperationsListResult, getNextPage func(context.Context, DeploymentOperationsListResult) (DeploymentOperationsListResult, error)) DeploymentOperationsListResultPage

Creates a new instance of the DeploymentOperationsListResultPage type.

func (*DeploymentOperationsListResultPage) Next

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

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

func (page DeploymentOperationsListResultPage) NotDone() bool

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

func (DeploymentOperationsListResultPage) Response

func (page DeploymentOperationsListResultPage) Response() DeploymentOperationsListResult

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

func (DeploymentOperationsListResultPage) Values

func (page DeploymentOperationsListResultPage) Values() []DeploymentOperation

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

type DeploymentProperties

DeploymentProperties deployment properties.

type DeploymentProperties struct {
    // Template - The template content. You use this element when you want to pass the template syntax directly in the request rather than link to an existing template. It can be a JObject or well-formed JSON string. Use either the templateLink property or the template property, but not both.
    Template interface{} `json:"template,omitempty"`
    // TemplateLink - The URI of the template. Use either the templateLink property or the template property, but not both.
    TemplateLink *TemplateLink `json:"templateLink,omitempty"`
    // Parameters - Name and value pairs that define the deployment parameters for the template. You use this element when you want to provide the parameter values directly in the request rather than link to an existing parameter file. Use either the parametersLink property or the parameters property, but not both. It can be a JObject or a well formed JSON string.
    Parameters interface{} `json:"parameters,omitempty"`
    // ParametersLink - The URI of parameters file. You use this element to link to an existing parameters file. Use either the parametersLink property or the parameters property, but not both.
    ParametersLink *ParametersLink `json:"parametersLink,omitempty"`
    // Mode - The mode that is used to deploy resources. This value can be either Incremental or Complete. In Incremental mode, resources are deployed without deleting existing resources that are not included in the template. In Complete mode, resources are deployed and existing resources in the resource group that are not included in the template are deleted. Be careful when using Complete mode as you may unintentionally delete resources. Possible values include: 'Incremental', 'Complete'
    Mode DeploymentMode `json:"mode,omitempty"`
    // DebugSetting - The debug setting of the deployment.
    DebugSetting *DebugSetting `json:"debugSetting,omitempty"`
    // OnErrorDeployment - The deployment on error behavior.
    OnErrorDeployment *OnErrorDeployment `json:"onErrorDeployment,omitempty"`
}

type DeploymentPropertiesExtended

DeploymentPropertiesExtended deployment properties with additional details.

type DeploymentPropertiesExtended struct {
    // ProvisioningState - READ-ONLY; The state of the provisioning.
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // CorrelationID - READ-ONLY; The correlation ID of the deployment.
    CorrelationID *string `json:"correlationId,omitempty"`
    // Timestamp - READ-ONLY; The timestamp of the template deployment.
    Timestamp *date.Time `json:"timestamp,omitempty"`
    // Duration - READ-ONLY; The duration of the template deployment.
    Duration *string `json:"duration,omitempty"`
    // Outputs - Key/value pairs that represent deployment output.
    Outputs interface{} `json:"outputs,omitempty"`
    // Providers - The list of resource providers needed for the deployment.
    Providers *[]Provider `json:"providers,omitempty"`
    // Dependencies - The list of deployment dependencies.
    Dependencies *[]Dependency `json:"dependencies,omitempty"`
    // Template - The template content. Use only one of Template or TemplateLink.
    Template interface{} `json:"template,omitempty"`
    // TemplateLink - The URI referencing the template. Use only one of Template or TemplateLink.
    TemplateLink *TemplateLink `json:"templateLink,omitempty"`
    // Parameters - Deployment parameters. Use only one of Parameters or ParametersLink.
    Parameters interface{} `json:"parameters,omitempty"`
    // ParametersLink - The URI referencing the parameters. Use only one of Parameters or ParametersLink.
    ParametersLink *ParametersLink `json:"parametersLink,omitempty"`
    // Mode - The deployment mode. Possible values are Incremental and Complete. Possible values include: 'Incremental', 'Complete'
    Mode DeploymentMode `json:"mode,omitempty"`
    // DebugSetting - The debug setting of the deployment.
    DebugSetting *DebugSetting `json:"debugSetting,omitempty"`
    // OnErrorDeployment - The deployment on error behavior.
    OnErrorDeployment *OnErrorDeploymentExtended `json:"onErrorDeployment,omitempty"`
}

func (DeploymentPropertiesExtended) MarshalJSON

func (dpe DeploymentPropertiesExtended) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DeploymentPropertiesExtended.

type DeploymentValidateResult

DeploymentValidateResult information from validate template deployment response.

type DeploymentValidateResult struct {
    autorest.Response `json:"-"`
    // Error - The deployment validation error.
    Error *ErrorResponse `json:"error,omitempty"`
    // Properties - The template deployment properties.
    Properties *DeploymentPropertiesExtended `json:"properties,omitempty"`
}

type DeploymentWhatIf

DeploymentWhatIf deployment What-if operation parameters.

type DeploymentWhatIf struct {
    // Location - The location to store the deployment data.
    Location *string `json:"location,omitempty"`
    // Properties - The deployment properties.
    Properties *DeploymentWhatIfProperties `json:"properties,omitempty"`
}

type DeploymentWhatIfProperties

DeploymentWhatIfProperties deployment What-if properties.

type DeploymentWhatIfProperties struct {
    // WhatIfSettings - Optional What-If operation settings.
    WhatIfSettings *DeploymentWhatIfSettings `json:"whatIfSettings,omitempty"`
    // Template - The template content. You use this element when you want to pass the template syntax directly in the request rather than link to an existing template. It can be a JObject or well-formed JSON string. Use either the templateLink property or the template property, but not both.
    Template interface{} `json:"template,omitempty"`
    // TemplateLink - The URI of the template. Use either the templateLink property or the template property, but not both.
    TemplateLink *TemplateLink `json:"templateLink,omitempty"`
    // Parameters - Name and value pairs that define the deployment parameters for the template. You use this element when you want to provide the parameter values directly in the request rather than link to an existing parameter file. Use either the parametersLink property or the parameters property, but not both. It can be a JObject or a well formed JSON string.
    Parameters interface{} `json:"parameters,omitempty"`
    // ParametersLink - The URI of parameters file. You use this element to link to an existing parameters file. Use either the parametersLink property or the parameters property, but not both.
    ParametersLink *ParametersLink `json:"parametersLink,omitempty"`
    // Mode - The mode that is used to deploy resources. This value can be either Incremental or Complete. In Incremental mode, resources are deployed without deleting existing resources that are not included in the template. In Complete mode, resources are deployed and existing resources in the resource group that are not included in the template are deleted. Be careful when using Complete mode as you may unintentionally delete resources. Possible values include: 'Incremental', 'Complete'
    Mode DeploymentMode `json:"mode,omitempty"`
    // DebugSetting - The debug setting of the deployment.
    DebugSetting *DebugSetting `json:"debugSetting,omitempty"`
    // OnErrorDeployment - The deployment on error behavior.
    OnErrorDeployment *OnErrorDeployment `json:"onErrorDeployment,omitempty"`
}

type DeploymentWhatIfSettings

DeploymentWhatIfSettings deployment What-If operation settings.

type DeploymentWhatIfSettings struct {
    // ResultFormat - The format of the What-If results. Possible values include: 'ResourceIDOnly', 'FullResourcePayloads'
    ResultFormat WhatIfResultFormat `json:"resultFormat,omitempty"`
}

type DeploymentsClient

DeploymentsClient is the provides operations for working with resources and resource groups.

type DeploymentsClient struct {
    BaseClient
}

func NewDeploymentsClient

func NewDeploymentsClient(subscriptionID string) DeploymentsClient

NewDeploymentsClient creates an instance of the DeploymentsClient client.

func NewDeploymentsClientWithBaseURI

func NewDeploymentsClientWithBaseURI(baseURI string, subscriptionID string) DeploymentsClient

NewDeploymentsClientWithBaseURI creates an instance of the DeploymentsClient 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 (DeploymentsClient) CalculateTemplateHash

func (client DeploymentsClient) CalculateTemplateHash(ctx context.Context, templateParameter interface{}) (result TemplateHashResult, err error)

CalculateTemplateHash calculate the hash of the given template. Parameters: templateParameter - the template provided to calculate hash.

func (DeploymentsClient) CalculateTemplateHashPreparer

func (client DeploymentsClient) CalculateTemplateHashPreparer(ctx context.Context, templateParameter interface{}) (*http.Request, error)

CalculateTemplateHashPreparer prepares the CalculateTemplateHash request.

func (DeploymentsClient) CalculateTemplateHashResponder

func (client DeploymentsClient) CalculateTemplateHashResponder(resp *http.Response) (result TemplateHashResult, err error)

CalculateTemplateHashResponder handles the response to the CalculateTemplateHash request. The method always closes the http.Response Body.

func (DeploymentsClient) CalculateTemplateHashSender

func (client DeploymentsClient) CalculateTemplateHashSender(req *http.Request) (*http.Response, error)

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

func (DeploymentsClient) Cancel

func (client DeploymentsClient) Cancel(ctx context.Context, resourceGroupName string, deploymentName string) (result autorest.Response, err error)

Cancel you can cancel a deployment only if the provisioningState is Accepted or Running. After the deployment is canceled, the provisioningState is set to Canceled. Canceling a template deployment stops the currently running template deployment and leaves the resource group partially deployed. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. deploymentName - the name of the deployment.

func (DeploymentsClient) CancelAtManagementGroupScope

func (client DeploymentsClient) CancelAtManagementGroupScope(ctx context.Context, groupID string, deploymentName string) (result autorest.Response, err error)

CancelAtManagementGroupScope you can cancel a deployment only if the provisioningState is Accepted or Running. After the deployment is canceled, the provisioningState is set to Canceled. Canceling a template deployment stops the currently running template deployment and leaves the resources partially deployed. Parameters: groupID - the management group ID. deploymentName - the name of the deployment.

func (DeploymentsClient) CancelAtManagementGroupScopePreparer

func (client DeploymentsClient) CancelAtManagementGroupScopePreparer(ctx context.Context, groupID string, deploymentName string) (*http.Request, error)

CancelAtManagementGroupScopePreparer prepares the CancelAtManagementGroupScope request.

func (DeploymentsClient) CancelAtManagementGroupScopeResponder

func (client DeploymentsClient) CancelAtManagementGroupScopeResponder(resp *http.Response) (result autorest.Response, err error)

CancelAtManagementGroupScopeResponder handles the response to the CancelAtManagementGroupScope request. The method always closes the http.Response Body.

func (DeploymentsClient) CancelAtManagementGroupScopeSender

func (client DeploymentsClient) CancelAtManagementGroupScopeSender(req *http.Request) (*http.Response, error)

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

func (DeploymentsClient) CancelAtScope

func (client DeploymentsClient) CancelAtScope(ctx context.Context, scope string, deploymentName string) (result autorest.Response, err error)

CancelAtScope you can cancel a deployment only if the provisioningState is Accepted or Running. After the deployment is canceled, the provisioningState is set to Canceled. Canceling a template deployment stops the currently running template deployment and leaves the resources partially deployed. Parameters: scope - the scope of a deployment. deploymentName - the name of the deployment.

func (DeploymentsClient) CancelAtScopePreparer

func (client DeploymentsClient) CancelAtScopePreparer(ctx context.Context, scope string, deploymentName string) (*http.Request, error)

CancelAtScopePreparer prepares the CancelAtScope request.

func (DeploymentsClient) CancelAtScopeResponder

func (client DeploymentsClient) CancelAtScopeResponder(resp *http.Response) (result autorest.Response, err error)

CancelAtScopeResponder handles the response to the CancelAtScope request. The method always closes the http.Response Body.

func (DeploymentsClient) CancelAtScopeSender

func (client DeploymentsClient) CancelAtScopeSender(req *http.Request) (*http.Response, error)

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

func (DeploymentsClient) CancelAtSubscriptionScope

func (client DeploymentsClient) CancelAtSubscriptionScope(ctx context.Context, deploymentName string) (result autorest.Response, err error)

CancelAtSubscriptionScope you can cancel a deployment only if the provisioningState is Accepted or Running. After the deployment is canceled, the provisioningState is set to Canceled. Canceling a template deployment stops the currently running template deployment and leaves the resources partially deployed. Parameters: deploymentName - the name of the deployment.

func (DeploymentsClient) CancelAtSubscriptionScopePreparer

func (client DeploymentsClient) CancelAtSubscriptionScopePreparer(ctx context.Context, deploymentName string) (*http.Request, error)

CancelAtSubscriptionScopePreparer prepares the CancelAtSubscriptionScope request.

func (DeploymentsClient) CancelAtSubscriptionScopeResponder

func (client DeploymentsClient) CancelAtSubscriptionScopeResponder(resp *http.Response) (result autorest.Response, err error)

CancelAtSubscriptionScopeResponder handles the response to the CancelAtSubscriptionScope request. The method always closes the http.Response Body.

func (DeploymentsClient) CancelAtSubscriptionScopeSender

func (client DeploymentsClient) CancelAtSubscriptionScopeSender(req *http.Request) (*http.Response, error)

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

func (DeploymentsClient) CancelAtTenantScope

func (client DeploymentsClient) CancelAtTenantScope(ctx context.Context, deploymentName string) (result autorest.Response, err error)

CancelAtTenantScope you can cancel a deployment only if the provisioningState is Accepted or Running. After the deployment is canceled, the provisioningState is set to Canceled. Canceling a template deployment stops the currently running template deployment and leaves the resources partially deployed. Parameters: deploymentName - the name of the deployment.

func (DeploymentsClient) CancelAtTenantScopePreparer

func (client DeploymentsClient) CancelAtTenantScopePreparer(ctx context.Context, deploymentName string) (*http.Request, error)

CancelAtTenantScopePreparer prepares the CancelAtTenantScope request.

func (DeploymentsClient) CancelAtTenantScopeResponder

func (client DeploymentsClient) CancelAtTenantScopeResponder(resp *http.Response) (result autorest.Response, err error)

CancelAtTenantScopeResponder handles the response to the CancelAtTenantScope request. The method always closes the http.Response Body.

func (DeploymentsClient) CancelAtTenantScopeSender

func (client DeploymentsClient) CancelAtTenantScopeSender(req *http.Request) (*http.Response, error)

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

func (DeploymentsClient) CancelPreparer

func (client DeploymentsClient) CancelPreparer(ctx context.Context, resourceGroupName string, deploymentName string) (*http.Request, error)

CancelPreparer prepares the Cancel request.

func (DeploymentsClient) CancelResponder

func (client DeploymentsClient) CancelResponder(resp *http.Response) (result autorest.Response, err error)

CancelResponder handles the response to the Cancel request. The method always closes the http.Response Body.

func (DeploymentsClient) CancelSender

func (client DeploymentsClient) CancelSender(req *http.Request) (*http.Response, error)

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

func (DeploymentsClient) CheckExistence

func (client DeploymentsClient) CheckExistence(ctx context.Context, resourceGroupName string, deploymentName string) (result autorest.Response, err error)

CheckExistence checks whether the deployment exists. Parameters: resourceGroupName - the name of the resource group with the deployment to check. The name is case insensitive. deploymentName - the name of the deployment.

func (DeploymentsClient) CheckExistenceAtManagementGroupScope

func (client DeploymentsClient) CheckExistenceAtManagementGroupScope(ctx context.Context, groupID string, deploymentName string) (result autorest.Response, err error)

CheckExistenceAtManagementGroupScope checks whether the deployment exists. Parameters: groupID - the management group ID. deploymentName - the name of the deployment.

func (DeploymentsClient) CheckExistenceAtManagementGroupScopePreparer

func (client DeploymentsClient) CheckExistenceAtManagementGroupScopePreparer(ctx context.Context, groupID string, deploymentName string) (*http.Request, error)

CheckExistenceAtManagementGroupScopePreparer prepares the CheckExistenceAtManagementGroupScope request.

func (DeploymentsClient) CheckExistenceAtManagementGroupScopeResponder

func (client DeploymentsClient) CheckExistenceAtManagementGroupScopeResponder(resp *http.Response) (result autorest.Response, err error)

CheckExistenceAtManagementGroupScopeResponder handles the response to the CheckExistenceAtManagementGroupScope request. The method always closes the http.Response Body.

func (DeploymentsClient) CheckExistenceAtManagementGroupScopeSender

func (client DeploymentsClient) CheckExistenceAtManagementGroupScopeSender(req *http.Request) (*http.Response, error)

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

func (DeploymentsClient) CheckExistenceAtScope

func (client DeploymentsClient) CheckExistenceAtScope(ctx context.Context, scope string, deploymentName string) (result autorest.Response, err error)

CheckExistenceAtScope checks whether the deployment exists. Parameters: scope - the scope of a deployment. deploymentName - the name of the deployment.

func (DeploymentsClient) CheckExistenceAtScopePreparer

func (client DeploymentsClient) CheckExistenceAtScopePreparer(ctx context.Context, scope string, deploymentName string) (*http.Request, error)

CheckExistenceAtScopePreparer prepares the CheckExistenceAtScope request.

func (DeploymentsClient) CheckExistenceAtScopeResponder

func (client DeploymentsClient) CheckExistenceAtScopeResponder(resp *http.Response) (result autorest.Response, err error)

CheckExistenceAtScopeResponder handles the response to the CheckExistenceAtScope request. The method always closes the http.Response Body.

func (DeploymentsClient) CheckExistenceAtScopeSender

func (client DeploymentsClient) CheckExistenceAtScopeSender(req *http.Request) (*http.Response, error)

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

func (DeploymentsClient) CheckExistenceAtSubscriptionScope

func (client DeploymentsClient) CheckExistenceAtSubscriptionScope(ctx context.Context, deploymentName string) (result autorest.Response, err error)

CheckExistenceAtSubscriptionScope checks whether the deployment exists. Parameters: deploymentName - the name of the deployment.

func (DeploymentsClient) CheckExistenceAtSubscriptionScopePreparer

func (client DeploymentsClient) CheckExistenceAtSubscriptionScopePreparer(ctx context.Context, deploymentName string) (*http.Request, error)

CheckExistenceAtSubscriptionScopePreparer prepares the CheckExistenceAtSubscriptionScope request.

func (DeploymentsClient) CheckExistenceAtSubscriptionScopeResponder

func (client DeploymentsClient) CheckExistenceAtSubscriptionScopeResponder(resp *http.Response) (result autorest.Response, err error)

CheckExistenceAtSubscriptionScopeResponder handles the response to the CheckExistenceAtSubscriptionScope request. The method always closes the http.Response Body.

func (DeploymentsClient) CheckExistenceAtSubscriptionScopeSender

func (client DeploymentsClient) CheckExistenceAtSubscriptionScopeSender(req *http.Request) (*http.Response, error)

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

func (DeploymentsClient) CheckExistenceAtTenantScope

func (client DeploymentsClient) CheckExistenceAtTenantScope(ctx context.Context, deploymentName string) (result autorest.Response, err error)

CheckExistenceAtTenantScope checks whether the deployment exists. Parameters: deploymentName - the name of the deployment.

func (DeploymentsClient) CheckExistenceAtTenantScopePreparer

func (client DeploymentsClient) CheckExistenceAtTenantScopePreparer(ctx context.Context, deploymentName string) (*http.Request, error)

CheckExistenceAtTenantScopePreparer prepares the CheckExistenceAtTenantScope request.

func (DeploymentsClient) CheckExistenceAtTenantScopeResponder

func (client DeploymentsClient) CheckExistenceAtTenantScopeResponder(resp *http.Response) (result autorest.Response, err error)

CheckExistenceAtTenantScopeResponder handles the response to the CheckExistenceAtTenantScope request. The method always closes the http.Response Body.

func (DeploymentsClient) CheckExistenceAtTenantScopeSender

func (client DeploymentsClient) CheckExistenceAtTenantScopeSender(req *http.Request) (*http.Response, error)

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

func (DeploymentsClient) CheckExistencePreparer

func (client DeploymentsClient) CheckExistencePreparer(ctx context.Context, resourceGroupName string, deploymentName string) (*http.Request, error)

CheckExistencePreparer prepares the CheckExistence request.

func (DeploymentsClient) CheckExistenceResponder

func (client DeploymentsClient) CheckExistenceResponder(resp *http.Response) (result autorest.Response, err error)

CheckExistenceResponder handles the response to the CheckExistence request. The method always closes the http.Response Body.

func (DeploymentsClient) CheckExistenceSender

func (client DeploymentsClient) CheckExistenceSender(req *http.Request) (*http.Response, error)

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

func (DeploymentsClient) CreateOrUpdate

func (client DeploymentsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, deploymentName string, parameters Deployment) (result DeploymentsCreateOrUpdateFuture, err error)

CreateOrUpdate you can provide the template and parameters directly in the request or link to JSON files. Parameters: resourceGroupName - the name of the resource group to deploy the resources to. The name is case insensitive. The resource group must already exist. deploymentName - the name of the deployment. parameters - additional parameters supplied to the operation.

func (DeploymentsClient) CreateOrUpdateAtManagementGroupScope

func (client DeploymentsClient) CreateOrUpdateAtManagementGroupScope(ctx context.Context, groupID string, deploymentName string, parameters Deployment) (result DeploymentsCreateOrUpdateAtManagementGroupScopeFuture, err error)

CreateOrUpdateAtManagementGroupScope you can provide the template and parameters directly in the request or link to JSON files. Parameters: groupID - the management group ID. deploymentName - the name of the deployment. parameters - additional parameters supplied to the operation.

func (DeploymentsClient) CreateOrUpdateAtManagementGroupScopePreparer

func (client DeploymentsClient) CreateOrUpdateAtManagementGroupScopePreparer(ctx context.Context, groupID string, deploymentName string, parameters Deployment) (*http.Request, error)

CreateOrUpdateAtManagementGroupScopePreparer prepares the CreateOrUpdateAtManagementGroupScope request.

func (DeploymentsClient) CreateOrUpdateAtManagementGroupScopeResponder

func (client DeploymentsClient) CreateOrUpdateAtManagementGroupScopeResponder(resp *http.Response) (result DeploymentExtended, err error)

CreateOrUpdateAtManagementGroupScopeResponder handles the response to the CreateOrUpdateAtManagementGroupScope request. The method always closes the http.Response Body.

func (DeploymentsClient) CreateOrUpdateAtManagementGroupScopeSender

func (client DeploymentsClient) CreateOrUpdateAtManagementGroupScopeSender(req *http.Request) (future DeploymentsCreateOrUpdateAtManagementGroupScopeFuture, err error)

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

func (DeploymentsClient) CreateOrUpdateAtScope

func (client DeploymentsClient) CreateOrUpdateAtScope(ctx context.Context, scope string, deploymentName string, parameters Deployment) (result DeploymentsCreateOrUpdateAtScopeFuture, err error)

CreateOrUpdateAtScope you can provide the template and parameters directly in the request or link to JSON files. Parameters: scope - the scope of a deployment. deploymentName - the name of the deployment. parameters - additional parameters supplied to the operation.

func (DeploymentsClient) CreateOrUpdateAtScopePreparer

func (client DeploymentsClient) CreateOrUpdateAtScopePreparer(ctx context.Context, scope string, deploymentName string, parameters Deployment) (*http.Request, error)

CreateOrUpdateAtScopePreparer prepares the CreateOrUpdateAtScope request.

func (DeploymentsClient) CreateOrUpdateAtScopeResponder

func (client DeploymentsClient) CreateOrUpdateAtScopeResponder(resp *http.Response) (result DeploymentExtended, err error)

CreateOrUpdateAtScopeResponder handles the response to the CreateOrUpdateAtScope request. The method always closes the http.Response Body.

func (DeploymentsClient) CreateOrUpdateAtScopeSender

func (client DeploymentsClient) CreateOrUpdateAtScopeSender(req *http.Request) (future DeploymentsCreateOrUpdateAtScopeFuture, err error)

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

func (DeploymentsClient) CreateOrUpdateAtSubscriptionScope

func (client DeploymentsClient) CreateOrUpdateAtSubscriptionScope(ctx context.Context, deploymentName string, parameters Deployment) (result DeploymentsCreateOrUpdateAtSubscriptionScopeFuture, err error)

CreateOrUpdateAtSubscriptionScope you can provide the template and parameters directly in the request or link to JSON files. Parameters: deploymentName - the name of the deployment. parameters - additional parameters supplied to the operation.

func (DeploymentsClient) CreateOrUpdateAtSubscriptionScopePreparer

func (client DeploymentsClient) CreateOrUpdateAtSubscriptionScopePreparer(ctx context.Context, deploymentName string, parameters Deployment) (*http.Request, error)

CreateOrUpdateAtSubscriptionScopePreparer prepares the CreateOrUpdateAtSubscriptionScope request.

func (DeploymentsClient) CreateOrUpdateAtSubscriptionScopeResponder

func (client DeploymentsClient) CreateOrUpdateAtSubscriptionScopeResponder(resp *http.Response) (result DeploymentExtended, err error)

CreateOrUpdateAtSubscriptionScopeResponder handles the response to the CreateOrUpdateAtSubscriptionScope request. The method always closes the http.Response Body.

func (DeploymentsClient) CreateOrUpdateAtSubscriptionScopeSender

func (client DeploymentsClient) CreateOrUpdateAtSubscriptionScopeSender(req *http.Request) (future DeploymentsCreateOrUpdateAtSubscriptionScopeFuture, err error)

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

func (DeploymentsClient) CreateOrUpdateAtTenantScope

func (client DeploymentsClient) CreateOrUpdateAtTenantScope(ctx context.Context, deploymentName string, parameters Deployment) (result DeploymentsCreateOrUpdateAtTenantScopeFuture, err error)

CreateOrUpdateAtTenantScope you can provide the template and parameters directly in the request or link to JSON files. Parameters: deploymentName - the name of the deployment. parameters - additional parameters supplied to the operation.

func (DeploymentsClient) CreateOrUpdateAtTenantScopePreparer

func (client DeploymentsClient) CreateOrUpdateAtTenantScopePreparer(ctx context.Context, deploymentName string, parameters Deployment) (*http.Request, error)

CreateOrUpdateAtTenantScopePreparer prepares the CreateOrUpdateAtTenantScope request.

func (DeploymentsClient) CreateOrUpdateAtTenantScopeResponder

func (client DeploymentsClient) CreateOrUpdateAtTenantScopeResponder(resp *http.Response) (result DeploymentExtended, err error)

CreateOrUpdateAtTenantScopeResponder handles the response to the CreateOrUpdateAtTenantScope request. The method always closes the http.Response Body.

func (DeploymentsClient) CreateOrUpdateAtTenantScopeSender

func (client DeploymentsClient) CreateOrUpdateAtTenantScopeSender(req *http.Request) (future DeploymentsCreateOrUpdateAtTenantScopeFuture, err error)

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

func (DeploymentsClient) CreateOrUpdatePreparer

func (client DeploymentsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, deploymentName string, parameters Deployment) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (DeploymentsClient) CreateOrUpdateResponder

func (client DeploymentsClient) CreateOrUpdateResponder(resp *http.Response) (result DeploymentExtended, err error)

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

func (DeploymentsClient) CreateOrUpdateSender

func (client DeploymentsClient) CreateOrUpdateSender(req *http.Request) (future DeploymentsCreateOrUpdateFuture, err error)

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

func (DeploymentsClient) Delete

func (client DeploymentsClient) Delete(ctx context.Context, resourceGroupName string, deploymentName string) (result DeploymentsDeleteFuture, err error)

Delete a template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. Deleting a template deployment does not affect the state of the resource group. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code. Parameters: resourceGroupName - the name of the resource group with the deployment to delete. The name is case insensitive. deploymentName - the name of the deployment.

func (DeploymentsClient) DeleteAtManagementGroupScope

func (client DeploymentsClient) DeleteAtManagementGroupScope(ctx context.Context, groupID string, deploymentName string) (result DeploymentsDeleteAtManagementGroupScopeFuture, err error)

DeleteAtManagementGroupScope a template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code. Parameters: groupID - the management group ID. deploymentName - the name of the deployment.

func (DeploymentsClient) DeleteAtManagementGroupScopePreparer

func (client DeploymentsClient) DeleteAtManagementGroupScopePreparer(ctx context.Context, groupID string, deploymentName string) (*http.Request, error)

DeleteAtManagementGroupScopePreparer prepares the DeleteAtManagementGroupScope request.

func (DeploymentsClient) DeleteAtManagementGroupScopeResponder

func (client DeploymentsClient) DeleteAtManagementGroupScopeResponder(resp *http.Response) (result autorest.Response, err error)

DeleteAtManagementGroupScopeResponder handles the response to the DeleteAtManagementGroupScope request. The method always closes the http.Response Body.

func (DeploymentsClient) DeleteAtManagementGroupScopeSender

func (client DeploymentsClient) DeleteAtManagementGroupScopeSender(req *http.Request) (future DeploymentsDeleteAtManagementGroupScopeFuture, err error)

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

func (DeploymentsClient) DeleteAtScope

func (client DeploymentsClient) DeleteAtScope(ctx context.Context, scope string, deploymentName string) (result DeploymentsDeleteAtScopeFuture, err error)

DeleteAtScope a template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code. Parameters: scope - the scope of a deployment. deploymentName - the name of the deployment.

func (DeploymentsClient) DeleteAtScopePreparer

func (client DeploymentsClient) DeleteAtScopePreparer(ctx context.Context, scope string, deploymentName string) (*http.Request, error)

DeleteAtScopePreparer prepares the DeleteAtScope request.

func (DeploymentsClient) DeleteAtScopeResponder

func (client DeploymentsClient) DeleteAtScopeResponder(resp *http.Response) (result autorest.Response, err error)

DeleteAtScopeResponder handles the response to the DeleteAtScope request. The method always closes the http.Response Body.

func (DeploymentsClient) DeleteAtScopeSender

func (client DeploymentsClient) DeleteAtScopeSender(req *http.Request) (future DeploymentsDeleteAtScopeFuture, err error)

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

func (DeploymentsClient) DeleteAtSubscriptionScope

func (client DeploymentsClient) DeleteAtSubscriptionScope(ctx context.Context, deploymentName string) (result DeploymentsDeleteAtSubscriptionScopeFuture, err error)

DeleteAtSubscriptionScope a template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code. Parameters: deploymentName - the name of the deployment.

func (DeploymentsClient) DeleteAtSubscriptionScopePreparer

func (client DeploymentsClient) DeleteAtSubscriptionScopePreparer(ctx context.Context, deploymentName string) (*http.Request, error)

DeleteAtSubscriptionScopePreparer prepares the DeleteAtSubscriptionScope request.

func (DeploymentsClient) DeleteAtSubscriptionScopeResponder

func (client DeploymentsClient) DeleteAtSubscriptionScopeResponder(resp *http.Response) (result autorest.Response, err error)

DeleteAtSubscriptionScopeResponder handles the response to the DeleteAtSubscriptionScope request. The method always closes the http.Response Body.

func (DeploymentsClient) DeleteAtSubscriptionScopeSender

func (client DeploymentsClient) DeleteAtSubscriptionScopeSender(req *http.Request) (future DeploymentsDeleteAtSubscriptionScopeFuture, err error)

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

func (DeploymentsClient) DeleteAtTenantScope

func (client DeploymentsClient) DeleteAtTenantScope(ctx context.Context, deploymentName string) (result DeploymentsDeleteAtTenantScopeFuture, err error)

DeleteAtTenantScope a template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code. Parameters: deploymentName - the name of the deployment.

func (DeploymentsClient) DeleteAtTenantScopePreparer

func (client DeploymentsClient) DeleteAtTenantScopePreparer(ctx context.Context, deploymentName string) (*http.Request, error)

DeleteAtTenantScopePreparer prepares the DeleteAtTenantScope request.

func (DeploymentsClient) DeleteAtTenantScopeResponder

func (client DeploymentsClient) DeleteAtTenantScopeResponder(resp *http.Response) (result autorest.Response, err error)

DeleteAtTenantScopeResponder handles the response to the DeleteAtTenantScope request. The method always closes the http.Response Body.

func (DeploymentsClient) DeleteAtTenantScopeSender

func (client DeploymentsClient) DeleteAtTenantScopeSender(req *http.Request) (future DeploymentsDeleteAtTenantScopeFuture, err error)

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

func (DeploymentsClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (DeploymentsClient) DeleteResponder

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

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

func (DeploymentsClient) DeleteSender

func (client DeploymentsClient) DeleteSender(req *http.Request) (future DeploymentsDeleteFuture, err error)

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

func (DeploymentsClient) ExportTemplate

func (client DeploymentsClient) ExportTemplate(ctx context.Context, resourceGroupName string, deploymentName string) (result DeploymentExportResult, err error)

ExportTemplate exports the template used for specified deployment. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. deploymentName - the name of the deployment.

func (DeploymentsClient) ExportTemplateAtManagementGroupScope

func (client DeploymentsClient) ExportTemplateAtManagementGroupScope(ctx context.Context, groupID string, deploymentName string) (result DeploymentExportResult, err error)

ExportTemplateAtManagementGroupScope exports the template used for specified deployment. Parameters: groupID - the management group ID. deploymentName - the name of the deployment.

func (DeploymentsClient) ExportTemplateAtManagementGroupScopePreparer

func (client DeploymentsClient) ExportTemplateAtManagementGroupScopePreparer(ctx context.Context, groupID string, deploymentName string) (*http.Request, error)

ExportTemplateAtManagementGroupScopePreparer prepares the ExportTemplateAtManagementGroupScope request.

func (DeploymentsClient) ExportTemplateAtManagementGroupScopeResponder

func (client DeploymentsClient) ExportTemplateAtManagementGroupScopeResponder(resp *http.Response) (result DeploymentExportResult, err error)

ExportTemplateAtManagementGroupScopeResponder handles the response to the ExportTemplateAtManagementGroupScope request. The method always closes the http.Response Body.

func (DeploymentsClient) ExportTemplateAtManagementGroupScopeSender

func (client DeploymentsClient) ExportTemplateAtManagementGroupScopeSender(req *http.Request) (*http.Response, error)

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

func (DeploymentsClient) ExportTemplateAtScope

func (client DeploymentsClient) ExportTemplateAtScope(ctx context.Context, scope string, deploymentName string) (result DeploymentExportResult, err error)

ExportTemplateAtScope exports the template used for specified deployment. Parameters: scope - the scope of a deployment. deploymentName - the name of the deployment.

func (DeploymentsClient) ExportTemplateAtScopePreparer

func (client DeploymentsClient) ExportTemplateAtScopePreparer(ctx context.Context, scope string, deploymentName string) (*http.Request, error)

ExportTemplateAtScopePreparer prepares the ExportTemplateAtScope request.

func (DeploymentsClient) ExportTemplateAtScopeResponder

func (client DeploymentsClient) ExportTemplateAtScopeResponder(resp *http.Response) (result DeploymentExportResult, err error)

ExportTemplateAtScopeResponder handles the response to the ExportTemplateAtScope request. The method always closes the http.Response Body.

func (DeploymentsClient) ExportTemplateAtScopeSender

func (client DeploymentsClient) ExportTemplateAtScopeSender(req *http.Request) (*http.Response, error)

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

func (DeploymentsClient) ExportTemplateAtSubscriptionScope

func (client DeploymentsClient) ExportTemplateAtSubscriptionScope(ctx context.Context, deploymentName string) (result DeploymentExportResult, err error)

ExportTemplateAtSubscriptionScope exports the template used for specified deployment. Parameters: deploymentName - the name of the deployment.

func (DeploymentsClient) ExportTemplateAtSubscriptionScopePreparer

func (client DeploymentsClient) ExportTemplateAtSubscriptionScopePreparer(ctx context.Context, deploymentName string) (*http.Request, error)

ExportTemplateAtSubscriptionScopePreparer prepares the ExportTemplateAtSubscriptionScope request.

func (DeploymentsClient) ExportTemplateAtSubscriptionScopeResponder

func (client DeploymentsClient) ExportTemplateAtSubscriptionScopeResponder(resp *http.Response) (result DeploymentExportResult, err error)

ExportTemplateAtSubscriptionScopeResponder handles the response to the ExportTemplateAtSubscriptionScope request. The method always closes the http.Response Body.

func (DeploymentsClient) ExportTemplateAtSubscriptionScopeSender

func (client DeploymentsClient) ExportTemplateAtSubscriptionScopeSender(req *http.Request) (*http.Response, error)

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

func (DeploymentsClient) ExportTemplateAtTenantScope

func (client DeploymentsClient) ExportTemplateAtTenantScope(ctx context.Context, deploymentName string) (result DeploymentExportResult, err error)

ExportTemplateAtTenantScope exports the template used for specified deployment. Parameters: deploymentName - the name of the deployment.

func (DeploymentsClient) ExportTemplateAtTenantScopePreparer

func (client DeploymentsClient) ExportTemplateAtTenantScopePreparer(ctx context.Context, deploymentName string) (*http.Request, error)

ExportTemplateAtTenantScopePreparer prepares the ExportTemplateAtTenantScope request.

func (DeploymentsClient) ExportTemplateAtTenantScopeResponder

func (client DeploymentsClient) ExportTemplateAtTenantScopeResponder(resp *http.Response) (result DeploymentExportResult, err error)

ExportTemplateAtTenantScopeResponder handles the response to the ExportTemplateAtTenantScope request. The method always closes the http.Response Body.

func (DeploymentsClient) ExportTemplateAtTenantScopeSender

func (client DeploymentsClient) ExportTemplateAtTenantScopeSender(req *http.Request) (*http.Response, error)

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

func (DeploymentsClient) ExportTemplatePreparer

func (client DeploymentsClient) ExportTemplatePreparer(ctx context.Context, resourceGroupName string, deploymentName string) (*http.Request, error)

ExportTemplatePreparer prepares the ExportTemplate request.

func (DeploymentsClient) ExportTemplateResponder

func (client DeploymentsClient) ExportTemplateResponder(resp *http.Response) (result DeploymentExportResult, err error)

ExportTemplateResponder handles the response to the ExportTemplate request. The method always closes the http.Response Body.

func (DeploymentsClient) ExportTemplateSender

func (client DeploymentsClient) ExportTemplateSender(req *http.Request) (*http.Response, error)

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

func (DeploymentsClient) Get

func (client DeploymentsClient) Get(ctx context.Context, resourceGroupName string, deploymentName string) (result DeploymentExtended, err error)

Get gets a deployment. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. deploymentName - the name of the deployment.

func (DeploymentsClient) GetAtManagementGroupScope

func (client DeploymentsClient) GetAtManagementGroupScope(ctx context.Context, groupID string, deploymentName string) (result DeploymentExtended, err error)

GetAtManagementGroupScope gets a deployment. Parameters: groupID - the management group ID. deploymentName - the name of the deployment.

func (DeploymentsClient) GetAtManagementGroupScopePreparer

func (client DeploymentsClient) GetAtManagementGroupScopePreparer(ctx context.Context, groupID string, deploymentName string) (*http.Request, error)

GetAtManagementGroupScopePreparer prepares the GetAtManagementGroupScope request.

func (DeploymentsClient) GetAtManagementGroupScopeResponder

func (client DeploymentsClient) GetAtManagementGroupScopeResponder(resp *http.Response) (result DeploymentExtended, err error)

GetAtManagementGroupScopeResponder handles the response to the GetAtManagementGroupScope request. The method always closes the http.Response Body.

func (DeploymentsClient) GetAtManagementGroupScopeSender

func (client DeploymentsClient) GetAtManagementGroupScopeSender(req *http.Request) (*http.Response, error)

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

func (DeploymentsClient) GetAtScope

func (client DeploymentsClient) GetAtScope(ctx context.Context, scope string, deploymentName string) (result DeploymentExtended, err error)

GetAtScope gets a deployment. Parameters: scope - the scope of a deployment. deploymentName - the name of the deployment.

func (DeploymentsClient) GetAtScopePreparer

func (client DeploymentsClient) GetAtScopePreparer(ctx context.Context, scope string, deploymentName string) (*http.Request, error)

GetAtScopePreparer prepares the GetAtScope request.

func (DeploymentsClient) GetAtScopeResponder

func (client DeploymentsClient) GetAtScopeResponder(resp *http.Response) (result DeploymentExtended, err error)

GetAtScopeResponder handles the response to the GetAtScope request. The method always closes the http.Response Body.

func (DeploymentsClient) GetAtScopeSender

func (client DeploymentsClient) GetAtScopeSender(req *http.Request) (*http.Response, error)

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

func (DeploymentsClient) GetAtSubscriptionScope

func (client DeploymentsClient) GetAtSubscriptionScope(ctx context.Context, deploymentName string) (result DeploymentExtended, err error)

GetAtSubscriptionScope gets a deployment. Parameters: deploymentName - the name of the deployment.

func (DeploymentsClient) GetAtSubscriptionScopePreparer

func (client DeploymentsClient) GetAtSubscriptionScopePreparer(ctx context.Context, deploymentName string) (*http.Request, error)

GetAtSubscriptionScopePreparer prepares the GetAtSubscriptionScope request.

func (DeploymentsClient) GetAtSubscriptionScopeResponder

func (client DeploymentsClient) GetAtSubscriptionScopeResponder(resp *http.Response) (result DeploymentExtended, err error)

GetAtSubscriptionScopeResponder handles the response to the GetAtSubscriptionScope request. The method always closes the http.Response Body.

func (DeploymentsClient) GetAtSubscriptionScopeSender

func (client DeploymentsClient) GetAtSubscriptionScopeSender(req *http.Request) (*http.Response, error)

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

func (DeploymentsClient) GetAtTenantScope

func (client DeploymentsClient) GetAtTenantScope(ctx context.Context, deploymentName string) (result DeploymentExtended, err error)

GetAtTenantScope gets a deployment. Parameters: deploymentName - the name of the deployment.

func (DeploymentsClient) GetAtTenantScopePreparer

func (client DeploymentsClient) GetAtTenantScopePreparer(ctx context.Context, deploymentName string) (*http.Request, error)

GetAtTenantScopePreparer prepares the GetAtTenantScope request.

func (DeploymentsClient) GetAtTenantScopeResponder

func (client DeploymentsClient) GetAtTenantScopeResponder(resp *http.Response) (result DeploymentExtended, err error)

GetAtTenantScopeResponder handles the response to the GetAtTenantScope request. The method always closes the http.Response Body.

func (DeploymentsClient) GetAtTenantScopeSender

func (client DeploymentsClient) GetAtTenantScopeSender(req *http.Request) (*http.Response, error)

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

func (DeploymentsClient) GetPreparer

func (client DeploymentsClient) GetPreparer(ctx context.Context, resourceGroupName string, deploymentName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DeploymentsClient) GetResponder

func (client DeploymentsClient) GetResponder(resp *http.Response) (result DeploymentExtended, err error)

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

func (DeploymentsClient) GetSender

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

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

func (DeploymentsClient) ListAtManagementGroupScope

func (client DeploymentsClient) ListAtManagementGroupScope(ctx context.Context, groupID string, filter string, top *int32) (result DeploymentListResultPage, err error)

ListAtManagementGroupScope get all the deployments for a management group. Parameters: groupID - the management group ID. filter - the filter to apply on the operation. For example, you can use $filter=provisioningState eq '{state}'. top - the number of results to get. If null is passed, returns all deployments.

func (DeploymentsClient) ListAtManagementGroupScopeComplete

func (client DeploymentsClient) ListAtManagementGroupScopeComplete(ctx context.Context, groupID string, filter string, top *int32) (result DeploymentListResultIterator, err error)

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

func (DeploymentsClient) ListAtManagementGroupScopePreparer

func (client DeploymentsClient) ListAtManagementGroupScopePreparer(ctx context.Context, groupID string, filter string, top *int32) (*http.Request, error)

ListAtManagementGroupScopePreparer prepares the ListAtManagementGroupScope request.

func (DeploymentsClient) ListAtManagementGroupScopeResponder

func (client DeploymentsClient) ListAtManagementGroupScopeResponder(resp *http.Response) (result DeploymentListResult, err error)

ListAtManagementGroupScopeResponder handles the response to the ListAtManagementGroupScope request. The method always closes the http.Response Body.

func (DeploymentsClient) ListAtManagementGroupScopeSender

func (client DeploymentsClient) ListAtManagementGroupScopeSender(req *http.Request) (*http.Response, error)

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

func (DeploymentsClient) ListAtScope

func (client DeploymentsClient) ListAtScope(ctx context.Context, scope string, filter string, top *int32) (result DeploymentListResultPage, err error)

ListAtScope get all the deployments at the given scope. Parameters: scope - the scope of a deployment. filter - the filter to apply on the operation. For example, you can use $filter=provisioningState eq '{state}'. top - the number of results to get. If null is passed, returns all deployments.

func (DeploymentsClient) ListAtScopeComplete

func (client DeploymentsClient) ListAtScopeComplete(ctx context.Context, scope string, filter string, top *int32) (result DeploymentListResultIterator, err error)

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

func (DeploymentsClient) ListAtScopePreparer

func (client DeploymentsClient) ListAtScopePreparer(ctx context.Context, scope string, filter string, top *int32) (*http.Request, error)

ListAtScopePreparer prepares the ListAtScope request.

func (DeploymentsClient) ListAtScopeResponder

func (client DeploymentsClient) ListAtScopeResponder(resp *http.Response) (result DeploymentListResult, err error)

ListAtScopeResponder handles the response to the ListAtScope request. The method always closes the http.Response Body.

func (DeploymentsClient) ListAtScopeSender

func (client DeploymentsClient) ListAtScopeSender(req *http.Request) (*http.Response, error)

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

func (DeploymentsClient) ListAtSubscriptionScope

func (client DeploymentsClient) ListAtSubscriptionScope(ctx context.Context, filter string, top *int32) (result DeploymentListResultPage, err error)

ListAtSubscriptionScope get all the deployments for a subscription. Parameters: filter - the filter to apply on the operation. For example, you can use $filter=provisioningState eq '{state}'. top - the number of results to get. If null is passed, returns all deployments.

func (DeploymentsClient) ListAtSubscriptionScopeComplete

func (client DeploymentsClient) ListAtSubscriptionScopeComplete(ctx context.Context, filter string, top *int32) (result DeploymentListResultIterator, err error)

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

func (DeploymentsClient) ListAtSubscriptionScopePreparer

func (client DeploymentsClient) ListAtSubscriptionScopePreparer(ctx context.Context, filter string, top *int32) (*http.Request, error)

ListAtSubscriptionScopePreparer prepares the ListAtSubscriptionScope request.

func (DeploymentsClient) ListAtSubscriptionScopeResponder

func (client DeploymentsClient) ListAtSubscriptionScopeResponder(resp *http.Response) (result DeploymentListResult, err error)

ListAtSubscriptionScopeResponder handles the response to the ListAtSubscriptionScope request. The method always closes the http.Response Body.

func (DeploymentsClient) ListAtSubscriptionScopeSender

func (client DeploymentsClient) ListAtSubscriptionScopeSender(req *http.Request) (*http.Response, error)

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

func (DeploymentsClient) ListAtTenantScope

func (client DeploymentsClient) ListAtTenantScope(ctx context.Context, filter string, top *int32) (result DeploymentListResultPage, err error)

ListAtTenantScope get all the deployments at the tenant scope. Parameters: filter - the filter to apply on the operation. For example, you can use $filter=provisioningState eq '{state}'. top - the number of results to get. If null is passed, returns all deployments.

func (DeploymentsClient) ListAtTenantScopeComplete

func (client DeploymentsClient) ListAtTenantScopeComplete(ctx context.Context, filter string, top *int32) (result DeploymentListResultIterator, err error)

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

func (DeploymentsClient) ListAtTenantScopePreparer

func (client DeploymentsClient) ListAtTenantScopePreparer(ctx context.Context, filter string, top *int32) (*http.Request, error)

ListAtTenantScopePreparer prepares the ListAtTenantScope request.

func (DeploymentsClient) ListAtTenantScopeResponder

func (client DeploymentsClient) ListAtTenantScopeResponder(resp *http.Response) (result DeploymentListResult, err error)

ListAtTenantScopeResponder handles the response to the ListAtTenantScope request. The method always closes the http.Response Body.

func (DeploymentsClient) ListAtTenantScopeSender

func (client DeploymentsClient) ListAtTenantScopeSender(req *http.Request) (*http.Response, error)

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

func (DeploymentsClient) ListByResourceGroup

func (client DeploymentsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, filter string, top *int32) (result DeploymentListResultPage, err error)

ListByResourceGroup get all the deployments for a resource group. Parameters: resourceGroupName - the name of the resource group with the deployments to get. The name is case insensitive. filter - the filter to apply on the operation. For example, you can use $filter=provisioningState eq '{state}'. top - the number of results to get. If null is passed, returns all deployments.

func (DeploymentsClient) ListByResourceGroupComplete

func (client DeploymentsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, filter string, top *int32) (result DeploymentListResultIterator, err error)

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

func (DeploymentsClient) ListByResourceGroupPreparer

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (DeploymentsClient) ListByResourceGroupResponder

func (client DeploymentsClient) ListByResourceGroupResponder(resp *http.Response) (result DeploymentListResult, err error)

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

func (DeploymentsClient) ListByResourceGroupSender

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

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

func (DeploymentsClient) Validate

func (client DeploymentsClient) Validate(ctx context.Context, resourceGroupName string, deploymentName string, parameters Deployment) (result DeploymentValidateResult, err error)

Validate validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager.. Parameters: resourceGroupName - the name of the resource group the template will be deployed to. The name is case insensitive. deploymentName - the name of the deployment. parameters - parameters to validate.

func (DeploymentsClient) ValidateAtManagementGroupScope

func (client DeploymentsClient) ValidateAtManagementGroupScope(ctx context.Context, groupID string, deploymentName string, parameters Deployment) (result DeploymentValidateResult, err error)

ValidateAtManagementGroupScope validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager.. Parameters: groupID - the management group ID. deploymentName - the name of the deployment. parameters - parameters to validate.

func (DeploymentsClient) ValidateAtManagementGroupScopePreparer

func (client DeploymentsClient) ValidateAtManagementGroupScopePreparer(ctx context.Context, groupID string, deploymentName string, parameters Deployment) (*http.Request, error)

ValidateAtManagementGroupScopePreparer prepares the ValidateAtManagementGroupScope request.

func (DeploymentsClient) ValidateAtManagementGroupScopeResponder

func (client DeploymentsClient) ValidateAtManagementGroupScopeResponder(resp *http.Response) (result DeploymentValidateResult, err error)

ValidateAtManagementGroupScopeResponder handles the response to the ValidateAtManagementGroupScope request. The method always closes the http.Response Body.

func (DeploymentsClient) ValidateAtManagementGroupScopeSender

func (client DeploymentsClient) ValidateAtManagementGroupScopeSender(req *http.Request) (*http.Response, error)

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

func (DeploymentsClient) ValidateAtScope

func (client DeploymentsClient) ValidateAtScope(ctx context.Context, scope string, deploymentName string, parameters Deployment) (result DeploymentValidateResult, err error)

ValidateAtScope validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager.. Parameters: scope - the scope of a deployment. deploymentName - the name of the deployment. parameters - parameters to validate.

func (DeploymentsClient) ValidateAtScopePreparer

func (client DeploymentsClient) ValidateAtScopePreparer(ctx context.Context, scope string, deploymentName string, parameters Deployment) (*http.Request, error)

ValidateAtScopePreparer prepares the ValidateAtScope request.

func (DeploymentsClient) ValidateAtScopeResponder

func (client DeploymentsClient) ValidateAtScopeResponder(resp *http.Response) (result DeploymentValidateResult, err error)

ValidateAtScopeResponder handles the response to the ValidateAtScope request. The method always closes the http.Response Body.

func (DeploymentsClient) ValidateAtScopeSender

func (client DeploymentsClient) ValidateAtScopeSender(req *http.Request) (*http.Response, error)

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

func (DeploymentsClient) ValidateAtSubscriptionScope

func (client DeploymentsClient) ValidateAtSubscriptionScope(ctx context.Context, deploymentName string, parameters Deployment) (result DeploymentValidateResult, err error)

ValidateAtSubscriptionScope validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager.. Parameters: deploymentName - the name of the deployment. parameters - parameters to validate.

func (DeploymentsClient) ValidateAtSubscriptionScopePreparer

func (client DeploymentsClient) ValidateAtSubscriptionScopePreparer(ctx context.Context, deploymentName string, parameters Deployment) (*http.Request, error)

ValidateAtSubscriptionScopePreparer prepares the ValidateAtSubscriptionScope request.

func (DeploymentsClient) ValidateAtSubscriptionScopeResponder

func (client DeploymentsClient) ValidateAtSubscriptionScopeResponder(resp *http.Response) (result DeploymentValidateResult, err error)

ValidateAtSubscriptionScopeResponder handles the response to the ValidateAtSubscriptionScope request. The method always closes the http.Response Body.

func (DeploymentsClient) ValidateAtSubscriptionScopeSender

func (client DeploymentsClient) ValidateAtSubscriptionScopeSender(req *http.Request) (*http.Response, error)

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

func (DeploymentsClient) ValidateAtTenantScope

func (client DeploymentsClient) ValidateAtTenantScope(ctx context.Context, deploymentName string, parameters Deployment) (result DeploymentValidateResult, err error)

ValidateAtTenantScope validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager.. Parameters: deploymentName - the name of the deployment. parameters - parameters to validate.

func (DeploymentsClient) ValidateAtTenantScopePreparer

func (client DeploymentsClient) ValidateAtTenantScopePreparer(ctx context.Context, deploymentName string, parameters Deployment) (*http.Request, error)

ValidateAtTenantScopePreparer prepares the ValidateAtTenantScope request.

func (DeploymentsClient) ValidateAtTenantScopeResponder

func (client DeploymentsClient) ValidateAtTenantScopeResponder(resp *http.Response) (result DeploymentValidateResult, err error)

ValidateAtTenantScopeResponder handles the response to the ValidateAtTenantScope request. The method always closes the http.Response Body.

func (DeploymentsClient) ValidateAtTenantScopeSender

func (client DeploymentsClient) ValidateAtTenantScopeSender(req *http.Request) (*http.Response, error)

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

func (DeploymentsClient) ValidatePreparer

func (client DeploymentsClient) ValidatePreparer(ctx context.Context, resourceGroupName string, deploymentName string, parameters Deployment) (*http.Request, error)

ValidatePreparer prepares the Validate request.

func (DeploymentsClient) ValidateResponder

func (client DeploymentsClient) ValidateResponder(resp *http.Response) (result DeploymentValidateResult, err error)

ValidateResponder handles the response to the Validate request. The method always closes the http.Response Body.

func (DeploymentsClient) ValidateSender

func (client DeploymentsClient) ValidateSender(req *http.Request) (*http.Response, error)

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

func (DeploymentsClient) WhatIf

func (client DeploymentsClient) WhatIf(ctx context.Context, resourceGroupName string, deploymentName string, parameters DeploymentWhatIf) (result DeploymentsWhatIfFuture, err error)

WhatIf returns changes that will be made by the deployment if executed at the scope of the resource group. Parameters: resourceGroupName - the name of the resource group the template will be deployed to. The name is case insensitive. deploymentName - the name of the deployment. parameters - parameters to validate.

func (DeploymentsClient) WhatIfAtSubscriptionScope

func (client DeploymentsClient) WhatIfAtSubscriptionScope(ctx context.Context, deploymentName string, parameters DeploymentWhatIf) (result DeploymentsWhatIfAtSubscriptionScopeFuture, err error)

WhatIfAtSubscriptionScope returns changes that will be made by the deployment if executed at the scope of the subscription. Parameters: deploymentName - the name of the deployment. parameters - parameters to What If.

func (DeploymentsClient) WhatIfAtSubscriptionScopePreparer

func (client DeploymentsClient) WhatIfAtSubscriptionScopePreparer(ctx context.Context, deploymentName string, parameters DeploymentWhatIf) (*http.Request, error)

WhatIfAtSubscriptionScopePreparer prepares the WhatIfAtSubscriptionScope request.

func (DeploymentsClient) WhatIfAtSubscriptionScopeResponder

func (client DeploymentsClient) WhatIfAtSubscriptionScopeResponder(resp *http.Response) (result WhatIfOperationResult, err error)

WhatIfAtSubscriptionScopeResponder handles the response to the WhatIfAtSubscriptionScope request. The method always closes the http.Response Body.

func (DeploymentsClient) WhatIfAtSubscriptionScopeSender

func (client DeploymentsClient) WhatIfAtSubscriptionScopeSender(req *http.Request) (future DeploymentsWhatIfAtSubscriptionScopeFuture, err error)

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

func (DeploymentsClient) WhatIfPreparer

func (client DeploymentsClient) WhatIfPreparer(ctx context.Context, resourceGroupName string, deploymentName string, parameters DeploymentWhatIf) (*http.Request, error)

WhatIfPreparer prepares the WhatIf request.

func (DeploymentsClient) WhatIfResponder

func (client DeploymentsClient) WhatIfResponder(resp *http.Response) (result WhatIfOperationResult, err error)

WhatIfResponder handles the response to the WhatIf request. The method always closes the http.Response Body.

func (DeploymentsClient) WhatIfSender

func (client DeploymentsClient) WhatIfSender(req *http.Request) (future DeploymentsWhatIfFuture, err error)

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

type DeploymentsCreateOrUpdateAtManagementGroupScopeFuture

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

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

func (*DeploymentsCreateOrUpdateAtManagementGroupScopeFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DeploymentsCreateOrUpdateAtScopeFuture

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

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

func (*DeploymentsCreateOrUpdateAtScopeFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DeploymentsCreateOrUpdateAtSubscriptionScopeFuture

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

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

func (*DeploymentsCreateOrUpdateAtSubscriptionScopeFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DeploymentsCreateOrUpdateAtTenantScopeFuture

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

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

func (*DeploymentsCreateOrUpdateAtTenantScopeFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DeploymentsCreateOrUpdateFuture

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

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

func (*DeploymentsCreateOrUpdateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DeploymentsDeleteAtManagementGroupScopeFuture

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

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

func (*DeploymentsDeleteAtManagementGroupScopeFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DeploymentsDeleteAtScopeFuture

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

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

func (*DeploymentsDeleteAtScopeFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DeploymentsDeleteAtSubscriptionScopeFuture

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

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

func (*DeploymentsDeleteAtSubscriptionScopeFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DeploymentsDeleteAtTenantScopeFuture

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

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

func (*DeploymentsDeleteAtTenantScopeFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DeploymentsDeleteFuture

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

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

func (*DeploymentsDeleteFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DeploymentsWhatIfAtSubscriptionScopeFuture

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

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

func (*DeploymentsWhatIfAtSubscriptionScopeFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DeploymentsWhatIfFuture

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

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

func (*DeploymentsWhatIfFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ErrorAdditionalInfo

ErrorAdditionalInfo the resource management error additional info.

type ErrorAdditionalInfo struct {
    // Type - READ-ONLY; The additional info type.
    Type *string `json:"type,omitempty"`
    // Info - READ-ONLY; The additional info.
    Info interface{} `json:"info,omitempty"`
}

func (ErrorAdditionalInfo) MarshalJSON

func (eai ErrorAdditionalInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ErrorAdditionalInfo.

type ErrorResponse

ErrorResponse common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.)

type ErrorResponse struct {
    // Code - READ-ONLY; The error code.
    Code *string `json:"code,omitempty"`
    // Message - READ-ONLY; The error message.
    Message *string `json:"message,omitempty"`
    // Target - READ-ONLY; The error target.
    Target *string `json:"target,omitempty"`
    // Details - READ-ONLY; The error details.
    Details *[]ErrorResponse `json:"details,omitempty"`
    // AdditionalInfo - READ-ONLY; The error additional info.
    AdditionalInfo *[]ErrorAdditionalInfo `json:"additionalInfo,omitempty"`
}

func (ErrorResponse) MarshalJSON

func (er ErrorResponse) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ErrorResponse.

type ExportTemplateRequest

ExportTemplateRequest export resource group template request parameters.

type ExportTemplateRequest struct {
    // Resources - The IDs of the resources to filter the export by. To export all resources, supply an array with single entry '*'.
    Resources *[]string `json:"resources,omitempty"`
    // Options - The export template options. A CSV-formatted list containing zero or more of the following: 'IncludeParameterDefaultValue', 'IncludeComments', 'SkipResourceNameParameterization', 'SkipAllParameterization'
    Options *string `json:"options,omitempty"`
}

type GenericResource

GenericResource resource information.

type GenericResource struct {
    autorest.Response `json:"-"`
    // Plan - The plan of the resource.
    Plan *Plan `json:"plan,omitempty"`
    // Properties - The resource properties.
    Properties interface{} `json:"properties,omitempty"`
    // Kind - The kind of the resource.
    Kind *string `json:"kind,omitempty"`
    // ManagedBy - ID of the resource that manages this resource.
    ManagedBy *string `json:"managedBy,omitempty"`
    // Sku - The SKU of the resource.
    Sku *Sku `json:"sku,omitempty"`
    // Identity - The identity of the resource.
    Identity *Identity `json:"identity,omitempty"`
    // ID - READ-ONLY; Resource ID
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (GenericResource) MarshalJSON

func (gr GenericResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GenericResource.

type GenericResourceExpanded

GenericResourceExpanded resource information.

type GenericResourceExpanded struct {
    // CreatedTime - READ-ONLY; The created time of the resource. This is only present if requested via the $expand query parameter.
    CreatedTime *date.Time `json:"createdTime,omitempty"`
    // ChangedTime - READ-ONLY; The changed time of the resource. This is only present if requested via the $expand query parameter.
    ChangedTime *date.Time `json:"changedTime,omitempty"`
    // ProvisioningState - READ-ONLY; The provisioning state of the resource. This is only present if requested via the $expand query parameter.
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // Plan - The plan of the resource.
    Plan *Plan `json:"plan,omitempty"`
    // Properties - The resource properties.
    Properties interface{} `json:"properties,omitempty"`
    // Kind - The kind of the resource.
    Kind *string `json:"kind,omitempty"`
    // ManagedBy - ID of the resource that manages this resource.
    ManagedBy *string `json:"managedBy,omitempty"`
    // Sku - The SKU of the resource.
    Sku *Sku `json:"sku,omitempty"`
    // Identity - The identity of the resource.
    Identity *Identity `json:"identity,omitempty"`
    // ID - READ-ONLY; Resource ID
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (GenericResourceExpanded) MarshalJSON

func (gre GenericResourceExpanded) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GenericResourceExpanded.

type GenericResourceFilter

GenericResourceFilter resource filter.

type GenericResourceFilter struct {
    // ResourceType - The resource type.
    ResourceType *string `json:"resourceType,omitempty"`
    // Tagname - The tag name.
    Tagname *string `json:"tagname,omitempty"`
    // Tagvalue - The tag value.
    Tagvalue *string `json:"tagvalue,omitempty"`
}

type HTTPMessage

HTTPMessage HTTP message.

type HTTPMessage struct {
    // Content - HTTP message content.
    Content interface{} `json:"content,omitempty"`
}

type Identity

Identity identity for the resource.

type Identity struct {
    // PrincipalID - READ-ONLY; The principal ID of resource identity.
    PrincipalID *string `json:"principalId,omitempty"`
    // TenantID - READ-ONLY; The tenant ID of resource.
    TenantID *string `json:"tenantId,omitempty"`
    // Type - The identity type. Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssignedUserAssigned', 'None'
    Type ResourceIdentityType `json:"type,omitempty"`
    // UserAssignedIdentities - The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    UserAssignedIdentities map[string]*IdentityUserAssignedIdentitiesValue `json:"userAssignedIdentities"`
}

func (Identity) MarshalJSON

func (i Identity) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Identity.

type IdentityUserAssignedIdentitiesValue

IdentityUserAssignedIdentitiesValue ...

type IdentityUserAssignedIdentitiesValue struct {
    // PrincipalID - READ-ONLY; The principal id of user assigned identity.
    PrincipalID *string `json:"principalId,omitempty"`
    // ClientID - READ-ONLY; The client id of user assigned identity.
    ClientID *string `json:"clientId,omitempty"`
}

func (IdentityUserAssignedIdentitiesValue) MarshalJSON

func (iAiv IdentityUserAssignedIdentitiesValue) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for IdentityUserAssignedIdentitiesValue.

type OnErrorDeployment

OnErrorDeployment deployment on error behavior.

type OnErrorDeployment struct {
    // Type - The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment. Possible values include: 'LastSuccessful', 'SpecificDeployment'
    Type OnErrorDeploymentType `json:"type,omitempty"`
    // DeploymentName - The deployment to be used on error case.
    DeploymentName *string `json:"deploymentName,omitempty"`
}

type OnErrorDeploymentExtended

OnErrorDeploymentExtended deployment on error behavior with additional details.

type OnErrorDeploymentExtended struct {
    // ProvisioningState - READ-ONLY; The state of the provisioning for the on error deployment.
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // Type - The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment. Possible values include: 'LastSuccessful', 'SpecificDeployment'
    Type OnErrorDeploymentType `json:"type,omitempty"`
    // DeploymentName - The deployment to be used on error case.
    DeploymentName *string `json:"deploymentName,omitempty"`
}

func (OnErrorDeploymentExtended) MarshalJSON

func (oede OnErrorDeploymentExtended) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OnErrorDeploymentExtended.

type OnErrorDeploymentType

OnErrorDeploymentType enumerates the values for on error deployment type.

type OnErrorDeploymentType string
const (
    // LastSuccessful ...
    LastSuccessful OnErrorDeploymentType = "LastSuccessful"
    // SpecificDeployment ...
    SpecificDeployment OnErrorDeploymentType = "SpecificDeployment"
)

func PossibleOnErrorDeploymentTypeValues

func PossibleOnErrorDeploymentTypeValues() []OnErrorDeploymentType

PossibleOnErrorDeploymentTypeValues returns an array of possible values for the OnErrorDeploymentType const type.

type Operation

Operation microsoft.Resources operation

type Operation struct {
    // Name - Operation name: {provider}/{resource}/{operation}
    Name *string `json:"name,omitempty"`
    // Display - The object that represents the operation.
    Display *OperationDisplay `json:"display,omitempty"`
}

type OperationDisplay

OperationDisplay the object that represents the operation.

type OperationDisplay struct {
    // Provider - Service provider: Microsoft.Resources
    Provider *string `json:"provider,omitempty"`
    // Resource - Resource on which the operation is performed: Profile, endpoint, etc.
    Resource *string `json:"resource,omitempty"`
    // Operation - Operation type: Read, write, delete, etc.
    Operation *string `json:"operation,omitempty"`
    // Description - Description of the operation.
    Description *string `json:"description,omitempty"`
}

type OperationListResult

OperationListResult result of the request to list Microsoft.Resources operations. It contains a list of operations and a URL link to get the next set of results.

type OperationListResult struct {
    autorest.Response `json:"-"`
    // Value - List of Microsoft.Resources operations.
    Value *[]Operation `json:"value,omitempty"`
    // NextLink - URL to get the next set of operation list results if there are any.
    NextLink *string `json:"nextLink,omitempty"`
}

func (OperationListResult) IsEmpty

func (olr OperationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OperationListResultIterator

OperationListResultIterator provides access to a complete listing of Operation values.

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

func NewOperationListResultIterator

func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator

Creates a new instance of the OperationListResultIterator type.

func (*OperationListResultIterator) Next

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

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

func (iter OperationListResultIterator) NotDone() bool

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

func (OperationListResultIterator) Response

func (iter OperationListResultIterator) Response() OperationListResult

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

func (OperationListResultIterator) Value

func (iter OperationListResultIterator) Value() Operation

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

type OperationListResultPage

OperationListResultPage contains a page of Operation values.

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

func NewOperationListResultPage

func NewOperationListResultPage(cur OperationListResult, getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage

Creates a new instance of the OperationListResultPage type.

func (*OperationListResultPage) Next

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

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

func (page OperationListResultPage) NotDone() bool

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

func (OperationListResultPage) Response

func (page OperationListResultPage) Response() OperationListResult

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

func (OperationListResultPage) Values

func (page OperationListResultPage) Values() []Operation

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

type OperationsClient

OperationsClient is the provides operations for working with resources and resource groups.

type OperationsClient struct {
    BaseClient
}

func NewOperationsClient

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient 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 (OperationsClient) List

func (client OperationsClient) List(ctx context.Context) (result OperationListResultPage, err error)

List lists all of the available Microsoft.Resources REST API operations.

func (OperationsClient) ListComplete

func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error)

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

func (OperationsClient) ListPreparer

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

ListPreparer prepares the List request.

func (OperationsClient) ListResponder

func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)

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

func (OperationsClient) ListSender

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

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

ParametersLink entity representing the reference to the deployment parameters.

type ParametersLink struct {
    // URI - The URI of the parameters file.
    URI *string `json:"uri,omitempty"`
    // ContentVersion - If included, must match the ContentVersion in the template.
    ContentVersion *string `json:"contentVersion,omitempty"`
}

type Plan

Plan plan for the resource.

type Plan struct {
    // Name - The plan ID.
    Name *string `json:"name,omitempty"`
    // Publisher - The publisher ID.
    Publisher *string `json:"publisher,omitempty"`
    // Product - The offer ID.
    Product *string `json:"product,omitempty"`
    // PromotionCode - The promotion code.
    PromotionCode *string `json:"promotionCode,omitempty"`
    // Version - The plan's version.
    Version *string `json:"version,omitempty"`
}

type PropertyChangeType

PropertyChangeType enumerates the values for property change type.

type PropertyChangeType string
const (
    // PropertyChangeTypeArray The property is an array and contains nested changes.
    PropertyChangeTypeArray PropertyChangeType = "Array"
    // PropertyChangeTypeCreate The property does not exist in the current state but is present in the desired
    // state. The property will be created when the deployment is executed.
    PropertyChangeTypeCreate PropertyChangeType = "Create"
    // PropertyChangeTypeDelete The property exists in the current state and is missing from the desired state.
    // It will be deleted when the deployment is executed.
    PropertyChangeTypeDelete PropertyChangeType = "Delete"
    // PropertyChangeTypeModify The property exists in both current and desired state and is different. The
    // value of the property will change when the deployment is executed.
    PropertyChangeTypeModify PropertyChangeType = "Modify"
)

func PossiblePropertyChangeTypeValues

func PossiblePropertyChangeTypeValues() []PropertyChangeType

PossiblePropertyChangeTypeValues returns an array of possible values for the PropertyChangeType const type.

type Provider

Provider resource provider information.

type Provider struct {
    autorest.Response `json:"-"`
    // ID - READ-ONLY; The provider ID.
    ID *string `json:"id,omitempty"`
    // Namespace - The namespace of the resource provider.
    Namespace *string `json:"namespace,omitempty"`
    // RegistrationState - READ-ONLY; The registration state of the resource provider.
    RegistrationState *string `json:"registrationState,omitempty"`
    // RegistrationPolicy - READ-ONLY; The registration policy of the resource provider.
    RegistrationPolicy *string `json:"registrationPolicy,omitempty"`
    // ResourceTypes - READ-ONLY; The collection of provider resource types.
    ResourceTypes *[]ProviderResourceType `json:"resourceTypes,omitempty"`
}

func (Provider) MarshalJSON

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

MarshalJSON is the custom marshaler for Provider.

type ProviderListResult

ProviderListResult list of resource providers.

type ProviderListResult struct {
    autorest.Response `json:"-"`
    // Value - An array of resource providers.
    Value *[]Provider `json:"value,omitempty"`
    // NextLink - READ-ONLY; The URL to use for getting the next set of results.
    NextLink *string `json:"nextLink,omitempty"`
}

func (ProviderListResult) IsEmpty

func (plr ProviderListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (ProviderListResult) MarshalJSON

func (plr ProviderListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProviderListResult.

type ProviderListResultIterator

ProviderListResultIterator provides access to a complete listing of Provider values.

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

func NewProviderListResultIterator

func NewProviderListResultIterator(page ProviderListResultPage) ProviderListResultIterator

Creates a new instance of the ProviderListResultIterator type.

func (*ProviderListResultIterator) Next

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

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

func (iter ProviderListResultIterator) NotDone() bool

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

func (ProviderListResultIterator) Response

func (iter ProviderListResultIterator) Response() ProviderListResult

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

func (ProviderListResultIterator) Value

func (iter ProviderListResultIterator) Value() Provider

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

type ProviderListResultPage

ProviderListResultPage contains a page of Provider values.

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

func NewProviderListResultPage

func NewProviderListResultPage(cur ProviderListResult, getNextPage func(context.Context, ProviderListResult) (ProviderListResult, error)) ProviderListResultPage

Creates a new instance of the ProviderListResultPage type.

func (*ProviderListResultPage) Next

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

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

func (page ProviderListResultPage) NotDone() bool

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

func (ProviderListResultPage) Response

func (page ProviderListResultPage) Response() ProviderListResult

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

func (ProviderListResultPage) Values

func (page ProviderListResultPage) Values() []Provider

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

type ProviderResourceType

ProviderResourceType resource type managed by the resource provider.

type ProviderResourceType struct {
    // ResourceType - The resource type.
    ResourceType *string `json:"resourceType,omitempty"`
    // Locations - The collection of locations where this resource type can be created.
    Locations *[]string `json:"locations,omitempty"`
    // Aliases - The aliases that are supported by this resource type.
    Aliases *[]AliasType `json:"aliases,omitempty"`
    // APIVersions - The API version.
    APIVersions *[]string `json:"apiVersions,omitempty"`
    // Capabilities - The additional capabilities offered by this resource type.
    Capabilities *string `json:"capabilities,omitempty"`
    // Properties - The properties.
    Properties map[string]*string `json:"properties"`
}

func (ProviderResourceType) MarshalJSON

func (prt ProviderResourceType) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProviderResourceType.

type ProvidersClient

ProvidersClient is the provides operations for working with resources and resource groups.

type ProvidersClient struct {
    BaseClient
}

func NewProvidersClient

func NewProvidersClient(subscriptionID string) ProvidersClient

NewProvidersClient creates an instance of the ProvidersClient client.

func NewProvidersClientWithBaseURI

func NewProvidersClientWithBaseURI(baseURI string, subscriptionID string) ProvidersClient

NewProvidersClientWithBaseURI creates an instance of the ProvidersClient 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 (ProvidersClient) Get

func (client ProvidersClient) Get(ctx context.Context, resourceProviderNamespace string, expand string) (result Provider, err error)

Get gets the specified resource provider. Parameters: resourceProviderNamespace - the namespace of the resource provider. expand - the $expand query parameter. For example, to include property aliases in response, use $expand=resourceTypes/aliases.

func (ProvidersClient) GetAtTenantScope

func (client ProvidersClient) GetAtTenantScope(ctx context.Context, resourceProviderNamespace string, expand string) (result Provider, err error)

GetAtTenantScope gets the specified resource provider at the tenant level. Parameters: resourceProviderNamespace - the namespace of the resource provider. expand - the $expand query parameter. For example, to include property aliases in response, use $expand=resourceTypes/aliases.

func (ProvidersClient) GetAtTenantScopePreparer

func (client ProvidersClient) GetAtTenantScopePreparer(ctx context.Context, resourceProviderNamespace string, expand string) (*http.Request, error)

GetAtTenantScopePreparer prepares the GetAtTenantScope request.

func (ProvidersClient) GetAtTenantScopeResponder

func (client ProvidersClient) GetAtTenantScopeResponder(resp *http.Response) (result Provider, err error)

GetAtTenantScopeResponder handles the response to the GetAtTenantScope request. The method always closes the http.Response Body.

func (ProvidersClient) GetAtTenantScopeSender

func (client ProvidersClient) GetAtTenantScopeSender(req *http.Request) (*http.Response, error)

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

func (ProvidersClient) GetPreparer

func (client ProvidersClient) GetPreparer(ctx context.Context, resourceProviderNamespace string, expand string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ProvidersClient) GetResponder

func (client ProvidersClient) GetResponder(resp *http.Response) (result Provider, err error)

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

func (ProvidersClient) GetSender

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

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

func (ProvidersClient) List

func (client ProvidersClient) List(ctx context.Context, top *int32, expand string) (result ProviderListResultPage, err error)

List gets all resource providers for a subscription. Parameters: top - the number of results to return. If null is passed returns all deployments. expand - the properties to include in the results. For example, use &$expand=metadata in the query string to retrieve resource provider metadata. To include property aliases in response, use $expand=resourceTypes/aliases.

func (ProvidersClient) ListAtTenantScope

func (client ProvidersClient) ListAtTenantScope(ctx context.Context, top *int32, expand string) (result ProviderListResultPage, err error)

ListAtTenantScope gets all resource providers for the tenant. Parameters: top - the number of results to return. If null is passed returns all providers. expand - the properties to include in the results. For example, use &$expand=metadata in the query string to retrieve resource provider metadata. To include property aliases in response, use $expand=resourceTypes/aliases.

func (ProvidersClient) ListAtTenantScopeComplete

func (client ProvidersClient) ListAtTenantScopeComplete(ctx context.Context, top *int32, expand string) (result ProviderListResultIterator, err error)

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

func (ProvidersClient) ListAtTenantScopePreparer

func (client ProvidersClient) ListAtTenantScopePreparer(ctx context.Context, top *int32, expand string) (*http.Request, error)

ListAtTenantScopePreparer prepares the ListAtTenantScope request.

func (ProvidersClient) ListAtTenantScopeResponder

func (client ProvidersClient) ListAtTenantScopeResponder(resp *http.Response) (result ProviderListResult, err error)

ListAtTenantScopeResponder handles the response to the ListAtTenantScope request. The method always closes the http.Response Body.

func (ProvidersClient) ListAtTenantScopeSender

func (client ProvidersClient) ListAtTenantScopeSender(req *http.Request) (*http.Response, error)

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

func (ProvidersClient) ListComplete

func (client ProvidersClient) ListComplete(ctx context.Context, top *int32, expand string) (result ProviderListResultIterator, err error)

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

func (ProvidersClient) ListPreparer

func (client ProvidersClient) ListPreparer(ctx context.Context, top *int32, expand string) (*http.Request, error)

ListPreparer prepares the List request.

func (ProvidersClient) ListResponder

func (client ProvidersClient) ListResponder(resp *http.Response) (result ProviderListResult, err error)

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

func (ProvidersClient) ListSender

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

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

func (ProvidersClient) Register

func (client ProvidersClient) Register(ctx context.Context, resourceProviderNamespace string) (result Provider, err error)

Register registers a subscription with a resource provider. Parameters: resourceProviderNamespace - the namespace of the resource provider to register.

func (ProvidersClient) RegisterPreparer

func (client ProvidersClient) RegisterPreparer(ctx context.Context, resourceProviderNamespace string) (*http.Request, error)

RegisterPreparer prepares the Register request.

func (ProvidersClient) RegisterResponder

func (client ProvidersClient) RegisterResponder(resp *http.Response) (result Provider, err error)

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

func (ProvidersClient) RegisterSender

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

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

func (ProvidersClient) Unregister

func (client ProvidersClient) Unregister(ctx context.Context, resourceProviderNamespace string) (result Provider, err error)

Unregister unregisters a subscription from a resource provider. Parameters: resourceProviderNamespace - the namespace of the resource provider to unregister.

func (ProvidersClient) UnregisterPreparer

func (client ProvidersClient) UnregisterPreparer(ctx context.Context, resourceProviderNamespace string) (*http.Request, error)

UnregisterPreparer prepares the Unregister request.

func (ProvidersClient) UnregisterResponder

func (client ProvidersClient) UnregisterResponder(resp *http.Response) (result Provider, err error)

UnregisterResponder handles the response to the Unregister request. The method always closes the http.Response Body.

func (ProvidersClient) UnregisterSender

func (client ProvidersClient) UnregisterSender(req *http.Request) (*http.Response, error)

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

type Resource

Resource specified resource.

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

func (Resource) MarshalJSON

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

MarshalJSON is the custom marshaler for Resource.

type ResourceGroup

ResourceGroup resource group information.

type ResourceGroup struct {
    autorest.Response `json:"-"`
    // ID - READ-ONLY; The ID of the resource group.
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the resource group.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource group.
    Type *string `json:"type,omitempty"`
    // Properties - The resource group properties.
    Properties *ResourceGroupProperties `json:"properties,omitempty"`
    // Location - The location of the resource group. It cannot be changed after the resource group has been created. It must be one of the supported Azure locations.
    Location *string `json:"location,omitempty"`
    // ManagedBy - The ID of the resource that manages this resource group.
    ManagedBy *string `json:"managedBy,omitempty"`
    // Tags - The tags attached to the resource group.
    Tags map[string]*string `json:"tags"`
}

func (ResourceGroup) MarshalJSON

func (rg ResourceGroup) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ResourceGroup.

type ResourceGroupExportResult

ResourceGroupExportResult resource group export result.

type ResourceGroupExportResult struct {
    autorest.Response `json:"-"`
    // Template - The template content.
    Template interface{} `json:"template,omitempty"`
    // Error - The template export error.
    Error *ErrorResponse `json:"error,omitempty"`
}

type ResourceGroupFilter

ResourceGroupFilter resource group filter.

type ResourceGroupFilter struct {
    // TagName - The tag name.
    TagName *string `json:"tagName,omitempty"`
    // TagValue - The tag value.
    TagValue *string `json:"tagValue,omitempty"`
}

type ResourceGroupListResult

ResourceGroupListResult list of resource groups.

type ResourceGroupListResult struct {
    autorest.Response `json:"-"`
    // Value - An array of resource groups.
    Value *[]ResourceGroup `json:"value,omitempty"`
    // NextLink - READ-ONLY; The URL to use for getting the next set of results.
    NextLink *string `json:"nextLink,omitempty"`
}

func (ResourceGroupListResult) IsEmpty

func (rglr ResourceGroupListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (ResourceGroupListResult) MarshalJSON

func (rglr ResourceGroupListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ResourceGroupListResult.

type ResourceGroupListResultIterator

ResourceGroupListResultIterator provides access to a complete listing of ResourceGroup values.

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

func NewResourceGroupListResultIterator

func NewResourceGroupListResultIterator(page ResourceGroupListResultPage) ResourceGroupListResultIterator

Creates a new instance of the ResourceGroupListResultIterator type.

func (*ResourceGroupListResultIterator) Next

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

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

func (iter ResourceGroupListResultIterator) NotDone() bool

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

func (ResourceGroupListResultIterator) Response

func (iter ResourceGroupListResultIterator) Response() ResourceGroupListResult

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

func (ResourceGroupListResultIterator) Value

func (iter ResourceGroupListResultIterator) Value() ResourceGroup

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

type ResourceGroupListResultPage

ResourceGroupListResultPage contains a page of ResourceGroup values.

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

func NewResourceGroupListResultPage

func NewResourceGroupListResultPage(cur ResourceGroupListResult, getNextPage func(context.Context, ResourceGroupListResult) (ResourceGroupListResult, error)) ResourceGroupListResultPage

Creates a new instance of the ResourceGroupListResultPage type.

func (*ResourceGroupListResultPage) Next

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

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

func (page ResourceGroupListResultPage) NotDone() bool

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

func (ResourceGroupListResultPage) Response

func (page ResourceGroupListResultPage) Response() ResourceGroupListResult

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

func (ResourceGroupListResultPage) Values

func (page ResourceGroupListResultPage) Values() []ResourceGroup

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

type ResourceGroupPatchable

ResourceGroupPatchable resource group information.

type ResourceGroupPatchable struct {
    // Name - The name of the resource group.
    Name *string `json:"name,omitempty"`
    // Properties - The resource group properties.
    Properties *ResourceGroupProperties `json:"properties,omitempty"`
    // ManagedBy - The ID of the resource that manages this resource group.
    ManagedBy *string `json:"managedBy,omitempty"`
    // Tags - The tags attached to the resource group.
    Tags map[string]*string `json:"tags"`
}

func (ResourceGroupPatchable) MarshalJSON

func (rgp ResourceGroupPatchable) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ResourceGroupPatchable.

type ResourceGroupProperties

ResourceGroupProperties the resource group properties.

type ResourceGroupProperties struct {
    // ProvisioningState - READ-ONLY; The provisioning state.
    ProvisioningState *string `json:"provisioningState,omitempty"`
}

func (ResourceGroupProperties) MarshalJSON

func (rgp ResourceGroupProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ResourceGroupProperties.

type ResourceGroupsClient

ResourceGroupsClient is the provides operations for working with resources and resource groups.

type ResourceGroupsClient struct {
    BaseClient
}

func NewResourceGroupsClient

func NewResourceGroupsClient(subscriptionID string) ResourceGroupsClient

NewResourceGroupsClient creates an instance of the ResourceGroupsClient client.

func NewResourceGroupsClientWithBaseURI

func NewResourceGroupsClientWithBaseURI(baseURI string, subscriptionID string) ResourceGroupsClient

NewResourceGroupsClientWithBaseURI creates an instance of the ResourceGroupsClient 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 (ResourceGroupsClient) CheckExistence

func (client ResourceGroupsClient) CheckExistence(ctx context.Context, resourceGroupName string) (result autorest.Response, err error)

CheckExistence checks whether a resource group exists. Parameters: resourceGroupName - the name of the resource group to check. The name is case insensitive.

func (ResourceGroupsClient) CheckExistencePreparer

func (client ResourceGroupsClient) CheckExistencePreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

CheckExistencePreparer prepares the CheckExistence request.

func (ResourceGroupsClient) CheckExistenceResponder

func (client ResourceGroupsClient) CheckExistenceResponder(resp *http.Response) (result autorest.Response, err error)

CheckExistenceResponder handles the response to the CheckExistence request. The method always closes the http.Response Body.

func (ResourceGroupsClient) CheckExistenceSender

func (client ResourceGroupsClient) CheckExistenceSender(req *http.Request) (*http.Response, error)

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

func (ResourceGroupsClient) CreateOrUpdate

func (client ResourceGroupsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, parameters ResourceGroup) (result ResourceGroup, err error)

CreateOrUpdate creates or updates a resource group. Parameters: resourceGroupName - the name of the resource group to create or update. Can include alphanumeric, underscore, parentheses, hyphen, period (except at end), and Unicode characters that match the allowed characters. parameters - parameters supplied to the create or update a resource group.

func (ResourceGroupsClient) CreateOrUpdatePreparer

func (client ResourceGroupsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, parameters ResourceGroup) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ResourceGroupsClient) CreateOrUpdateResponder

func (client ResourceGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result ResourceGroup, err error)

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

func (ResourceGroupsClient) CreateOrUpdateSender

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

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

func (ResourceGroupsClient) Delete

func (client ResourceGroupsClient) Delete(ctx context.Context, resourceGroupName string) (result ResourceGroupsDeleteFuture, err error)

Delete when you delete a resource group, all of its resources are also deleted. Deleting a resource group deletes all of its template deployments and currently stored operations. Parameters: resourceGroupName - the name of the resource group to delete. The name is case insensitive.

func (ResourceGroupsClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (ResourceGroupsClient) DeleteResponder

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

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

func (ResourceGroupsClient) DeleteSender

func (client ResourceGroupsClient) DeleteSender(req *http.Request) (future ResourceGroupsDeleteFuture, err error)

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

func (ResourceGroupsClient) ExportTemplate

func (client ResourceGroupsClient) ExportTemplate(ctx context.Context, resourceGroupName string, parameters ExportTemplateRequest) (result ResourceGroupExportResult, err error)

ExportTemplate captures the specified resource group as a template. Parameters: resourceGroupName - the name of the resource group to export as a template. parameters - parameters for exporting the template.

func (ResourceGroupsClient) ExportTemplatePreparer

func (client ResourceGroupsClient) ExportTemplatePreparer(ctx context.Context, resourceGroupName string, parameters ExportTemplateRequest) (*http.Request, error)

ExportTemplatePreparer prepares the ExportTemplate request.

func (ResourceGroupsClient) ExportTemplateResponder

func (client ResourceGroupsClient) ExportTemplateResponder(resp *http.Response) (result ResourceGroupExportResult, err error)

ExportTemplateResponder handles the response to the ExportTemplate request. The method always closes the http.Response Body.

func (ResourceGroupsClient) ExportTemplateSender

func (client ResourceGroupsClient) ExportTemplateSender(req *http.Request) (*http.Response, error)

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

func (ResourceGroupsClient) Get

func (client ResourceGroupsClient) Get(ctx context.Context, resourceGroupName string) (result ResourceGroup, err error)

Get gets a resource group. Parameters: resourceGroupName - the name of the resource group to get. The name is case insensitive.

func (ResourceGroupsClient) GetPreparer

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

GetPreparer prepares the Get request.

func (ResourceGroupsClient) GetResponder

func (client ResourceGroupsClient) GetResponder(resp *http.Response) (result ResourceGroup, err error)

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

func (ResourceGroupsClient) GetSender

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

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

func (ResourceGroupsClient) List

func (client ResourceGroupsClient) List(ctx context.Context, filter string, top *int32) (result ResourceGroupListResultPage, err error)

List gets all the resource groups for a subscription. Parameters: filter - the filter to apply on the operation.<br><br>You can filter by tag names and values. For example, to filter for a tag name and value, use $filter=tagName eq 'tag1' and tagValue eq 'Value1' top - the number of results to return. If null is passed, returns all resource groups.

func (ResourceGroupsClient) ListComplete

func (client ResourceGroupsClient) ListComplete(ctx context.Context, filter string, top *int32) (result ResourceGroupListResultIterator, err error)

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

func (ResourceGroupsClient) ListPreparer

func (client ResourceGroupsClient) ListPreparer(ctx context.Context, filter string, top *int32) (*http.Request, error)

ListPreparer prepares the List request.

func (ResourceGroupsClient) ListResponder

func (client ResourceGroupsClient) ListResponder(resp *http.Response) (result ResourceGroupListResult, err error)

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

func (ResourceGroupsClient) ListSender

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

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

func (ResourceGroupsClient) Update

func (client ResourceGroupsClient) Update(ctx context.Context, resourceGroupName string, parameters ResourceGroupPatchable) (result ResourceGroup, err error)

Update resource groups can be updated through a simple PATCH operation to a group address. The format of the request is the same as that for creating a resource group. If a field is unspecified, the current value is retained. Parameters: resourceGroupName - the name of the resource group to update. The name is case insensitive. parameters - parameters supplied to update a resource group.

func (ResourceGroupsClient) UpdatePreparer

func (client ResourceGroupsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, parameters ResourceGroupPatchable) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ResourceGroupsClient) UpdateResponder

func (client ResourceGroupsClient) UpdateResponder(resp *http.Response) (result ResourceGroup, err error)

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

func (ResourceGroupsClient) UpdateSender

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

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

type ResourceGroupsDeleteFuture

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

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

func (*ResourceGroupsDeleteFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ResourceIdentityType

ResourceIdentityType enumerates the values for resource identity type.

type ResourceIdentityType string
const (
    // None ...
    None ResourceIdentityType = "None"
    // SystemAssigned ...
    SystemAssigned ResourceIdentityType = "SystemAssigned"
    // SystemAssignedUserAssigned ...
    SystemAssignedUserAssigned ResourceIdentityType = "SystemAssigned, UserAssigned"
    // UserAssigned ...
    UserAssigned ResourceIdentityType = "UserAssigned"
)

func PossibleResourceIdentityTypeValues

func PossibleResourceIdentityTypeValues() []ResourceIdentityType

PossibleResourceIdentityTypeValues returns an array of possible values for the ResourceIdentityType const type.

type ResourceListResult

ResourceListResult list of resource groups.

type ResourceListResult struct {
    autorest.Response `json:"-"`
    // Value - An array of resources.
    Value *[]GenericResourceExpanded `json:"value,omitempty"`
    // NextLink - READ-ONLY; The URL to use for getting the next set of results.
    NextLink *string `json:"nextLink,omitempty"`
}

func (ResourceListResult) IsEmpty

func (rlr ResourceListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (ResourceListResult) MarshalJSON

func (rlr ResourceListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ResourceListResult.

type ResourceListResultIterator

ResourceListResultIterator provides access to a complete listing of GenericResourceExpanded values.

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

func NewResourceListResultIterator

func NewResourceListResultIterator(page ResourceListResultPage) ResourceListResultIterator

Creates a new instance of the ResourceListResultIterator type.

func (*ResourceListResultIterator) Next

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

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

func (iter ResourceListResultIterator) NotDone() bool

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

func (ResourceListResultIterator) Response

func (iter ResourceListResultIterator) Response() ResourceListResult

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

func (ResourceListResultIterator) Value

func (iter ResourceListResultIterator) Value() GenericResourceExpanded

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

type ResourceListResultPage

ResourceListResultPage contains a page of GenericResourceExpanded values.

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

func NewResourceListResultPage

func NewResourceListResultPage(cur ResourceListResult, getNextPage func(context.Context, ResourceListResult) (ResourceListResult, error)) ResourceListResultPage

Creates a new instance of the ResourceListResultPage type.

func (*ResourceListResultPage) Next

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

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

func (page ResourceListResultPage) NotDone() bool

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

func (ResourceListResultPage) Response

func (page ResourceListResultPage) Response() ResourceListResult

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

func (ResourceListResultPage) Values

func (page ResourceListResultPage) Values() []GenericResourceExpanded

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

type ResourceProviderOperationDisplayProperties

ResourceProviderOperationDisplayProperties resource provider operation's display properties.

type ResourceProviderOperationDisplayProperties struct {
    // Publisher - Operation description.
    Publisher *string `json:"publisher,omitempty"`
    // Provider - Operation provider.
    Provider *string `json:"provider,omitempty"`
    // Resource - Operation resource.
    Resource *string `json:"resource,omitempty"`
    // Operation - Resource provider operation.
    Operation *string `json:"operation,omitempty"`
    // Description - Operation description.
    Description *string `json:"description,omitempty"`
}

type ResourcesClient

ResourcesClient is the provides operations for working with resources and resource groups.

type ResourcesClient struct {
    BaseClient
}

func NewResourcesClient

func NewResourcesClient(subscriptionID string) ResourcesClient

NewResourcesClient creates an instance of the ResourcesClient client.

func NewResourcesClientWithBaseURI

func NewResourcesClientWithBaseURI(baseURI string, subscriptionID string) ResourcesClient

NewResourcesClientWithBaseURI creates an instance of the ResourcesClient 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 (ResourcesClient) CheckExistence

func (client ResourcesClient) CheckExistence(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, APIVersion string) (result autorest.Response, err error)

CheckExistence checks whether a resource exists. Parameters: resourceGroupName - the name of the resource group containing the resource to check. The name is case insensitive. resourceProviderNamespace - the resource provider of the resource to check. parentResourcePath - the parent resource identity. resourceType - the resource type. resourceName - the name of the resource to check whether it exists. APIVersion - the API version to use for the operation.

func (ResourcesClient) CheckExistenceByID

func (client ResourcesClient) CheckExistenceByID(ctx context.Context, resourceID string, APIVersion string) (result autorest.Response, err error)

CheckExistenceByID checks by ID whether a resource exists. Parameters: resourceID - the fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name} APIVersion - the API version to use for the operation.

func (ResourcesClient) CheckExistenceByIDPreparer

func (client ResourcesClient) CheckExistenceByIDPreparer(ctx context.Context, resourceID string, APIVersion string) (*http.Request, error)

CheckExistenceByIDPreparer prepares the CheckExistenceByID request.

func (ResourcesClient) CheckExistenceByIDResponder

func (client ResourcesClient) CheckExistenceByIDResponder(resp *http.Response) (result autorest.Response, err error)

CheckExistenceByIDResponder handles the response to the CheckExistenceByID request. The method always closes the http.Response Body.

func (ResourcesClient) CheckExistenceByIDSender

func (client ResourcesClient) CheckExistenceByIDSender(req *http.Request) (*http.Response, error)

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

func (ResourcesClient) CheckExistencePreparer

func (client ResourcesClient) CheckExistencePreparer(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, APIVersion string) (*http.Request, error)

CheckExistencePreparer prepares the CheckExistence request.

func (ResourcesClient) CheckExistenceResponder

func (client ResourcesClient) CheckExistenceResponder(resp *http.Response) (result autorest.Response, err error)

CheckExistenceResponder handles the response to the CheckExistence request. The method always closes the http.Response Body.

func (ResourcesClient) CheckExistenceSender

func (client ResourcesClient) CheckExistenceSender(req *http.Request) (*http.Response, error)

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

func (ResourcesClient) CreateOrUpdate

func (client ResourcesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, APIVersion string, parameters GenericResource) (result ResourcesCreateOrUpdateFuture, err error)

CreateOrUpdate creates a resource. Parameters: resourceGroupName - the name of the resource group for the resource. The name is case insensitive. resourceProviderNamespace - the namespace of the resource provider. parentResourcePath - the parent resource identity. resourceType - the resource type of the resource to create. resourceName - the name of the resource to create. APIVersion - the API version to use for the operation. parameters - parameters for creating or updating the resource.

func (ResourcesClient) CreateOrUpdateByID

func (client ResourcesClient) CreateOrUpdateByID(ctx context.Context, resourceID string, APIVersion string, parameters GenericResource) (result ResourcesCreateOrUpdateByIDFuture, err error)

CreateOrUpdateByID create a resource by ID. Parameters: resourceID - the fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name} APIVersion - the API version to use for the operation. parameters - create or update resource parameters.

func (ResourcesClient) CreateOrUpdateByIDPreparer

func (client ResourcesClient) CreateOrUpdateByIDPreparer(ctx context.Context, resourceID string, APIVersion string, parameters GenericResource) (*http.Request, error)

CreateOrUpdateByIDPreparer prepares the CreateOrUpdateByID request.

func (ResourcesClient) CreateOrUpdateByIDResponder

func (client ResourcesClient) CreateOrUpdateByIDResponder(resp *http.Response) (result GenericResource, err error)

CreateOrUpdateByIDResponder handles the response to the CreateOrUpdateByID request. The method always closes the http.Response Body.

func (ResourcesClient) CreateOrUpdateByIDSender

func (client ResourcesClient) CreateOrUpdateByIDSender(req *http.Request) (future ResourcesCreateOrUpdateByIDFuture, err error)

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

func (ResourcesClient) CreateOrUpdatePreparer

func (client ResourcesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, APIVersion string, parameters GenericResource) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ResourcesClient) CreateOrUpdateResponder

func (client ResourcesClient) CreateOrUpdateResponder(resp *http.Response) (result GenericResource, err error)

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

func (ResourcesClient) CreateOrUpdateSender

func (client ResourcesClient) CreateOrUpdateSender(req *http.Request) (future ResourcesCreateOrUpdateFuture, err error)

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

func (ResourcesClient) Delete

func (client ResourcesClient) Delete(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, APIVersion string) (result ResourcesDeleteFuture, err error)

Delete deletes a resource. Parameters: resourceGroupName - the name of the resource group that contains the resource to delete. The name is case insensitive. resourceProviderNamespace - the namespace of the resource provider. parentResourcePath - the parent resource identity. resourceType - the resource type. resourceName - the name of the resource to delete. APIVersion - the API version to use for the operation.

func (ResourcesClient) DeleteByID

func (client ResourcesClient) DeleteByID(ctx context.Context, resourceID string, APIVersion string) (result ResourcesDeleteByIDFuture, err error)

DeleteByID deletes a resource by ID. Parameters: resourceID - the fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name} APIVersion - the API version to use for the operation.

func (ResourcesClient) DeleteByIDPreparer

func (client ResourcesClient) DeleteByIDPreparer(ctx context.Context, resourceID string, APIVersion string) (*http.Request, error)

DeleteByIDPreparer prepares the DeleteByID request.

func (ResourcesClient) DeleteByIDResponder

func (client ResourcesClient) DeleteByIDResponder(resp *http.Response) (result autorest.Response, err error)

DeleteByIDResponder handles the response to the DeleteByID request. The method always closes the http.Response Body.

func (ResourcesClient) DeleteByIDSender

func (client ResourcesClient) DeleteByIDSender(req *http.Request) (future ResourcesDeleteByIDFuture, err error)

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

func (ResourcesClient) DeletePreparer

func (client ResourcesClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, APIVersion string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ResourcesClient) DeleteResponder

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

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

func (ResourcesClient) DeleteSender

func (client ResourcesClient) DeleteSender(req *http.Request) (future ResourcesDeleteFuture, err error)

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

func (ResourcesClient) Get

func (client ResourcesClient) Get(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, APIVersion string) (result GenericResource, err error)

Get gets a resource. Parameters: resourceGroupName - the name of the resource group containing the resource to get. The name is case insensitive. resourceProviderNamespace - the namespace of the resource provider. parentResourcePath - the parent resource identity. resourceType - the resource type of the resource. resourceName - the name of the resource to get. APIVersion - the API version to use for the operation.

func (ResourcesClient) GetByID

func (client ResourcesClient) GetByID(ctx context.Context, resourceID string, APIVersion string) (result GenericResource, err error)

GetByID gets a resource by ID. Parameters: resourceID - the fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name} APIVersion - the API version to use for the operation.

func (ResourcesClient) GetByIDPreparer

func (client ResourcesClient) GetByIDPreparer(ctx context.Context, resourceID string, APIVersion string) (*http.Request, error)

GetByIDPreparer prepares the GetByID request.

func (ResourcesClient) GetByIDResponder

func (client ResourcesClient) GetByIDResponder(resp *http.Response) (result GenericResource, err error)

GetByIDResponder handles the response to the GetByID request. The method always closes the http.Response Body.

func (ResourcesClient) GetByIDSender

func (client ResourcesClient) GetByIDSender(req *http.Request) (*http.Response, error)

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

func (ResourcesClient) GetPreparer

func (client ResourcesClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, APIVersion string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ResourcesClient) GetResponder

func (client ResourcesClient) GetResponder(resp *http.Response) (result GenericResource, err error)

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

func (ResourcesClient) GetSender

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

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

func (ResourcesClient) List

func (client ResourcesClient) List(ctx context.Context, filter string, expand string, top *int32) (result ResourceListResultPage, err error)

List get all the resources in a subscription. Parameters: filter - the filter to apply on the operation.<br><br>The properties you can use for eq (equals) or ne (not equals) are: location, resourceType, name, resourceGroup, identity, identity/principalId, plan, plan/publisher, plan/product, plan/name, plan/version, and plan/promotionCode.<br><br>For example, to filter by a resource type, use: $filter=resourceType eq 'Microsoft.Network/virtualNetworks'<br><br>You can use substringof(value, property) in the filter. The properties you can use for substring are: name and resourceGroup.<br><br>For example, to get all resources with 'demo' anywhere in the name, use: $filter=substringof('demo', name)<br><br>You can link more than one substringof together by adding and/or operators.<br><br>You can filter by tag names and values. For example, to filter for a tag name and value, use $filter=tagName eq 'tag1' and tagValue eq 'Value1'<br><br>You can use some properties together when filtering. The combinations you can use are: substringof and/or resourceType, plan and plan/publisher and plan/name, identity and identity/principalId. expand - comma-separated list of additional properties to be included in the response. Valid values include `createdTime`, `changedTime` and `provisioningState`. For example, `$expand=createdTime,changedTime`. top - the number of results to return. If null is passed, returns all resource groups.

func (ResourcesClient) ListByResourceGroup

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

ListByResourceGroup get all the resources for a resource group. Parameters: resourceGroupName - the resource group with the resources to get. filter - the filter to apply on the operation.<br><br>The properties you can use for eq (equals) or ne (not equals) are: location, resourceType, name, resourceGroup, identity, identity/principalId, plan, plan/publisher, plan/product, plan/name, plan/version, and plan/promotionCode.<br><br>For example, to filter by a resource type, use: $filter=resourceType eq 'Microsoft.Network/virtualNetworks'<br><br>You can use substringof(value, property) in the filter. The properties you can use for substring are: name and resourceGroup.<br><br>For example, to get all resources with 'demo' anywhere in the name, use: $filter=substringof('demo', name)<br><br>You can link more than one substringof together by adding and/or operators.<br><br>You can filter by tag names and values. For example, to filter for a tag name and value, use $filter=tagName eq 'tag1' and tagValue eq 'Value1'<br><br>You can use some properties together when filtering. The combinations you can use are: substringof and/or resourceType, plan and plan/publisher and plan/name, identity and identity/principalId. expand - comma-separated list of additional properties to be included in the response. Valid values include `createdTime`, `changedTime` and `provisioningState`. For example, `$expand=createdTime,changedTime`. top - the number of results to return. If null is passed, returns all resources.

func (ResourcesClient) ListByResourceGroupComplete

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

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

func (ResourcesClient) ListByResourceGroupPreparer

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (ResourcesClient) ListByResourceGroupResponder

func (client ResourcesClient) ListByResourceGroupResponder(resp *http.Response) (result ResourceListResult, err error)

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

func (ResourcesClient) ListByResourceGroupSender

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

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

func (ResourcesClient) ListComplete

func (client ResourcesClient) ListComplete(ctx context.Context, filter string, expand string, top *int32) (result ResourceListResultIterator, err error)

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

func (ResourcesClient) ListPreparer

func (client ResourcesClient) ListPreparer(ctx context.Context, filter string, expand string, top *int32) (*http.Request, error)

ListPreparer prepares the List request.

func (ResourcesClient) ListResponder

func (client ResourcesClient) ListResponder(resp *http.Response) (result ResourceListResult, err error)

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

func (ResourcesClient) ListSender

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

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

func (ResourcesClient) MoveResources

func (client ResourcesClient) MoveResources(ctx context.Context, sourceResourceGroupName string, parameters ResourcesMoveInfo) (result ResourcesMoveResourcesFuture, err error)

MoveResources the resources to move must be in the same source resource group. The target resource group may be in a different subscription. When moving resources, both the source group and the target group are locked for the duration of the operation. Write and delete operations are blocked on the groups until the move completes. Parameters: sourceResourceGroupName - the name of the resource group containing the resources to move. parameters - parameters for moving resources.

func (ResourcesClient) MoveResourcesPreparer

func (client ResourcesClient) MoveResourcesPreparer(ctx context.Context, sourceResourceGroupName string, parameters ResourcesMoveInfo) (*http.Request, error)

MoveResourcesPreparer prepares the MoveResources request.

func (ResourcesClient) MoveResourcesResponder

func (client ResourcesClient) MoveResourcesResponder(resp *http.Response) (result autorest.Response, err error)

MoveResourcesResponder handles the response to the MoveResources request. The method always closes the http.Response Body.

func (ResourcesClient) MoveResourcesSender

func (client ResourcesClient) MoveResourcesSender(req *http.Request) (future ResourcesMoveResourcesFuture, err error)

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

func (ResourcesClient) Update

func (client ResourcesClient) Update(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, APIVersion string, parameters GenericResource) (result ResourcesUpdateFuture, err error)

Update updates a resource. Parameters: resourceGroupName - the name of the resource group for the resource. The name is case insensitive. resourceProviderNamespace - the namespace of the resource provider. parentResourcePath - the parent resource identity. resourceType - the resource type of the resource to update. resourceName - the name of the resource to update. APIVersion - the API version to use for the operation. parameters - parameters for updating the resource.

func (ResourcesClient) UpdateByID

func (client ResourcesClient) UpdateByID(ctx context.Context, resourceID string, APIVersion string, parameters GenericResource) (result ResourcesUpdateByIDFuture, err error)

UpdateByID updates a resource by ID. Parameters: resourceID - the fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name} APIVersion - the API version to use for the operation. parameters - update resource parameters.

func (ResourcesClient) UpdateByIDPreparer

func (client ResourcesClient) UpdateByIDPreparer(ctx context.Context, resourceID string, APIVersion string, parameters GenericResource) (*http.Request, error)

UpdateByIDPreparer prepares the UpdateByID request.

func (ResourcesClient) UpdateByIDResponder

func (client ResourcesClient) UpdateByIDResponder(resp *http.Response) (result GenericResource, err error)

UpdateByIDResponder handles the response to the UpdateByID request. The method always closes the http.Response Body.

func (ResourcesClient) UpdateByIDSender

func (client ResourcesClient) UpdateByIDSender(req *http.Request) (future ResourcesUpdateByIDFuture, err error)

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

func (ResourcesClient) UpdatePreparer

func (client ResourcesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, APIVersion string, parameters GenericResource) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ResourcesClient) UpdateResponder

func (client ResourcesClient) UpdateResponder(resp *http.Response) (result GenericResource, err error)

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

func (ResourcesClient) UpdateSender

func (client ResourcesClient) UpdateSender(req *http.Request) (future ResourcesUpdateFuture, err error)

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

func (ResourcesClient) ValidateMoveResources

func (client ResourcesClient) ValidateMoveResources(ctx context.Context, sourceResourceGroupName string, parameters ResourcesMoveInfo) (result ResourcesValidateMoveResourcesFuture, err error)

ValidateMoveResources this operation checks whether the specified resources can be moved to the target. The resources to move must be in the same source resource group. The target resource group may be in a different subscription. If validation succeeds, it returns HTTP response code 204 (no content). If validation fails, it returns HTTP response code 409 (Conflict) with an error message. Retrieve the URL in the Location header value to check the result of the long-running operation. Parameters: sourceResourceGroupName - the name of the resource group containing the resources to validate for move. parameters - parameters for moving resources.

func (ResourcesClient) ValidateMoveResourcesPreparer

func (client ResourcesClient) ValidateMoveResourcesPreparer(ctx context.Context, sourceResourceGroupName string, parameters ResourcesMoveInfo) (*http.Request, error)

ValidateMoveResourcesPreparer prepares the ValidateMoveResources request.

func (ResourcesClient) ValidateMoveResourcesResponder

func (client ResourcesClient) ValidateMoveResourcesResponder(resp *http.Response) (result autorest.Response, err error)

ValidateMoveResourcesResponder handles the response to the ValidateMoveResources request. The method always closes the http.Response Body.

func (ResourcesClient) ValidateMoveResourcesSender

func (client ResourcesClient) ValidateMoveResourcesSender(req *http.Request) (future ResourcesValidateMoveResourcesFuture, err error)

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

type ResourcesCreateOrUpdateByIDFuture

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

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

func (*ResourcesCreateOrUpdateByIDFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ResourcesCreateOrUpdateFuture

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

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

func (*ResourcesCreateOrUpdateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ResourcesDeleteByIDFuture

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

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

func (*ResourcesDeleteByIDFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ResourcesDeleteFuture

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

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

func (*ResourcesDeleteFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ResourcesMoveInfo

ResourcesMoveInfo parameters of move resources.

type ResourcesMoveInfo struct {
    // Resources - The IDs of the resources.
    Resources *[]string `json:"resources,omitempty"`
    // TargetResourceGroup - The target resource group.
    TargetResourceGroup *string `json:"targetResourceGroup,omitempty"`
}

type ResourcesMoveResourcesFuture

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

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

func (*ResourcesMoveResourcesFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ResourcesUpdateByIDFuture

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

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

func (*ResourcesUpdateByIDFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ResourcesUpdateFuture

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

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

func (*ResourcesUpdateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ResourcesValidateMoveResourcesFuture

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

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

func (*ResourcesValidateMoveResourcesFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type Sku

Sku SKU for the resource.

type Sku struct {
    // Name - The SKU name.
    Name *string `json:"name,omitempty"`
    // Tier - The SKU tier.
    Tier *string `json:"tier,omitempty"`
    // Size - The SKU size.
    Size *string `json:"size,omitempty"`
    // Family - The SKU family.
    Family *string `json:"family,omitempty"`
    // Model - The SKU model.
    Model *string `json:"model,omitempty"`
    // Capacity - The SKU capacity.
    Capacity *int32 `json:"capacity,omitempty"`
}

type SubResource

SubResource sub-resource.

type SubResource struct {
    // ID - Resource ID
    ID *string `json:"id,omitempty"`
}

type TagCount

TagCount tag count.

type TagCount struct {
    // Type - Type of count.
    Type *string `json:"type,omitempty"`
    // Value - Value of count.
    Value *int32 `json:"value,omitempty"`
}

type TagDetails

TagDetails tag details.

type TagDetails struct {
    autorest.Response `json:"-"`
    // ID - READ-ONLY; The tag ID.
    ID *string `json:"id,omitempty"`
    // TagName - The tag name.
    TagName *string `json:"tagName,omitempty"`
    // Count - The total number of resources that use the resource tag. When a tag is initially created and has no associated resources, the value is 0.
    Count *TagCount `json:"count,omitempty"`
    // Values - The list of tag values.
    Values *[]TagValue `json:"values,omitempty"`
}

func (TagDetails) MarshalJSON

func (td TagDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TagDetails.

type TagValue

TagValue tag information.

type TagValue struct {
    autorest.Response `json:"-"`
    // ID - READ-ONLY; The tag ID.
    ID *string `json:"id,omitempty"`
    // TagValue - The tag value.
    TagValue *string `json:"tagValue,omitempty"`
    // Count - The tag value count.
    Count *TagCount `json:"count,omitempty"`
}

func (TagValue) MarshalJSON

func (tv TagValue) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TagValue.

type TagsClient

TagsClient is the provides operations for working with resources and resource groups.

type TagsClient struct {
    BaseClient
}

func NewTagsClient

func NewTagsClient(subscriptionID string) TagsClient

NewTagsClient creates an instance of the TagsClient client.

func NewTagsClientWithBaseURI

func NewTagsClientWithBaseURI(baseURI string, subscriptionID string) TagsClient

NewTagsClientWithBaseURI creates an instance of the TagsClient 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 (TagsClient) CreateOrUpdate

func (client TagsClient) CreateOrUpdate(ctx context.Context, tagName string) (result TagDetails, err error)

CreateOrUpdate the tag name can have a maximum of 512 characters and is case insensitive. Tag names created by Azure have prefixes of microsoft, azure, or windows. You cannot create tags with one of these prefixes. Parameters: tagName - the name of the tag to create.

func (TagsClient) CreateOrUpdatePreparer

func (client TagsClient) CreateOrUpdatePreparer(ctx context.Context, tagName string) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (TagsClient) CreateOrUpdateResponder

func (client TagsClient) CreateOrUpdateResponder(resp *http.Response) (result TagDetails, err error)

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

func (TagsClient) CreateOrUpdateSender

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

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

func (TagsClient) CreateOrUpdateValue

func (client TagsClient) CreateOrUpdateValue(ctx context.Context, tagName string, tagValue string) (result TagValue, err error)

CreateOrUpdateValue creates a tag value. The name of the tag must already exist. Parameters: tagName - the name of the tag. tagValue - the value of the tag to create.

func (TagsClient) CreateOrUpdateValuePreparer

func (client TagsClient) CreateOrUpdateValuePreparer(ctx context.Context, tagName string, tagValue string) (*http.Request, error)

CreateOrUpdateValuePreparer prepares the CreateOrUpdateValue request.

func (TagsClient) CreateOrUpdateValueResponder

func (client TagsClient) CreateOrUpdateValueResponder(resp *http.Response) (result TagValue, err error)

CreateOrUpdateValueResponder handles the response to the CreateOrUpdateValue request. The method always closes the http.Response Body.

func (TagsClient) CreateOrUpdateValueSender

func (client TagsClient) CreateOrUpdateValueSender(req *http.Request) (*http.Response, error)

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

func (TagsClient) Delete

func (client TagsClient) Delete(ctx context.Context, tagName string) (result autorest.Response, err error)

Delete you must remove all values from a resource tag before you can delete it. Parameters: tagName - the name of the tag.

func (TagsClient) DeletePreparer

func (client TagsClient) DeletePreparer(ctx context.Context, tagName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (TagsClient) DeleteResponder

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

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

func (TagsClient) DeleteSender

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

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

func (TagsClient) DeleteValue

func (client TagsClient) DeleteValue(ctx context.Context, tagName string, tagValue string) (result autorest.Response, err error)

DeleteValue deletes a tag value. Parameters: tagName - the name of the tag. tagValue - the value of the tag to delete.

func (TagsClient) DeleteValuePreparer

func (client TagsClient) DeleteValuePreparer(ctx context.Context, tagName string, tagValue string) (*http.Request, error)

DeleteValuePreparer prepares the DeleteValue request.

func (TagsClient) DeleteValueResponder

func (client TagsClient) DeleteValueResponder(resp *http.Response) (result autorest.Response, err error)

DeleteValueResponder handles the response to the DeleteValue request. The method always closes the http.Response Body.

func (TagsClient) DeleteValueSender

func (client TagsClient) DeleteValueSender(req *http.Request) (*http.Response, error)

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

func (TagsClient) List

func (client TagsClient) List(ctx context.Context) (result TagsListResultPage, err error)

List gets the names and values of all resource tags that are defined in a subscription.

func (TagsClient) ListComplete

func (client TagsClient) ListComplete(ctx context.Context) (result TagsListResultIterator, err error)

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

func (TagsClient) ListPreparer

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

ListPreparer prepares the List request.

func (TagsClient) ListResponder

func (client TagsClient) ListResponder(resp *http.Response) (result TagsListResult, err error)

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

func (TagsClient) ListSender

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

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

type TagsListResult

TagsListResult list of subscription tags.

type TagsListResult struct {
    autorest.Response `json:"-"`
    // Value - An array of tags.
    Value *[]TagDetails `json:"value,omitempty"`
    // NextLink - READ-ONLY; The URL to use for getting the next set of results.
    NextLink *string `json:"nextLink,omitempty"`
}

func (TagsListResult) IsEmpty

func (tlr TagsListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (TagsListResult) MarshalJSON

func (tlr TagsListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TagsListResult.

type TagsListResultIterator

TagsListResultIterator provides access to a complete listing of TagDetails values.

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

func NewTagsListResultIterator

func NewTagsListResultIterator(page TagsListResultPage) TagsListResultIterator

Creates a new instance of the TagsListResultIterator type.

func (*TagsListResultIterator) Next

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

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

func (iter TagsListResultIterator) NotDone() bool

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

func (TagsListResultIterator) Response

func (iter TagsListResultIterator) Response() TagsListResult

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

func (TagsListResultIterator) Value

func (iter TagsListResultIterator) Value() TagDetails

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

type TagsListResultPage

TagsListResultPage contains a page of TagDetails values.

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

func NewTagsListResultPage

func NewTagsListResultPage(cur TagsListResult, getNextPage func(context.Context, TagsListResult) (TagsListResult, error)) TagsListResultPage

Creates a new instance of the TagsListResultPage type.

func (*TagsListResultPage) Next

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

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

func (page TagsListResultPage) NotDone() bool

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

func (TagsListResultPage) Response

func (page TagsListResultPage) Response() TagsListResult

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

func (TagsListResultPage) Values

func (page TagsListResultPage) Values() []TagDetails

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

type TargetResource

TargetResource target resource.

type TargetResource struct {
    // ID - The ID of the resource.
    ID *string `json:"id,omitempty"`
    // ResourceName - The name of the resource.
    ResourceName *string `json:"resourceName,omitempty"`
    // ResourceType - The type of the resource.
    ResourceType *string `json:"resourceType,omitempty"`
}

type TemplateHashResult

TemplateHashResult result of the request to calculate template hash. It contains a string of minified template and its hash.

type TemplateHashResult struct {
    autorest.Response `json:"-"`
    // MinifiedTemplate - The minified template string.
    MinifiedTemplate *string `json:"minifiedTemplate,omitempty"`
    // TemplateHash - The template hash.
    TemplateHash *string `json:"templateHash,omitempty"`
}

TemplateLink entity representing the reference to the template.

type TemplateLink struct {
    // URI - The URI of the template to deploy.
    URI *string `json:"uri,omitempty"`
    // ContentVersion - If included, must match the ContentVersion in the template.
    ContentVersion *string `json:"contentVersion,omitempty"`
}

type WhatIfChange

WhatIfChange information about a single resource change predicted by What-If operation.

type WhatIfChange struct {
    // ResourceID - Resource ID
    ResourceID *string `json:"resourceId,omitempty"`
    // ChangeType - Type of change that will be made to the resource when the deployment is executed. Possible values include: 'Create', 'Delete', 'Ignore', 'Deploy', 'NoChange', 'Modify'
    ChangeType ChangeType `json:"changeType,omitempty"`
    // Before - The snapshot of the resource before the deployment is executed.
    Before interface{} `json:"before,omitempty"`
    // After - The predicted snapshot of the resource after the deployment is executed.
    After interface{} `json:"after,omitempty"`
    // Delta - The predicted changes to resource properties.
    Delta *[]WhatIfPropertyChange `json:"delta,omitempty"`
}

type WhatIfOperationProperties

WhatIfOperationProperties deployment operation properties.

type WhatIfOperationProperties struct {
    // Changes - List of resource changes predicted by What-If operation.
    Changes *[]WhatIfChange `json:"changes,omitempty"`
}

type WhatIfOperationResult

WhatIfOperationResult result of the What-If operation. Contains a list of predicted changes and a URL link to get to the next set of results.

type WhatIfOperationResult struct {
    autorest.Response `json:"-"`
    // Status - Status of the What-If operation.
    Status *string `json:"status,omitempty"`
    // WhatIfOperationProperties - What-If operation properties.
    *WhatIfOperationProperties `json:"properties,omitempty"`
    // Error - Error when What-If operation fails.
    Error *ErrorResponse `json:"error,omitempty"`
}

func (WhatIfOperationResult) MarshalJSON

func (wior WhatIfOperationResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WhatIfOperationResult.

func (*WhatIfOperationResult) UnmarshalJSON

func (wior *WhatIfOperationResult) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for WhatIfOperationResult struct.

type WhatIfPropertyChange

WhatIfPropertyChange the predicted change to the resource property.

type WhatIfPropertyChange struct {
    // Path - The path of the property.
    Path *string `json:"path,omitempty"`
    // PropertyChangeType - The type of property change. Possible values include: 'PropertyChangeTypeCreate', 'PropertyChangeTypeDelete', 'PropertyChangeTypeModify', 'PropertyChangeTypeArray'
    PropertyChangeType PropertyChangeType `json:"propertyChangeType,omitempty"`
    // Before - The value of the property before the deployment is executed.
    Before interface{} `json:"before,omitempty"`
    // After - The value of the property after the deployment is executed.
    After interface{} `json:"after,omitempty"`
    // Children - Nested property changes.
    Children *[]WhatIfPropertyChange `json:"children,omitempty"`
}

type WhatIfResultFormat

WhatIfResultFormat enumerates the values for what if result format.

type WhatIfResultFormat string
const (
    // FullResourcePayloads ...
    FullResourcePayloads WhatIfResultFormat = "FullResourcePayloads"
    // ResourceIDOnly ...
    ResourceIDOnly WhatIfResultFormat = "ResourceIdOnly"
)

func PossibleWhatIfResultFormatValues

func PossibleWhatIfResultFormatValues() []WhatIfResultFormat

PossibleWhatIfResultFormatValues returns an array of possible values for the WhatIfResultFormat const type.

Subdirectories

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