Interface ResourceProvidersClient


  • public interface ResourceProvidersClient
    An instance of this class provides access to all the operations defined in ResourceProvidersClient.
    • Method Detail

      • getPublishingUserWithResponseAsync

        Mono<com.azure.core.http.rest.Response<UserInner>> getPublishingUserWithResponseAsync()
        Description for Gets publishing user.
        Returns:
        user credentials used for publishing activity.
        Throws:
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getPublishingUserAsync

        Mono<UserInner> getPublishingUserAsync()
        Description for Gets publishing user.
        Returns:
        user credentials used for publishing activity.
        Throws:
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getPublishingUser

        UserInner getPublishingUser()
        Description for Gets publishing user.
        Returns:
        user credentials used for publishing activity.
        Throws:
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getPublishingUserWithResponse

        com.azure.core.http.rest.Response<UserInner> getPublishingUserWithResponse​(com.azure.core.util.Context context)
        Description for Gets publishing user.
        Parameters:
        context - The context to associate with this operation.
        Returns:
        user credentials used for publishing activity.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updatePublishingUserWithResponseAsync

        Mono<com.azure.core.http.rest.Response<UserInner>> updatePublishingUserWithResponseAsync​(UserInner userDetails)
        Description for Updates publishing user.
        Parameters:
        userDetails - Details of publishing user.
        Returns:
        user credentials used for publishing activity.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updatePublishingUserAsync

        Mono<UserInner> updatePublishingUserAsync​(UserInner userDetails)
        Description for Updates publishing user.
        Parameters:
        userDetails - Details of publishing user.
        Returns:
        user credentials used for publishing activity.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updatePublishingUser

        UserInner updatePublishingUser​(UserInner userDetails)
        Description for Updates publishing user.
        Parameters:
        userDetails - Details of publishing user.
        Returns:
        user credentials used for publishing activity.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updatePublishingUserWithResponse

        com.azure.core.http.rest.Response<UserInner> updatePublishingUserWithResponse​(UserInner userDetails,
                                                                                      com.azure.core.util.Context context)
        Description for Updates publishing user.
        Parameters:
        userDetails - Details of publishing user.
        context - The context to associate with this operation.
        Returns:
        user credentials used for publishing activity.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listSourceControlsAsync

        com.azure.core.http.rest.PagedFlux<SourceControlInner> listSourceControlsAsync()
        Description for Gets the source controls available for Azure websites.
        Returns:
        collection of source controls.
        Throws:
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listSourceControls

        com.azure.core.http.rest.PagedIterable<SourceControlInner> listSourceControls()
        Description for Gets the source controls available for Azure websites.
        Returns:
        collection of source controls.
        Throws:
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listSourceControls

        com.azure.core.http.rest.PagedIterable<SourceControlInner> listSourceControls​(com.azure.core.util.Context context)
        Description for Gets the source controls available for Azure websites.
        Parameters:
        context - The context to associate with this operation.
        Returns:
        collection of source controls.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getSourceControlWithResponseAsync

        Mono<com.azure.core.http.rest.Response<SourceControlInner>> getSourceControlWithResponseAsync​(String sourceControlType)
        Description for Gets source control token.
        Parameters:
        sourceControlType - Type of source control.
        Returns:
        the source control OAuth token.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getSourceControlWithResponse

        com.azure.core.http.rest.Response<SourceControlInner> getSourceControlWithResponse​(String sourceControlType,
                                                                                           com.azure.core.util.Context context)
        Description for Gets source control token.
        Parameters:
        sourceControlType - Type of source control.
        context - The context to associate with this operation.
        Returns:
        the source control OAuth token.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateSourceControlWithResponseAsync

        Mono<com.azure.core.http.rest.Response<SourceControlInner>> updateSourceControlWithResponseAsync​(String sourceControlType,
                                                                                                         SourceControlInner requestMessage)
        Description for Updates source control token.
        Parameters:
        sourceControlType - Type of source control.
        requestMessage - Source control token information.
        Returns:
        the source control OAuth token.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateSourceControlWithResponse

        com.azure.core.http.rest.Response<SourceControlInner> updateSourceControlWithResponse​(String sourceControlType,
                                                                                              SourceControlInner requestMessage,
                                                                                              com.azure.core.util.Context context)
        Description for Updates source control token.
        Parameters:
        sourceControlType - Type of source control.
        requestMessage - Source control token information.
        context - The context to associate with this operation.
        Returns:
        the source control OAuth token.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - 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<BillingMeterInner> listAsync​(String billingLocation,
                                                                        String osType)
        Description for Gets a list of meters for a given location.
        Parameters:
        billingLocation - Azure Location of billable resource.
        osType - App Service OS type meters used for.
        Returns:
        collection of Billing Meters.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - 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<BillingMeterInner> listAsync()
        Description for Gets a list of meters for a given location.
        Returns:
        collection of Billing Meters.
        Throws:
        DefaultErrorResponseErrorException - 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<BillingMeterInner> list()
        Description for Gets a list of meters for a given location.
        Returns:
        collection of Billing Meters.
        Throws:
        DefaultErrorResponseErrorException - 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<BillingMeterInner> list​(String billingLocation,
                                                                       String osType,
                                                                       com.azure.core.util.Context context)
        Description for Gets a list of meters for a given location.
        Parameters:
        billingLocation - Azure Location of billable resource.
        osType - App Service OS type meters used for.
        context - The context to associate with this operation.
        Returns:
        collection of Billing Meters.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • checkNameAvailabilityWithResponse

        com.azure.core.http.rest.Response<ResourceNameAvailabilityInner> checkNameAvailabilityWithResponse​(ResourceNameAvailabilityRequest request,
                                                                                                           com.azure.core.util.Context context)
        Description for Check if a resource name is available.
        Parameters:
        request - Name availability request.
        context - The context to associate with this operation.
        Returns:
        information regarding availability of a resource name.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listCustomHostnameSitesAsync

        com.azure.core.http.rest.PagedFlux<CustomHostnameSitesInner> listCustomHostnameSitesAsync()
        Get custom hostnames under this subscription.
        Returns:
        custom hostnames under this subscription.
        Throws:
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listCustomHostnameSites

        com.azure.core.http.rest.PagedIterable<CustomHostnameSitesInner> listCustomHostnameSites()
        Get custom hostnames under this subscription.
        Returns:
        custom hostnames under this subscription.
        Throws:
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listCustomHostnameSites

        com.azure.core.http.rest.PagedIterable<CustomHostnameSitesInner> listCustomHostnameSites​(com.azure.core.util.Context context)
        Get custom hostnames under this subscription.
        Parameters:
        context - The context to associate with this operation.
        Returns:
        custom hostnames under this subscription.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getSubscriptionDeploymentLocationsWithResponseAsync

        Mono<com.azure.core.http.rest.Response<DeploymentLocationsInner>> getSubscriptionDeploymentLocationsWithResponseAsync()
        Description for Gets list of available geo regions plus ministamps.
        Returns:
        list of available locations (regions or App Service Environments) for deployment of App Service resources.
        Throws:
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getSubscriptionDeploymentLocationsAsync

        Mono<DeploymentLocationsInner> getSubscriptionDeploymentLocationsAsync()
        Description for Gets list of available geo regions plus ministamps.
        Returns:
        list of available locations (regions or App Service Environments) for deployment of App Service resources.
        Throws:
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getSubscriptionDeploymentLocations

        DeploymentLocationsInner getSubscriptionDeploymentLocations()
        Description for Gets list of available geo regions plus ministamps.
        Returns:
        list of available locations (regions or App Service Environments) for deployment of App Service resources.
        Throws:
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getSubscriptionDeploymentLocationsWithResponse

        com.azure.core.http.rest.Response<DeploymentLocationsInner> getSubscriptionDeploymentLocationsWithResponse​(com.azure.core.util.Context context)
        Description for Gets list of available geo regions plus ministamps.
        Parameters:
        context - The context to associate with this operation.
        Returns:
        list of available locations (regions or App Service Environments) for deployment of App Service resources.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listGeoRegionsAsync

        com.azure.core.http.rest.PagedFlux<GeoRegionInner> listGeoRegionsAsync​(SkuName sku,
                                                                               Boolean linuxWorkersEnabled,
                                                                               Boolean xenonWorkersEnabled,
                                                                               Boolean linuxDynamicWorkersEnabled)
        Description for Get a list of available geographical regions.
        Parameters:
        sku - Name of SKU used to filter the regions.
        linuxWorkersEnabled - Specify <code>true</code> if you want to filter to only regions that support Linux workers.
        xenonWorkersEnabled - Specify <code>true</code> if you want to filter to only regions that support Xenon workers.
        linuxDynamicWorkersEnabled - Specify <code>true</code> if you want to filter to only regions that support Linux Consumption Workers.
        Returns:
        collection of geographical regions.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listGeoRegionsAsync

        com.azure.core.http.rest.PagedFlux<GeoRegionInner> listGeoRegionsAsync()
        Description for Get a list of available geographical regions.
        Returns:
        collection of geographical regions.
        Throws:
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listGeoRegions

        com.azure.core.http.rest.PagedIterable<GeoRegionInner> listGeoRegions()
        Description for Get a list of available geographical regions.
        Returns:
        collection of geographical regions.
        Throws:
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listGeoRegions

        com.azure.core.http.rest.PagedIterable<GeoRegionInner> listGeoRegions​(SkuName sku,
                                                                              Boolean linuxWorkersEnabled,
                                                                              Boolean xenonWorkersEnabled,
                                                                              Boolean linuxDynamicWorkersEnabled,
                                                                              com.azure.core.util.Context context)
        Description for Get a list of available geographical regions.
        Parameters:
        sku - Name of SKU used to filter the regions.
        linuxWorkersEnabled - Specify <code>true</code> if you want to filter to only regions that support Linux workers.
        xenonWorkersEnabled - Specify <code>true</code> if you want to filter to only regions that support Xenon workers.
        linuxDynamicWorkersEnabled - Specify <code>true</code> if you want to filter to only regions that support Linux Consumption Workers.
        context - The context to associate with this operation.
        Returns:
        collection of geographical regions.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listSiteIdentifiersAssignedToHostnameAsync

        com.azure.core.http.rest.PagedFlux<IdentifierInner> listSiteIdentifiersAssignedToHostnameAsync​(NameIdentifierInner nameIdentifier)
        Description for List all apps that are assigned to a hostname.
        Parameters:
        nameIdentifier - Hostname information.
        Returns:
        collection of identifiers.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listSiteIdentifiersAssignedToHostname

        com.azure.core.http.rest.PagedIterable<IdentifierInner> listSiteIdentifiersAssignedToHostname​(NameIdentifierInner nameIdentifier)
        Description for List all apps that are assigned to a hostname.
        Parameters:
        nameIdentifier - Hostname information.
        Returns:
        collection of identifiers.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listSiteIdentifiersAssignedToHostname

        com.azure.core.http.rest.PagedIterable<IdentifierInner> listSiteIdentifiersAssignedToHostname​(NameIdentifierInner nameIdentifier,
                                                                                                      com.azure.core.util.Context context)
        Description for List all apps that are assigned to a hostname.
        Parameters:
        nameIdentifier - Hostname information.
        context - The context to associate with this operation.
        Returns:
        collection of identifiers.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listPremierAddOnOffersAsync

        com.azure.core.http.rest.PagedFlux<PremierAddOnOfferInner> listPremierAddOnOffersAsync()
        Description for List all premier add-on offers.
        Returns:
        collection of premier add-on offers.
        Throws:
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listPremierAddOnOffers

        com.azure.core.http.rest.PagedIterable<PremierAddOnOfferInner> listPremierAddOnOffers()
        Description for List all premier add-on offers.
        Returns:
        collection of premier add-on offers.
        Throws:
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listPremierAddOnOffers

        com.azure.core.http.rest.PagedIterable<PremierAddOnOfferInner> listPremierAddOnOffers​(com.azure.core.util.Context context)
        Description for List all premier add-on offers.
        Parameters:
        context - The context to associate with this operation.
        Returns:
        collection of premier add-on offers.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listSkusWithResponseAsync

        Mono<com.azure.core.http.rest.Response<SkuInfosInner>> listSkusWithResponseAsync()
        Description for List all SKUs.
        Returns:
        collection of SKU information.
        Throws:
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listSkusWithResponse

        com.azure.core.http.rest.Response<SkuInfosInner> listSkusWithResponse​(com.azure.core.util.Context context)
        Description for List all SKUs.
        Parameters:
        context - The context to associate with this operation.
        Returns:
        collection of SKU information.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • verifyHostingEnvironmentVnetWithResponseAsync

        Mono<com.azure.core.http.rest.Response<VnetValidationFailureDetailsInner>> verifyHostingEnvironmentVnetWithResponseAsync​(VnetParameters parameters)
        Description for Verifies if this VNET is compatible with an App Service Environment by analyzing the Network Security Group rules.
        Parameters:
        parameters - VNET information.
        Returns:
        a class that describes the reason for a validation failure.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • verifyHostingEnvironmentVnetAsync

        Mono<VnetValidationFailureDetailsInner> verifyHostingEnvironmentVnetAsync​(VnetParameters parameters)
        Description for Verifies if this VNET is compatible with an App Service Environment by analyzing the Network Security Group rules.
        Parameters:
        parameters - VNET information.
        Returns:
        a class that describes the reason for a validation failure.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • verifyHostingEnvironmentVnet

        VnetValidationFailureDetailsInner verifyHostingEnvironmentVnet​(VnetParameters parameters)
        Description for Verifies if this VNET is compatible with an App Service Environment by analyzing the Network Security Group rules.
        Parameters:
        parameters - VNET information.
        Returns:
        a class that describes the reason for a validation failure.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • verifyHostingEnvironmentVnetWithResponse

        com.azure.core.http.rest.Response<VnetValidationFailureDetailsInner> verifyHostingEnvironmentVnetWithResponse​(VnetParameters parameters,
                                                                                                                      com.azure.core.util.Context context)
        Description for Verifies if this VNET is compatible with an App Service Environment by analyzing the Network Security Group rules.
        Parameters:
        parameters - VNET information.
        context - The context to associate with this operation.
        Returns:
        a class that describes the reason for a validation failure.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • moveWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> moveWithResponseAsync​(String resourceGroupName,
                                                                            CsmMoveResourceEnvelope moveResourceEnvelope)
        Description for Move resources between resource groups.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        moveResourceEnvelope - Object that represents the resource to move.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • moveAsync

        Mono<Void> moveAsync​(String resourceGroupName,
                             CsmMoveResourceEnvelope moveResourceEnvelope)
        Description for Move resources between resource groups.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        moveResourceEnvelope - Object that represents the resource to move.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • move

        void move​(String resourceGroupName,
                  CsmMoveResourceEnvelope moveResourceEnvelope)
        Description for Move resources between resource groups.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        moveResourceEnvelope - Object that represents the resource to move.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • moveWithResponse

        com.azure.core.http.rest.Response<Void> moveWithResponse​(String resourceGroupName,
                                                                 CsmMoveResourceEnvelope moveResourceEnvelope,
                                                                 com.azure.core.util.Context context)
        Description for Move resources between resource groups.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        moveResourceEnvelope - Object that represents the resource to move.
        context - The context to associate with this operation.
        Returns:
        the response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - 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<ValidateResponseInner>> validateWithResponseAsync​(String resourceGroupName,
                                                                                                 ValidateRequest validateRequest)
        Description for Validate if a resource can be created.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        validateRequest - Request with the resources to validate.
        Returns:
        describes the result of resource validation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • validateAsync

        Mono<ValidateResponseInner> validateAsync​(String resourceGroupName,
                                                  ValidateRequest validateRequest)
        Description for Validate if a resource can be created.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        validateRequest - Request with the resources to validate.
        Returns:
        describes the result of resource validation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • validate

        ValidateResponseInner validate​(String resourceGroupName,
                                       ValidateRequest validateRequest)
        Description for Validate if a resource can be created.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        validateRequest - Request with the resources to validate.
        Returns:
        describes the result of resource validation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • validateWithResponse

        com.azure.core.http.rest.Response<ValidateResponseInner> validateWithResponse​(String resourceGroupName,
                                                                                      ValidateRequest validateRequest,
                                                                                      com.azure.core.util.Context context)
        Description for Validate if a resource can be created.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        validateRequest - Request with the resources to validate.
        context - The context to associate with this operation.
        Returns:
        describes the result of resource validation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • validateMoveWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> validateMoveWithResponseAsync​(String resourceGroupName,
                                                                                    CsmMoveResourceEnvelope moveResourceEnvelope)
        Description for Validate whether a resource can be moved.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        moveResourceEnvelope - Object that represents the resource to move.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • validateMoveAsync

        Mono<Void> validateMoveAsync​(String resourceGroupName,
                                     CsmMoveResourceEnvelope moveResourceEnvelope)
        Description for Validate whether a resource can be moved.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        moveResourceEnvelope - Object that represents the resource to move.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • validateMove

        void validateMove​(String resourceGroupName,
                          CsmMoveResourceEnvelope moveResourceEnvelope)
        Description for Validate whether a resource can be moved.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        moveResourceEnvelope - Object that represents the resource to move.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • validateMoveWithResponse

        com.azure.core.http.rest.Response<Void> validateMoveWithResponse​(String resourceGroupName,
                                                                         CsmMoveResourceEnvelope moveResourceEnvelope,
                                                                         com.azure.core.util.Context context)
        Description for Validate whether a resource can be moved.
        Parameters:
        resourceGroupName - Name of the resource group to which the resource belongs.
        moveResourceEnvelope - Object that represents the resource to move.
        context - The context to associate with this operation.
        Returns:
        the response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        DefaultErrorResponseErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.