Interface DirectoryRolesDirectoryRolesClient
-
public interface DirectoryRolesDirectoryRolesClient
An instance of this class provides access to all the operations defined in DirectoryRolesDirectoryRolesClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MicrosoftGraphDirectoryRoleInner
createDirectoryRole(MicrosoftGraphDirectoryRoleInner body)
Add new entity to directoryRoles.Mono<MicrosoftGraphDirectoryRoleInner>
createDirectoryRoleAsync(MicrosoftGraphDirectoryRoleInner body)
Add new entity to directoryRoles.com.azure.core.http.rest.Response<MicrosoftGraphDirectoryRoleInner>
createDirectoryRoleWithResponse(MicrosoftGraphDirectoryRoleInner body, com.azure.core.util.Context context)
Add new entity to directoryRoles.Mono<com.azure.core.http.rest.Response<MicrosoftGraphDirectoryRoleInner>>
createDirectoryRoleWithResponseAsync(MicrosoftGraphDirectoryRoleInner body)
Add new entity to directoryRoles.void
deleteDirectoryRole(String directoryRoleId)
Delete entity from directoryRoles.Mono<Void>
deleteDirectoryRoleAsync(String directoryRoleId)
Delete entity from directoryRoles.Mono<Void>
deleteDirectoryRoleAsync(String directoryRoleId, String ifMatch)
Delete entity from directoryRoles.com.azure.core.http.rest.Response<Void>
deleteDirectoryRoleWithResponse(String directoryRoleId, String ifMatch, com.azure.core.util.Context context)
Delete entity from directoryRoles.Mono<com.azure.core.http.rest.Response<Void>>
deleteDirectoryRoleWithResponseAsync(String directoryRoleId, String ifMatch)
Delete entity from directoryRoles.MicrosoftGraphDirectoryRoleInner
getDirectoryRole(String directoryRoleId)
Get entity from directoryRoles by key.Mono<MicrosoftGraphDirectoryRoleInner>
getDirectoryRoleAsync(String directoryRoleId)
Get entity from directoryRoles by key.Mono<MicrosoftGraphDirectoryRoleInner>
getDirectoryRoleAsync(String directoryRoleId, List<DirectoryRolesDirectoryRoleSelect> select, List<DirectoryRolesDirectoryRoleExpand> expand)
Get entity from directoryRoles by key.com.azure.core.http.rest.Response<MicrosoftGraphDirectoryRoleInner>
getDirectoryRoleWithResponse(String directoryRoleId, List<DirectoryRolesDirectoryRoleSelect> select, List<DirectoryRolesDirectoryRoleExpand> expand, com.azure.core.util.Context context)
Get entity from directoryRoles by key.Mono<com.azure.core.http.rest.Response<MicrosoftGraphDirectoryRoleInner>>
getDirectoryRoleWithResponseAsync(String directoryRoleId, List<DirectoryRolesDirectoryRoleSelect> select, List<DirectoryRolesDirectoryRoleExpand> expand)
Get entity from directoryRoles by key.com.azure.core.http.rest.PagedIterable<MicrosoftGraphDirectoryRoleInner>
listDirectoryRole()
Get entities from directoryRoles.com.azure.core.http.rest.PagedIterable<MicrosoftGraphDirectoryRoleInner>
listDirectoryRole(Integer top, Integer skip, String search, String filter, Boolean count, List<DirectoryRolesDirectoryRoleOrderby> orderby, List<DirectoryRolesDirectoryRoleSelect> select, List<DirectoryRolesDirectoryRoleExpand> expand, com.azure.core.util.Context context)
Get entities from directoryRoles.com.azure.core.http.rest.PagedFlux<MicrosoftGraphDirectoryRoleInner>
listDirectoryRoleAsync()
Get entities from directoryRoles.com.azure.core.http.rest.PagedFlux<MicrosoftGraphDirectoryRoleInner>
listDirectoryRoleAsync(Integer top, Integer skip, String search, String filter, Boolean count, List<DirectoryRolesDirectoryRoleOrderby> orderby, List<DirectoryRolesDirectoryRoleSelect> select, List<DirectoryRolesDirectoryRoleExpand> expand)
Get entities from directoryRoles.void
updateDirectoryRole(String directoryRoleId, MicrosoftGraphDirectoryRoleInner body)
Update entity in directoryRoles.Mono<Void>
updateDirectoryRoleAsync(String directoryRoleId, MicrosoftGraphDirectoryRoleInner body)
Update entity in directoryRoles.com.azure.core.http.rest.Response<Void>
updateDirectoryRoleWithResponse(String directoryRoleId, MicrosoftGraphDirectoryRoleInner body, com.azure.core.util.Context context)
Update entity in directoryRoles.Mono<com.azure.core.http.rest.Response<Void>>
updateDirectoryRoleWithResponseAsync(String directoryRoleId, MicrosoftGraphDirectoryRoleInner body)
Update entity in directoryRoles.
-
-
-
Method Detail
-
listDirectoryRoleAsync
com.azure.core.http.rest.PagedFlux<MicrosoftGraphDirectoryRoleInner> listDirectoryRoleAsync(Integer top, Integer skip, String search, String filter, Boolean count, List<DirectoryRolesDirectoryRoleOrderby> orderby, List<DirectoryRolesDirectoryRoleSelect> select, List<DirectoryRolesDirectoryRoleExpand> expand)
Get entities from directoryRoles.- Parameters:
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 directoryRoles.
- 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.
-
listDirectoryRoleAsync
com.azure.core.http.rest.PagedFlux<MicrosoftGraphDirectoryRoleInner> listDirectoryRoleAsync()
Get entities from directoryRoles.- Returns:
- entities from directoryRoles.
- Throws:
OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listDirectoryRole
com.azure.core.http.rest.PagedIterable<MicrosoftGraphDirectoryRoleInner> listDirectoryRole()
Get entities from directoryRoles.- Returns:
- entities from directoryRoles.
- Throws:
OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listDirectoryRole
com.azure.core.http.rest.PagedIterable<MicrosoftGraphDirectoryRoleInner> listDirectoryRole(Integer top, Integer skip, String search, String filter, Boolean count, List<DirectoryRolesDirectoryRoleOrderby> orderby, List<DirectoryRolesDirectoryRoleSelect> select, List<DirectoryRolesDirectoryRoleExpand> expand, com.azure.core.util.Context context)
Get entities from directoryRoles.- Parameters:
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 directoryRoles.
- 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.
-
createDirectoryRoleWithResponseAsync
Mono<com.azure.core.http.rest.Response<MicrosoftGraphDirectoryRoleInner>> createDirectoryRoleWithResponseAsync(MicrosoftGraphDirectoryRoleInner body)
Add new entity to directoryRoles.- 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.
-
createDirectoryRoleAsync
Mono<MicrosoftGraphDirectoryRoleInner> createDirectoryRoleAsync(MicrosoftGraphDirectoryRoleInner body)
Add new entity to directoryRoles.- 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.
-
createDirectoryRole
MicrosoftGraphDirectoryRoleInner createDirectoryRole(MicrosoftGraphDirectoryRoleInner body)
Add new entity to directoryRoles.- 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.
-
createDirectoryRoleWithResponse
com.azure.core.http.rest.Response<MicrosoftGraphDirectoryRoleInner> createDirectoryRoleWithResponse(MicrosoftGraphDirectoryRoleInner body, com.azure.core.util.Context context)
Add new entity to directoryRoles.- 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.
-
getDirectoryRoleWithResponseAsync
Mono<com.azure.core.http.rest.Response<MicrosoftGraphDirectoryRoleInner>> getDirectoryRoleWithResponseAsync(String directoryRoleId, List<DirectoryRolesDirectoryRoleSelect> select, List<DirectoryRolesDirectoryRoleExpand> expand)
Get entity from directoryRoles by key.- Parameters:
directoryRoleId
- key: id of directoryRole.select
- Select properties to be returned.expand
- Expand related entities.- Returns:
- entity from directoryRoles 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.
-
getDirectoryRoleAsync
Mono<MicrosoftGraphDirectoryRoleInner> getDirectoryRoleAsync(String directoryRoleId, List<DirectoryRolesDirectoryRoleSelect> select, List<DirectoryRolesDirectoryRoleExpand> expand)
Get entity from directoryRoles by key.- Parameters:
directoryRoleId
- key: id of directoryRole.select
- Select properties to be returned.expand
- Expand related entities.- Returns:
- entity from directoryRoles 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.
-
getDirectoryRoleAsync
Mono<MicrosoftGraphDirectoryRoleInner> getDirectoryRoleAsync(String directoryRoleId)
Get entity from directoryRoles by key.- Parameters:
directoryRoleId
- key: id of directoryRole.- Returns:
- entity from directoryRoles 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.
-
getDirectoryRole
MicrosoftGraphDirectoryRoleInner getDirectoryRole(String directoryRoleId)
Get entity from directoryRoles by key.- Parameters:
directoryRoleId
- key: id of directoryRole.- Returns:
- entity from directoryRoles 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.
-
getDirectoryRoleWithResponse
com.azure.core.http.rest.Response<MicrosoftGraphDirectoryRoleInner> getDirectoryRoleWithResponse(String directoryRoleId, List<DirectoryRolesDirectoryRoleSelect> select, List<DirectoryRolesDirectoryRoleExpand> expand, com.azure.core.util.Context context)
Get entity from directoryRoles by key.- Parameters:
directoryRoleId
- key: id of directoryRole.select
- Select properties to be returned.expand
- Expand related entities.context
- The context to associate with this operation.- Returns:
- entity from directoryRoles 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.
-
updateDirectoryRoleWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> updateDirectoryRoleWithResponseAsync(String directoryRoleId, MicrosoftGraphDirectoryRoleInner body)
Update entity in directoryRoles.- Parameters:
directoryRoleId
- key: id of directoryRole.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.
-
updateDirectoryRoleAsync
Mono<Void> updateDirectoryRoleAsync(String directoryRoleId, MicrosoftGraphDirectoryRoleInner body)
Update entity in directoryRoles.- Parameters:
directoryRoleId
- key: id of directoryRole.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.
-
updateDirectoryRole
void updateDirectoryRole(String directoryRoleId, MicrosoftGraphDirectoryRoleInner body)
Update entity in directoryRoles.- Parameters:
directoryRoleId
- key: id of directoryRole.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.
-
updateDirectoryRoleWithResponse
com.azure.core.http.rest.Response<Void> updateDirectoryRoleWithResponse(String directoryRoleId, MicrosoftGraphDirectoryRoleInner body, com.azure.core.util.Context context)
Update entity in directoryRoles.- Parameters:
directoryRoleId
- key: id of directoryRole.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.
-
deleteDirectoryRoleWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> deleteDirectoryRoleWithResponseAsync(String directoryRoleId, String ifMatch)
Delete entity from directoryRoles.- Parameters:
directoryRoleId
- key: id of directoryRole.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.
-
deleteDirectoryRoleAsync
Mono<Void> deleteDirectoryRoleAsync(String directoryRoleId, String ifMatch)
Delete entity from directoryRoles.- Parameters:
directoryRoleId
- key: id of directoryRole.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.
-
deleteDirectoryRoleAsync
Mono<Void> deleteDirectoryRoleAsync(String directoryRoleId)
Delete entity from directoryRoles.- Parameters:
directoryRoleId
- key: id of directoryRole.- 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.
-
deleteDirectoryRole
void deleteDirectoryRole(String directoryRoleId)
Delete entity from directoryRoles.- Parameters:
directoryRoleId
- key: id of directoryRole.- 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.
-
deleteDirectoryRoleWithResponse
com.azure.core.http.rest.Response<Void> deleteDirectoryRoleWithResponse(String directoryRoleId, String ifMatch, com.azure.core.util.Context context)
Delete entity from directoryRoles.- Parameters:
directoryRoleId
- key: id of directoryRole.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.
-
-