Interface ConnectedEnvironments


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

    • list

      com.azure.core.http.rest.PagedIterable<ConnectedEnvironment> list()
      Get all connectedEnvironments for a subscription.
      Returns:
      all connectedEnvironments for a subscription as paginated response with PagedIterable.
      Throws:
      DefaultErrorResponseErrorException - 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<ConnectedEnvironment> list(com.azure.core.util.Context context)
      Get all connectedEnvironments for a subscription.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      all connectedEnvironments for a subscription as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      DefaultErrorResponseErrorException - 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<ConnectedEnvironment> listByResourceGroup(String resourceGroupName)
      Get all connectedEnvironments in a resource group.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      Returns:
      all connectedEnvironments in a resource group as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      DefaultErrorResponseErrorException - 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<ConnectedEnvironment> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
      Get all connectedEnvironments in 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 connectedEnvironments in a resource group as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      DefaultErrorResponseErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getByResourceGroupWithResponse

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

      ConnectedEnvironment getByResourceGroup(String resourceGroupName, String connectedEnvironmentName)
      Get the properties of an connectedEnvironment.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      connectedEnvironmentName - Name of the connectedEnvironment.
      Returns:
      the properties of an connectedEnvironment.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      DefaultErrorResponseErrorException - 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 connectedEnvironmentName)
      Delete an connectedEnvironment.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      connectedEnvironmentName - Name of the connectedEnvironment.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      DefaultErrorResponseErrorException - 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 connectedEnvironmentName, com.azure.core.util.Context context)
      Delete an connectedEnvironment.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      connectedEnvironmentName - Name of the connectedEnvironment.
      context - The context to associate with this operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      DefaultErrorResponseErrorException - 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<ConnectedEnvironment> updateWithResponse(String resourceGroupName, String connectedEnvironmentName, com.azure.core.util.Context context)
      Update connected Environment's properties.

      Patches a Managed Environment. Only patching of tags is supported currently.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      connectedEnvironmentName - Name of the connectedEnvironment.
      context - The context to associate with this operation.
      Returns:
      an environment for Kubernetes cluster specialized for web workloads by Azure App Service along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      DefaultErrorResponseErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • update

      ConnectedEnvironment update(String resourceGroupName, String connectedEnvironmentName)
      Update connected Environment's properties.

      Patches a Managed Environment. Only patching of tags is supported currently.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      connectedEnvironmentName - Name of the connectedEnvironment.
      Returns:
      an environment for Kubernetes cluster specialized for web workloads by Azure App Service.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      DefaultErrorResponseErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • checkNameAvailabilityWithResponse

      com.azure.core.http.rest.Response<CheckNameAvailabilityResponse> checkNameAvailabilityWithResponse(String resourceGroupName, String connectedEnvironmentName, CheckNameAvailabilityRequest checkNameAvailabilityRequest, com.azure.core.util.Context context)
      Checks the resource connectedEnvironmentName availability.

      Checks if resource connectedEnvironmentName is available.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      connectedEnvironmentName - Name of the Managed Environment.
      checkNameAvailabilityRequest - The check connectedEnvironmentName availability request.
      context - The context to associate with this operation.
      Returns:
      the check availability result along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      DefaultErrorResponseErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • checkNameAvailability

      CheckNameAvailabilityResponse checkNameAvailability(String resourceGroupName, String connectedEnvironmentName, CheckNameAvailabilityRequest checkNameAvailabilityRequest)
      Checks the resource connectedEnvironmentName availability.

      Checks if resource connectedEnvironmentName is available.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      connectedEnvironmentName - Name of the Managed Environment.
      checkNameAvailabilityRequest - The check connectedEnvironmentName availability request.
      Returns:
      the check availability result.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      DefaultErrorResponseErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getById

      Get the properties of an connectedEnvironment.
      Parameters:
      id - the resource ID.
      Returns:
      the properties of an connectedEnvironment along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      DefaultErrorResponseErrorException - 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<ConnectedEnvironment> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Get the properties of an connectedEnvironment.
      Parameters:
      id - the resource ID.
      context - The context to associate with this operation.
      Returns:
      the properties of an connectedEnvironment along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      DefaultErrorResponseErrorException - 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 an connectedEnvironment.
      Parameters:
      id - the resource ID.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      DefaultErrorResponseErrorException - 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 an connectedEnvironment.
      Parameters:
      id - the resource ID.
      context - The context to associate with this operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      DefaultErrorResponseErrorException - 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 ConnectedEnvironment resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new ConnectedEnvironment definition.