Interface UsersUsersClient
public interface UsersUsersClient
An instance of this class provides access to all the operations defined in UsersUsersClient.
-
Method Summary
Modifier and TypeMethodDescriptionAdd new entity to users.Add new entity to users.com.azure.core.http.rest.Response<MicrosoftGraphUserInner>createUserWithResponse(MicrosoftGraphUserInner body, com.azure.core.util.Context context) Add new entity to users.Mono<com.azure.core.http.rest.Response<MicrosoftGraphUserInner>>Add new entity to users.voiddeleteUser(String userId) Delete entity from users.deleteUserAsync(String userId) Delete entity from users.com.azure.core.http.rest.Response<Void>deleteUserWithResponse(String userId, String ifMatch, com.azure.core.util.Context context) Delete entity from users.deleteUserWithResponseAsync(String userId, String ifMatch) Delete entity from users.Get entity from users by key.getUserAsync(String userId) Get entity from users by key.com.azure.core.http.rest.Response<MicrosoftGraphUserInner>getUserWithResponse(String userId, String consistencyLevel, List<Get2ItemsItem> select, List<Get3ItemsItem> expand, com.azure.core.util.Context context) Get entity from users by key.Mono<com.azure.core.http.rest.Response<MicrosoftGraphUserInner>>getUserWithResponseAsync(String userId, String consistencyLevel, List<Get2ItemsItem> select, List<Get3ItemsItem> expand) Get entity from users by key.com.azure.core.http.rest.PagedIterable<MicrosoftGraphUserInner>listUser()Get entities from users.com.azure.core.http.rest.PagedIterable<MicrosoftGraphUserInner>listUser(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 users.com.azure.core.http.rest.PagedFlux<MicrosoftGraphUserInner>Get entities from users.com.azure.core.http.rest.PagedFlux<MicrosoftGraphUserInner>listUserAsync(String consistencyLevel, Integer top, Integer skip, String search, String filter, Boolean count, List<Get6ItemsItem> orderby, List<Get7ItemsItem> select, List<Get8ItemsItem> expand) Get entities from users.voidupdateUser(String userId, MicrosoftGraphUserInner body) Update entity in users.updateUserAsync(String userId, MicrosoftGraphUserInner body) Update entity in users.com.azure.core.http.rest.Response<Void>updateUserWithResponse(String userId, MicrosoftGraphUserInner body, com.azure.core.util.Context context) Update entity in users.updateUserWithResponseAsync(String userId, MicrosoftGraphUserInner body) Update entity in users.
-
Method Details
-
listUserAsync
com.azure.core.http.rest.PagedFlux<MicrosoftGraphUserInner> listUserAsync(String consistencyLevel, Integer top, Integer skip, String search, String filter, Boolean count, List<Get6ItemsItem> orderby, List<Get7ItemsItem> select, List<Get8ItemsItem> expand) Get entities from users.- 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 users 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.
-
listUserAsync
com.azure.core.http.rest.PagedFlux<MicrosoftGraphUserInner> listUserAsync()Get entities from users.- Returns:
- entities from users 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.
-
listUser
com.azure.core.http.rest.PagedIterable<MicrosoftGraphUserInner> listUser()Get entities from users.- Returns:
- entities from users 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.
-
listUser
com.azure.core.http.rest.PagedIterable<MicrosoftGraphUserInner> listUser(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 users.- 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 users 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.
-
createUserWithResponseAsync
Mono<com.azure.core.http.rest.Response<MicrosoftGraphUserInner>> createUserWithResponseAsync(MicrosoftGraphUserInner body) Add new entity to users.- Parameters:
body- New entity.- Returns:
- user 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.
-
createUserAsync
Add new entity to users.- Parameters:
body- New entity.- Returns:
- user 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.
-
createUserWithResponse
com.azure.core.http.rest.Response<MicrosoftGraphUserInner> createUserWithResponse(MicrosoftGraphUserInner body, com.azure.core.util.Context context) Add new entity to users.- Parameters:
body- New entity.context- The context to associate with this operation.- Returns:
- user 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.
-
createUser
Add new entity to users.- Parameters:
body- New entity.- Returns:
- user.
- 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.
-
getUserWithResponseAsync
Mono<com.azure.core.http.rest.Response<MicrosoftGraphUserInner>> getUserWithResponseAsync(String userId, String consistencyLevel, List<Get2ItemsItem> select, List<Get3ItemsItem> expand) Get entity from users by key.- Parameters:
userId- key: id of user.consistencyLevel- Indicates the requested consistency level.select- Select properties to be returned.expand- Expand related entities.- Returns:
- entity from users 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.
-
getUserAsync
Get entity from users by key.- Parameters:
userId- key: id of user.- Returns:
- entity from users 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.
-
getUserWithResponse
com.azure.core.http.rest.Response<MicrosoftGraphUserInner> getUserWithResponse(String userId, String consistencyLevel, List<Get2ItemsItem> select, List<Get3ItemsItem> expand, com.azure.core.util.Context context) Get entity from users by key.- Parameters:
userId- key: id of user.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 users 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.
-
getUser
Get entity from users by key.- Parameters:
userId- key: id of user.- Returns:
- entity from users 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.
-
updateUserWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> updateUserWithResponseAsync(String userId, MicrosoftGraphUserInner body) Update entity in users.- Parameters:
userId- key: id of user.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.
-
updateUserAsync
Update entity in users.- Parameters:
userId- key: id of user.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.
-
updateUserWithResponse
com.azure.core.http.rest.Response<Void> updateUserWithResponse(String userId, MicrosoftGraphUserInner body, com.azure.core.util.Context context) Update entity in users.- Parameters:
userId- key: id of user.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.
-
updateUser
Update entity in users.- Parameters:
userId- key: id of user.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.
-
deleteUserWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> deleteUserWithResponseAsync(String userId, String ifMatch) Delete entity from users.- Parameters:
userId- key: id of user.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.
-
deleteUserAsync
Delete entity from users.- Parameters:
userId- key: id of user.- 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.
-
deleteUserWithResponse
com.azure.core.http.rest.Response<Void> deleteUserWithResponse(String userId, String ifMatch, com.azure.core.util.Context context) Delete entity from users.- Parameters:
userId- key: id of user.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.
-
deleteUser
Delete entity from users.- Parameters:
userId- key: id of user.- 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.
-