Interface CustomEntityStoreAssignments


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

    • getByResourceGroup

      CustomEntityStoreAssignment 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<CustomEntityStoreAssignment> 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.
    • deleteByResourceGroup

      void deleteByResourceGroup(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<CustomEntityStoreAssignment> 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<CustomEntityStoreAssignment> 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<CustomEntityStoreAssignment> 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<CustomEntityStoreAssignment> 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.
    • getById

      Gets a custom entity store assignment

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

      Parameters:
      id - the resource ID.
      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.
    • getByIdWithResponse

      com.azure.core.http.rest.Response<CustomEntityStoreAssignment> getByIdWithResponse(String id, 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:
      id - the resource ID.
      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.
    • deleteById

      void deleteById(String id)
      Deleted a custom entity store assignment

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

      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

      com.azure.core.http.rest.Response<Void> deleteByIdWithResponse(String id, 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:
      id - the resource ID.
      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.
    • define

      Begins definition for a new CustomEntityStoreAssignment resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new CustomEntityStoreAssignment definition.