public abstract SyncPoller,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:
resourceGroupName
- The name of the resource group with the deployment to delete. The name is case
insensitive.
public abstract SyncPoller,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:
resourceGroupName
- The name of the resource group with the deployment to delete. The name is case
insensitive.
deploymentName
- The name of the deployment.
context
- The context to associate with this operation.
public abstract PollerFlux,Void> beginDeleteAsync(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:
resourceGroupName
- The name of the resource group with the deployment to delete. The name is case
insensitive.
public abstract SyncPoller,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.
public abstract SyncPoller,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:
groupId
- The management group ID.
deploymentName
- The name of the deployment.
context
- The context to associate with this operation.
public abstract PollerFlux,Void> beginDeleteAtManagementGroupScopeAsync(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.
public abstract SyncPoller,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.
public abstract SyncPoller,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:
scope
- The resource scope.
deploymentName
- The name of the deployment.
context
- The context to associate with this operation.
public abstract PollerFlux,Void> beginDeleteAtScopeAsync(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.
public abstract SyncPoller,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.
public abstract SyncPoller,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:
deploymentName
- The name of the deployment.
context
- The context to associate with this operation.
public abstract PollerFlux,Void> beginDeleteAtSubscriptionScopeAsync(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.
public abstract SyncPoller,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.
public abstract SyncPoller,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:
deploymentName
- The name of the deployment.
context
- The context to associate with this operation.
public abstract PollerFlux,Void> beginDeleteAtTenantScopeAsync(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.
Returns changes that will be made by the deployment if executed at the scope of the management group.
Parameters:
groupId
- The management group ID.
deploymentName
- The name of the deployment.
parameters
- Parameters to validate.
context
- The context to associate with this operation.
Returns:
the SyncPoller<T,U> for polling of result of the What-If operation.
beginWhatIfAtManagementGroupScopeAsync
public abstract PollerFlux,WhatIfOperationResultInner> beginWhatIfAtManagementGroupScopeAsync(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:
groupId
- The management group ID.
deploymentName
- The name of the deployment.
parameters
- Parameters to validate.
Returns:
the PollerFlux<T,U> for polling of result of the What-If operation.
beginWhatIfAtSubscriptionScope
public abstract SyncPoller,WhatIfOperationResultInner> beginWhatIfAtSubscriptionScope(String deploymentName, DeploymentWhatIf parameters)
Returns changes that will be made by the deployment if executed at the scope of the subscription.
Parameters:
deploymentName
- The name of the deployment.
parameters
- Parameters to What If.
Returns:
the SyncPoller<T,U> for polling of result of the What-If operation.
beginWhatIfAtSubscriptionScope
public abstract SyncPoller,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:
deploymentName
- The name of the deployment.
parameters
- Parameters to What If.
context
- The context to associate with this operation.
Returns:
the SyncPoller<T,U> for polling of result of the What-If operation.
beginWhatIfAtSubscriptionScopeAsync
public abstract PollerFlux,WhatIfOperationResultInner> beginWhatIfAtSubscriptionScopeAsync(String deploymentName, DeploymentWhatIf parameters)
Returns changes that will be made by the deployment if executed at the scope of the subscription.
Parameters:
deploymentName
- The name of the deployment.
parameters
- Parameters to What If.
Returns:
the PollerFlux<T,U> for polling of result of the What-If operation.
beginWhatIfAtTenantScope
public abstract SyncPoller,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:
deploymentName
- The name of the deployment.
parameters
- Parameters to validate.
Returns:
the SyncPoller<T,U> for polling of result of the What-If operation.
beginWhatIfAtTenantScope
public abstract SyncPoller,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:
deploymentName
- The name of the deployment.
parameters
- Parameters to validate.
context
- The context to associate with this operation.
Returns:
the SyncPoller<T,U> for polling of result of the What-If operation.
beginWhatIfAtTenantScopeAsync
public abstract PollerFlux,WhatIfOperationResultInner> beginWhatIfAtTenantScopeAsync(String deploymentName, ScopedDeploymentWhatIf parameters)
Returns changes that will be made by the deployment if executed at the scope of the tenant group.
Parameters:
deploymentName
- The name of the deployment.
parameters
- Parameters to validate.
Returns:
the PollerFlux<T,U> for polling of result of the What-If operation.
calculateTemplateHash
public abstract TemplateHashResultInner calculateTemplateHash(Object template)
Calculate the hash of the given template.
Parameters:
template
- The template provided to calculate hash.
Returns:
result of the request to calculate template hash.
calculateTemplateHashAsync
public abstract Mono calculateTemplateHashAsync(Object template)
Calculate the hash of the given template.
Parameters:
template
- The template provided to calculate hash.
Returns:
result of the request to calculate template hash on successful completion of Mono.
calculateTemplateHashWithResponse
public abstract Response calculateTemplateHashWithResponse(Object template, Context context)
Calculate the hash of the given template.
Parameters:
template
- The template provided to calculate hash.
context
- The context to associate with this operation.
Returns:
result of the request to calculate template hash along with Response<T>.
calculateTemplateHashWithResponseAsync
public abstract Mono> calculateTemplateHashWithResponseAsync(Object template)
Calculate the hash of the given template.
Parameters:
template
- The template provided to calculate hash.
Returns:
result of the request to calculate template hash along with Response<T> on successful completion of
Mono.
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:
resourceGroupName
- The name of the resource group. The name is case insensitive.
deploymentName
- The name of the deployment.
cancelAsync
public abstract Mono cancelAsync(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:
resourceGroupName
- The name of the resource group. The name is case insensitive.
deploymentName
- The name of the deployment.
Returns:
A Mono that completes when a successful response is received.
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:
groupId
- The management group ID.
deploymentName
- The name of the deployment.
cancelAtManagementGroupScopeAsync
public abstract Mono cancelAtManagementGroupScopeAsync(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:
groupId
- The management group ID.
deploymentName
- The name of the deployment.
Returns:
A Mono that completes when a successful response is received.
cancelAtManagementGroupScopeWithResponse
public abstract Response 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:
groupId
- The management group ID.
deploymentName
- The name of the deployment.
context
- The context to associate with this operation.
public abstract Mono> cancelAtManagementGroupScopeWithResponseAsync(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.
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:
scope
- The resource scope.
deploymentName
- The name of the deployment.
cancelAtScopeAsync
public abstract Mono cancelAtScopeAsync(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:
scope
- The resource scope.
deploymentName
- The name of the deployment.
Returns:
A Mono that completes when a successful response is received.
cancelAtScopeWithResponse
public abstract Response 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:
scope
- The resource scope.
deploymentName
- The name of the deployment.
context
- The context to associate with this operation.
public abstract Mono> cancelAtScopeWithResponseAsync(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.
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:
deploymentName
- The name of the deployment.
cancelAtSubscriptionScopeAsync
public abstract Mono cancelAtSubscriptionScopeAsync(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:
deploymentName
- The name of the deployment.
Returns:
A Mono that completes when a successful response is received.
cancelAtSubscriptionScopeWithResponse
public abstract Response 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:
deploymentName
- The name of the deployment.
context
- The context to associate with this operation.
public abstract Mono> cancelAtSubscriptionScopeWithResponseAsync(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.
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:
deploymentName
- The name of the deployment.
cancelAtTenantScopeAsync
public abstract Mono cancelAtTenantScopeAsync(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:
deploymentName
- The name of the deployment.
Returns:
A Mono that completes when a successful response is received.
cancelAtTenantScopeWithResponse
public abstract Response 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:
deploymentName
- The name of the deployment.
context
- The context to associate with this operation.
public abstract Mono> cancelAtTenantScopeWithResponseAsync(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.
public abstract Response 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:
resourceGroupName
- The name of the resource group. The name is case insensitive.
deploymentName
- The name of the deployment.
context
- The context to associate with this operation.
public abstract Mono> cancelWithResponseAsync(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:
resourceGroupName
- The name of the resource group. The name is case insensitive.
public abstract Mono>> createOrUpdateAtSubscriptionScopeWithResponseAsync(String deploymentName, DeploymentInner parameters)
Deploys resources at subscription scope. You can provide the template and parameters directly in the request or link to JSON files.
Parameters:
deploymentName
- The name of the deployment.
parameters
- Additional parameters supplied to the operation.
Returns:
deployment information along with Response<T> on successful completion of Mono.
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:
deploymentName
- The name of the deployment.
parameters
- Additional parameters supplied to the operation.
Returns:
deployment information.
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:
deploymentName
- The name of the deployment.
parameters
- Additional parameters supplied to the operation.
context
- The context to associate with this operation.
Returns:
deployment information.
createOrUpdateAtTenantScopeAsync
public abstract Mono createOrUpdateAtTenantScopeAsync(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:
deploymentName
- The name of the deployment.
parameters
- Additional parameters supplied to the operation.
Returns:
deployment information on successful completion of Mono.
createOrUpdateAtTenantScopeWithResponseAsync
public abstract Mono>> createOrUpdateAtTenantScopeWithResponseAsync(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:
deploymentName
- The name of the deployment.
parameters
- Additional parameters supplied to the operation.
Returns:
deployment information along with Response<T> on successful completion of Mono.
createOrUpdateWithResponseAsync
public abstract Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String deploymentName, DeploymentInner parameters)
Deploys resources to a resource group. You can provide the template and parameters directly in the request or link to JSON files.
Parameters:
resourceGroupName
- The name of the resource group to deploy the resources to. The name is case insensitive.
The resource group must already exist.
deploymentName
- The name of the deployment.
parameters
- Additional parameters supplied to the operation.
Returns:
deployment information along with Response<T> on successful completion of Mono.
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:
resourceGroupName
- The name of the resource group with the deployment to delete. The name is case
insensitive.
deploymentName
- The name of the deployment.
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:
resourceGroupName
- The name of the resource group with the deployment to delete. The name is case
insensitive.
deploymentName
- The name of the deployment.
context
- The context to associate with this operation.
deleteAsync
public abstract Mono deleteAsync(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:
resourceGroupName
- The name of the resource group with the deployment to delete. The name is case
insensitive.
deploymentName
- The name of the deployment.
Returns:
A Mono that completes when a successful response is received.
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:
groupId
- The management group ID.
deploymentName
- The name of the deployment.
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:
groupId
- The management group ID.
deploymentName
- The name of the deployment.
context
- The context to associate with this operation.
deleteAtManagementGroupScopeAsync
public abstract Mono deleteAtManagementGroupScopeAsync(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:
groupId
- The management group ID.
deploymentName
- The name of the deployment.
Returns:
A Mono that completes when a successful response is received.
deleteAtManagementGroupScopeWithResponseAsync
public abstract Mono>> deleteAtManagementGroupScopeWithResponseAsync(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.
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:
scope
- The resource scope.
deploymentName
- The name of the deployment.
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:
scope
- The resource scope.
deploymentName
- The name of the deployment.
context
- The context to associate with this operation.
deleteAtScopeAsync
public abstract Mono deleteAtScopeAsync(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:
scope
- The resource scope.
deploymentName
- The name of the deployment.
Returns:
A Mono that completes when a successful response is received.
deleteAtScopeWithResponseAsync
public abstract Mono>> deleteAtScopeWithResponseAsync(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.
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:
deploymentName
- The name of the deployment.
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:
deploymentName
- The name of the deployment.
context
- The context to associate with this operation.
deleteAtSubscriptionScopeAsync
public abstract Mono deleteAtSubscriptionScopeAsync(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:
deploymentName
- The name of the deployment.
Returns:
A Mono that completes when a successful response is received.
deleteAtSubscriptionScopeWithResponseAsync
public abstract Mono>> deleteAtSubscriptionScopeWithResponseAsync(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.
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:
deploymentName
- The name of the deployment.
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:
deploymentName
- The name of the deployment.
context
- The context to associate with this operation.
deleteAtTenantScopeAsync
public abstract Mono deleteAtTenantScopeAsync(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:
deploymentName
- The name of the deployment.
Returns:
A Mono that completes when a successful response is received.
deleteAtTenantScopeWithResponseAsync
public abstract Mono>> deleteAtTenantScopeWithResponseAsync(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.
public abstract Mono>> deleteWithResponseAsync(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:
resourceGroupName
- The name of the resource group with the deployment to delete. The name is case
insensitive.
Returns changes that will be made by the deployment if executed at the scope of the management group.
Parameters:
groupId
- The management group ID.
deploymentName
- The name of the deployment.
parameters
- Parameters to validate.
context
- The context to associate with this operation.
Returns:
result of the What-If operation.
whatIfAtManagementGroupScopeAsync
public abstract Mono whatIfAtManagementGroupScopeAsync(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:
groupId
- The management group ID.
deploymentName
- The name of the deployment.
parameters
- Parameters to validate.
Returns:
result of the What-If operation on successful completion of Mono.
whatIfAtManagementGroupScopeWithResponseAsync
public abstract Mono>> whatIfAtManagementGroupScopeWithResponseAsync(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:
groupId
- The management group ID.
deploymentName
- The name of the deployment.
parameters
- Parameters to validate.
Returns:
result of the What-If operation along with Response<T> on successful completion of Mono.
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:
deploymentName
- The name of the deployment.
parameters
- Parameters to What If.
Returns:
result of the What-If operation.
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:
deploymentName
- The name of the deployment.
parameters
- Parameters to What If.
context
- The context to associate with this operation.
Returns:
result of the What-If operation.
whatIfAtSubscriptionScopeAsync
public abstract Mono whatIfAtSubscriptionScopeAsync(String deploymentName, DeploymentWhatIf parameters)
Returns changes that will be made by the deployment if executed at the scope of the subscription.
Parameters:
deploymentName
- The name of the deployment.
parameters
- Parameters to What If.
Returns:
result of the What-If operation on successful completion of Mono.
whatIfAtSubscriptionScopeWithResponseAsync
public abstract Mono>> whatIfAtSubscriptionScopeWithResponseAsync(String deploymentName, DeploymentWhatIf parameters)
Returns changes that will be made by the deployment if executed at the scope of the subscription.
Parameters:
deploymentName
- The name of the deployment.
parameters
- Parameters to What If.
Returns:
result of the What-If operation along with Response<T> on successful completion of Mono.
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:
deploymentName
- The name of the deployment.
parameters
- Parameters to validate.
Returns:
result of the What-If operation.
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:
deploymentName
- The name of the deployment.
parameters
- Parameters to validate.
context
- The context to associate with this operation.
Returns:
result of the What-If operation.
whatIfAtTenantScopeAsync
public abstract Mono whatIfAtTenantScopeAsync(String deploymentName, ScopedDeploymentWhatIf parameters)
Returns changes that will be made by the deployment if executed at the scope of the tenant group.
Parameters:
deploymentName
- The name of the deployment.
parameters
- Parameters to validate.
Returns:
result of the What-If operation on successful completion of Mono.
whatIfAtTenantScopeWithResponseAsync
public abstract Mono>> whatIfAtTenantScopeWithResponseAsync(String deploymentName, ScopedDeploymentWhatIf parameters)
Returns changes that will be made by the deployment if executed at the scope of the tenant group.
Parameters:
deploymentName
- The name of the deployment.
parameters
- Parameters to validate.
Returns:
result of the What-If operation along with Response<T> on successful completion of Mono.
whatIfWithResponseAsync
public abstract Mono>> whatIfWithResponseAsync(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:
resourceGroupName
- The name of the resource group the template will be deployed to. The name is case
insensitive.
deploymentName
- The name of the deployment.
parameters
- Parameters to validate.
Returns:
result of the What-If operation along with Response<T> on successful completion of Mono.
Applies to
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.