Interface DeploymentsClient

    • Method Detail

      • 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 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.
      • 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 PollerFlux for 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 SyncPoller for 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 SyncPoller for 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

        Mono<Void> deleteAtScopeAsync​(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:
        A Mono that 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

        void deleteAtScope​(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.
        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

        void deleteAtScope​(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.
        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 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.
      • checkExistenceAtScopeAsync

        Mono<Boolean> checkExistenceAtScopeAsync​(String scope,
                                                 String deploymentName)
        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

        boolean checkExistenceAtScope​(String scope,
                                      String deploymentName)
        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 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.
      • 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 PollerFlux for 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 SyncPoller for 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 SyncPoller for 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 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.
      • getAtScopeAsync

        Mono<DeploymentExtendedInner> getAtScopeAsync​(String scope,
                                                      String deploymentName)
        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

        DeploymentExtendedInner getAtScope​(String scope,
                                           String deploymentName)
        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 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.
      • cancelAtScopeAsync

        Mono<Void> cancelAtScopeAsync​(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:
        A Mono that 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

        void cancelAtScope​(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.
        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 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.
      • 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 PollerFlux for 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 SyncPoller for 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 SyncPoller for 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 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.
      • exportTemplateAtScopeAsync

        Mono<DeploymentExportResultInner> exportTemplateAtScopeAsync​(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 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

        DeploymentExportResultInner exportTemplateAtScope​(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.
        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

        com.azure.core.http.rest.PagedFlux<DeploymentExtendedInner> listAtScopeAsync​(String scope)
        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

        com.azure.core.http.rest.PagedIterable<DeploymentExtendedInner> listAtScope​(String scope)
        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 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.
      • 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 PollerFlux for 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 SyncPoller for 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 SyncPoller for 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

        Mono<Void> deleteAtTenantScopeAsync​(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:
        A Mono that 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

        void deleteAtTenantScope​(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.
        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

        void deleteAtTenantScope​(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.
        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 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.
      • checkExistenceAtTenantScopeAsync

        Mono<Boolean> checkExistenceAtTenantScopeAsync​(String deploymentName)
        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

        boolean checkExistenceAtTenantScope​(String deploymentName)
        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 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.
      • 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 PollerFlux for 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 SyncPoller for 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 SyncPoller for 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 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.
      • getAtTenantScopeAsync

        Mono<DeploymentExtendedInner> getAtTenantScopeAsync​(String deploymentName)
        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

        DeploymentExtendedInner getAtTenantScope​(String deploymentName)
        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 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.
      • cancelAtTenantScopeAsync

        Mono<Void> cancelAtTenantScopeAsync​(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:
        A Mono that 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

        void cancelAtTenantScope​(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.
        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 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.
      • 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 PollerFlux for 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 SyncPoller for 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 SyncPoller for 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 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.
      • 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 PollerFlux for 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 SyncPoller for 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 SyncPoller for 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 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.
      • exportTemplateAtTenantScopeAsync

        Mono<DeploymentExportResultInner> exportTemplateAtTenantScopeAsync​(String deploymentName)
        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

        DeploymentExportResultInner exportTemplateAtTenantScope​(String deploymentName)
        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 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.
      • 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 PollerFlux for 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 SyncPoller for 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 SyncPoller for 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

        Mono<Void> deleteAtManagementGroupScopeAsync​(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:
        A Mono that 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

        void deleteAtManagementGroupScope​(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.
        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 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.
      • checkExistenceAtManagementGroupScopeAsync

        Mono<Boolean> checkExistenceAtManagementGroupScopeAsync​(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 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

        boolean checkExistenceAtManagementGroupScope​(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.
        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 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.
      • 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 PollerFlux for 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 SyncPoller for 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 SyncPoller for 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 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.
      • getAtManagementGroupScopeAsync

        Mono<DeploymentExtendedInner> getAtManagementGroupScopeAsync​(String groupId,
                                                                     String deploymentName)
        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

        DeploymentExtendedInner getAtManagementGroupScope​(String groupId,
                                                          String deploymentName)
        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 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.
      • cancelAtManagementGroupScopeAsync

        Mono<Void> cancelAtManagementGroupScopeAsync​(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:
        A Mono that 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

        void cancelAtManagementGroupScope​(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.
        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 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.
      • 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 PollerFlux for 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 SyncPoller for 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 SyncPoller for 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 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.
      • 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 PollerFlux for 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 SyncPoller for 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 SyncPoller for 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 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.
      • 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 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.
      • 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 PollerFlux for 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 SyncPoller for 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 SyncPoller for 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

        Mono<Void> deleteAtSubscriptionScopeAsync​(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:
        A Mono that 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

        void deleteAtSubscriptionScope​(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.
        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

        void deleteAtSubscriptionScope​(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.
        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 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.
      • checkExistenceAtSubscriptionScopeAsync

        Mono<Boolean> checkExistenceAtSubscriptionScopeAsync​(String deploymentName)
        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

        boolean checkExistenceAtSubscriptionScope​(String deploymentName)
        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 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.
      • 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 PollerFlux for 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 SyncPoller for 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 SyncPoller for 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 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.
      • getAtSubscriptionScopeAsync

        Mono<DeploymentExtendedInner> getAtSubscriptionScopeAsync​(String deploymentName)
        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

        DeploymentExtendedInner getAtSubscriptionScope​(String deploymentName)
        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 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.
      • cancelAtSubscriptionScopeAsync

        Mono<Void> cancelAtSubscriptionScopeAsync​(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:
        A Mono that 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

        void cancelAtSubscriptionScope​(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.
        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 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.
      • 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 PollerFlux for 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 SyncPoller for 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 SyncPoller for 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 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.
      • 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 PollerFlux for 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 SyncPoller for 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 SyncPoller for 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 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.
      • exportTemplateAtSubscriptionScopeAsync

        Mono<DeploymentExportResultInner> exportTemplateAtSubscriptionScopeAsync​(String deploymentName)
        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

        DeploymentExportResultInner exportTemplateAtSubscriptionScope​(String deploymentName)
        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

        com.azure.core.http.rest.PagedFlux<DeploymentExtendedInner> listAsync​(String filter,
                                                                              Integer top)
        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:
        listAsync in interface InnerSupportsListing<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:
        list in interface InnerSupportsListing<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 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.
      • 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 PollerFlux for 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 SyncPoller for 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 SyncPoller for 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

        Mono<Void> deleteAsync​(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.
        Specified by:
        deleteAsync in interface InnerSupportsDelete<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 Mono that 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

        void delete​(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.
        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

        void delete​(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.
        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 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.
      • checkExistenceAsync

        Mono<Boolean> checkExistenceAsync​(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 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

        boolean checkExistence​(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.
        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 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.
      • 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 PollerFlux for 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 SyncPoller for 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 SyncPoller for 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 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.
      • 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 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.
      • cancelAsync

        Mono<Void> cancelAsync​(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:
        A Mono that 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

        void cancel​(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.
        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 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.
      • 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 PollerFlux for 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 SyncPoller for 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 SyncPoller for 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 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.
      • 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 PollerFlux for 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 SyncPoller for 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 SyncPoller for 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 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.
      • 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

        DeploymentExportResultInner exportTemplate​(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.
        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:
        listByResourceGroupAsync in interface InnerSupportsListing<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:
        listByResourceGroup in interface InnerSupportsListing<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 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.
      • calculateTemplateHashAsync

        Mono<TemplateHashResultInner> calculateTemplateHashAsync​(Object template)
        Calculate the hash of the given template.
        Parameters:
        template - The template provided to calculate hash.
        Returns:
        result of the request to calculate template hash on successful completion of Mono.
        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

        TemplateHashResultInner calculateTemplateHash​(Object template)
        Calculate the hash of the given template.
        Parameters:
        template - The template provided to calculate hash.
        Returns:
        result of the request to calculate template hash.
        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.