共用方式為


ArmResourcesModelFactory.DeploymentStackData Method

Definition

Initializes a new instance of DeploymentStackData.

public static Azure.ResourceManager.Resources.DeploymentStackData DeploymentStackData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.Core.AzureLocation? location = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.ResponseError error = default, BinaryData template = default, Azure.ResourceManager.Resources.Models.DeploymentStacksTemplateLink templateLink = default, System.Collections.Generic.IDictionary<string,Azure.ResourceManager.Resources.Models.DeploymentParameter> parameters = default, Azure.ResourceManager.Resources.Models.DeploymentStacksParametersLink parametersLink = default, Azure.ResourceManager.Resources.Models.ActionOnUnmanage actionOnUnmanage = default, string debugSettingDetailLevel = default, bool? bypassStackOutOfSyncError = default, string deploymentScope = default, string description = default, Azure.ResourceManager.Resources.Models.DenySettings denySettings = default, Azure.ResourceManager.Resources.Models.DeploymentStackProvisioningState? provisioningState = default, string correlationId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.SubResource> detachedResources = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.SubResource> deletedResources = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.ResourceReferenceExtended> failedResources = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.ManagedResourceReference> resources = default, string deploymentId = default, BinaryData outputs = default, TimeSpan? duration = default);
static member DeploymentStackData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IDictionary<string, string> * Azure.ResponseError * BinaryData * Azure.ResourceManager.Resources.Models.DeploymentStacksTemplateLink * System.Collections.Generic.IDictionary<string, Azure.ResourceManager.Resources.Models.DeploymentParameter> * Azure.ResourceManager.Resources.Models.DeploymentStacksParametersLink * Azure.ResourceManager.Resources.Models.ActionOnUnmanage * string * Nullable<bool> * string * string * Azure.ResourceManager.Resources.Models.DenySettings * Nullable<Azure.ResourceManager.Resources.Models.DeploymentStackProvisioningState> * string * seq<Azure.ResourceManager.Resources.Models.SubResource> * seq<Azure.ResourceManager.Resources.Models.SubResource> * seq<Azure.ResourceManager.Resources.Models.ResourceReferenceExtended> * seq<Azure.ResourceManager.Resources.Models.ManagedResourceReference> * string * BinaryData * Nullable<TimeSpan> -> Azure.ResourceManager.Resources.DeploymentStackData
Public Shared Function DeploymentStackData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional error As ResponseError = Nothing, Optional template As BinaryData = 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 debugSettingDetailLevel As String = Nothing, Optional bypassStackOutOfSyncError As Nullable(Of Boolean) = Nothing, Optional deploymentScope As String = Nothing, Optional description As String = Nothing, Optional denySettings As DenySettings = Nothing, Optional provisioningState As Nullable(Of DeploymentStackProvisioningState) = Nothing, Optional correlationId As String = Nothing, Optional detachedResources As IEnumerable(Of SubResource) = Nothing, Optional deletedResources As IEnumerable(Of SubResource) = Nothing, Optional failedResources As IEnumerable(Of ResourceReferenceExtended) = Nothing, Optional resources As IEnumerable(Of ManagedResourceReference) = Nothing, Optional deploymentId As String = Nothing, Optional outputs As BinaryData = Nothing, Optional duration As Nullable(Of TimeSpan) = Nothing) As DeploymentStackData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

location
Nullable<AzureLocation>

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.

error
ResponseError

The error detail.

template
BinaryData

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.

debugSettingDetailLevel
String

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.

denySettings
DenySettings

Defines how resources deployed by the stack are locked.

provisioningState
Nullable<DeploymentStackProvisioningState>

State of the deployment stack.

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
IEnumerable<SubResource>

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
IEnumerable<SubResource>

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
IEnumerable<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
IEnumerable<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
BinaryData

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

duration
Nullable<TimeSpan>

The duration of the last successful Deployment stack update.

Returns

A new DeploymentStackData instance for mocking.

Applies to