public interface Applications
Resource collection API of Applications.
  • Method Details

    • getByResourceGroupWithResponse

      com.azure.core.http.rest.Response<Application> 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

      Application 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.
    • deleteByResourceGroup

      void deleteByResourceGroup(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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<Application> 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<Application> 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<Application> 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<Application> 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<Application> 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

      Application 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.
    • 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.
    • createOrUpdateById

      Application 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

      Application 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<Application> 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

      Application 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.
    • define

      Begins definition for a new Application resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new Application definition.