Share via


DeploymentStack Class

Definition

Deployment stack object.

[Microsoft.Rest.Serialization.JsonTransformation]
public class DeploymentStack : Microsoft.Azure.Management.Resources.Models.AzureResourceBase
[<Microsoft.Rest.Serialization.JsonTransformation>]
type DeploymentStack = class
    inherit AzureResourceBase
Public Class DeploymentStack
Inherits AzureResourceBase
Inheritance
DeploymentStack
Attributes

Constructors

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(String, String, String, SystemData, String, IDictionary<String, String>, DenySettings, ErrorResponse, Object, DeploymentStacksTemplateLink, Object, DeploymentStacksParametersLink, DeploymentStackPropertiesActionOnUnmanage, DeploymentStacksDebugSetting, String, String, String, IList<ResourceReference>, IList<ResourceReference>, IList<ResourceReferenceExtended>, IList<ManagedResourceReference>, String, Object, String)

Initializes a new instance of the DeploymentStack class.

Properties

ActionOnUnmanage

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

BypassStackOutOfSyncError

Gets or sets flag to bypass service errors that indicate the stack resource list is not correctly synchronized.

CorrelationId

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

DebugSetting

Gets or sets the debug setting of the deployment.

DeletedResources

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

DenySettings

Gets or sets defines how resources deployed by the stack are locked.

DeploymentId

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

DeploymentScope

Gets or sets 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

Gets or sets deployment stack description. Max length of 4096 characters.

DetachedResources

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

Duration

Gets the duration of the last successful Deployment stack update.

Error

Gets or sets the error detail.

FailedResources

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

Id

Gets string Id used to locate any resource on Azure.

(Inherited from AzureResourceBase)
Location

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

Name

Gets name of this resource.

(Inherited from AzureResourceBase)
Outputs

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

Parameters

Gets or sets 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

Gets or sets 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.

ProvisioningState

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

Resources

Gets an array of resources currently managed by the deployment stack.

SystemData

Gets azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from AzureResourceBase)
Tags

Gets or sets deployment stack resource tags.

Template

Gets or sets 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

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

Type

Gets type of this resource.

(Inherited from AzureResourceBase)

Methods

Validate()

Validate the object.

Applies to