Interface Deployment
- All Superinterfaces:
HasId,HasInner<com.microsoft.azure.management.resources.implementation.DeploymentExtendedInner>,HasManager<com.microsoft.azure.management.resources.implementation.ResourceManager>,HasName,Indexable,Refreshable<Deployment>,Updatable<Deployment.Update>
public interface Deployment
extends Indexable, Refreshable<Deployment>, Updatable<Deployment.Update>, HasInner<com.microsoft.azure.management.resources.implementation.DeploymentExtendedInner>, HasManager<com.microsoft.azure.management.resources.implementation.ResourceManager>, HasName, HasId
An immutable client-side representation of an Azure deployment.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceContainer interface for all the deployment definitions.static interfaceGrouping of all the deployment definition stages.static interfaceContainer interface for all the deployment execution.static interfaceGrouping of all the deployment execution stages.static interfaceThe template for a deployment update operation, containing all the settings that can be modified.static interfaceGrouping of all the deployment updates stages. -
Method Summary
Modifier and TypeMethodDescriptionvoidcancel()Cancel a currently running template deployment.rx.CompletableCancel a currently running template deployment asynchronously.com.microsoft.rest.ServiceFuture<Void>cancelAsync(com.microsoft.rest.ServiceCallback<Void> callback) Cancel a currently running template deployment asynchronously.Exports a deployment template.rx.Observable<DeploymentExportResult>Exports a deployment template asynchronously.com.microsoft.rest.ServiceFuture<DeploymentExportResult>exportTemplateAsync(com.microsoft.rest.ServiceCallback<DeploymentExportResult> callback) Exports a deployment template asynchronously.mode()Get array of provisioned resources.outputs()Prepares a What-if operation.org.joda.time.DateTimeMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasId
idMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.HasInner
innerMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasManager
managerMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasName
nameMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Indexable
keyMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Refreshable
refresh, refreshAsync
-
Method Details
-
resourceGroupName
String resourceGroupName()- Returns:
- the name of this deployment's resource group
-
provisioningState
String provisioningState()- Returns:
- the state of the provisioning process of the resources being deployed
-
correlationId
String correlationId()- Returns:
- the correlation ID of the deployment
-
timestamp
org.joda.time.DateTime timestamp()- Returns:
- the timestamp of the template deployment
-
outputs
Object outputs()- Returns:
- key/value pairs that represent deployment output
-
providers
- Returns:
- the list of resource providers needed for the deployment
-
dependencies
List<Dependency> dependencies()- Returns:
- the list of deployment dependencies
-
templateHash
String templateHash()- Returns:
- the hash produced for the template
-
templateLink
TemplateLink templateLink()- Returns:
- the URI referencing the template
-
parameters
Object parameters()- Returns:
- the deployment parameters
-
parametersLink
ParametersLink parametersLink()- Returns:
- the URI referencing the parameters
-
mode
DeploymentMode mode()- Returns:
- the deployment mode. Possible values include: 'Incremental', 'Complete'.
-
outputResources
List<ResourceReference> outputResources()Get array of provisioned resources.- Returns:
- the outputResources value
-
deploymentOperations
DeploymentOperations deploymentOperations()- Returns:
- the operations related to this deployment
-
cancel
void cancel()Cancel a currently running template deployment. -
cancelAsync
rx.Completable cancelAsync()Cancel a currently running template deployment asynchronously.- Returns:
- a representation of the deferred computation of this call
-
cancelAsync
com.microsoft.rest.ServiceFuture<Void> cancelAsync(com.microsoft.rest.ServiceCallback<Void> callback) Cancel a currently running template deployment asynchronously.- Parameters:
callback- the callback to call on success or failure- Returns:
- a handle to cancel the request
-
exportTemplate
DeploymentExportResult exportTemplate()Exports a deployment template.- Returns:
- the export result
-
exportTemplateAsync
rx.Observable<DeploymentExportResult> exportTemplateAsync()Exports a deployment template asynchronously.- Returns:
- a representation of the deferred computation of this call returning the export result
-
exportTemplateAsync
com.microsoft.rest.ServiceFuture<DeploymentExportResult> exportTemplateAsync(com.microsoft.rest.ServiceCallback<DeploymentExportResult> callback) Exports a deployment template asynchronously.- Parameters:
callback- the callback to call on success or failure with export result as parameter- Returns:
- a handle to cancel the request
-
prepareWhatIf
Deployment.Execution prepareWhatIf()Prepares a What-if operation.- Returns:
- the What-if execution.
-