DeploymentExtended Interface
public interface DeploymentExtended
An immutable client-side representation of DeploymentExtended.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| abstract void |
cancel()
Cancels a currently running template deployment. |
| abstract Response<Void> |
cancelWithResponse(Context context)
Cancels a currently running template deployment. |
|
abstract
Deployment |
exportTemplate()
Exports the template used for specified deployment. |
|
abstract
Response<Deployment |
exportTemplateWithResponse(Context context)
Exports the template used for specified deployment. |
| abstract String |
id()
Gets the id property: Fully qualified resource Id for the resource. |
|
abstract
Deployment |
innerModel()
Gets the inner com. |
| abstract String |
location()
Gets the location property: the location of the deployment. |
| abstract String |
name()
Gets the name property: The name of the resource. |
|
abstract
Deployment |
properties()
Gets the properties property: Deployment properties. |
|
abstract
Deployment |
refresh()
Refreshes the resource to sync with Azure. |
|
abstract
Deployment |
refresh(Context context)
Refreshes the resource to sync with Azure. |
| abstract Region |
region()
Gets the region of the resource. |
| abstract String |
regionName()
Gets the name of the resource region. |
| abstract String |
resourceGroupName()
Gets the name of the resource group. |
|
abstract
System |
systemData()
Gets the system |
| abstract Map<String,String> |
tags()
Gets the tags property: Deployment tags. |
| abstract String |
type()
Gets the type property: The type of the resource. |
| abstract Update |
update()
Begins update for the Deployment |
|
abstract
Deployment |
validate(Deployment parameters)
Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager.. |
|
abstract
Deployment |
validate(Deployment parameters, Context context)
Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager.. |
|
abstract
What |
whatIf(DeploymentWhatIf parameters)
Returns changes that will be made by the deployment if executed at the scope of the resource group. |
|
abstract
What |
whatIf(DeploymentWhatIf parameters, Context context)
Returns changes that will be made by the deployment if executed at the scope of the resource group. |
Method Details
cancel
public abstract void cancel()
Cancels a currently running template deployment. You can cancel a deployment only if the provisioningState is Accepted or Running. After the deployment is canceled, the provisioningState is set to Canceled. Canceling a template deployment stops the currently running template deployment and leaves the resource group partially deployed.
cancelWithResponse
public abstract Response<Void> cancelWithResponse(Context context)
Cancels a currently running template deployment. You can cancel a deployment only if the provisioningState is Accepted or Running. After the deployment is canceled, the provisioningState is set to Canceled. Canceling a template deployment stops the currently running template deployment and leaves the resource group partially deployed.
Parameters:
Returns:
exportTemplate
public abstract DeploymentExportResult exportTemplate()
Exports the template used for specified deployment.
Returns:
exportTemplateWithResponse
public abstract Response<DeploymentExportResult> exportTemplateWithResponse(Context context)
Exports the template used for specified deployment.
Parameters:
Returns:
id
public abstract String id()
Gets the id property: Fully qualified resource Id for the resource.
Returns:
innerModel
public abstract DeploymentExtendedInner innerModel()
Gets the inner com.azure.resourcemanager.resources.deployments.fluent.models.DeploymentExtendedInner object.
Returns:
location
public abstract String location()
Gets the location property: the location of the deployment.
Returns:
name
public abstract String name()
Gets the name property: The name of the resource.
Returns:
properties
public abstract DeploymentPropertiesExtended properties()
Gets the properties property: Deployment properties.
Returns:
refresh
public abstract DeploymentExtended refresh()
Refreshes the resource to sync with Azure.
Returns:
refresh
public abstract DeploymentExtended refresh(Context context)
Refreshes the resource to sync with Azure.
Parameters:
Returns:
region
public abstract Region region()
Gets the region of the resource.
Returns:
regionName
public abstract String regionName()
Gets the name of the resource region.
Returns:
resourceGroupName
public abstract String resourceGroupName()
Gets the name of the resource group.
Returns:
systemData
public abstract SystemData systemData()
Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
tags
public abstract Map<String,String> tags()
Gets the tags property: Deployment tags.
Returns:
type
public abstract String type()
Gets the type property: The type of the resource.
Returns:
update
public abstract DeploymentExtended.Update update()
Begins update for the DeploymentExtended resource.
Returns:
validate
public abstract DeploymentValidateResult validate(Deployment parameters)
Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..
Parameters:
Returns:
validate
public abstract DeploymentValidateResult validate(Deployment parameters, Context context)
Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..
Parameters:
Returns:
whatIf
public abstract WhatIfOperationResult whatIf(DeploymentWhatIf parameters)
Returns changes that will be made by the deployment if executed at the scope of the resource group.
Parameters:
Returns:
whatIf
public abstract WhatIfOperationResult whatIf(DeploymentWhatIf parameters, Context context)
Returns changes that will be made by the deployment if executed at the scope of the resource group.
Parameters:
Returns: