Interface JavaComponents


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

    • list

      com.azure.core.http.rest.PagedIterable<JavaComponent> list(String resourceGroupName, String environmentName)
      Get the Java Components for a managed environment.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      environmentName - Name of the Managed Environment.
      Returns:
      the Java Components for a managed environment 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<JavaComponent> list(String resourceGroupName, String environmentName, com.azure.core.util.Context context)
      Get the Java Components for a managed environment.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      environmentName - Name of the Managed Environment.
      context - The context to associate with this operation.
      Returns:
      the Java Components for a managed environment 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.
    • getWithResponse

      com.azure.core.http.rest.Response<JavaComponent> getWithResponse(String resourceGroupName, String environmentName, String name, com.azure.core.util.Context context)
      Get a Java Component.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      environmentName - Name of the Managed Environment.
      name - Name of the Java Component.
      context - The context to associate with this operation.
      Returns:
      a Java Component 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

      JavaComponent get(String resourceGroupName, String environmentName, String name)
      Get a Java Component.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      environmentName - Name of the Managed Environment.
      name - Name of the Java Component.
      Returns:
      a Java Component.
      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 environmentName, String name)
      Delete. Delete a Java Component.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      environmentName - Name of the Managed Environment.
      name - Name of the Java Component.
      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 environmentName, String name, com.azure.core.util.Context context)
      Delete. Delete a Java Component.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      environmentName - Name of the Managed Environment.
      name - Name of the Java Component.
      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.
    • getById

      JavaComponent getById(String id)
      Get a Java Component.
      Parameters:
      id - the resource ID.
      Returns:
      a Java Component 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<JavaComponent> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Get a Java Component.
      Parameters:
      id - the resource ID.
      context - The context to associate with this operation.
      Returns:
      a Java Component 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)
      Delete. Delete a Java Component.
      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)
      Delete. Delete a Java Component.
      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 JavaComponent resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new JavaComponent definition.