deploymentstacks

package
v0.20241206.1180327 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: MPL-2.0 Imports: 14 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/resources/2024-03-01/deploymentstacks Documentation

The deploymentstacks SDK allows for interaction with Azure Resource Manager resources (API Version 2024-03-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/2024-03-01/deploymentstacks"

Client Initialization

client := deploymentstacks.NewDeploymentStacksClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: DeploymentStacksClient.CreateOrUpdateAtManagementGroup

ctx := context.TODO()
id := deploymentstacks.NewProviders2DeploymentStackID("managementGroupId", "deploymentStackName")

payload := deploymentstacks.DeploymentStack{
	// ...
}


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

Example Usage: DeploymentStacksClient.CreateOrUpdateAtResourceGroup

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

payload := deploymentstacks.DeploymentStack{
	// ...
}


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

Example Usage: DeploymentStacksClient.CreateOrUpdateAtSubscription

ctx := context.TODO()
id := deploymentstacks.NewDeploymentStackID("12345678-1234-9876-4563-123456789012", "deploymentStackName")

payload := deploymentstacks.DeploymentStack{
	// ...
}


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

Example Usage: DeploymentStacksClient.DeleteAtManagementGroup

ctx := context.TODO()
id := deploymentstacks.NewProviders2DeploymentStackID("managementGroupId", "deploymentStackName")

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

Example Usage: DeploymentStacksClient.DeleteAtResourceGroup

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

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

Example Usage: DeploymentStacksClient.DeleteAtSubscription

ctx := context.TODO()
id := deploymentstacks.NewDeploymentStackID("12345678-1234-9876-4563-123456789012", "deploymentStackName")

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

Example Usage: DeploymentStacksClient.ExportTemplateAtManagementGroup

ctx := context.TODO()
id := deploymentstacks.NewProviders2DeploymentStackID("managementGroupId", "deploymentStackName")

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

Example Usage: DeploymentStacksClient.ExportTemplateAtResourceGroup

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

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

Example Usage: DeploymentStacksClient.ExportTemplateAtSubscription

ctx := context.TODO()
id := deploymentstacks.NewDeploymentStackID("12345678-1234-9876-4563-123456789012", "deploymentStackName")

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

Example Usage: DeploymentStacksClient.GetAtManagementGroup

ctx := context.TODO()
id := deploymentstacks.NewProviders2DeploymentStackID("managementGroupId", "deploymentStackName")

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

Example Usage: DeploymentStacksClient.GetAtResourceGroup

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

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

Example Usage: DeploymentStacksClient.GetAtSubscription

ctx := context.TODO()
id := deploymentstacks.NewDeploymentStackID("12345678-1234-9876-4563-123456789012", "deploymentStackName")

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

Example Usage: DeploymentStacksClient.ListAtManagementGroup

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

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

Example Usage: DeploymentStacksClient.ListAtResourceGroup

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

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

Example Usage: DeploymentStacksClient.ListAtSubscription

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

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

Example Usage: DeploymentStacksClient.ValidateStackAtManagementGroup

ctx := context.TODO()
id := deploymentstacks.NewProviders2DeploymentStackID("managementGroupId", "deploymentStackName")

payload := deploymentstacks.DeploymentStack{
	// ...
}


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

Example Usage: DeploymentStacksClient.ValidateStackAtResourceGroup

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

payload := deploymentstacks.DeploymentStack{
	// ...
}


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

Example Usage: DeploymentStacksClient.ValidateStackAtSubscription

ctx := context.TODO()
id := deploymentstacks.NewDeploymentStackID("12345678-1234-9876-4563-123456789012", "deploymentStackName")

payload := deploymentstacks.DeploymentStack{
	// ...
}


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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForDenySettingsMode

func PossibleValuesForDenySettingsMode() []string

func PossibleValuesForDenyStatusMode

func PossibleValuesForDenyStatusMode() []string

func PossibleValuesForDeploymentStackProvisioningState

func PossibleValuesForDeploymentStackProvisioningState() []string

func PossibleValuesForDeploymentStacksDeleteDetachEnum

func PossibleValuesForDeploymentStacksDeleteDetachEnum() []string

func PossibleValuesForResourceStatusMode

func PossibleValuesForResourceStatusMode() []string

func PossibleValuesForUnmanageActionManagementGroupMode

func PossibleValuesForUnmanageActionManagementGroupMode() []string

func PossibleValuesForUnmanageActionResourceGroupMode

func PossibleValuesForUnmanageActionResourceGroupMode() []string

func PossibleValuesForUnmanageActionResourceMode

func PossibleValuesForUnmanageActionResourceMode() []string

func ValidateDeploymentStackID

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

ValidateDeploymentStackID checks that 'input' can be parsed as a Deployment Stack ID

func ValidateProviderDeploymentStackID

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

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

func ValidateProviders2DeploymentStackID

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

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

Types

type ActionOnUnmanage

type ActionOnUnmanage struct {
	ManagementGroups *DeploymentStacksDeleteDetachEnum `json:"managementGroups,omitempty"`
	ResourceGroups   *DeploymentStacksDeleteDetachEnum `json:"resourceGroups,omitempty"`
	Resources        DeploymentStacksDeleteDetachEnum  `json:"resources"`
}

type CreateOrUpdateAtManagementGroupOperationResponse

type CreateOrUpdateAtManagementGroupOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DeploymentStack
}

type CreateOrUpdateAtResourceGroupOperationResponse

type CreateOrUpdateAtResourceGroupOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DeploymentStack
}

type CreateOrUpdateAtSubscriptionOperationResponse

type CreateOrUpdateAtSubscriptionOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DeploymentStack
}

type DeleteAtManagementGroupOperationOptions

type DeleteAtManagementGroupOperationOptions struct {
	BypassStackOutOfSyncError      *bool
	UnmanageActionManagementGroups *UnmanageActionManagementGroupMode
	UnmanageActionResourceGroups   *UnmanageActionResourceGroupMode
	UnmanageActionResources        *UnmanageActionResourceMode
}

func DefaultDeleteAtManagementGroupOperationOptions

func DefaultDeleteAtManagementGroupOperationOptions() DeleteAtManagementGroupOperationOptions

func (DeleteAtManagementGroupOperationOptions) ToHeaders

func (DeleteAtManagementGroupOperationOptions) ToOData

func (DeleteAtManagementGroupOperationOptions) ToQuery

type DeleteAtManagementGroupOperationResponse

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

type DeleteAtResourceGroupOperationOptions

type DeleteAtResourceGroupOperationOptions struct {
	BypassStackOutOfSyncError      *bool
	UnmanageActionManagementGroups *UnmanageActionManagementGroupMode
	UnmanageActionResourceGroups   *UnmanageActionResourceGroupMode
	UnmanageActionResources        *UnmanageActionResourceMode
}

func DefaultDeleteAtResourceGroupOperationOptions

func DefaultDeleteAtResourceGroupOperationOptions() DeleteAtResourceGroupOperationOptions

func (DeleteAtResourceGroupOperationOptions) ToHeaders

func (DeleteAtResourceGroupOperationOptions) ToOData

func (DeleteAtResourceGroupOperationOptions) ToQuery

type DeleteAtResourceGroupOperationResponse

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

type DeleteAtSubscriptionOperationOptions

type DeleteAtSubscriptionOperationOptions struct {
	BypassStackOutOfSyncError      *bool
	UnmanageActionManagementGroups *UnmanageActionManagementGroupMode
	UnmanageActionResourceGroups   *UnmanageActionResourceGroupMode
	UnmanageActionResources        *UnmanageActionResourceMode
}

func DefaultDeleteAtSubscriptionOperationOptions

func DefaultDeleteAtSubscriptionOperationOptions() DeleteAtSubscriptionOperationOptions

func (DeleteAtSubscriptionOperationOptions) ToHeaders

func (DeleteAtSubscriptionOperationOptions) ToOData

func (DeleteAtSubscriptionOperationOptions) ToQuery

type DeleteAtSubscriptionOperationResponse

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

type DenySettings

type DenySettings struct {
	ApplyToChildScopes *bool            `json:"applyToChildScopes,omitempty"`
	ExcludedActions    *[]string        `json:"excludedActions,omitempty"`
	ExcludedPrincipals *[]string        `json:"excludedPrincipals,omitempty"`
	Mode               DenySettingsMode `json:"mode"`
}

type DenySettingsMode

type DenySettingsMode string
const (
	DenySettingsModeDenyDelete         DenySettingsMode = "denyDelete"
	DenySettingsModeDenyWriteAndDelete DenySettingsMode = "denyWriteAndDelete"
	DenySettingsModeNone               DenySettingsMode = "none"
)

func (*DenySettingsMode) UnmarshalJSON

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

type DenyStatusMode

type DenyStatusMode string
const (
	DenyStatusModeDenyDelete         DenyStatusMode = "denyDelete"
	DenyStatusModeDenyWriteAndDelete DenyStatusMode = "denyWriteAndDelete"
	DenyStatusModeInapplicable       DenyStatusMode = "inapplicable"
	DenyStatusModeNone               DenyStatusMode = "none"
	DenyStatusModeNotSupported       DenyStatusMode = "notSupported"
	DenyStatusModeRemovedBySystem    DenyStatusMode = "removedBySystem"
)

func (*DenyStatusMode) UnmarshalJSON

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

type DeploymentParameter

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

type DeploymentStack

type DeploymentStack struct {
	Id         *string                    `json:"id,omitempty"`
	Location   *string                    `json:"location,omitempty"`
	Name       *string                    `json:"name,omitempty"`
	Properties *DeploymentStackProperties `json:"properties,omitempty"`
	SystemData *systemdata.SystemData     `json:"systemData,omitempty"`
	Tags       *map[string]string         `json:"tags,omitempty"`
	Type       *string                    `json:"type,omitempty"`
}

type DeploymentStackId

type DeploymentStackId struct {
	SubscriptionId      string
	DeploymentStackName string
}

DeploymentStackId is a struct representing the Resource ID for a Deployment Stack

func NewDeploymentStackID

func NewDeploymentStackID(subscriptionId string, deploymentStackName string) DeploymentStackId

NewDeploymentStackID returns a new DeploymentStackId struct

func ParseDeploymentStackID

func ParseDeploymentStackID(input string) (*DeploymentStackId, error)

ParseDeploymentStackID parses 'input' into a DeploymentStackId

func ParseDeploymentStackIDInsensitively

func ParseDeploymentStackIDInsensitively(input string) (*DeploymentStackId, error)

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

func (*DeploymentStackId) FromParseResult

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

func (DeploymentStackId) ID

func (id DeploymentStackId) ID() string

ID returns the formatted Deployment Stack ID

func (DeploymentStackId) Segments

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

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

func (DeploymentStackId) String

func (id DeploymentStackId) String() string

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

type DeploymentStackOperationPredicate

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

func (DeploymentStackOperationPredicate) Matches

type DeploymentStackProperties

type DeploymentStackProperties struct {
	ActionOnUnmanage          ActionOnUnmanage                  `json:"actionOnUnmanage"`
	BypassStackOutOfSyncError *bool                             `json:"bypassStackOutOfSyncError,omitempty"`
	CorrelationId             *string                           `json:"correlationId,omitempty"`
	DebugSetting              *DeploymentStacksDebugSetting     `json:"debugSetting,omitempty"`
	DeletedResources          *[]ResourceReference              `json:"deletedResources,omitempty"`
	DenySettings              DenySettings                      `json:"denySettings"`
	DeploymentId              *string                           `json:"deploymentId,omitempty"`
	DeploymentScope           *string                           `json:"deploymentScope,omitempty"`
	Description               *string                           `json:"description,omitempty"`
	DetachedResources         *[]ResourceReference              `json:"detachedResources,omitempty"`
	Duration                  *string                           `json:"duration,omitempty"`
	Error                     *ErrorDetail                      `json:"error,omitempty"`
	FailedResources           *[]ResourceReferenceExtended      `json:"failedResources,omitempty"`
	Outputs                   *interface{}                      `json:"outputs,omitempty"`
	Parameters                *map[string]DeploymentParameter   `json:"parameters,omitempty"`
	ParametersLink            *DeploymentStacksParametersLink   `json:"parametersLink,omitempty"`
	ProvisioningState         *DeploymentStackProvisioningState `json:"provisioningState,omitempty"`
	Resources                 *[]ManagedResourceReference       `json:"resources,omitempty"`
	Template                  *interface{}                      `json:"template,omitempty"`
	TemplateLink              *DeploymentStacksTemplateLink     `json:"templateLink,omitempty"`
}

type DeploymentStackProvisioningState

type DeploymentStackProvisioningState string
const (
	DeploymentStackProvisioningStateCanceled                DeploymentStackProvisioningState = "canceled"
	DeploymentStackProvisioningStateCanceling               DeploymentStackProvisioningState = "canceling"
	DeploymentStackProvisioningStateCreating                DeploymentStackProvisioningState = "creating"
	DeploymentStackProvisioningStateDeleting                DeploymentStackProvisioningState = "deleting"
	DeploymentStackProvisioningStateDeletingResources       DeploymentStackProvisioningState = "deletingResources"
	DeploymentStackProvisioningStateDeploying               DeploymentStackProvisioningState = "deploying"
	DeploymentStackProvisioningStateFailed                  DeploymentStackProvisioningState = "failed"
	DeploymentStackProvisioningStateSucceeded               DeploymentStackProvisioningState = "succeeded"
	DeploymentStackProvisioningStateUpdatingDenyAssignments DeploymentStackProvisioningState = "updatingDenyAssignments"
	DeploymentStackProvisioningStateValidating              DeploymentStackProvisioningState = "validating"
	DeploymentStackProvisioningStateWaiting                 DeploymentStackProvisioningState = "waiting"
)

func (*DeploymentStackProvisioningState) UnmarshalJSON

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

type DeploymentStackTemplateDefinition

type DeploymentStackTemplateDefinition struct {
	Template     *interface{}                  `json:"template,omitempty"`
	TemplateLink *DeploymentStacksTemplateLink `json:"templateLink,omitempty"`
}

type DeploymentStackValidateProperties

type DeploymentStackValidateProperties struct {
	ActionOnUnmanage   *ActionOnUnmanage               `json:"actionOnUnmanage,omitempty"`
	CorrelationId      *string                         `json:"correlationId,omitempty"`
	DenySettings       *DenySettings                   `json:"denySettings,omitempty"`
	DeploymentScope    *string                         `json:"deploymentScope,omitempty"`
	Description        *string                         `json:"description,omitempty"`
	Parameters         *map[string]DeploymentParameter `json:"parameters,omitempty"`
	TemplateLink       *DeploymentStacksTemplateLink   `json:"templateLink,omitempty"`
	ValidatedResources *[]ResourceReference            `json:"validatedResources,omitempty"`
}

type DeploymentStackValidateResult

type DeploymentStackValidateResult struct {
	Error      *ErrorDetail                       `json:"error,omitempty"`
	Id         *string                            `json:"id,omitempty"`
	Name       *string                            `json:"name,omitempty"`
	Properties *DeploymentStackValidateProperties `json:"properties,omitempty"`
	SystemData *systemdata.SystemData             `json:"systemData,omitempty"`
	Type       *string                            `json:"type,omitempty"`
}

type DeploymentStacksClient

type DeploymentStacksClient struct {
	Client *resourcemanager.Client
}

func NewDeploymentStacksClientWithBaseURI

func NewDeploymentStacksClientWithBaseURI(sdkApi sdkEnv.Api) (*DeploymentStacksClient, error)

func (DeploymentStacksClient) CreateOrUpdateAtManagementGroup

CreateOrUpdateAtManagementGroup ...

func (DeploymentStacksClient) CreateOrUpdateAtManagementGroupThenPoll

func (c DeploymentStacksClient) CreateOrUpdateAtManagementGroupThenPoll(ctx context.Context, id Providers2DeploymentStackId, input DeploymentStack) error

CreateOrUpdateAtManagementGroupThenPoll performs CreateOrUpdateAtManagementGroup then polls until it's completed

func (DeploymentStacksClient) CreateOrUpdateAtResourceGroup

CreateOrUpdateAtResourceGroup ...

func (DeploymentStacksClient) CreateOrUpdateAtResourceGroupThenPoll

func (c DeploymentStacksClient) CreateOrUpdateAtResourceGroupThenPoll(ctx context.Context, id ProviderDeploymentStackId, input DeploymentStack) error

CreateOrUpdateAtResourceGroupThenPoll performs CreateOrUpdateAtResourceGroup then polls until it's completed

func (DeploymentStacksClient) CreateOrUpdateAtSubscription

CreateOrUpdateAtSubscription ...

func (DeploymentStacksClient) CreateOrUpdateAtSubscriptionThenPoll

func (c DeploymentStacksClient) CreateOrUpdateAtSubscriptionThenPoll(ctx context.Context, id DeploymentStackId, input DeploymentStack) error

CreateOrUpdateAtSubscriptionThenPoll performs CreateOrUpdateAtSubscription then polls until it's completed

func (DeploymentStacksClient) DeleteAtManagementGroup

DeleteAtManagementGroup ...

func (DeploymentStacksClient) DeleteAtManagementGroupThenPoll

DeleteAtManagementGroupThenPoll performs DeleteAtManagementGroup then polls until it's completed

func (DeploymentStacksClient) DeleteAtResourceGroup

DeleteAtResourceGroup ...

func (DeploymentStacksClient) DeleteAtResourceGroupThenPoll

DeleteAtResourceGroupThenPoll performs DeleteAtResourceGroup then polls until it's completed

func (DeploymentStacksClient) DeleteAtSubscription

DeleteAtSubscription ...

func (DeploymentStacksClient) DeleteAtSubscriptionThenPoll

func (c DeploymentStacksClient) DeleteAtSubscriptionThenPoll(ctx context.Context, id DeploymentStackId, options DeleteAtSubscriptionOperationOptions) error

DeleteAtSubscriptionThenPoll performs DeleteAtSubscription then polls until it's completed

func (DeploymentStacksClient) ExportTemplateAtManagementGroup

ExportTemplateAtManagementGroup ...

func (DeploymentStacksClient) ExportTemplateAtResourceGroup

ExportTemplateAtResourceGroup ...

func (DeploymentStacksClient) ExportTemplateAtSubscription

ExportTemplateAtSubscription ...

func (DeploymentStacksClient) GetAtManagementGroup

GetAtManagementGroup ...

func (DeploymentStacksClient) GetAtResourceGroup

GetAtResourceGroup ...

func (DeploymentStacksClient) GetAtSubscription

GetAtSubscription ...

func (DeploymentStacksClient) ListAtManagementGroup

ListAtManagementGroup ...

func (DeploymentStacksClient) ListAtManagementGroupComplete

ListAtManagementGroupComplete retrieves all the results into a single object

func (DeploymentStacksClient) ListAtManagementGroupCompleteMatchingPredicate

func (c DeploymentStacksClient) ListAtManagementGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ManagementGroupId, predicate DeploymentStackOperationPredicate) (result ListAtManagementGroupCompleteResult, err error)

ListAtManagementGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (DeploymentStacksClient) ListAtResourceGroup

ListAtResourceGroup ...

func (DeploymentStacksClient) ListAtResourceGroupComplete

ListAtResourceGroupComplete retrieves all the results into a single object

func (DeploymentStacksClient) ListAtResourceGroupCompleteMatchingPredicate

func (c DeploymentStacksClient) ListAtResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate DeploymentStackOperationPredicate) (result ListAtResourceGroupCompleteResult, err error)

ListAtResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (DeploymentStacksClient) ListAtSubscription

ListAtSubscription ...

func (DeploymentStacksClient) ListAtSubscriptionComplete

ListAtSubscriptionComplete retrieves all the results into a single object

func (DeploymentStacksClient) ListAtSubscriptionCompleteMatchingPredicate

func (c DeploymentStacksClient) ListAtSubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate DeploymentStackOperationPredicate) (result ListAtSubscriptionCompleteResult, err error)

ListAtSubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (DeploymentStacksClient) ValidateStackAtManagementGroup

ValidateStackAtManagementGroup ...

func (DeploymentStacksClient) ValidateStackAtManagementGroupThenPoll

func (c DeploymentStacksClient) ValidateStackAtManagementGroupThenPoll(ctx context.Context, id Providers2DeploymentStackId, input DeploymentStack) error

ValidateStackAtManagementGroupThenPoll performs ValidateStackAtManagementGroup then polls until it's completed

func (DeploymentStacksClient) ValidateStackAtResourceGroup

ValidateStackAtResourceGroup ...

func (DeploymentStacksClient) ValidateStackAtResourceGroupThenPoll

func (c DeploymentStacksClient) ValidateStackAtResourceGroupThenPoll(ctx context.Context, id ProviderDeploymentStackId, input DeploymentStack) error

ValidateStackAtResourceGroupThenPoll performs ValidateStackAtResourceGroup then polls until it's completed

func (DeploymentStacksClient) ValidateStackAtSubscription

ValidateStackAtSubscription ...

func (DeploymentStacksClient) ValidateStackAtSubscriptionThenPoll

func (c DeploymentStacksClient) ValidateStackAtSubscriptionThenPoll(ctx context.Context, id DeploymentStackId, input DeploymentStack) error

ValidateStackAtSubscriptionThenPoll performs ValidateStackAtSubscription then polls until it's completed

type DeploymentStacksDebugSetting

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

type DeploymentStacksDeleteDetachEnum

type DeploymentStacksDeleteDetachEnum string
const (
	DeploymentStacksDeleteDetachEnumDelete DeploymentStacksDeleteDetachEnum = "delete"
	DeploymentStacksDeleteDetachEnumDetach DeploymentStacksDeleteDetachEnum = "detach"
)

func (*DeploymentStacksDeleteDetachEnum) UnmarshalJSON

func (s *DeploymentStacksDeleteDetachEnum) UnmarshalJSON(bytes []byte) error
type DeploymentStacksParametersLink struct {
	ContentVersion *string `json:"contentVersion,omitempty"`
	Uri            string  `json:"uri"`
}
type DeploymentStacksTemplateLink 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 ErrorAdditionalInfo

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

type ErrorDetail

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

type ExportTemplateAtManagementGroupOperationResponse

type ExportTemplateAtManagementGroupOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DeploymentStackTemplateDefinition
}

type ExportTemplateAtResourceGroupOperationResponse

type ExportTemplateAtResourceGroupOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DeploymentStackTemplateDefinition
}

type ExportTemplateAtSubscriptionOperationResponse

type ExportTemplateAtSubscriptionOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DeploymentStackTemplateDefinition
}

type GetAtManagementGroupOperationResponse

type GetAtManagementGroupOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DeploymentStack
}

type GetAtResourceGroupOperationResponse

type GetAtResourceGroupOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DeploymentStack
}

type GetAtSubscriptionOperationResponse

type GetAtSubscriptionOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DeploymentStack
}

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 ListAtManagementGroupCompleteResult

type ListAtManagementGroupCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []DeploymentStack
}

type ListAtManagementGroupCustomPager added in v0.20240628.1153531

type ListAtManagementGroupCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *ListAtManagementGroupCustomPager) NextPageLink() *odata.Link

type ListAtManagementGroupOperationResponse

type ListAtManagementGroupOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]DeploymentStack
}

type ListAtResourceGroupCompleteResult

type ListAtResourceGroupCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []DeploymentStack
}

type ListAtResourceGroupCustomPager added in v0.20240628.1153531

type ListAtResourceGroupCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *ListAtResourceGroupCustomPager) NextPageLink() *odata.Link

type ListAtResourceGroupOperationResponse

type ListAtResourceGroupOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]DeploymentStack
}

type ListAtSubscriptionCompleteResult

type ListAtSubscriptionCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []DeploymentStack
}

type ListAtSubscriptionCustomPager added in v0.20240628.1153531

type ListAtSubscriptionCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *ListAtSubscriptionCustomPager) NextPageLink() *odata.Link

type ListAtSubscriptionOperationResponse

type ListAtSubscriptionOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]DeploymentStack
}

type ManagedResourceReference

type ManagedResourceReference struct {
	DenyStatus *DenyStatusMode     `json:"denyStatus,omitempty"`
	Id         *string             `json:"id,omitempty"`
	Status     *ResourceStatusMode `json:"status,omitempty"`
}

type ProviderDeploymentStackId

type ProviderDeploymentStackId struct {
	SubscriptionId      string
	ResourceGroupName   string
	DeploymentStackName string
}

ProviderDeploymentStackId is a struct representing the Resource ID for a Provider Deployment Stack

func NewProviderDeploymentStackID

func NewProviderDeploymentStackID(subscriptionId string, resourceGroupName string, deploymentStackName string) ProviderDeploymentStackId

NewProviderDeploymentStackID returns a new ProviderDeploymentStackId struct

func ParseProviderDeploymentStackID

func ParseProviderDeploymentStackID(input string) (*ProviderDeploymentStackId, error)

ParseProviderDeploymentStackID parses 'input' into a ProviderDeploymentStackId

func ParseProviderDeploymentStackIDInsensitively

func ParseProviderDeploymentStackIDInsensitively(input string) (*ProviderDeploymentStackId, error)

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

func (*ProviderDeploymentStackId) FromParseResult

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

func (ProviderDeploymentStackId) ID

ID returns the formatted Provider Deployment Stack ID

func (ProviderDeploymentStackId) Segments

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

func (ProviderDeploymentStackId) String

func (id ProviderDeploymentStackId) String() string

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

type Providers2DeploymentStackId

type Providers2DeploymentStackId struct {
	ManagementGroupId   string
	DeploymentStackName string
}

Providers2DeploymentStackId is a struct representing the Resource ID for a Providers 2 Deployment Stack

func NewProviders2DeploymentStackID

func NewProviders2DeploymentStackID(managementGroupId string, deploymentStackName string) Providers2DeploymentStackId

NewProviders2DeploymentStackID returns a new Providers2DeploymentStackId struct

func ParseProviders2DeploymentStackID

func ParseProviders2DeploymentStackID(input string) (*Providers2DeploymentStackId, error)

ParseProviders2DeploymentStackID parses 'input' into a Providers2DeploymentStackId

func ParseProviders2DeploymentStackIDInsensitively

func ParseProviders2DeploymentStackIDInsensitively(input string) (*Providers2DeploymentStackId, error)

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

func (*Providers2DeploymentStackId) FromParseResult

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

func (Providers2DeploymentStackId) ID

ID returns the formatted Providers 2 Deployment Stack ID

func (Providers2DeploymentStackId) Segments

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

func (Providers2DeploymentStackId) String

func (id Providers2DeploymentStackId) String() string

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

type ResourceReference

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

type ResourceReferenceExtended

type ResourceReferenceExtended struct {
	Error *ErrorDetail `json:"error,omitempty"`
	Id    *string      `json:"id,omitempty"`
}

type ResourceStatusMode

type ResourceStatusMode string
const (
	ResourceStatusModeDeleteFailed     ResourceStatusMode = "deleteFailed"
	ResourceStatusModeManaged          ResourceStatusMode = "managed"
	ResourceStatusModeRemoveDenyFailed ResourceStatusMode = "removeDenyFailed"
)

func (*ResourceStatusMode) UnmarshalJSON

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

type UnmanageActionManagementGroupMode

type UnmanageActionManagementGroupMode string
const (
	UnmanageActionManagementGroupModeDelete UnmanageActionManagementGroupMode = "delete"
	UnmanageActionManagementGroupModeDetach UnmanageActionManagementGroupMode = "detach"
)

func (*UnmanageActionManagementGroupMode) UnmarshalJSON

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

type UnmanageActionResourceGroupMode

type UnmanageActionResourceGroupMode string
const (
	UnmanageActionResourceGroupModeDelete UnmanageActionResourceGroupMode = "delete"
	UnmanageActionResourceGroupModeDetach UnmanageActionResourceGroupMode = "detach"
)

func (*UnmanageActionResourceGroupMode) UnmarshalJSON

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

type UnmanageActionResourceMode

type UnmanageActionResourceMode string
const (
	UnmanageActionResourceModeDelete UnmanageActionResourceMode = "delete"
	UnmanageActionResourceModeDetach UnmanageActionResourceMode = "detach"
)

func (*UnmanageActionResourceMode) UnmarshalJSON

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

type ValidateStackAtManagementGroupOperationResponse

type ValidateStackAtManagementGroupOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DeploymentStackValidateResult
}

type ValidateStackAtResourceGroupOperationResponse

type ValidateStackAtResourceGroupOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DeploymentStackValidateResult
}

type ValidateStackAtSubscriptionOperationResponse

type ValidateStackAtSubscriptionOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DeploymentStackValidateResult
}

Jump to

Keyboard shortcuts

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