Interface DirectoryDirectoriesClient
-
public interface DirectoryDirectoriesClient
An instance of this class provides access to all the operations defined in DirectoryDirectoriesClient.
-
-
Method Summary
-
-
-
Method Detail
-
getDirectoryWithResponseAsync
Mono<com.azure.core.http.rest.Response<MicrosoftGraphDirectoryInner>> getDirectoryWithResponseAsync(List<Get0ItemsItem> select, List<DirectoryDirectoryExpand> expand)
Get directory.- Parameters:
select
- Select properties to be returned.expand
- Expand related entities.- Returns:
- directory.
- 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.
-
getDirectoryAsync
Mono<MicrosoftGraphDirectoryInner> getDirectoryAsync(List<Get0ItemsItem> select, List<DirectoryDirectoryExpand> expand)
Get directory.- Parameters:
select
- Select properties to be returned.expand
- Expand related entities.- Returns:
- directory.
- 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.
-
getDirectoryAsync
Mono<MicrosoftGraphDirectoryInner> getDirectoryAsync()
Get directory.- Returns:
- directory.
- Throws:
OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getDirectory
MicrosoftGraphDirectoryInner getDirectory()
Get directory.- Returns:
- directory.
- Throws:
OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getDirectoryWithResponse
com.azure.core.http.rest.Response<MicrosoftGraphDirectoryInner> getDirectoryWithResponse(List<Get0ItemsItem> select, List<DirectoryDirectoryExpand> expand, com.azure.core.util.Context context)
Get directory.- Parameters:
select
- Select properties to be returned.expand
- Expand related entities.context
- The context to associate with this operation.- Returns:
- directory.
- 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.
-
updateDirectoryWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> updateDirectoryWithResponseAsync(MicrosoftGraphDirectoryInner body)
Update directory.- Parameters:
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.
-
updateDirectoryAsync
Mono<Void> updateDirectoryAsync(MicrosoftGraphDirectoryInner body)
Update directory.- Parameters:
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.
-
updateDirectory
void updateDirectory(MicrosoftGraphDirectoryInner body)
Update directory.- Parameters:
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.
-
updateDirectoryWithResponse
com.azure.core.http.rest.Response<Void> updateDirectoryWithResponse(MicrosoftGraphDirectoryInner body, com.azure.core.util.Context context)
Update directory.- Parameters:
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.
-
-