Interface DirectoryAdministrativeUnitsClient


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

      • listExtensionsAsync

        com.azure.core.http.rest.PagedFlux<MicrosoftGraphExtensionInner> listExtensionsAsync​(String administrativeUnitId,
                                                                                             Integer top,
                                                                                             Integer skip,
                                                                                             String search,
                                                                                             String filter,
                                                                                             Boolean count,
                                                                                             List<DirectoryAdministrativeUnitsOrderby> orderby,
                                                                                             List<String> select,
                                                                                             List<String> expand)
        Get extensions from directory.
        Parameters:
        administrativeUnitId - key: id of administrativeUnit.
        top - Show only the first n items.
        skip - Skip the first n items.
        search - Search items by search phrases.
        filter - Filter items by property values.
        count - Include count of items.
        orderby - Order items by property values.
        select - Select properties to be returned.
        expand - Expand related entities.
        Returns:
        extensions from directory.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listExtensionsAsync

        com.azure.core.http.rest.PagedFlux<MicrosoftGraphExtensionInner> listExtensionsAsync​(String administrativeUnitId)
        Get extensions from directory.
        Parameters:
        administrativeUnitId - key: id of administrativeUnit.
        Returns:
        extensions from directory.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listExtensions

        com.azure.core.http.rest.PagedIterable<MicrosoftGraphExtensionInner> listExtensions​(String administrativeUnitId)
        Get extensions from directory.
        Parameters:
        administrativeUnitId - key: id of administrativeUnit.
        Returns:
        extensions from directory.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listExtensions

        com.azure.core.http.rest.PagedIterable<MicrosoftGraphExtensionInner> listExtensions​(String administrativeUnitId,
                                                                                            Integer top,
                                                                                            Integer skip,
                                                                                            String search,
                                                                                            String filter,
                                                                                            Boolean count,
                                                                                            List<DirectoryAdministrativeUnitsOrderby> orderby,
                                                                                            List<String> select,
                                                                                            List<String> expand,
                                                                                            com.azure.core.util.Context context)
        Get extensions from directory.
        Parameters:
        administrativeUnitId - key: id of administrativeUnit.
        top - Show only the first n items.
        skip - Skip the first n items.
        search - Search items by search phrases.
        filter - Filter items by property values.
        count - Include count of items.
        orderby - Order items by property values.
        select - Select properties to be returned.
        expand - Expand related entities.
        context - The context to associate with this operation.
        Returns:
        extensions from directory.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createExtensionsWithResponse

        com.azure.core.http.rest.Response<MicrosoftGraphExtensionInner> createExtensionsWithResponse​(String administrativeUnitId,
                                                                                                     MicrosoftGraphExtensionInner body,
                                                                                                     com.azure.core.util.Context context)
        Create new navigation property to extensions for directory.
        Parameters:
        administrativeUnitId - key: id of administrativeUnit.
        body - New navigation property.
        context - The context to associate with this operation.
        Returns:
        extension.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getExtensionsWithResponseAsync

        Mono<com.azure.core.http.rest.Response<MicrosoftGraphExtensionInner>> getExtensionsWithResponseAsync​(String administrativeUnitId,
                                                                                                             String extensionId,
                                                                                                             List<String> select,
                                                                                                             List<String> expand)
        Get extensions from directory.
        Parameters:
        administrativeUnitId - key: id of administrativeUnit.
        extensionId - key: id of extension.
        select - Select properties to be returned.
        expand - Expand related entities.
        Returns:
        extensions from directory.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getExtensionsAsync

        Mono<MicrosoftGraphExtensionInner> getExtensionsAsync​(String administrativeUnitId,
                                                              String extensionId,
                                                              List<String> select,
                                                              List<String> expand)
        Get extensions from directory.
        Parameters:
        administrativeUnitId - key: id of administrativeUnit.
        extensionId - key: id of extension.
        select - Select properties to be returned.
        expand - Expand related entities.
        Returns:
        extensions from directory.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getExtensionsAsync

        Mono<MicrosoftGraphExtensionInner> getExtensionsAsync​(String administrativeUnitId,
                                                              String extensionId)
        Get extensions from directory.
        Parameters:
        administrativeUnitId - key: id of administrativeUnit.
        extensionId - key: id of extension.
        Returns:
        extensions from directory.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getExtensions

        MicrosoftGraphExtensionInner getExtensions​(String administrativeUnitId,
                                                   String extensionId)
        Get extensions from directory.
        Parameters:
        administrativeUnitId - key: id of administrativeUnit.
        extensionId - key: id of extension.
        Returns:
        extensions from directory.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getExtensionsWithResponse

        com.azure.core.http.rest.Response<MicrosoftGraphExtensionInner> getExtensionsWithResponse​(String administrativeUnitId,
                                                                                                  String extensionId,
                                                                                                  List<String> select,
                                                                                                  List<String> expand,
                                                                                                  com.azure.core.util.Context context)
        Get extensions from directory.
        Parameters:
        administrativeUnitId - key: id of administrativeUnit.
        extensionId - key: id of extension.
        select - Select properties to be returned.
        expand - Expand related entities.
        context - The context to associate with this operation.
        Returns:
        extensions from directory.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateExtensionsWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> updateExtensionsWithResponseAsync​(String administrativeUnitId,
                                                                                        String extensionId,
                                                                                        MicrosoftGraphExtensionInner body)
        Update the navigation property extensions in directory.
        Parameters:
        administrativeUnitId - key: id of administrativeUnit.
        extensionId - key: id of extension.
        body - New navigation property values.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateExtensionsAsync

        Mono<Void> updateExtensionsAsync​(String administrativeUnitId,
                                         String extensionId,
                                         MicrosoftGraphExtensionInner body)
        Update the navigation property extensions in directory.
        Parameters:
        administrativeUnitId - key: id of administrativeUnit.
        extensionId - key: id of extension.
        body - New navigation property values.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateExtensions

        void updateExtensions​(String administrativeUnitId,
                              String extensionId,
                              MicrosoftGraphExtensionInner body)
        Update the navigation property extensions in directory.
        Parameters:
        administrativeUnitId - key: id of administrativeUnit.
        extensionId - key: id of extension.
        body - New navigation property values.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateExtensionsWithResponse

        com.azure.core.http.rest.Response<Void> updateExtensionsWithResponse​(String administrativeUnitId,
                                                                             String extensionId,
                                                                             MicrosoftGraphExtensionInner body,
                                                                             com.azure.core.util.Context context)
        Update the navigation property extensions in directory.
        Parameters:
        administrativeUnitId - key: id of administrativeUnit.
        extensionId - key: id of extension.
        body - New navigation property values.
        context - The context to associate with this operation.
        Returns:
        the response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteExtensionsWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> deleteExtensionsWithResponseAsync​(String administrativeUnitId,
                                                                                        String extensionId,
                                                                                        String ifMatch)
        Delete navigation property extensions for directory.
        Parameters:
        administrativeUnitId - key: id of administrativeUnit.
        extensionId - key: id of extension.
        ifMatch - ETag.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteExtensionsAsync

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

        Mono<Void> deleteExtensionsAsync​(String administrativeUnitId,
                                         String extensionId)
        Delete navigation property extensions for directory.
        Parameters:
        administrativeUnitId - key: id of administrativeUnit.
        extensionId - key: id of extension.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteExtensions

        void deleteExtensions​(String administrativeUnitId,
                              String extensionId)
        Delete navigation property extensions for directory.
        Parameters:
        administrativeUnitId - key: id of administrativeUnit.
        extensionId - key: id of extension.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteExtensionsWithResponse

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

        com.azure.core.http.rest.PagedFlux<String> listRefMembersAsync​(String administrativeUnitId,
                                                                       Integer top,
                                                                       Integer skip,
                                                                       String search,
                                                                       String filter,
                                                                       Boolean count,
                                                                       List<DirectoryAdministrativeUnitsOrderby> orderby)
        Get ref of members from directory.
        Parameters:
        administrativeUnitId - key: id of administrativeUnit.
        top - Show only the first n items.
        skip - Skip the first n items.
        search - Search items by search phrases.
        filter - Filter items by property values.
        count - Include count of items.
        orderby - Order items by property values.
        Returns:
        ref of members from directory.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listRefMembersAsync

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

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

        com.azure.core.http.rest.PagedIterable<String> listRefMembers​(String administrativeUnitId,
                                                                      Integer top,
                                                                      Integer skip,
                                                                      String search,
                                                                      String filter,
                                                                      Boolean count,
                                                                      List<DirectoryAdministrativeUnitsOrderby> orderby,
                                                                      com.azure.core.util.Context context)
        Get ref of members from directory.
        Parameters:
        administrativeUnitId - key: id of administrativeUnit.
        top - Show only the first n items.
        skip - Skip the first n items.
        search - Search items by search phrases.
        filter - Filter items by property values.
        count - Include count of items.
        orderby - Order items by property values.
        context - The context to associate with this operation.
        Returns:
        ref of members from directory.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createRefMembersWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Map<String,​Object>>> createRefMembersWithResponseAsync​(String administrativeUnitId,
                                                                                                            Map<String,​Object> body)
        Create new navigation property ref to members for directory.
        Parameters:
        administrativeUnitId - key: id of administrativeUnit.
        body - New navigation property ref value.
        Returns:
        dictionary of <any>.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createRefMembersAsync

        Mono<Map<String,​Object>> createRefMembersAsync​(String administrativeUnitId,
                                                             Map<String,​Object> body)
        Create new navigation property ref to members for directory.
        Parameters:
        administrativeUnitId - key: id of administrativeUnit.
        body - New navigation property ref value.
        Returns:
        dictionary of <any>.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createRefMembers

        Map<String,​Object> createRefMembers​(String administrativeUnitId,
                                                  Map<String,​Object> body)
        Create new navigation property ref to members for directory.
        Parameters:
        administrativeUnitId - key: id of administrativeUnit.
        body - New navigation property ref value.
        Returns:
        dictionary of <any>.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createRefMembersWithResponse

        com.azure.core.http.rest.Response<Map<String,​Object>> createRefMembersWithResponse​(String administrativeUnitId,
                                                                                                 Map<String,​Object> body,
                                                                                                 com.azure.core.util.Context context)
        Create new navigation property ref to members for directory.
        Parameters:
        administrativeUnitId - key: id of administrativeUnit.
        body - New navigation property ref value.
        context - The context to associate with this operation.
        Returns:
        dictionary of <any>.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listScopedRoleMembersAsync

        com.azure.core.http.rest.PagedFlux<MicrosoftGraphScopedRoleMembershipInner> listScopedRoleMembersAsync​(String administrativeUnitId)
        Get scopedRoleMembers from directory.
        Parameters:
        administrativeUnitId - key: id of administrativeUnit.
        Returns:
        scopedRoleMembers from directory.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listScopedRoleMembers

        com.azure.core.http.rest.PagedIterable<MicrosoftGraphScopedRoleMembershipInner> listScopedRoleMembers​(String administrativeUnitId)
        Get scopedRoleMembers from directory.
        Parameters:
        administrativeUnitId - key: id of administrativeUnit.
        Returns:
        scopedRoleMembers from directory.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createScopedRoleMembersWithResponse

        com.azure.core.http.rest.Response<MicrosoftGraphScopedRoleMembershipInner> createScopedRoleMembersWithResponse​(String administrativeUnitId,
                                                                                                                       MicrosoftGraphScopedRoleMembershipInner body,
                                                                                                                       com.azure.core.util.Context context)
        Create new navigation property to scopedRoleMembers for directory.
        Parameters:
        administrativeUnitId - key: id of administrativeUnit.
        body - New navigation property.
        context - The context to associate with this operation.
        Returns:
        scopedRoleMembership.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getScopedRoleMembersAsync

        Mono<MicrosoftGraphScopedRoleMembershipInner> getScopedRoleMembersAsync​(String administrativeUnitId,
                                                                                String scopedRoleMembershipId)
        Get scopedRoleMembers from directory.
        Parameters:
        administrativeUnitId - key: id of administrativeUnit.
        scopedRoleMembershipId - key: id of scopedRoleMembership.
        Returns:
        scopedRoleMembers from directory.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getScopedRoleMembers

        MicrosoftGraphScopedRoleMembershipInner getScopedRoleMembers​(String administrativeUnitId,
                                                                     String scopedRoleMembershipId)
        Get scopedRoleMembers from directory.
        Parameters:
        administrativeUnitId - key: id of administrativeUnit.
        scopedRoleMembershipId - key: id of scopedRoleMembership.
        Returns:
        scopedRoleMembers from directory.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getScopedRoleMembersWithResponse

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

        Mono<com.azure.core.http.rest.Response<Void>> updateScopedRoleMembersWithResponseAsync​(String administrativeUnitId,
                                                                                               String scopedRoleMembershipId,
                                                                                               MicrosoftGraphScopedRoleMembershipInner body)
        Update the navigation property scopedRoleMembers in directory.
        Parameters:
        administrativeUnitId - key: id of administrativeUnit.
        scopedRoleMembershipId - key: id of scopedRoleMembership.
        body - New navigation property values.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateScopedRoleMembersAsync

        Mono<Void> updateScopedRoleMembersAsync​(String administrativeUnitId,
                                                String scopedRoleMembershipId,
                                                MicrosoftGraphScopedRoleMembershipInner body)
        Update the navigation property scopedRoleMembers in directory.
        Parameters:
        administrativeUnitId - key: id of administrativeUnit.
        scopedRoleMembershipId - key: id of scopedRoleMembership.
        body - New navigation property values.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateScopedRoleMembers

        void updateScopedRoleMembers​(String administrativeUnitId,
                                     String scopedRoleMembershipId,
                                     MicrosoftGraphScopedRoleMembershipInner body)
        Update the navigation property scopedRoleMembers in directory.
        Parameters:
        administrativeUnitId - key: id of administrativeUnit.
        scopedRoleMembershipId - key: id of scopedRoleMembership.
        body - New navigation property values.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateScopedRoleMembersWithResponse

        com.azure.core.http.rest.Response<Void> updateScopedRoleMembersWithResponse​(String administrativeUnitId,
                                                                                    String scopedRoleMembershipId,
                                                                                    MicrosoftGraphScopedRoleMembershipInner body,
                                                                                    com.azure.core.util.Context context)
        Update the navigation property scopedRoleMembers in directory.
        Parameters:
        administrativeUnitId - key: id of administrativeUnit.
        scopedRoleMembershipId - key: id of scopedRoleMembership.
        body - New navigation property values.
        context - The context to associate with this operation.
        Returns:
        the response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteScopedRoleMembersWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> deleteScopedRoleMembersWithResponseAsync​(String administrativeUnitId,
                                                                                               String scopedRoleMembershipId,
                                                                                               String ifMatch)
        Delete navigation property scopedRoleMembers for directory.
        Parameters:
        administrativeUnitId - key: id of administrativeUnit.
        scopedRoleMembershipId - key: id of scopedRoleMembership.
        ifMatch - ETag.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteScopedRoleMembersAsync

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

        Mono<Void> deleteScopedRoleMembersAsync​(String administrativeUnitId,
                                                String scopedRoleMembershipId)
        Delete navigation property scopedRoleMembers for directory.
        Parameters:
        administrativeUnitId - key: id of administrativeUnit.
        scopedRoleMembershipId - key: id of scopedRoleMembership.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteScopedRoleMembers

        void deleteScopedRoleMembers​(String administrativeUnitId,
                                     String scopedRoleMembershipId)
        Delete navigation property scopedRoleMembers for directory.
        Parameters:
        administrativeUnitId - key: id of administrativeUnit.
        scopedRoleMembershipId - key: id of scopedRoleMembership.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteScopedRoleMembersWithResponse

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