DeploymentStack Constructors

Definition

Overloads

Name Description
DeploymentStack()

Initializes a new instance of the DeploymentStack class.

DeploymentStack(String, String, String, SystemData, String, IDictionary<String, String>, DenySettings, String, ErrorDetail, IDictionary<String, Object>, DeploymentStacksTemplateLink, IDictionary<String,DeploymentParameter>, DeploymentStacksParametersLink, IDictionary<String,IDictionary<String, DeploymentExtensionConfigItem>>, IDictionary<String,DeploymentExternalInput>, IDictionary<String,DeploymentExternalInputDefinition>, ActionOnUnmanage, DeploymentStacksDebugSetting, String, String, String, String, Nullable<Boolean>, IList<ResourceReference>, IList<ResourceReference>, IList<ResourceReferenceExtended>, IList<ManagedResourceReference>, IList<DeploymentExtension>, String, IDictionary<String,Object>, String)

Initializes a new instance of the DeploymentStack class.

DeploymentStack()

Initializes a new instance of the DeploymentStack class.

public DeploymentStack();
Public Sub New ()

Applies to

Initializes a new instance of the DeploymentStack class.

public DeploymentStack(string id = default, string name = default, string type = default, Microsoft.Azure.Management.Resources.DeploymentStacks.Models.SystemData systemData = default, string location = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.Resources.DeploymentStacks.Models.DenySettings denySettings = default, string validationLevel = default, Microsoft.Azure.Management.Resources.DeploymentStacks.Models.ErrorDetail error = default, System.Collections.Generic.IDictionary<string,object> template = default, Microsoft.Azure.Management.Resources.DeploymentStacks.Models.DeploymentStacksTemplateLink templateLink = default, System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.Resources.DeploymentStacks.Models.DeploymentParameter> parameters = default, Microsoft.Azure.Management.Resources.DeploymentStacks.Models.DeploymentStacksParametersLink parametersLink = default, System.Collections.Generic.IDictionary<string,System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.Resources.DeploymentStacks.Models.DeploymentExtensionConfigItem>> extensionConfigs = default, System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.Resources.DeploymentStacks.Models.DeploymentExternalInput> externalInputs = default, System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.Resources.DeploymentStacks.Models.DeploymentExternalInputDefinition> externalInputDefinitions = default, Microsoft.Azure.Management.Resources.DeploymentStacks.Models.ActionOnUnmanage actionOnUnmanage = default, Microsoft.Azure.Management.Resources.DeploymentStacks.Models.DeploymentStacksDebugSetting debugSetting = default, string deploymentScope = default, string description = default, string provisioningState = default, string correlationId = default, bool? bypassStackOutOfSyncError = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Resources.DeploymentStacks.Models.ResourceReference> detachedResources = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Resources.DeploymentStacks.Models.ResourceReference> deletedResources = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Resources.DeploymentStacks.Models.ResourceReferenceExtended> failedResources = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Resources.DeploymentStacks.Models.ManagedResourceReference> resources = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Resources.DeploymentStacks.Models.DeploymentExtension> deploymentExtensions = default, string deploymentId = default, System.Collections.Generic.IDictionary<string,object> outputs = default, string duration = default);
new Microsoft.Azure.Management.Resources.DeploymentStacks.Models.DeploymentStack : string * string * string * Microsoft.Azure.Management.Resources.DeploymentStacks.Models.SystemData * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Resources.DeploymentStacks.Models.DenySettings * string * Microsoft.Azure.Management.Resources.DeploymentStacks.Models.ErrorDetail * System.Collections.Generic.IDictionary<string, obj> * Microsoft.Azure.Management.Resources.DeploymentStacks.Models.DeploymentStacksTemplateLink * System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.Resources.DeploymentStacks.Models.DeploymentParameter> * Microsoft.Azure.Management.Resources.DeploymentStacks.Models.DeploymentStacksParametersLink * System.Collections.Generic.IDictionary<string, System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.Resources.DeploymentStacks.Models.DeploymentExtensionConfigItem>> * System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.Resources.DeploymentStacks.Models.DeploymentExternalInput> * System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.Resources.DeploymentStacks.Models.DeploymentExternalInputDefinition> * Microsoft.Azure.Management.Resources.DeploymentStacks.Models.ActionOnUnmanage * Microsoft.Azure.Management.Resources.DeploymentStacks.Models.DeploymentStacksDebugSetting * string * string * string * string * Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.Management.Resources.DeploymentStacks.Models.ResourceReference> * System.Collections.Generic.IList<Microsoft.Azure.Management.Resources.DeploymentStacks.Models.ResourceReference> * System.Collections.Generic.IList<Microsoft.Azure.Management.Resources.DeploymentStacks.Models.ResourceReferenceExtended> * System.Collections.Generic.IList<Microsoft.Azure.Management.Resources.DeploymentStacks.Models.ManagedResourceReference> * System.Collections.Generic.IList<Microsoft.Azure.Management.Resources.DeploymentStacks.Models.DeploymentExtension> * string * System.Collections.Generic.IDictionary<string, obj> * string -> Microsoft.Azure.Management.Resources.DeploymentStacks.Models.DeploymentStack
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional systemData As SystemData = Nothing, Optional location As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional denySettings As DenySettings = Nothing, Optional validationLevel As String = Nothing, Optional error As ErrorDetail = Nothing, Optional template As IDictionary(Of String, Object) = Nothing, Optional templateLink As DeploymentStacksTemplateLink = Nothing, Optional parameters As IDictionary(Of String, DeploymentParameter) = Nothing, Optional parametersLink As DeploymentStacksParametersLink = Nothing, Optional extensionConfigs As IDictionary(Of String, IDictionary(Of String, DeploymentExtensionConfigItem)) = Nothing, Optional externalInputs As IDictionary(Of String, DeploymentExternalInput) = Nothing, Optional externalInputDefinitions As IDictionary(Of String, DeploymentExternalInputDefinition) = Nothing, Optional actionOnUnmanage As ActionOnUnmanage = Nothing, Optional debugSetting As DeploymentStacksDebugSetting = Nothing, Optional deploymentScope As String = Nothing, Optional description As String = Nothing, Optional provisioningState As String = Nothing, Optional correlationId As String = Nothing, Optional bypassStackOutOfSyncError As Nullable(Of Boolean) = Nothing, Optional detachedResources As IList(Of ResourceReference) = Nothing, Optional deletedResources As IList(Of ResourceReference) = Nothing, Optional failedResources As IList(Of ResourceReferenceExtended) = Nothing, Optional resources As IList(Of ManagedResourceReference) = Nothing, Optional deploymentExtensions As IList(Of DeploymentExtension) = Nothing, Optional deploymentId As String = Nothing, Optional outputs As IDictionary(Of String, Object) = Nothing, Optional duration As String = Nothing)

Parameters

id
String

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

name
String

The name of the resource

type
String

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

systemData
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

location
String

The geo-location where the resource lives. Required for subscription and management group scoped stacks. The location is inherited from the resource group for resource group scoped stacks.

tags
IDictionary<String,String>

Resource tags.

denySettings
DenySettings

Defines how resources deployed by the stack are locked.

validationLevel
String

The validation level of the deployment stack Possible values include: 'Template', 'Provider', 'ProviderNoRbac'

error
ErrorDetail

The error detail.

template
IDictionary<String,Object>

The template content. You use this element when you want to pass the template syntax directly in the request rather than link to an existing template. It can be a JObject or well-formed JSON string. Use either the templateLink property or the template property, but not both.

templateLink
DeploymentStacksTemplateLink

The URI of the template. Use either the templateLink property or the template property, but not both.

parameters
IDictionary<String,DeploymentParameter>

Name and value pairs that define the deployment parameters for the template. Use this element when providing the parameter values directly in the request, rather than linking to an existing parameter file. Use either the parametersLink property or the parameters property, but not both.

parametersLink
DeploymentStacksParametersLink

The URI of parameters file. Use this element to link to an existing parameters file. Use either the parametersLink property or the parameters property, but not both.

extensionConfigs
IDictionary<String,IDictionary<String,DeploymentExtensionConfigItem>>

The deployment extension configs. Keys of this object are extension aliases as defined in the deployment template.

externalInputs
IDictionary<String,DeploymentExternalInput>

External input values, used by external tooling for parameter evaluation.

externalInputDefinitions
IDictionary<String,DeploymentExternalInputDefinition>

External input definitions, used by external tooling to define expected external input values.

actionOnUnmanage
ActionOnUnmanage

Defines the behavior of resources that are no longer managed after the Deployment stack is updated or deleted.

debugSetting
DeploymentStacksDebugSetting

The debug setting of the deployment.

deploymentScope
String

The scope at which the initial deployment should be created. If a scope is not specified, it will default to the scope of the deployment stack. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroupId}'), subscription (format: '/subscriptions/{subscriptionId}'), resource group (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}').

description
String

Deployment stack description. Max length of 4096 characters.

provisioningState
String

State of the deployment stack. Possible values include: 'creating', 'validating', 'waiting', 'deploying', 'canceling', 'updatingDenyAssignments', 'deletingResources', 'succeeded', 'failed', 'canceled', 'deleting', 'initializing', 'running'

correlationId
String

The correlation id of the last Deployment stack upsert or delete operation. It is in GUID format and is used for tracing.

bypassStackOutOfSyncError
Nullable<Boolean>

Flag to bypass service errors that indicate the stack resource list is not correctly synchronized.

detachedResources
IList<ResourceReference>

An array of resources that were detached during the most recent Deployment stack update. Detached means that the resource was removed from the template, but no relevant deletion operations were specified. So, the resource still exists while no longer being associated with the stack.

deletedResources
IList<ResourceReference>

An array of resources that were deleted during the most recent Deployment stack update. Deleted means that the resource was removed from the template and relevant deletion operations were specified.

failedResources
IList<ResourceReferenceExtended>

An array of resources that failed to reach goal state during the most recent update. Each resourceId is accompanied by an error message.

resources
IList<ManagedResourceReference>

An array of resources currently managed by the deployment stack.

deploymentExtensions
IList<DeploymentExtension>

The extensions used during deployment. Contains extension data for all extensible resources managed by the stack.

deploymentId
String

The resourceId of the deployment resource created by the deployment stack.

outputs
IDictionary<String,Object>

The outputs of the deployment resource created by the deployment stack.

duration
String

The duration of the last successful Deployment stack update.

Applies to