Interface DeploymentsClient
- All Superinterfaces:
InnerSupportsDelete<Void>,InnerSupportsGet<DeploymentExtendedInner>,InnerSupportsListing<DeploymentExtendedInner>
public interface DeploymentsClient
extends InnerSupportsGet<DeploymentExtendedInner>, InnerSupportsListing<DeploymentExtendedInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in DeploymentsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DeploymentExtendedInner>,DeploymentExtendedInner> beginCreateOrUpdate(String resourceGroupName, String deploymentName, DeploymentInner parameters) You can provide the template and parameters directly in the request or link to JSON files.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DeploymentExtendedInner>,DeploymentExtendedInner> beginCreateOrUpdate(String resourceGroupName, String deploymentName, DeploymentInner parameters, com.azure.core.util.Context context) You can provide the template and parameters directly in the request or link to JSON files.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<DeploymentExtendedInner>,DeploymentExtendedInner> beginCreateOrUpdateAsync(String resourceGroupName, String deploymentName, DeploymentInner parameters) You can provide the template and parameters directly in the request or link to JSON files.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DeploymentExtendedInner>,DeploymentExtendedInner> beginCreateOrUpdateAtManagementGroupScope(String groupId, String deploymentName, ScopedDeployment parameters) You can provide the template and parameters directly in the request or link to JSON files.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DeploymentExtendedInner>,DeploymentExtendedInner> beginCreateOrUpdateAtManagementGroupScope(String groupId, String deploymentName, ScopedDeployment parameters, com.azure.core.util.Context context) You can provide the template and parameters directly in the request or link to JSON files.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<DeploymentExtendedInner>,DeploymentExtendedInner> beginCreateOrUpdateAtManagementGroupScopeAsync(String groupId, String deploymentName, ScopedDeployment parameters) You can provide the template and parameters directly in the request or link to JSON files.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DeploymentExtendedInner>,DeploymentExtendedInner> beginCreateOrUpdateAtScope(String scope, String deploymentName, DeploymentInner parameters) You can provide the template and parameters directly in the request or link to JSON files.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DeploymentExtendedInner>,DeploymentExtendedInner> beginCreateOrUpdateAtScope(String scope, String deploymentName, DeploymentInner parameters, com.azure.core.util.Context context) You can provide the template and parameters directly in the request or link to JSON files.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<DeploymentExtendedInner>,DeploymentExtendedInner> beginCreateOrUpdateAtScopeAsync(String scope, String deploymentName, DeploymentInner parameters) You can provide the template and parameters directly in the request or link to JSON files.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DeploymentExtendedInner>,DeploymentExtendedInner> beginCreateOrUpdateAtSubscriptionScope(String deploymentName, DeploymentInner parameters) You can provide the template and parameters directly in the request or link to JSON files.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DeploymentExtendedInner>,DeploymentExtendedInner> beginCreateOrUpdateAtSubscriptionScope(String deploymentName, DeploymentInner parameters, com.azure.core.util.Context context) You can provide the template and parameters directly in the request or link to JSON files.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<DeploymentExtendedInner>,DeploymentExtendedInner> beginCreateOrUpdateAtSubscriptionScopeAsync(String deploymentName, DeploymentInner parameters) You can provide the template and parameters directly in the request or link to JSON files.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DeploymentExtendedInner>,DeploymentExtendedInner> beginCreateOrUpdateAtTenantScope(String deploymentName, ScopedDeployment parameters) You can provide the template and parameters directly in the request or link to JSON files.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DeploymentExtendedInner>,DeploymentExtendedInner> beginCreateOrUpdateAtTenantScope(String deploymentName, ScopedDeployment parameters, com.azure.core.util.Context context) You can provide the template and parameters directly in the request or link to JSON files.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<DeploymentExtendedInner>,DeploymentExtendedInner> beginCreateOrUpdateAtTenantScopeAsync(String deploymentName, ScopedDeployment parameters) You can provide the template and parameters directly in the request or link to JSON files.beginDelete(String resourceGroupName, String deploymentName) A template deployment that is currently running cannot be deleted.beginDelete(String resourceGroupName, String deploymentName, com.azure.core.util.Context context) A template deployment that is currently running cannot be deleted.beginDeleteAsync(String resourceGroupName, String deploymentName) A template deployment that is currently running cannot be deleted.beginDeleteAtManagementGroupScope(String groupId, String deploymentName) A template deployment that is currently running cannot be deleted.beginDeleteAtManagementGroupScope(String groupId, String deploymentName, com.azure.core.util.Context context) A template deployment that is currently running cannot be deleted.beginDeleteAtManagementGroupScopeAsync(String groupId, String deploymentName) A template deployment that is currently running cannot be deleted.beginDeleteAtScope(String scope, String deploymentName) A template deployment that is currently running cannot be deleted.beginDeleteAtScope(String scope, String deploymentName, com.azure.core.util.Context context) A template deployment that is currently running cannot be deleted.beginDeleteAtScopeAsync(String scope, String deploymentName) A template deployment that is currently running cannot be deleted.beginDeleteAtSubscriptionScope(String deploymentName) A template deployment that is currently running cannot be deleted.beginDeleteAtSubscriptionScope(String deploymentName, com.azure.core.util.Context context) A template deployment that is currently running cannot be deleted.beginDeleteAtSubscriptionScopeAsync(String deploymentName) A template deployment that is currently running cannot be deleted.beginDeleteAtTenantScope(String deploymentName) A template deployment that is currently running cannot be deleted.beginDeleteAtTenantScope(String deploymentName, com.azure.core.util.Context context) A template deployment that is currently running cannot be deleted.beginDeleteAtTenantScopeAsync(String deploymentName) A template deployment that is currently running cannot be deleted.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DeploymentValidateResultInner>,DeploymentValidateResultInner> beginValidate(String resourceGroupName, String deploymentName, DeploymentInner parameters) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DeploymentValidateResultInner>,DeploymentValidateResultInner> beginValidate(String resourceGroupName, String deploymentName, DeploymentInner parameters, com.azure.core.util.Context context) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<DeploymentValidateResultInner>,DeploymentValidateResultInner> beginValidateAsync(String resourceGroupName, String deploymentName, DeploymentInner parameters) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.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..com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DeploymentValidateResultInner>,DeploymentValidateResultInner> beginValidateAtManagementGroupScope(String groupId, String deploymentName, ScopedDeployment parameters, com.azure.core.util.Context context) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<DeploymentValidateResultInner>,DeploymentValidateResultInner> beginValidateAtManagementGroupScopeAsync(String groupId, String deploymentName, ScopedDeployment parameters) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DeploymentValidateResultInner>,DeploymentValidateResultInner> beginValidateAtScope(String scope, String deploymentName, DeploymentInner parameters) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DeploymentValidateResultInner>,DeploymentValidateResultInner> beginValidateAtScope(String scope, String deploymentName, DeploymentInner parameters, com.azure.core.util.Context context) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<DeploymentValidateResultInner>,DeploymentValidateResultInner> beginValidateAtScopeAsync(String scope, String deploymentName, DeploymentInner parameters) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DeploymentValidateResultInner>,DeploymentValidateResultInner> beginValidateAtSubscriptionScope(String deploymentName, DeploymentInner parameters) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DeploymentValidateResultInner>,DeploymentValidateResultInner> beginValidateAtSubscriptionScope(String deploymentName, DeploymentInner parameters, com.azure.core.util.Context context) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<DeploymentValidateResultInner>,DeploymentValidateResultInner> beginValidateAtSubscriptionScopeAsync(String deploymentName, DeploymentInner parameters) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DeploymentValidateResultInner>,DeploymentValidateResultInner> beginValidateAtTenantScope(String deploymentName, ScopedDeployment parameters) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DeploymentValidateResultInner>,DeploymentValidateResultInner> beginValidateAtTenantScope(String deploymentName, ScopedDeployment parameters, com.azure.core.util.Context context) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<DeploymentValidateResultInner>,DeploymentValidateResultInner> beginValidateAtTenantScopeAsync(String deploymentName, ScopedDeployment parameters) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WhatIfOperationResultInner>,WhatIfOperationResultInner> beginWhatIf(String resourceGroupName, String deploymentName, DeploymentWhatIf parameters, com.azure.core.util.Context context) Returns changes that will be made by the deployment if executed at the scope of the resource group.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<WhatIfOperationResultInner>,WhatIfOperationResultInner> beginWhatIfAsync(String resourceGroupName, String deploymentName, DeploymentWhatIf parameters) Returns changes that will be made by the deployment if executed at the scope of the resource group.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WhatIfOperationResultInner>,WhatIfOperationResultInner> beginWhatIfAtManagementGroupScope(String groupId, String deploymentName, ScopedDeploymentWhatIf parameters, com.azure.core.util.Context context) Returns changes that will be made by the deployment if executed at the scope of the management group.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<WhatIfOperationResultInner>,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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WhatIfOperationResultInner>,WhatIfOperationResultInner> beginWhatIfAtSubscriptionScope(String deploymentName, DeploymentWhatIf parameters, com.azure.core.util.Context context) Returns changes that will be made by the deployment if executed at the scope of the subscription.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<WhatIfOperationResultInner>,WhatIfOperationResultInner> beginWhatIfAtSubscriptionScopeAsync(String deploymentName, DeploymentWhatIf parameters) Returns changes that will be made by the deployment if executed at the scope of the subscription.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WhatIfOperationResultInner>,WhatIfOperationResultInner> beginWhatIfAtTenantScope(String deploymentName, ScopedDeploymentWhatIf parameters, com.azure.core.util.Context context) Returns changes that will be made by the deployment if executed at the scope of the tenant group.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<WhatIfOperationResultInner>,WhatIfOperationResultInner> beginWhatIfAtTenantScopeAsync(String deploymentName, ScopedDeploymentWhatIf parameters) Returns changes that will be made by the deployment if executed at the scope of the tenant group.calculateTemplateHash(Object template) Calculate the hash of the given template.calculateTemplateHashAsync(Object template) Calculate the hash of the given template.com.azure.core.http.rest.Response<TemplateHashResultInner>calculateTemplateHashWithResponse(Object template, com.azure.core.util.Context context) Calculate the hash of the given template.Mono<com.azure.core.http.rest.Response<TemplateHashResultInner>>calculateTemplateHashWithResponseAsync(Object template) Calculate the hash of the given template.voidYou can cancel a deployment only if the provisioningState is Accepted or Running.cancelAsync(String resourceGroupName, String deploymentName) You can cancel a deployment only if the provisioningState is Accepted or Running.voidcancelAtManagementGroupScope(String groupId, String deploymentName) You can cancel a deployment only if the provisioningState is Accepted or Running.cancelAtManagementGroupScopeAsync(String groupId, String deploymentName) You can cancel a deployment only if the provisioningState is Accepted or Running.com.azure.core.http.rest.Response<Void>cancelAtManagementGroupScopeWithResponse(String groupId, String deploymentName, com.azure.core.util.Context context) You can cancel a deployment only if the provisioningState is Accepted or Running.cancelAtManagementGroupScopeWithResponseAsync(String groupId, String deploymentName) You can cancel a deployment only if the provisioningState is Accepted or Running.voidcancelAtScope(String scope, String deploymentName) You can cancel a deployment only if the provisioningState is Accepted or Running.cancelAtScopeAsync(String scope, String deploymentName) You can cancel a deployment only if the provisioningState is Accepted or Running.com.azure.core.http.rest.Response<Void>cancelAtScopeWithResponse(String scope, String deploymentName, com.azure.core.util.Context context) You can cancel a deployment only if the provisioningState is Accepted or Running.cancelAtScopeWithResponseAsync(String scope, String deploymentName) You can cancel a deployment only if the provisioningState is Accepted or Running.voidcancelAtSubscriptionScope(String deploymentName) You can cancel a deployment only if the provisioningState is Accepted or Running.cancelAtSubscriptionScopeAsync(String deploymentName) You can cancel a deployment only if the provisioningState is Accepted or Running.com.azure.core.http.rest.Response<Void>cancelAtSubscriptionScopeWithResponse(String deploymentName, com.azure.core.util.Context context) You can cancel a deployment only if the provisioningState is Accepted or Running.cancelAtSubscriptionScopeWithResponseAsync(String deploymentName) You can cancel a deployment only if the provisioningState is Accepted or Running.voidcancelAtTenantScope(String deploymentName) You can cancel a deployment only if the provisioningState is Accepted or Running.cancelAtTenantScopeAsync(String deploymentName) You can cancel a deployment only if the provisioningState is Accepted or Running.com.azure.core.http.rest.Response<Void>cancelAtTenantScopeWithResponse(String deploymentName, com.azure.core.util.Context context) You can cancel a deployment only if the provisioningState is Accepted or Running.cancelAtTenantScopeWithResponseAsync(String deploymentName) You can cancel a deployment only if the provisioningState is Accepted or Running.com.azure.core.http.rest.Response<Void>cancelWithResponse(String resourceGroupName, String deploymentName, com.azure.core.util.Context context) You can cancel a deployment only if the provisioningState is Accepted or Running.cancelWithResponseAsync(String resourceGroupName, String deploymentName) You can cancel a deployment only if the provisioningState is Accepted or Running.booleancheckExistence(String resourceGroupName, String deploymentName) Checks whether the deployment exists.checkExistenceAsync(String resourceGroupName, String deploymentName) Checks whether the deployment exists.booleancheckExistenceAtManagementGroupScope(String groupId, String deploymentName) Checks whether the deployment exists.checkExistenceAtManagementGroupScopeAsync(String groupId, String deploymentName) Checks whether the deployment exists.com.azure.core.http.rest.Response<Boolean>checkExistenceAtManagementGroupScopeWithResponse(String groupId, String deploymentName, com.azure.core.util.Context context) Checks whether the deployment exists.checkExistenceAtManagementGroupScopeWithResponseAsync(String groupId, String deploymentName) Checks whether the deployment exists.booleancheckExistenceAtScope(String scope, String deploymentName) Checks whether the deployment exists.checkExistenceAtScopeAsync(String scope, String deploymentName) Checks whether the deployment exists.com.azure.core.http.rest.Response<Boolean>checkExistenceAtScopeWithResponse(String scope, String deploymentName, com.azure.core.util.Context context) Checks whether the deployment exists.checkExistenceAtScopeWithResponseAsync(String scope, String deploymentName) Checks whether the deployment exists.booleancheckExistenceAtSubscriptionScope(String deploymentName) Checks whether the deployment exists.checkExistenceAtSubscriptionScopeAsync(String deploymentName) Checks whether the deployment exists.com.azure.core.http.rest.Response<Boolean>checkExistenceAtSubscriptionScopeWithResponse(String deploymentName, com.azure.core.util.Context context) Checks whether the deployment exists.checkExistenceAtSubscriptionScopeWithResponseAsync(String deploymentName) Checks whether the deployment exists.booleancheckExistenceAtTenantScope(String deploymentName) Checks whether the deployment exists.checkExistenceAtTenantScopeAsync(String deploymentName) Checks whether the deployment exists.com.azure.core.http.rest.Response<Boolean>checkExistenceAtTenantScopeWithResponse(String deploymentName, com.azure.core.util.Context context) Checks whether the deployment exists.checkExistenceAtTenantScopeWithResponseAsync(String deploymentName) Checks whether the deployment exists.com.azure.core.http.rest.Response<Boolean>checkExistenceWithResponse(String resourceGroupName, String deploymentName, com.azure.core.util.Context context) Checks whether the deployment exists.checkExistenceWithResponseAsync(String resourceGroupName, String deploymentName) Checks whether the deployment exists.createOrUpdate(String resourceGroupName, String deploymentName, DeploymentInner parameters) You can provide the template and parameters directly in the request or link to JSON files.createOrUpdate(String resourceGroupName, String deploymentName, DeploymentInner parameters, com.azure.core.util.Context context) You can provide the template and parameters directly in the request or link to JSON files.createOrUpdateAsync(String resourceGroupName, String deploymentName, DeploymentInner parameters) You can provide the template and parameters directly in the request or link to JSON files.createOrUpdateAtManagementGroupScope(String groupId, String deploymentName, ScopedDeployment parameters) You can provide the template and parameters directly in the request or link to JSON files.createOrUpdateAtManagementGroupScope(String groupId, String deploymentName, ScopedDeployment parameters, com.azure.core.util.Context context) You can provide the template and parameters directly in the request or link to JSON files.createOrUpdateAtManagementGroupScopeAsync(String groupId, String deploymentName, ScopedDeployment parameters) You can provide the template and parameters directly in the request or link to JSON files.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>createOrUpdateAtManagementGroupScopeWithResponseAsync(String groupId, String deploymentName, ScopedDeployment parameters) You can provide the template and parameters directly in the request or link to JSON files.createOrUpdateAtScope(String scope, String deploymentName, DeploymentInner parameters) You can provide the template and parameters directly in the request or link to JSON files.createOrUpdateAtScope(String scope, String deploymentName, DeploymentInner parameters, com.azure.core.util.Context context) You can provide the template and parameters directly in the request or link to JSON files.createOrUpdateAtScopeAsync(String scope, String deploymentName, DeploymentInner parameters) You can provide the template and parameters directly in the request or link to JSON files.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>createOrUpdateAtScopeWithResponseAsync(String scope, String deploymentName, DeploymentInner parameters) You can provide the template and parameters directly in the request or link to JSON files.createOrUpdateAtSubscriptionScope(String deploymentName, DeploymentInner parameters) You can provide the template and parameters directly in the request or link to JSON files.createOrUpdateAtSubscriptionScope(String deploymentName, DeploymentInner parameters, com.azure.core.util.Context context) You can provide the template and parameters directly in the request or link to JSON files.createOrUpdateAtSubscriptionScopeAsync(String deploymentName, DeploymentInner parameters) You can provide the template and parameters directly in the request or link to JSON files.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>createOrUpdateAtSubscriptionScopeWithResponseAsync(String deploymentName, DeploymentInner parameters) You can provide the template and parameters directly in the request or link to JSON files.createOrUpdateAtTenantScope(String deploymentName, ScopedDeployment parameters) You can provide the template and parameters directly in the request or link to JSON files.createOrUpdateAtTenantScope(String deploymentName, ScopedDeployment parameters, com.azure.core.util.Context context) You can provide the template and parameters directly in the request or link to JSON files.createOrUpdateAtTenantScopeAsync(String deploymentName, ScopedDeployment parameters) You can provide the template and parameters directly in the request or link to JSON files.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>createOrUpdateAtTenantScopeWithResponseAsync(String deploymentName, ScopedDeployment parameters) You can provide the template and parameters directly in the request or link to JSON files.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>createOrUpdateWithResponseAsync(String resourceGroupName, String deploymentName, DeploymentInner parameters) You can provide the template and parameters directly in the request or link to JSON files.voidA template deployment that is currently running cannot be deleted.voidA template deployment that is currently running cannot be deleted.deleteAsync(String resourceGroupName, String deploymentName) A template deployment that is currently running cannot be deleted.voiddeleteAtManagementGroupScope(String groupId, String deploymentName) A template deployment that is currently running cannot be deleted.voiddeleteAtManagementGroupScope(String groupId, String deploymentName, com.azure.core.util.Context context) A template deployment that is currently running cannot be deleted.deleteAtManagementGroupScopeAsync(String groupId, String deploymentName) A template deployment that is currently running cannot be deleted.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>deleteAtManagementGroupScopeWithResponseAsync(String groupId, String deploymentName) A template deployment that is currently running cannot be deleted.voiddeleteAtScope(String scope, String deploymentName) A template deployment that is currently running cannot be deleted.voiddeleteAtScope(String scope, String deploymentName, com.azure.core.util.Context context) A template deployment that is currently running cannot be deleted.deleteAtScopeAsync(String scope, String deploymentName) A template deployment that is currently running cannot be deleted.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>deleteAtScopeWithResponseAsync(String scope, String deploymentName) A template deployment that is currently running cannot be deleted.voiddeleteAtSubscriptionScope(String deploymentName) A template deployment that is currently running cannot be deleted.voiddeleteAtSubscriptionScope(String deploymentName, com.azure.core.util.Context context) A template deployment that is currently running cannot be deleted.deleteAtSubscriptionScopeAsync(String deploymentName) A template deployment that is currently running cannot be deleted.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>deleteAtSubscriptionScopeWithResponseAsync(String deploymentName) A template deployment that is currently running cannot be deleted.voiddeleteAtTenantScope(String deploymentName) A template deployment that is currently running cannot be deleted.voiddeleteAtTenantScope(String deploymentName, com.azure.core.util.Context context) A template deployment that is currently running cannot be deleted.deleteAtTenantScopeAsync(String deploymentName) A template deployment that is currently running cannot be deleted.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>deleteAtTenantScopeWithResponseAsync(String deploymentName) A template deployment that is currently running cannot be deleted.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>deleteWithResponseAsync(String resourceGroupName, String deploymentName) A template deployment that is currently running cannot be deleted.exportTemplate(String resourceGroupName, String deploymentName) Exports the template used for specified deployment.exportTemplateAsync(String resourceGroupName, String deploymentName) Exports the template used for specified deployment.exportTemplateAtManagementGroupScope(String groupId, String deploymentName) Exports the template used for specified deployment.exportTemplateAtManagementGroupScopeAsync(String groupId, String deploymentName) Exports the template used for specified deployment.com.azure.core.http.rest.Response<DeploymentExportResultInner>exportTemplateAtManagementGroupScopeWithResponse(String groupId, String deploymentName, com.azure.core.util.Context context) Exports the template used for specified deployment.Mono<com.azure.core.http.rest.Response<DeploymentExportResultInner>>exportTemplateAtManagementGroupScopeWithResponseAsync(String groupId, String deploymentName) Exports the template used for specified deployment.exportTemplateAtScope(String scope, String deploymentName) Exports the template used for specified deployment.exportTemplateAtScopeAsync(String scope, String deploymentName) Exports the template used for specified deployment.com.azure.core.http.rest.Response<DeploymentExportResultInner>exportTemplateAtScopeWithResponse(String scope, String deploymentName, com.azure.core.util.Context context) Exports the template used for specified deployment.Mono<com.azure.core.http.rest.Response<DeploymentExportResultInner>>exportTemplateAtScopeWithResponseAsync(String scope, String deploymentName) Exports the template used for specified deployment.exportTemplateAtSubscriptionScope(String deploymentName) Exports the template used for specified deployment.exportTemplateAtSubscriptionScopeAsync(String deploymentName) Exports the template used for specified deployment.com.azure.core.http.rest.Response<DeploymentExportResultInner>exportTemplateAtSubscriptionScopeWithResponse(String deploymentName, com.azure.core.util.Context context) Exports the template used for specified deployment.Mono<com.azure.core.http.rest.Response<DeploymentExportResultInner>>exportTemplateAtSubscriptionScopeWithResponseAsync(String deploymentName) Exports the template used for specified deployment.exportTemplateAtTenantScope(String deploymentName) Exports the template used for specified deployment.exportTemplateAtTenantScopeAsync(String deploymentName) Exports the template used for specified deployment.com.azure.core.http.rest.Response<DeploymentExportResultInner>exportTemplateAtTenantScopeWithResponse(String deploymentName, com.azure.core.util.Context context) Exports the template used for specified deployment.Mono<com.azure.core.http.rest.Response<DeploymentExportResultInner>>exportTemplateAtTenantScopeWithResponseAsync(String deploymentName) Exports the template used for specified deployment.com.azure.core.http.rest.Response<DeploymentExportResultInner>exportTemplateWithResponse(String resourceGroupName, String deploymentName, com.azure.core.util.Context context) Exports the template used for specified deployment.Mono<com.azure.core.http.rest.Response<DeploymentExportResultInner>>exportTemplateWithResponseAsync(String resourceGroupName, String deploymentName) Exports the template used for specified deployment.getAtManagementGroupScope(String groupId, String deploymentName) Gets a deployment.getAtManagementGroupScopeAsync(String groupId, String deploymentName) Gets a deployment.com.azure.core.http.rest.Response<DeploymentExtendedInner>getAtManagementGroupScopeWithResponse(String groupId, String deploymentName, com.azure.core.util.Context context) Gets a deployment.Mono<com.azure.core.http.rest.Response<DeploymentExtendedInner>>getAtManagementGroupScopeWithResponseAsync(String groupId, String deploymentName) Gets a deployment.getAtScope(String scope, String deploymentName) Gets a deployment.getAtScopeAsync(String scope, String deploymentName) Gets a deployment.com.azure.core.http.rest.Response<DeploymentExtendedInner>getAtScopeWithResponse(String scope, String deploymentName, com.azure.core.util.Context context) Gets a deployment.Mono<com.azure.core.http.rest.Response<DeploymentExtendedInner>>getAtScopeWithResponseAsync(String scope, String deploymentName) Gets a deployment.getAtSubscriptionScope(String deploymentName) Gets a deployment.getAtSubscriptionScopeAsync(String deploymentName) Gets a deployment.com.azure.core.http.rest.Response<DeploymentExtendedInner>getAtSubscriptionScopeWithResponse(String deploymentName, com.azure.core.util.Context context) Gets a deployment.Mono<com.azure.core.http.rest.Response<DeploymentExtendedInner>>getAtSubscriptionScopeWithResponseAsync(String deploymentName) Gets a deployment.getAtTenantScope(String deploymentName) Gets a deployment.getAtTenantScopeAsync(String deploymentName) Gets a deployment.com.azure.core.http.rest.Response<DeploymentExtendedInner>getAtTenantScopeWithResponse(String deploymentName, com.azure.core.util.Context context) Gets a deployment.Mono<com.azure.core.http.rest.Response<DeploymentExtendedInner>>getAtTenantScopeWithResponseAsync(String deploymentName) Gets a deployment.getByResourceGroup(String resourceGroupName, String deploymentName) Gets a deployment.getByResourceGroupAsync(String resourceGroupName, String deploymentName) Gets a deployment.com.azure.core.http.rest.Response<DeploymentExtendedInner>getByResourceGroupWithResponse(String resourceGroupName, String deploymentName, com.azure.core.util.Context context) Gets a deployment.Mono<com.azure.core.http.rest.Response<DeploymentExtendedInner>>getByResourceGroupWithResponseAsync(String resourceGroupName, String deploymentName) Gets a deployment.com.azure.core.http.rest.PagedIterable<DeploymentExtendedInner>list()Get all the deployments for a subscription.com.azure.core.http.rest.PagedIterable<DeploymentExtendedInner>Get all the deployments for a subscription.com.azure.core.http.rest.PagedFlux<DeploymentExtendedInner>Get all the deployments for a subscription.com.azure.core.http.rest.PagedFlux<DeploymentExtendedInner>Get all the deployments for a subscription.com.azure.core.http.rest.PagedIterable<DeploymentExtendedInner>listAtManagementGroupScope(String groupId) Get all the deployments for a management group.com.azure.core.http.rest.PagedIterable<DeploymentExtendedInner>listAtManagementGroupScope(String groupId, String filter, Integer top, com.azure.core.util.Context context) Get all the deployments for a management group.com.azure.core.http.rest.PagedFlux<DeploymentExtendedInner>listAtManagementGroupScopeAsync(String groupId) Get all the deployments for a management group.com.azure.core.http.rest.PagedFlux<DeploymentExtendedInner>listAtManagementGroupScopeAsync(String groupId, String filter, Integer top) Get all the deployments for a management group.com.azure.core.http.rest.PagedIterable<DeploymentExtendedInner>listAtScope(String scope) Get all the deployments at the given scope.com.azure.core.http.rest.PagedIterable<DeploymentExtendedInner>listAtScope(String scope, String filter, Integer top, com.azure.core.util.Context context) Get all the deployments at the given scope.com.azure.core.http.rest.PagedFlux<DeploymentExtendedInner>listAtScopeAsync(String scope) Get all the deployments at the given scope.com.azure.core.http.rest.PagedFlux<DeploymentExtendedInner>listAtScopeAsync(String scope, String filter, Integer top) Get all the deployments at the given scope.com.azure.core.http.rest.PagedIterable<DeploymentExtendedInner>Get all the deployments at the tenant scope.com.azure.core.http.rest.PagedIterable<DeploymentExtendedInner>listAtTenantScope(String filter, Integer top, com.azure.core.util.Context context) Get all the deployments at the tenant scope.com.azure.core.http.rest.PagedFlux<DeploymentExtendedInner>Get all the deployments at the tenant scope.com.azure.core.http.rest.PagedFlux<DeploymentExtendedInner>listAtTenantScopeAsync(String filter, Integer top) Get all the deployments at the tenant scope.com.azure.core.http.rest.PagedIterable<DeploymentExtendedInner>listByResourceGroup(String resourceGroupName) Get all the deployments for a resource group.com.azure.core.http.rest.PagedIterable<DeploymentExtendedInner>listByResourceGroup(String resourceGroupName, String filter, Integer top, com.azure.core.util.Context context) Get all the deployments for a resource group.com.azure.core.http.rest.PagedFlux<DeploymentExtendedInner>listByResourceGroupAsync(String resourceGroupName) Get all the deployments for a resource group.com.azure.core.http.rest.PagedFlux<DeploymentExtendedInner>listByResourceGroupAsync(String resourceGroupName, String filter, Integer top) Get all the deployments for a resource group.validate(String resourceGroupName, String deploymentName, DeploymentInner parameters) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..validate(String resourceGroupName, String deploymentName, DeploymentInner parameters, com.azure.core.util.Context context) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..validateAsync(String resourceGroupName, String deploymentName, DeploymentInner parameters) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..validateAtManagementGroupScope(String groupId, String deploymentName, ScopedDeployment parameters) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..validateAtManagementGroupScope(String groupId, String deploymentName, ScopedDeployment parameters, com.azure.core.util.Context context) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..validateAtManagementGroupScopeAsync(String groupId, String deploymentName, ScopedDeployment parameters) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>validateAtManagementGroupScopeWithResponseAsync(String groupId, String deploymentName, ScopedDeployment parameters) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..validateAtScope(String scope, String deploymentName, DeploymentInner parameters) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..validateAtScope(String scope, String deploymentName, DeploymentInner parameters, com.azure.core.util.Context context) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..validateAtScopeAsync(String scope, String deploymentName, DeploymentInner parameters) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>validateAtScopeWithResponseAsync(String scope, String deploymentName, DeploymentInner parameters) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..validateAtSubscriptionScope(String deploymentName, DeploymentInner parameters) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..validateAtSubscriptionScope(String deploymentName, DeploymentInner parameters, com.azure.core.util.Context context) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..validateAtSubscriptionScopeAsync(String deploymentName, DeploymentInner parameters) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>validateAtSubscriptionScopeWithResponseAsync(String deploymentName, DeploymentInner parameters) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..validateAtTenantScope(String deploymentName, ScopedDeployment parameters) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..validateAtTenantScope(String deploymentName, ScopedDeployment parameters, com.azure.core.util.Context context) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..validateAtTenantScopeAsync(String deploymentName, ScopedDeployment parameters) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>validateAtTenantScopeWithResponseAsync(String deploymentName, ScopedDeployment parameters) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>validateWithResponseAsync(String resourceGroupName, String deploymentName, DeploymentInner parameters) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..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.whatIf(String resourceGroupName, String deploymentName, DeploymentWhatIf parameters, com.azure.core.util.Context context) Returns changes that will be made by the deployment if executed at the scope of the resource group.whatIfAsync(String resourceGroupName, String deploymentName, DeploymentWhatIf parameters) Returns changes that will be made by the deployment if executed at the scope of the resource group.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.whatIfAtManagementGroupScope(String groupId, String deploymentName, ScopedDeploymentWhatIf parameters, com.azure.core.util.Context context) Returns changes that will be made by the deployment if executed at the scope of the management group.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.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>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.whatIfAtSubscriptionScope(String deploymentName, DeploymentWhatIf parameters) Returns changes that will be made by the deployment if executed at the scope of the subscription.whatIfAtSubscriptionScope(String deploymentName, DeploymentWhatIf parameters, com.azure.core.util.Context context) Returns changes that will be made by the deployment if executed at the scope of the subscription.whatIfAtSubscriptionScopeAsync(String deploymentName, DeploymentWhatIf parameters) Returns changes that will be made by the deployment if executed at the scope of the subscription.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>whatIfAtSubscriptionScopeWithResponseAsync(String deploymentName, DeploymentWhatIf parameters) Returns changes that will be made by the deployment if executed at the scope of the subscription.whatIfAtTenantScope(String deploymentName, ScopedDeploymentWhatIf parameters) Returns changes that will be made by the deployment if executed at the scope of the tenant group.whatIfAtTenantScope(String deploymentName, ScopedDeploymentWhatIf parameters, com.azure.core.util.Context context) Returns changes that will be made by the deployment if executed at the scope of the tenant group.whatIfAtTenantScopeAsync(String deploymentName, ScopedDeploymentWhatIf parameters) Returns changes that will be made by the deployment if executed at the scope of the tenant group.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>whatIfAtTenantScopeWithResponseAsync(String deploymentName, ScopedDeploymentWhatIf parameters) Returns changes that will be made by the deployment if executed at the scope of the tenant group.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>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.
-
Method Details
-
deleteAtScopeWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteAtScopeWithResponseAsync(String scope, String deploymentName) 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:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDeleteAtScopeAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAtScopeAsync(String scope, String deploymentName) 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:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDeleteAtScope
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAtScope(String scope, String deploymentName) 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:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDeleteAtScope
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAtScope(String scope, String deploymentName, com.azure.core.util.Context context) 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.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAtScopeAsync
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
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAtScope
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.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAtScope
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.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
checkExistenceAtScopeWithResponseAsync
Mono<com.azure.core.http.rest.Response<Boolean>> checkExistenceAtScopeWithResponseAsync(String scope, String deploymentName) Checks whether the deployment exists.- Parameters:
scope- The resource scope.deploymentName- The name of the deployment.- Returns:
- whether resource exists along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
checkExistenceAtScopeAsync
Checks whether the deployment exists.- Parameters:
scope- The resource scope.deploymentName- The name of the deployment.- Returns:
- whether resource exists on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
checkExistenceAtScope
Checks whether the deployment exists.- Parameters:
scope- The resource scope.deploymentName- The name of the deployment.- Returns:
- whether resource exists.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
checkExistenceAtScopeWithResponse
com.azure.core.http.rest.Response<Boolean> checkExistenceAtScopeWithResponse(String scope, String deploymentName, com.azure.core.util.Context context) Checks whether the deployment exists.- Parameters:
scope- The resource scope.deploymentName- The name of the deployment.context- The context to associate with this operation.- Returns:
- whether resource exists along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAtScopeWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateAtScopeWithResponseAsync(String scope, String deploymentName, DeploymentInner parameters) You can provide the template and parameters directly in the request or link to JSON files.- Parameters:
scope- The resource scope.deploymentName- The name of the deployment.parameters- Additional parameters supplied to the operation.- Returns:
- deployment information along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdateAtScopeAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<DeploymentExtendedInner>,DeploymentExtendedInner> beginCreateOrUpdateAtScopeAsync(String scope, String deploymentName, DeploymentInner parameters) You can provide the template and parameters directly in the request or link to JSON files.- Parameters:
scope- The resource scope.deploymentName- The name of the deployment.parameters- Additional parameters supplied to the operation.- Returns:
- the
PollerFluxfor polling of deployment information. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdateAtScope
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DeploymentExtendedInner>,DeploymentExtendedInner> beginCreateOrUpdateAtScope(String scope, String deploymentName, DeploymentInner parameters) You can provide the template and parameters directly in the request or link to JSON files.- Parameters:
scope- The resource scope.deploymentName- The name of the deployment.parameters- Additional parameters supplied to the operation.- Returns:
- the
SyncPollerfor polling of deployment information. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdateAtScope
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DeploymentExtendedInner>,DeploymentExtendedInner> beginCreateOrUpdateAtScope(String scope, String deploymentName, DeploymentInner parameters, com.azure.core.util.Context context) You can provide the template and parameters directly in the request or link to JSON files.- Parameters:
scope- The resource scope.deploymentName- The name of the deployment.parameters- Additional parameters supplied to the operation.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of deployment information. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAtScopeAsync
Mono<DeploymentExtendedInner> createOrUpdateAtScopeAsync(String scope, String deploymentName, DeploymentInner parameters) You can provide the template and parameters directly in the request or link to JSON files.- Parameters:
scope- The resource scope.deploymentName- The name of the deployment.parameters- Additional parameters supplied to the operation.- Returns:
- deployment information on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAtScope
DeploymentExtendedInner createOrUpdateAtScope(String scope, String deploymentName, DeploymentInner parameters) You can provide the template and parameters directly in the request or link to JSON files.- Parameters:
scope- The resource scope.deploymentName- The name of the deployment.parameters- Additional parameters supplied to the operation.- Returns:
- deployment information.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAtScope
DeploymentExtendedInner createOrUpdateAtScope(String scope, String deploymentName, DeploymentInner parameters, com.azure.core.util.Context context) You can provide the template and parameters directly in the request or link to JSON files.- Parameters:
scope- The resource scope.deploymentName- The name of the deployment.parameters- Additional parameters supplied to the operation.context- The context to associate with this operation.- Returns:
- deployment information.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAtScopeWithResponseAsync
Mono<com.azure.core.http.rest.Response<DeploymentExtendedInner>> getAtScopeWithResponseAsync(String scope, String deploymentName) Gets a deployment.- Parameters:
scope- The resource scope.deploymentName- The name of the deployment.- Returns:
- a deployment along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAtScopeAsync
Gets a deployment.- Parameters:
scope- The resource scope.deploymentName- The name of the deployment.- Returns:
- a deployment on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAtScope
Gets a deployment.- Parameters:
scope- The resource scope.deploymentName- The name of the deployment.- Returns:
- a deployment.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAtScopeWithResponse
com.azure.core.http.rest.Response<DeploymentExtendedInner> getAtScopeWithResponse(String scope, String deploymentName, com.azure.core.util.Context context) Gets a deployment.- Parameters:
scope- The resource scope.deploymentName- The name of the deployment.context- The context to associate with this operation.- Returns:
- a deployment along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
cancelAtScopeWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> cancelAtScopeWithResponseAsync(String scope, String deploymentName) 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:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
cancelAtScopeAsync
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
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
cancelAtScope
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.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
cancelAtScopeWithResponse
com.azure.core.http.rest.Response<Void> cancelAtScopeWithResponse(String scope, String deploymentName, com.azure.core.util.Context context) 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.- Returns:
- the
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
validateAtScopeWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> validateAtScopeWithResponseAsync(String scope, String deploymentName, DeploymentInner parameters) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..- Parameters:
scope- The resource scope.deploymentName- The name of the deployment.parameters- Parameters to validate.- Returns:
- information from validate template deployment response along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginValidateAtScopeAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<DeploymentValidateResultInner>,DeploymentValidateResultInner> beginValidateAtScopeAsync(String scope, String deploymentName, DeploymentInner parameters) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..- Parameters:
scope- The resource scope.deploymentName- The name of the deployment.parameters- Parameters to validate.- Returns:
- the
PollerFluxfor polling of information from validate template deployment response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginValidateAtScope
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DeploymentValidateResultInner>,DeploymentValidateResultInner> beginValidateAtScope(String scope, String deploymentName, DeploymentInner parameters) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..- Parameters:
scope- The resource scope.deploymentName- The name of the deployment.parameters- Parameters to validate.- Returns:
- the
SyncPollerfor polling of information from validate template deployment response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginValidateAtScope
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DeploymentValidateResultInner>,DeploymentValidateResultInner> beginValidateAtScope(String scope, String deploymentName, DeploymentInner parameters, com.azure.core.util.Context context) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..- Parameters:
scope- The resource scope.deploymentName- The name of the deployment.parameters- Parameters to validate.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of information from validate template deployment response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
validateAtScopeAsync
Mono<DeploymentValidateResultInner> validateAtScopeAsync(String scope, String deploymentName, DeploymentInner parameters) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..- Parameters:
scope- The resource scope.deploymentName- The name of the deployment.parameters- Parameters to validate.- Returns:
- information from validate template deployment response on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
validateAtScope
DeploymentValidateResultInner validateAtScope(String scope, String deploymentName, DeploymentInner parameters) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..- Parameters:
scope- The resource scope.deploymentName- The name of the deployment.parameters- Parameters to validate.- Returns:
- information from validate template deployment response.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
validateAtScope
DeploymentValidateResultInner validateAtScope(String scope, String deploymentName, DeploymentInner parameters, com.azure.core.util.Context context) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..- Parameters:
scope- The resource scope.deploymentName- The name of the deployment.parameters- Parameters to validate.context- The context to associate with this operation.- Returns:
- information from validate template deployment response.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
exportTemplateAtScopeWithResponseAsync
Mono<com.azure.core.http.rest.Response<DeploymentExportResultInner>> exportTemplateAtScopeWithResponseAsync(String scope, String deploymentName) Exports the template used for specified deployment.- Parameters:
scope- The resource scope.deploymentName- The name of the deployment.- Returns:
- the deployment export result along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
exportTemplateAtScopeAsync
Exports the template used for specified deployment.- Parameters:
scope- The resource scope.deploymentName- The name of the deployment.- Returns:
- the deployment export result on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
exportTemplateAtScope
Exports the template used for specified deployment.- Parameters:
scope- The resource scope.deploymentName- The name of the deployment.- Returns:
- the deployment export result.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
exportTemplateAtScopeWithResponse
com.azure.core.http.rest.Response<DeploymentExportResultInner> exportTemplateAtScopeWithResponse(String scope, String deploymentName, com.azure.core.util.Context context) Exports the template used for specified deployment.- Parameters:
scope- The resource scope.deploymentName- The name of the deployment.context- The context to associate with this operation.- Returns:
- the deployment export result along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listAtScopeAsync
com.azure.core.http.rest.PagedFlux<DeploymentExtendedInner> listAtScopeAsync(String scope, String filter, Integer top) Get all the deployments at the given scope.- Parameters:
scope- The resource scope.filter- The filter to apply on the operation. For example, you can use $filter=provisioningState eq '{state}'.top- The number of results to get. If null is passed, returns all deployments.- Returns:
- all the deployments at the given scope as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listAtScopeAsync
Get all the deployments at the given scope.- Parameters:
scope- The resource scope.- Returns:
- all the deployments at the given scope as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listAtScope
Get all the deployments at the given scope.- Parameters:
scope- The resource scope.- Returns:
- all the deployments at the given scope as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listAtScope
com.azure.core.http.rest.PagedIterable<DeploymentExtendedInner> listAtScope(String scope, String filter, Integer top, com.azure.core.util.Context context) Get all the deployments at the given scope.- Parameters:
scope- The resource scope.filter- The filter to apply on the operation. For example, you can use $filter=provisioningState eq '{state}'.top- The number of results to get. If null is passed, returns all deployments.context- The context to associate with this operation.- Returns:
- all the deployments at the given scope as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAtTenantScopeWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteAtTenantScopeWithResponseAsync(String deploymentName) 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:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDeleteAtTenantScopeAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAtTenantScopeAsync(String deploymentName) 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:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDeleteAtTenantScope
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAtTenantScope(String deploymentName) 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:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDeleteAtTenantScope
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAtTenantScope(String deploymentName, com.azure.core.util.Context context) 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.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAtTenantScopeAsync
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
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAtTenantScope
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.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAtTenantScope
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.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
checkExistenceAtTenantScopeWithResponseAsync
Mono<com.azure.core.http.rest.Response<Boolean>> checkExistenceAtTenantScopeWithResponseAsync(String deploymentName) Checks whether the deployment exists.- Parameters:
deploymentName- The name of the deployment.- Returns:
- whether resource exists along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
checkExistenceAtTenantScopeAsync
Checks whether the deployment exists.- Parameters:
deploymentName- The name of the deployment.- Returns:
- whether resource exists on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
checkExistenceAtTenantScope
Checks whether the deployment exists.- Parameters:
deploymentName- The name of the deployment.- Returns:
- whether resource exists.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
checkExistenceAtTenantScopeWithResponse
com.azure.core.http.rest.Response<Boolean> checkExistenceAtTenantScopeWithResponse(String deploymentName, com.azure.core.util.Context context) Checks whether the deployment exists.- Parameters:
deploymentName- The name of the deployment.context- The context to associate with this operation.- Returns:
- whether resource exists along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAtTenantScopeWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateAtTenantScopeWithResponseAsync(String deploymentName, ScopedDeployment parameters) 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
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdateAtTenantScopeAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<DeploymentExtendedInner>,DeploymentExtendedInner> beginCreateOrUpdateAtTenantScopeAsync(String deploymentName, ScopedDeployment parameters) 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:
- the
PollerFluxfor polling of deployment information. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdateAtTenantScope
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DeploymentExtendedInner>,DeploymentExtendedInner> beginCreateOrUpdateAtTenantScope(String deploymentName, ScopedDeployment parameters) 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:
- the
SyncPollerfor polling of deployment information. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdateAtTenantScope
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DeploymentExtendedInner>,DeploymentExtendedInner> beginCreateOrUpdateAtTenantScope(String deploymentName, ScopedDeployment parameters, com.azure.core.util.Context context) 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:
- the
SyncPollerfor polling of deployment information. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAtTenantScopeAsync
Mono<DeploymentExtendedInner> createOrUpdateAtTenantScopeAsync(String deploymentName, ScopedDeployment parameters) 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. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAtTenantScope
DeploymentExtendedInner createOrUpdateAtTenantScope(String deploymentName, ScopedDeployment parameters) 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.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAtTenantScope
DeploymentExtendedInner createOrUpdateAtTenantScope(String deploymentName, ScopedDeployment parameters, com.azure.core.util.Context context) 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.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAtTenantScopeWithResponseAsync
Mono<com.azure.core.http.rest.Response<DeploymentExtendedInner>> getAtTenantScopeWithResponseAsync(String deploymentName) Gets a deployment.- Parameters:
deploymentName- The name of the deployment.- Returns:
- a deployment along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAtTenantScopeAsync
Gets a deployment.- Parameters:
deploymentName- The name of the deployment.- Returns:
- a deployment on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAtTenantScope
Gets a deployment.- Parameters:
deploymentName- The name of the deployment.- Returns:
- a deployment.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAtTenantScopeWithResponse
com.azure.core.http.rest.Response<DeploymentExtendedInner> getAtTenantScopeWithResponse(String deploymentName, com.azure.core.util.Context context) Gets a deployment.- Parameters:
deploymentName- The name of the deployment.context- The context to associate with this operation.- Returns:
- a deployment along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
cancelAtTenantScopeWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> cancelAtTenantScopeWithResponseAsync(String deploymentName) 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:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
cancelAtTenantScopeAsync
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
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
cancelAtTenantScope
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.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
cancelAtTenantScopeWithResponse
com.azure.core.http.rest.Response<Void> cancelAtTenantScopeWithResponse(String deploymentName, com.azure.core.util.Context context) 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.- Returns:
- the
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
validateAtTenantScopeWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> validateAtTenantScopeWithResponseAsync(String deploymentName, ScopedDeployment parameters) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..- Parameters:
deploymentName- The name of the deployment.parameters- Parameters to validate.- Returns:
- information from validate template deployment response along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginValidateAtTenantScopeAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<DeploymentValidateResultInner>,DeploymentValidateResultInner> beginValidateAtTenantScopeAsync(String deploymentName, ScopedDeployment parameters) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..- Parameters:
deploymentName- The name of the deployment.parameters- Parameters to validate.- Returns:
- the
PollerFluxfor polling of information from validate template deployment response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginValidateAtTenantScope
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.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:
deploymentName- The name of the deployment.parameters- Parameters to validate.- Returns:
- the
SyncPollerfor polling of information from validate template deployment response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginValidateAtTenantScope
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DeploymentValidateResultInner>,DeploymentValidateResultInner> beginValidateAtTenantScope(String deploymentName, ScopedDeployment parameters, com.azure.core.util.Context context) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..- Parameters:
deploymentName- The name of the deployment.parameters- Parameters to validate.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of information from validate template deployment response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
validateAtTenantScopeAsync
Mono<DeploymentValidateResultInner> validateAtTenantScopeAsync(String deploymentName, ScopedDeployment parameters) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..- Parameters:
deploymentName- The name of the deployment.parameters- Parameters to validate.- Returns:
- information from validate template deployment response on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
validateAtTenantScope
DeploymentValidateResultInner validateAtTenantScope(String deploymentName, ScopedDeployment parameters) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..- Parameters:
deploymentName- The name of the deployment.parameters- Parameters to validate.- Returns:
- information from validate template deployment response.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
validateAtTenantScope
DeploymentValidateResultInner validateAtTenantScope(String deploymentName, ScopedDeployment parameters, com.azure.core.util.Context context) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..- Parameters:
deploymentName- The name of the deployment.parameters- Parameters to validate.context- The context to associate with this operation.- Returns:
- information from validate template deployment response.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
whatIfAtTenantScopeWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> 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
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginWhatIfAtTenantScopeAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<WhatIfOperationResultInner>,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
PollerFluxfor polling of result of the What-If operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginWhatIfAtTenantScope
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.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:
deploymentName- The name of the deployment.parameters- Parameters to validate.- Returns:
- the
SyncPollerfor polling of result of the What-If operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginWhatIfAtTenantScope
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WhatIfOperationResultInner>,WhatIfOperationResultInner> beginWhatIfAtTenantScope(String deploymentName, ScopedDeploymentWhatIf parameters, com.azure.core.util.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
SyncPollerfor polling of result of the What-If operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
whatIfAtTenantScopeAsync
Mono<WhatIfOperationResultInner> 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. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
whatIfAtTenantScope
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.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
whatIfAtTenantScope
WhatIfOperationResultInner whatIfAtTenantScope(String deploymentName, ScopedDeploymentWhatIf parameters, com.azure.core.util.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.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
exportTemplateAtTenantScopeWithResponseAsync
Mono<com.azure.core.http.rest.Response<DeploymentExportResultInner>> exportTemplateAtTenantScopeWithResponseAsync(String deploymentName) Exports the template used for specified deployment.- Parameters:
deploymentName- The name of the deployment.- Returns:
- the deployment export result along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
exportTemplateAtTenantScopeAsync
Exports the template used for specified deployment.- Parameters:
deploymentName- The name of the deployment.- Returns:
- the deployment export result on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
exportTemplateAtTenantScope
Exports the template used for specified deployment.- Parameters:
deploymentName- The name of the deployment.- Returns:
- the deployment export result.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
exportTemplateAtTenantScopeWithResponse
com.azure.core.http.rest.Response<DeploymentExportResultInner> exportTemplateAtTenantScopeWithResponse(String deploymentName, com.azure.core.util.Context context) Exports the template used for specified deployment.- Parameters:
deploymentName- The name of the deployment.context- The context to associate with this operation.- Returns:
- the deployment export result along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listAtTenantScopeAsync
com.azure.core.http.rest.PagedFlux<DeploymentExtendedInner> listAtTenantScopeAsync(String filter, Integer top) Get all the deployments at the tenant scope.- Parameters:
filter- The filter to apply on the operation. For example, you can use $filter=provisioningState eq '{state}'.top- The number of results to get. If null is passed, returns all deployments.- Returns:
- all the deployments at the tenant scope as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listAtTenantScopeAsync
com.azure.core.http.rest.PagedFlux<DeploymentExtendedInner> listAtTenantScopeAsync()Get all the deployments at the tenant scope.- Returns:
- all the deployments at the tenant scope as paginated response with
PagedFlux. - Throws:
com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listAtTenantScope
com.azure.core.http.rest.PagedIterable<DeploymentExtendedInner> listAtTenantScope()Get all the deployments at the tenant scope.- Returns:
- all the deployments at the tenant scope as paginated response with
PagedIterable. - Throws:
com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listAtTenantScope
com.azure.core.http.rest.PagedIterable<DeploymentExtendedInner> listAtTenantScope(String filter, Integer top, com.azure.core.util.Context context) Get all the deployments at the tenant scope.- Parameters:
filter- The filter to apply on the operation. For example, you can use $filter=provisioningState eq '{state}'.top- The number of results to get. If null is passed, returns all deployments.context- The context to associate with this operation.- Returns:
- all the deployments at the tenant scope as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAtManagementGroupScopeWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteAtManagementGroupScopeWithResponseAsync(String groupId, String deploymentName) 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:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDeleteAtManagementGroupScopeAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAtManagementGroupScopeAsync(String groupId, String deploymentName) 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:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDeleteAtManagementGroupScope
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAtManagementGroupScope(String groupId, String deploymentName) 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:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDeleteAtManagementGroupScope
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAtManagementGroupScope(String groupId, String deploymentName, com.azure.core.util.Context context) 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.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAtManagementGroupScopeAsync
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
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAtManagementGroupScope
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.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAtManagementGroupScope
void deleteAtManagementGroupScope(String groupId, String deploymentName, com.azure.core.util.Context context) 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.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
checkExistenceAtManagementGroupScopeWithResponseAsync
Mono<com.azure.core.http.rest.Response<Boolean>> checkExistenceAtManagementGroupScopeWithResponseAsync(String groupId, String deploymentName) Checks whether the deployment exists.- Parameters:
groupId- The management group ID.deploymentName- The name of the deployment.- Returns:
- whether resource exists along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
checkExistenceAtManagementGroupScopeAsync
Checks whether the deployment exists.- Parameters:
groupId- The management group ID.deploymentName- The name of the deployment.- Returns:
- whether resource exists on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
checkExistenceAtManagementGroupScope
Checks whether the deployment exists.- Parameters:
groupId- The management group ID.deploymentName- The name of the deployment.- Returns:
- whether resource exists.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
checkExistenceAtManagementGroupScopeWithResponse
com.azure.core.http.rest.Response<Boolean> checkExistenceAtManagementGroupScopeWithResponse(String groupId, String deploymentName, com.azure.core.util.Context context) Checks whether the deployment exists.- Parameters:
groupId- The management group ID.deploymentName- The name of the deployment.context- The context to associate with this operation.- Returns:
- whether resource exists along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAtManagementGroupScopeWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateAtManagementGroupScopeWithResponseAsync(String groupId, String deploymentName, ScopedDeployment parameters) You can provide the template and parameters directly in the request or link to JSON files.- Parameters:
groupId- The management group ID.deploymentName- The name of the deployment.parameters- Additional parameters supplied to the operation.- Returns:
- deployment information along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdateAtManagementGroupScopeAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<DeploymentExtendedInner>,DeploymentExtendedInner> beginCreateOrUpdateAtManagementGroupScopeAsync(String groupId, String deploymentName, ScopedDeployment parameters) You can provide the template and parameters directly in the request or link to JSON files.- Parameters:
groupId- The management group ID.deploymentName- The name of the deployment.parameters- Additional parameters supplied to the operation.- Returns:
- the
PollerFluxfor polling of deployment information. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdateAtManagementGroupScope
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DeploymentExtendedInner>,DeploymentExtendedInner> beginCreateOrUpdateAtManagementGroupScope(String groupId, String deploymentName, ScopedDeployment parameters) You can provide the template and parameters directly in the request or link to JSON files.- Parameters:
groupId- The management group ID.deploymentName- The name of the deployment.parameters- Additional parameters supplied to the operation.- Returns:
- the
SyncPollerfor polling of deployment information. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdateAtManagementGroupScope
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DeploymentExtendedInner>,DeploymentExtendedInner> beginCreateOrUpdateAtManagementGroupScope(String groupId, String deploymentName, ScopedDeployment parameters, com.azure.core.util.Context context) You can provide the template and parameters directly in the request or link to JSON files.- Parameters:
groupId- The management group ID.deploymentName- The name of the deployment.parameters- Additional parameters supplied to the operation.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of deployment information. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAtManagementGroupScopeAsync
Mono<DeploymentExtendedInner> createOrUpdateAtManagementGroupScopeAsync(String groupId, String deploymentName, ScopedDeployment parameters) You can provide the template and parameters directly in the request or link to JSON files.- Parameters:
groupId- The management group ID.deploymentName- The name of the deployment.parameters- Additional parameters supplied to the operation.- Returns:
- deployment information on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAtManagementGroupScope
DeploymentExtendedInner createOrUpdateAtManagementGroupScope(String groupId, String deploymentName, ScopedDeployment parameters) You can provide the template and parameters directly in the request or link to JSON files.- Parameters:
groupId- The management group ID.deploymentName- The name of the deployment.parameters- Additional parameters supplied to the operation.- Returns:
- deployment information.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAtManagementGroupScope
DeploymentExtendedInner createOrUpdateAtManagementGroupScope(String groupId, String deploymentName, ScopedDeployment parameters, com.azure.core.util.Context context) You can provide the template and parameters directly in the request or link to JSON files.- Parameters:
groupId- The management group ID.deploymentName- The name of the deployment.parameters- Additional parameters supplied to the operation.context- The context to associate with this operation.- Returns:
- deployment information.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAtManagementGroupScopeWithResponseAsync
Mono<com.azure.core.http.rest.Response<DeploymentExtendedInner>> getAtManagementGroupScopeWithResponseAsync(String groupId, String deploymentName) Gets a deployment.- Parameters:
groupId- The management group ID.deploymentName- The name of the deployment.- Returns:
- a deployment along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAtManagementGroupScopeAsync
Gets a deployment.- Parameters:
groupId- The management group ID.deploymentName- The name of the deployment.- Returns:
- a deployment on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAtManagementGroupScope
Gets a deployment.- Parameters:
groupId- The management group ID.deploymentName- The name of the deployment.- Returns:
- a deployment.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAtManagementGroupScopeWithResponse
com.azure.core.http.rest.Response<DeploymentExtendedInner> getAtManagementGroupScopeWithResponse(String groupId, String deploymentName, com.azure.core.util.Context context) Gets a deployment.- Parameters:
groupId- The management group ID.deploymentName- The name of the deployment.context- The context to associate with this operation.- Returns:
- a deployment along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
cancelAtManagementGroupScopeWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> cancelAtManagementGroupScopeWithResponseAsync(String groupId, String deploymentName) 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:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
cancelAtManagementGroupScopeAsync
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
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
cancelAtManagementGroupScope
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.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
cancelAtManagementGroupScopeWithResponse
com.azure.core.http.rest.Response<Void> cancelAtManagementGroupScopeWithResponse(String groupId, String deploymentName, com.azure.core.util.Context context) 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.- Returns:
- the
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
validateAtManagementGroupScopeWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> validateAtManagementGroupScopeWithResponseAsync(String groupId, String deploymentName, ScopedDeployment parameters) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..- Parameters:
groupId- The management group ID.deploymentName- The name of the deployment.parameters- Parameters to validate.- Returns:
- information from validate template deployment response along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginValidateAtManagementGroupScopeAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<DeploymentValidateResultInner>,DeploymentValidateResultInner> beginValidateAtManagementGroupScopeAsync(String groupId, String deploymentName, ScopedDeployment parameters) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..- Parameters:
groupId- The management group ID.deploymentName- The name of the deployment.parameters- Parameters to validate.- Returns:
- the
PollerFluxfor polling of information from validate template deployment response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginValidateAtManagementGroupScope
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.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:
groupId- The management group ID.deploymentName- The name of the deployment.parameters- Parameters to validate.- Returns:
- the
SyncPollerfor polling of information from validate template deployment response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginValidateAtManagementGroupScope
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DeploymentValidateResultInner>,DeploymentValidateResultInner> beginValidateAtManagementGroupScope(String groupId, String deploymentName, ScopedDeployment parameters, com.azure.core.util.Context context) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..- 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
SyncPollerfor polling of information from validate template deployment response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
validateAtManagementGroupScopeAsync
Mono<DeploymentValidateResultInner> validateAtManagementGroupScopeAsync(String groupId, String deploymentName, ScopedDeployment parameters) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..- Parameters:
groupId- The management group ID.deploymentName- The name of the deployment.parameters- Parameters to validate.- Returns:
- information from validate template deployment response on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
validateAtManagementGroupScope
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:
groupId- The management group ID.deploymentName- The name of the deployment.parameters- Parameters to validate.- Returns:
- information from validate template deployment response.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
validateAtManagementGroupScope
DeploymentValidateResultInner validateAtManagementGroupScope(String groupId, String deploymentName, ScopedDeployment parameters, com.azure.core.util.Context context) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..- 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:
- information from validate template deployment response.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
whatIfAtManagementGroupScopeWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> 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
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginWhatIfAtManagementGroupScopeAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<WhatIfOperationResultInner>,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
PollerFluxfor polling of result of the What-If operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginWhatIfAtManagementGroupScope
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.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:
groupId- The management group ID.deploymentName- The name of the deployment.parameters- Parameters to validate.- Returns:
- the
SyncPollerfor polling of result of the What-If operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginWhatIfAtManagementGroupScope
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WhatIfOperationResultInner>,WhatIfOperationResultInner> beginWhatIfAtManagementGroupScope(String groupId, String deploymentName, ScopedDeploymentWhatIf parameters, com.azure.core.util.Context context) 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
SyncPollerfor polling of result of the What-If operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
whatIfAtManagementGroupScopeAsync
Mono<WhatIfOperationResultInner> 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. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
whatIfAtManagementGroupScope
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:
groupId- The management group ID.deploymentName- The name of the deployment.parameters- Parameters to validate.- Returns:
- result of the What-If operation.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
whatIfAtManagementGroupScope
WhatIfOperationResultInner whatIfAtManagementGroupScope(String groupId, String deploymentName, ScopedDeploymentWhatIf parameters, com.azure.core.util.Context context) 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.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
exportTemplateAtManagementGroupScopeWithResponseAsync
Mono<com.azure.core.http.rest.Response<DeploymentExportResultInner>> exportTemplateAtManagementGroupScopeWithResponseAsync(String groupId, String deploymentName) Exports the template used for specified deployment.- Parameters:
groupId- The management group ID.deploymentName- The name of the deployment.- Returns:
- the deployment export result along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
exportTemplateAtManagementGroupScopeAsync
Mono<DeploymentExportResultInner> exportTemplateAtManagementGroupScopeAsync(String groupId, String deploymentName) Exports the template used for specified deployment.- Parameters:
groupId- The management group ID.deploymentName- The name of the deployment.- Returns:
- the deployment export result on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
exportTemplateAtManagementGroupScope
DeploymentExportResultInner exportTemplateAtManagementGroupScope(String groupId, String deploymentName) Exports the template used for specified deployment.- Parameters:
groupId- The management group ID.deploymentName- The name of the deployment.- Returns:
- the deployment export result.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
exportTemplateAtManagementGroupScopeWithResponse
com.azure.core.http.rest.Response<DeploymentExportResultInner> exportTemplateAtManagementGroupScopeWithResponse(String groupId, String deploymentName, com.azure.core.util.Context context) Exports the template used for specified deployment.- Parameters:
groupId- The management group ID.deploymentName- The name of the deployment.context- The context to associate with this operation.- Returns:
- the deployment export result along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listAtManagementGroupScopeAsync
com.azure.core.http.rest.PagedFlux<DeploymentExtendedInner> listAtManagementGroupScopeAsync(String groupId, String filter, Integer top) Get all the deployments for a management group.- Parameters:
groupId- The management group ID.filter- The filter to apply on the operation. For example, you can use $filter=provisioningState eq '{state}'.top- The number of results to get. If null is passed, returns all deployments.- Returns:
- all the deployments for a management group as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listAtManagementGroupScopeAsync
com.azure.core.http.rest.PagedFlux<DeploymentExtendedInner> listAtManagementGroupScopeAsync(String groupId) Get all the deployments for a management group.- Parameters:
groupId- The management group ID.- Returns:
- all the deployments for a management group as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listAtManagementGroupScope
com.azure.core.http.rest.PagedIterable<DeploymentExtendedInner> listAtManagementGroupScope(String groupId) Get all the deployments for a management group.- Parameters:
groupId- The management group ID.- Returns:
- all the deployments for a management group as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listAtManagementGroupScope
com.azure.core.http.rest.PagedIterable<DeploymentExtendedInner> listAtManagementGroupScope(String groupId, String filter, Integer top, com.azure.core.util.Context context) Get all the deployments for a management group.- Parameters:
groupId- The management group ID.filter- The filter to apply on the operation. For example, you can use $filter=provisioningState eq '{state}'.top- The number of results to get. If null is passed, returns all deployments.context- The context to associate with this operation.- Returns:
- all the deployments for a management group as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAtSubscriptionScopeWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteAtSubscriptionScopeWithResponseAsync(String deploymentName) 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:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDeleteAtSubscriptionScopeAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAtSubscriptionScopeAsync(String deploymentName) 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:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDeleteAtSubscriptionScope
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAtSubscriptionScope(String deploymentName) 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:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDeleteAtSubscriptionScope
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAtSubscriptionScope(String deploymentName, com.azure.core.util.Context context) 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.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAtSubscriptionScopeAsync
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
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAtSubscriptionScope
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.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAtSubscriptionScope
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.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
checkExistenceAtSubscriptionScopeWithResponseAsync
Mono<com.azure.core.http.rest.Response<Boolean>> checkExistenceAtSubscriptionScopeWithResponseAsync(String deploymentName) Checks whether the deployment exists.- Parameters:
deploymentName- The name of the deployment.- Returns:
- whether resource exists along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
checkExistenceAtSubscriptionScopeAsync
Checks whether the deployment exists.- Parameters:
deploymentName- The name of the deployment.- Returns:
- whether resource exists on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
checkExistenceAtSubscriptionScope
Checks whether the deployment exists.- Parameters:
deploymentName- The name of the deployment.- Returns:
- whether resource exists.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
checkExistenceAtSubscriptionScopeWithResponse
com.azure.core.http.rest.Response<Boolean> checkExistenceAtSubscriptionScopeWithResponse(String deploymentName, com.azure.core.util.Context context) Checks whether the deployment exists.- Parameters:
deploymentName- The name of the deployment.context- The context to associate with this operation.- Returns:
- whether resource exists along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAtSubscriptionScopeWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateAtSubscriptionScopeWithResponseAsync(String deploymentName, DeploymentInner parameters) 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
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdateAtSubscriptionScopeAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<DeploymentExtendedInner>,DeploymentExtendedInner> beginCreateOrUpdateAtSubscriptionScopeAsync(String deploymentName, DeploymentInner parameters) 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:
- the
PollerFluxfor polling of deployment information. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdateAtSubscriptionScope
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DeploymentExtendedInner>,DeploymentExtendedInner> beginCreateOrUpdateAtSubscriptionScope(String deploymentName, DeploymentInner parameters) 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:
- the
SyncPollerfor polling of deployment information. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdateAtSubscriptionScope
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DeploymentExtendedInner>,DeploymentExtendedInner> beginCreateOrUpdateAtSubscriptionScope(String deploymentName, DeploymentInner parameters, com.azure.core.util.Context context) 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:
- the
SyncPollerfor polling of deployment information. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAtSubscriptionScopeAsync
Mono<DeploymentExtendedInner> createOrUpdateAtSubscriptionScopeAsync(String deploymentName, DeploymentInner parameters) 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. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAtSubscriptionScope
DeploymentExtendedInner createOrUpdateAtSubscriptionScope(String deploymentName, DeploymentInner parameters) 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.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAtSubscriptionScope
DeploymentExtendedInner createOrUpdateAtSubscriptionScope(String deploymentName, DeploymentInner parameters, com.azure.core.util.Context context) 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.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAtSubscriptionScopeWithResponseAsync
Mono<com.azure.core.http.rest.Response<DeploymentExtendedInner>> getAtSubscriptionScopeWithResponseAsync(String deploymentName) Gets a deployment.- Parameters:
deploymentName- The name of the deployment.- Returns:
- a deployment along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAtSubscriptionScopeAsync
Gets a deployment.- Parameters:
deploymentName- The name of the deployment.- Returns:
- a deployment on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAtSubscriptionScope
Gets a deployment.- Parameters:
deploymentName- The name of the deployment.- Returns:
- a deployment.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAtSubscriptionScopeWithResponse
com.azure.core.http.rest.Response<DeploymentExtendedInner> getAtSubscriptionScopeWithResponse(String deploymentName, com.azure.core.util.Context context) Gets a deployment.- Parameters:
deploymentName- The name of the deployment.context- The context to associate with this operation.- Returns:
- a deployment along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
cancelAtSubscriptionScopeWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> cancelAtSubscriptionScopeWithResponseAsync(String deploymentName) 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:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
cancelAtSubscriptionScopeAsync
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
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
cancelAtSubscriptionScope
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.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
cancelAtSubscriptionScopeWithResponse
com.azure.core.http.rest.Response<Void> cancelAtSubscriptionScopeWithResponse(String deploymentName, com.azure.core.util.Context context) 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.- Returns:
- the
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
validateAtSubscriptionScopeWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> validateAtSubscriptionScopeWithResponseAsync(String deploymentName, DeploymentInner parameters) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..- Parameters:
deploymentName- The name of the deployment.parameters- Parameters to validate.- Returns:
- information from validate template deployment response along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginValidateAtSubscriptionScopeAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<DeploymentValidateResultInner>,DeploymentValidateResultInner> beginValidateAtSubscriptionScopeAsync(String deploymentName, DeploymentInner parameters) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..- Parameters:
deploymentName- The name of the deployment.parameters- Parameters to validate.- Returns:
- the
PollerFluxfor polling of information from validate template deployment response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginValidateAtSubscriptionScope
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DeploymentValidateResultInner>,DeploymentValidateResultInner> beginValidateAtSubscriptionScope(String deploymentName, DeploymentInner parameters) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..- Parameters:
deploymentName- The name of the deployment.parameters- Parameters to validate.- Returns:
- the
SyncPollerfor polling of information from validate template deployment response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginValidateAtSubscriptionScope
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DeploymentValidateResultInner>,DeploymentValidateResultInner> beginValidateAtSubscriptionScope(String deploymentName, DeploymentInner parameters, com.azure.core.util.Context context) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..- Parameters:
deploymentName- The name of the deployment.parameters- Parameters to validate.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of information from validate template deployment response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
validateAtSubscriptionScopeAsync
Mono<DeploymentValidateResultInner> validateAtSubscriptionScopeAsync(String deploymentName, DeploymentInner parameters) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..- Parameters:
deploymentName- The name of the deployment.parameters- Parameters to validate.- Returns:
- information from validate template deployment response on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
validateAtSubscriptionScope
DeploymentValidateResultInner validateAtSubscriptionScope(String deploymentName, DeploymentInner parameters) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..- Parameters:
deploymentName- The name of the deployment.parameters- Parameters to validate.- Returns:
- information from validate template deployment response.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
validateAtSubscriptionScope
DeploymentValidateResultInner validateAtSubscriptionScope(String deploymentName, DeploymentInner parameters, com.azure.core.util.Context context) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..- Parameters:
deploymentName- The name of the deployment.parameters- Parameters to validate.context- The context to associate with this operation.- Returns:
- information from validate template deployment response.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
whatIfAtSubscriptionScopeWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> 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
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginWhatIfAtSubscriptionScopeAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<WhatIfOperationResultInner>,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
PollerFluxfor polling of result of the What-If operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginWhatIfAtSubscriptionScope
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.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:
deploymentName- The name of the deployment.parameters- Parameters to What If.- Returns:
- the
SyncPollerfor polling of result of the What-If operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginWhatIfAtSubscriptionScope
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WhatIfOperationResultInner>,WhatIfOperationResultInner> beginWhatIfAtSubscriptionScope(String deploymentName, DeploymentWhatIf parameters, com.azure.core.util.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
SyncPollerfor polling of result of the What-If operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
whatIfAtSubscriptionScopeAsync
Mono<WhatIfOperationResultInner> 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. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
whatIfAtSubscriptionScope
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.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
whatIfAtSubscriptionScope
WhatIfOperationResultInner whatIfAtSubscriptionScope(String deploymentName, DeploymentWhatIf parameters, com.azure.core.util.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.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
exportTemplateAtSubscriptionScopeWithResponseAsync
Mono<com.azure.core.http.rest.Response<DeploymentExportResultInner>> exportTemplateAtSubscriptionScopeWithResponseAsync(String deploymentName) Exports the template used for specified deployment.- Parameters:
deploymentName- The name of the deployment.- Returns:
- the deployment export result along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
exportTemplateAtSubscriptionScopeAsync
Exports the template used for specified deployment.- Parameters:
deploymentName- The name of the deployment.- Returns:
- the deployment export result on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
exportTemplateAtSubscriptionScope
Exports the template used for specified deployment.- Parameters:
deploymentName- The name of the deployment.- Returns:
- the deployment export result.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
exportTemplateAtSubscriptionScopeWithResponse
com.azure.core.http.rest.Response<DeploymentExportResultInner> exportTemplateAtSubscriptionScopeWithResponse(String deploymentName, com.azure.core.util.Context context) Exports the template used for specified deployment.- Parameters:
deploymentName- The name of the deployment.context- The context to associate with this operation.- Returns:
- the deployment export result along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listAsync
Get all the deployments for a subscription.- Parameters:
filter- The filter to apply on the operation. For example, you can use $filter=provisioningState eq '{state}'.top- The number of results to get. If null is passed, returns all deployments.- Returns:
- all the deployments for a subscription as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listAsync
com.azure.core.http.rest.PagedFlux<DeploymentExtendedInner> listAsync()Get all the deployments for a subscription.- Specified by:
listAsyncin interfaceInnerSupportsListing<DeploymentExtendedInner>- Returns:
- all the deployments for a subscription as paginated response with
PagedFlux. - Throws:
com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<DeploymentExtendedInner> list()Get all the deployments for a subscription.- Specified by:
listin interfaceInnerSupportsListing<DeploymentExtendedInner>- Returns:
- all the deployments for a subscription as paginated response with
PagedIterable. - Throws:
com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<DeploymentExtendedInner> list(String filter, Integer top, com.azure.core.util.Context context) Get all the deployments for a subscription.- Parameters:
filter- The filter to apply on the operation. For example, you can use $filter=provisioningState eq '{state}'.top- The number of results to get. If null is passed, returns all deployments.context- The context to associate with this operation.- Returns:
- all the deployments for a subscription as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String deploymentName) 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:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDeleteAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String deploymentName) 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:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String deploymentName) 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:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String deploymentName, com.azure.core.util.Context context) 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.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAsync
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.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<Void>- 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
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
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.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
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.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
checkExistenceWithResponseAsync
Mono<com.azure.core.http.rest.Response<Boolean>> checkExistenceWithResponseAsync(String resourceGroupName, String deploymentName) Checks whether the deployment exists.- Parameters:
resourceGroupName- The name of the resource group with the deployment to check. The name is case insensitive.deploymentName- The name of the deployment.- Returns:
- whether resource exists along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
checkExistenceAsync
Checks whether the deployment exists.- Parameters:
resourceGroupName- The name of the resource group with the deployment to check. The name is case insensitive.deploymentName- The name of the deployment.- Returns:
- whether resource exists on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
checkExistence
Checks whether the deployment exists.- Parameters:
resourceGroupName- The name of the resource group with the deployment to check. The name is case insensitive.deploymentName- The name of the deployment.- Returns:
- whether resource exists.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
checkExistenceWithResponse
com.azure.core.http.rest.Response<Boolean> checkExistenceWithResponse(String resourceGroupName, String deploymentName, com.azure.core.util.Context context) Checks whether the deployment exists.- Parameters:
resourceGroupName- The name of the resource group with the deployment to check. The name is case insensitive.deploymentName- The name of the deployment.context- The context to associate with this operation.- Returns:
- whether resource exists along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String deploymentName, DeploymentInner parameters) 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
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<DeploymentExtendedInner>,DeploymentExtendedInner> beginCreateOrUpdateAsync(String resourceGroupName, String deploymentName, DeploymentInner parameters) 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:
- the
PollerFluxfor polling of deployment information. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DeploymentExtendedInner>,DeploymentExtendedInner> beginCreateOrUpdate(String resourceGroupName, String deploymentName, DeploymentInner parameters) 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:
- the
SyncPollerfor polling of deployment information. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DeploymentExtendedInner>,DeploymentExtendedInner> beginCreateOrUpdate(String resourceGroupName, String deploymentName, DeploymentInner parameters, com.azure.core.util.Context context) 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.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of deployment information. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAsync
Mono<DeploymentExtendedInner> createOrUpdateAsync(String resourceGroupName, String deploymentName, DeploymentInner parameters) 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 on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
DeploymentExtendedInner createOrUpdate(String resourceGroupName, String deploymentName, DeploymentInner parameters) 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.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
DeploymentExtendedInner createOrUpdate(String resourceGroupName, String deploymentName, DeploymentInner parameters, com.azure.core.util.Context context) 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.context- The context to associate with this operation.- Returns:
- deployment information.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroupWithResponseAsync
Mono<com.azure.core.http.rest.Response<DeploymentExtendedInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String deploymentName) Gets a deployment.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.deploymentName- The name of the deployment.- Returns:
- a deployment along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroupAsync
Mono<DeploymentExtendedInner> getByResourceGroupAsync(String resourceGroupName, String deploymentName) Gets a deployment.- Specified by:
getByResourceGroupAsyncin interfaceInnerSupportsGet<DeploymentExtendedInner>- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.deploymentName- The name of the deployment.- Returns:
- a deployment on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroup
Gets a deployment.- Specified by:
getByResourceGroupin interfaceInnerSupportsGet<DeploymentExtendedInner>- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.deploymentName- The name of the deployment.- Returns:
- a deployment.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<DeploymentExtendedInner> getByResourceGroupWithResponse(String resourceGroupName, String deploymentName, com.azure.core.util.Context context) Gets a deployment.- 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.- Returns:
- a deployment along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
cancelWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> cancelWithResponseAsync(String resourceGroupName, String deploymentName) 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:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
cancelAsync
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
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
cancel
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.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
cancelWithResponse
com.azure.core.http.rest.Response<Void> cancelWithResponse(String resourceGroupName, String deploymentName, com.azure.core.util.Context context) 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.- Returns:
- the
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
validateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> validateWithResponseAsync(String resourceGroupName, String deploymentName, DeploymentInner parameters) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..- 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:
- information from validate template deployment response along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginValidateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<DeploymentValidateResultInner>,DeploymentValidateResultInner> beginValidateAsync(String resourceGroupName, String deploymentName, DeploymentInner parameters) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..- 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:
- the
PollerFluxfor polling of information from validate template deployment response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginValidate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DeploymentValidateResultInner>,DeploymentValidateResultInner> beginValidate(String resourceGroupName, String deploymentName, DeploymentInner parameters) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..- 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:
- the
SyncPollerfor polling of information from validate template deployment response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginValidate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DeploymentValidateResultInner>,DeploymentValidateResultInner> beginValidate(String resourceGroupName, String deploymentName, DeploymentInner parameters, com.azure.core.util.Context context) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..- 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.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of information from validate template deployment response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
validateAsync
Mono<DeploymentValidateResultInner> validateAsync(String resourceGroupName, String deploymentName, DeploymentInner parameters) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..- 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:
- information from validate template deployment response on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
validate
DeploymentValidateResultInner validate(String resourceGroupName, String deploymentName, DeploymentInner parameters) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..- 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:
- information from validate template deployment response.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
validate
DeploymentValidateResultInner validate(String resourceGroupName, String deploymentName, DeploymentInner parameters, com.azure.core.util.Context context) Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..- 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.context- The context to associate with this operation.- Returns:
- information from validate template deployment response.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
whatIfWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> 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
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginWhatIfAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<WhatIfOperationResultInner>,WhatIfOperationResultInner> beginWhatIfAsync(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:
- the
PollerFluxfor polling of result of the What-If operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginWhatIf
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.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:
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:
- the
SyncPollerfor polling of result of the What-If operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginWhatIf
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WhatIfOperationResultInner>,WhatIfOperationResultInner> beginWhatIf(String resourceGroupName, String deploymentName, DeploymentWhatIf parameters, com.azure.core.util.Context context) 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.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of result of the What-If operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
whatIfAsync
Mono<WhatIfOperationResultInner> whatIfAsync(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 on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
whatIf
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:
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.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
whatIf
WhatIfOperationResultInner whatIf(String resourceGroupName, String deploymentName, DeploymentWhatIf parameters, com.azure.core.util.Context context) 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.context- The context to associate with this operation.- Returns:
- result of the What-If operation.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
exportTemplateWithResponseAsync
Mono<com.azure.core.http.rest.Response<DeploymentExportResultInner>> exportTemplateWithResponseAsync(String resourceGroupName, String deploymentName) Exports the template used for specified deployment.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.deploymentName- The name of the deployment.- Returns:
- the deployment export result along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
exportTemplateAsync
Mono<DeploymentExportResultInner> exportTemplateAsync(String resourceGroupName, String deploymentName) Exports the template used for specified deployment.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.deploymentName- The name of the deployment.- Returns:
- the deployment export result on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
exportTemplate
Exports the template used for specified deployment.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.deploymentName- The name of the deployment.- Returns:
- the deployment export result.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
exportTemplateWithResponse
com.azure.core.http.rest.Response<DeploymentExportResultInner> exportTemplateWithResponse(String resourceGroupName, String deploymentName, com.azure.core.util.Context context) Exports the template used for specified deployment.- 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.- Returns:
- the deployment export result along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroupAsync
com.azure.core.http.rest.PagedFlux<DeploymentExtendedInner> listByResourceGroupAsync(String resourceGroupName, String filter, Integer top) Get all the deployments for a resource group.- Parameters:
resourceGroupName- The name of the resource group with the deployments to get. The name is case insensitive.filter- The filter to apply on the operation. For example, you can use $filter=provisioningState eq '{state}'.top- The number of results to get. If null is passed, returns all deployments.- Returns:
- all the deployments for a resource group as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroupAsync
com.azure.core.http.rest.PagedFlux<DeploymentExtendedInner> listByResourceGroupAsync(String resourceGroupName) Get all the deployments for a resource group.- Specified by:
listByResourceGroupAsyncin interfaceInnerSupportsListing<DeploymentExtendedInner>- Parameters:
resourceGroupName- The name of the resource group with the deployments to get. The name is case insensitive.- Returns:
- all the deployments for a resource group as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<DeploymentExtendedInner> listByResourceGroup(String resourceGroupName) Get all the deployments for a resource group.- Specified by:
listByResourceGroupin interfaceInnerSupportsListing<DeploymentExtendedInner>- Parameters:
resourceGroupName- The name of the resource group with the deployments to get. The name is case insensitive.- Returns:
- all the deployments for a resource group as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<DeploymentExtendedInner> listByResourceGroup(String resourceGroupName, String filter, Integer top, com.azure.core.util.Context context) Get all the deployments for a resource group.- Parameters:
resourceGroupName- The name of the resource group with the deployments to get. The name is case insensitive.filter- The filter to apply on the operation. For example, you can use $filter=provisioningState eq '{state}'.top- The number of results to get. If null is passed, returns all deployments.context- The context to associate with this operation.- Returns:
- all the deployments for a resource group as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
calculateTemplateHashWithResponseAsync
Mono<com.azure.core.http.rest.Response<TemplateHashResultInner>> 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
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
calculateTemplateHashAsync
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. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
calculateTemplateHash
Calculate the hash of the given template.- Parameters:
template- The template provided to calculate hash.- Returns:
- result of the request to calculate template hash.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
calculateTemplateHashWithResponse
com.azure.core.http.rest.Response<TemplateHashResultInner> calculateTemplateHashWithResponse(Object template, com.azure.core.util.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. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-