Interface ApplicationsClient


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

    • getByResourceGroupWithResponse

      com.azure.core.http.rest.Response<ApplicationInner> getByResourceGroupWithResponse(String resourceGroupName, String applicationName, com.azure.core.util.Context context)
      Gets the managed application.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      applicationName - The name of the managed application.
      context - The context to associate with this operation.
      Returns:
      the managed application along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorResponseException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getByResourceGroup

      ApplicationInner getByResourceGroup(String resourceGroupName, String applicationName)
      Gets the managed application.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      applicationName - The name of the managed application.
      Returns:
      the managed application.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorResponseException - 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 applicationName)
      Deletes the managed application.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      applicationName - The name of the managed application.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorResponseException - 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 applicationName, com.azure.core.util.Context context)
      Deletes the managed application.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      applicationName - The name of the managed application.
      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.
      ErrorResponseException - 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 applicationName)
      Deletes the managed application.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      applicationName - The name of the managed application.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorResponseException - 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 applicationName, com.azure.core.util.Context context)
      Deletes the managed application.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      applicationName - The name of the managed application.
      context - The context to associate with this operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorResponseException - 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<ApplicationInner>,ApplicationInner> beginCreateOrUpdate(String resourceGroupName, String applicationName, ApplicationInner parameters)
      Creates a new managed application.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      applicationName - The name of the managed application.
      parameters - Parameters supplied to the create or update a managed application.
      Returns:
      the SyncPoller for polling of information about managed application.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorResponseException - 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<ApplicationInner>,ApplicationInner> beginCreateOrUpdate(String resourceGroupName, String applicationName, ApplicationInner parameters, com.azure.core.util.Context context)
      Creates a new managed application.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      applicationName - The name of the managed application.
      parameters - Parameters supplied to the create or update a managed application.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of information about managed application.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorResponseException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdate

      ApplicationInner createOrUpdate(String resourceGroupName, String applicationName, ApplicationInner parameters)
      Creates a new managed application.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      applicationName - The name of the managed application.
      parameters - Parameters supplied to the create or update a managed application.
      Returns:
      information about managed application.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorResponseException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdate

      ApplicationInner createOrUpdate(String resourceGroupName, String applicationName, ApplicationInner parameters, com.azure.core.util.Context context)
      Creates a new managed application.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      applicationName - The name of the managed application.
      parameters - Parameters supplied to the create or update a managed application.
      context - The context to associate with this operation.
      Returns:
      information about managed application.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorResponseException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateWithResponse

      com.azure.core.http.rest.Response<ApplicationInner> updateWithResponse(String resourceGroupName, String applicationName, ApplicationPatchable parameters, com.azure.core.util.Context context)
      Updates an existing managed application. The only value that can be updated via PATCH currently is the tags.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      applicationName - The name of the managed application.
      parameters - Parameters supplied to update an existing managed application.
      context - The context to associate with this operation.
      Returns:
      information about managed application along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorResponseException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • update

      ApplicationInner update(String resourceGroupName, String applicationName)
      Updates an existing managed application. The only value that can be updated via PATCH currently is the tags.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      applicationName - The name of the managed application.
      Returns:
      information about managed application.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorResponseException - 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<ApplicationInner> listByResourceGroup(String resourceGroupName)
      Gets all the applications within a resource group.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      Returns:
      all the applications within a resource group as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorResponseException - 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<ApplicationInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
      Gets all the applications within a resource group.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      context - The context to associate with this operation.
      Returns:
      all the applications within a resource group as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorResponseException - 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<ApplicationInner> list()
      Gets all the applications within a subscription.
      Returns:
      all the applications within a subscription as paginated response with PagedIterable.
      Throws:
      ErrorResponseException - 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<ApplicationInner> list(com.azure.core.util.Context context)
      Gets all the applications within a subscription.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      all the applications within a subscription as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorResponseException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getByIdWithResponse

      com.azure.core.http.rest.Response<ApplicationInner> getByIdWithResponse(String applicationId, com.azure.core.util.Context context)
      Gets the managed application.
      Parameters:
      applicationId - The fully qualified ID of the managed application, including the managed application name and the managed application resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}.
      context - The context to associate with this operation.
      Returns:
      the managed application along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorResponseException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getById

      ApplicationInner getById(String applicationId)
      Gets the managed application.
      Parameters:
      applicationId - The fully qualified ID of the managed application, including the managed application name and the managed application resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}.
      Returns:
      the managed application.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorResponseException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginDeleteById

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteById(String applicationId)
      Deletes the managed application.
      Parameters:
      applicationId - The fully qualified ID of the managed application, including the managed application name and the managed application resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorResponseException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginDeleteById

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteById(String applicationId, com.azure.core.util.Context context)
      Deletes the managed application.
      Parameters:
      applicationId - The fully qualified ID of the managed application, including the managed application name and the managed application resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}.
      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.
      ErrorResponseException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteById

      void deleteById(String applicationId)
      Deletes the managed application.
      Parameters:
      applicationId - The fully qualified ID of the managed application, including the managed application name and the managed application resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorResponseException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteById

      void deleteById(String applicationId, com.azure.core.util.Context context)
      Deletes the managed application.
      Parameters:
      applicationId - The fully qualified ID of the managed application, including the managed application name and the managed application resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}.
      context - The context to associate with this operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorResponseException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginCreateOrUpdateById

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ApplicationInner>,ApplicationInner> beginCreateOrUpdateById(String applicationId, ApplicationInner parameters)
      Creates a new managed application.
      Parameters:
      applicationId - The fully qualified ID of the managed application, including the managed application name and the managed application resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}.
      parameters - Parameters supplied to the create or update a managed application.
      Returns:
      the SyncPoller for polling of information about managed application.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorResponseException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginCreateOrUpdateById

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ApplicationInner>,ApplicationInner> beginCreateOrUpdateById(String applicationId, ApplicationInner parameters, com.azure.core.util.Context context)
      Creates a new managed application.
      Parameters:
      applicationId - The fully qualified ID of the managed application, including the managed application name and the managed application resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}.
      parameters - Parameters supplied to the create or update a managed application.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of information about managed application.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorResponseException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdateById

      ApplicationInner createOrUpdateById(String applicationId, ApplicationInner parameters)
      Creates a new managed application.
      Parameters:
      applicationId - The fully qualified ID of the managed application, including the managed application name and the managed application resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}.
      parameters - Parameters supplied to the create or update a managed application.
      Returns:
      information about managed application.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorResponseException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdateById

      ApplicationInner createOrUpdateById(String applicationId, ApplicationInner parameters, com.azure.core.util.Context context)
      Creates a new managed application.
      Parameters:
      applicationId - The fully qualified ID of the managed application, including the managed application name and the managed application resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}.
      parameters - Parameters supplied to the create or update a managed application.
      context - The context to associate with this operation.
      Returns:
      information about managed application.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorResponseException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateByIdWithResponse

      com.azure.core.http.rest.Response<ApplicationInner> updateByIdWithResponse(String applicationId, ApplicationInner parameters, com.azure.core.util.Context context)
      Updates an existing managed application. The only value that can be updated via PATCH currently is the tags.
      Parameters:
      applicationId - The fully qualified ID of the managed application, including the managed application name and the managed application resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}.
      parameters - Parameters supplied to update an existing managed application.
      context - The context to associate with this operation.
      Returns:
      information about managed application along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorResponseException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateById

      ApplicationInner updateById(String applicationId)
      Updates an existing managed application. The only value that can be updated via PATCH currently is the tags.
      Parameters:
      applicationId - The fully qualified ID of the managed application, including the managed application name and the managed application resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}.
      Returns:
      information about managed application.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorResponseException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.