DeploymentProperties Class
- java.
lang. Object - com.
azure. resourcemanager. resources. models. DeploymentProperties
- com.
Implements
public class DeploymentProperties
implements JsonSerializable<DeploymentProperties>
Deployment properties.
Constructor Summary
Constructor | Description |
---|---|
DeploymentProperties() |
Creates an instance of Deployment |
Method Summary
Modifier and Type | Method and Description |
---|---|
Debug |
debugSetting()
Get the debug |
Expression |
expressionEvaluationOptions()
Get the expression |
Map<String,Map<String,Deployment |
extensionConfigs()
Get the extension |
Map<String,Deployment |
externalInputDefinitions()
Get the external |
Map<String,Deployment |
externalInputs()
Get the external |
static
Deployment |
fromJson(JsonReader jsonReader)
Reads an instance of Deployment |
Deployment |
mode()
Get the mode property: The mode that is used to deploy resources. |
On |
onErrorDeployment()
Get the on |
Map<String,Deployment |
parameters()
Get the parameters property: Name and value pairs that define the deployment parameters for the template. |
Parameters |
parametersLink()
Get the parameters |
Object |
template()
Get the template property: The template content. |
Template |
templateLink()
Get the template |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Validation |
validationLevel()
Get the validation |
Deployment |
withDebugSetting(DebugSetting debugSetting)
Set the debug |
Deployment |
withExpressionEvaluationOptions(ExpressionEvaluationOptions expressionEvaluationOptions)
Set the expression |
Deployment |
withExtensionConfigs(Map<String,Map<String,DeploymentExtensionConfigItem>> extensionConfigs)
Set the extension |
Deployment |
withExternalInputDefinitions(Map<String,DeploymentExternalInputDefinition> externalInputDefinitions)
Set the external |
Deployment |
withExternalInputs(Map<String,DeploymentExternalInput> externalInputs)
Set the external |
Deployment |
withMode(DeploymentMode mode)
Set the mode property: The mode that is used to deploy resources. |
Deployment |
withOnErrorDeployment(OnErrorDeployment onErrorDeployment)
Set the on |
Deployment |
withParameters(Map<String,DeploymentParameter> parameters)
Set the parameters property: Name and value pairs that define the deployment parameters for the template. |
Deployment |
withParametersLink(ParametersLink parametersLink)
Set the parameters |
Deployment |
withTemplate(Object template)
Set the template property: The template content. |
Deployment |
withTemplateLink(TemplateLink templateLink)
Set the template |
Deployment |
withValidationLevel(ValidationLevel validationLevel)
Set the validation |
Methods inherited from java.lang.Object
Constructor Details
DeploymentProperties
public DeploymentProperties()
Creates an instance of DeploymentProperties class.
Method Details
debugSetting
public DebugSetting debugSetting()
Get the debugSetting property: The debug setting of the deployment.
Returns:
expressionEvaluationOptions
public ExpressionEvaluationOptions expressionEvaluationOptions()
Get the expressionEvaluationOptions property: Specifies whether template expressions are evaluated within the scope of the parent template or nested template. Only applicable to nested templates. If not specified, default value is outer.
Returns:
extensionConfigs
public Map<String,Map<String,DeploymentExtensionConfigItem>> extensionConfigs()
Get the extensionConfigs property: The configurations to use for deployment extensions. The keys of this object are deployment extension aliases as defined in the deployment template.
Returns:
externalInputDefinitions
public Map<String,DeploymentExternalInputDefinition> externalInputDefinitions()
Get the externalInputDefinitions property: External input definitions, used by external tooling to define expected external input values.
Returns:
externalInputs
public Map<String,DeploymentExternalInput> externalInputs()
Get the externalInputs property: External input values, used by external tooling for parameter evaluation.
Returns:
fromJson
public static DeploymentProperties fromJson(JsonReader jsonReader)
Reads an instance of DeploymentProperties from the JsonReader.
Parameters:
Returns:
Throws:
mode
public DeploymentMode mode()
Get the mode property: The mode that is used to deploy resources. This value can be either Incremental or Complete. In Incremental mode, resources are deployed without deleting existing resources that are not included in the template. In Complete mode, resources are deployed and existing resources in the resource group that are not included in the template are deleted. Be careful when using Complete mode as you may unintentionally delete resources.
Returns:
onErrorDeployment
public OnErrorDeployment onErrorDeployment()
Get the onErrorDeployment property: The deployment on error behavior.
Returns:
parameters
public Map<String,DeploymentParameter> parameters()
Get the parameters property: Name and value pairs that define the deployment parameters for the template. You use this element when you want to provide the parameter values directly in the request rather than link to an existing parameter file. Use either the parametersLink property or the parameters property, but not both. It can be a JObject or a well formed JSON string.
Returns:
parametersLink
public ParametersLink parametersLink()
Get the parametersLink property: The URI of parameters file. You use this element to link to an existing parameters file. Use either the parametersLink property or the parameters property, but not both.
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 TemplateLink templateLink()
Get the templateLink property: The URI of the template. Use either the templateLink property or the template property, but not both.
Returns:
toJson
validate
public void validate()
Validates the instance.
validationLevel
public ValidationLevel validationLevel()
Get the validationLevel property: The validation level of the deployment.
Returns:
withDebugSetting
public DeploymentProperties withDebugSetting(DebugSetting debugSetting)
Set the debugSetting property: The debug setting of the deployment.
Parameters:
Returns:
withExpressionEvaluationOptions
public DeploymentProperties withExpressionEvaluationOptions(ExpressionEvaluationOptions expressionEvaluationOptions)
Set the expressionEvaluationOptions property: Specifies whether template expressions are evaluated within the scope of the parent template or nested template. Only applicable to nested templates. If not specified, default value is outer.
Parameters:
Returns:
withExtensionConfigs
public DeploymentProperties withExtensionConfigs(Map<String,Map<String,DeploymentExtensionConfigItem>> extensionConfigs)
Set the extensionConfigs property: The configurations to use for deployment extensions. The keys of this object are deployment extension aliases as defined in the deployment template.
Parameters:
Returns:
withExternalInputDefinitions
public DeploymentProperties withExternalInputDefinitions(Map<String,DeploymentExternalInputDefinition> externalInputDefinitions)
Set the externalInputDefinitions property: External input definitions, used by external tooling to define expected external input values.
Parameters:
Returns:
withExternalInputs
public DeploymentProperties withExternalInputs(Map<String,DeploymentExternalInput> externalInputs)
Set the externalInputs property: External input values, used by external tooling for parameter evaluation.
Parameters:
Returns:
withMode
public DeploymentProperties withMode(DeploymentMode mode)
Set the mode property: The mode that is used to deploy resources. This value can be either Incremental or Complete. In Incremental mode, resources are deployed without deleting existing resources that are not included in the template. In Complete mode, resources are deployed and existing resources in the resource group that are not included in the template are deleted. Be careful when using Complete mode as you may unintentionally delete resources.
Parameters:
Returns:
withOnErrorDeployment
public DeploymentProperties withOnErrorDeployment(OnErrorDeployment onErrorDeployment)
Set the onErrorDeployment property: The deployment on error behavior.
Parameters:
Returns:
withParameters
public DeploymentProperties withParameters(Map<String,DeploymentParameter> parameters)
Set the parameters property: Name and value pairs that define the deployment parameters for the template. You use this element when you want to provide the parameter values directly in the request rather than link to an existing parameter file. Use either the parametersLink property or the parameters property, but not both. It can be a JObject or a well formed JSON string.
Parameters:
Returns:
withParametersLink
public DeploymentProperties withParametersLink(ParametersLink parametersLink)
Set the parametersLink property: The URI of parameters file. You use this element to link to an existing parameters file. Use either the parametersLink property or the parameters property, but not both.
Parameters:
Returns:
withTemplate
public DeploymentProperties 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 DeploymentProperties withTemplateLink(TemplateLink templateLink)
Set the templateLink property: The URI of the template. Use either the templateLink property or the template property, but not both.
Parameters:
Returns:
withValidationLevel
public DeploymentProperties withValidationLevel(ValidationLevel validationLevel)
Set the validationLevel property: The validation level of the deployment.
Parameters:
Returns: