Compartilhar via


DeploymentStack Constructors

Definition

Overloads

DeploymentStack()

Initializes a new instance of the DeploymentStack class.

DeploymentStack(String, String, String, SystemData, String, IDictionary<String, String>, DenySettings, ErrorDetail, Object, DeploymentStacksTemplateLink, IDictionary<String,DeploymentParameter>, DeploymentStacksParametersLink, ActionOnUnmanage, DeploymentStacksDebugSetting, Nullable<Boolean>, String, String, String, String, IList<ResourceReference>, IList<ResourceReference>, IList<ResourceReferenceExtended>, IList<ManagedResourceReference>, 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.Models.SystemData systemData = default, string location = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.Resources.Models.DenySettings denySettings = default, Microsoft.Azure.Management.Resources.Models.ErrorDetail error = default, object template = default, Microsoft.Azure.Management.Resources.Models.DeploymentStacksTemplateLink templateLink = default, System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.Resources.Models.DeploymentParameter> parameters = default, Microsoft.Azure.Management.Resources.Models.DeploymentStacksParametersLink parametersLink = default, Microsoft.Azure.Management.Resources.Models.ActionOnUnmanage actionOnUnmanage = default, Microsoft.Azure.Management.Resources.Models.DeploymentStacksDebugSetting debugSetting = default, bool? bypassStackOutOfSyncError = default, string deploymentScope = default, string description = default, string provisioningState = default, string correlationId = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Resources.Models.ResourceReference> detachedResources = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Resources.Models.ResourceReference> deletedResources = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Resources.Models.ResourceReferenceExtended> failedResources = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Resources.Models.ManagedResourceReference> resources = default, string deploymentId = default, object outputs = default, string duration = default);
new Microsoft.Azure.Management.Resources.Models.DeploymentStack : string * string * string * Microsoft.Azure.Management.Resources.Models.SystemData * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Resources.Models.DenySettings * Microsoft.Azure.Management.Resources.Models.ErrorDetail * obj * Microsoft.Azure.Management.Resources.Models.DeploymentStacksTemplateLink * System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.Resources.Models.DeploymentParameter> * Microsoft.Azure.Management.Resources.Models.DeploymentStacksParametersLink * Microsoft.Azure.Management.Resources.Models.ActionOnUnmanage * Microsoft.Azure.Management.Resources.Models.DeploymentStacksDebugSetting * Nullable<bool> * string * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Resources.Models.ResourceReference> * System.Collections.Generic.IList<Microsoft.Azure.Management.Resources.Models.ResourceReference> * System.Collections.Generic.IList<Microsoft.Azure.Management.Resources.Models.ResourceReferenceExtended> * System.Collections.Generic.IList<Microsoft.Azure.Management.Resources.Models.ManagedResourceReference> * string * obj * string -> Microsoft.Azure.Management.Resources.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 error As ErrorDetail = Nothing, Optional template As Object = Nothing, Optional templateLink As DeploymentStacksTemplateLink = Nothing, Optional parameters As IDictionary(Of String, DeploymentParameter) = Nothing, Optional parametersLink As DeploymentStacksParametersLink = Nothing, Optional actionOnUnmanage As ActionOnUnmanage = Nothing, Optional debugSetting As DeploymentStacksDebugSetting = Nothing, Optional bypassStackOutOfSyncError As Nullable(Of Boolean) = Nothing, Optional deploymentScope As String = Nothing, Optional description As String = Nothing, Optional provisioningState As String = Nothing, Optional correlationId As String = 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 deploymentId As String = Nothing, Optional outputs As Object = Nothing, Optional duration As String = Nothing)

Parameters

id
String

String Id used to locate any resource on Azure.

name
String

Name of this resource.

type
String

Type of this resource.

systemData
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

location
String

The location of the Deployment stack. It cannot be changed after creation. It must be one of the supported Azure locations.

tags
IDictionary<String,String>

Deployment stack resource tags.

denySettings
DenySettings

Defines how resources deployed by the stack are locked.

error
ErrorDetail

The error detail.

template
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.

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.

bypassStackOutOfSyncError
Nullable<Boolean>

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

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'

correlationId
String

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

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.

deploymentId
String

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

outputs
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