deployments

package
v0.20240320.1000025 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2024 License: MPL-2.0 Imports: 15 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/resources/2022-09-01/deployments Documentation

The deployments SDK allows for interaction with the Azure Resource Manager Service resources (API Version 2022-09-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids"
import "github.com/hashicorp/go-azure-sdk/resource-manager/resources/2022-09-01/deployments"

Client Initialization

client := deployments.NewDeploymentsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: DeploymentsClient.CalculateTemplateHash

ctx := context.TODO()
var payload interface{}

read, err := client.CalculateTemplateHash(ctx, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: DeploymentsClient.Cancel

ctx := context.TODO()
id := deployments.NewResourceGroupProviderDeploymentID("12345678-1234-9876-4563-123456789012", "example-resource-group", "deploymentValue")

read, err := client.Cancel(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: DeploymentsClient.CancelAtManagementGroupScope

ctx := context.TODO()
id := deployments.NewProviders2DeploymentID("groupIdValue", "deploymentValue")

read, err := client.CancelAtManagementGroupScope(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: DeploymentsClient.CancelAtScope

ctx := context.TODO()
id := deployments.NewScopedDeploymentID("/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/some-resource-group", "deploymentValue")

read, err := client.CancelAtScope(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: DeploymentsClient.CancelAtSubscriptionScope

ctx := context.TODO()
id := deployments.NewProviderDeploymentID("12345678-1234-9876-4563-123456789012", "deploymentValue")

read, err := client.CancelAtSubscriptionScope(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: DeploymentsClient.CancelAtTenantScope

ctx := context.TODO()
id := deployments.NewDeploymentID("deploymentValue")

read, err := client.CancelAtTenantScope(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: DeploymentsClient.CheckExistence

ctx := context.TODO()
id := deployments.NewResourceGroupProviderDeploymentID("12345678-1234-9876-4563-123456789012", "example-resource-group", "deploymentValue")

read, err := client.CheckExistence(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: DeploymentsClient.CheckExistenceAtManagementGroupScope

ctx := context.TODO()
id := deployments.NewProviders2DeploymentID("groupIdValue", "deploymentValue")

read, err := client.CheckExistenceAtManagementGroupScope(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: DeploymentsClient.CheckExistenceAtScope

ctx := context.TODO()
id := deployments.NewScopedDeploymentID("/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/some-resource-group", "deploymentValue")

read, err := client.CheckExistenceAtScope(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: DeploymentsClient.CheckExistenceAtSubscriptionScope

ctx := context.TODO()
id := deployments.NewProviderDeploymentID("12345678-1234-9876-4563-123456789012", "deploymentValue")

read, err := client.CheckExistenceAtSubscriptionScope(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: DeploymentsClient.CheckExistenceAtTenantScope

ctx := context.TODO()
id := deployments.NewDeploymentID("deploymentValue")

read, err := client.CheckExistenceAtTenantScope(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: DeploymentsClient.CreateOrUpdate

ctx := context.TODO()
id := deployments.NewResourceGroupProviderDeploymentID("12345678-1234-9876-4563-123456789012", "example-resource-group", "deploymentValue")

payload := deployments.Deployment{
	// ...
}


if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: DeploymentsClient.CreateOrUpdateAtManagementGroupScope

ctx := context.TODO()
id := deployments.NewProviders2DeploymentID("groupIdValue", "deploymentValue")

payload := deployments.ScopedDeployment{
	// ...
}


if err := client.CreateOrUpdateAtManagementGroupScopeThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: DeploymentsClient.CreateOrUpdateAtScope

ctx := context.TODO()
id := deployments.NewScopedDeploymentID("/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/some-resource-group", "deploymentValue")

payload := deployments.Deployment{
	// ...
}


if err := client.CreateOrUpdateAtScopeThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: DeploymentsClient.CreateOrUpdateAtSubscriptionScope

ctx := context.TODO()
id := deployments.NewProviderDeploymentID("12345678-1234-9876-4563-123456789012", "deploymentValue")

payload := deployments.Deployment{
	// ...
}


if err := client.CreateOrUpdateAtSubscriptionScopeThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: DeploymentsClient.CreateOrUpdateAtTenantScope

ctx := context.TODO()
id := deployments.NewDeploymentID("deploymentValue")

payload := deployments.ScopedDeployment{
	// ...
}


if err := client.CreateOrUpdateAtTenantScopeThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: DeploymentsClient.Delete

ctx := context.TODO()
id := deployments.NewResourceGroupProviderDeploymentID("12345678-1234-9876-4563-123456789012", "example-resource-group", "deploymentValue")

if err := client.DeleteThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: DeploymentsClient.DeleteAtManagementGroupScope

ctx := context.TODO()
id := deployments.NewProviders2DeploymentID("groupIdValue", "deploymentValue")

if err := client.DeleteAtManagementGroupScopeThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: DeploymentsClient.DeleteAtScope

ctx := context.TODO()
id := deployments.NewScopedDeploymentID("/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/some-resource-group", "deploymentValue")

if err := client.DeleteAtScopeThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: DeploymentsClient.DeleteAtSubscriptionScope

ctx := context.TODO()
id := deployments.NewProviderDeploymentID("12345678-1234-9876-4563-123456789012", "deploymentValue")

if err := client.DeleteAtSubscriptionScopeThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: DeploymentsClient.DeleteAtTenantScope

ctx := context.TODO()
id := deployments.NewDeploymentID("deploymentValue")

if err := client.DeleteAtTenantScopeThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: DeploymentsClient.ExportTemplate

ctx := context.TODO()
id := deployments.NewResourceGroupProviderDeploymentID("12345678-1234-9876-4563-123456789012", "example-resource-group", "deploymentValue")

read, err := client.ExportTemplate(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: DeploymentsClient.ExportTemplateAtManagementGroupScope

ctx := context.TODO()
id := deployments.NewProviders2DeploymentID("groupIdValue", "deploymentValue")

read, err := client.ExportTemplateAtManagementGroupScope(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: DeploymentsClient.ExportTemplateAtScope

ctx := context.TODO()
id := deployments.NewScopedDeploymentID("/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/some-resource-group", "deploymentValue")

read, err := client.ExportTemplateAtScope(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: DeploymentsClient.ExportTemplateAtSubscriptionScope

ctx := context.TODO()
id := deployments.NewProviderDeploymentID("12345678-1234-9876-4563-123456789012", "deploymentValue")

read, err := client.ExportTemplateAtSubscriptionScope(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: DeploymentsClient.ExportTemplateAtTenantScope

ctx := context.TODO()
id := deployments.NewDeploymentID("deploymentValue")

read, err := client.ExportTemplateAtTenantScope(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: DeploymentsClient.Get

ctx := context.TODO()
id := deployments.NewResourceGroupProviderDeploymentID("12345678-1234-9876-4563-123456789012", "example-resource-group", "deploymentValue")

read, err := client.Get(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: DeploymentsClient.GetAtManagementGroupScope

ctx := context.TODO()
id := deployments.NewProviders2DeploymentID("groupIdValue", "deploymentValue")

read, err := client.GetAtManagementGroupScope(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: DeploymentsClient.GetAtScope

ctx := context.TODO()
id := deployments.NewScopedDeploymentID("/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/some-resource-group", "deploymentValue")

read, err := client.GetAtScope(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: DeploymentsClient.GetAtSubscriptionScope

ctx := context.TODO()
id := deployments.NewProviderDeploymentID("12345678-1234-9876-4563-123456789012", "deploymentValue")

read, err := client.GetAtSubscriptionScope(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: DeploymentsClient.GetAtTenantScope

ctx := context.TODO()
id := deployments.NewDeploymentID("deploymentValue")

read, err := client.GetAtTenantScope(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: DeploymentsClient.ListAtManagementGroupScope

ctx := context.TODO()
id := commonids.NewManagementGroupID("groupIdValue")

// alternatively `client.ListAtManagementGroupScope(ctx, id, deployments.DefaultListAtManagementGroupScopeOperationOptions())` can be used to do batched pagination
items, err := client.ListAtManagementGroupScopeComplete(ctx, id, deployments.DefaultListAtManagementGroupScopeOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: DeploymentsClient.ListAtScope

ctx := context.TODO()
id := commonids.NewScopeID("/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/some-resource-group")

// alternatively `client.ListAtScope(ctx, id, deployments.DefaultListAtScopeOperationOptions())` can be used to do batched pagination
items, err := client.ListAtScopeComplete(ctx, id, deployments.DefaultListAtScopeOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: DeploymentsClient.ListAtSubscriptionScope

ctx := context.TODO()
id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

// alternatively `client.ListAtSubscriptionScope(ctx, id, deployments.DefaultListAtSubscriptionScopeOperationOptions())` can be used to do batched pagination
items, err := client.ListAtSubscriptionScopeComplete(ctx, id, deployments.DefaultListAtSubscriptionScopeOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: DeploymentsClient.ListAtTenantScope

ctx := context.TODO()


// alternatively `client.ListAtTenantScope(ctx, deployments.DefaultListAtTenantScopeOperationOptions())` can be used to do batched pagination
items, err := client.ListAtTenantScopeComplete(ctx, deployments.DefaultListAtTenantScopeOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: DeploymentsClient.ListByResourceGroup

ctx := context.TODO()
id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group")

// alternatively `client.ListByResourceGroup(ctx, id, deployments.DefaultListByResourceGroupOperationOptions())` can be used to do batched pagination
items, err := client.ListByResourceGroupComplete(ctx, id, deployments.DefaultListByResourceGroupOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: DeploymentsClient.Validate

ctx := context.TODO()
id := deployments.NewResourceGroupProviderDeploymentID("12345678-1234-9876-4563-123456789012", "example-resource-group", "deploymentValue")

payload := deployments.Deployment{
	// ...
}


if err := client.ValidateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: DeploymentsClient.ValidateAtManagementGroupScope

ctx := context.TODO()
id := deployments.NewProviders2DeploymentID("groupIdValue", "deploymentValue")

payload := deployments.ScopedDeployment{
	// ...
}


if err := client.ValidateAtManagementGroupScopeThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: DeploymentsClient.ValidateAtScope

ctx := context.TODO()
id := deployments.NewScopedDeploymentID("/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/some-resource-group", "deploymentValue")

payload := deployments.Deployment{
	// ...
}


if err := client.ValidateAtScopeThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: DeploymentsClient.ValidateAtSubscriptionScope

ctx := context.TODO()
id := deployments.NewProviderDeploymentID("12345678-1234-9876-4563-123456789012", "deploymentValue")

payload := deployments.Deployment{
	// ...
}


if err := client.ValidateAtSubscriptionScopeThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: DeploymentsClient.ValidateAtTenantScope

ctx := context.TODO()
id := deployments.NewDeploymentID("deploymentValue")

payload := deployments.ScopedDeployment{
	// ...
}


if err := client.ValidateAtTenantScopeThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: DeploymentsClient.WhatIf

ctx := context.TODO()
id := deployments.NewResourceGroupProviderDeploymentID("12345678-1234-9876-4563-123456789012", "example-resource-group", "deploymentValue")

payload := deployments.DeploymentWhatIf{
	// ...
}


if err := client.WhatIfThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: DeploymentsClient.WhatIfAtManagementGroupScope

ctx := context.TODO()
id := deployments.NewProviders2DeploymentID("groupIdValue", "deploymentValue")

payload := deployments.ScopedDeploymentWhatIf{
	// ...
}


if err := client.WhatIfAtManagementGroupScopeThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: DeploymentsClient.WhatIfAtSubscriptionScope

ctx := context.TODO()
id := deployments.NewProviderDeploymentID("12345678-1234-9876-4563-123456789012", "deploymentValue")

payload := deployments.DeploymentWhatIf{
	// ...
}


if err := client.WhatIfAtSubscriptionScopeThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: DeploymentsClient.WhatIfAtTenantScope

ctx := context.TODO()
id := deployments.NewDeploymentID("deploymentValue")

payload := deployments.ScopedDeploymentWhatIf{
	// ...
}


if err := client.WhatIfAtTenantScopeThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForAliasPathAttributes

func PossibleValuesForAliasPathAttributes() []string

func PossibleValuesForAliasPathTokenType

func PossibleValuesForAliasPathTokenType() []string

func PossibleValuesForAliasPatternType

func PossibleValuesForAliasPatternType() []string

func PossibleValuesForAliasType

func PossibleValuesForAliasType() []string

func PossibleValuesForChangeType

func PossibleValuesForChangeType() []string

func PossibleValuesForDeploymentMode

func PossibleValuesForDeploymentMode() []string

func PossibleValuesForExpressionEvaluationOptionsScopeType

func PossibleValuesForExpressionEvaluationOptionsScopeType() []string

func PossibleValuesForOnErrorDeploymentType

func PossibleValuesForOnErrorDeploymentType() []string

func PossibleValuesForPropertyChangeType

func PossibleValuesForPropertyChangeType() []string

func PossibleValuesForProviderAuthorizationConsentState

func PossibleValuesForProviderAuthorizationConsentState() []string

func PossibleValuesForProvisioningState

func PossibleValuesForProvisioningState() []string

func PossibleValuesForWhatIfResultFormat

func PossibleValuesForWhatIfResultFormat() []string

func ValidateDeploymentID

func ValidateDeploymentID(input interface{}, key string) (warnings []string, errors []error)

ValidateDeploymentID checks that 'input' can be parsed as a Deployment ID

func ValidateProviderDeploymentID

func ValidateProviderDeploymentID(input interface{}, key string) (warnings []string, errors []error)

ValidateProviderDeploymentID checks that 'input' can be parsed as a Provider Deployment ID

func ValidateProviders2DeploymentID

func ValidateProviders2DeploymentID(input interface{}, key string) (warnings []string, errors []error)

ValidateProviders2DeploymentID checks that 'input' can be parsed as a Providers 2 Deployment ID

func ValidateResourceGroupProviderDeploymentID

func ValidateResourceGroupProviderDeploymentID(input interface{}, key string) (warnings []string, errors []error)

ValidateResourceGroupProviderDeploymentID checks that 'input' can be parsed as a Resource Group Provider Deployment ID

func ValidateScopedDeploymentID

func ValidateScopedDeploymentID(input interface{}, key string) (warnings []string, errors []error)

ValidateScopedDeploymentID checks that 'input' can be parsed as a Scoped Deployment ID

Types

type Alias

type Alias struct {
	DefaultMetadata *AliasPathMetadata `json:"defaultMetadata,omitempty"`
	DefaultPath     *string            `json:"defaultPath,omitempty"`
	DefaultPattern  *AliasPattern      `json:"defaultPattern,omitempty"`
	Name            *string            `json:"name,omitempty"`
	Paths           *[]AliasPath       `json:"paths,omitempty"`
	Type            *AliasType         `json:"type,omitempty"`
}

type AliasPath

type AliasPath struct {
	ApiVersions *[]string          `json:"apiVersions,omitempty"`
	Metadata    *AliasPathMetadata `json:"metadata,omitempty"`
	Path        *string            `json:"path,omitempty"`
	Pattern     *AliasPattern      `json:"pattern,omitempty"`
}

type AliasPathAttributes

type AliasPathAttributes string
const (
	AliasPathAttributesModifiable AliasPathAttributes = "Modifiable"
	AliasPathAttributesNone       AliasPathAttributes = "None"
)

func (*AliasPathAttributes) UnmarshalJSON

func (s *AliasPathAttributes) UnmarshalJSON(bytes []byte) error

type AliasPathMetadata

type AliasPathMetadata struct {
	Attributes *AliasPathAttributes `json:"attributes,omitempty"`
	Type       *AliasPathTokenType  `json:"type,omitempty"`
}

type AliasPathTokenType

type AliasPathTokenType string
const (
	AliasPathTokenTypeAny          AliasPathTokenType = "Any"
	AliasPathTokenTypeArray        AliasPathTokenType = "Array"
	AliasPathTokenTypeBoolean      AliasPathTokenType = "Boolean"
	AliasPathTokenTypeInteger      AliasPathTokenType = "Integer"
	AliasPathTokenTypeNotSpecified AliasPathTokenType = "NotSpecified"
	AliasPathTokenTypeNumber       AliasPathTokenType = "Number"
	AliasPathTokenTypeObject       AliasPathTokenType = "Object"
	AliasPathTokenTypeString       AliasPathTokenType = "String"
)

func (*AliasPathTokenType) UnmarshalJSON

func (s *AliasPathTokenType) UnmarshalJSON(bytes []byte) error

type AliasPattern

type AliasPattern struct {
	Phrase   *string           `json:"phrase,omitempty"`
	Type     *AliasPatternType `json:"type,omitempty"`
	Variable *string           `json:"variable,omitempty"`
}

type AliasPatternType

type AliasPatternType string
const (
	AliasPatternTypeExtract      AliasPatternType = "Extract"
	AliasPatternTypeNotSpecified AliasPatternType = "NotSpecified"
)

func (*AliasPatternType) UnmarshalJSON

func (s *AliasPatternType) UnmarshalJSON(bytes []byte) error

type AliasType

type AliasType string
const (
	AliasTypeMask         AliasType = "Mask"
	AliasTypeNotSpecified AliasType = "NotSpecified"
	AliasTypePlainText    AliasType = "PlainText"
)

func (*AliasType) UnmarshalJSON

func (s *AliasType) UnmarshalJSON(bytes []byte) error

type ApiProfile

type ApiProfile struct {
	ApiVersion     *string `json:"apiVersion,omitempty"`
	ProfileVersion *string `json:"profileVersion,omitempty"`
}

type BasicDependency

type BasicDependency struct {
	Id           *string `json:"id,omitempty"`
	ResourceName *string `json:"resourceName,omitempty"`
	ResourceType *string `json:"resourceType,omitempty"`
}

type CalculateTemplateHashOperationResponse

type CalculateTemplateHashOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *TemplateHashResult
}

type CancelAtManagementGroupScopeOperationResponse

type CancelAtManagementGroupScopeOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type CancelAtScopeOperationResponse

type CancelAtScopeOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type CancelAtSubscriptionScopeOperationResponse

type CancelAtSubscriptionScopeOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type CancelAtTenantScopeOperationResponse

type CancelAtTenantScopeOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type CancelOperationResponse

type CancelOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type ChangeType

type ChangeType string
const (
	ChangeTypeCreate      ChangeType = "Create"
	ChangeTypeDelete      ChangeType = "Delete"
	ChangeTypeDeploy      ChangeType = "Deploy"
	ChangeTypeIgnore      ChangeType = "Ignore"
	ChangeTypeModify      ChangeType = "Modify"
	ChangeTypeNoChange    ChangeType = "NoChange"
	ChangeTypeUnsupported ChangeType = "Unsupported"
)

func (*ChangeType) UnmarshalJSON

func (s *ChangeType) UnmarshalJSON(bytes []byte) error

type CheckExistenceAtManagementGroupScopeOperationResponse

type CheckExistenceAtManagementGroupScopeOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type CheckExistenceAtScopeOperationResponse

type CheckExistenceAtScopeOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type CheckExistenceAtSubscriptionScopeOperationResponse

type CheckExistenceAtSubscriptionScopeOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type CheckExistenceAtTenantScopeOperationResponse

type CheckExistenceAtTenantScopeOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type CheckExistenceOperationResponse

type CheckExistenceOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type CreateOrUpdateAtManagementGroupScopeOperationResponse

type CreateOrUpdateAtManagementGroupScopeOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DeploymentExtended
}

type CreateOrUpdateAtScopeOperationResponse

type CreateOrUpdateAtScopeOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DeploymentExtended
}

type CreateOrUpdateAtSubscriptionScopeOperationResponse

type CreateOrUpdateAtSubscriptionScopeOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DeploymentExtended
}

type CreateOrUpdateAtTenantScopeOperationResponse

type CreateOrUpdateAtTenantScopeOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DeploymentExtended
}

type CreateOrUpdateOperationResponse

type CreateOrUpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DeploymentExtended
}

type DebugSetting

type DebugSetting struct {
	DetailLevel *string `json:"detailLevel,omitempty"`
}

type DeleteAtManagementGroupScopeOperationResponse

type DeleteAtManagementGroupScopeOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type DeleteAtScopeOperationResponse

type DeleteAtScopeOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type DeleteAtSubscriptionScopeOperationResponse

type DeleteAtSubscriptionScopeOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type DeleteAtTenantScopeOperationResponse

type DeleteAtTenantScopeOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type DeleteOperationResponse

type DeleteOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type Dependency

type Dependency struct {
	DependsOn    *[]BasicDependency `json:"dependsOn,omitempty"`
	Id           *string            `json:"id,omitempty"`
	ResourceName *string            `json:"resourceName,omitempty"`
	ResourceType *string            `json:"resourceType,omitempty"`
}

type Deployment

type Deployment struct {
	Location   *string              `json:"location,omitempty"`
	Properties DeploymentProperties `json:"properties"`
	Tags       *map[string]string   `json:"tags,omitempty"`
}

type DeploymentExportResult

type DeploymentExportResult struct {
	Template *interface{} `json:"template,omitempty"`
}

type DeploymentExtended

type DeploymentExtended struct {
	Id         *string                       `json:"id,omitempty"`
	Location   *string                       `json:"location,omitempty"`
	Name       *string                       `json:"name,omitempty"`
	Properties *DeploymentPropertiesExtended `json:"properties,omitempty"`
	Tags       *map[string]string            `json:"tags,omitempty"`
	Type       *string                       `json:"type,omitempty"`
}

type DeploymentExtendedOperationPredicate

type DeploymentExtendedOperationPredicate struct {
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

func (DeploymentExtendedOperationPredicate) Matches

type DeploymentId

type DeploymentId struct {
	DeploymentName string
}

DeploymentId is a struct representing the Resource ID for a Deployment

func NewDeploymentID

func NewDeploymentID(deploymentName string) DeploymentId

NewDeploymentID returns a new DeploymentId struct

func ParseDeploymentID

func ParseDeploymentID(input string) (*DeploymentId, error)

ParseDeploymentID parses 'input' into a DeploymentId

func ParseDeploymentIDInsensitively

func ParseDeploymentIDInsensitively(input string) (*DeploymentId, error)

ParseDeploymentIDInsensitively parses 'input' case-insensitively into a DeploymentId note: this method should only be used for API response data and not user input

func (*DeploymentId) FromParseResult

func (id *DeploymentId) FromParseResult(input resourceids.ParseResult) error

func (DeploymentId) ID

func (id DeploymentId) ID() string

ID returns the formatted Deployment ID

func (DeploymentId) Segments

func (id DeploymentId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Deployment ID

func (DeploymentId) String

func (id DeploymentId) String() string

String returns a human-readable description of this Deployment ID

type DeploymentMode

type DeploymentMode string
const (
	DeploymentModeComplete    DeploymentMode = "Complete"
	DeploymentModeIncremental DeploymentMode = "Incremental"
)

func (*DeploymentMode) UnmarshalJSON

func (s *DeploymentMode) UnmarshalJSON(bytes []byte) error

type DeploymentParameter

type DeploymentParameter struct {
	Reference *KeyVaultParameterReference `json:"reference,omitempty"`
	Value     *interface{}                `json:"value,omitempty"`
}

type DeploymentProperties

type DeploymentProperties struct {
	DebugSetting                *DebugSetting                   `json:"debugSetting,omitempty"`
	ExpressionEvaluationOptions *ExpressionEvaluationOptions    `json:"expressionEvaluationOptions,omitempty"`
	Mode                        DeploymentMode                  `json:"mode"`
	OnErrorDeployment           *OnErrorDeployment              `json:"onErrorDeployment,omitempty"`
	Parameters                  *map[string]DeploymentParameter `json:"parameters,omitempty"`
	ParametersLink              *ParametersLink                 `json:"parametersLink,omitempty"`
	Template                    *interface{}                    `json:"template,omitempty"`
	TemplateLink                *TemplateLink                   `json:"templateLink,omitempty"`
}

type DeploymentPropertiesExtended

type DeploymentPropertiesExtended struct {
	CorrelationId      *string                    `json:"correlationId,omitempty"`
	DebugSetting       *DebugSetting              `json:"debugSetting,omitempty"`
	Dependencies       *[]Dependency              `json:"dependencies,omitempty"`
	Duration           *string                    `json:"duration,omitempty"`
	Error              *ErrorResponse             `json:"error,omitempty"`
	Mode               *DeploymentMode            `json:"mode,omitempty"`
	OnErrorDeployment  *OnErrorDeploymentExtended `json:"onErrorDeployment,omitempty"`
	OutputResources    *[]ResourceReference       `json:"outputResources,omitempty"`
	Outputs            *interface{}               `json:"outputs,omitempty"`
	Parameters         *interface{}               `json:"parameters,omitempty"`
	ParametersLink     *ParametersLink            `json:"parametersLink,omitempty"`
	Providers          *[]Provider                `json:"providers,omitempty"`
	ProvisioningState  *ProvisioningState         `json:"provisioningState,omitempty"`
	TemplateHash       *string                    `json:"templateHash,omitempty"`
	TemplateLink       *TemplateLink              `json:"templateLink,omitempty"`
	Timestamp          *string                    `json:"timestamp,omitempty"`
	ValidatedResources *[]ResourceReference       `json:"validatedResources,omitempty"`
}

func (*DeploymentPropertiesExtended) GetTimestampAsTime

func (o *DeploymentPropertiesExtended) GetTimestampAsTime() (*time.Time, error)

func (*DeploymentPropertiesExtended) SetTimestampAsTime

func (o *DeploymentPropertiesExtended) SetTimestampAsTime(input time.Time)

type DeploymentValidateResult

type DeploymentValidateResult struct {
	Error      *ErrorResponse                `json:"error,omitempty"`
	Properties *DeploymentPropertiesExtended `json:"properties,omitempty"`
}

type DeploymentWhatIf

type DeploymentWhatIf struct {
	Location   *string                    `json:"location,omitempty"`
	Properties DeploymentWhatIfProperties `json:"properties"`
}

type DeploymentWhatIfProperties

type DeploymentWhatIfProperties struct {
	DebugSetting                *DebugSetting                   `json:"debugSetting,omitempty"`
	ExpressionEvaluationOptions *ExpressionEvaluationOptions    `json:"expressionEvaluationOptions,omitempty"`
	Mode                        DeploymentMode                  `json:"mode"`
	OnErrorDeployment           *OnErrorDeployment              `json:"onErrorDeployment,omitempty"`
	Parameters                  *map[string]DeploymentParameter `json:"parameters,omitempty"`
	ParametersLink              *ParametersLink                 `json:"parametersLink,omitempty"`
	Template                    *interface{}                    `json:"template,omitempty"`
	TemplateLink                *TemplateLink                   `json:"templateLink,omitempty"`
	WhatIfSettings              *DeploymentWhatIfSettings       `json:"whatIfSettings,omitempty"`
}

type DeploymentWhatIfSettings

type DeploymentWhatIfSettings struct {
	ResultFormat *WhatIfResultFormat `json:"resultFormat,omitempty"`
}

type DeploymentsClient

type DeploymentsClient struct {
	Client *resourcemanager.Client
}

func NewDeploymentsClientWithBaseURI

func NewDeploymentsClientWithBaseURI(sdkApi sdkEnv.Api) (*DeploymentsClient, error)

func (DeploymentsClient) CalculateTemplateHash

func (c DeploymentsClient) CalculateTemplateHash(ctx context.Context, input interface{}) (result CalculateTemplateHashOperationResponse, err error)

CalculateTemplateHash ...

func (DeploymentsClient) Cancel

Cancel ...

func (DeploymentsClient) CancelAtManagementGroupScope

CancelAtManagementGroupScope ...

func (DeploymentsClient) CancelAtScope

CancelAtScope ...

func (DeploymentsClient) CancelAtSubscriptionScope

CancelAtSubscriptionScope ...

func (DeploymentsClient) CancelAtTenantScope

func (c DeploymentsClient) CancelAtTenantScope(ctx context.Context, id DeploymentId) (result CancelAtTenantScopeOperationResponse, err error)

CancelAtTenantScope ...

func (DeploymentsClient) CheckExistence

CheckExistence ...

func (DeploymentsClient) CheckExistenceAtManagementGroupScope

func (c DeploymentsClient) CheckExistenceAtManagementGroupScope(ctx context.Context, id Providers2DeploymentId) (result CheckExistenceAtManagementGroupScopeOperationResponse, err error)

CheckExistenceAtManagementGroupScope ...

func (DeploymentsClient) CheckExistenceAtScope

CheckExistenceAtScope ...

func (DeploymentsClient) CheckExistenceAtSubscriptionScope

func (c DeploymentsClient) CheckExistenceAtSubscriptionScope(ctx context.Context, id ProviderDeploymentId) (result CheckExistenceAtSubscriptionScopeOperationResponse, err error)

CheckExistenceAtSubscriptionScope ...

func (DeploymentsClient) CheckExistenceAtTenantScope

func (c DeploymentsClient) CheckExistenceAtTenantScope(ctx context.Context, id DeploymentId) (result CheckExistenceAtTenantScopeOperationResponse, err error)

CheckExistenceAtTenantScope ...

func (DeploymentsClient) CreateOrUpdate

CreateOrUpdate ...

func (DeploymentsClient) CreateOrUpdateAtManagementGroupScope

CreateOrUpdateAtManagementGroupScope ...

func (DeploymentsClient) CreateOrUpdateAtManagementGroupScopeThenPoll

func (c DeploymentsClient) CreateOrUpdateAtManagementGroupScopeThenPoll(ctx context.Context, id Providers2DeploymentId, input ScopedDeployment) error

CreateOrUpdateAtManagementGroupScopeThenPoll performs CreateOrUpdateAtManagementGroupScope then polls until it's completed

func (DeploymentsClient) CreateOrUpdateAtScope

func (c DeploymentsClient) CreateOrUpdateAtScope(ctx context.Context, id ScopedDeploymentId, input Deployment) (result CreateOrUpdateAtScopeOperationResponse, err error)

CreateOrUpdateAtScope ...

func (DeploymentsClient) CreateOrUpdateAtScopeThenPoll

func (c DeploymentsClient) CreateOrUpdateAtScopeThenPoll(ctx context.Context, id ScopedDeploymentId, input Deployment) error

CreateOrUpdateAtScopeThenPoll performs CreateOrUpdateAtScope then polls until it's completed

func (DeploymentsClient) CreateOrUpdateAtSubscriptionScope

func (c DeploymentsClient) CreateOrUpdateAtSubscriptionScope(ctx context.Context, id ProviderDeploymentId, input Deployment) (result CreateOrUpdateAtSubscriptionScopeOperationResponse, err error)

CreateOrUpdateAtSubscriptionScope ...

func (DeploymentsClient) CreateOrUpdateAtSubscriptionScopeThenPoll

func (c DeploymentsClient) CreateOrUpdateAtSubscriptionScopeThenPoll(ctx context.Context, id ProviderDeploymentId, input Deployment) error

CreateOrUpdateAtSubscriptionScopeThenPoll performs CreateOrUpdateAtSubscriptionScope then polls until it's completed

func (DeploymentsClient) CreateOrUpdateAtTenantScope

func (c DeploymentsClient) CreateOrUpdateAtTenantScope(ctx context.Context, id DeploymentId, input ScopedDeployment) (result CreateOrUpdateAtTenantScopeOperationResponse, err error)

CreateOrUpdateAtTenantScope ...

func (DeploymentsClient) CreateOrUpdateAtTenantScopeThenPoll

func (c DeploymentsClient) CreateOrUpdateAtTenantScopeThenPoll(ctx context.Context, id DeploymentId, input ScopedDeployment) error

CreateOrUpdateAtTenantScopeThenPoll performs CreateOrUpdateAtTenantScope then polls until it's completed

func (DeploymentsClient) CreateOrUpdateThenPoll

func (c DeploymentsClient) CreateOrUpdateThenPoll(ctx context.Context, id ResourceGroupProviderDeploymentId, input Deployment) error

CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed

func (DeploymentsClient) Delete

Delete ...

func (DeploymentsClient) DeleteAtManagementGroupScope

DeleteAtManagementGroupScope ...

func (DeploymentsClient) DeleteAtManagementGroupScopeThenPoll

func (c DeploymentsClient) DeleteAtManagementGroupScopeThenPoll(ctx context.Context, id Providers2DeploymentId) error

DeleteAtManagementGroupScopeThenPoll performs DeleteAtManagementGroupScope then polls until it's completed

func (DeploymentsClient) DeleteAtScope

DeleteAtScope ...

func (DeploymentsClient) DeleteAtScopeThenPoll

func (c DeploymentsClient) DeleteAtScopeThenPoll(ctx context.Context, id ScopedDeploymentId) error

DeleteAtScopeThenPoll performs DeleteAtScope then polls until it's completed

func (DeploymentsClient) DeleteAtSubscriptionScope

DeleteAtSubscriptionScope ...

func (DeploymentsClient) DeleteAtSubscriptionScopeThenPoll

func (c DeploymentsClient) DeleteAtSubscriptionScopeThenPoll(ctx context.Context, id ProviderDeploymentId) error

DeleteAtSubscriptionScopeThenPoll performs DeleteAtSubscriptionScope then polls until it's completed

func (DeploymentsClient) DeleteAtTenantScope

func (c DeploymentsClient) DeleteAtTenantScope(ctx context.Context, id DeploymentId) (result DeleteAtTenantScopeOperationResponse, err error)

DeleteAtTenantScope ...

func (DeploymentsClient) DeleteAtTenantScopeThenPoll

func (c DeploymentsClient) DeleteAtTenantScopeThenPoll(ctx context.Context, id DeploymentId) error

DeleteAtTenantScopeThenPoll performs DeleteAtTenantScope then polls until it's completed

func (DeploymentsClient) DeleteThenPoll

DeleteThenPoll performs Delete then polls until it's completed

func (DeploymentsClient) ExportTemplate

ExportTemplate ...

func (DeploymentsClient) ExportTemplateAtManagementGroupScope

func (c DeploymentsClient) ExportTemplateAtManagementGroupScope(ctx context.Context, id Providers2DeploymentId) (result ExportTemplateAtManagementGroupScopeOperationResponse, err error)

ExportTemplateAtManagementGroupScope ...

func (DeploymentsClient) ExportTemplateAtScope

ExportTemplateAtScope ...

func (DeploymentsClient) ExportTemplateAtSubscriptionScope

func (c DeploymentsClient) ExportTemplateAtSubscriptionScope(ctx context.Context, id ProviderDeploymentId) (result ExportTemplateAtSubscriptionScopeOperationResponse, err error)

ExportTemplateAtSubscriptionScope ...

func (DeploymentsClient) ExportTemplateAtTenantScope

func (c DeploymentsClient) ExportTemplateAtTenantScope(ctx context.Context, id DeploymentId) (result ExportTemplateAtTenantScopeOperationResponse, err error)

ExportTemplateAtTenantScope ...

func (DeploymentsClient) Get

Get ...

func (DeploymentsClient) GetAtManagementGroupScope

GetAtManagementGroupScope ...

func (DeploymentsClient) GetAtScope

GetAtScope ...

func (DeploymentsClient) GetAtSubscriptionScope

GetAtSubscriptionScope ...

func (DeploymentsClient) GetAtTenantScope

func (c DeploymentsClient) GetAtTenantScope(ctx context.Context, id DeploymentId) (result GetAtTenantScopeOperationResponse, err error)

GetAtTenantScope ...

func (DeploymentsClient) ListAtManagementGroupScope

ListAtManagementGroupScope ...

func (DeploymentsClient) ListAtManagementGroupScopeComplete

ListAtManagementGroupScopeComplete retrieves all the results into a single object

func (DeploymentsClient) ListAtManagementGroupScopeCompleteMatchingPredicate

ListAtManagementGroupScopeCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (DeploymentsClient) ListAtScope

ListAtScope ...

func (DeploymentsClient) ListAtScopeComplete

ListAtScopeComplete retrieves all the results into a single object

func (DeploymentsClient) ListAtScopeCompleteMatchingPredicate

func (c DeploymentsClient) ListAtScopeCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, options ListAtScopeOperationOptions, predicate DeploymentExtendedOperationPredicate) (result ListAtScopeCompleteResult, err error)

ListAtScopeCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (DeploymentsClient) ListAtSubscriptionScope

ListAtSubscriptionScope ...

func (DeploymentsClient) ListAtSubscriptionScopeComplete

ListAtSubscriptionScopeComplete retrieves all the results into a single object

func (DeploymentsClient) ListAtSubscriptionScopeCompleteMatchingPredicate

ListAtSubscriptionScopeCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (DeploymentsClient) ListAtTenantScope

ListAtTenantScope ...

func (DeploymentsClient) ListAtTenantScopeComplete

ListAtTenantScopeComplete retrieves all the results into a single object

func (DeploymentsClient) ListAtTenantScopeCompleteMatchingPredicate

func (c DeploymentsClient) ListAtTenantScopeCompleteMatchingPredicate(ctx context.Context, options ListAtTenantScopeOperationOptions, predicate DeploymentExtendedOperationPredicate) (result ListAtTenantScopeCompleteResult, err error)

ListAtTenantScopeCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (DeploymentsClient) ListByResourceGroup

ListByResourceGroup ...

func (DeploymentsClient) ListByResourceGroupComplete

ListByResourceGroupComplete retrieves all the results into a single object

func (DeploymentsClient) ListByResourceGroupCompleteMatchingPredicate

ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (DeploymentsClient) Validate

Validate ...

func (DeploymentsClient) ValidateAtManagementGroupScope

ValidateAtManagementGroupScope ...

func (DeploymentsClient) ValidateAtManagementGroupScopeThenPoll

func (c DeploymentsClient) ValidateAtManagementGroupScopeThenPoll(ctx context.Context, id Providers2DeploymentId, input ScopedDeployment) error

ValidateAtManagementGroupScopeThenPoll performs ValidateAtManagementGroupScope then polls until it's completed

func (DeploymentsClient) ValidateAtScope

ValidateAtScope ...

func (DeploymentsClient) ValidateAtScopeThenPoll

func (c DeploymentsClient) ValidateAtScopeThenPoll(ctx context.Context, id ScopedDeploymentId, input Deployment) error

ValidateAtScopeThenPoll performs ValidateAtScope then polls until it's completed

func (DeploymentsClient) ValidateAtSubscriptionScope

func (c DeploymentsClient) ValidateAtSubscriptionScope(ctx context.Context, id ProviderDeploymentId, input Deployment) (result ValidateAtSubscriptionScopeOperationResponse, err error)

ValidateAtSubscriptionScope ...

func (DeploymentsClient) ValidateAtSubscriptionScopeThenPoll

func (c DeploymentsClient) ValidateAtSubscriptionScopeThenPoll(ctx context.Context, id ProviderDeploymentId, input Deployment) error

ValidateAtSubscriptionScopeThenPoll performs ValidateAtSubscriptionScope then polls until it's completed

func (DeploymentsClient) ValidateAtTenantScope

func (c DeploymentsClient) ValidateAtTenantScope(ctx context.Context, id DeploymentId, input ScopedDeployment) (result ValidateAtTenantScopeOperationResponse, err error)

ValidateAtTenantScope ...

func (DeploymentsClient) ValidateAtTenantScopeThenPoll

func (c DeploymentsClient) ValidateAtTenantScopeThenPoll(ctx context.Context, id DeploymentId, input ScopedDeployment) error

ValidateAtTenantScopeThenPoll performs ValidateAtTenantScope then polls until it's completed

func (DeploymentsClient) ValidateThenPoll

ValidateThenPoll performs Validate then polls until it's completed

func (DeploymentsClient) WhatIf

WhatIf ...

func (DeploymentsClient) WhatIfAtManagementGroupScope

WhatIfAtManagementGroupScope ...

func (DeploymentsClient) WhatIfAtManagementGroupScopeThenPoll

func (c DeploymentsClient) WhatIfAtManagementGroupScopeThenPoll(ctx context.Context, id Providers2DeploymentId, input ScopedDeploymentWhatIf) error

WhatIfAtManagementGroupScopeThenPoll performs WhatIfAtManagementGroupScope then polls until it's completed

func (DeploymentsClient) WhatIfAtSubscriptionScope

WhatIfAtSubscriptionScope ...

func (DeploymentsClient) WhatIfAtSubscriptionScopeThenPoll

func (c DeploymentsClient) WhatIfAtSubscriptionScopeThenPoll(ctx context.Context, id ProviderDeploymentId, input DeploymentWhatIf) error

WhatIfAtSubscriptionScopeThenPoll performs WhatIfAtSubscriptionScope then polls until it's completed

func (DeploymentsClient) WhatIfAtTenantScope

WhatIfAtTenantScope ...

func (DeploymentsClient) WhatIfAtTenantScopeThenPoll

func (c DeploymentsClient) WhatIfAtTenantScopeThenPoll(ctx context.Context, id DeploymentId, input ScopedDeploymentWhatIf) error

WhatIfAtTenantScopeThenPoll performs WhatIfAtTenantScope then polls until it's completed

func (DeploymentsClient) WhatIfThenPoll

WhatIfThenPoll performs WhatIf then polls until it's completed

type ErrorAdditionalInfo

type ErrorAdditionalInfo struct {
	Info *interface{} `json:"info,omitempty"`
	Type *string      `json:"type,omitempty"`
}

type ErrorResponse

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

type ExportTemplateAtManagementGroupScopeOperationResponse

type ExportTemplateAtManagementGroupScopeOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DeploymentExportResult
}

type ExportTemplateAtScopeOperationResponse

type ExportTemplateAtScopeOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DeploymentExportResult
}

type ExportTemplateAtSubscriptionScopeOperationResponse

type ExportTemplateAtSubscriptionScopeOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DeploymentExportResult
}

type ExportTemplateAtTenantScopeOperationResponse

type ExportTemplateAtTenantScopeOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DeploymentExportResult
}

type ExportTemplateOperationResponse

type ExportTemplateOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DeploymentExportResult
}

type ExpressionEvaluationOptions

type ExpressionEvaluationOptions struct {
	Scope *ExpressionEvaluationOptionsScopeType `json:"scope,omitempty"`
}

type ExpressionEvaluationOptionsScopeType

type ExpressionEvaluationOptionsScopeType string
const (
	ExpressionEvaluationOptionsScopeTypeInner        ExpressionEvaluationOptionsScopeType = "Inner"
	ExpressionEvaluationOptionsScopeTypeNotSpecified ExpressionEvaluationOptionsScopeType = "NotSpecified"
	ExpressionEvaluationOptionsScopeTypeOuter        ExpressionEvaluationOptionsScopeType = "Outer"
)

func (*ExpressionEvaluationOptionsScopeType) UnmarshalJSON

func (s *ExpressionEvaluationOptionsScopeType) UnmarshalJSON(bytes []byte) error

type GetAtManagementGroupScopeOperationResponse

type GetAtManagementGroupScopeOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DeploymentExtended
}

type GetAtScopeOperationResponse

type GetAtScopeOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DeploymentExtended
}

type GetAtSubscriptionScopeOperationResponse

type GetAtSubscriptionScopeOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DeploymentExtended
}

type GetAtTenantScopeOperationResponse

type GetAtTenantScopeOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DeploymentExtended
}

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DeploymentExtended
}

type KeyVaultParameterReference

type KeyVaultParameterReference struct {
	KeyVault      KeyVaultReference `json:"keyVault"`
	SecretName    string            `json:"secretName"`
	SecretVersion *string           `json:"secretVersion,omitempty"`
}

type KeyVaultReference

type KeyVaultReference struct {
	Id string `json:"id"`
}

type ListAtManagementGroupScopeCompleteResult

type ListAtManagementGroupScopeCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []DeploymentExtended
}

type ListAtManagementGroupScopeOperationOptions

type ListAtManagementGroupScopeOperationOptions struct {
	Filter *string
	Top    *int64
}

func DefaultListAtManagementGroupScopeOperationOptions

func DefaultListAtManagementGroupScopeOperationOptions() ListAtManagementGroupScopeOperationOptions

func (ListAtManagementGroupScopeOperationOptions) ToHeaders

func (ListAtManagementGroupScopeOperationOptions) ToOData

func (ListAtManagementGroupScopeOperationOptions) ToQuery

type ListAtManagementGroupScopeOperationResponse

type ListAtManagementGroupScopeOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]DeploymentExtended
}

type ListAtScopeCompleteResult

type ListAtScopeCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []DeploymentExtended
}

type ListAtScopeOperationOptions

type ListAtScopeOperationOptions struct {
	Filter *string
	Top    *int64
}

func DefaultListAtScopeOperationOptions

func DefaultListAtScopeOperationOptions() ListAtScopeOperationOptions

func (ListAtScopeOperationOptions) ToHeaders

func (ListAtScopeOperationOptions) ToOData

func (ListAtScopeOperationOptions) ToQuery

type ListAtScopeOperationResponse

type ListAtScopeOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]DeploymentExtended
}

type ListAtSubscriptionScopeCompleteResult

type ListAtSubscriptionScopeCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []DeploymentExtended
}

type ListAtSubscriptionScopeOperationOptions

type ListAtSubscriptionScopeOperationOptions struct {
	Filter *string
	Top    *int64
}

func DefaultListAtSubscriptionScopeOperationOptions

func DefaultListAtSubscriptionScopeOperationOptions() ListAtSubscriptionScopeOperationOptions

func (ListAtSubscriptionScopeOperationOptions) ToHeaders

func (ListAtSubscriptionScopeOperationOptions) ToOData

func (ListAtSubscriptionScopeOperationOptions) ToQuery

type ListAtSubscriptionScopeOperationResponse

type ListAtSubscriptionScopeOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]DeploymentExtended
}

type ListAtTenantScopeCompleteResult

type ListAtTenantScopeCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []DeploymentExtended
}

type ListAtTenantScopeOperationOptions

type ListAtTenantScopeOperationOptions struct {
	Filter *string
	Top    *int64
}

func DefaultListAtTenantScopeOperationOptions

func DefaultListAtTenantScopeOperationOptions() ListAtTenantScopeOperationOptions

func (ListAtTenantScopeOperationOptions) ToHeaders

func (ListAtTenantScopeOperationOptions) ToOData

func (ListAtTenantScopeOperationOptions) ToQuery

type ListAtTenantScopeOperationResponse

type ListAtTenantScopeOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]DeploymentExtended
}

type ListByResourceGroupCompleteResult

type ListByResourceGroupCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []DeploymentExtended
}

type ListByResourceGroupOperationOptions

type ListByResourceGroupOperationOptions struct {
	Filter *string
	Top    *int64
}

func DefaultListByResourceGroupOperationOptions

func DefaultListByResourceGroupOperationOptions() ListByResourceGroupOperationOptions

func (ListByResourceGroupOperationOptions) ToHeaders

func (ListByResourceGroupOperationOptions) ToOData

func (ListByResourceGroupOperationOptions) ToQuery

type ListByResourceGroupOperationResponse

type ListByResourceGroupOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]DeploymentExtended
}

type OnErrorDeployment

type OnErrorDeployment struct {
	DeploymentName *string                `json:"deploymentName,omitempty"`
	Type           *OnErrorDeploymentType `json:"type,omitempty"`
}

type OnErrorDeploymentExtended

type OnErrorDeploymentExtended struct {
	DeploymentName    *string                `json:"deploymentName,omitempty"`
	ProvisioningState *string                `json:"provisioningState,omitempty"`
	Type              *OnErrorDeploymentType `json:"type,omitempty"`
}

type OnErrorDeploymentType

type OnErrorDeploymentType string
const (
	OnErrorDeploymentTypeLastSuccessful     OnErrorDeploymentType = "LastSuccessful"
	OnErrorDeploymentTypeSpecificDeployment OnErrorDeploymentType = "SpecificDeployment"
)

func (*OnErrorDeploymentType) UnmarshalJSON

func (s *OnErrorDeploymentType) UnmarshalJSON(bytes []byte) error
type ParametersLink struct {
	ContentVersion *string `json:"contentVersion,omitempty"`
	Uri            string  `json:"uri"`
}

type PropertyChangeType

type PropertyChangeType string
const (
	PropertyChangeTypeArray    PropertyChangeType = "Array"
	PropertyChangeTypeCreate   PropertyChangeType = "Create"
	PropertyChangeTypeDelete   PropertyChangeType = "Delete"
	PropertyChangeTypeModify   PropertyChangeType = "Modify"
	PropertyChangeTypeNoEffect PropertyChangeType = "NoEffect"
)

func (*PropertyChangeType) UnmarshalJSON

func (s *PropertyChangeType) UnmarshalJSON(bytes []byte) error

type Provider

type Provider struct {
	Id                                *string                            `json:"id,omitempty"`
	Namespace                         *string                            `json:"namespace,omitempty"`
	ProviderAuthorizationConsentState *ProviderAuthorizationConsentState `json:"providerAuthorizationConsentState,omitempty"`
	RegistrationPolicy                *string                            `json:"registrationPolicy,omitempty"`
	RegistrationState                 *string                            `json:"registrationState,omitempty"`
	ResourceTypes                     *[]ProviderResourceType            `json:"resourceTypes,omitempty"`
}

type ProviderAuthorizationConsentState

type ProviderAuthorizationConsentState string
const (
	ProviderAuthorizationConsentStateConsented    ProviderAuthorizationConsentState = "Consented"
	ProviderAuthorizationConsentStateNotRequired  ProviderAuthorizationConsentState = "NotRequired"
	ProviderAuthorizationConsentStateNotSpecified ProviderAuthorizationConsentState = "NotSpecified"
	ProviderAuthorizationConsentStateRequired     ProviderAuthorizationConsentState = "Required"
)

func (*ProviderAuthorizationConsentState) UnmarshalJSON

func (s *ProviderAuthorizationConsentState) UnmarshalJSON(bytes []byte) error

type ProviderDeploymentId

type ProviderDeploymentId struct {
	SubscriptionId string
	DeploymentName string
}

ProviderDeploymentId is a struct representing the Resource ID for a Provider Deployment

func NewProviderDeploymentID

func NewProviderDeploymentID(subscriptionId string, deploymentName string) ProviderDeploymentId

NewProviderDeploymentID returns a new ProviderDeploymentId struct

func ParseProviderDeploymentID

func ParseProviderDeploymentID(input string) (*ProviderDeploymentId, error)

ParseProviderDeploymentID parses 'input' into a ProviderDeploymentId

func ParseProviderDeploymentIDInsensitively

func ParseProviderDeploymentIDInsensitively(input string) (*ProviderDeploymentId, error)

ParseProviderDeploymentIDInsensitively parses 'input' case-insensitively into a ProviderDeploymentId note: this method should only be used for API response data and not user input

func (*ProviderDeploymentId) FromParseResult

func (id *ProviderDeploymentId) FromParseResult(input resourceids.ParseResult) error

func (ProviderDeploymentId) ID

func (id ProviderDeploymentId) ID() string

ID returns the formatted Provider Deployment ID

func (ProviderDeploymentId) Segments

func (id ProviderDeploymentId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Provider Deployment ID

func (ProviderDeploymentId) String

func (id ProviderDeploymentId) String() string

String returns a human-readable description of this Provider Deployment ID

type ProviderExtendedLocation

type ProviderExtendedLocation struct {
	ExtendedLocations *[]string `json:"extendedLocations,omitempty"`
	Location          *string   `json:"location,omitempty"`
	Type              *string   `json:"type,omitempty"`
}

type ProviderResourceType

type ProviderResourceType struct {
	Aliases           *[]Alias                    `json:"aliases,omitempty"`
	ApiProfiles       *[]ApiProfile               `json:"apiProfiles,omitempty"`
	ApiVersions       *[]string                   `json:"apiVersions,omitempty"`
	Capabilities      *string                     `json:"capabilities,omitempty"`
	DefaultApiVersion *string                     `json:"defaultApiVersion,omitempty"`
	LocationMappings  *[]ProviderExtendedLocation `json:"locationMappings,omitempty"`
	Locations         *[]string                   `json:"locations,omitempty"`
	Properties        *map[string]string          `json:"properties,omitempty"`
	ResourceType      *string                     `json:"resourceType,omitempty"`
	ZoneMappings      *[]ZoneMapping              `json:"zoneMappings,omitempty"`
}

type Providers2DeploymentId

type Providers2DeploymentId struct {
	GroupId        string
	DeploymentName string
}

Providers2DeploymentId is a struct representing the Resource ID for a Providers 2 Deployment

func NewProviders2DeploymentID

func NewProviders2DeploymentID(groupId string, deploymentName string) Providers2DeploymentId

NewProviders2DeploymentID returns a new Providers2DeploymentId struct

func ParseProviders2DeploymentID

func ParseProviders2DeploymentID(input string) (*Providers2DeploymentId, error)

ParseProviders2DeploymentID parses 'input' into a Providers2DeploymentId

func ParseProviders2DeploymentIDInsensitively

func ParseProviders2DeploymentIDInsensitively(input string) (*Providers2DeploymentId, error)

ParseProviders2DeploymentIDInsensitively parses 'input' case-insensitively into a Providers2DeploymentId note: this method should only be used for API response data and not user input

func (*Providers2DeploymentId) FromParseResult

func (id *Providers2DeploymentId) FromParseResult(input resourceids.ParseResult) error

func (Providers2DeploymentId) ID

ID returns the formatted Providers 2 Deployment ID

func (Providers2DeploymentId) Segments

func (id Providers2DeploymentId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Providers 2 Deployment ID

func (Providers2DeploymentId) String

func (id Providers2DeploymentId) String() string

String returns a human-readable description of this Providers 2 Deployment ID

type ProvisioningState

type ProvisioningState string
const (
	ProvisioningStateAccepted     ProvisioningState = "Accepted"
	ProvisioningStateCanceled     ProvisioningState = "Canceled"
	ProvisioningStateCreated      ProvisioningState = "Created"
	ProvisioningStateCreating     ProvisioningState = "Creating"
	ProvisioningStateDeleted      ProvisioningState = "Deleted"
	ProvisioningStateDeleting     ProvisioningState = "Deleting"
	ProvisioningStateFailed       ProvisioningState = "Failed"
	ProvisioningStateNotSpecified ProvisioningState = "NotSpecified"
	ProvisioningStateReady        ProvisioningState = "Ready"
	ProvisioningStateRunning      ProvisioningState = "Running"
	ProvisioningStateSucceeded    ProvisioningState = "Succeeded"
	ProvisioningStateUpdating     ProvisioningState = "Updating"
)

func (*ProvisioningState) UnmarshalJSON

func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error

type ResourceGroupProviderDeploymentId

type ResourceGroupProviderDeploymentId struct {
	SubscriptionId    string
	ResourceGroupName string
	DeploymentName    string
}

ResourceGroupProviderDeploymentId is a struct representing the Resource ID for a Resource Group Provider Deployment

func NewResourceGroupProviderDeploymentID

func NewResourceGroupProviderDeploymentID(subscriptionId string, resourceGroupName string, deploymentName string) ResourceGroupProviderDeploymentId

NewResourceGroupProviderDeploymentID returns a new ResourceGroupProviderDeploymentId struct

func ParseResourceGroupProviderDeploymentID

func ParseResourceGroupProviderDeploymentID(input string) (*ResourceGroupProviderDeploymentId, error)

ParseResourceGroupProviderDeploymentID parses 'input' into a ResourceGroupProviderDeploymentId

func ParseResourceGroupProviderDeploymentIDInsensitively

func ParseResourceGroupProviderDeploymentIDInsensitively(input string) (*ResourceGroupProviderDeploymentId, error)

ParseResourceGroupProviderDeploymentIDInsensitively parses 'input' case-insensitively into a ResourceGroupProviderDeploymentId note: this method should only be used for API response data and not user input

func (*ResourceGroupProviderDeploymentId) FromParseResult

func (ResourceGroupProviderDeploymentId) ID

ID returns the formatted Resource Group Provider Deployment ID

func (ResourceGroupProviderDeploymentId) Segments

Segments returns a slice of Resource ID Segments which comprise this Resource Group Provider Deployment ID

func (ResourceGroupProviderDeploymentId) String

String returns a human-readable description of this Resource Group Provider Deployment ID

type ResourceReference

type ResourceReference struct {
	Id *string `json:"id,omitempty"`
}

type ScopedDeployment

type ScopedDeployment struct {
	Location   string               `json:"location"`
	Properties DeploymentProperties `json:"properties"`
	Tags       *map[string]string   `json:"tags,omitempty"`
}

type ScopedDeploymentId

type ScopedDeploymentId struct {
	Scope          string
	DeploymentName string
}

ScopedDeploymentId is a struct representing the Resource ID for a Scoped Deployment

func NewScopedDeploymentID

func NewScopedDeploymentID(scope string, deploymentName string) ScopedDeploymentId

NewScopedDeploymentID returns a new ScopedDeploymentId struct

func ParseScopedDeploymentID

func ParseScopedDeploymentID(input string) (*ScopedDeploymentId, error)

ParseScopedDeploymentID parses 'input' into a ScopedDeploymentId

func ParseScopedDeploymentIDInsensitively

func ParseScopedDeploymentIDInsensitively(input string) (*ScopedDeploymentId, error)

ParseScopedDeploymentIDInsensitively parses 'input' case-insensitively into a ScopedDeploymentId note: this method should only be used for API response data and not user input

func (*ScopedDeploymentId) FromParseResult

func (id *ScopedDeploymentId) FromParseResult(input resourceids.ParseResult) error

func (ScopedDeploymentId) ID

func (id ScopedDeploymentId) ID() string

ID returns the formatted Scoped Deployment ID

func (ScopedDeploymentId) Segments

func (id ScopedDeploymentId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Scoped Deployment ID

func (ScopedDeploymentId) String

func (id ScopedDeploymentId) String() string

String returns a human-readable description of this Scoped Deployment ID

type ScopedDeploymentWhatIf

type ScopedDeploymentWhatIf struct {
	Location   string                     `json:"location"`
	Properties DeploymentWhatIfProperties `json:"properties"`
}

type TemplateHashResult

type TemplateHashResult struct {
	MinifiedTemplate *string `json:"minifiedTemplate,omitempty"`
	TemplateHash     *string `json:"templateHash,omitempty"`
}
type TemplateLink struct {
	ContentVersion *string `json:"contentVersion,omitempty"`
	Id             *string `json:"id,omitempty"`
	QueryString    *string `json:"queryString,omitempty"`
	RelativePath   *string `json:"relativePath,omitempty"`
	Uri            *string `json:"uri,omitempty"`
}

type ValidateAtManagementGroupScopeOperationResponse

type ValidateAtManagementGroupScopeOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DeploymentValidateResult
}

type ValidateAtScopeOperationResponse

type ValidateAtScopeOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DeploymentValidateResult
}

type ValidateAtSubscriptionScopeOperationResponse

type ValidateAtSubscriptionScopeOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DeploymentValidateResult
}

type ValidateAtTenantScopeOperationResponse

type ValidateAtTenantScopeOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DeploymentValidateResult
}

type ValidateOperationResponse

type ValidateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DeploymentValidateResult
}

type WhatIfAtManagementGroupScopeOperationResponse

type WhatIfAtManagementGroupScopeOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *WhatIfOperationResult
}

type WhatIfAtSubscriptionScopeOperationResponse

type WhatIfAtSubscriptionScopeOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *WhatIfOperationResult
}

type WhatIfAtTenantScopeOperationResponse

type WhatIfAtTenantScopeOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *WhatIfOperationResult
}

type WhatIfChange

type WhatIfChange struct {
	After             *interface{}            `json:"after,omitempty"`
	Before            *interface{}            `json:"before,omitempty"`
	ChangeType        ChangeType              `json:"changeType"`
	Delta             *[]WhatIfPropertyChange `json:"delta,omitempty"`
	ResourceId        string                  `json:"resourceId"`
	UnsupportedReason *string                 `json:"unsupportedReason,omitempty"`
}

type WhatIfOperationProperties

type WhatIfOperationProperties struct {
	Changes *[]WhatIfChange `json:"changes,omitempty"`
}

type WhatIfOperationResponse

type WhatIfOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *WhatIfOperationResult
}

type WhatIfOperationResult

type WhatIfOperationResult struct {
	Error      *ErrorResponse             `json:"error,omitempty"`
	Properties *WhatIfOperationProperties `json:"properties,omitempty"`
	Status     *string                    `json:"status,omitempty"`
}

type WhatIfPropertyChange

type WhatIfPropertyChange struct {
	After              *interface{}            `json:"after,omitempty"`
	Before             *interface{}            `json:"before,omitempty"`
	Children           *[]WhatIfPropertyChange `json:"children,omitempty"`
	Path               string                  `json:"path"`
	PropertyChangeType PropertyChangeType      `json:"propertyChangeType"`
}

type WhatIfResultFormat

type WhatIfResultFormat string
const (
	WhatIfResultFormatFullResourcePayloads WhatIfResultFormat = "FullResourcePayloads"
	WhatIfResultFormatResourceIdOnly       WhatIfResultFormat = "ResourceIdOnly"
)

func (*WhatIfResultFormat) UnmarshalJSON

func (s *WhatIfResultFormat) UnmarshalJSON(bytes []byte) error

type ZoneMapping

type ZoneMapping struct {
	Location *string       `json:"location,omitempty"`
	Zones    *zones.Schema `json:"zones,omitempty"`
}

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL