Interface GroupLifecyclePoliciesClient
-
public interface GroupLifecyclePoliciesClient
An instance of this class provides access to all the operations defined in GroupLifecyclePoliciesClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
addGroup(String groupLifecyclePolicyId, GroupLifecyclePoliciesAddGroupRequestBody body)
Invoke action addGroup.Mono<Boolean>
addGroupAsync(String groupLifecyclePolicyId, GroupLifecyclePoliciesAddGroupRequestBody body)
Invoke action addGroup.com.azure.core.http.rest.Response<Boolean>
addGroupWithResponse(String groupLifecyclePolicyId, GroupLifecyclePoliciesAddGroupRequestBody body, com.azure.core.util.Context context)
Invoke action addGroup.Mono<com.azure.core.http.rest.Response<Boolean>>
addGroupWithResponseAsync(String groupLifecyclePolicyId, GroupLifecyclePoliciesAddGroupRequestBody body)
Invoke action addGroup.boolean
removeGroup(String groupLifecyclePolicyId, GroupLifecyclePoliciesRemoveGroupRequestBody body)
Invoke action removeGroup.Mono<Boolean>
removeGroupAsync(String groupLifecyclePolicyId, GroupLifecyclePoliciesRemoveGroupRequestBody body)
Invoke action removeGroup.com.azure.core.http.rest.Response<Boolean>
removeGroupWithResponse(String groupLifecyclePolicyId, GroupLifecyclePoliciesRemoveGroupRequestBody body, com.azure.core.util.Context context)
Invoke action removeGroup.Mono<com.azure.core.http.rest.Response<Boolean>>
removeGroupWithResponseAsync(String groupLifecyclePolicyId, GroupLifecyclePoliciesRemoveGroupRequestBody body)
Invoke action removeGroup.
-
-
-
Method Detail
-
addGroupWithResponseAsync
Mono<com.azure.core.http.rest.Response<Boolean>> addGroupWithResponseAsync(String groupLifecyclePolicyId, GroupLifecyclePoliciesAddGroupRequestBody body)
Invoke action addGroup.- Parameters:
groupLifecyclePolicyId
- key: id of groupLifecyclePolicy.body
- Action parameters.- Returns:
- the response.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
addGroupAsync
Mono<Boolean> addGroupAsync(String groupLifecyclePolicyId, GroupLifecyclePoliciesAddGroupRequestBody body)
Invoke action addGroup.- Parameters:
groupLifecyclePolicyId
- key: id of groupLifecyclePolicy.body
- Action parameters.- Returns:
- the response.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
addGroup
boolean addGroup(String groupLifecyclePolicyId, GroupLifecyclePoliciesAddGroupRequestBody body)
Invoke action addGroup.- Parameters:
groupLifecyclePolicyId
- key: id of groupLifecyclePolicy.body
- Action parameters.- Returns:
- the response.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
addGroupWithResponse
com.azure.core.http.rest.Response<Boolean> addGroupWithResponse(String groupLifecyclePolicyId, GroupLifecyclePoliciesAddGroupRequestBody body, com.azure.core.util.Context context)
Invoke action addGroup.- Parameters:
groupLifecyclePolicyId
- key: id of groupLifecyclePolicy.body
- Action parameters.context
- The context to associate with this operation.- Returns:
- the response.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
removeGroupWithResponseAsync
Mono<com.azure.core.http.rest.Response<Boolean>> removeGroupWithResponseAsync(String groupLifecyclePolicyId, GroupLifecyclePoliciesRemoveGroupRequestBody body)
Invoke action removeGroup.- Parameters:
groupLifecyclePolicyId
- key: id of groupLifecyclePolicy.body
- Action parameters.- Returns:
- the response.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
removeGroupAsync
Mono<Boolean> removeGroupAsync(String groupLifecyclePolicyId, GroupLifecyclePoliciesRemoveGroupRequestBody body)
Invoke action removeGroup.- Parameters:
groupLifecyclePolicyId
- key: id of groupLifecyclePolicy.body
- Action parameters.- Returns:
- the response.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
removeGroup
boolean removeGroup(String groupLifecyclePolicyId, GroupLifecyclePoliciesRemoveGroupRequestBody body)
Invoke action removeGroup.- Parameters:
groupLifecyclePolicyId
- key: id of groupLifecyclePolicy.body
- Action parameters.- Returns:
- the response.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
removeGroupWithResponse
com.azure.core.http.rest.Response<Boolean> removeGroupWithResponse(String groupLifecyclePolicyId, GroupLifecyclePoliciesRemoveGroupRequestBody body, com.azure.core.util.Context context)
Invoke action removeGroup.- Parameters:
groupLifecyclePolicyId
- key: id of groupLifecyclePolicy.body
- Action parameters.context
- The context to associate with this operation.- Returns:
- the response.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
-