Interface CustomEntityStoreAssignmentsClient
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(String resourceGroupName, String customEntityStoreAssignmentName, CustomEntityStoreAssignmentRequest customEntityStoreAssignmentRequestBody) Creates a custom entity store assignmentcom.azure.core.http.rest.Response<CustomEntityStoreAssignmentInner>
createWithResponse
(String resourceGroupName, String customEntityStoreAssignmentName, CustomEntityStoreAssignmentRequest customEntityStoreAssignmentRequestBody, com.azure.core.util.Context context) Creates a custom entity store assignmentvoid
Deleted a custom entity store assignmentcom.azure.core.http.rest.Response<Void>
deleteWithResponse
(String resourceGroupName, String customEntityStoreAssignmentName, com.azure.core.util.Context context) Deleted a custom entity store assignmentgetByResourceGroup
(String resourceGroupName, String customEntityStoreAssignmentName) Gets a custom entity store assignmentcom.azure.core.http.rest.Response<CustomEntityStoreAssignmentInner>
getByResourceGroupWithResponse
(String resourceGroupName, String customEntityStoreAssignmentName, com.azure.core.util.Context context) Gets a custom entity store assignmentcom.azure.core.http.rest.PagedIterable<CustomEntityStoreAssignmentInner>
list()
List custom entity store assignments in a subscriptioncom.azure.core.http.rest.PagedIterable<CustomEntityStoreAssignmentInner>
list
(com.azure.core.util.Context context) List custom entity store assignments in a subscriptioncom.azure.core.http.rest.PagedIterable<CustomEntityStoreAssignmentInner>
listByResourceGroup
(String resourceGroupName) List custom entity store assignments in a subscription and a resource groupcom.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
-
Method Details
-
getByResourceGroup
CustomEntityStoreAssignmentInner getByResourceGroup(String resourceGroupName, String customEntityStoreAssignmentName) Gets a custom entity store assignmentGets 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 assignmentGets 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 assignmentCreates 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 assignmentCreates 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
Deleted a custom entity store assignmentDelete 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 assignmentDelete 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 groupList 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 groupList 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 subscriptionList 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 subscriptionList 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.
-