Interface GroupsGroupsClient
public interface GroupsGroupsClient
An instance of this class provides access to all the operations defined in GroupsGroupsClient.
-
Method Summary
Modifier and TypeMethodDescriptionAdd new entity to groups.Add new entity to groups.com.azure.core.http.rest.Response<MicrosoftGraphGroupInner>createGroupWithResponse(MicrosoftGraphGroupInner body, com.azure.core.util.Context context) Add new entity to groups.Mono<com.azure.core.http.rest.Response<MicrosoftGraphGroupInner>>Add new entity to groups.voiddeleteGroup(String groupId) Delete entity from groups.deleteGroupAsync(String groupId) Delete entity from groups.deleteGroupAsync(String groupId, String ifMatch) Delete entity from groups.com.azure.core.http.rest.Response<Void>deleteGroupWithResponse(String groupId, String ifMatch, com.azure.core.util.Context context) Delete entity from groups.deleteGroupWithResponseAsync(String groupId, String ifMatch) Delete entity from groups.Get entity from groups by key.getGroupAsync(String groupId) Get entity from groups by key.getGroupAsync(String groupId, String consistencyLevel, List<Get2ItemsItem> select, List<Get3ItemsItem> expand) Get entity from groups by key.com.azure.core.http.rest.Response<MicrosoftGraphGroupInner>getGroupWithResponse(String groupId, String consistencyLevel, List<Get2ItemsItem> select, List<Get3ItemsItem> expand, com.azure.core.util.Context context) Get entity from groups by key.Mono<com.azure.core.http.rest.Response<MicrosoftGraphGroupInner>>getGroupWithResponseAsync(String groupId, String consistencyLevel, List<Get2ItemsItem> select, List<Get3ItemsItem> expand) Get entity from groups by key.com.azure.core.http.rest.PagedIterable<MicrosoftGraphGroupInner>Get entities from groups.com.azure.core.http.rest.PagedIterable<MicrosoftGraphGroupInner>listGroup(String consistencyLevel, Integer top, Integer skip, String search, String filter, Boolean count, List<Get6ItemsItem> orderby, List<Get7ItemsItem> select, List<Get8ItemsItem> expand, com.azure.core.util.Context context) Get entities from groups.com.azure.core.http.rest.PagedFlux<MicrosoftGraphGroupInner>Get entities from groups.com.azure.core.http.rest.PagedFlux<MicrosoftGraphGroupInner>listGroupAsync(String consistencyLevel, Integer top, Integer skip, String search, String filter, Boolean count, List<Get6ItemsItem> orderby, List<Get7ItemsItem> select, List<Get8ItemsItem> expand) Get entities from groups.voidupdateGroup(String groupId, MicrosoftGraphGroupInner body) Update entity in groups.updateGroupAsync(String groupId, MicrosoftGraphGroupInner body) Update entity in groups.com.azure.core.http.rest.Response<Void>updateGroupWithResponse(String groupId, MicrosoftGraphGroupInner body, com.azure.core.util.Context context) Update entity in groups.updateGroupWithResponseAsync(String groupId, MicrosoftGraphGroupInner body) Update entity in groups.
-
Method Details
-
listGroupAsync
com.azure.core.http.rest.PagedFlux<MicrosoftGraphGroupInner> listGroupAsync(String consistencyLevel, Integer top, Integer skip, String search, String filter, Boolean count, List<Get6ItemsItem> orderby, List<Get7ItemsItem> select, List<Get8ItemsItem> expand) Get entities from groups.- Parameters:
consistencyLevel- Indicates the requested consistency level.top- Show only the first n items.skip- Skip the first n items.search- Search items by search phrases.filter- Filter items by property values.count- Include count of items.orderby- Order items by property values.select- Select properties to be returned.expand- Expand related entities.- Returns:
- entities from groups as paginated response with
PagedFlux. - 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.
-
listGroupAsync
com.azure.core.http.rest.PagedFlux<MicrosoftGraphGroupInner> listGroupAsync()Get entities from groups.- Returns:
- entities from groups as paginated response with
PagedFlux. - Throws:
OdataErrorMainException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listGroup
com.azure.core.http.rest.PagedIterable<MicrosoftGraphGroupInner> listGroup()Get entities from groups.- Returns:
- entities from groups as paginated response with
PagedIterable. - Throws:
OdataErrorMainException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listGroup
com.azure.core.http.rest.PagedIterable<MicrosoftGraphGroupInner> listGroup(String consistencyLevel, Integer top, Integer skip, String search, String filter, Boolean count, List<Get6ItemsItem> orderby, List<Get7ItemsItem> select, List<Get8ItemsItem> expand, com.azure.core.util.Context context) Get entities from groups.- Parameters:
consistencyLevel- Indicates the requested consistency level.top- Show only the first n items.skip- Skip the first n items.search- Search items by search phrases.filter- Filter items by property values.count- Include count of items.orderby- Order items by property values.select- Select properties to be returned.expand- Expand related entities.context- The context to associate with this operation.- Returns:
- entities from groups as paginated response with
PagedIterable. - 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.
-
createGroupWithResponseAsync
Mono<com.azure.core.http.rest.Response<MicrosoftGraphGroupInner>> createGroupWithResponseAsync(MicrosoftGraphGroupInner body) Add new entity to groups.- Parameters:
body- New entity.- Returns:
- group along with
Responseon successful completion ofMono. - 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.
-
createGroupAsync
Add new entity to groups.- Parameters:
body- New entity.- Returns:
- group on successful completion of
Mono. - 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.
-
createGroup
Add new entity to groups.- Parameters:
body- New entity.- Returns:
- group.
- 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.
-
createGroupWithResponse
com.azure.core.http.rest.Response<MicrosoftGraphGroupInner> createGroupWithResponse(MicrosoftGraphGroupInner body, com.azure.core.util.Context context) Add new entity to groups.- Parameters:
body- New entity.context- The context to associate with this operation.- Returns:
- group along with
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.
-
getGroupWithResponseAsync
Mono<com.azure.core.http.rest.Response<MicrosoftGraphGroupInner>> getGroupWithResponseAsync(String groupId, String consistencyLevel, List<Get2ItemsItem> select, List<Get3ItemsItem> expand) Get entity from groups by key.- Parameters:
groupId- key: id of group.consistencyLevel- Indicates the requested consistency level.select- Select properties to be returned.expand- Expand related entities.- Returns:
- entity from groups by key along with
Responseon successful completion ofMono. - 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.
-
getGroupAsync
Mono<MicrosoftGraphGroupInner> getGroupAsync(String groupId, String consistencyLevel, List<Get2ItemsItem> select, List<Get3ItemsItem> expand) Get entity from groups by key.- Parameters:
groupId- key: id of group.consistencyLevel- Indicates the requested consistency level.select- Select properties to be returned.expand- Expand related entities.- Returns:
- entity from groups by key on successful completion of
Mono. - 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.
-
getGroupAsync
Get entity from groups by key.- Parameters:
groupId- key: id of group.- Returns:
- entity from groups by key on successful completion of
Mono. - 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.
-
getGroup
Get entity from groups by key.- Parameters:
groupId- key: id of group.- Returns:
- entity from groups by key.
- 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.
-
getGroupWithResponse
com.azure.core.http.rest.Response<MicrosoftGraphGroupInner> getGroupWithResponse(String groupId, String consistencyLevel, List<Get2ItemsItem> select, List<Get3ItemsItem> expand, com.azure.core.util.Context context) Get entity from groups by key.- Parameters:
groupId- key: id of group.consistencyLevel- Indicates the requested consistency level.select- Select properties to be returned.expand- Expand related entities.context- The context to associate with this operation.- Returns:
- entity from groups by key along with
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.
-
updateGroupWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> updateGroupWithResponseAsync(String groupId, MicrosoftGraphGroupInner body) Update entity in groups.- Parameters:
groupId- key: id of group.body- New property values.- Returns:
- the
Responseon successful completion ofMono. - 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.
-
updateGroupAsync
Update entity in groups.- Parameters:
groupId- key: id of group.body- New property values.- Returns:
- A
Monothat completes when a successful response is received. - 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.
-
updateGroup
Update entity in groups.- Parameters:
groupId- key: id of group.body- New property values.- 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.
-
updateGroupWithResponse
com.azure.core.http.rest.Response<Void> updateGroupWithResponse(String groupId, MicrosoftGraphGroupInner body, com.azure.core.util.Context context) Update entity in groups.- Parameters:
groupId- key: id of group.body- New property values.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.
-
deleteGroupWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> deleteGroupWithResponseAsync(String groupId, String ifMatch) Delete entity from groups.- Parameters:
groupId- key: id of group.ifMatch- ETag.- Returns:
- the
Responseon successful completion ofMono. - 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.
-
deleteGroupAsync
Delete entity from groups.- Parameters:
groupId- key: id of group.ifMatch- ETag.- Returns:
- A
Monothat completes when a successful response is received. - 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.
-
deleteGroupAsync
Delete entity from groups.- Parameters:
groupId- key: id of group.- Returns:
- A
Monothat completes when a successful response is received. - 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.
-
deleteGroup
Delete entity from groups.- Parameters:
groupId- key: id of group.- 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.
-
deleteGroupWithResponse
com.azure.core.http.rest.Response<Void> deleteGroupWithResponse(String groupId, String ifMatch, com.azure.core.util.Context context) Delete entity from groups.- Parameters:
groupId- key: id of group.ifMatch- ETag.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.
-