Interface UsersClient


  • public interface UsersClient
    An instance of this class provides access to all the operations defined in UsersClient.
    • Method Detail

      • listAppRoleAssignmentsAsync

        com.azure.core.http.rest.PagedFlux<MicrosoftGraphAppRoleAssignmentInner> listAppRoleAssignmentsAsync​(String userId,
                                                                                                             Integer top,
                                                                                                             Integer skip,
                                                                                                             String search,
                                                                                                             String filter,
                                                                                                             Boolean count,
                                                                                                             List<UsersOrderby> orderby,
                                                                                                             List<UsersSelect> select,
                                                                                                             List<String> expand)
        Get appRoleAssignments from users.
        Parameters:
        userId - key: id of user.
        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:
        appRoleAssignments from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listAppRoleAssignments

        com.azure.core.http.rest.PagedIterable<MicrosoftGraphAppRoleAssignmentInner> listAppRoleAssignments​(String userId,
                                                                                                            Integer top,
                                                                                                            Integer skip,
                                                                                                            String search,
                                                                                                            String filter,
                                                                                                            Boolean count,
                                                                                                            List<UsersOrderby> orderby,
                                                                                                            List<UsersSelect> select,
                                                                                                            List<String> expand,
                                                                                                            com.azure.core.util.Context context)
        Get appRoleAssignments from users.
        Parameters:
        userId - key: id of user.
        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:
        appRoleAssignments from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createAppRoleAssignmentsWithResponse

        com.azure.core.http.rest.Response<MicrosoftGraphAppRoleAssignmentInner> createAppRoleAssignmentsWithResponse​(String userId,
                                                                                                                     MicrosoftGraphAppRoleAssignmentInner body,
                                                                                                                     com.azure.core.util.Context context)
        Create new navigation property to appRoleAssignments for users.
        Parameters:
        userId - key: id of user.
        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.
      • getAppRoleAssignmentsWithResponseAsync

        Mono<com.azure.core.http.rest.Response<MicrosoftGraphAppRoleAssignmentInner>> getAppRoleAssignmentsWithResponseAsync​(String userId,
                                                                                                                             String appRoleAssignmentId,
                                                                                                                             List<UsersSelect> select,
                                                                                                                             List<String> expand)
        Get appRoleAssignments from users.
        Parameters:
        userId - key: id of user.
        appRoleAssignmentId - key: id of appRoleAssignment.
        select - Select properties to be returned.
        expand - Expand related entities.
        Returns:
        appRoleAssignments from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getAppRoleAssignmentsWithResponse

        com.azure.core.http.rest.Response<MicrosoftGraphAppRoleAssignmentInner> getAppRoleAssignmentsWithResponse​(String userId,
                                                                                                                  String appRoleAssignmentId,
                                                                                                                  List<UsersSelect> select,
                                                                                                                  List<String> expand,
                                                                                                                  com.azure.core.util.Context context)
        Get appRoleAssignments from users.
        Parameters:
        userId - key: id of user.
        appRoleAssignmentId - key: id of appRoleAssignment.
        select - Select properties to be returned.
        expand - Expand related entities.
        context - The context to associate with this operation.
        Returns:
        appRoleAssignments from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateAppRoleAssignmentsWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> updateAppRoleAssignmentsWithResponseAsync​(String userId,
                                                                                                String appRoleAssignmentId,
                                                                                                MicrosoftGraphAppRoleAssignmentInner body)
        Update the navigation property appRoleAssignments in users.
        Parameters:
        userId - key: id of user.
        appRoleAssignmentId - key: id of appRoleAssignment.
        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.
      • updateAppRoleAssignmentsAsync

        Mono<Void> updateAppRoleAssignmentsAsync​(String userId,
                                                 String appRoleAssignmentId,
                                                 MicrosoftGraphAppRoleAssignmentInner body)
        Update the navigation property appRoleAssignments in users.
        Parameters:
        userId - key: id of user.
        appRoleAssignmentId - key: id of appRoleAssignment.
        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.
      • updateAppRoleAssignments

        void updateAppRoleAssignments​(String userId,
                                      String appRoleAssignmentId,
                                      MicrosoftGraphAppRoleAssignmentInner body)
        Update the navigation property appRoleAssignments in users.
        Parameters:
        userId - key: id of user.
        appRoleAssignmentId - key: id of appRoleAssignment.
        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.
      • updateAppRoleAssignmentsWithResponse

        com.azure.core.http.rest.Response<Void> updateAppRoleAssignmentsWithResponse​(String userId,
                                                                                     String appRoleAssignmentId,
                                                                                     MicrosoftGraphAppRoleAssignmentInner body,
                                                                                     com.azure.core.util.Context context)
        Update the navigation property appRoleAssignments in users.
        Parameters:
        userId - key: id of user.
        appRoleAssignmentId - key: id of appRoleAssignment.
        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.
      • deleteAppRoleAssignmentsWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> deleteAppRoleAssignmentsWithResponseAsync​(String userId,
                                                                                                String appRoleAssignmentId,
                                                                                                String ifMatch)
        Delete navigation property appRoleAssignments for users.
        Parameters:
        userId - key: id of user.
        appRoleAssignmentId - key: id of appRoleAssignment.
        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.
      • deleteAppRoleAssignmentsAsync

        Mono<Void> deleteAppRoleAssignmentsAsync​(String userId,
                                                 String appRoleAssignmentId,
                                                 String ifMatch)
        Delete navigation property appRoleAssignments for users.
        Parameters:
        userId - key: id of user.
        appRoleAssignmentId - key: id of appRoleAssignment.
        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.
      • deleteAppRoleAssignmentsAsync

        Mono<Void> deleteAppRoleAssignmentsAsync​(String userId,
                                                 String appRoleAssignmentId)
        Delete navigation property appRoleAssignments for users.
        Parameters:
        userId - key: id of user.
        appRoleAssignmentId - key: id of appRoleAssignment.
        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.
      • deleteAppRoleAssignments

        void deleteAppRoleAssignments​(String userId,
                                      String appRoleAssignmentId)
        Delete navigation property appRoleAssignments for users.
        Parameters:
        userId - key: id of user.
        appRoleAssignmentId - key: id of appRoleAssignment.
        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.
      • deleteAppRoleAssignmentsWithResponse

        com.azure.core.http.rest.Response<Void> deleteAppRoleAssignmentsWithResponse​(String userId,
                                                                                     String appRoleAssignmentId,
                                                                                     String ifMatch,
                                                                                     com.azure.core.util.Context context)
        Delete navigation property appRoleAssignments for users.
        Parameters:
        userId - key: id of user.
        appRoleAssignmentId - key: id of appRoleAssignment.
        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.
      • listCreatedObjectsAsync

        com.azure.core.http.rest.PagedFlux<MicrosoftGraphDirectoryObjectInner> listCreatedObjectsAsync​(String userId,
                                                                                                       Integer top,
                                                                                                       Integer skip,
                                                                                                       String search,
                                                                                                       String filter,
                                                                                                       Boolean count,
                                                                                                       List<UsersOrderby> orderby,
                                                                                                       List<UsersSelect> select,
                                                                                                       List<String> expand)
        Get createdObjects from users.
        Parameters:
        userId - key: id of user.
        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:
        createdObjects from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listCreatedObjects

        com.azure.core.http.rest.PagedIterable<MicrosoftGraphDirectoryObjectInner> listCreatedObjects​(String userId,
                                                                                                      Integer top,
                                                                                                      Integer skip,
                                                                                                      String search,
                                                                                                      String filter,
                                                                                                      Boolean count,
                                                                                                      List<UsersOrderby> orderby,
                                                                                                      List<UsersSelect> select,
                                                                                                      List<String> expand,
                                                                                                      com.azure.core.util.Context context)
        Get createdObjects from users.
        Parameters:
        userId - key: id of user.
        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:
        createdObjects from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listRefCreatedObjectsAsync

        com.azure.core.http.rest.PagedFlux<String> listRefCreatedObjectsAsync​(String userId,
                                                                              Integer top,
                                                                              Integer skip,
                                                                              String search,
                                                                              String filter,
                                                                              Boolean count,
                                                                              List<UsersOrderby> orderby)
        Get ref of createdObjects from users.
        Parameters:
        userId - key: id of user.
        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 createdObjects from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listRefCreatedObjectsAsync

        com.azure.core.http.rest.PagedFlux<String> listRefCreatedObjectsAsync​(String userId)
        Get ref of createdObjects from users.
        Parameters:
        userId - key: id of user.
        Returns:
        ref of createdObjects from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listRefCreatedObjects

        com.azure.core.http.rest.PagedIterable<String> listRefCreatedObjects​(String userId)
        Get ref of createdObjects from users.
        Parameters:
        userId - key: id of user.
        Returns:
        ref of createdObjects from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listRefCreatedObjects

        com.azure.core.http.rest.PagedIterable<String> listRefCreatedObjects​(String userId,
                                                                             Integer top,
                                                                             Integer skip,
                                                                             String search,
                                                                             String filter,
                                                                             Boolean count,
                                                                             List<UsersOrderby> orderby,
                                                                             com.azure.core.util.Context context)
        Get ref of createdObjects from users.
        Parameters:
        userId - key: id of user.
        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 createdObjects from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createRefCreatedObjectsWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Map<String,​Object>>> createRefCreatedObjectsWithResponseAsync​(String userId,
                                                                                                                   Map<String,​Object> body)
        Create new navigation property ref to createdObjects for users.
        Parameters:
        userId - key: id of user.
        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.
      • createRefCreatedObjectsAsync

        Mono<Map<String,​Object>> createRefCreatedObjectsAsync​(String userId,
                                                                    Map<String,​Object> body)
        Create new navigation property ref to createdObjects for users.
        Parameters:
        userId - key: id of user.
        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.
      • createRefCreatedObjects

        Map<String,​Object> createRefCreatedObjects​(String userId,
                                                         Map<String,​Object> body)
        Create new navigation property ref to createdObjects for users.
        Parameters:
        userId - key: id of user.
        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.
      • createRefCreatedObjectsWithResponse

        com.azure.core.http.rest.Response<Map<String,​Object>> createRefCreatedObjectsWithResponse​(String userId,
                                                                                                        Map<String,​Object> body,
                                                                                                        com.azure.core.util.Context context)
        Create new navigation property ref to createdObjects for users.
        Parameters:
        userId - key: id of user.
        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.
      • listDirectReportsAsync

        com.azure.core.http.rest.PagedFlux<MicrosoftGraphDirectoryObjectInner> listDirectReportsAsync​(String userId,
                                                                                                      Integer top,
                                                                                                      Integer skip,
                                                                                                      String search,
                                                                                                      String filter,
                                                                                                      Boolean count,
                                                                                                      List<UsersOrderby> orderby,
                                                                                                      List<UsersSelect> select,
                                                                                                      List<String> expand)
        Get directReports from users.
        Parameters:
        userId - key: id of user.
        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:
        directReports from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listDirectReports

        com.azure.core.http.rest.PagedIterable<MicrosoftGraphDirectoryObjectInner> listDirectReports​(String userId,
                                                                                                     Integer top,
                                                                                                     Integer skip,
                                                                                                     String search,
                                                                                                     String filter,
                                                                                                     Boolean count,
                                                                                                     List<UsersOrderby> orderby,
                                                                                                     List<UsersSelect> select,
                                                                                                     List<String> expand,
                                                                                                     com.azure.core.util.Context context)
        Get directReports from users.
        Parameters:
        userId - key: id of user.
        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:
        directReports from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listRefDirectReportsAsync

        com.azure.core.http.rest.PagedFlux<String> listRefDirectReportsAsync​(String userId,
                                                                             Integer top,
                                                                             Integer skip,
                                                                             String search,
                                                                             String filter,
                                                                             Boolean count,
                                                                             List<UsersOrderby> orderby)
        Get ref of directReports from users.
        Parameters:
        userId - key: id of user.
        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 directReports from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listRefDirectReportsAsync

        com.azure.core.http.rest.PagedFlux<String> listRefDirectReportsAsync​(String userId)
        Get ref of directReports from users.
        Parameters:
        userId - key: id of user.
        Returns:
        ref of directReports from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listRefDirectReports

        com.azure.core.http.rest.PagedIterable<String> listRefDirectReports​(String userId)
        Get ref of directReports from users.
        Parameters:
        userId - key: id of user.
        Returns:
        ref of directReports from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listRefDirectReports

        com.azure.core.http.rest.PagedIterable<String> listRefDirectReports​(String userId,
                                                                            Integer top,
                                                                            Integer skip,
                                                                            String search,
                                                                            String filter,
                                                                            Boolean count,
                                                                            List<UsersOrderby> orderby,
                                                                            com.azure.core.util.Context context)
        Get ref of directReports from users.
        Parameters:
        userId - key: id of user.
        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 directReports from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createRefDirectReportsWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Map<String,​Object>>> createRefDirectReportsWithResponseAsync​(String userId,
                                                                                                                  Map<String,​Object> body)
        Create new navigation property ref to directReports for users.
        Parameters:
        userId - key: id of user.
        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.
      • createRefDirectReportsAsync

        Mono<Map<String,​Object>> createRefDirectReportsAsync​(String userId,
                                                                   Map<String,​Object> body)
        Create new navigation property ref to directReports for users.
        Parameters:
        userId - key: id of user.
        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.
      • createRefDirectReports

        Map<String,​Object> createRefDirectReports​(String userId,
                                                        Map<String,​Object> body)
        Create new navigation property ref to directReports for users.
        Parameters:
        userId - key: id of user.
        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.
      • createRefDirectReportsWithResponse

        com.azure.core.http.rest.Response<Map<String,​Object>> createRefDirectReportsWithResponse​(String userId,
                                                                                                       Map<String,​Object> body,
                                                                                                       com.azure.core.util.Context context)
        Create new navigation property ref to directReports for users.
        Parameters:
        userId - key: id of user.
        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.
      • listExtensionsAsync

        com.azure.core.http.rest.PagedFlux<MicrosoftGraphExtensionInner> listExtensionsAsync​(String userId,
                                                                                             Integer top,
                                                                                             Integer skip,
                                                                                             String search,
                                                                                             String filter,
                                                                                             Boolean count,
                                                                                             List<UsersOrderby> orderby,
                                                                                             List<String> select,
                                                                                             List<String> expand)
        Get extensions from users.
        Parameters:
        userId - key: id of user.
        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 users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listExtensions

        com.azure.core.http.rest.PagedIterable<MicrosoftGraphExtensionInner> listExtensions​(String userId,
                                                                                            Integer top,
                                                                                            Integer skip,
                                                                                            String search,
                                                                                            String filter,
                                                                                            Boolean count,
                                                                                            List<UsersOrderby> orderby,
                                                                                            List<String> select,
                                                                                            List<String> expand,
                                                                                            com.azure.core.util.Context context)
        Get extensions from users.
        Parameters:
        userId - key: id of user.
        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 users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createExtensionsWithResponse

        com.azure.core.http.rest.Response<MicrosoftGraphExtensionInner> createExtensionsWithResponse​(String userId,
                                                                                                     MicrosoftGraphExtensionInner body,
                                                                                                     com.azure.core.util.Context context)
        Create new navigation property to extensions for users.
        Parameters:
        userId - key: id of user.
        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 userId,
                                                                                                             String extensionId,
                                                                                                             List<String> select,
                                                                                                             List<String> expand)
        Get extensions from users.
        Parameters:
        userId - key: id of user.
        extensionId - key: id of extension.
        select - Select properties to be returned.
        expand - Expand related entities.
        Returns:
        extensions from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getExtensionsWithResponse

        com.azure.core.http.rest.Response<MicrosoftGraphExtensionInner> getExtensionsWithResponse​(String userId,
                                                                                                  String extensionId,
                                                                                                  List<String> select,
                                                                                                  List<String> expand,
                                                                                                  com.azure.core.util.Context context)
        Get extensions from users.
        Parameters:
        userId - key: id of user.
        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 users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateExtensionsWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> updateExtensionsWithResponseAsync​(String userId,
                                                                                        String extensionId,
                                                                                        MicrosoftGraphExtensionInner body)
        Update the navigation property extensions in users.
        Parameters:
        userId - key: id of user.
        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 userId,
                                         String extensionId,
                                         MicrosoftGraphExtensionInner body)
        Update the navigation property extensions in users.
        Parameters:
        userId - key: id of user.
        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 userId,
                              String extensionId,
                              MicrosoftGraphExtensionInner body)
        Update the navigation property extensions in users.
        Parameters:
        userId - key: id of user.
        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 userId,
                                                                             String extensionId,
                                                                             MicrosoftGraphExtensionInner body,
                                                                             com.azure.core.util.Context context)
        Update the navigation property extensions in users.
        Parameters:
        userId - key: id of user.
        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 userId,
                                                                                        String extensionId,
                                                                                        String ifMatch)
        Delete navigation property extensions for users.
        Parameters:
        userId - key: id of user.
        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 userId,
                                         String extensionId,
                                         String ifMatch)
        Delete navigation property extensions for users.
        Parameters:
        userId - key: id of user.
        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 userId,
                                         String extensionId)
        Delete navigation property extensions for users.
        Parameters:
        userId - key: id of user.
        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 userId,
                              String extensionId)
        Delete navigation property extensions for users.
        Parameters:
        userId - key: id of user.
        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 userId,
                                                                             String extensionId,
                                                                             String ifMatch,
                                                                             com.azure.core.util.Context context)
        Delete navigation property extensions for users.
        Parameters:
        userId - key: id of user.
        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.
      • listLicenseDetailsAsync

        com.azure.core.http.rest.PagedFlux<MicrosoftGraphLicenseDetailsInner> listLicenseDetailsAsync​(String userId,
                                                                                                      Integer top,
                                                                                                      Integer skip,
                                                                                                      String search,
                                                                                                      String filter,
                                                                                                      Boolean count,
                                                                                                      List<UsersOrderby> orderby,
                                                                                                      List<UsersSelect> select,
                                                                                                      List<String> expand)
        Get licenseDetails from users.
        Parameters:
        userId - key: id of user.
        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:
        licenseDetails from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listLicenseDetails

        com.azure.core.http.rest.PagedIterable<MicrosoftGraphLicenseDetailsInner> listLicenseDetails​(String userId,
                                                                                                     Integer top,
                                                                                                     Integer skip,
                                                                                                     String search,
                                                                                                     String filter,
                                                                                                     Boolean count,
                                                                                                     List<UsersOrderby> orderby,
                                                                                                     List<UsersSelect> select,
                                                                                                     List<String> expand,
                                                                                                     com.azure.core.util.Context context)
        Get licenseDetails from users.
        Parameters:
        userId - key: id of user.
        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:
        licenseDetails from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createLicenseDetailsWithResponse

        com.azure.core.http.rest.Response<MicrosoftGraphLicenseDetailsInner> createLicenseDetailsWithResponse​(String userId,
                                                                                                              MicrosoftGraphLicenseDetailsInner body,
                                                                                                              com.azure.core.util.Context context)
        Create new navigation property to licenseDetails for users.
        Parameters:
        userId - key: id of user.
        body - New navigation property.
        context - The context to associate with this operation.
        Returns:
        licenseDetails.
        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.
      • getLicenseDetailsWithResponseAsync

        Mono<com.azure.core.http.rest.Response<MicrosoftGraphLicenseDetailsInner>> getLicenseDetailsWithResponseAsync​(String userId,
                                                                                                                      String licenseDetailsId,
                                                                                                                      List<UsersSelect> select,
                                                                                                                      List<String> expand)
        Get licenseDetails from users.
        Parameters:
        userId - key: id of user.
        licenseDetailsId - key: id of licenseDetails.
        select - Select properties to be returned.
        expand - Expand related entities.
        Returns:
        licenseDetails from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getLicenseDetailsWithResponse

        com.azure.core.http.rest.Response<MicrosoftGraphLicenseDetailsInner> getLicenseDetailsWithResponse​(String userId,
                                                                                                           String licenseDetailsId,
                                                                                                           List<UsersSelect> select,
                                                                                                           List<String> expand,
                                                                                                           com.azure.core.util.Context context)
        Get licenseDetails from users.
        Parameters:
        userId - key: id of user.
        licenseDetailsId - key: id of licenseDetails.
        select - Select properties to be returned.
        expand - Expand related entities.
        context - The context to associate with this operation.
        Returns:
        licenseDetails from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateLicenseDetailsWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> updateLicenseDetailsWithResponseAsync​(String userId,
                                                                                            String licenseDetailsId,
                                                                                            MicrosoftGraphLicenseDetailsInner body)
        Update the navigation property licenseDetails in users.
        Parameters:
        userId - key: id of user.
        licenseDetailsId - key: id of licenseDetails.
        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.
      • updateLicenseDetailsAsync

        Mono<Void> updateLicenseDetailsAsync​(String userId,
                                             String licenseDetailsId,
                                             MicrosoftGraphLicenseDetailsInner body)
        Update the navigation property licenseDetails in users.
        Parameters:
        userId - key: id of user.
        licenseDetailsId - key: id of licenseDetails.
        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.
      • updateLicenseDetails

        void updateLicenseDetails​(String userId,
                                  String licenseDetailsId,
                                  MicrosoftGraphLicenseDetailsInner body)
        Update the navigation property licenseDetails in users.
        Parameters:
        userId - key: id of user.
        licenseDetailsId - key: id of licenseDetails.
        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.
      • updateLicenseDetailsWithResponse

        com.azure.core.http.rest.Response<Void> updateLicenseDetailsWithResponse​(String userId,
                                                                                 String licenseDetailsId,
                                                                                 MicrosoftGraphLicenseDetailsInner body,
                                                                                 com.azure.core.util.Context context)
        Update the navigation property licenseDetails in users.
        Parameters:
        userId - key: id of user.
        licenseDetailsId - key: id of licenseDetails.
        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.
      • deleteLicenseDetailsWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> deleteLicenseDetailsWithResponseAsync​(String userId,
                                                                                            String licenseDetailsId,
                                                                                            String ifMatch)
        Delete navigation property licenseDetails for users.
        Parameters:
        userId - key: id of user.
        licenseDetailsId - key: id of licenseDetails.
        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.
      • deleteLicenseDetailsAsync

        Mono<Void> deleteLicenseDetailsAsync​(String userId,
                                             String licenseDetailsId,
                                             String ifMatch)
        Delete navigation property licenseDetails for users.
        Parameters:
        userId - key: id of user.
        licenseDetailsId - key: id of licenseDetails.
        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.
      • deleteLicenseDetailsAsync

        Mono<Void> deleteLicenseDetailsAsync​(String userId,
                                             String licenseDetailsId)
        Delete navigation property licenseDetails for users.
        Parameters:
        userId - key: id of user.
        licenseDetailsId - key: id of licenseDetails.
        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.
      • deleteLicenseDetails

        void deleteLicenseDetails​(String userId,
                                  String licenseDetailsId)
        Delete navigation property licenseDetails for users.
        Parameters:
        userId - key: id of user.
        licenseDetailsId - key: id of licenseDetails.
        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.
      • deleteLicenseDetailsWithResponse

        com.azure.core.http.rest.Response<Void> deleteLicenseDetailsWithResponse​(String userId,
                                                                                 String licenseDetailsId,
                                                                                 String ifMatch,
                                                                                 com.azure.core.util.Context context)
        Delete navigation property licenseDetails for users.
        Parameters:
        userId - key: id of user.
        licenseDetailsId - key: id of licenseDetails.
        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.
      • getManagerWithResponse

        com.azure.core.http.rest.Response<MicrosoftGraphDirectoryObjectInner> getManagerWithResponse​(String userId,
                                                                                                     List<Get1ItemsItem> select,
                                                                                                     List<String> expand,
                                                                                                     com.azure.core.util.Context context)
        Get manager from users.
        Parameters:
        userId - key: id of user.
        select - Select properties to be returned.
        expand - Expand related entities.
        context - The context to associate with this operation.
        Returns:
        manager from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getRefManagerWithResponseAsync

        Mono<com.azure.core.http.rest.Response<String>> getRefManagerWithResponseAsync​(String userId)
        Get ref of manager from users.
        Parameters:
        userId - key: id of user.
        Returns:
        ref of manager from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getRefManagerAsync

        Mono<String> getRefManagerAsync​(String userId)
        Get ref of manager from users.
        Parameters:
        userId - key: id of user.
        Returns:
        ref of manager from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getRefManager

        String getRefManager​(String userId)
        Get ref of manager from users.
        Parameters:
        userId - key: id of user.
        Returns:
        ref of manager from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getRefManagerWithResponse

        com.azure.core.http.rest.Response<String> getRefManagerWithResponse​(String userId,
                                                                            com.azure.core.util.Context context)
        Get ref of manager from users.
        Parameters:
        userId - key: id of user.
        context - The context to associate with this operation.
        Returns:
        ref of manager from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • setRefManagerWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> setRefManagerWithResponseAsync​(String userId,
                                                                                     Map<String,​Object> body)
        Update the ref of navigation property manager in users.
        Parameters:
        userId - key: id of user.
        body - New navigation property ref 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.
      • setRefManagerAsync

        Mono<Void> setRefManagerAsync​(String userId,
                                      Map<String,​Object> body)
        Update the ref of navigation property manager in users.
        Parameters:
        userId - key: id of user.
        body - New navigation property ref 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.
      • setRefManager

        void setRefManager​(String userId,
                           Map<String,​Object> body)
        Update the ref of navigation property manager in users.
        Parameters:
        userId - key: id of user.
        body - New navigation property ref 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.
      • setRefManagerWithResponse

        com.azure.core.http.rest.Response<Void> setRefManagerWithResponse​(String userId,
                                                                          Map<String,​Object> body,
                                                                          com.azure.core.util.Context context)
        Update the ref of navigation property manager in users.
        Parameters:
        userId - key: id of user.
        body - New navigation property ref 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.
      • deleteRefManagerWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> deleteRefManagerWithResponseAsync​(String userId,
                                                                                        String ifMatch)
        Delete ref of navigation property manager for users.
        Parameters:
        userId - key: id of user.
        ifMatch - ETag.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteRefManagerAsync

        Mono<Void> deleteRefManagerAsync​(String userId,
                                         String ifMatch)
        Delete ref of navigation property manager for users.
        Parameters:
        userId - key: id of user.
        ifMatch - ETag.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteRefManagerAsync

        Mono<Void> deleteRefManagerAsync​(String userId)
        Delete ref of navigation property manager for users.
        Parameters:
        userId - key: id of user.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteRefManager

        void deleteRefManager​(String userId)
        Delete ref of navigation property manager for users.
        Parameters:
        userId - key: id of user.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteRefManagerWithResponse

        com.azure.core.http.rest.Response<Void> deleteRefManagerWithResponse​(String userId,
                                                                             String ifMatch,
                                                                             com.azure.core.util.Context context)
        Delete ref of navigation property manager for users.
        Parameters:
        userId - key: id of user.
        ifMatch - ETag.
        context - The context to associate with this operation.
        Returns:
        the response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listMemberOfAsync

        com.azure.core.http.rest.PagedFlux<MicrosoftGraphDirectoryObjectInner> listMemberOfAsync​(String userId,
                                                                                                 Integer top,
                                                                                                 Integer skip,
                                                                                                 String search,
                                                                                                 String filter,
                                                                                                 Boolean count,
                                                                                                 List<UsersOrderby> orderby,
                                                                                                 List<UsersSelect> select,
                                                                                                 List<String> expand)
        Get memberOf from users.
        Parameters:
        userId - key: id of user.
        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:
        memberOf from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listMemberOf

        com.azure.core.http.rest.PagedIterable<MicrosoftGraphDirectoryObjectInner> listMemberOf​(String userId,
                                                                                                Integer top,
                                                                                                Integer skip,
                                                                                                String search,
                                                                                                String filter,
                                                                                                Boolean count,
                                                                                                List<UsersOrderby> orderby,
                                                                                                List<UsersSelect> select,
                                                                                                List<String> expand,
                                                                                                com.azure.core.util.Context context)
        Get memberOf from users.
        Parameters:
        userId - key: id of user.
        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:
        memberOf from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listRefMemberOfAsync

        com.azure.core.http.rest.PagedFlux<String> listRefMemberOfAsync​(String userId,
                                                                        Integer top,
                                                                        Integer skip,
                                                                        String search,
                                                                        String filter,
                                                                        Boolean count,
                                                                        List<UsersOrderby> orderby)
        Get ref of memberOf from users.
        Parameters:
        userId - key: id of user.
        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 memberOf from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listRefMemberOfAsync

        com.azure.core.http.rest.PagedFlux<String> listRefMemberOfAsync​(String userId)
        Get ref of memberOf from users.
        Parameters:
        userId - key: id of user.
        Returns:
        ref of memberOf from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listRefMemberOf

        com.azure.core.http.rest.PagedIterable<String> listRefMemberOf​(String userId)
        Get ref of memberOf from users.
        Parameters:
        userId - key: id of user.
        Returns:
        ref of memberOf from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listRefMemberOf

        com.azure.core.http.rest.PagedIterable<String> listRefMemberOf​(String userId,
                                                                       Integer top,
                                                                       Integer skip,
                                                                       String search,
                                                                       String filter,
                                                                       Boolean count,
                                                                       List<UsersOrderby> orderby,
                                                                       com.azure.core.util.Context context)
        Get ref of memberOf from users.
        Parameters:
        userId - key: id of user.
        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 memberOf from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createRefMemberOfWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Map<String,​Object>>> createRefMemberOfWithResponseAsync​(String userId,
                                                                                                             Map<String,​Object> body)
        Create new navigation property ref to memberOf for users.
        Parameters:
        userId - key: id of user.
        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.
      • createRefMemberOfAsync

        Mono<Map<String,​Object>> createRefMemberOfAsync​(String userId,
                                                              Map<String,​Object> body)
        Create new navigation property ref to memberOf for users.
        Parameters:
        userId - key: id of user.
        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.
      • createRefMemberOf

        Map<String,​Object> createRefMemberOf​(String userId,
                                                   Map<String,​Object> body)
        Create new navigation property ref to memberOf for users.
        Parameters:
        userId - key: id of user.
        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.
      • createRefMemberOfWithResponse

        com.azure.core.http.rest.Response<Map<String,​Object>> createRefMemberOfWithResponse​(String userId,
                                                                                                  Map<String,​Object> body,
                                                                                                  com.azure.core.util.Context context)
        Create new navigation property ref to memberOf for users.
        Parameters:
        userId - key: id of user.
        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.
      • listOauth2PermissionGrantsAsync

        com.azure.core.http.rest.PagedFlux<MicrosoftGraphOAuth2PermissionGrantInner> listOauth2PermissionGrantsAsync​(String userId,
                                                                                                                     Integer top,
                                                                                                                     Integer skip,
                                                                                                                     String search,
                                                                                                                     String filter,
                                                                                                                     Boolean count,
                                                                                                                     List<UsersOrderby> orderby,
                                                                                                                     List<UsersSelect> select,
                                                                                                                     List<String> expand)
        Get oauth2PermissionGrants from users.
        Parameters:
        userId - key: id of user.
        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:
        oauth2PermissionGrants from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listOauth2PermissionGrants

        com.azure.core.http.rest.PagedIterable<MicrosoftGraphOAuth2PermissionGrantInner> listOauth2PermissionGrants​(String userId,
                                                                                                                    Integer top,
                                                                                                                    Integer skip,
                                                                                                                    String search,
                                                                                                                    String filter,
                                                                                                                    Boolean count,
                                                                                                                    List<UsersOrderby> orderby,
                                                                                                                    List<UsersSelect> select,
                                                                                                                    List<String> expand,
                                                                                                                    com.azure.core.util.Context context)
        Get oauth2PermissionGrants from users.
        Parameters:
        userId - key: id of user.
        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:
        oauth2PermissionGrants from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listRefOauth2PermissionGrantsAsync

        com.azure.core.http.rest.PagedFlux<String> listRefOauth2PermissionGrantsAsync​(String userId,
                                                                                      Integer top,
                                                                                      Integer skip,
                                                                                      String search,
                                                                                      String filter,
                                                                                      Boolean count,
                                                                                      List<UsersOrderby> orderby)
        Get ref of oauth2PermissionGrants from users.
        Parameters:
        userId - key: id of user.
        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 oauth2PermissionGrants from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listRefOauth2PermissionGrantsAsync

        com.azure.core.http.rest.PagedFlux<String> listRefOauth2PermissionGrantsAsync​(String userId)
        Get ref of oauth2PermissionGrants from users.
        Parameters:
        userId - key: id of user.
        Returns:
        ref of oauth2PermissionGrants from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listRefOauth2PermissionGrants

        com.azure.core.http.rest.PagedIterable<String> listRefOauth2PermissionGrants​(String userId)
        Get ref of oauth2PermissionGrants from users.
        Parameters:
        userId - key: id of user.
        Returns:
        ref of oauth2PermissionGrants from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listRefOauth2PermissionGrants

        com.azure.core.http.rest.PagedIterable<String> listRefOauth2PermissionGrants​(String userId,
                                                                                     Integer top,
                                                                                     Integer skip,
                                                                                     String search,
                                                                                     String filter,
                                                                                     Boolean count,
                                                                                     List<UsersOrderby> orderby,
                                                                                     com.azure.core.util.Context context)
        Get ref of oauth2PermissionGrants from users.
        Parameters:
        userId - key: id of user.
        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 oauth2PermissionGrants from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createRefOauth2PermissionGrantsWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Map<String,​Object>>> createRefOauth2PermissionGrantsWithResponseAsync​(String userId,
                                                                                                                           Map<String,​Object> body)
        Create new navigation property ref to oauth2PermissionGrants for users.
        Parameters:
        userId - key: id of user.
        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.
      • createRefOauth2PermissionGrantsAsync

        Mono<Map<String,​Object>> createRefOauth2PermissionGrantsAsync​(String userId,
                                                                            Map<String,​Object> body)
        Create new navigation property ref to oauth2PermissionGrants for users.
        Parameters:
        userId - key: id of user.
        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.
      • createRefOauth2PermissionGrants

        Map<String,​Object> createRefOauth2PermissionGrants​(String userId,
                                                                 Map<String,​Object> body)
        Create new navigation property ref to oauth2PermissionGrants for users.
        Parameters:
        userId - key: id of user.
        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.
      • createRefOauth2PermissionGrantsWithResponse

        com.azure.core.http.rest.Response<Map<String,​Object>> createRefOauth2PermissionGrantsWithResponse​(String userId,
                                                                                                                Map<String,​Object> body,
                                                                                                                com.azure.core.util.Context context)
        Create new navigation property ref to oauth2PermissionGrants for users.
        Parameters:
        userId - key: id of user.
        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.
      • getOutlookWithResponse

        com.azure.core.http.rest.Response<MicrosoftGraphOutlookUserInner> getOutlookWithResponse​(String userId,
                                                                                                 List<UsersSelect> select,
                                                                                                 List<UsersExpand> expand,
                                                                                                 com.azure.core.util.Context context)
        Get outlook from users.
        Parameters:
        userId - key: id of user.
        select - Select properties to be returned.
        expand - Expand related entities.
        context - The context to associate with this operation.
        Returns:
        outlook from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateOutlookWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> updateOutlookWithResponseAsync​(String userId,
                                                                                     MicrosoftGraphOutlookUserInner body)
        Update the navigation property outlook in users.
        Parameters:
        userId - key: id of user.
        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.
      • updateOutlookWithResponse

        com.azure.core.http.rest.Response<Void> updateOutlookWithResponse​(String userId,
                                                                          MicrosoftGraphOutlookUserInner body,
                                                                          com.azure.core.util.Context context)
        Update the navigation property outlook in users.
        Parameters:
        userId - key: id of user.
        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.
      • deleteOutlookWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> deleteOutlookWithResponseAsync​(String userId,
                                                                                     String ifMatch)
        Delete navigation property outlook for users.
        Parameters:
        userId - key: id of user.
        ifMatch - ETag.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteOutlookAsync

        Mono<Void> deleteOutlookAsync​(String userId,
                                      String ifMatch)
        Delete navigation property outlook for users.
        Parameters:
        userId - key: id of user.
        ifMatch - ETag.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteOutlookAsync

        Mono<Void> deleteOutlookAsync​(String userId)
        Delete navigation property outlook for users.
        Parameters:
        userId - key: id of user.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteOutlook

        void deleteOutlook​(String userId)
        Delete navigation property outlook for users.
        Parameters:
        userId - key: id of user.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteOutlookWithResponse

        com.azure.core.http.rest.Response<Void> deleteOutlookWithResponse​(String userId,
                                                                          String ifMatch,
                                                                          com.azure.core.util.Context context)
        Delete navigation property outlook for users.
        Parameters:
        userId - key: id of user.
        ifMatch - ETag.
        context - The context to associate with this operation.
        Returns:
        the response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listOwnedDevicesAsync

        com.azure.core.http.rest.PagedFlux<MicrosoftGraphDirectoryObjectInner> listOwnedDevicesAsync​(String userId,
                                                                                                     Integer top,
                                                                                                     Integer skip,
                                                                                                     String search,
                                                                                                     String filter,
                                                                                                     Boolean count,
                                                                                                     List<UsersOrderby> orderby,
                                                                                                     List<UsersSelect> select,
                                                                                                     List<String> expand)
        Get ownedDevices from users.
        Parameters:
        userId - key: id of user.
        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:
        ownedDevices from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listOwnedDevices

        com.azure.core.http.rest.PagedIterable<MicrosoftGraphDirectoryObjectInner> listOwnedDevices​(String userId,
                                                                                                    Integer top,
                                                                                                    Integer skip,
                                                                                                    String search,
                                                                                                    String filter,
                                                                                                    Boolean count,
                                                                                                    List<UsersOrderby> orderby,
                                                                                                    List<UsersSelect> select,
                                                                                                    List<String> expand,
                                                                                                    com.azure.core.util.Context context)
        Get ownedDevices from users.
        Parameters:
        userId - key: id of user.
        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:
        ownedDevices from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listRefOwnedDevicesAsync

        com.azure.core.http.rest.PagedFlux<String> listRefOwnedDevicesAsync​(String userId,
                                                                            Integer top,
                                                                            Integer skip,
                                                                            String search,
                                                                            String filter,
                                                                            Boolean count,
                                                                            List<UsersOrderby> orderby)
        Get ref of ownedDevices from users.
        Parameters:
        userId - key: id of user.
        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 ownedDevices from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listRefOwnedDevicesAsync

        com.azure.core.http.rest.PagedFlux<String> listRefOwnedDevicesAsync​(String userId)
        Get ref of ownedDevices from users.
        Parameters:
        userId - key: id of user.
        Returns:
        ref of ownedDevices from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listRefOwnedDevices

        com.azure.core.http.rest.PagedIterable<String> listRefOwnedDevices​(String userId)
        Get ref of ownedDevices from users.
        Parameters:
        userId - key: id of user.
        Returns:
        ref of ownedDevices from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listRefOwnedDevices

        com.azure.core.http.rest.PagedIterable<String> listRefOwnedDevices​(String userId,
                                                                           Integer top,
                                                                           Integer skip,
                                                                           String search,
                                                                           String filter,
                                                                           Boolean count,
                                                                           List<UsersOrderby> orderby,
                                                                           com.azure.core.util.Context context)
        Get ref of ownedDevices from users.
        Parameters:
        userId - key: id of user.
        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 ownedDevices from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createRefOwnedDevicesWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Map<String,​Object>>> createRefOwnedDevicesWithResponseAsync​(String userId,
                                                                                                                 Map<String,​Object> body)
        Create new navigation property ref to ownedDevices for users.
        Parameters:
        userId - key: id of user.
        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.
      • createRefOwnedDevicesAsync

        Mono<Map<String,​Object>> createRefOwnedDevicesAsync​(String userId,
                                                                  Map<String,​Object> body)
        Create new navigation property ref to ownedDevices for users.
        Parameters:
        userId - key: id of user.
        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.
      • createRefOwnedDevices

        Map<String,​Object> createRefOwnedDevices​(String userId,
                                                       Map<String,​Object> body)
        Create new navigation property ref to ownedDevices for users.
        Parameters:
        userId - key: id of user.
        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.
      • createRefOwnedDevicesWithResponse

        com.azure.core.http.rest.Response<Map<String,​Object>> createRefOwnedDevicesWithResponse​(String userId,
                                                                                                      Map<String,​Object> body,
                                                                                                      com.azure.core.util.Context context)
        Create new navigation property ref to ownedDevices for users.
        Parameters:
        userId - key: id of user.
        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.
      • listOwnedObjectsAsync

        com.azure.core.http.rest.PagedFlux<MicrosoftGraphDirectoryObjectInner> listOwnedObjectsAsync​(String userId,
                                                                                                     Integer top,
                                                                                                     Integer skip,
                                                                                                     String search,
                                                                                                     String filter,
                                                                                                     Boolean count,
                                                                                                     List<UsersOrderby> orderby,
                                                                                                     List<UsersSelect> select,
                                                                                                     List<String> expand)
        Get ownedObjects from users.
        Parameters:
        userId - key: id of user.
        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:
        ownedObjects from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listOwnedObjects

        com.azure.core.http.rest.PagedIterable<MicrosoftGraphDirectoryObjectInner> listOwnedObjects​(String userId,
                                                                                                    Integer top,
                                                                                                    Integer skip,
                                                                                                    String search,
                                                                                                    String filter,
                                                                                                    Boolean count,
                                                                                                    List<UsersOrderby> orderby,
                                                                                                    List<UsersSelect> select,
                                                                                                    List<String> expand,
                                                                                                    com.azure.core.util.Context context)
        Get ownedObjects from users.
        Parameters:
        userId - key: id of user.
        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:
        ownedObjects from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listRefOwnedObjectsAsync

        com.azure.core.http.rest.PagedFlux<String> listRefOwnedObjectsAsync​(String userId,
                                                                            Integer top,
                                                                            Integer skip,
                                                                            String search,
                                                                            String filter,
                                                                            Boolean count,
                                                                            List<UsersOrderby> orderby)
        Get ref of ownedObjects from users.
        Parameters:
        userId - key: id of user.
        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 ownedObjects from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listRefOwnedObjectsAsync

        com.azure.core.http.rest.PagedFlux<String> listRefOwnedObjectsAsync​(String userId)
        Get ref of ownedObjects from users.
        Parameters:
        userId - key: id of user.
        Returns:
        ref of ownedObjects from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listRefOwnedObjects

        com.azure.core.http.rest.PagedIterable<String> listRefOwnedObjects​(String userId)
        Get ref of ownedObjects from users.
        Parameters:
        userId - key: id of user.
        Returns:
        ref of ownedObjects from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listRefOwnedObjects

        com.azure.core.http.rest.PagedIterable<String> listRefOwnedObjects​(String userId,
                                                                           Integer top,
                                                                           Integer skip,
                                                                           String search,
                                                                           String filter,
                                                                           Boolean count,
                                                                           List<UsersOrderby> orderby,
                                                                           com.azure.core.util.Context context)
        Get ref of ownedObjects from users.
        Parameters:
        userId - key: id of user.
        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 ownedObjects from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createRefOwnedObjectsWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Map<String,​Object>>> createRefOwnedObjectsWithResponseAsync​(String userId,
                                                                                                                 Map<String,​Object> body)
        Create new navigation property ref to ownedObjects for users.
        Parameters:
        userId - key: id of user.
        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.
      • createRefOwnedObjectsAsync

        Mono<Map<String,​Object>> createRefOwnedObjectsAsync​(String userId,
                                                                  Map<String,​Object> body)
        Create new navigation property ref to ownedObjects for users.
        Parameters:
        userId - key: id of user.
        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.
      • createRefOwnedObjects

        Map<String,​Object> createRefOwnedObjects​(String userId,
                                                       Map<String,​Object> body)
        Create new navigation property ref to ownedObjects for users.
        Parameters:
        userId - key: id of user.
        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.
      • createRefOwnedObjectsWithResponse

        com.azure.core.http.rest.Response<Map<String,​Object>> createRefOwnedObjectsWithResponse​(String userId,
                                                                                                      Map<String,​Object> body,
                                                                                                      com.azure.core.util.Context context)
        Create new navigation property ref to ownedObjects for users.
        Parameters:
        userId - key: id of user.
        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.
      • getPhotoWithResponse

        com.azure.core.http.rest.Response<MicrosoftGraphProfilePhotoInner> getPhotoWithResponse​(String userId,
                                                                                                List<UsersSelect> select,
                                                                                                List<String> expand,
                                                                                                com.azure.core.util.Context context)
        Get photo from users.
        Parameters:
        userId - key: id of user.
        select - Select properties to be returned.
        expand - Expand related entities.
        context - The context to associate with this operation.
        Returns:
        photo from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updatePhotoWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> updatePhotoWithResponseAsync​(String userId,
                                                                                   MicrosoftGraphProfilePhotoInner body)
        Update the navigation property photo in users.
        Parameters:
        userId - key: id of user.
        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.
      • updatePhotoWithResponse

        com.azure.core.http.rest.Response<Void> updatePhotoWithResponse​(String userId,
                                                                        MicrosoftGraphProfilePhotoInner body,
                                                                        com.azure.core.util.Context context)
        Update the navigation property photo in users.
        Parameters:
        userId - key: id of user.
        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.
      • deletePhotoWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> deletePhotoWithResponseAsync​(String userId,
                                                                                   String ifMatch)
        Delete navigation property photo for users.
        Parameters:
        userId - key: id of user.
        ifMatch - ETag.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deletePhotoAsync

        Mono<Void> deletePhotoAsync​(String userId,
                                    String ifMatch)
        Delete navigation property photo for users.
        Parameters:
        userId - key: id of user.
        ifMatch - ETag.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deletePhotoAsync

        Mono<Void> deletePhotoAsync​(String userId)
        Delete navigation property photo for users.
        Parameters:
        userId - key: id of user.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deletePhoto

        void deletePhoto​(String userId)
        Delete navigation property photo for users.
        Parameters:
        userId - key: id of user.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deletePhotoWithResponse

        com.azure.core.http.rest.Response<Void> deletePhotoWithResponse​(String userId,
                                                                        String ifMatch,
                                                                        com.azure.core.util.Context context)
        Delete navigation property photo for users.
        Parameters:
        userId - key: id of user.
        ifMatch - ETag.
        context - The context to associate with this operation.
        Returns:
        the response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getPhotoContentWithResponseAsync

        Mono<com.azure.core.http.rest.StreamResponse> getPhotoContentWithResponseAsync​(String userId)
        Get media content for the navigation property photo from users.
        Parameters:
        userId - key: id of user.
        Returns:
        media content for the navigation property photo from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getPhotoContentAsync

        Flux<ByteBuffer> getPhotoContentAsync​(String userId)
        Get media content for the navigation property photo from users.
        Parameters:
        userId - key: id of user.
        Returns:
        media content for the navigation property photo from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getPhotoContent

        InputStream getPhotoContent​(String userId)
        Get media content for the navigation property photo from users.
        Parameters:
        userId - key: id of user.
        Returns:
        media content for the navigation property photo from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getPhotoContentWithResponse

        com.azure.core.http.rest.StreamResponse getPhotoContentWithResponse​(String userId,
                                                                            com.azure.core.util.Context context)
        Get media content for the navigation property photo from users.
        Parameters:
        userId - key: id of user.
        context - The context to associate with this operation.
        Returns:
        media content for the navigation property photo from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • setPhotoContentWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> setPhotoContentWithResponseAsync​(String userId,
                                                                                       Flux<ByteBuffer> data,
                                                                                       long contentLength)
        Update media content for the navigation property photo in users.
        Parameters:
        userId - key: id of user.
        data - New media content.
        contentLength - The contentLength parameter.
        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.
      • setPhotoContentAsync

        Mono<Void> setPhotoContentAsync​(String userId,
                                        Flux<ByteBuffer> data,
                                        long contentLength)
        Update media content for the navigation property photo in users.
        Parameters:
        userId - key: id of user.
        data - New media content.
        contentLength - The contentLength parameter.
        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.
      • setPhotoContent

        void setPhotoContent​(String userId,
                             Flux<ByteBuffer> data,
                             long contentLength)
        Update media content for the navigation property photo in users.
        Parameters:
        userId - key: id of user.
        data - New media content.
        contentLength - The contentLength parameter.
        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.
      • setPhotoContentWithResponse

        com.azure.core.http.rest.Response<Void> setPhotoContentWithResponse​(String userId,
                                                                            Flux<ByteBuffer> data,
                                                                            long contentLength,
                                                                            com.azure.core.util.Context context)
        Update media content for the navigation property photo in users.
        Parameters:
        userId - key: id of user.
        data - New media content.
        contentLength - The contentLength parameter.
        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.
      • listPhotosAsync

        com.azure.core.http.rest.PagedFlux<MicrosoftGraphProfilePhotoInner> listPhotosAsync​(String userId,
                                                                                            Integer top,
                                                                                            Integer skip,
                                                                                            String search,
                                                                                            String filter,
                                                                                            Boolean count,
                                                                                            List<UsersOrderby> orderby,
                                                                                            List<UsersSelect> select,
                                                                                            List<String> expand)
        Get photos from users.
        Parameters:
        userId - key: id of user.
        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:
        photos from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listPhotos

        com.azure.core.http.rest.PagedIterable<MicrosoftGraphProfilePhotoInner> listPhotos​(String userId,
                                                                                           Integer top,
                                                                                           Integer skip,
                                                                                           String search,
                                                                                           String filter,
                                                                                           Boolean count,
                                                                                           List<UsersOrderby> orderby,
                                                                                           List<UsersSelect> select,
                                                                                           List<String> expand,
                                                                                           com.azure.core.util.Context context)
        Get photos from users.
        Parameters:
        userId - key: id of user.
        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:
        photos from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getPhotosWithResponse

        com.azure.core.http.rest.Response<MicrosoftGraphProfilePhotoInner> getPhotosWithResponse​(String userId,
                                                                                                 String profilePhotoId,
                                                                                                 List<UsersSelect> select,
                                                                                                 List<String> expand,
                                                                                                 com.azure.core.util.Context context)
        Get photos from users.
        Parameters:
        userId - key: id of user.
        profilePhotoId - key: id of profilePhoto.
        select - Select properties to be returned.
        expand - Expand related entities.
        context - The context to associate with this operation.
        Returns:
        photos from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updatePhotosWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> updatePhotosWithResponseAsync​(String userId,
                                                                                    String profilePhotoId,
                                                                                    MicrosoftGraphProfilePhotoInner body)
        Update the navigation property photos in users.
        Parameters:
        userId - key: id of user.
        profilePhotoId - key: id of profilePhoto.
        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.
      • updatePhotosWithResponse

        com.azure.core.http.rest.Response<Void> updatePhotosWithResponse​(String userId,
                                                                         String profilePhotoId,
                                                                         MicrosoftGraphProfilePhotoInner body,
                                                                         com.azure.core.util.Context context)
        Update the navigation property photos in users.
        Parameters:
        userId - key: id of user.
        profilePhotoId - key: id of profilePhoto.
        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.
      • deletePhotosWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> deletePhotosWithResponseAsync​(String userId,
                                                                                    String profilePhotoId,
                                                                                    String ifMatch)
        Delete navigation property photos for users.
        Parameters:
        userId - key: id of user.
        profilePhotoId - key: id of profilePhoto.
        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.
      • deletePhotosAsync

        Mono<Void> deletePhotosAsync​(String userId,
                                     String profilePhotoId,
                                     String ifMatch)
        Delete navigation property photos for users.
        Parameters:
        userId - key: id of user.
        profilePhotoId - key: id of profilePhoto.
        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.
      • deletePhotosAsync

        Mono<Void> deletePhotosAsync​(String userId,
                                     String profilePhotoId)
        Delete navigation property photos for users.
        Parameters:
        userId - key: id of user.
        profilePhotoId - key: id of profilePhoto.
        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.
      • deletePhotos

        void deletePhotos​(String userId,
                          String profilePhotoId)
        Delete navigation property photos for users.
        Parameters:
        userId - key: id of user.
        profilePhotoId - key: id of profilePhoto.
        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.
      • deletePhotosWithResponse

        com.azure.core.http.rest.Response<Void> deletePhotosWithResponse​(String userId,
                                                                         String profilePhotoId,
                                                                         String ifMatch,
                                                                         com.azure.core.util.Context context)
        Delete navigation property photos for users.
        Parameters:
        userId - key: id of user.
        profilePhotoId - key: id of profilePhoto.
        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.
      • getPhotosContentWithResponseAsync

        Mono<com.azure.core.http.rest.StreamResponse> getPhotosContentWithResponseAsync​(String userId,
                                                                                        String profilePhotoId)
        Get media content for the navigation property photos from users.
        Parameters:
        userId - key: id of user.
        profilePhotoId - key: id of profilePhoto.
        Returns:
        media content for the navigation property photos from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getPhotosContentAsync

        Flux<ByteBuffer> getPhotosContentAsync​(String userId,
                                               String profilePhotoId)
        Get media content for the navigation property photos from users.
        Parameters:
        userId - key: id of user.
        profilePhotoId - key: id of profilePhoto.
        Returns:
        media content for the navigation property photos from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getPhotosContent

        InputStream getPhotosContent​(String userId,
                                     String profilePhotoId)
        Get media content for the navigation property photos from users.
        Parameters:
        userId - key: id of user.
        profilePhotoId - key: id of profilePhoto.
        Returns:
        media content for the navigation property photos from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getPhotosContentWithResponse

        com.azure.core.http.rest.StreamResponse getPhotosContentWithResponse​(String userId,
                                                                             String profilePhotoId,
                                                                             com.azure.core.util.Context context)
        Get media content for the navigation property photos from users.
        Parameters:
        userId - key: id of user.
        profilePhotoId - key: id of profilePhoto.
        context - The context to associate with this operation.
        Returns:
        media content for the navigation property photos from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • setPhotosContentWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> setPhotosContentWithResponseAsync​(String userId,
                                                                                        String profilePhotoId,
                                                                                        Flux<ByteBuffer> data,
                                                                                        long contentLength)
        Update media content for the navigation property photos in users.
        Parameters:
        userId - key: id of user.
        profilePhotoId - key: id of profilePhoto.
        data - New media content.
        contentLength - The contentLength parameter.
        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.
      • setPhotosContentAsync

        Mono<Void> setPhotosContentAsync​(String userId,
                                         String profilePhotoId,
                                         Flux<ByteBuffer> data,
                                         long contentLength)
        Update media content for the navigation property photos in users.
        Parameters:
        userId - key: id of user.
        profilePhotoId - key: id of profilePhoto.
        data - New media content.
        contentLength - The contentLength parameter.
        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.
      • setPhotosContent

        void setPhotosContent​(String userId,
                              String profilePhotoId,
                              Flux<ByteBuffer> data,
                              long contentLength)
        Update media content for the navigation property photos in users.
        Parameters:
        userId - key: id of user.
        profilePhotoId - key: id of profilePhoto.
        data - New media content.
        contentLength - The contentLength parameter.
        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.
      • setPhotosContentWithResponse

        com.azure.core.http.rest.Response<Void> setPhotosContentWithResponse​(String userId,
                                                                             String profilePhotoId,
                                                                             Flux<ByteBuffer> data,
                                                                             long contentLength,
                                                                             com.azure.core.util.Context context)
        Update media content for the navigation property photos in users.
        Parameters:
        userId - key: id of user.
        profilePhotoId - key: id of profilePhoto.
        data - New media content.
        contentLength - The contentLength parameter.
        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.
      • listRegisteredDevicesAsync

        com.azure.core.http.rest.PagedFlux<MicrosoftGraphDirectoryObjectInner> listRegisteredDevicesAsync​(String userId,
                                                                                                          Integer top,
                                                                                                          Integer skip,
                                                                                                          String search,
                                                                                                          String filter,
                                                                                                          Boolean count,
                                                                                                          List<UsersOrderby> orderby,
                                                                                                          List<UsersSelect> select,
                                                                                                          List<String> expand)
        Get registeredDevices from users.
        Parameters:
        userId - key: id of user.
        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:
        registeredDevices from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listRegisteredDevices

        com.azure.core.http.rest.PagedIterable<MicrosoftGraphDirectoryObjectInner> listRegisteredDevices​(String userId,
                                                                                                         Integer top,
                                                                                                         Integer skip,
                                                                                                         String search,
                                                                                                         String filter,
                                                                                                         Boolean count,
                                                                                                         List<UsersOrderby> orderby,
                                                                                                         List<UsersSelect> select,
                                                                                                         List<String> expand,
                                                                                                         com.azure.core.util.Context context)
        Get registeredDevices from users.
        Parameters:
        userId - key: id of user.
        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:
        registeredDevices from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listRefRegisteredDevicesAsync

        com.azure.core.http.rest.PagedFlux<String> listRefRegisteredDevicesAsync​(String userId,
                                                                                 Integer top,
                                                                                 Integer skip,
                                                                                 String search,
                                                                                 String filter,
                                                                                 Boolean count,
                                                                                 List<UsersOrderby> orderby)
        Get ref of registeredDevices from users.
        Parameters:
        userId - key: id of user.
        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 registeredDevices from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listRefRegisteredDevicesAsync

        com.azure.core.http.rest.PagedFlux<String> listRefRegisteredDevicesAsync​(String userId)
        Get ref of registeredDevices from users.
        Parameters:
        userId - key: id of user.
        Returns:
        ref of registeredDevices from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listRefRegisteredDevices

        com.azure.core.http.rest.PagedIterable<String> listRefRegisteredDevices​(String userId)
        Get ref of registeredDevices from users.
        Parameters:
        userId - key: id of user.
        Returns:
        ref of registeredDevices from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listRefRegisteredDevices

        com.azure.core.http.rest.PagedIterable<String> listRefRegisteredDevices​(String userId,
                                                                                Integer top,
                                                                                Integer skip,
                                                                                String search,
                                                                                String filter,
                                                                                Boolean count,
                                                                                List<UsersOrderby> orderby,
                                                                                com.azure.core.util.Context context)
        Get ref of registeredDevices from users.
        Parameters:
        userId - key: id of user.
        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 registeredDevices from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createRefRegisteredDevicesWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Map<String,​Object>>> createRefRegisteredDevicesWithResponseAsync​(String userId,
                                                                                                                      Map<String,​Object> body)
        Create new navigation property ref to registeredDevices for users.
        Parameters:
        userId - key: id of user.
        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.
      • createRefRegisteredDevicesAsync

        Mono<Map<String,​Object>> createRefRegisteredDevicesAsync​(String userId,
                                                                       Map<String,​Object> body)
        Create new navigation property ref to registeredDevices for users.
        Parameters:
        userId - key: id of user.
        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.
      • createRefRegisteredDevices

        Map<String,​Object> createRefRegisteredDevices​(String userId,
                                                            Map<String,​Object> body)
        Create new navigation property ref to registeredDevices for users.
        Parameters:
        userId - key: id of user.
        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.
      • createRefRegisteredDevicesWithResponse

        com.azure.core.http.rest.Response<Map<String,​Object>> createRefRegisteredDevicesWithResponse​(String userId,
                                                                                                           Map<String,​Object> body,
                                                                                                           com.azure.core.util.Context context)
        Create new navigation property ref to registeredDevices for users.
        Parameters:
        userId - key: id of user.
        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.
      • getSettingsWithResponse

        com.azure.core.http.rest.Response<MicrosoftGraphUserSettingsInner> getSettingsWithResponse​(String userId,
                                                                                                   List<UsersSelect> select,
                                                                                                   List<UsersExpand> expand,
                                                                                                   com.azure.core.util.Context context)
        Get settings from users.
        Parameters:
        userId - key: id of user.
        select - Select properties to be returned.
        expand - Expand related entities.
        context - The context to associate with this operation.
        Returns:
        settings from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateSettingsWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> updateSettingsWithResponseAsync​(String userId,
                                                                                      MicrosoftGraphUserSettingsInner body)
        Update the navigation property settings in users.
        Parameters:
        userId - key: id of user.
        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.
      • updateSettingsWithResponse

        com.azure.core.http.rest.Response<Void> updateSettingsWithResponse​(String userId,
                                                                           MicrosoftGraphUserSettingsInner body,
                                                                           com.azure.core.util.Context context)
        Update the navigation property settings in users.
        Parameters:
        userId - key: id of user.
        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.
      • deleteSettingsWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> deleteSettingsWithResponseAsync​(String userId,
                                                                                      String ifMatch)
        Delete navigation property settings for users.
        Parameters:
        userId - key: id of user.
        ifMatch - ETag.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteSettingsAsync

        Mono<Void> deleteSettingsAsync​(String userId,
                                       String ifMatch)
        Delete navigation property settings for users.
        Parameters:
        userId - key: id of user.
        ifMatch - ETag.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteSettingsAsync

        Mono<Void> deleteSettingsAsync​(String userId)
        Delete navigation property settings for users.
        Parameters:
        userId - key: id of user.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteSettings

        void deleteSettings​(String userId)
        Delete navigation property settings for users.
        Parameters:
        userId - key: id of user.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteSettingsWithResponse

        com.azure.core.http.rest.Response<Void> deleteSettingsWithResponse​(String userId,
                                                                           String ifMatch,
                                                                           com.azure.core.util.Context context)
        Delete navigation property settings for users.
        Parameters:
        userId - key: id of user.
        ifMatch - ETag.
        context - The context to associate with this operation.
        Returns:
        the response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getTodoWithResponse

        com.azure.core.http.rest.Response<MicrosoftGraphTodoInner> getTodoWithResponse​(String userId,
                                                                                       List<UsersSelect> select,
                                                                                       List<UsersExpand> expand,
                                                                                       com.azure.core.util.Context context)
        Get todo from users.
        Parameters:
        userId - key: id of user.
        select - Select properties to be returned.
        expand - Expand related entities.
        context - The context to associate with this operation.
        Returns:
        todo from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateTodoWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> updateTodoWithResponseAsync​(String userId,
                                                                                  MicrosoftGraphTodoInner body)
        Update the navigation property todo in users.
        Parameters:
        userId - key: id of user.
        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.
      • updateTodoWithResponse

        com.azure.core.http.rest.Response<Void> updateTodoWithResponse​(String userId,
                                                                       MicrosoftGraphTodoInner body,
                                                                       com.azure.core.util.Context context)
        Update the navigation property todo in users.
        Parameters:
        userId - key: id of user.
        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.
      • deleteTodoWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> deleteTodoWithResponseAsync​(String userId,
                                                                                  String ifMatch)
        Delete navigation property todo for users.
        Parameters:
        userId - key: id of user.
        ifMatch - ETag.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteTodoAsync

        Mono<Void> deleteTodoAsync​(String userId,
                                   String ifMatch)
        Delete navigation property todo for users.
        Parameters:
        userId - key: id of user.
        ifMatch - ETag.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteTodoAsync

        Mono<Void> deleteTodoAsync​(String userId)
        Delete navigation property todo for users.
        Parameters:
        userId - key: id of user.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteTodo

        void deleteTodo​(String userId)
        Delete navigation property todo for users.
        Parameters:
        userId - key: id of user.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteTodoWithResponse

        com.azure.core.http.rest.Response<Void> deleteTodoWithResponse​(String userId,
                                                                       String ifMatch,
                                                                       com.azure.core.util.Context context)
        Delete navigation property todo for users.
        Parameters:
        userId - key: id of user.
        ifMatch - ETag.
        context - The context to associate with this operation.
        Returns:
        the response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listTransitiveMemberOfAsync

        com.azure.core.http.rest.PagedFlux<MicrosoftGraphDirectoryObjectInner> listTransitiveMemberOfAsync​(String userId,
                                                                                                           Integer top,
                                                                                                           Integer skip,
                                                                                                           String search,
                                                                                                           String filter,
                                                                                                           Boolean count,
                                                                                                           List<UsersOrderby> orderby,
                                                                                                           List<UsersSelect> select,
                                                                                                           List<String> expand)
        Get transitiveMemberOf from users.
        Parameters:
        userId - key: id of user.
        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:
        transitiveMemberOf from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listTransitiveMemberOf

        com.azure.core.http.rest.PagedIterable<MicrosoftGraphDirectoryObjectInner> listTransitiveMemberOf​(String userId,
                                                                                                          Integer top,
                                                                                                          Integer skip,
                                                                                                          String search,
                                                                                                          String filter,
                                                                                                          Boolean count,
                                                                                                          List<UsersOrderby> orderby,
                                                                                                          List<UsersSelect> select,
                                                                                                          List<String> expand,
                                                                                                          com.azure.core.util.Context context)
        Get transitiveMemberOf from users.
        Parameters:
        userId - key: id of user.
        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:
        transitiveMemberOf from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listRefTransitiveMemberOfAsync

        com.azure.core.http.rest.PagedFlux<String> listRefTransitiveMemberOfAsync​(String userId,
                                                                                  Integer top,
                                                                                  Integer skip,
                                                                                  String search,
                                                                                  String filter,
                                                                                  Boolean count,
                                                                                  List<UsersOrderby> orderby)
        Get ref of transitiveMemberOf from users.
        Parameters:
        userId - key: id of user.
        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 transitiveMemberOf from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listRefTransitiveMemberOfAsync

        com.azure.core.http.rest.PagedFlux<String> listRefTransitiveMemberOfAsync​(String userId)
        Get ref of transitiveMemberOf from users.
        Parameters:
        userId - key: id of user.
        Returns:
        ref of transitiveMemberOf from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listRefTransitiveMemberOf

        com.azure.core.http.rest.PagedIterable<String> listRefTransitiveMemberOf​(String userId)
        Get ref of transitiveMemberOf from users.
        Parameters:
        userId - key: id of user.
        Returns:
        ref of transitiveMemberOf from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listRefTransitiveMemberOf

        com.azure.core.http.rest.PagedIterable<String> listRefTransitiveMemberOf​(String userId,
                                                                                 Integer top,
                                                                                 Integer skip,
                                                                                 String search,
                                                                                 String filter,
                                                                                 Boolean count,
                                                                                 List<UsersOrderby> orderby,
                                                                                 com.azure.core.util.Context context)
        Get ref of transitiveMemberOf from users.
        Parameters:
        userId - key: id of user.
        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 transitiveMemberOf from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createRefTransitiveMemberOfWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Map<String,​Object>>> createRefTransitiveMemberOfWithResponseAsync​(String userId,
                                                                                                                       Map<String,​Object> body)
        Create new navigation property ref to transitiveMemberOf for users.
        Parameters:
        userId - key: id of user.
        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.
      • createRefTransitiveMemberOfAsync

        Mono<Map<String,​Object>> createRefTransitiveMemberOfAsync​(String userId,
                                                                        Map<String,​Object> body)
        Create new navigation property ref to transitiveMemberOf for users.
        Parameters:
        userId - key: id of user.
        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.
      • createRefTransitiveMemberOf

        Map<String,​Object> createRefTransitiveMemberOf​(String userId,
                                                             Map<String,​Object> body)
        Create new navigation property ref to transitiveMemberOf for users.
        Parameters:
        userId - key: id of user.
        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.
      • createRefTransitiveMemberOfWithResponse

        com.azure.core.http.rest.Response<Map<String,​Object>> createRefTransitiveMemberOfWithResponse​(String userId,
                                                                                                            Map<String,​Object> body,
                                                                                                            com.azure.core.util.Context context)
        Create new navigation property ref to transitiveMemberOf for users.
        Parameters:
        userId - key: id of user.
        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.
      • listScopedRoleMemberOfAsync

        com.azure.core.http.rest.PagedFlux<MicrosoftGraphScopedRoleMembershipInner> listScopedRoleMemberOfAsync​(String userId,
                                                                                                                Integer top,
                                                                                                                Integer skip,
                                                                                                                String search,
                                                                                                                String filter,
                                                                                                                Boolean count,
                                                                                                                List<UsersOrderby> orderby,
                                                                                                                List<UsersSelect> select,
                                                                                                                List<String> expand)
        Get scopedRoleMemberOf from users.
        Parameters:
        userId - key: id of user.
        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:
        scopedRoleMemberOf from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listScopedRoleMemberOf

        com.azure.core.http.rest.PagedIterable<MicrosoftGraphScopedRoleMembershipInner> listScopedRoleMemberOf​(String userId,
                                                                                                               Integer top,
                                                                                                               Integer skip,
                                                                                                               String search,
                                                                                                               String filter,
                                                                                                               Boolean count,
                                                                                                               List<UsersOrderby> orderby,
                                                                                                               List<UsersSelect> select,
                                                                                                               List<String> expand,
                                                                                                               com.azure.core.util.Context context)
        Get scopedRoleMemberOf from users.
        Parameters:
        userId - key: id of user.
        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:
        scopedRoleMemberOf from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getScopedRoleMemberOfWithResponseAsync

        Mono<com.azure.core.http.rest.Response<MicrosoftGraphScopedRoleMembershipInner>> getScopedRoleMemberOfWithResponseAsync​(String userId,
                                                                                                                                String scopedRoleMembershipId,
                                                                                                                                List<UsersSelect> select,
                                                                                                                                List<String> expand)
        Get scopedRoleMemberOf from users.
        Parameters:
        userId - key: id of user.
        scopedRoleMembershipId - key: id of scopedRoleMembership.
        select - Select properties to be returned.
        expand - Expand related entities.
        Returns:
        scopedRoleMemberOf from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getScopedRoleMemberOfWithResponse

        com.azure.core.http.rest.Response<MicrosoftGraphScopedRoleMembershipInner> getScopedRoleMemberOfWithResponse​(String userId,
                                                                                                                     String scopedRoleMembershipId,
                                                                                                                     List<UsersSelect> select,
                                                                                                                     List<String> expand,
                                                                                                                     com.azure.core.util.Context context)
        Get scopedRoleMemberOf from users.
        Parameters:
        userId - key: id of user.
        scopedRoleMembershipId - key: id of scopedRoleMembership.
        select - Select properties to be returned.
        expand - Expand related entities.
        context - The context to associate with this operation.
        Returns:
        scopedRoleMemberOf from users.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateScopedRoleMemberOfWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> updateScopedRoleMemberOfWithResponseAsync​(String userId,
                                                                                                String scopedRoleMembershipId,
                                                                                                MicrosoftGraphScopedRoleMembershipInner body)
        Update the navigation property scopedRoleMemberOf in users.
        Parameters:
        userId - key: id of user.
        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.
      • updateScopedRoleMemberOfAsync

        Mono<Void> updateScopedRoleMemberOfAsync​(String userId,
                                                 String scopedRoleMembershipId,
                                                 MicrosoftGraphScopedRoleMembershipInner body)
        Update the navigation property scopedRoleMemberOf in users.
        Parameters:
        userId - key: id of user.
        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.
      • updateScopedRoleMemberOf

        void updateScopedRoleMemberOf​(String userId,
                                      String scopedRoleMembershipId,
                                      MicrosoftGraphScopedRoleMembershipInner body)
        Update the navigation property scopedRoleMemberOf in users.
        Parameters:
        userId - key: id of user.
        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.
      • updateScopedRoleMemberOfWithResponse

        com.azure.core.http.rest.Response<Void> updateScopedRoleMemberOfWithResponse​(String userId,
                                                                                     String scopedRoleMembershipId,
                                                                                     MicrosoftGraphScopedRoleMembershipInner body,
                                                                                     com.azure.core.util.Context context)
        Update the navigation property scopedRoleMemberOf in users.
        Parameters:
        userId - key: id of user.
        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.
      • deleteScopedRoleMemberOfWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> deleteScopedRoleMemberOfWithResponseAsync​(String userId,
                                                                                                String scopedRoleMembershipId,
                                                                                                String ifMatch)
        Delete navigation property scopedRoleMemberOf for users.
        Parameters:
        userId - key: id of user.
        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.
      • deleteScopedRoleMemberOfAsync

        Mono<Void> deleteScopedRoleMemberOfAsync​(String userId,
                                                 String scopedRoleMembershipId,
                                                 String ifMatch)
        Delete navigation property scopedRoleMemberOf for users.
        Parameters:
        userId - key: id of user.
        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.
      • deleteScopedRoleMemberOfAsync

        Mono<Void> deleteScopedRoleMemberOfAsync​(String userId,
                                                 String scopedRoleMembershipId)
        Delete navigation property scopedRoleMemberOf for users.
        Parameters:
        userId - key: id of user.
        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.
      • deleteScopedRoleMemberOf

        void deleteScopedRoleMemberOf​(String userId,
                                      String scopedRoleMembershipId)
        Delete navigation property scopedRoleMemberOf for users.
        Parameters:
        userId - key: id of user.
        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.
      • deleteScopedRoleMemberOfWithResponse

        com.azure.core.http.rest.Response<Void> deleteScopedRoleMemberOfWithResponse​(String userId,
                                                                                     String scopedRoleMembershipId,
                                                                                     String ifMatch,
                                                                                     com.azure.core.util.Context context)
        Delete navigation property scopedRoleMemberOf for users.
        Parameters:
        userId - key: id of user.
        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.