Interface CustomEntityStoreAssignmentsClient


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

    • getByResourceGroup

      CustomEntityStoreAssignmentInner getByResourceGroup(String resourceGroupName, String customEntityStoreAssignmentName)
      Gets a custom entity store assignment

      Gets a single custom entity store assignment by name for the provided subscription and resource group.

      Parameters:
      resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
      customEntityStoreAssignmentName - Name of the custom entity store assignment. Generated name is GUID.
      Returns:
      a single custom entity store assignment by name for the provided subscription and resource group.
      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.
    • getByResourceGroupWithResponse

      com.azure.core.http.rest.Response<CustomEntityStoreAssignmentInner> getByResourceGroupWithResponse(String resourceGroupName, String customEntityStoreAssignmentName, com.azure.core.util.Context context)
      Gets a custom entity store assignment

      Gets a single custom entity store assignment by name for the provided subscription and resource group.

      Parameters:
      resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
      customEntityStoreAssignmentName - Name of the custom entity store assignment. Generated name is GUID.
      context - The context to associate with this operation.
      Returns:
      a single custom entity store assignment by name for the provided subscription and resource group 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.
    • create

      CustomEntityStoreAssignmentInner create(String resourceGroupName, String customEntityStoreAssignmentName, CustomEntityStoreAssignmentRequest customEntityStoreAssignmentRequestBody)
      Creates a custom entity store assignment

      Creates a custom entity store assignment for the provided subscription, if not already exists.

      Parameters:
      resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
      customEntityStoreAssignmentName - Name of the custom entity store assignment. Generated name is GUID.
      customEntityStoreAssignmentRequestBody - Custom entity store assignment body.
      Returns:
      custom entity store assignment.
      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.
    • createWithResponse

      com.azure.core.http.rest.Response<CustomEntityStoreAssignmentInner> createWithResponse(String resourceGroupName, String customEntityStoreAssignmentName, CustomEntityStoreAssignmentRequest customEntityStoreAssignmentRequestBody, com.azure.core.util.Context context)
      Creates a custom entity store assignment

      Creates a custom entity store assignment for the provided subscription, if not already exists.

      Parameters:
      resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
      customEntityStoreAssignmentName - Name of the custom entity store assignment. Generated name is GUID.
      customEntityStoreAssignmentRequestBody - Custom entity store assignment body.
      context - The context to associate with this operation.
      Returns:
      custom entity store assignment 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.
    • delete

      void delete(String resourceGroupName, String customEntityStoreAssignmentName)
      Deleted a custom entity store assignment

      Delete a custom entity store assignment by name for a provided subscription.

      Parameters:
      resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
      customEntityStoreAssignmentName - Name of the custom entity store assignment. Generated name is GUID.
      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.
    • deleteWithResponse

      com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String customEntityStoreAssignmentName, com.azure.core.util.Context context)
      Deleted a custom entity store assignment

      Delete a custom entity store assignment by name for a provided subscription.

      Parameters:
      resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
      customEntityStoreAssignmentName - Name of the custom entity store assignment. Generated name is GUID.
      context - The context to associate with this operation.
      Returns:
      the 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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<CustomEntityStoreAssignmentInner> listByResourceGroup(String resourceGroupName)
      List custom entity store assignments in a subscription and a resource group

      List custom entity store assignments by a provided subscription and resource group.

      Parameters:
      resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
      Returns:
      a list of custom entity store assignments 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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<CustomEntityStoreAssignmentInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
      List custom entity store assignments in a subscription and a resource group

      List custom entity store assignments by a provided subscription and resource group.

      Parameters:
      resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
      context - The context to associate with this operation.
      Returns:
      a list of custom entity store assignments 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<CustomEntityStoreAssignmentInner> list()
      List custom entity store assignments in a subscription

      List custom entity store assignments by provided subscription.

      Returns:
      a list of custom entity store assignments as paginated response with PagedIterable.
      Throws:
      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<CustomEntityStoreAssignmentInner> list(com.azure.core.util.Context context)
      List custom entity store assignments in a subscription

      List custom entity store assignments by provided subscription.

      Parameters:
      context - The context to associate with this operation.
      Returns:
      a list of custom entity store assignments 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.