Interface PrivateEndpointConnections


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

    • listByBatchAccount

      com.azure.core.http.rest.PagedIterable<PrivateEndpointConnection> listByBatchAccount(String resourceGroupName, String accountName)
      Lists all of the private endpoint connections in the specified account.
      Parameters:
      resourceGroupName - The name of the resource group that contains the Batch account.
      accountName - The name of the Batch account.
      Returns:
      values returned by the List operation 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.
    • listByBatchAccount

      com.azure.core.http.rest.PagedIterable<PrivateEndpointConnection> listByBatchAccount(String resourceGroupName, String accountName, Integer maxresults, com.azure.core.util.Context context)
      Lists all of the private endpoint connections in the specified account.
      Parameters:
      resourceGroupName - The name of the resource group that contains the Batch account.
      accountName - The name of the Batch account.
      maxresults - The maximum number of items to return in the response.
      context - The context to associate with this operation.
      Returns:
      values returned by the List operation 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<PrivateEndpointConnection> getWithResponse(String resourceGroupName, String accountName, String privateEndpointConnectionName, com.azure.core.util.Context context)
      Gets information about the specified private endpoint connection.
      Parameters:
      resourceGroupName - The name of the resource group that contains the Batch account.
      accountName - The name of the Batch account.
      privateEndpointConnectionName - The private endpoint connection name. This must be unique within the account.
      context - The context to associate with this operation.
      Returns:
      information about the specified private endpoint connection 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

      PrivateEndpointConnection get(String resourceGroupName, String accountName, String privateEndpointConnectionName)
      Gets information about the specified private endpoint connection.
      Parameters:
      resourceGroupName - The name of the resource group that contains the Batch account.
      accountName - The name of the Batch account.
      privateEndpointConnectionName - The private endpoint connection name. This must be unique within the account.
      Returns:
      information about the specified private endpoint connection.
      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

      PrivateEndpointConnection update(String resourceGroupName, String accountName, String privateEndpointConnectionName, PrivateEndpointConnectionInner parameters)
      Updates the properties of an existing private endpoint connection.
      Parameters:
      resourceGroupName - The name of the resource group that contains the Batch account.
      accountName - The name of the Batch account.
      privateEndpointConnectionName - The private endpoint connection name. This must be unique within the account.
      parameters - PrivateEndpointConnection properties that should be updated. Properties that are supplied will be updated, any property not supplied will be unchanged.
      Returns:
      contains information about a private link 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.
    • update

      PrivateEndpointConnection update(String resourceGroupName, String accountName, String privateEndpointConnectionName, PrivateEndpointConnectionInner parameters, String ifMatch, com.azure.core.util.Context context)
      Updates the properties of an existing private endpoint connection.
      Parameters:
      resourceGroupName - The name of the resource group that contains the Batch account.
      accountName - The name of the Batch account.
      privateEndpointConnectionName - The private endpoint connection name. This must be unique within the account.
      parameters - PrivateEndpointConnection properties that should be updated. Properties that are supplied will be updated, any property not supplied will be unchanged.
      ifMatch - The state (ETag) version of the private endpoint connection to update. This value can be omitted or set to "*" to apply the operation unconditionally.
      context - The context to associate with this operation.
      Returns:
      contains information about a private link 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 accountName, String privateEndpointConnectionName)
      Deletes the specified private endpoint connection.
      Parameters:
      resourceGroupName - The name of the resource group that contains the Batch account.
      accountName - The name of the Batch account.
      privateEndpointConnectionName - The private endpoint connection name. This must be unique within the account.
      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 accountName, String privateEndpointConnectionName, com.azure.core.util.Context context)
      Deletes the specified private endpoint connection.
      Parameters:
      resourceGroupName - The name of the resource group that contains the Batch account.
      accountName - The name of the Batch account.
      privateEndpointConnectionName - The private endpoint connection name. This must be unique within the account.
      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.