Interface GroupsGroupsClient
-
public interface GroupsGroupsClient
An instance of this class provides access to all the operations defined in GroupsGroupsClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MicrosoftGraphGroupInner
createGroup(MicrosoftGraphGroupInner body)
Add new entity to groups.Mono<MicrosoftGraphGroupInner>
createGroupAsync(MicrosoftGraphGroupInner body)
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>>
createGroupWithResponseAsync(MicrosoftGraphGroupInner body)
Add new entity to groups.void
deleteGroup(String groupId)
Delete entity from groups.Mono<Void>
deleteGroupAsync(String groupId)
Delete entity from groups.Mono<Void>
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.Mono<com.azure.core.http.rest.Response<Void>>
deleteGroupWithResponseAsync(String groupId, String ifMatch)
Delete entity from groups.MicrosoftGraphGroupInner
getGroup(String groupId)
Get entity from groups by key.Mono<MicrosoftGraphGroupInner>
getGroupAsync(String groupId)
Get entity from groups by key.Mono<MicrosoftGraphGroupInner>
getGroupAsync(String groupId, String consistencyLevel, List<GroupsGroupSelect> select, List<Get3ItemsItem> expand)
Get entity from groups by key.com.azure.core.http.rest.Response<MicrosoftGraphGroupInner>
getGroupWithResponse(String groupId, String consistencyLevel, List<GroupsGroupSelect> 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<GroupsGroupSelect> select, List<Get3ItemsItem> expand)
Get entity from groups by key.com.azure.core.http.rest.PagedIterable<MicrosoftGraphGroupInner>
listGroup()
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<GroupsGroupOrderby> orderby, List<GroupsGroupSelect> select, List<Get8ItemsItem> expand, com.azure.core.util.Context context)
Get entities from groups.com.azure.core.http.rest.PagedFlux<MicrosoftGraphGroupInner>
listGroupAsync()
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<GroupsGroupOrderby> orderby, List<GroupsGroupSelect> select, List<Get8ItemsItem> expand)
Get entities from groups.void
updateGroup(String groupId, MicrosoftGraphGroupInner body)
Update entity in groups.Mono<Void>
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.Mono<com.azure.core.http.rest.Response<Void>>
updateGroupWithResponseAsync(String groupId, MicrosoftGraphGroupInner body)
Update entity in groups.
-
-
-
Method Detail
-
listGroupAsync
com.azure.core.http.rest.PagedFlux<MicrosoftGraphGroupInner> listGroupAsync(String consistencyLevel, Integer top, Integer skip, String search, String filter, Boolean count, List<GroupsGroupOrderby> orderby, List<GroupsGroupSelect> 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.
- 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.
- 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.
- 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<GroupsGroupOrderby> orderby, List<GroupsGroupSelect> 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.
- 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:
- represents an Azure Active Directory object.
- 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
Mono<MicrosoftGraphGroupInner> createGroupAsync(MicrosoftGraphGroupInner body)
Add new entity to groups.- Parameters:
body
- New entity.- Returns:
- represents an Azure Active Directory object.
- 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
MicrosoftGraphGroupInner createGroup(MicrosoftGraphGroupInner body)
Add new entity to groups.- Parameters:
body
- New entity.- Returns:
- represents an Azure Active Directory object.
- 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:
- represents an Azure Active Directory object.
- 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<GroupsGroupSelect> 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.
- 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<GroupsGroupSelect> 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.
- 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)
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.
-
getGroup
MicrosoftGraphGroupInner getGroup(String groupId)
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<GroupsGroupSelect> 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.
- 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 completion.
- 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
Mono<Void> updateGroupAsync(String groupId, MicrosoftGraphGroupInner body)
Update entity in groups.- Parameters:
groupId
- key: id of group.body
- New property values.- Returns:
- the completion.
- 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
void updateGroup(String groupId, MicrosoftGraphGroupInner body)
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 completion.
- 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
Mono<Void> deleteGroupAsync(String groupId, String ifMatch)
Delete entity from groups.- Parameters:
groupId
- key: id of group.ifMatch
- ETag.- Returns:
- the completion.
- 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
Mono<Void> deleteGroupAsync(String groupId)
Delete entity from groups.- Parameters:
groupId
- key: id of group.- Returns:
- the completion.
- 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
void deleteGroup(String groupId)
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.
-
-