Interface Applications


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

    • getWithResponse

      com.azure.core.http.rest.Response<ApplicationResource> getWithResponse(String resourceGroupName, String clusterName, String applicationName, com.azure.core.util.Context context)
      Gets a Service Fabric application resource.

      Get a Service Fabric application resource created or in the process of being created in the Service Fabric cluster resource.

      Parameters:
      resourceGroupName - The name of the resource group.
      clusterName - The name of the cluster resource.
      applicationName - The name of the application resource.
      context - The context to associate with this operation.
      Returns:
      a Service Fabric application resource created or in the process of being created in the Service Fabric cluster resource 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.
    • get

      ApplicationResource get(String resourceGroupName, String clusterName, String applicationName)
      Gets a Service Fabric application resource.

      Get a Service Fabric application resource created or in the process of being created in the Service Fabric cluster resource.

      Parameters:
      resourceGroupName - The name of the resource group.
      clusterName - The name of the cluster resource.
      applicationName - The name of the application resource.
      Returns:
      a Service Fabric application resource created or in the process of being created in the Service Fabric cluster 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 clusterName, String applicationName)
      Deletes a Service Fabric application resource.

      Delete a Service Fabric application resource with the specified name.

      Parameters:
      resourceGroupName - The name of the resource group.
      clusterName - The name of the cluster resource.
      applicationName - The name of the application 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 clusterName, String applicationName, com.azure.core.util.Context context)
      Deletes a Service Fabric application resource.

      Delete a Service Fabric application resource with the specified name.

      Parameters:
      resourceGroupName - The name of the resource group.
      clusterName - The name of the cluster resource.
      applicationName - The name of the application 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.
    • listWithResponse

      com.azure.core.http.rest.Response<ApplicationResourceList> listWithResponse(String resourceGroupName, String clusterName, com.azure.core.util.Context context)
      Gets the list of application resources created in the specified Service Fabric cluster resource.

      Gets all application resources created or in the process of being created in the Service Fabric cluster resource.

      Parameters:
      resourceGroupName - The name of the resource group.
      clusterName - The name of the cluster resource.
      context - The context to associate with this operation.
      Returns:
      all application resources created or in the process of being created in the Service Fabric cluster resource 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.
    • list

      ApplicationResourceList list(String resourceGroupName, String clusterName)
      Gets the list of application resources created in the specified Service Fabric cluster resource.

      Gets all application resources created or in the process of being created in the Service Fabric cluster resource.

      Parameters:
      resourceGroupName - The name of the resource group.
      clusterName - The name of the cluster resource.
      Returns:
      all application resources created or in the process of being created in the Service Fabric cluster 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.
    • getById

      Gets a Service Fabric application resource.

      Get a Service Fabric application resource created or in the process of being created in the Service Fabric cluster resource.

      Parameters:
      id - the resource ID.
      Returns:
      a Service Fabric application resource created or in the process of being created in the Service Fabric cluster resource 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.
    • getByIdWithResponse

      com.azure.core.http.rest.Response<ApplicationResource> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Gets a Service Fabric application resource.

      Get a Service Fabric application resource created or in the process of being created in the Service Fabric cluster resource.

      Parameters:
      id - the resource ID.
      context - The context to associate with this operation.
      Returns:
      a Service Fabric application resource created or in the process of being created in the Service Fabric cluster resource 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.
    • deleteById

      void deleteById(String id)
      Deletes a Service Fabric application resource.

      Delete a Service Fabric application resource with the specified name.

      Parameters:
      id - the resource ID.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteByIdWithResponse

      void deleteByIdWithResponse(String id, com.azure.core.util.Context context)
      Deletes a Service Fabric application resource.

      Delete a Service Fabric application resource with the specified name.

      Parameters:
      id - the resource ID.
      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.
    • define

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