DeploymentStackInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. resources. models. AzureResourceBase - com.
azure. resourcemanager. resources. fluent. models. DeploymentStackInner
- com.
- com.
- com.
public final class DeploymentStackInner
extends AzureResourceBase
Deployment stack object.
Constructor Summary
Constructor | Description |
---|---|
DeploymentStackInner() |
Creates an instance of Deployment |
Method Summary
Modifier and Type | Method and Description |
---|---|
Action |
actionOnUnmanage()
Get the action |
Boolean |
bypassStackOutOfSyncError()
Get the bypass |
String |
correlationId()
Get the correlation |
Deployment |
debugSetting()
Get the debug |
List<Resource |
deletedResources()
Get the deleted |
Deny |
denySettings()
Get the deny |
String |
deploymentId()
Get the deployment |
String |
deploymentScope()
Get the deployment |
String |
description()
Get the description property: Deployment stack description. |
List<Resource |
detachedResources()
Get the detached |
String |
duration()
Get the duration property: The duration of the last successful Deployment stack update. |
Management |
error()
Get the error property: The error detail. |
List<Resource |
failedResources()
Get the failed |
static
Deployment |
fromJson(JsonReader jsonReader)
Reads an instance of Deployment |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
location()
Get the location property: The location of the Deployment stack. |
String |
name()
Get the name property: The name of the resource. |
Object |
outputs()
Get the outputs property: The outputs of the deployment resource created by the deployment stack. |
Map<String,Deployment |
parameters()
Get the parameters property: Name and value pairs that define the deployment parameters for the template. |
Deployment |
parametersLink()
Get the parameters |
Deployment |
provisioningState()
Get the provisioning |
List<Managed |
resources()
Get the resources property: An array of resources currently managed by the deployment stack. |
System |
systemData()
Get the system |
Map<String,String> |
tags()
Get the tags property: Deployment stack resource tags. |
Object |
template()
Get the template property: The template content. |
Deployment |
templateLink()
Get the template |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Deployment |
withActionOnUnmanage(ActionOnUnmanage actionOnUnmanage)
Set the action |
Deployment |
withBypassStackOutOfSyncError(Boolean bypassStackOutOfSyncError)
Set the bypass |
Deployment |
withDebugSetting(DeploymentStacksDebugSetting debugSetting)
Set the debug |
Deployment |
withDenySettings(DenySettings denySettings)
Set the deny |
Deployment |
withDeploymentScope(String deploymentScope)
Set the deployment |
Deployment |
withDescription(String description)
Set the description property: Deployment stack description. |
Deployment |
withError(ManagementError error)
Set the error property: The error detail. |
Deployment |
withLocation(String location)
Set the location property: The location of the Deployment stack. |
Deployment |
withParameters(Map<String,DeploymentParameter> parameters)
Set the parameters property: Name and value pairs that define the deployment parameters for the template. |
Deployment |
withParametersLink(DeploymentStacksParametersLink parametersLink)
Set the parameters |
Deployment |
withTags(Map<String,String> tags)
Set the tags property: Deployment stack resource tags. |
Deployment |
withTemplate(Object template)
Set the template property: The template content. |
Deployment |
withTemplateLink(DeploymentStacksTemplateLink templateLink)
Set the template |
Methods inherited from AzureResourceBase
Methods inherited from java.lang.Object
Constructor Details
DeploymentStackInner
public DeploymentStackInner()
Creates an instance of DeploymentStackInner class.
Method Details
actionOnUnmanage
public ActionOnUnmanage actionOnUnmanage()
Get the actionOnUnmanage property: Defines the behavior of resources that are no longer managed after the Deployment stack is updated or deleted.
Returns:
bypassStackOutOfSyncError
public Boolean bypassStackOutOfSyncError()
Get the bypassStackOutOfSyncError property: Flag to bypass service errors that indicate the stack resource list is not correctly synchronized.
Returns:
correlationId
public String correlationId()
Get the correlationId property: The correlation id of the last Deployment stack upsert or delete operation. It is in GUID format and is used for tracing.
Returns:
debugSetting
public DeploymentStacksDebugSetting debugSetting()
Get the debugSetting property: The debug setting of the deployment.
Returns:
deletedResources
public List
Get the deletedResources property: 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.
Returns:
denySettings
public DenySettings denySettings()
Get the denySettings property: Defines how resources deployed by the stack are locked.
Returns:
deploymentId
public String deploymentId()
Get the deploymentId property: The resourceId of the deployment resource created by the deployment stack.
Returns:
deploymentScope
public String deploymentScope()
Get the deploymentScope property: 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}').
Returns:
description
public String description()
Get the description property: Deployment stack description. Max length of 4096 characters.
Returns:
detachedResources
public List
Get the detachedResources property: 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.
Returns:
duration
public String duration()
Get the duration property: The duration of the last successful Deployment stack update.
Returns:
error
public ManagementError error()
Get the error property: The error detail.
Returns:
failedResources
public List
Get the failedResources property: An array of resources that failed to reach goal state during the most recent update. Each resourceId is accompanied by an error message.
Returns:
fromJson
public static DeploymentStackInner fromJson(JsonReader jsonReader)
Reads an instance of DeploymentStackInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
DeploymentStackInner.id()Returns:
location
public String location()
Get the location property: The location of the Deployment stack. It cannot be changed after creation. It must be one of the supported Azure locations.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
DeploymentStackInner.name()Returns:
outputs
public Object outputs()
Get the outputs property: The outputs of the deployment resource created by the deployment stack.
Returns:
parameters
public Map
Get the parameters property: 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.
Returns:
parametersLink
public DeploymentStacksParametersLink parametersLink()
Get the parametersLink property: 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.
Returns:
provisioningState
public DeploymentStackProvisioningState provisioningState()
Get the provisioningState property: State of the deployment stack.
Returns:
resources
public List
Get the resources property: An array of resources currently managed by the deployment stack.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Overrides:
DeploymentStackInner.systemData()Returns:
tags
public Map
Get the tags property: Deployment stack resource tags.
Returns:
template
public Object template()
Get the template property: 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.
Returns:
templateLink
public DeploymentStacksTemplateLink templateLink()
Get the templateLink property: The URI of the template. Use either the templateLink property or the template property, but not both.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
DeploymentStackInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
DeploymentStackInner.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
DeploymentStackInner.validate()withActionOnUnmanage
public DeploymentStackInner withActionOnUnmanage(ActionOnUnmanage actionOnUnmanage)
Set the actionOnUnmanage property: Defines the behavior of resources that are no longer managed after the Deployment stack is updated or deleted.
Parameters:
Returns:
withBypassStackOutOfSyncError
public DeploymentStackInner withBypassStackOutOfSyncError(Boolean bypassStackOutOfSyncError)
Set the bypassStackOutOfSyncError property: Flag to bypass service errors that indicate the stack resource list is not correctly synchronized.
Parameters:
Returns:
withDebugSetting
public DeploymentStackInner withDebugSetting(DeploymentStacksDebugSetting debugSetting)
Set the debugSetting property: The debug setting of the deployment.
Parameters:
Returns:
withDenySettings
public DeploymentStackInner withDenySettings(DenySettings denySettings)
Set the denySettings property: Defines how resources deployed by the stack are locked.
Parameters:
Returns:
withDeploymentScope
public DeploymentStackInner withDeploymentScope(String deploymentScope)
Set the deploymentScope property: 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}').
Parameters:
Returns:
withDescription
public DeploymentStackInner withDescription(String description)
Set the description property: Deployment stack description. Max length of 4096 characters.
Parameters:
Returns:
withError
public DeploymentStackInner withError(ManagementError error)
Set the error property: The error detail.
Parameters:
Returns:
withLocation
public DeploymentStackInner withLocation(String location)
Set the location property: The location of the Deployment stack. It cannot be changed after creation. It must be one of the supported Azure locations.
Parameters:
Returns:
withParameters
public DeploymentStackInner withParameters(Map
Set the parameters property: 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.
Parameters:
Returns:
withParametersLink
public DeploymentStackInner withParametersLink(DeploymentStacksParametersLink parametersLink)
Set the parametersLink property: 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.
Parameters:
Returns:
withTags
public DeploymentStackInner withTags(Map
Set the tags property: Deployment stack resource tags.
Parameters:
Returns:
withTemplate
public DeploymentStackInner withTemplate(Object template)
Set the template property: 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.
Parameters:
Returns:
withTemplateLink
public DeploymentStackInner withTemplateLink(DeploymentStacksTemplateLink templateLink)
Set the templateLink property: The URI of the template. Use either the templateLink property or the template property, but not both.
Parameters:
Returns:
Applies to
Azure SDK for Java