DeploymentsClient Interface
public interface DeploymentsClient
An instance of this class provides access to all the operations defined in DeploymentsClient.
Method Summary
Method Details
beginCreateOrUpdate
public abstract SyncPoller<PollResult<DeploymentExtendedInner>,DeploymentExtendedInner> beginCreateOrUpdate(String resourceGroupName, String deploymentName, Deployment parameters)
Deploys resources to a resource group. You can provide the template and parameters directly in the request or link to JSON files.
Parameters:
Returns:
beginCreateOrUpdate
public abstract SyncPoller<PollResult<DeploymentExtendedInner>,DeploymentExtendedInner> beginCreateOrUpdate(String resourceGroupName, String deploymentName, Deployment parameters, Context context)
Deploys resources to a resource group. You can provide the template and parameters directly in the request or link to JSON files.
Parameters:
Returns:
beginCreateOrUpdateAtManagementGroupScope
public abstract SyncPoller<PollResult<DeploymentExtendedInner>,DeploymentExtendedInner> beginCreateOrUpdateAtManagementGroupScope(String groupId, String deploymentName, ScopedDeployment parameters)
Deploys resources at management group scope. You can provide the template and parameters directly in the request or link to JSON files.
Parameters:
Returns:
beginCreateOrUpdateAtManagementGroupScope
public abstract SyncPoller<PollResult<DeploymentExtendedInner>,DeploymentExtendedInner> beginCreateOrUpdateAtManagementGroupScope(String groupId, String deploymentName, ScopedDeployment parameters, Context context)
Deploys resources at management group scope. You can provide the template and parameters directly in the request or link to JSON files.
Parameters:
Returns:
beginCreateOrUpdateAtScope
public abstract SyncPoller<PollResult<DeploymentExtendedInner>,DeploymentExtendedInner> beginCreateOrUpdateAtScope(String scope, String deploymentName, Deployment parameters)
Deploys resources at a given scope. You can provide the template and parameters directly in the request or link to JSON files.
Parameters:
Returns:
beginCreateOrUpdateAtScope
public abstract SyncPoller<PollResult<DeploymentExtendedInner>,DeploymentExtendedInner> beginCreateOrUpdateAtScope(String scope, String deploymentName, Deployment parameters, Context context)
Deploys resources at a given scope. You can provide the template and parameters directly in the request or link to JSON files.
Parameters:
Returns:
beginCreateOrUpdateAtSubscriptionScope
public abstract SyncPoller<PollResult<DeploymentExtendedInner>,DeploymentExtendedInner> beginCreateOrUpdateAtSubscriptionScope(String deploymentName, Deployment parameters)
Deploys resources at subscription scope. You can provide the template and parameters directly in the request or link to JSON files.
Parameters:
Returns:
beginCreateOrUpdateAtSubscriptionScope
public abstract SyncPoller<PollResult<DeploymentExtendedInner>,DeploymentExtendedInner> beginCreateOrUpdateAtSubscriptionScope(String deploymentName, Deployment parameters, Context context)
Deploys resources at subscription scope. You can provide the template and parameters directly in the request or link to JSON files.
Parameters:
Returns:
beginCreateOrUpdateAtTenantScope
public abstract SyncPoller<PollResult<DeploymentExtendedInner>,DeploymentExtendedInner> beginCreateOrUpdateAtTenantScope(String deploymentName, ScopedDeployment parameters)
Deploys resources at tenant scope. You can provide the template and parameters directly in the request or link to JSON files.
Parameters:
Returns:
beginCreateOrUpdateAtTenantScope
public abstract SyncPoller<PollResult<DeploymentExtendedInner>,DeploymentExtendedInner> beginCreateOrUpdateAtTenantScope(String deploymentName, ScopedDeployment parameters, Context context)
Deploys resources at tenant scope. You can provide the template and parameters directly in the request or link to JSON files.
Parameters:
Returns:
beginDelete
public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String deploymentName)
Deletes a deployment from the deployment history. A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. Deleting a template deployment does not affect the state of the resource group. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code.
Parameters:
Returns:
beginDelete
public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String deploymentName, Context context)
Deletes a deployment from the deployment history. A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. Deleting a template deployment does not affect the state of the resource group. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code.
Parameters:
Returns:
beginDeleteAtManagementGroupScope
public abstract SyncPoller<PollResult<Void>,Void> beginDeleteAtManagementGroupScope(String groupId, String deploymentName)
Deletes a deployment from the deployment history. A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code.
Parameters:
Returns:
beginDeleteAtManagementGroupScope
public abstract SyncPoller<PollResult<Void>,Void> beginDeleteAtManagementGroupScope(String groupId, String deploymentName, Context context)
Deletes a deployment from the deployment history. A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code.
Parameters:
Returns:
beginDeleteAtScope
public abstract SyncPoller<PollResult<Void>,Void> beginDeleteAtScope(String scope, String deploymentName)
Deletes a deployment from the deployment history. A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code.
Parameters:
Returns:
beginDeleteAtScope
public abstract SyncPoller<PollResult<Void>,Void> beginDeleteAtScope(String scope, String deploymentName, Context context)
Deletes a deployment from the deployment history. A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code.
Parameters:
Returns:
beginDeleteAtSubscriptionScope
public abstract SyncPoller<PollResult<Void>,Void> beginDeleteAtSubscriptionScope(String deploymentName)
Deletes a deployment from the deployment history. A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code.
Parameters:
Returns:
beginDeleteAtSubscriptionScope
public abstract SyncPoller<PollResult<Void>,Void> beginDeleteAtSubscriptionScope(String deploymentName, Context context)
Deletes a deployment from the deployment history. A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code.
Parameters:
Returns:
beginDeleteAtTenantScope
public abstract SyncPoller<PollResult<Void>,Void> beginDeleteAtTenantScope(String deploymentName)
Deletes a deployment from the deployment history. A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code.
Parameters:
Returns:
beginDeleteAtTenantScope
public abstract SyncPoller<PollResult<Void>,Void> beginDeleteAtTenantScope(String deploymentName, Context context)
Deletes a deployment from the deployment history. A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code.
Parameters:
Returns:
beginValidate
public abstract SyncPoller<PollResult<DeploymentValidateResultInner>,DeploymentValidateResultInner> beginValidate(String resourceGroupName, String deploymentName, Deployment parameters)
Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..
Parameters:
Returns:
beginValidate
public abstract SyncPoller<PollResult<DeploymentValidateResultInner>,DeploymentValidateResultInner> beginValidate(String resourceGroupName, String deploymentName, Deployment parameters, Context context)
Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..
Parameters:
Returns:
beginValidateAtManagementGroupScope
public abstract SyncPoller<PollResult<DeploymentValidateResultInner>,DeploymentValidateResultInner> beginValidateAtManagementGroupScope(String groupId, String deploymentName, ScopedDeployment parameters)
Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..
Parameters:
Returns:
beginValidateAtManagementGroupScope
public abstract SyncPoller<PollResult<DeploymentValidateResultInner>,DeploymentValidateResultInner> beginValidateAtManagementGroupScope(String groupId, String deploymentName, ScopedDeployment parameters, Context context)
Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..
Parameters:
Returns:
beginValidateAtScope
public abstract SyncPoller<PollResult<DeploymentValidateResultInner>,DeploymentValidateResultInner> beginValidateAtScope(String scope, String deploymentName, Deployment parameters)
Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..
Parameters:
Returns:
beginValidateAtScope
public abstract SyncPoller<PollResult<DeploymentValidateResultInner>,DeploymentValidateResultInner> beginValidateAtScope(String scope, String deploymentName, Deployment parameters, Context context)
Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..
Parameters:
Returns:
beginValidateAtSubscriptionScope
public abstract SyncPoller<PollResult<DeploymentValidateResultInner>,DeploymentValidateResultInner> beginValidateAtSubscriptionScope(String deploymentName, Deployment parameters)
Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..
Parameters:
Returns:
beginValidateAtSubscriptionScope
public abstract SyncPoller<PollResult<DeploymentValidateResultInner>,DeploymentValidateResultInner> beginValidateAtSubscriptionScope(String deploymentName, Deployment parameters, Context context)
Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..
Parameters:
Returns:
beginValidateAtTenantScope
public abstract SyncPoller<PollResult<DeploymentValidateResultInner>,DeploymentValidateResultInner> beginValidateAtTenantScope(String deploymentName, ScopedDeployment parameters)
Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..
Parameters:
Returns:
beginValidateAtTenantScope
public abstract SyncPoller<PollResult<DeploymentValidateResultInner>,DeploymentValidateResultInner> beginValidateAtTenantScope(String deploymentName, ScopedDeployment parameters, Context context)
Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..
Parameters:
Returns:
beginWhatIf
public abstract SyncPoller<PollResult<WhatIfOperationResultInner>,WhatIfOperationResultInner> beginWhatIf(String resourceGroupName, String deploymentName, DeploymentWhatIf parameters)
Returns changes that will be made by the deployment if executed at the scope of the resource group.
Parameters:
Returns:
beginWhatIf
public abstract SyncPoller<PollResult<WhatIfOperationResultInner>,WhatIfOperationResultInner> beginWhatIf(String resourceGroupName, String deploymentName, DeploymentWhatIf parameters, Context context)
Returns changes that will be made by the deployment if executed at the scope of the resource group.
Parameters:
Returns:
beginWhatIfAtManagementGroupScope
public abstract SyncPoller<PollResult<WhatIfOperationResultInner>,WhatIfOperationResultInner> beginWhatIfAtManagementGroupScope(String groupId, String deploymentName, ScopedDeploymentWhatIf parameters)
Returns changes that will be made by the deployment if executed at the scope of the management group.
Parameters:
Returns:
beginWhatIfAtManagementGroupScope
public abstract SyncPoller<PollResult<WhatIfOperationResultInner>,WhatIfOperationResultInner> beginWhatIfAtManagementGroupScope(String groupId, String deploymentName, ScopedDeploymentWhatIf parameters, Context context)
Returns changes that will be made by the deployment if executed at the scope of the management group.
Parameters:
Returns:
beginWhatIfAtSubscriptionScope
public abstract SyncPoller<PollResult<WhatIfOperationResultInner>,WhatIfOperationResultInner> beginWhatIfAtSubscriptionScope(String deploymentName, DeploymentWhatIf parameters)
Returns changes that will be made by the deployment if executed at the scope of the subscription.
Parameters:
Returns:
beginWhatIfAtSubscriptionScope
public abstract SyncPoller<PollResult<WhatIfOperationResultInner>,WhatIfOperationResultInner> beginWhatIfAtSubscriptionScope(String deploymentName, DeploymentWhatIf parameters, Context context)
Returns changes that will be made by the deployment if executed at the scope of the subscription.
Parameters:
Returns:
beginWhatIfAtTenantScope
public abstract SyncPoller<PollResult<WhatIfOperationResultInner>,WhatIfOperationResultInner> beginWhatIfAtTenantScope(String deploymentName, ScopedDeploymentWhatIf parameters)
Returns changes that will be made by the deployment if executed at the scope of the tenant group.
Parameters:
Returns:
beginWhatIfAtTenantScope
public abstract SyncPoller<PollResult<WhatIfOperationResultInner>,WhatIfOperationResultInner> beginWhatIfAtTenantScope(String deploymentName, ScopedDeploymentWhatIf parameters, Context context)
Returns changes that will be made by the deployment if executed at the scope of the tenant group.
Parameters:
Returns:
calculateTemplateHash
public abstract TemplateHashResultInner calculateTemplateHash(BinaryData template)
Calculate the hash of the given template.
Parameters:
Returns:
calculateTemplateHashWithResponse
public abstract Response<TemplateHashResultInner> calculateTemplateHashWithResponse(BinaryData template, Context context)
Calculate the hash of the given template.
Parameters:
Returns:
cancel
public abstract void cancel(String resourceGroupName, String deploymentName)
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:
cancelAtManagementGroupScope
public abstract void cancelAtManagementGroupScope(String groupId, String deploymentName)
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 resources partially deployed.
Parameters:
cancelAtManagementGroupScopeWithResponse
public abstract Response<Void> cancelAtManagementGroupScopeWithResponse(String groupId, String deploymentName, 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 resources partially deployed.
Parameters:
Returns:
cancelAtScope
public abstract void cancelAtScope(String scope, String deploymentName)
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 resources partially deployed.
Parameters:
cancelAtScopeWithResponse
public abstract Response<Void> cancelAtScopeWithResponse(String scope, String deploymentName, 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 resources partially deployed.
Parameters:
Returns:
cancelAtSubscriptionScope
public abstract void cancelAtSubscriptionScope(String deploymentName)
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 resources partially deployed.
Parameters:
cancelAtSubscriptionScopeWithResponse
public abstract Response<Void> cancelAtSubscriptionScopeWithResponse(String deploymentName, 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 resources partially deployed.
Parameters:
Returns:
cancelAtTenantScope
public abstract void cancelAtTenantScope(String deploymentName)
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 resources partially deployed.
Parameters:
cancelAtTenantScopeWithResponse
public abstract Response<Void> cancelAtTenantScopeWithResponse(String deploymentName, 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 resources partially deployed.
Parameters:
Returns:
cancelWithResponse
public abstract Response<Void> cancelWithResponse(String resourceGroupName, String deploymentName, 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:
checkExistence
public abstract boolean checkExistence(String resourceGroupName, String deploymentName)
Checks whether the deployment exists.
Parameters:
Returns:
checkExistenceAtManagementGroupScope
public abstract boolean checkExistenceAtManagementGroupScope(String groupId, String deploymentName)
Checks whether the deployment exists.
Parameters:
Returns:
checkExistenceAtManagementGroupScopeWithResponse
public abstract Response<Boolean> checkExistenceAtManagementGroupScopeWithResponse(String groupId, String deploymentName, Context context)
Checks whether the deployment exists.
Parameters:
Returns:
checkExistenceAtScope
public abstract boolean checkExistenceAtScope(String scope, String deploymentName)
Checks whether the deployment exists.
Parameters:
Returns:
checkExistenceAtScopeWithResponse
public abstract Response<Boolean> checkExistenceAtScopeWithResponse(String scope, String deploymentName, Context context)
Checks whether the deployment exists.
Parameters:
Returns:
checkExistenceAtSubscriptionScope
public abstract boolean checkExistenceAtSubscriptionScope(String deploymentName)
Checks whether the deployment exists.
Parameters:
Returns:
checkExistenceAtSubscriptionScopeWithResponse
public abstract Response<Boolean> checkExistenceAtSubscriptionScopeWithResponse(String deploymentName, Context context)
Checks whether the deployment exists.
Parameters:
Returns:
checkExistenceAtTenantScope
public abstract boolean checkExistenceAtTenantScope(String deploymentName)
Checks whether the deployment exists.
Parameters:
Returns:
checkExistenceAtTenantScopeWithResponse
public abstract Response<Boolean> checkExistenceAtTenantScopeWithResponse(String deploymentName, Context context)
Checks whether the deployment exists.
Parameters:
Returns:
checkExistenceWithResponse
public abstract Response<Boolean> checkExistenceWithResponse(String resourceGroupName, String deploymentName, Context context)
Checks whether the deployment exists.
Parameters:
Returns:
createOrUpdate
public abstract DeploymentExtendedInner createOrUpdate(String resourceGroupName, String deploymentName, Deployment parameters)
Deploys resources to a resource group. You can provide the template and parameters directly in the request or link to JSON files.
Parameters:
Returns:
createOrUpdate
public abstract DeploymentExtendedInner createOrUpdate(String resourceGroupName, String deploymentName, Deployment parameters, Context context)
Deploys resources to a resource group. You can provide the template and parameters directly in the request or link to JSON files.
Parameters:
Returns:
createOrUpdateAtManagementGroupScope
public abstract DeploymentExtendedInner createOrUpdateAtManagementGroupScope(String groupId, String deploymentName, ScopedDeployment parameters)
Deploys resources at management group scope. You can provide the template and parameters directly in the request or link to JSON files.
Parameters:
Returns:
createOrUpdateAtManagementGroupScope
public abstract DeploymentExtendedInner createOrUpdateAtManagementGroupScope(String groupId, String deploymentName, ScopedDeployment parameters, Context context)
Deploys resources at management group scope. You can provide the template and parameters directly in the request or link to JSON files.
Parameters:
Returns:
createOrUpdateAtScope
public abstract DeploymentExtendedInner createOrUpdateAtScope(String scope, String deploymentName, Deployment parameters)
Deploys resources at a given scope. You can provide the template and parameters directly in the request or link to JSON files.
Parameters:
Returns:
createOrUpdateAtScope
public abstract DeploymentExtendedInner createOrUpdateAtScope(String scope, String deploymentName, Deployment parameters, Context context)
Deploys resources at a given scope. You can provide the template and parameters directly in the request or link to JSON files.
Parameters:
Returns:
createOrUpdateAtSubscriptionScope
public abstract DeploymentExtendedInner createOrUpdateAtSubscriptionScope(String deploymentName, Deployment parameters)
Deploys resources at subscription scope. You can provide the template and parameters directly in the request or link to JSON files.
Parameters:
Returns:
createOrUpdateAtSubscriptionScope
public abstract DeploymentExtendedInner createOrUpdateAtSubscriptionScope(String deploymentName, Deployment parameters, Context context)
Deploys resources at subscription scope. You can provide the template and parameters directly in the request or link to JSON files.
Parameters:
Returns:
createOrUpdateAtTenantScope
public abstract DeploymentExtendedInner createOrUpdateAtTenantScope(String deploymentName, ScopedDeployment parameters)
Deploys resources at tenant scope. You can provide the template and parameters directly in the request or link to JSON files.
Parameters:
Returns:
createOrUpdateAtTenantScope
public abstract DeploymentExtendedInner createOrUpdateAtTenantScope(String deploymentName, ScopedDeployment parameters, Context context)
Deploys resources at tenant scope. You can provide the template and parameters directly in the request or link to JSON files.
Parameters:
Returns:
delete
public abstract void delete(String resourceGroupName, String deploymentName)
Deletes a deployment from the deployment history. A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. Deleting a template deployment does not affect the state of the resource group. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code.
Parameters:
delete
public abstract void delete(String resourceGroupName, String deploymentName, Context context)
Deletes a deployment from the deployment history. A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. Deleting a template deployment does not affect the state of the resource group. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code.
Parameters:
deleteAtManagementGroupScope
public abstract void deleteAtManagementGroupScope(String groupId, String deploymentName)
Deletes a deployment from the deployment history. A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code.
Parameters:
deleteAtManagementGroupScope
public abstract void deleteAtManagementGroupScope(String groupId, String deploymentName, Context context)
Deletes a deployment from the deployment history. A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code.
Parameters:
deleteAtScope
public abstract void deleteAtScope(String scope, String deploymentName)
Deletes a deployment from the deployment history. A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code.
Parameters:
deleteAtScope
public abstract void deleteAtScope(String scope, String deploymentName, Context context)
Deletes a deployment from the deployment history. A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code.
Parameters:
deleteAtSubscriptionScope
public abstract void deleteAtSubscriptionScope(String deploymentName)
Deletes a deployment from the deployment history. A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code.
Parameters:
deleteAtSubscriptionScope
public abstract void deleteAtSubscriptionScope(String deploymentName, Context context)
Deletes a deployment from the deployment history. A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code.
Parameters:
deleteAtTenantScope
public abstract void deleteAtTenantScope(String deploymentName)
Deletes a deployment from the deployment history. A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code.
Parameters:
deleteAtTenantScope
public abstract void deleteAtTenantScope(String deploymentName, Context context)
Deletes a deployment from the deployment history. A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code.
Parameters:
exportTemplate
public abstract DeploymentExportResultInner exportTemplate(String resourceGroupName, String deploymentName)
Exports the template used for specified deployment.
Parameters:
Returns:
exportTemplateAtManagementGroupScope
public abstract DeploymentExportResultInner exportTemplateAtManagementGroupScope(String groupId, String deploymentName)
Exports the template used for specified deployment.
Parameters:
Returns:
exportTemplateAtManagementGroupScopeWithResponse
public abstract Response<DeploymentExportResultInner> exportTemplateAtManagementGroupScopeWithResponse(String groupId, String deploymentName, Context context)
Exports the template used for specified deployment.
Parameters:
Returns:
exportTemplateAtScope
public abstract DeploymentExportResultInner exportTemplateAtScope(String scope, String deploymentName)
Exports the template used for specified deployment.
Parameters:
Returns:
exportTemplateAtScopeWithResponse
public abstract Response<DeploymentExportResultInner> exportTemplateAtScopeWithResponse(String scope, String deploymentName, Context context)
Exports the template used for specified deployment.
Parameters:
Returns:
exportTemplateAtSubscriptionScope
public abstract DeploymentExportResultInner exportTemplateAtSubscriptionScope(String deploymentName)
Exports the template used for specified deployment.
Parameters:
Returns:
exportTemplateAtSubscriptionScopeWithResponse
public abstract Response<DeploymentExportResultInner> exportTemplateAtSubscriptionScopeWithResponse(String deploymentName, Context context)
Exports the template used for specified deployment.
Parameters:
Returns:
exportTemplateAtTenantScope
public abstract DeploymentExportResultInner exportTemplateAtTenantScope(String deploymentName)
Exports the template used for specified deployment.
Parameters:
Returns:
exportTemplateAtTenantScopeWithResponse
public abstract Response<DeploymentExportResultInner> exportTemplateAtTenantScopeWithResponse(String deploymentName, Context context)
Exports the template used for specified deployment.
Parameters:
Returns:
exportTemplateWithResponse
public abstract Response<DeploymentExportResultInner> exportTemplateWithResponse(String resourceGroupName, String deploymentName, Context context)
Exports the template used for specified deployment.
Parameters:
Returns:
getAtManagementGroupScope
public abstract DeploymentExtendedInner getAtManagementGroupScope(String groupId, String deploymentName)
Gets a deployment.
Parameters:
Returns:
getAtManagementGroupScopeWithResponse
public abstract Response<DeploymentExtendedInner> getAtManagementGroupScopeWithResponse(String groupId, String deploymentName, Context context)
Gets a deployment.
Parameters:
Returns:
getAtScope
public abstract DeploymentExtendedInner getAtScope(String scope, String deploymentName)
Gets a deployment.
Parameters:
Returns:
getAtScopeWithResponse
public abstract Response<DeploymentExtendedInner> getAtScopeWithResponse(String scope, String deploymentName, Context context)
Gets a deployment.
Parameters:
Returns:
getAtSubscriptionScope
public abstract DeploymentExtendedInner getAtSubscriptionScope(String deploymentName)
Gets a deployment.
Parameters:
Returns:
getAtSubscriptionScopeWithResponse
public abstract Response<DeploymentExtendedInner> getAtSubscriptionScopeWithResponse(String deploymentName, Context context)
Gets a deployment.
Parameters:
Returns:
getAtTenantScope
public abstract DeploymentExtendedInner getAtTenantScope(String deploymentName)
Gets a deployment.
Parameters:
Returns:
getAtTenantScopeWithResponse
public abstract Response<DeploymentExtendedInner> getAtTenantScopeWithResponse(String deploymentName, Context context)
Gets a deployment.
Parameters:
Returns:
getByResourceGroup
public abstract DeploymentExtendedInner getByResourceGroup(String resourceGroupName, String deploymentName)
Gets a deployment.
Parameters:
Returns:
getByResourceGroupWithResponse
public abstract Response<DeploymentExtendedInner> getByResourceGroupWithResponse(String resourceGroupName, String deploymentName, Context context)
Gets a deployment.
Parameters:
Returns:
list
public abstract PagedIterable<DeploymentExtendedInner> list()
Get all the deployments for a subscription.
Returns:
list
public abstract PagedIterable<DeploymentExtendedInner> list(String filter, Integer top, Context context)
Get all the deployments for a subscription.
Parameters:
Returns:
listAtManagementGroupScope
public abstract PagedIterable<DeploymentExtendedInner> listAtManagementGroupScope(String groupId)
Get all the deployments for a management group.
Parameters:
Returns:
listAtManagementGroupScope
public abstract PagedIterable<DeploymentExtendedInner> listAtManagementGroupScope(String groupId, String filter, Integer top, Context context)
Get all the deployments for a management group.
Parameters:
Returns:
listAtScope
public abstract PagedIterable<DeploymentExtendedInner> listAtScope(String scope)
Get all the deployments at the given scope.
Parameters:
Returns:
listAtScope
public abstract PagedIterable<DeploymentExtendedInner> listAtScope(String scope, String filter, Integer top, Context context)
Get all the deployments at the given scope.
Parameters:
Returns:
listAtTenantScope
public abstract PagedIterable<DeploymentExtendedInner> listAtTenantScope()
Get all the deployments at the tenant scope.
Returns:
listAtTenantScope
public abstract PagedIterable<DeploymentExtendedInner> listAtTenantScope(String filter, Integer top, Context context)
Get all the deployments at the tenant scope.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable<DeploymentExtendedInner> listByResourceGroup(String resourceGroupName)
Get all the deployments for a resource group.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable<DeploymentExtendedInner> listByResourceGroup(String resourceGroupName, String filter, Integer top, Context context)
Get all the deployments for a resource group.
Parameters:
Returns:
validate
public abstract DeploymentValidateResultInner validate(String resourceGroupName, String deploymentName, Deployment parameters)
Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..
Parameters:
Returns:
validate
public abstract DeploymentValidateResultInner validate(String resourceGroupName, String deploymentName, Deployment parameters, Context context)
Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..
Parameters:
Returns:
validateAtManagementGroupScope
public abstract DeploymentValidateResultInner validateAtManagementGroupScope(String groupId, String deploymentName, ScopedDeployment parameters)
Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..
Parameters:
Returns:
validateAtManagementGroupScope
public abstract DeploymentValidateResultInner validateAtManagementGroupScope(String groupId, String deploymentName, ScopedDeployment parameters, Context context)
Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..
Parameters:
Returns:
validateAtScope
public abstract DeploymentValidateResultInner validateAtScope(String scope, String deploymentName, Deployment parameters)
Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..
Parameters:
Returns:
validateAtScope
public abstract DeploymentValidateResultInner validateAtScope(String scope, String deploymentName, Deployment parameters, Context context)
Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..
Parameters:
Returns:
validateAtSubscriptionScope
public abstract DeploymentValidateResultInner validateAtSubscriptionScope(String deploymentName, Deployment parameters)
Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..
Parameters:
Returns:
validateAtSubscriptionScope
public abstract DeploymentValidateResultInner validateAtSubscriptionScope(String deploymentName, Deployment parameters, Context context)
Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..
Parameters:
Returns:
validateAtTenantScope
public abstract DeploymentValidateResultInner validateAtTenantScope(String deploymentName, ScopedDeployment parameters)
Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..
Parameters:
Returns:
validateAtTenantScope
public abstract DeploymentValidateResultInner validateAtTenantScope(String deploymentName, ScopedDeployment parameters, Context context)
Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..
Parameters:
Returns:
whatIf
public abstract WhatIfOperationResultInner whatIf(String resourceGroupName, String deploymentName, 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 WhatIfOperationResultInner whatIf(String resourceGroupName, String deploymentName, DeploymentWhatIf parameters, Context context)
Returns changes that will be made by the deployment if executed at the scope of the resource group.
Parameters:
Returns:
whatIfAtManagementGroupScope
public abstract WhatIfOperationResultInner whatIfAtManagementGroupScope(String groupId, String deploymentName, ScopedDeploymentWhatIf parameters)
Returns changes that will be made by the deployment if executed at the scope of the management group.
Parameters:
Returns:
whatIfAtManagementGroupScope
public abstract WhatIfOperationResultInner whatIfAtManagementGroupScope(String groupId, String deploymentName, ScopedDeploymentWhatIf parameters, Context context)
Returns changes that will be made by the deployment if executed at the scope of the management group.
Parameters:
Returns:
whatIfAtSubscriptionScope
public abstract WhatIfOperationResultInner whatIfAtSubscriptionScope(String deploymentName, DeploymentWhatIf parameters)
Returns changes that will be made by the deployment if executed at the scope of the subscription.
Parameters:
Returns:
whatIfAtSubscriptionScope
public abstract WhatIfOperationResultInner whatIfAtSubscriptionScope(String deploymentName, DeploymentWhatIf parameters, Context context)
Returns changes that will be made by the deployment if executed at the scope of the subscription.
Parameters:
Returns:
whatIfAtTenantScope
public abstract WhatIfOperationResultInner whatIfAtTenantScope(String deploymentName, ScopedDeploymentWhatIf parameters)
Returns changes that will be made by the deployment if executed at the scope of the tenant group.
Parameters:
Returns:
whatIfAtTenantScope
public abstract WhatIfOperationResultInner whatIfAtTenantScope(String deploymentName, ScopedDeploymentWhatIf parameters, Context context)
Returns changes that will be made by the deployment if executed at the scope of the tenant group.
Parameters:
Returns: