Interface DirectoriesClient
-
public interface DirectoriesClientAn instance of this class provides access to all the operations defined in DirectoriesClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MicrosoftGraphAdministrativeUnitInnercreateAdministrativeUnits(MicrosoftGraphAdministrativeUnitInner body)Create new navigation property to administrativeUnits for directory.Mono<MicrosoftGraphAdministrativeUnitInner>createAdministrativeUnitsAsync(MicrosoftGraphAdministrativeUnitInner body)Create new navigation property to administrativeUnits for directory.com.azure.core.http.rest.Response<MicrosoftGraphAdministrativeUnitInner>createAdministrativeUnitsWithResponse(MicrosoftGraphAdministrativeUnitInner body, com.azure.core.util.Context context)Create new navigation property to administrativeUnits for directory.Mono<com.azure.core.http.rest.Response<MicrosoftGraphAdministrativeUnitInner>>createAdministrativeUnitsWithResponseAsync(MicrosoftGraphAdministrativeUnitInner body)Create new navigation property to administrativeUnits for directory.MicrosoftGraphDirectoryObjectInnercreateDeletedItems(MicrosoftGraphDirectoryObjectInner body)Create new navigation property to deletedItems for directory.Mono<MicrosoftGraphDirectoryObjectInner>createDeletedItemsAsync(MicrosoftGraphDirectoryObjectInner body)Create new navigation property to deletedItems for directory.com.azure.core.http.rest.Response<MicrosoftGraphDirectoryObjectInner>createDeletedItemsWithResponse(MicrosoftGraphDirectoryObjectInner body, com.azure.core.util.Context context)Create new navigation property to deletedItems for directory.Mono<com.azure.core.http.rest.Response<MicrosoftGraphDirectoryObjectInner>>createDeletedItemsWithResponseAsync(MicrosoftGraphDirectoryObjectInner body)Create new navigation property to deletedItems for directory.voiddeleteAdministrativeUnits(String administrativeUnitId)Delete navigation property administrativeUnits for directory.Mono<Void>deleteAdministrativeUnitsAsync(String administrativeUnitId)Delete navigation property administrativeUnits for directory.Mono<Void>deleteAdministrativeUnitsAsync(String administrativeUnitId, String ifMatch)Delete navigation property administrativeUnits for directory.com.azure.core.http.rest.Response<Void>deleteAdministrativeUnitsWithResponse(String administrativeUnitId, String ifMatch, com.azure.core.util.Context context)Delete navigation property administrativeUnits for directory.Mono<com.azure.core.http.rest.Response<Void>>deleteAdministrativeUnitsWithResponseAsync(String administrativeUnitId, String ifMatch)Delete navigation property administrativeUnits for directory.voiddeleteDeletedItems(String directoryObjectId)Delete navigation property deletedItems for directory.Mono<Void>deleteDeletedItemsAsync(String directoryObjectId)Delete navigation property deletedItems for directory.Mono<Void>deleteDeletedItemsAsync(String directoryObjectId, String ifMatch)Delete navigation property deletedItems for directory.com.azure.core.http.rest.Response<Void>deleteDeletedItemsWithResponse(String directoryObjectId, String ifMatch, com.azure.core.util.Context context)Delete navigation property deletedItems for directory.Mono<com.azure.core.http.rest.Response<Void>>deleteDeletedItemsWithResponseAsync(String directoryObjectId, String ifMatch)Delete navigation property deletedItems for directory.MicrosoftGraphAdministrativeUnitInnergetAdministrativeUnits(String administrativeUnitId)Get administrativeUnits from directory.Mono<MicrosoftGraphAdministrativeUnitInner>getAdministrativeUnitsAsync(String administrativeUnitId)Get administrativeUnits from directory.Mono<MicrosoftGraphAdministrativeUnitInner>getAdministrativeUnitsAsync(String administrativeUnitId, List<DirectorySelect> select, List<DirectoryExpand> expand)Get administrativeUnits from directory.com.azure.core.http.rest.Response<MicrosoftGraphAdministrativeUnitInner>getAdministrativeUnitsWithResponse(String administrativeUnitId, List<DirectorySelect> select, List<DirectoryExpand> expand, com.azure.core.util.Context context)Get administrativeUnits from directory.Mono<com.azure.core.http.rest.Response<MicrosoftGraphAdministrativeUnitInner>>getAdministrativeUnitsWithResponseAsync(String administrativeUnitId, List<DirectorySelect> select, List<DirectoryExpand> expand)Get administrativeUnits from directory.MicrosoftGraphDirectoryObjectInnergetDeletedItems(String directoryObjectId)Get deletedItems from directory.Mono<MicrosoftGraphDirectoryObjectInner>getDeletedItemsAsync(String directoryObjectId)Get deletedItems from directory.Mono<MicrosoftGraphDirectoryObjectInner>getDeletedItemsAsync(String directoryObjectId, List<DirectorySelect> select, List<String> expand)Get deletedItems from directory.com.azure.core.http.rest.Response<MicrosoftGraphDirectoryObjectInner>getDeletedItemsWithResponse(String directoryObjectId, List<DirectorySelect> select, List<String> expand, com.azure.core.util.Context context)Get deletedItems from directory.Mono<com.azure.core.http.rest.Response<MicrosoftGraphDirectoryObjectInner>>getDeletedItemsWithResponseAsync(String directoryObjectId, List<DirectorySelect> select, List<String> expand)Get deletedItems from directory.com.azure.core.http.rest.PagedIterable<MicrosoftGraphAdministrativeUnitInner>listAdministrativeUnits()Get administrativeUnits from directory.com.azure.core.http.rest.PagedIterable<MicrosoftGraphAdministrativeUnitInner>listAdministrativeUnits(Integer top, Integer skip, String search, String filter, Boolean count, List<DirectoryOrderby> orderby, List<DirectorySelect> select, List<DirectoryExpand> expand, com.azure.core.util.Context context)Get administrativeUnits from directory.com.azure.core.http.rest.PagedFlux<MicrosoftGraphAdministrativeUnitInner>listAdministrativeUnitsAsync()Get administrativeUnits from directory.com.azure.core.http.rest.PagedFlux<MicrosoftGraphAdministrativeUnitInner>listAdministrativeUnitsAsync(Integer top, Integer skip, String search, String filter, Boolean count, List<DirectoryOrderby> orderby, List<DirectorySelect> select, List<DirectoryExpand> expand)Get administrativeUnits from directory.com.azure.core.http.rest.PagedIterable<MicrosoftGraphDirectoryObjectInner>listDeletedItems()Get deletedItems from directory.com.azure.core.http.rest.PagedIterable<MicrosoftGraphDirectoryObjectInner>listDeletedItems(Integer top, Integer skip, String search, String filter, Boolean count, List<DirectoryOrderby> orderby, List<DirectorySelect> select, List<String> expand, com.azure.core.util.Context context)Get deletedItems from directory.com.azure.core.http.rest.PagedFlux<MicrosoftGraphDirectoryObjectInner>listDeletedItemsAsync()Get deletedItems from directory.com.azure.core.http.rest.PagedFlux<MicrosoftGraphDirectoryObjectInner>listDeletedItemsAsync(Integer top, Integer skip, String search, String filter, Boolean count, List<DirectoryOrderby> orderby, List<DirectorySelect> select, List<String> expand)Get deletedItems from directory.voidupdateAdministrativeUnits(String administrativeUnitId, MicrosoftGraphAdministrativeUnitInner body)Update the navigation property administrativeUnits in directory.Mono<Void>updateAdministrativeUnitsAsync(String administrativeUnitId, MicrosoftGraphAdministrativeUnitInner body)Update the navigation property administrativeUnits in directory.com.azure.core.http.rest.Response<Void>updateAdministrativeUnitsWithResponse(String administrativeUnitId, MicrosoftGraphAdministrativeUnitInner body, com.azure.core.util.Context context)Update the navigation property administrativeUnits in directory.Mono<com.azure.core.http.rest.Response<Void>>updateAdministrativeUnitsWithResponseAsync(String administrativeUnitId, MicrosoftGraphAdministrativeUnitInner body)Update the navigation property administrativeUnits in directory.voidupdateDeletedItems(String directoryObjectId, MicrosoftGraphDirectoryObjectInner body)Update the navigation property deletedItems in directory.Mono<Void>updateDeletedItemsAsync(String directoryObjectId, MicrosoftGraphDirectoryObjectInner body)Update the navigation property deletedItems in directory.com.azure.core.http.rest.Response<Void>updateDeletedItemsWithResponse(String directoryObjectId, MicrosoftGraphDirectoryObjectInner body, com.azure.core.util.Context context)Update the navigation property deletedItems in directory.Mono<com.azure.core.http.rest.Response<Void>>updateDeletedItemsWithResponseAsync(String directoryObjectId, MicrosoftGraphDirectoryObjectInner body)Update the navigation property deletedItems in directory.
-
-
-
Method Detail
-
listAdministrativeUnitsAsync
com.azure.core.http.rest.PagedFlux<MicrosoftGraphAdministrativeUnitInner> listAdministrativeUnitsAsync(Integer top, Integer skip, String search, String filter, Boolean count, List<DirectoryOrderby> orderby, List<DirectorySelect> select, List<DirectoryExpand> expand)
Get administrativeUnits from directory.- 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:
- administrativeUnits 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.
-
listAdministrativeUnitsAsync
com.azure.core.http.rest.PagedFlux<MicrosoftGraphAdministrativeUnitInner> listAdministrativeUnitsAsync()
Get administrativeUnits from directory.- Returns:
- administrativeUnits from directory.
- Throws:
OdataErrorMainException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listAdministrativeUnits
com.azure.core.http.rest.PagedIterable<MicrosoftGraphAdministrativeUnitInner> listAdministrativeUnits()
Get administrativeUnits from directory.- Returns:
- administrativeUnits from directory.
- Throws:
OdataErrorMainException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listAdministrativeUnits
com.azure.core.http.rest.PagedIterable<MicrosoftGraphAdministrativeUnitInner> listAdministrativeUnits(Integer top, Integer skip, String search, String filter, Boolean count, List<DirectoryOrderby> orderby, List<DirectorySelect> select, List<DirectoryExpand> expand, com.azure.core.util.Context context)
Get administrativeUnits from directory.- 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:
- administrativeUnits 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.
-
createAdministrativeUnitsWithResponseAsync
Mono<com.azure.core.http.rest.Response<MicrosoftGraphAdministrativeUnitInner>> createAdministrativeUnitsWithResponseAsync(MicrosoftGraphAdministrativeUnitInner body)
Create new navigation property to administrativeUnits for directory.- Parameters:
body- New navigation property.- 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.
-
createAdministrativeUnitsAsync
Mono<MicrosoftGraphAdministrativeUnitInner> createAdministrativeUnitsAsync(MicrosoftGraphAdministrativeUnitInner body)
Create new navigation property to administrativeUnits for directory.- Parameters:
body- New navigation property.- 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.
-
createAdministrativeUnits
MicrosoftGraphAdministrativeUnitInner createAdministrativeUnits(MicrosoftGraphAdministrativeUnitInner body)
Create new navigation property to administrativeUnits for directory.- Parameters:
body- New navigation property.- 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.
-
createAdministrativeUnitsWithResponse
com.azure.core.http.rest.Response<MicrosoftGraphAdministrativeUnitInner> createAdministrativeUnitsWithResponse(MicrosoftGraphAdministrativeUnitInner body, com.azure.core.util.Context context)
Create new navigation property to administrativeUnits for directory.- Parameters:
body- New navigation property.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.
-
getAdministrativeUnitsWithResponseAsync
Mono<com.azure.core.http.rest.Response<MicrosoftGraphAdministrativeUnitInner>> getAdministrativeUnitsWithResponseAsync(String administrativeUnitId, List<DirectorySelect> select, List<DirectoryExpand> expand)
Get administrativeUnits from directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.select- Select properties to be returned.expand- Expand related entities.- Returns:
- administrativeUnits 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.
-
getAdministrativeUnitsAsync
Mono<MicrosoftGraphAdministrativeUnitInner> getAdministrativeUnitsAsync(String administrativeUnitId, List<DirectorySelect> select, List<DirectoryExpand> expand)
Get administrativeUnits from directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.select- Select properties to be returned.expand- Expand related entities.- Returns:
- administrativeUnits 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.
-
getAdministrativeUnitsAsync
Mono<MicrosoftGraphAdministrativeUnitInner> getAdministrativeUnitsAsync(String administrativeUnitId)
Get administrativeUnits from directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.- Returns:
- administrativeUnits 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.
-
getAdministrativeUnits
MicrosoftGraphAdministrativeUnitInner getAdministrativeUnits(String administrativeUnitId)
Get administrativeUnits from directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.- Returns:
- administrativeUnits 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.
-
getAdministrativeUnitsWithResponse
com.azure.core.http.rest.Response<MicrosoftGraphAdministrativeUnitInner> getAdministrativeUnitsWithResponse(String administrativeUnitId, List<DirectorySelect> select, List<DirectoryExpand> expand, com.azure.core.util.Context context)
Get administrativeUnits from directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.select- Select properties to be returned.expand- Expand related entities.context- The context to associate with this operation.- Returns:
- administrativeUnits 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.
-
updateAdministrativeUnitsWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> updateAdministrativeUnitsWithResponseAsync(String administrativeUnitId, MicrosoftGraphAdministrativeUnitInner body)
Update the navigation property administrativeUnits in directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.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.
-
updateAdministrativeUnitsAsync
Mono<Void> updateAdministrativeUnitsAsync(String administrativeUnitId, MicrosoftGraphAdministrativeUnitInner body)
Update the navigation property administrativeUnits in directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.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.
-
updateAdministrativeUnits
void updateAdministrativeUnits(String administrativeUnitId, MicrosoftGraphAdministrativeUnitInner body)
Update the navigation property administrativeUnits in directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.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.
-
updateAdministrativeUnitsWithResponse
com.azure.core.http.rest.Response<Void> updateAdministrativeUnitsWithResponse(String administrativeUnitId, MicrosoftGraphAdministrativeUnitInner body, com.azure.core.util.Context context)
Update the navigation property administrativeUnits in directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.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.
-
deleteAdministrativeUnitsWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> deleteAdministrativeUnitsWithResponseAsync(String administrativeUnitId, String ifMatch)
Delete navigation property administrativeUnits for directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.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.
-
deleteAdministrativeUnitsAsync
Mono<Void> deleteAdministrativeUnitsAsync(String administrativeUnitId, String ifMatch)
Delete navigation property administrativeUnits for directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.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.
-
deleteAdministrativeUnitsAsync
Mono<Void> deleteAdministrativeUnitsAsync(String administrativeUnitId)
Delete navigation property administrativeUnits for directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.- 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.
-
deleteAdministrativeUnits
void deleteAdministrativeUnits(String administrativeUnitId)
Delete navigation property administrativeUnits for directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.- 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.
-
deleteAdministrativeUnitsWithResponse
com.azure.core.http.rest.Response<Void> deleteAdministrativeUnitsWithResponse(String administrativeUnitId, String ifMatch, com.azure.core.util.Context context)
Delete navigation property administrativeUnits for directory.- Parameters:
administrativeUnitId- key: id of administrativeUnit.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.
-
listDeletedItemsAsync
com.azure.core.http.rest.PagedFlux<MicrosoftGraphDirectoryObjectInner> listDeletedItemsAsync(Integer top, Integer skip, String search, String filter, Boolean count, List<DirectoryOrderby> orderby, List<DirectorySelect> select, List<String> expand)
Get deletedItems from directory.- 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:
- deletedItems 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.
-
listDeletedItemsAsync
com.azure.core.http.rest.PagedFlux<MicrosoftGraphDirectoryObjectInner> listDeletedItemsAsync()
Get deletedItems from directory.- Returns:
- deletedItems from directory.
- Throws:
OdataErrorMainException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listDeletedItems
com.azure.core.http.rest.PagedIterable<MicrosoftGraphDirectoryObjectInner> listDeletedItems()
Get deletedItems from directory.- Returns:
- deletedItems from directory.
- Throws:
OdataErrorMainException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listDeletedItems
com.azure.core.http.rest.PagedIterable<MicrosoftGraphDirectoryObjectInner> listDeletedItems(Integer top, Integer skip, String search, String filter, Boolean count, List<DirectoryOrderby> orderby, List<DirectorySelect> select, List<String> expand, com.azure.core.util.Context context)
Get deletedItems from directory.- 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:
- deletedItems 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.
-
createDeletedItemsWithResponseAsync
Mono<com.azure.core.http.rest.Response<MicrosoftGraphDirectoryObjectInner>> createDeletedItemsWithResponseAsync(MicrosoftGraphDirectoryObjectInner body)
Create new navigation property to deletedItems for directory.- Parameters:
body- New navigation property.- 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.
-
createDeletedItemsAsync
Mono<MicrosoftGraphDirectoryObjectInner> createDeletedItemsAsync(MicrosoftGraphDirectoryObjectInner body)
Create new navigation property to deletedItems for directory.- Parameters:
body- New navigation property.- 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.
-
createDeletedItems
MicrosoftGraphDirectoryObjectInner createDeletedItems(MicrosoftGraphDirectoryObjectInner body)
Create new navigation property to deletedItems for directory.- Parameters:
body- New navigation property.- 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.
-
createDeletedItemsWithResponse
com.azure.core.http.rest.Response<MicrosoftGraphDirectoryObjectInner> createDeletedItemsWithResponse(MicrosoftGraphDirectoryObjectInner body, com.azure.core.util.Context context)
Create new navigation property to deletedItems for directory.- Parameters:
body- New navigation property.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.
-
getDeletedItemsWithResponseAsync
Mono<com.azure.core.http.rest.Response<MicrosoftGraphDirectoryObjectInner>> getDeletedItemsWithResponseAsync(String directoryObjectId, List<DirectorySelect> select, List<String> expand)
Get deletedItems from directory.- Parameters:
directoryObjectId- key: id of directoryObject.select- Select properties to be returned.expand- Expand related entities.- Returns:
- deletedItems 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.
-
getDeletedItemsAsync
Mono<MicrosoftGraphDirectoryObjectInner> getDeletedItemsAsync(String directoryObjectId, List<DirectorySelect> select, List<String> expand)
Get deletedItems from directory.- Parameters:
directoryObjectId- key: id of directoryObject.select- Select properties to be returned.expand- Expand related entities.- Returns:
- deletedItems 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.
-
getDeletedItemsAsync
Mono<MicrosoftGraphDirectoryObjectInner> getDeletedItemsAsync(String directoryObjectId)
Get deletedItems from directory.- Parameters:
directoryObjectId- key: id of directoryObject.- Returns:
- deletedItems 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.
-
getDeletedItems
MicrosoftGraphDirectoryObjectInner getDeletedItems(String directoryObjectId)
Get deletedItems from directory.- Parameters:
directoryObjectId- key: id of directoryObject.- Returns:
- deletedItems 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.
-
getDeletedItemsWithResponse
com.azure.core.http.rest.Response<MicrosoftGraphDirectoryObjectInner> getDeletedItemsWithResponse(String directoryObjectId, List<DirectorySelect> select, List<String> expand, com.azure.core.util.Context context)
Get deletedItems from directory.- Parameters:
directoryObjectId- key: id of directoryObject.select- Select properties to be returned.expand- Expand related entities.context- The context to associate with this operation.- Returns:
- deletedItems 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.
-
updateDeletedItemsWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> updateDeletedItemsWithResponseAsync(String directoryObjectId, MicrosoftGraphDirectoryObjectInner body)
Update the navigation property deletedItems in directory.- Parameters:
directoryObjectId- key: id of directoryObject.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.
-
updateDeletedItemsAsync
Mono<Void> updateDeletedItemsAsync(String directoryObjectId, MicrosoftGraphDirectoryObjectInner body)
Update the navigation property deletedItems in directory.- Parameters:
directoryObjectId- key: id of directoryObject.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.
-
updateDeletedItems
void updateDeletedItems(String directoryObjectId, MicrosoftGraphDirectoryObjectInner body)
Update the navigation property deletedItems in directory.- Parameters:
directoryObjectId- key: id of directoryObject.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.
-
updateDeletedItemsWithResponse
com.azure.core.http.rest.Response<Void> updateDeletedItemsWithResponse(String directoryObjectId, MicrosoftGraphDirectoryObjectInner body, com.azure.core.util.Context context)
Update the navigation property deletedItems in directory.- Parameters:
directoryObjectId- key: id of directoryObject.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.
-
deleteDeletedItemsWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> deleteDeletedItemsWithResponseAsync(String directoryObjectId, String ifMatch)
Delete navigation property deletedItems for directory.- Parameters:
directoryObjectId- key: id of directoryObject.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.
-
deleteDeletedItemsAsync
Mono<Void> deleteDeletedItemsAsync(String directoryObjectId, String ifMatch)
Delete navigation property deletedItems for directory.- Parameters:
directoryObjectId- key: id of directoryObject.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.
-
deleteDeletedItemsAsync
Mono<Void> deleteDeletedItemsAsync(String directoryObjectId)
Delete navigation property deletedItems for directory.- Parameters:
directoryObjectId- key: id of directoryObject.- 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.
-
deleteDeletedItems
void deleteDeletedItems(String directoryObjectId)
Delete navigation property deletedItems for directory.- Parameters:
directoryObjectId- key: id of directoryObject.- 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.
-
deleteDeletedItemsWithResponse
com.azure.core.http.rest.Response<Void> deleteDeletedItemsWithResponse(String directoryObjectId, String ifMatch, com.azure.core.util.Context context)
Delete navigation property deletedItems for directory.- Parameters:
directoryObjectId- key: id of directoryObject.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.
-
-