Interface UsersUsersClient
-
public interface UsersUsersClient
An instance of this class provides access to all the operations defined in UsersUsersClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MicrosoftGraphUserInner
createUser(MicrosoftGraphUserInner body)
Add new entity to users.Mono<MicrosoftGraphUserInner>
createUserAsync(MicrosoftGraphUserInner body)
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>>
createUserWithResponseAsync(MicrosoftGraphUserInner body)
Add new entity to users.void
deleteUser(String userId)
Delete entity from users.Mono<Void>
deleteUserAsync(String userId)
Delete entity from users.Mono<Void>
deleteUserAsync(String userId, String ifMatch)
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.Mono<com.azure.core.http.rest.Response<Void>>
deleteUserWithResponseAsync(String userId, String ifMatch)
Delete entity from users.MicrosoftGraphUserInner
getUser(String userId)
Get entity from users by key.Mono<MicrosoftGraphUserInner>
getUserAsync(String userId)
Get entity from users by key.Mono<MicrosoftGraphUserInner>
getUserAsync(String userId, String consistencyLevel, List<Get2ItemsItem> select, List<Get3ItemsItem> expand)
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>
listUserAsync()
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.void
updateUser(String userId, MicrosoftGraphUserInner body)
Update entity in users.Mono<Void>
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.Mono<com.azure.core.http.rest.Response<Void>>
updateUserWithResponseAsync(String userId, MicrosoftGraphUserInner body)
Update entity in users.
-
-
-
Method Detail
-
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.
- 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.
- 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.
- 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.
- 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:
- represents an Azure Active Directory user 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.
-
createUserAsync
Mono<MicrosoftGraphUserInner> createUserAsync(MicrosoftGraphUserInner body)
Add new entity to users.- Parameters:
body
- New entity.- Returns:
- represents an Azure Active Directory user 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.
-
createUser
MicrosoftGraphUserInner createUser(MicrosoftGraphUserInner body)
Add new entity to users.- Parameters:
body
- New entity.- Returns:
- represents an Azure Active Directory user 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.
-
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:
- represents an Azure Active Directory user 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.
-
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.
- 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
Mono<MicrosoftGraphUserInner> getUserAsync(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.
- 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
Mono<MicrosoftGraphUserInner> getUserAsync(String userId)
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.
-
getUser
MicrosoftGraphUserInner getUser(String userId)
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.
-
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.
- 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 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.
-
updateUserAsync
Mono<Void> updateUserAsync(String userId, MicrosoftGraphUserInner body)
Update entity in users.- Parameters:
userId
- key: id of user.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.
-
updateUser
void updateUser(String userId, MicrosoftGraphUserInner body)
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.
-
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.
-
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 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.
-
deleteUserAsync
Mono<Void> deleteUserAsync(String userId, String ifMatch)
Delete entity from users.- Parameters:
userId
- key: id of user.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.
-
deleteUserAsync
Mono<Void> deleteUserAsync(String userId)
Delete entity from users.- Parameters:
userId
- key: id of user.- 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.
-
deleteUser
void deleteUser(String userId)
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.
-
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.
-
-