Interface JavaComponentsClient


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

    • list

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

      JavaComponentInner 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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<JavaComponentInner>,JavaComponentInner> beginCreateOrUpdate(String resourceGroupName, String environmentName, String name, JavaComponentInner javaComponentEnvelope)
      Creates or updates a Java Component. Creates or updates a Java Component in a Managed Environment.
      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.
      javaComponentEnvelope - Configuration details of the Java Component.
      Returns:
      the SyncPoller for polling of 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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<JavaComponentInner>,JavaComponentInner> beginCreateOrUpdate(String resourceGroupName, String environmentName, String name, JavaComponentInner javaComponentEnvelope, com.azure.core.util.Context context)
      Creates or updates a Java Component. Creates or updates a Java Component in a Managed Environment.
      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.
      javaComponentEnvelope - Configuration details of the Java Component.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of 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.
    • createOrUpdate

      JavaComponentInner createOrUpdate(String resourceGroupName, String environmentName, String name, JavaComponentInner javaComponentEnvelope)
      Creates or updates a Java Component. Creates or updates a Java Component in a Managed Environment.
      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.
      javaComponentEnvelope - Configuration details of the Java Component.
      Returns:
      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.
    • createOrUpdate

      JavaComponentInner createOrUpdate(String resourceGroupName, String environmentName, String name, JavaComponentInner javaComponentEnvelope, com.azure.core.util.Context context)
      Creates or updates a Java Component. Creates or updates a Java Component in a Managed Environment.
      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.
      javaComponentEnvelope - Configuration details of the Java Component.
      context - The context to associate with this operation.
      Returns:
      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.
    • beginUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<JavaComponentInner>,JavaComponentInner> beginUpdate(String resourceGroupName, String environmentName, String name, JavaComponentInner javaComponentEnvelope)
      Update properties of a Java Component Patches a Java Component using JSON Merge Patch.
      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.
      javaComponentEnvelope - Configuration details of the Java Component.
      Returns:
      the SyncPoller for polling of 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.
    • beginUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<JavaComponentInner>,JavaComponentInner> beginUpdate(String resourceGroupName, String environmentName, String name, JavaComponentInner javaComponentEnvelope, com.azure.core.util.Context context)
      Update properties of a Java Component Patches a Java Component using JSON Merge Patch.
      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.
      javaComponentEnvelope - Configuration details of the Java Component.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of 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.
    • update

      JavaComponentInner update(String resourceGroupName, String environmentName, String name, JavaComponentInner javaComponentEnvelope)
      Update properties of a Java Component Patches a Java Component using JSON Merge Patch.
      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.
      javaComponentEnvelope - Configuration details of the Java Component.
      Returns:
      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.
    • update

      JavaComponentInner update(String resourceGroupName, String environmentName, String name, JavaComponentInner javaComponentEnvelope, com.azure.core.util.Context context)
      Update properties of a Java Component Patches a Java Component using JSON Merge Patch.
      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.
      javaComponentEnvelope - Configuration details of the Java Component.
      context - The context to associate with this operation.
      Returns:
      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.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(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.
      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 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.
      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.
    • 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.