Deployment Interface

public interface Deployment extends Indexable,Refreshable,Updatable<Deployment.Update>,HasInner,HasManager,HasName

An immutable client-side representation of an Azure deployment.

Method Summary

Modifier and Type Method and Description
void cancel()

Cancel a currently running template deployment.

Completable cancelAsync()

Cancel a currently running template deployment asynchronously.

ServiceFuture<Void> cancelAsync(ServiceCallback<Void> callback)

Cancel a currently running template deployment asynchronously.

String correlationId()
List<Dependency> dependencies()
DeploymentOperations deploymentOperations()
DeploymentExportResult exportTemplate()

Exports a deployment template.

Observable<DeploymentExportResult> exportTemplateAsync()

Exports a deployment template asynchronously.

ServiceFuture<DeploymentExportResult> exportTemplateAsync(ServiceCallback<DeploymentExportResult> callback)

Exports a deployment template asynchronously.

DeploymentMode mode()
Object outputs()
Object parameters()
ParametersLink parametersLink()
List<Provider> providers()
String provisioningState()
String resourceGroupName()
Object template()
TemplateLink templateLink()
DateTime timestamp()

Inherited Members

Method Details

cancel

public void cancel()

Cancel a currently running template deployment.

cancelAsync

public Completable cancelAsync()

Cancel a currently running template deployment asynchronously.

Returns:

a representation of the deferred computation of this call

cancelAsync

public ServiceFuture cancelAsync(ServiceCallback 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

correlationId

public String correlationId()

Returns:

the correlation ID of the deployment

dependencies

public List dependencies()

Returns:

the list of deployment dependencies

deploymentOperations

public DeploymentOperations deploymentOperations()

Returns:

the operations related to this deployment

exportTemplate

public DeploymentExportResult exportTemplate()

Exports a deployment template.

Returns:

the export result

exportTemplateAsync

public Observable exportTemplateAsync()

Exports a deployment template asynchronously.

Returns:

a representation of the deferred computation of this call returning the export result

exportTemplateAsync

public ServiceFuture exportTemplateAsync(ServiceCallback 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

mode

public DeploymentMode mode()

Returns:

the deployment mode. Possible values include: 'Incremental', 'Complete'.

outputs

public Object outputs()

Returns:

key/value pairs that represent deployment output

parameters

public Object parameters()

Returns:

the deployment parameters

parametersLink

public ParametersLink parametersLink()

Returns:

the URI referencing the parameters

providers

public List providers()

Returns:

the list of resource providers needed for the deployment

provisioningState

public String provisioningState()

Returns:

the state of the provisioning process of the resources being deployed

resourceGroupName

public String resourceGroupName()

Returns:

the name of this deployment's resource group

template

public Object template()

Returns:

the template content

templateLink

public TemplateLink templateLink()

Returns:

the URI referencing the template

timestamp

public DateTime timestamp()

Returns:

the timestamp of the template deployment

Applies to