Interface AppsClient


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

    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<AppResourceInner>> getWithResponseAsync(String resourceGroupName, String serviceName, String appName, String syncStatus)
      Get an App and its properties.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      appName - The name of the App resource.
      syncStatus - Indicates whether sync status.
      Returns:
      an App and its properties 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.
    • getAsync

      Mono<AppResourceInner> getAsync(String resourceGroupName, String serviceName, String appName, String syncStatus)
      Get an App and its properties.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      appName - The name of the App resource.
      syncStatus - Indicates whether sync status.
      Returns:
      an App and its properties 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.
    • getAsync

      Mono<AppResourceInner> getAsync(String resourceGroupName, String serviceName, String appName)
      Get an App and its properties.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      appName - The name of the App resource.
      Returns:
      an App and its properties 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.
    • get

      AppResourceInner get(String resourceGroupName, String serviceName, String appName)
      Get an App and its properties.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      appName - The name of the App resource.
      Returns:
      an App and its properties.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getWithResponse

      com.azure.core.http.rest.Response<AppResourceInner> getWithResponse(String resourceGroupName, String serviceName, String appName, String syncStatus, com.azure.core.util.Context context)
      Get an App and its properties.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      appName - The name of the App resource.
      syncStatus - Indicates whether sync status.
      context - The context to associate with this operation.
      Returns:
      an App and its properties 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 serviceName, String appName, AppResourceInner appResource)
      Create a new App or update an exiting App.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      appName - The name of the App resource.
      appResource - Parameters for the create or update operation.
      Returns:
      app resource payload 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<AppResourceInner>,AppResourceInner> beginCreateOrUpdateAsync(String resourceGroupName, String serviceName, String appName, AppResourceInner appResource)
      Create a new App or update an exiting App.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      appName - The name of the App resource.
      appResource - Parameters for the create or update operation.
      Returns:
      the PollerFlux for polling of app resource payload.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.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<AppResourceInner>,AppResourceInner> beginCreateOrUpdate(String resourceGroupName, String serviceName, String appName, AppResourceInner appResource)
      Create a new App or update an exiting App.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      appName - The name of the App resource.
      appResource - Parameters for the create or update operation.
      Returns:
      the SyncPoller for polling of app resource payload.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.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<AppResourceInner>,AppResourceInner> beginCreateOrUpdate(String resourceGroupName, String serviceName, String appName, AppResourceInner appResource, com.azure.core.util.Context context)
      Create a new App or update an exiting App.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      appName - The name of the App resource.
      appResource - Parameters for the create or update operation.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of app resource payload.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.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<AppResourceInner> createOrUpdateAsync(String resourceGroupName, String serviceName, String appName, AppResourceInner appResource)
      Create a new App or update an exiting App.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      appName - The name of the App resource.
      appResource - Parameters for the create or update operation.
      Returns:
      app resource payload 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

      AppResourceInner createOrUpdate(String resourceGroupName, String serviceName, String appName, AppResourceInner appResource)
      Create a new App or update an exiting App.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      appName - The name of the App resource.
      appResource - Parameters for the create or update operation.
      Returns:
      app resource payload.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.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

      AppResourceInner createOrUpdate(String resourceGroupName, String serviceName, String appName, AppResourceInner appResource, com.azure.core.util.Context context)
      Create a new App or update an exiting App.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      appName - The name of the App resource.
      appResource - Parameters for the create or update operation.
      context - The context to associate with this operation.
      Returns:
      app resource payload.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.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 serviceName, String appName)
      Operation to delete an App.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      appName - The name of the App resource.
      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 serviceName, String appName)
      Operation to delete an App.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      appName - The name of the App resource.
      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 serviceName, String appName)
      Operation to delete an App.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      appName - The name of the App resource.
      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 serviceName, String appName, com.azure.core.util.Context context)
      Operation to delete an App.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      appName - The name of the App resource.
      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 serviceName, String appName)
      Operation to delete an App.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      appName - The name of the App resource.
      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 serviceName, String appName)
      Operation to delete an App.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      appName - The name of the App resource.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.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 serviceName, String appName, com.azure.core.util.Context context)
      Operation to delete an App.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      appName - The name of the App resource.
      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.
    • updateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String serviceName, String appName, AppResourceInner appResource)
      Operation to update an exiting App.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      appName - The name of the App resource.
      appResource - Parameters for the update operation.
      Returns:
      app resource payload 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.
    • beginUpdateAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<AppResourceInner>,AppResourceInner> beginUpdateAsync(String resourceGroupName, String serviceName, String appName, AppResourceInner appResource)
      Operation to update an exiting App.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      appName - The name of the App resource.
      appResource - Parameters for the update operation.
      Returns:
      the PollerFlux for polling of app resource payload.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AppResourceInner>,AppResourceInner> beginUpdate(String resourceGroupName, String serviceName, String appName, AppResourceInner appResource)
      Operation to update an exiting App.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      appName - The name of the App resource.
      appResource - Parameters for the update operation.
      Returns:
      the SyncPoller for polling of app resource payload.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AppResourceInner>,AppResourceInner> beginUpdate(String resourceGroupName, String serviceName, String appName, AppResourceInner appResource, com.azure.core.util.Context context)
      Operation to update an exiting App.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      appName - The name of the App resource.
      appResource - Parameters for the update operation.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of app resource payload.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateAsync

      Mono<AppResourceInner> updateAsync(String resourceGroupName, String serviceName, String appName, AppResourceInner appResource)
      Operation to update an exiting App.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      appName - The name of the App resource.
      appResource - Parameters for the update operation.
      Returns:
      app resource payload 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.
    • update

      AppResourceInner update(String resourceGroupName, String serviceName, String appName, AppResourceInner appResource)
      Operation to update an exiting App.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      appName - The name of the App resource.
      appResource - Parameters for the update operation.
      Returns:
      app resource payload.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • update

      AppResourceInner update(String resourceGroupName, String serviceName, String appName, AppResourceInner appResource, com.azure.core.util.Context context)
      Operation to update an exiting App.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      appName - The name of the App resource.
      appResource - Parameters for the update operation.
      context - The context to associate with this operation.
      Returns:
      app resource payload.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.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<AppResourceInner> listAsync(String resourceGroupName, String serviceName)
      Handles requests to list all resources in a Service.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      Returns:
      object that includes an array of App resources and a possible link for next set 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.
    • list

      com.azure.core.http.rest.PagedIterable<AppResourceInner> list(String resourceGroupName, String serviceName)
      Handles requests to list all resources in a Service.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      Returns:
      object that includes an array of App resources and a possible link for next set 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.
    • list

      com.azure.core.http.rest.PagedIterable<AppResourceInner> list(String resourceGroupName, String serviceName, com.azure.core.util.Context context)
      Handles requests to list all resources in a Service.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      context - The context to associate with this operation.
      Returns:
      object that includes an array of App resources and a possible link for next set 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.
    • getResourceUploadUrlWithResponseAsync

      Mono<com.azure.core.http.rest.Response<ResourceUploadDefinition>> getResourceUploadUrlWithResponseAsync(String resourceGroupName, String serviceName, String appName)
      Get an resource upload URL for an App, which may be artifacts or source archive.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      appName - The name of the App resource.
      Returns:
      an resource upload URL for an App, which may be artifacts or source archive 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.
    • getResourceUploadUrlAsync

      Mono<ResourceUploadDefinition> getResourceUploadUrlAsync(String resourceGroupName, String serviceName, String appName)
      Get an resource upload URL for an App, which may be artifacts or source archive.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      appName - The name of the App resource.
      Returns:
      an resource upload URL for an App, which may be artifacts or source archive 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.
    • getResourceUploadUrl

      ResourceUploadDefinition getResourceUploadUrl(String resourceGroupName, String serviceName, String appName)
      Get an resource upload URL for an App, which may be artifacts or source archive.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      appName - The name of the App resource.
      Returns:
      an resource upload URL for an App, which may be artifacts or source archive.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getResourceUploadUrlWithResponse

      com.azure.core.http.rest.Response<ResourceUploadDefinition> getResourceUploadUrlWithResponse(String resourceGroupName, String serviceName, String appName, com.azure.core.util.Context context)
      Get an resource upload URL for an App, which may be artifacts or source archive.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      appName - The name of the App resource.
      context - The context to associate with this operation.
      Returns:
      an resource upload URL for an App, which may be artifacts or source archive 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.
    • setActiveDeploymentsWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> setActiveDeploymentsWithResponseAsync(String resourceGroupName, String serviceName, String appName, ActiveDeploymentCollection activeDeploymentCollection)
      Set existing Deployment under the app as active.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      appName - The name of the App resource.
      activeDeploymentCollection - A list of Deployment name to be active.
      Returns:
      app resource payload 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.
    • beginSetActiveDeploymentsAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<AppResourceInner>,AppResourceInner> beginSetActiveDeploymentsAsync(String resourceGroupName, String serviceName, String appName, ActiveDeploymentCollection activeDeploymentCollection)
      Set existing Deployment under the app as active.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      appName - The name of the App resource.
      activeDeploymentCollection - A list of Deployment name to be active.
      Returns:
      the PollerFlux for polling of app resource payload.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginSetActiveDeployments

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AppResourceInner>,AppResourceInner> beginSetActiveDeployments(String resourceGroupName, String serviceName, String appName, ActiveDeploymentCollection activeDeploymentCollection)
      Set existing Deployment under the app as active.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      appName - The name of the App resource.
      activeDeploymentCollection - A list of Deployment name to be active.
      Returns:
      the SyncPoller for polling of app resource payload.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginSetActiveDeployments

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AppResourceInner>,AppResourceInner> beginSetActiveDeployments(String resourceGroupName, String serviceName, String appName, ActiveDeploymentCollection activeDeploymentCollection, com.azure.core.util.Context context)
      Set existing Deployment under the app as active.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      appName - The name of the App resource.
      activeDeploymentCollection - A list of Deployment name to be active.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of app resource payload.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • setActiveDeploymentsAsync

      Mono<AppResourceInner> setActiveDeploymentsAsync(String resourceGroupName, String serviceName, String appName, ActiveDeploymentCollection activeDeploymentCollection)
      Set existing Deployment under the app as active.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      appName - The name of the App resource.
      activeDeploymentCollection - A list of Deployment name to be active.
      Returns:
      app resource payload 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.
    • setActiveDeployments

      AppResourceInner setActiveDeployments(String resourceGroupName, String serviceName, String appName, ActiveDeploymentCollection activeDeploymentCollection)
      Set existing Deployment under the app as active.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      appName - The name of the App resource.
      activeDeploymentCollection - A list of Deployment name to be active.
      Returns:
      app resource payload.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • setActiveDeployments

      AppResourceInner setActiveDeployments(String resourceGroupName, String serviceName, String appName, ActiveDeploymentCollection activeDeploymentCollection, com.azure.core.util.Context context)
      Set existing Deployment under the app as active.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      appName - The name of the App resource.
      activeDeploymentCollection - A list of Deployment name to be active.
      context - The context to associate with this operation.
      Returns:
      app resource payload.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • validateDomainWithResponseAsync

      Mono<com.azure.core.http.rest.Response<CustomDomainValidateResult>> validateDomainWithResponseAsync(String resourceGroupName, String serviceName, String appName, CustomDomainValidatePayload validatePayload)
      Check the resource name is valid as well as not in use.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      appName - The name of the App resource.
      validatePayload - Custom domain payload to be validated.
      Returns:
      validation result for custom domain 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.
    • validateDomainAsync

      Mono<CustomDomainValidateResult> validateDomainAsync(String resourceGroupName, String serviceName, String appName, CustomDomainValidatePayload validatePayload)
      Check the resource name is valid as well as not in use.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      appName - The name of the App resource.
      validatePayload - Custom domain payload to be validated.
      Returns:
      validation result for custom domain 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.
    • validateDomain

      CustomDomainValidateResult validateDomain(String resourceGroupName, String serviceName, String appName, CustomDomainValidatePayload validatePayload)
      Check the resource name is valid as well as not in use.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      appName - The name of the App resource.
      validatePayload - Custom domain payload to be validated.
      Returns:
      validation result for custom domain.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • validateDomainWithResponse

      com.azure.core.http.rest.Response<CustomDomainValidateResult> validateDomainWithResponse(String resourceGroupName, String serviceName, String appName, CustomDomainValidatePayload validatePayload, com.azure.core.util.Context context)
      Check the resource name is valid as well as not in use.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      appName - The name of the App resource.
      validatePayload - Custom domain payload to be validated.
      context - The context to associate with this operation.
      Returns:
      validation result for custom domain 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.