Interface DirectoryAdministrativeUnitsClient
-
public interface DirectoryAdministrativeUnitsClientAn instance of this class provides access to all the operations defined in DirectoryAdministrativeUnitsClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MicrosoftGraphExtensionInnercreateExtensions(String administrativeUnitId, MicrosoftGraphExtensionInner body)Create new navigation property to extensions for directory.Mono<MicrosoftGraphExtensionInner>createExtensionsAsync(String administrativeUnitId, MicrosoftGraphExtensionInner body)Create new navigation property to extensions for directory.com.azure.core.http.rest.Response<MicrosoftGraphExtensionInner>createExtensionsWithResponse(String administrativeUnitId, MicrosoftGraphExtensionInner body, com.azure.core.util.Context context)Create new navigation property to extensions for directory.Mono<com.azure.core.http.rest.Response<MicrosoftGraphExtensionInner>>createExtensionsWithResponseAsync(String administrativeUnitId, MicrosoftGraphExtensionInner body)Create new navigation property to extensions for directory.Map<String,Object>createRefMembers(String administrativeUnitId, Map<String,Object> body)Create new navigation property ref to members for directory.Mono<Map<String,Object>>createRefMembersAsync(String administrativeUnitId, Map<String,Object> body)Create new navigation property ref to members for directory.com.azure.core.http.rest.Response<Map<String,Object>>createRefMembersWithResponse(String administrativeUnitId, Map<String,Object> body, com.azure.core.util.Context context)Create new navigation property ref to members for directory.Mono<com.azure.core.http.rest.Response<Map<String,Object>>>createRefMembersWithResponseAsync(String administrativeUnitId, Map<String,Object> body)Create new navigation property ref to members for directory.MicrosoftGraphScopedRoleMembershipInnercreateScopedRoleMembers(String administrativeUnitId, MicrosoftGraphScopedRoleMembershipInner body)Create new navigation property to scopedRoleMembers for directory.Mono<MicrosoftGraphScopedRoleMembershipInner>createScopedRoleMembersAsync(String administrativeUnitId, MicrosoftGraphScopedRoleMembershipInner body)Create new navigation property to scopedRoleMembers for directory.com.azure.core.http.rest.Response<MicrosoftGraphScopedRoleMembershipInner>createScopedRoleMembersWithResponse(String administrativeUnitId, MicrosoftGraphScopedRoleMembershipInner body, com.azure.core.util.Context context)Create new navigation property to scopedRoleMembers for directory.Mono<com.azure.core.http.rest.Response<MicrosoftGraphScopedRoleMembershipInner>>createScopedRoleMembersWithResponseAsync(String administrativeUnitId, MicrosoftGraphScopedRoleMembershipInner body)Create new navigation property to scopedRoleMembers for directory.voiddeleteExtensions(String administrativeUnitId, String extensionId)Delete navigation property extensions for directory.Mono<Void>deleteExtensionsAsync(String administrativeUnitId, String extensionId)Delete navigation property extensions for directory.Mono<Void>deleteExtensionsAsync(String administrativeUnitId, String extensionId, String ifMatch)Delete navigation property extensions for directory.com.azure.core.http.rest.Response<Void>deleteExtensionsWithResponse(String administrativeUnitId, String extensionId, String ifMatch, com.azure.core.util.Context context)Delete navigation property extensions for directory.Mono<com.azure.core.http.rest.Response<Void>>deleteExtensionsWithResponseAsync(String administrativeUnitId, String extensionId, String ifMatch)Delete navigation property extensions for directory.voiddeleteScopedRoleMembers(String administrativeUnitId, String scopedRoleMembershipId)Delete navigation property scopedRoleMembers for directory.Mono<Void>deleteScopedRoleMembersAsync(String administrativeUnitId, String scopedRoleMembershipId)Delete navigation property scopedRoleMembers for directory.Mono<Void>deleteScopedRoleMembersAsync(String administrativeUnitId, String scopedRoleMembershipId, String ifMatch)Delete navigation property scopedRoleMembers for directory.com.azure.core.http.rest.Response<Void>deleteScopedRoleMembersWithResponse(String administrativeUnitId, String scopedRoleMembershipId, String ifMatch, com.azure.core.util.Context context)Delete navigation property scopedRoleMembers for directory.Mono<com.azure.core.http.rest.Response<Void>>deleteScopedRoleMembersWithResponseAsync(String administrativeUnitId, String scopedRoleMembershipId, String ifMatch)Delete navigation property scopedRoleMembers for directory.List<MicrosoftGraphAdministrativeUnitInner>delta()Invoke function delta.Mono<List<MicrosoftGraphAdministrativeUnitInner>>deltaAsync()Invoke function delta.com.azure.core.http.rest.Response<List<MicrosoftGraphAdministrativeUnitInner>>deltaWithResponse(com.azure.core.util.Context context)Invoke function delta.Mono<com.azure.core.http.rest.Response<List<MicrosoftGraphAdministrativeUnitInner>>>deltaWithResponseAsync()Invoke function delta.MicrosoftGraphExtensionInnergetExtensions(String administrativeUnitId, String extensionId)Get extensions from directory.Mono<MicrosoftGraphExtensionInner>getExtensionsAsync(String administrativeUnitId, String extensionId)Get extensions from directory.Mono<MicrosoftGraphExtensionInner>getExtensionsAsync(String administrativeUnitId, String extensionId, List<String> select, List<String> expand)Get extensions from directory.com.azure.core.http.rest.Response<MicrosoftGraphExtensionInner>getExtensionsWithResponse(String administrativeUnitId, String extensionId, List<String> select, List<String> expand, com.azure.core.util.Context context)Get extensions from directory.Mono<com.azure.core.http.rest.Response<MicrosoftGraphExtensionInner>>getExtensionsWithResponseAsync(String administrativeUnitId, String extensionId, List<String> select, List<String> expand)Get extensions from directory.MicrosoftGraphScopedRoleMembershipInnergetScopedRoleMembers(String administrativeUnitId, String scopedRoleMembershipId)Get scopedRoleMembers from directory.Mono<MicrosoftGraphScopedRoleMembershipInner>getScopedRoleMembersAsync(String administrativeUnitId, String scopedRoleMembershipId)Get scopedRoleMembers from directory.Mono<MicrosoftGraphScopedRoleMembershipInner>getScopedRoleMembersAsync(String administrativeUnitId, String scopedRoleMembershipId, List<DirectoryAdministrativeUnitsSelect> select, List<String> expand)Get scopedRoleMembers from directory.com.azure.core.http.rest.Response<MicrosoftGraphScopedRoleMembershipInner>getScopedRoleMembersWithResponse(String administrativeUnitId, String scopedRoleMembershipId, List<DirectoryAdministrativeUnitsSelect> select, List<String> expand, com.azure.core.util.Context context)Get scopedRoleMembers from directory.Mono<com.azure.core.http.rest.Response<MicrosoftGraphScopedRoleMembershipInner>>getScopedRoleMembersWithResponseAsync(String administrativeUnitId, String scopedRoleMembershipId, List<DirectoryAdministrativeUnitsSelect> select, List<String> expand)Get scopedRoleMembers from directory.com.azure.core.http.rest.PagedIterable<MicrosoftGraphExtensionInner>listExtensions(String administrativeUnitId)Get extensions from directory.com.azure.core.http.rest.PagedIterable<MicrosoftGraphExtensionInner>listExtensions(String administrativeUnitId, Integer top, Integer skip, String search, String filter, Boolean count, List<DirectoryAdministrativeUnitsOrderby> orderby, List<String> select, List<String> expand, com.azure.core.util.Context context)Get extensions from directory.com.azure.core.http.rest.PagedFlux<MicrosoftGraphExtensionInner>listExtensionsAsync(String administrativeUnitId)Get extensions from directory.com.azure.core.http.rest.PagedFlux<MicrosoftGraphExtensionInner>listExtensionsAsync(String administrativeUnitId, Integer top, Integer skip, String search, String filter, Boolean count, List<DirectoryAdministrativeUnitsOrderby> orderby, List<String> select, List<String> expand)Get extensions from directory.com.azure.core.http.rest.PagedIterable<MicrosoftGraphDirectoryObjectInner>listMembers(String administrativeUnitId)Get members from directory.com.azure.core.http.rest.PagedIterable<MicrosoftGraphDirectoryObjectInner>listMembers(String administrativeUnitId, Integer top, Integer skip, String search, String filter, Boolean count, List<DirectoryAdministrativeUnitsOrderby> orderby, List<DirectoryAdministrativeUnitsSelect> select, List<String> expand, com.azure.core.util.Context context)Get members from directory.com.azure.core.http.rest.PagedFlux<MicrosoftGraphDirectoryObjectInner>listMembersAsync(String administrativeUnitId)Get members from directory.com.azure.core.http.rest.PagedFlux<MicrosoftGraphDirectoryObjectInner>listMembersAsync(String administrativeUnitId, Integer top, Integer skip, String search, String filter, Boolean count, List<DirectoryAdministrativeUnitsOrderby> orderby, List<DirectoryAdministrativeUnitsSelect> select, List<String> expand)Get members from directory.com.azure.core.http.rest.PagedIterable<String>listRefMembers(String administrativeUnitId)Get ref of members from directory.com.azure.core.http.rest.PagedIterable<String>listRefMembers(String administrativeUnitId, Integer top, Integer skip, String search, String filter, Boolean count, List<DirectoryAdministrativeUnitsOrderby> orderby, com.azure.core.util.Context context)Get ref of members from directory.com.azure.core.http.rest.PagedFlux<String>listRefMembersAsync(String administrativeUnitId)Get ref of members from directory.com.azure.core.http.rest.PagedFlux<String>listRefMembersAsync(String administrativeUnitId, Integer top, Integer skip, String search, String filter, Boolean count, List<DirectoryAdministrativeUnitsOrderby> orderby)Get ref of members from directory.com.azure.core.http.rest.PagedIterable<MicrosoftGraphScopedRoleMembershipInner>listScopedRoleMembers(String administrativeUnitId)Get scopedRoleMembers from directory.com.azure.core.http.rest.PagedIterable<MicrosoftGraphScopedRoleMembershipInner>listScopedRoleMembers(String administrativeUnitId, Integer top, Integer skip, String search, String filter, Boolean count, List<DirectoryAdministrativeUnitsOrderby> orderby, List<DirectoryAdministrativeUnitsSelect> select, List<String> expand, com.azure.core.util.Context context)Get scopedRoleMembers from directory.com.azure.core.http.rest.PagedFlux<MicrosoftGraphScopedRoleMembershipInner>listScopedRoleMembersAsync(String administrativeUnitId)Get scopedRoleMembers from directory.com.azure.core.http.rest.PagedFlux<MicrosoftGraphScopedRoleMembershipInner>listScopedRoleMembersAsync(String administrativeUnitId, Integer top, Integer skip, String search, String filter, Boolean count, List<DirectoryAdministrativeUnitsOrderby> orderby, List<DirectoryAdministrativeUnitsSelect> select, List<String> expand)Get scopedRoleMembers from directory.voidupdateExtensions(String administrativeUnitId, String extensionId, MicrosoftGraphExtensionInner body)Update the navigation property extensions in directory.Mono<Void>updateExtensionsAsync(String administrativeUnitId, String extensionId, MicrosoftGraphExtensionInner body)Update the navigation property extensions in directory.com.azure.core.http.rest.Response<Void>updateExtensionsWithResponse(String administrativeUnitId, String extensionId, MicrosoftGraphExtensionInner body, com.azure.core.util.Context context)Update the navigation property extensions in directory.Mono<com.azure.core.http.rest.Response<Void>>updateExtensionsWithResponseAsync(String administrativeUnitId, String extensionId, MicrosoftGraphExtensionInner body)Update the navigation property extensions in directory.voidupdateScopedRoleMembers(String administrativeUnitId, String scopedRoleMembershipId, MicrosoftGraphScopedRoleMembershipInner body)Update the navigation property scopedRoleMembers in directory.Mono<Void>updateScopedRoleMembersAsync(String administrativeUnitId, String scopedRoleMembershipId, MicrosoftGraphScopedRoleMembershipInner body)Update the navigation property scopedRoleMembers in directory.com.azure.core.http.rest.Response<Void>updateScopedRoleMembersWithResponse(String administrativeUnitId, String scopedRoleMembershipId, MicrosoftGraphScopedRoleMembershipInner body, com.azure.core.util.Context context)Update the navigation property scopedRoleMembers in directory.Mono<com.azure.core.http.rest.Response<Void>>updateScopedRoleMembersWithResponseAsync(String administrativeUnitId, String scopedRoleMembershipId, MicrosoftGraphScopedRoleMembershipInner body)Update the navigation property scopedRoleMembers in directory.
-
-
-
Method Detail
-
listExtensionsAsync
com.azure.core.http.rest.PagedFlux<MicrosoftGraphExtensionInner> listExtensionsAsync(String administrativeUnitId, Integer top, Integer skip, String search, String filter, Boolean count, List<DirectoryAdministrativeUnitsOrderby> orderby, List<String> select, List<String> expand)
Get extensions from directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.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:
- extensions from 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.
-
listExtensionsAsync
com.azure.core.http.rest.PagedFlux<MicrosoftGraphExtensionInner> listExtensionsAsync(String administrativeUnitId)
Get extensions from directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.- Returns:
- extensions from 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.
-
listExtensions
com.azure.core.http.rest.PagedIterable<MicrosoftGraphExtensionInner> listExtensions(String administrativeUnitId)
Get extensions from directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.- Returns:
- extensions from 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.
-
listExtensions
com.azure.core.http.rest.PagedIterable<MicrosoftGraphExtensionInner> listExtensions(String administrativeUnitId, Integer top, Integer skip, String search, String filter, Boolean count, List<DirectoryAdministrativeUnitsOrderby> orderby, List<String> select, List<String> expand, com.azure.core.util.Context context)
Get extensions from directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.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:
- extensions from 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.
-
createExtensionsWithResponseAsync
Mono<com.azure.core.http.rest.Response<MicrosoftGraphExtensionInner>> createExtensionsWithResponseAsync(String administrativeUnitId, MicrosoftGraphExtensionInner body)
Create new navigation property to extensions for directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.body- New navigation property.- Returns:
- extension.
- 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.
-
createExtensionsAsync
Mono<MicrosoftGraphExtensionInner> createExtensionsAsync(String administrativeUnitId, MicrosoftGraphExtensionInner body)
Create new navigation property to extensions for directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.body- New navigation property.- Returns:
- extension.
- 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.
-
createExtensions
MicrosoftGraphExtensionInner createExtensions(String administrativeUnitId, MicrosoftGraphExtensionInner body)
Create new navigation property to extensions for directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.body- New navigation property.- Returns:
- extension.
- 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.
-
createExtensionsWithResponse
com.azure.core.http.rest.Response<MicrosoftGraphExtensionInner> createExtensionsWithResponse(String administrativeUnitId, MicrosoftGraphExtensionInner body, com.azure.core.util.Context context)
Create new navigation property to extensions for directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.body- New navigation property.context- The context to associate with this operation.- Returns:
- extension.
- 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.
-
getExtensionsWithResponseAsync
Mono<com.azure.core.http.rest.Response<MicrosoftGraphExtensionInner>> getExtensionsWithResponseAsync(String administrativeUnitId, String extensionId, List<String> select, List<String> expand)
Get extensions from directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.extensionId- key: id of extension.select- Select properties to be returned.expand- Expand related entities.- Returns:
- extensions from 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.
-
getExtensionsAsync
Mono<MicrosoftGraphExtensionInner> getExtensionsAsync(String administrativeUnitId, String extensionId, List<String> select, List<String> expand)
Get extensions from directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.extensionId- key: id of extension.select- Select properties to be returned.expand- Expand related entities.- Returns:
- extensions from 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.
-
getExtensionsAsync
Mono<MicrosoftGraphExtensionInner> getExtensionsAsync(String administrativeUnitId, String extensionId)
Get extensions from directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.extensionId- key: id of extension.- Returns:
- extensions from 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.
-
getExtensions
MicrosoftGraphExtensionInner getExtensions(String administrativeUnitId, String extensionId)
Get extensions from directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.extensionId- key: id of extension.- Returns:
- extensions from 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.
-
getExtensionsWithResponse
com.azure.core.http.rest.Response<MicrosoftGraphExtensionInner> getExtensionsWithResponse(String administrativeUnitId, String extensionId, List<String> select, List<String> expand, com.azure.core.util.Context context)
Get extensions from directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.extensionId- key: id of extension.select- Select properties to be returned.expand- Expand related entities.context- The context to associate with this operation.- Returns:
- extensions from 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.
-
updateExtensionsWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> updateExtensionsWithResponseAsync(String administrativeUnitId, String extensionId, MicrosoftGraphExtensionInner body)
Update the navigation property extensions in directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.extensionId- key: id of extension.body- New navigation 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.
-
updateExtensionsAsync
Mono<Void> updateExtensionsAsync(String administrativeUnitId, String extensionId, MicrosoftGraphExtensionInner body)
Update the navigation property extensions in directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.extensionId- key: id of extension.body- New navigation 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.
-
updateExtensions
void updateExtensions(String administrativeUnitId, String extensionId, MicrosoftGraphExtensionInner body)
Update the navigation property extensions in directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.extensionId- key: id of extension.body- New navigation 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.
-
updateExtensionsWithResponse
com.azure.core.http.rest.Response<Void> updateExtensionsWithResponse(String administrativeUnitId, String extensionId, MicrosoftGraphExtensionInner body, com.azure.core.util.Context context)
Update the navigation property extensions in directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.extensionId- key: id of extension.body- New navigation 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.
-
deleteExtensionsWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> deleteExtensionsWithResponseAsync(String administrativeUnitId, String extensionId, String ifMatch)
Delete navigation property extensions for directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.extensionId- key: id of extension.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.
-
deleteExtensionsAsync
Mono<Void> deleteExtensionsAsync(String administrativeUnitId, String extensionId, String ifMatch)
Delete navigation property extensions for directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.extensionId- key: id of extension.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.
-
deleteExtensionsAsync
Mono<Void> deleteExtensionsAsync(String administrativeUnitId, String extensionId)
Delete navigation property extensions for directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.extensionId- key: id of extension.- 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.
-
deleteExtensions
void deleteExtensions(String administrativeUnitId, String extensionId)
Delete navigation property extensions for directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.extensionId- key: id of extension.- 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.
-
deleteExtensionsWithResponse
com.azure.core.http.rest.Response<Void> deleteExtensionsWithResponse(String administrativeUnitId, String extensionId, String ifMatch, com.azure.core.util.Context context)
Delete navigation property extensions for directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.extensionId- key: id of extension.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.
-
listMembersAsync
com.azure.core.http.rest.PagedFlux<MicrosoftGraphDirectoryObjectInner> listMembersAsync(String administrativeUnitId, Integer top, Integer skip, String search, String filter, Boolean count, List<DirectoryAdministrativeUnitsOrderby> orderby, List<DirectoryAdministrativeUnitsSelect> select, List<String> expand)
Get members from directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.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:
- members from 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.
-
listMembersAsync
com.azure.core.http.rest.PagedFlux<MicrosoftGraphDirectoryObjectInner> listMembersAsync(String administrativeUnitId)
Get members from directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.- Returns:
- members from 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.
-
listMembers
com.azure.core.http.rest.PagedIterable<MicrosoftGraphDirectoryObjectInner> listMembers(String administrativeUnitId)
Get members from directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.- Returns:
- members from 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.
-
listMembers
com.azure.core.http.rest.PagedIterable<MicrosoftGraphDirectoryObjectInner> listMembers(String administrativeUnitId, Integer top, Integer skip, String search, String filter, Boolean count, List<DirectoryAdministrativeUnitsOrderby> orderby, List<DirectoryAdministrativeUnitsSelect> select, List<String> expand, com.azure.core.util.Context context)
Get members from directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.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:
- members from 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.
-
listRefMembersAsync
com.azure.core.http.rest.PagedFlux<String> listRefMembersAsync(String administrativeUnitId, Integer top, Integer skip, String search, String filter, Boolean count, List<DirectoryAdministrativeUnitsOrderby> orderby)
Get ref of members from directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.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.- Returns:
- ref of members from 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.
-
listRefMembersAsync
com.azure.core.http.rest.PagedFlux<String> listRefMembersAsync(String administrativeUnitId)
Get ref of members from directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.- Returns:
- ref of members from 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.
-
listRefMembers
com.azure.core.http.rest.PagedIterable<String> listRefMembers(String administrativeUnitId)
Get ref of members from directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.- Returns:
- ref of members from 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.
-
listRefMembers
com.azure.core.http.rest.PagedIterable<String> listRefMembers(String administrativeUnitId, Integer top, Integer skip, String search, String filter, Boolean count, List<DirectoryAdministrativeUnitsOrderby> orderby, com.azure.core.util.Context context)
Get ref of members from directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.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.context- The context to associate with this operation.- Returns:
- ref of members from 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.
-
createRefMembersWithResponseAsync
Mono<com.azure.core.http.rest.Response<Map<String,Object>>> createRefMembersWithResponseAsync(String administrativeUnitId, Map<String,Object> body)
Create new navigation property ref to members for directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.body- New navigation property ref value.- Returns:
- dictionary of <any>.
- 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.
-
createRefMembersAsync
Mono<Map<String,Object>> createRefMembersAsync(String administrativeUnitId, Map<String,Object> body)
Create new navigation property ref to members for directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.body- New navigation property ref value.- Returns:
- dictionary of <any>.
- 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.
-
createRefMembers
Map<String,Object> createRefMembers(String administrativeUnitId, Map<String,Object> body)
Create new navigation property ref to members for directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.body- New navigation property ref value.- Returns:
- dictionary of <any>.
- 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.
-
createRefMembersWithResponse
com.azure.core.http.rest.Response<Map<String,Object>> createRefMembersWithResponse(String administrativeUnitId, Map<String,Object> body, com.azure.core.util.Context context)
Create new navigation property ref to members for directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.body- New navigation property ref value.context- The context to associate with this operation.- Returns:
- dictionary of <any>.
- 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.
-
listScopedRoleMembersAsync
com.azure.core.http.rest.PagedFlux<MicrosoftGraphScopedRoleMembershipInner> listScopedRoleMembersAsync(String administrativeUnitId, Integer top, Integer skip, String search, String filter, Boolean count, List<DirectoryAdministrativeUnitsOrderby> orderby, List<DirectoryAdministrativeUnitsSelect> select, List<String> expand)
Get scopedRoleMembers from directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.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:
- scopedRoleMembers from 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.
-
listScopedRoleMembersAsync
com.azure.core.http.rest.PagedFlux<MicrosoftGraphScopedRoleMembershipInner> listScopedRoleMembersAsync(String administrativeUnitId)
Get scopedRoleMembers from directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.- Returns:
- scopedRoleMembers from 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.
-
listScopedRoleMembers
com.azure.core.http.rest.PagedIterable<MicrosoftGraphScopedRoleMembershipInner> listScopedRoleMembers(String administrativeUnitId)
Get scopedRoleMembers from directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.- Returns:
- scopedRoleMembers from 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.
-
listScopedRoleMembers
com.azure.core.http.rest.PagedIterable<MicrosoftGraphScopedRoleMembershipInner> listScopedRoleMembers(String administrativeUnitId, Integer top, Integer skip, String search, String filter, Boolean count, List<DirectoryAdministrativeUnitsOrderby> orderby, List<DirectoryAdministrativeUnitsSelect> select, List<String> expand, com.azure.core.util.Context context)
Get scopedRoleMembers from directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.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:
- scopedRoleMembers from 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.
-
createScopedRoleMembersWithResponseAsync
Mono<com.azure.core.http.rest.Response<MicrosoftGraphScopedRoleMembershipInner>> createScopedRoleMembersWithResponseAsync(String administrativeUnitId, MicrosoftGraphScopedRoleMembershipInner body)
Create new navigation property to scopedRoleMembers for directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.body- New navigation property.- Returns:
- scopedRoleMembership.
- 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.
-
createScopedRoleMembersAsync
Mono<MicrosoftGraphScopedRoleMembershipInner> createScopedRoleMembersAsync(String administrativeUnitId, MicrosoftGraphScopedRoleMembershipInner body)
Create new navigation property to scopedRoleMembers for directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.body- New navigation property.- Returns:
- scopedRoleMembership.
- 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.
-
createScopedRoleMembers
MicrosoftGraphScopedRoleMembershipInner createScopedRoleMembers(String administrativeUnitId, MicrosoftGraphScopedRoleMembershipInner body)
Create new navigation property to scopedRoleMembers for directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.body- New navigation property.- Returns:
- scopedRoleMembership.
- 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.
-
createScopedRoleMembersWithResponse
com.azure.core.http.rest.Response<MicrosoftGraphScopedRoleMembershipInner> createScopedRoleMembersWithResponse(String administrativeUnitId, MicrosoftGraphScopedRoleMembershipInner body, com.azure.core.util.Context context)
Create new navigation property to scopedRoleMembers for directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.body- New navigation property.context- The context to associate with this operation.- Returns:
- scopedRoleMembership.
- 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.
-
getScopedRoleMembersWithResponseAsync
Mono<com.azure.core.http.rest.Response<MicrosoftGraphScopedRoleMembershipInner>> getScopedRoleMembersWithResponseAsync(String administrativeUnitId, String scopedRoleMembershipId, List<DirectoryAdministrativeUnitsSelect> select, List<String> expand)
Get scopedRoleMembers from directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.scopedRoleMembershipId- key: id of scopedRoleMembership.select- Select properties to be returned.expand- Expand related entities.- Returns:
- scopedRoleMembers from 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.
-
getScopedRoleMembersAsync
Mono<MicrosoftGraphScopedRoleMembershipInner> getScopedRoleMembersAsync(String administrativeUnitId, String scopedRoleMembershipId, List<DirectoryAdministrativeUnitsSelect> select, List<String> expand)
Get scopedRoleMembers from directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.scopedRoleMembershipId- key: id of scopedRoleMembership.select- Select properties to be returned.expand- Expand related entities.- Returns:
- scopedRoleMembers from 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.
-
getScopedRoleMembersAsync
Mono<MicrosoftGraphScopedRoleMembershipInner> getScopedRoleMembersAsync(String administrativeUnitId, String scopedRoleMembershipId)
Get scopedRoleMembers from directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.scopedRoleMembershipId- key: id of scopedRoleMembership.- Returns:
- scopedRoleMembers from 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.
-
getScopedRoleMembers
MicrosoftGraphScopedRoleMembershipInner getScopedRoleMembers(String administrativeUnitId, String scopedRoleMembershipId)
Get scopedRoleMembers from directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.scopedRoleMembershipId- key: id of scopedRoleMembership.- Returns:
- scopedRoleMembers from 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.
-
getScopedRoleMembersWithResponse
com.azure.core.http.rest.Response<MicrosoftGraphScopedRoleMembershipInner> getScopedRoleMembersWithResponse(String administrativeUnitId, String scopedRoleMembershipId, List<DirectoryAdministrativeUnitsSelect> select, List<String> expand, com.azure.core.util.Context context)
Get scopedRoleMembers from directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.scopedRoleMembershipId- key: id of scopedRoleMembership.select- Select properties to be returned.expand- Expand related entities.context- The context to associate with this operation.- Returns:
- scopedRoleMembers from 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.
-
updateScopedRoleMembersWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> updateScopedRoleMembersWithResponseAsync(String administrativeUnitId, String scopedRoleMembershipId, MicrosoftGraphScopedRoleMembershipInner body)
Update the navigation property scopedRoleMembers in directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.scopedRoleMembershipId- key: id of scopedRoleMembership.body- New navigation 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.
-
updateScopedRoleMembersAsync
Mono<Void> updateScopedRoleMembersAsync(String administrativeUnitId, String scopedRoleMembershipId, MicrosoftGraphScopedRoleMembershipInner body)
Update the navigation property scopedRoleMembers in directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.scopedRoleMembershipId- key: id of scopedRoleMembership.body- New navigation 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.
-
updateScopedRoleMembers
void updateScopedRoleMembers(String administrativeUnitId, String scopedRoleMembershipId, MicrosoftGraphScopedRoleMembershipInner body)
Update the navigation property scopedRoleMembers in directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.scopedRoleMembershipId- key: id of scopedRoleMembership.body- New navigation 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.
-
updateScopedRoleMembersWithResponse
com.azure.core.http.rest.Response<Void> updateScopedRoleMembersWithResponse(String administrativeUnitId, String scopedRoleMembershipId, MicrosoftGraphScopedRoleMembershipInner body, com.azure.core.util.Context context)
Update the navigation property scopedRoleMembers in directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.scopedRoleMembershipId- key: id of scopedRoleMembership.body- New navigation 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.
-
deleteScopedRoleMembersWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> deleteScopedRoleMembersWithResponseAsync(String administrativeUnitId, String scopedRoleMembershipId, String ifMatch)
Delete navigation property scopedRoleMembers for directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.scopedRoleMembershipId- key: id of scopedRoleMembership.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.
-
deleteScopedRoleMembersAsync
Mono<Void> deleteScopedRoleMembersAsync(String administrativeUnitId, String scopedRoleMembershipId, String ifMatch)
Delete navigation property scopedRoleMembers for directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.scopedRoleMembershipId- key: id of scopedRoleMembership.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.
-
deleteScopedRoleMembersAsync
Mono<Void> deleteScopedRoleMembersAsync(String administrativeUnitId, String scopedRoleMembershipId)
Delete navigation property scopedRoleMembers for directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.scopedRoleMembershipId- key: id of scopedRoleMembership.- 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.
-
deleteScopedRoleMembers
void deleteScopedRoleMembers(String administrativeUnitId, String scopedRoleMembershipId)
Delete navigation property scopedRoleMembers for directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.scopedRoleMembershipId- key: id of scopedRoleMembership.- 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.
-
deleteScopedRoleMembersWithResponse
com.azure.core.http.rest.Response<Void> deleteScopedRoleMembersWithResponse(String administrativeUnitId, String scopedRoleMembershipId, String ifMatch, com.azure.core.util.Context context)
Delete navigation property scopedRoleMembers for directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.scopedRoleMembershipId- key: id of scopedRoleMembership.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.
-
deltaWithResponseAsync
Mono<com.azure.core.http.rest.Response<List<MicrosoftGraphAdministrativeUnitInner>>> deltaWithResponseAsync()
Invoke function delta.- Returns:
- array of microsoft.
- Throws:
OdataErrorMainException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deltaAsync
Mono<List<MicrosoftGraphAdministrativeUnitInner>> deltaAsync()
Invoke function delta.- Returns:
- array of microsoft.
- Throws:
OdataErrorMainException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delta
List<MicrosoftGraphAdministrativeUnitInner> delta()
Invoke function delta.- Returns:
- array of microsoft.
- Throws:
OdataErrorMainException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deltaWithResponse
com.azure.core.http.rest.Response<List<MicrosoftGraphAdministrativeUnitInner>> deltaWithResponse(com.azure.core.util.Context context)
Invoke function delta.- Parameters:
context- The context to associate with this operation.- Returns:
- array of microsoft.
- 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.
-
-