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.
  • 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

      List<Provider> 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

      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.