Interface ServicePrincipalsClient


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

      • listAppRoleAssignedToAsync

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

        com.azure.core.http.rest.PagedFlux<MicrosoftGraphAppRoleAssignmentInner> listAppRoleAssignedToAsync​(String servicePrincipalId)
        Get appRoleAssignedTo from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        Returns:
        appRoleAssignedTo from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listAppRoleAssignedTo

        com.azure.core.http.rest.PagedIterable<MicrosoftGraphAppRoleAssignmentInner> listAppRoleAssignedTo​(String servicePrincipalId)
        Get appRoleAssignedTo from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        Returns:
        appRoleAssignedTo from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listAppRoleAssignedTo

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

        com.azure.core.http.rest.Response<MicrosoftGraphAppRoleAssignmentInner> createAppRoleAssignedToWithResponse​(String servicePrincipalId,
                                                                                                                    MicrosoftGraphAppRoleAssignmentInner body,
                                                                                                                    com.azure.core.util.Context context)
        Create new navigation property to appRoleAssignedTo for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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.
      • getAppRoleAssignedToWithResponseAsync

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

        Mono<MicrosoftGraphAppRoleAssignmentInner> getAppRoleAssignedToAsync​(String servicePrincipalId,
                                                                             String appRoleAssignmentId)
        Get appRoleAssignedTo from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        appRoleAssignmentId - key: id of appRoleAssignment.
        Returns:
        appRoleAssignedTo from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getAppRoleAssignedTo

        MicrosoftGraphAppRoleAssignmentInner getAppRoleAssignedTo​(String servicePrincipalId,
                                                                  String appRoleAssignmentId)
        Get appRoleAssignedTo from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        appRoleAssignmentId - key: id of appRoleAssignment.
        Returns:
        appRoleAssignedTo from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getAppRoleAssignedToWithResponse

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

        Mono<com.azure.core.http.rest.Response<Void>> updateAppRoleAssignedToWithResponseAsync​(String servicePrincipalId,
                                                                                               String appRoleAssignmentId,
                                                                                               MicrosoftGraphAppRoleAssignmentInner body)
        Update the navigation property appRoleAssignedTo in servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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.
      • updateAppRoleAssignedToAsync

        Mono<Void> updateAppRoleAssignedToAsync​(String servicePrincipalId,
                                                String appRoleAssignmentId,
                                                MicrosoftGraphAppRoleAssignmentInner body)
        Update the navigation property appRoleAssignedTo in servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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.
      • updateAppRoleAssignedTo

        void updateAppRoleAssignedTo​(String servicePrincipalId,
                                     String appRoleAssignmentId,
                                     MicrosoftGraphAppRoleAssignmentInner body)
        Update the navigation property appRoleAssignedTo in servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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.
      • updateAppRoleAssignedToWithResponse

        com.azure.core.http.rest.Response<Void> updateAppRoleAssignedToWithResponse​(String servicePrincipalId,
                                                                                    String appRoleAssignmentId,
                                                                                    MicrosoftGraphAppRoleAssignmentInner body,
                                                                                    com.azure.core.util.Context context)
        Update the navigation property appRoleAssignedTo in servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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.
      • deleteAppRoleAssignedToWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> deleteAppRoleAssignedToWithResponseAsync​(String servicePrincipalId,
                                                                                               String appRoleAssignmentId,
                                                                                               String ifMatch)
        Delete navigation property appRoleAssignedTo for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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.
      • deleteAppRoleAssignedToAsync

        Mono<Void> deleteAppRoleAssignedToAsync​(String servicePrincipalId,
                                                String appRoleAssignmentId,
                                                String ifMatch)
        Delete navigation property appRoleAssignedTo for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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.
      • deleteAppRoleAssignedToAsync

        Mono<Void> deleteAppRoleAssignedToAsync​(String servicePrincipalId,
                                                String appRoleAssignmentId)
        Delete navigation property appRoleAssignedTo for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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.
      • deleteAppRoleAssignedTo

        void deleteAppRoleAssignedTo​(String servicePrincipalId,
                                     String appRoleAssignmentId)
        Delete navigation property appRoleAssignedTo for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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.
      • deleteAppRoleAssignedToWithResponse

        com.azure.core.http.rest.Response<Void> deleteAppRoleAssignedToWithResponse​(String servicePrincipalId,
                                                                                    String appRoleAssignmentId,
                                                                                    String ifMatch,
                                                                                    com.azure.core.util.Context context)
        Delete navigation property appRoleAssignedTo for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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.
      • listAppRoleAssignmentsAsync

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

        com.azure.core.http.rest.PagedFlux<MicrosoftGraphAppRoleAssignmentInner> listAppRoleAssignmentsAsync​(String servicePrincipalId)
        Get appRoleAssignments from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        Returns:
        appRoleAssignments from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail 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 servicePrincipalId)
        Get appRoleAssignments from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        Returns:
        appRoleAssignments from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail 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 servicePrincipalId,
                                                                                                            Integer top,
                                                                                                            Integer skip,
                                                                                                            String search,
                                                                                                            String filter,
                                                                                                            Boolean count,
                                                                                                            List<ServicePrincipalsOrderby> orderby,
                                                                                                            List<ServicePrincipalsSelect> select,
                                                                                                            List<String> expand,
                                                                                                            com.azure.core.util.Context context)
        Get appRoleAssignments from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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 servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail 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 servicePrincipalId,
                                                                                                                     MicrosoftGraphAppRoleAssignmentInner body,
                                                                                                                     com.azure.core.util.Context context)
        Create new navigation property to appRoleAssignments for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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 servicePrincipalId,
                                                                                                                             String appRoleAssignmentId,
                                                                                                                             List<ServicePrincipalsSelect> select,
                                                                                                                             List<String> expand)
        Get appRoleAssignments from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        appRoleAssignmentId - key: id of appRoleAssignment.
        select - Select properties to be returned.
        expand - Expand related entities.
        Returns:
        appRoleAssignments from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getAppRoleAssignmentsAsync

        Mono<MicrosoftGraphAppRoleAssignmentInner> getAppRoleAssignmentsAsync​(String servicePrincipalId,
                                                                              String appRoleAssignmentId)
        Get appRoleAssignments from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        appRoleAssignmentId - key: id of appRoleAssignment.
        Returns:
        appRoleAssignments from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getAppRoleAssignments

        MicrosoftGraphAppRoleAssignmentInner getAppRoleAssignments​(String servicePrincipalId,
                                                                   String appRoleAssignmentId)
        Get appRoleAssignments from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        appRoleAssignmentId - key: id of appRoleAssignment.
        Returns:
        appRoleAssignments from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail 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 servicePrincipalId,
                                                                                                                  String appRoleAssignmentId,
                                                                                                                  List<ServicePrincipalsSelect> select,
                                                                                                                  List<String> expand,
                                                                                                                  com.azure.core.util.Context context)
        Get appRoleAssignments from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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 servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail 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 servicePrincipalId,
                                                                                                String appRoleAssignmentId,
                                                                                                MicrosoftGraphAppRoleAssignmentInner body)
        Update the navigation property appRoleAssignments in servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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 servicePrincipalId,
                                                 String appRoleAssignmentId,
                                                 MicrosoftGraphAppRoleAssignmentInner body)
        Update the navigation property appRoleAssignments in servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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 servicePrincipalId,
                                      String appRoleAssignmentId,
                                      MicrosoftGraphAppRoleAssignmentInner body)
        Update the navigation property appRoleAssignments in servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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 servicePrincipalId,
                                                                                     String appRoleAssignmentId,
                                                                                     MicrosoftGraphAppRoleAssignmentInner body,
                                                                                     com.azure.core.util.Context context)
        Update the navigation property appRoleAssignments in servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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 servicePrincipalId,
                                                                                                String appRoleAssignmentId,
                                                                                                String ifMatch)
        Delete navigation property appRoleAssignments for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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 servicePrincipalId,
                                                 String appRoleAssignmentId,
                                                 String ifMatch)
        Delete navigation property appRoleAssignments for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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 servicePrincipalId,
                                                 String appRoleAssignmentId)
        Delete navigation property appRoleAssignments for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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 servicePrincipalId,
                                      String appRoleAssignmentId)
        Delete navigation property appRoleAssignments for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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 servicePrincipalId,
                                                                                     String appRoleAssignmentId,
                                                                                     String ifMatch,
                                                                                     com.azure.core.util.Context context)
        Delete navigation property appRoleAssignments for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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.
      • listClaimsMappingPoliciesAsync

        com.azure.core.http.rest.PagedFlux<MicrosoftGraphClaimsMappingPolicyInner> listClaimsMappingPoliciesAsync​(String servicePrincipalId)
        Get claimsMappingPolicies from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        Returns:
        claimsMappingPolicies from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listClaimsMappingPolicies

        com.azure.core.http.rest.PagedIterable<MicrosoftGraphClaimsMappingPolicyInner> listClaimsMappingPolicies​(String servicePrincipalId)
        Get claimsMappingPolicies from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        Returns:
        claimsMappingPolicies from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listClaimsMappingPolicies

        com.azure.core.http.rest.PagedIterable<MicrosoftGraphClaimsMappingPolicyInner> listClaimsMappingPolicies​(String servicePrincipalId,
                                                                                                                 Integer top,
                                                                                                                 Integer skip,
                                                                                                                 String search,
                                                                                                                 String filter,
                                                                                                                 Boolean count,
                                                                                                                 List<ServicePrincipalsOrderby> orderby,
                                                                                                                 List<ServicePrincipalsSelect> select,
                                                                                                                 List<ServicePrincipalsExpand> expand,
                                                                                                                 com.azure.core.util.Context context)
        Get claimsMappingPolicies from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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:
        claimsMappingPolicies from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listRefClaimsMappingPoliciesAsync

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

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

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

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

        Mono<com.azure.core.http.rest.Response<Map<String,​Object>>> createRefClaimsMappingPoliciesWithResponseAsync​(String servicePrincipalId,
                                                                                                                          Map<String,​Object> body)
        Create new navigation property ref to claimsMappingPolicies for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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.
      • createRefClaimsMappingPoliciesAsync

        Mono<Map<String,​Object>> createRefClaimsMappingPoliciesAsync​(String servicePrincipalId,
                                                                           Map<String,​Object> body)
        Create new navigation property ref to claimsMappingPolicies for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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.
      • createRefClaimsMappingPolicies

        Map<String,​Object> createRefClaimsMappingPolicies​(String servicePrincipalId,
                                                                Map<String,​Object> body)
        Create new navigation property ref to claimsMappingPolicies for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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.
      • createRefClaimsMappingPoliciesWithResponse

        com.azure.core.http.rest.Response<Map<String,​Object>> createRefClaimsMappingPoliciesWithResponse​(String servicePrincipalId,
                                                                                                               Map<String,​Object> body,
                                                                                                               com.azure.core.util.Context context)
        Create new navigation property ref to claimsMappingPolicies for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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.
      • listCreatedObjectsAsync

        com.azure.core.http.rest.PagedFlux<MicrosoftGraphDirectoryObjectInner> listCreatedObjectsAsync​(String servicePrincipalId,
                                                                                                       Integer top,
                                                                                                       Integer skip,
                                                                                                       String search,
                                                                                                       String filter,
                                                                                                       Boolean count,
                                                                                                       List<ServicePrincipalsOrderby> orderby,
                                                                                                       List<ServicePrincipalsSelect> select,
                                                                                                       List<String> expand)
        Get createdObjects from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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 servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail 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 servicePrincipalId)
        Get createdObjects from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        Returns:
        createdObjects from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail 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 servicePrincipalId)
        Get createdObjects from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        Returns:
        createdObjects from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail 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 servicePrincipalId,
                                                                                                      Integer top,
                                                                                                      Integer skip,
                                                                                                      String search,
                                                                                                      String filter,
                                                                                                      Boolean count,
                                                                                                      List<ServicePrincipalsOrderby> orderby,
                                                                                                      List<ServicePrincipalsSelect> select,
                                                                                                      List<String> expand,
                                                                                                      com.azure.core.util.Context context)
        Get createdObjects from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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 servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail 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 servicePrincipalId,
                                                                              Integer top,
                                                                              Integer skip,
                                                                              String search,
                                                                              String filter,
                                                                              Boolean count,
                                                                              List<ServicePrincipalsOrderby> orderby)
        Get ref of createdObjects from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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 servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail 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 servicePrincipalId)
        Get ref of createdObjects from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        Returns:
        ref of createdObjects from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail 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 servicePrincipalId)
        Get ref of createdObjects from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        Returns:
        ref of createdObjects from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail 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 servicePrincipalId,
                                                                             Integer top,
                                                                             Integer skip,
                                                                             String search,
                                                                             String filter,
                                                                             Boolean count,
                                                                             List<ServicePrincipalsOrderby> orderby,
                                                                             com.azure.core.util.Context context)
        Get ref of createdObjects from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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 servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail 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 servicePrincipalId,
                                                                                                                   Map<String,​Object> body)
        Create new navigation property ref to createdObjects for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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 servicePrincipalId,
                                                                    Map<String,​Object> body)
        Create new navigation property ref to createdObjects for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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 servicePrincipalId,
                                                         Map<String,​Object> body)
        Create new navigation property ref to createdObjects for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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 servicePrincipalId,
                                                                                                        Map<String,​Object> body,
                                                                                                        com.azure.core.util.Context context)
        Create new navigation property ref to createdObjects for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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.
      • listDelegatedPermissionClassificationsAsync

        com.azure.core.http.rest.PagedFlux<MicrosoftGraphDelegatedPermissionClassificationInner> listDelegatedPermissionClassificationsAsync​(String servicePrincipalId,
                                                                                                                                             Integer top,
                                                                                                                                             Integer skip,
                                                                                                                                             String search,
                                                                                                                                             String filter,
                                                                                                                                             Boolean count,
                                                                                                                                             List<ServicePrincipalsOrderby> orderby,
                                                                                                                                             List<ServicePrincipalsSelect> select,
                                                                                                                                             List<String> expand)
        Get delegatedPermissionClassifications from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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:
        delegatedPermissionClassifications from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listDelegatedPermissionClassificationsAsync

        com.azure.core.http.rest.PagedFlux<MicrosoftGraphDelegatedPermissionClassificationInner> listDelegatedPermissionClassificationsAsync​(String servicePrincipalId)
        Get delegatedPermissionClassifications from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        Returns:
        delegatedPermissionClassifications from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listDelegatedPermissionClassifications

        com.azure.core.http.rest.PagedIterable<MicrosoftGraphDelegatedPermissionClassificationInner> listDelegatedPermissionClassifications​(String servicePrincipalId)
        Get delegatedPermissionClassifications from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        Returns:
        delegatedPermissionClassifications from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listDelegatedPermissionClassifications

        com.azure.core.http.rest.PagedIterable<MicrosoftGraphDelegatedPermissionClassificationInner> listDelegatedPermissionClassifications​(String servicePrincipalId,
                                                                                                                                            Integer top,
                                                                                                                                            Integer skip,
                                                                                                                                            String search,
                                                                                                                                            String filter,
                                                                                                                                            Boolean count,
                                                                                                                                            List<ServicePrincipalsOrderby> orderby,
                                                                                                                                            List<ServicePrincipalsSelect> select,
                                                                                                                                            List<String> expand,
                                                                                                                                            com.azure.core.util.Context context)
        Get delegatedPermissionClassifications from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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:
        delegatedPermissionClassifications from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getDelegatedPermissionClassificationsWithResponseAsync

        Mono<com.azure.core.http.rest.Response<MicrosoftGraphDelegatedPermissionClassificationInner>> getDelegatedPermissionClassificationsWithResponseAsync​(String servicePrincipalId,
                                                                                                                                                             String delegatedPermissionClassificationId,
                                                                                                                                                             List<ServicePrincipalsSelect> select,
                                                                                                                                                             List<String> expand)
        Get delegatedPermissionClassifications from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        delegatedPermissionClassificationId - key: id of delegatedPermissionClassification.
        select - Select properties to be returned.
        expand - Expand related entities.
        Returns:
        delegatedPermissionClassifications from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getDelegatedPermissionClassificationsAsync

        Mono<MicrosoftGraphDelegatedPermissionClassificationInner> getDelegatedPermissionClassificationsAsync​(String servicePrincipalId,
                                                                                                              String delegatedPermissionClassificationId,
                                                                                                              List<ServicePrincipalsSelect> select,
                                                                                                              List<String> expand)
        Get delegatedPermissionClassifications from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        delegatedPermissionClassificationId - key: id of delegatedPermissionClassification.
        select - Select properties to be returned.
        expand - Expand related entities.
        Returns:
        delegatedPermissionClassifications from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getDelegatedPermissionClassificationsAsync

        Mono<MicrosoftGraphDelegatedPermissionClassificationInner> getDelegatedPermissionClassificationsAsync​(String servicePrincipalId,
                                                                                                              String delegatedPermissionClassificationId)
        Get delegatedPermissionClassifications from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        delegatedPermissionClassificationId - key: id of delegatedPermissionClassification.
        Returns:
        delegatedPermissionClassifications from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getDelegatedPermissionClassifications

        MicrosoftGraphDelegatedPermissionClassificationInner getDelegatedPermissionClassifications​(String servicePrincipalId,
                                                                                                   String delegatedPermissionClassificationId)
        Get delegatedPermissionClassifications from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        delegatedPermissionClassificationId - key: id of delegatedPermissionClassification.
        Returns:
        delegatedPermissionClassifications from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getDelegatedPermissionClassificationsWithResponse

        com.azure.core.http.rest.Response<MicrosoftGraphDelegatedPermissionClassificationInner> getDelegatedPermissionClassificationsWithResponse​(String servicePrincipalId,
                                                                                                                                                  String delegatedPermissionClassificationId,
                                                                                                                                                  List<ServicePrincipalsSelect> select,
                                                                                                                                                  List<String> expand,
                                                                                                                                                  com.azure.core.util.Context context)
        Get delegatedPermissionClassifications from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        delegatedPermissionClassificationId - key: id of delegatedPermissionClassification.
        select - Select properties to be returned.
        expand - Expand related entities.
        context - The context to associate with this operation.
        Returns:
        delegatedPermissionClassifications from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateDelegatedPermissionClassificationsWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> updateDelegatedPermissionClassificationsWithResponseAsync​(String servicePrincipalId,
                                                                                                                String delegatedPermissionClassificationId,
                                                                                                                MicrosoftGraphDelegatedPermissionClassificationInner body)
        Update the navigation property delegatedPermissionClassifications in servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        delegatedPermissionClassificationId - key: id of delegatedPermissionClassification.
        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.
      • updateDelegatedPermissionClassificationsAsync

        Mono<Void> updateDelegatedPermissionClassificationsAsync​(String servicePrincipalId,
                                                                 String delegatedPermissionClassificationId,
                                                                 MicrosoftGraphDelegatedPermissionClassificationInner body)
        Update the navigation property delegatedPermissionClassifications in servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        delegatedPermissionClassificationId - key: id of delegatedPermissionClassification.
        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.
      • updateDelegatedPermissionClassifications

        void updateDelegatedPermissionClassifications​(String servicePrincipalId,
                                                      String delegatedPermissionClassificationId,
                                                      MicrosoftGraphDelegatedPermissionClassificationInner body)
        Update the navigation property delegatedPermissionClassifications in servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        delegatedPermissionClassificationId - key: id of delegatedPermissionClassification.
        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.
      • updateDelegatedPermissionClassificationsWithResponse

        com.azure.core.http.rest.Response<Void> updateDelegatedPermissionClassificationsWithResponse​(String servicePrincipalId,
                                                                                                     String delegatedPermissionClassificationId,
                                                                                                     MicrosoftGraphDelegatedPermissionClassificationInner body,
                                                                                                     com.azure.core.util.Context context)
        Update the navigation property delegatedPermissionClassifications in servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        delegatedPermissionClassificationId - key: id of delegatedPermissionClassification.
        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.
      • deleteDelegatedPermissionClassificationsWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> deleteDelegatedPermissionClassificationsWithResponseAsync​(String servicePrincipalId,
                                                                                                                String delegatedPermissionClassificationId,
                                                                                                                String ifMatch)
        Delete navigation property delegatedPermissionClassifications for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        delegatedPermissionClassificationId - key: id of delegatedPermissionClassification.
        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.
      • deleteDelegatedPermissionClassificationsAsync

        Mono<Void> deleteDelegatedPermissionClassificationsAsync​(String servicePrincipalId,
                                                                 String delegatedPermissionClassificationId,
                                                                 String ifMatch)
        Delete navigation property delegatedPermissionClassifications for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        delegatedPermissionClassificationId - key: id of delegatedPermissionClassification.
        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.
      • deleteDelegatedPermissionClassificationsAsync

        Mono<Void> deleteDelegatedPermissionClassificationsAsync​(String servicePrincipalId,
                                                                 String delegatedPermissionClassificationId)
        Delete navigation property delegatedPermissionClassifications for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        delegatedPermissionClassificationId - key: id of delegatedPermissionClassification.
        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.
      • deleteDelegatedPermissionClassifications

        void deleteDelegatedPermissionClassifications​(String servicePrincipalId,
                                                      String delegatedPermissionClassificationId)
        Delete navigation property delegatedPermissionClassifications for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        delegatedPermissionClassificationId - key: id of delegatedPermissionClassification.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteDelegatedPermissionClassificationsWithResponse

        com.azure.core.http.rest.Response<Void> deleteDelegatedPermissionClassificationsWithResponse​(String servicePrincipalId,
                                                                                                     String delegatedPermissionClassificationId,
                                                                                                     String ifMatch,
                                                                                                     com.azure.core.util.Context context)
        Delete navigation property delegatedPermissionClassifications for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        delegatedPermissionClassificationId - key: id of delegatedPermissionClassification.
        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.
      • listEndpointsAsync

        com.azure.core.http.rest.PagedFlux<MicrosoftGraphEndpointInner> listEndpointsAsync​(String servicePrincipalId,
                                                                                           Integer top,
                                                                                           Integer skip,
                                                                                           String search,
                                                                                           String filter,
                                                                                           Boolean count,
                                                                                           List<ServicePrincipalsOrderby> orderby,
                                                                                           List<ServicePrincipalsSelect> select,
                                                                                           List<String> expand)
        Get endpoints from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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:
        endpoints from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listEndpointsAsync

        com.azure.core.http.rest.PagedFlux<MicrosoftGraphEndpointInner> listEndpointsAsync​(String servicePrincipalId)
        Get endpoints from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        Returns:
        endpoints from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listEndpoints

        com.azure.core.http.rest.PagedIterable<MicrosoftGraphEndpointInner> listEndpoints​(String servicePrincipalId)
        Get endpoints from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        Returns:
        endpoints from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listEndpoints

        com.azure.core.http.rest.PagedIterable<MicrosoftGraphEndpointInner> listEndpoints​(String servicePrincipalId,
                                                                                          Integer top,
                                                                                          Integer skip,
                                                                                          String search,
                                                                                          String filter,
                                                                                          Boolean count,
                                                                                          List<ServicePrincipalsOrderby> orderby,
                                                                                          List<ServicePrincipalsSelect> select,
                                                                                          List<String> expand,
                                                                                          com.azure.core.util.Context context)
        Get endpoints from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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:
        endpoints from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createEndpointsWithResponseAsync

        Mono<com.azure.core.http.rest.Response<MicrosoftGraphEndpointInner>> createEndpointsWithResponseAsync​(String servicePrincipalId,
                                                                                                              MicrosoftGraphEndpointInner body)
        Create new navigation property to endpoints for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        body - New navigation property.
        Returns:
        represents an Azure Active Directory object.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createEndpointsWithResponse

        com.azure.core.http.rest.Response<MicrosoftGraphEndpointInner> createEndpointsWithResponse​(String servicePrincipalId,
                                                                                                   MicrosoftGraphEndpointInner body,
                                                                                                   com.azure.core.util.Context context)
        Create new navigation property to endpoints for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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.
      • getEndpointsWithResponseAsync

        Mono<com.azure.core.http.rest.Response<MicrosoftGraphEndpointInner>> getEndpointsWithResponseAsync​(String servicePrincipalId,
                                                                                                           String endpointId,
                                                                                                           List<ServicePrincipalsSelect> select,
                                                                                                           List<String> expand)
        Get endpoints from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        endpointId - key: id of endpoint.
        select - Select properties to be returned.
        expand - Expand related entities.
        Returns:
        endpoints from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getEndpointsAsync

        Mono<MicrosoftGraphEndpointInner> getEndpointsAsync​(String servicePrincipalId,
                                                            String endpointId)
        Get endpoints from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        endpointId - key: id of endpoint.
        Returns:
        endpoints from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getEndpoints

        MicrosoftGraphEndpointInner getEndpoints​(String servicePrincipalId,
                                                 String endpointId)
        Get endpoints from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        endpointId - key: id of endpoint.
        Returns:
        endpoints from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getEndpointsWithResponse

        com.azure.core.http.rest.Response<MicrosoftGraphEndpointInner> getEndpointsWithResponse​(String servicePrincipalId,
                                                                                                String endpointId,
                                                                                                List<ServicePrincipalsSelect> select,
                                                                                                List<String> expand,
                                                                                                com.azure.core.util.Context context)
        Get endpoints from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        endpointId - key: id of endpoint.
        select - Select properties to be returned.
        expand - Expand related entities.
        context - The context to associate with this operation.
        Returns:
        endpoints from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateEndpointsWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> updateEndpointsWithResponseAsync​(String servicePrincipalId,
                                                                                       String endpointId,
                                                                                       MicrosoftGraphEndpointInner body)
        Update the navigation property endpoints in servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        endpointId - key: id of endpoint.
        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.
      • updateEndpointsAsync

        Mono<Void> updateEndpointsAsync​(String servicePrincipalId,
                                        String endpointId,
                                        MicrosoftGraphEndpointInner body)
        Update the navigation property endpoints in servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        endpointId - key: id of endpoint.
        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.
      • updateEndpoints

        void updateEndpoints​(String servicePrincipalId,
                             String endpointId,
                             MicrosoftGraphEndpointInner body)
        Update the navigation property endpoints in servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        endpointId - key: id of endpoint.
        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.
      • updateEndpointsWithResponse

        com.azure.core.http.rest.Response<Void> updateEndpointsWithResponse​(String servicePrincipalId,
                                                                            String endpointId,
                                                                            MicrosoftGraphEndpointInner body,
                                                                            com.azure.core.util.Context context)
        Update the navigation property endpoints in servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        endpointId - key: id of endpoint.
        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.
      • deleteEndpointsWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> deleteEndpointsWithResponseAsync​(String servicePrincipalId,
                                                                                       String endpointId,
                                                                                       String ifMatch)
        Delete navigation property endpoints for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        endpointId - key: id of endpoint.
        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.
      • deleteEndpointsAsync

        Mono<Void> deleteEndpointsAsync​(String servicePrincipalId,
                                        String endpointId,
                                        String ifMatch)
        Delete navigation property endpoints for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        endpointId - key: id of endpoint.
        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.
      • deleteEndpointsAsync

        Mono<Void> deleteEndpointsAsync​(String servicePrincipalId,
                                        String endpointId)
        Delete navigation property endpoints for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        endpointId - key: id of endpoint.
        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.
      • deleteEndpoints

        void deleteEndpoints​(String servicePrincipalId,
                             String endpointId)
        Delete navigation property endpoints for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        endpointId - key: id of endpoint.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteEndpointsWithResponse

        com.azure.core.http.rest.Response<Void> deleteEndpointsWithResponse​(String servicePrincipalId,
                                                                            String endpointId,
                                                                            String ifMatch,
                                                                            com.azure.core.util.Context context)
        Delete navigation property endpoints for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        endpointId - key: id of endpoint.
        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.
      • listHomeRealmDiscoveryPoliciesAsync

        com.azure.core.http.rest.PagedFlux<MicrosoftGraphHomeRealmDiscoveryPolicyInner> listHomeRealmDiscoveryPoliciesAsync​(String servicePrincipalId)
        Get homeRealmDiscoveryPolicies from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        Returns:
        homeRealmDiscoveryPolicies from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listHomeRealmDiscoveryPolicies

        com.azure.core.http.rest.PagedIterable<MicrosoftGraphHomeRealmDiscoveryPolicyInner> listHomeRealmDiscoveryPolicies​(String servicePrincipalId)
        Get homeRealmDiscoveryPolicies from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        Returns:
        homeRealmDiscoveryPolicies from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listHomeRealmDiscoveryPolicies

        com.azure.core.http.rest.PagedIterable<MicrosoftGraphHomeRealmDiscoveryPolicyInner> listHomeRealmDiscoveryPolicies​(String servicePrincipalId,
                                                                                                                           Integer top,
                                                                                                                           Integer skip,
                                                                                                                           String search,
                                                                                                                           String filter,
                                                                                                                           Boolean count,
                                                                                                                           List<ServicePrincipalsOrderby> orderby,
                                                                                                                           List<ServicePrincipalsSelect> select,
                                                                                                                           List<ServicePrincipalsExpand> expand,
                                                                                                                           com.azure.core.util.Context context)
        Get homeRealmDiscoveryPolicies from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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:
        homeRealmDiscoveryPolicies from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listRefHomeRealmDiscoveryPoliciesAsync

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

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

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

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

        Mono<com.azure.core.http.rest.Response<Map<String,​Object>>> createRefHomeRealmDiscoveryPoliciesWithResponseAsync​(String servicePrincipalId,
                                                                                                                               Map<String,​Object> body)
        Create new navigation property ref to homeRealmDiscoveryPolicies for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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.
      • createRefHomeRealmDiscoveryPoliciesAsync

        Mono<Map<String,​Object>> createRefHomeRealmDiscoveryPoliciesAsync​(String servicePrincipalId,
                                                                                Map<String,​Object> body)
        Create new navigation property ref to homeRealmDiscoveryPolicies for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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.
      • createRefHomeRealmDiscoveryPolicies

        Map<String,​Object> createRefHomeRealmDiscoveryPolicies​(String servicePrincipalId,
                                                                     Map<String,​Object> body)
        Create new navigation property ref to homeRealmDiscoveryPolicies for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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.
      • createRefHomeRealmDiscoveryPoliciesWithResponse

        com.azure.core.http.rest.Response<Map<String,​Object>> createRefHomeRealmDiscoveryPoliciesWithResponse​(String servicePrincipalId,
                                                                                                                    Map<String,​Object> body,
                                                                                                                    com.azure.core.util.Context context)
        Create new navigation property ref to homeRealmDiscoveryPolicies for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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.
      • listMemberOfAsync

        com.azure.core.http.rest.PagedFlux<MicrosoftGraphDirectoryObjectInner> listMemberOfAsync​(String servicePrincipalId)
        Get memberOf from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        Returns:
        memberOf from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail 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 servicePrincipalId,
                                                                                                Integer top,
                                                                                                Integer skip,
                                                                                                String search,
                                                                                                String filter,
                                                                                                Boolean count,
                                                                                                List<ServicePrincipalsOrderby> orderby,
                                                                                                List<ServicePrincipalsSelect> select,
                                                                                                List<String> expand,
                                                                                                com.azure.core.util.Context context)
        Get memberOf from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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 servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail 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 servicePrincipalId,
                                                                        Integer top,
                                                                        Integer skip,
                                                                        String search,
                                                                        String filter,
                                                                        Boolean count,
                                                                        List<ServicePrincipalsOrderby> orderby)
        Get ref of memberOf from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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 servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail 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 servicePrincipalId)
        Get ref of memberOf from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        Returns:
        ref of memberOf from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail 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 servicePrincipalId)
        Get ref of memberOf from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        Returns:
        ref of memberOf from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail 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 servicePrincipalId,
                                                                       Integer top,
                                                                       Integer skip,
                                                                       String search,
                                                                       String filter,
                                                                       Boolean count,
                                                                       List<ServicePrincipalsOrderby> orderby,
                                                                       com.azure.core.util.Context context)
        Get ref of memberOf from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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 servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail 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 servicePrincipalId,
                                                                                                             Map<String,​Object> body)
        Create new navigation property ref to memberOf for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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 servicePrincipalId,
                                                              Map<String,​Object> body)
        Create new navigation property ref to memberOf for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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 servicePrincipalId,
                                                   Map<String,​Object> body)
        Create new navigation property ref to memberOf for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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 servicePrincipalId,
                                                                                                  Map<String,​Object> body,
                                                                                                  com.azure.core.util.Context context)
        Create new navigation property ref to memberOf for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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.
      • checkMemberGroupsWithResponse

        com.azure.core.http.rest.Response<List<String>> checkMemberGroupsWithResponse​(String servicePrincipalId,
                                                                                      ServicePrincipalsCheckMemberGroupsRequestBody body,
                                                                                      com.azure.core.util.Context context)
        Invoke action checkMemberGroups.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        body - Action parameters.
        context - The context to associate with this operation.
        Returns:
        array of String.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • checkMemberObjectsWithResponse

        com.azure.core.http.rest.Response<List<String>> checkMemberObjectsWithResponse​(String servicePrincipalId,
                                                                                       ServicePrincipalsCheckMemberObjectsRequestBody body,
                                                                                       com.azure.core.util.Context context)
        Invoke action checkMemberObjects.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        body - Action parameters.
        context - The context to associate with this operation.
        Returns:
        array of String.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getMemberGroupsWithResponse

        com.azure.core.http.rest.Response<List<String>> getMemberGroupsWithResponse​(String servicePrincipalId,
                                                                                    ServicePrincipalsGetMemberGroupsRequestBody body,
                                                                                    com.azure.core.util.Context context)
        Invoke action getMemberGroups.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        body - Action parameters.
        context - The context to associate with this operation.
        Returns:
        array of String.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getMemberObjectsWithResponse

        com.azure.core.http.rest.Response<List<String>> getMemberObjectsWithResponse​(String servicePrincipalId,
                                                                                     ServicePrincipalsGetMemberObjectsRequestBody body,
                                                                                     com.azure.core.util.Context context)
        Invoke action getMemberObjects.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        body - Action parameters.
        context - The context to associate with this operation.
        Returns:
        array of String.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • removeKeyWithResponse

        com.azure.core.http.rest.Response<Void> removeKeyWithResponse​(String servicePrincipalId,
                                                                      ServicePrincipalsRemoveKeyRequestBody body,
                                                                      com.azure.core.util.Context context)
        Invoke action removeKey.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        body - Action parameters.
        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.
      • removePasswordWithResponse

        com.azure.core.http.rest.Response<Void> removePasswordWithResponse​(String servicePrincipalId,
                                                                           ServicePrincipalsRemovePasswordRequestBody body,
                                                                           com.azure.core.util.Context context)
        Invoke action removePassword.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        body - Action parameters.
        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.
      • restoreWithResponseAsync

        Mono<com.azure.core.http.rest.Response<MicrosoftGraphDirectoryObjectInner>> restoreWithResponseAsync​(String servicePrincipalId)
        Invoke action restore.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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.
      • restoreWithResponse

        com.azure.core.http.rest.Response<MicrosoftGraphDirectoryObjectInner> restoreWithResponse​(String servicePrincipalId,
                                                                                                  com.azure.core.util.Context context)
        Invoke action restore.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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.
      • listOauth2PermissionGrantsAsync

        com.azure.core.http.rest.PagedFlux<MicrosoftGraphOAuth2PermissionGrantInner> listOauth2PermissionGrantsAsync​(String servicePrincipalId,
                                                                                                                     Integer top,
                                                                                                                     Integer skip,
                                                                                                                     String search,
                                                                                                                     String filter,
                                                                                                                     Boolean count,
                                                                                                                     List<ServicePrincipalsOrderby> orderby,
                                                                                                                     List<ServicePrincipalsSelect> select,
                                                                                                                     List<String> expand)
        Get oauth2PermissionGrants from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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 servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail 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 servicePrincipalId)
        Get oauth2PermissionGrants from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        Returns:
        oauth2PermissionGrants from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail 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 servicePrincipalId)
        Get oauth2PermissionGrants from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        Returns:
        oauth2PermissionGrants from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail 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 servicePrincipalId,
                                                                                                                    Integer top,
                                                                                                                    Integer skip,
                                                                                                                    String search,
                                                                                                                    String filter,
                                                                                                                    Boolean count,
                                                                                                                    List<ServicePrincipalsOrderby> orderby,
                                                                                                                    List<ServicePrincipalsSelect> select,
                                                                                                                    List<String> expand,
                                                                                                                    com.azure.core.util.Context context)
        Get oauth2PermissionGrants from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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 servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail 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 servicePrincipalId,
                                                                                      Integer top,
                                                                                      Integer skip,
                                                                                      String search,
                                                                                      String filter,
                                                                                      Boolean count,
                                                                                      List<ServicePrincipalsOrderby> orderby)
        Get ref of oauth2PermissionGrants from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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 servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail 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 servicePrincipalId)
        Get ref of oauth2PermissionGrants from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        Returns:
        ref of oauth2PermissionGrants from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail 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 servicePrincipalId)
        Get ref of oauth2PermissionGrants from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        Returns:
        ref of oauth2PermissionGrants from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail 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 servicePrincipalId,
                                                                                     Integer top,
                                                                                     Integer skip,
                                                                                     String search,
                                                                                     String filter,
                                                                                     Boolean count,
                                                                                     List<ServicePrincipalsOrderby> orderby,
                                                                                     com.azure.core.util.Context context)
        Get ref of oauth2PermissionGrants from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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 servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail 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 servicePrincipalId,
                                                                                                                           Map<String,​Object> body)
        Create new navigation property ref to oauth2PermissionGrants for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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 servicePrincipalId,
                                                                            Map<String,​Object> body)
        Create new navigation property ref to oauth2PermissionGrants for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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 servicePrincipalId,
                                                                 Map<String,​Object> body)
        Create new navigation property ref to oauth2PermissionGrants for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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 servicePrincipalId,
                                                                                                                Map<String,​Object> body,
                                                                                                                com.azure.core.util.Context context)
        Create new navigation property ref to oauth2PermissionGrants for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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 servicePrincipalId,
                                                                                                     Integer top,
                                                                                                     Integer skip,
                                                                                                     String search,
                                                                                                     String filter,
                                                                                                     Boolean count,
                                                                                                     List<ServicePrincipalsOrderby> orderby,
                                                                                                     List<ServicePrincipalsSelect> select,
                                                                                                     List<String> expand)
        Get ownedObjects from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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 servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail 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 servicePrincipalId)
        Get ownedObjects from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        Returns:
        ownedObjects from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail 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 servicePrincipalId)
        Get ownedObjects from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        Returns:
        ownedObjects from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail 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 servicePrincipalId,
                                                                                                    Integer top,
                                                                                                    Integer skip,
                                                                                                    String search,
                                                                                                    String filter,
                                                                                                    Boolean count,
                                                                                                    List<ServicePrincipalsOrderby> orderby,
                                                                                                    List<ServicePrincipalsSelect> select,
                                                                                                    List<String> expand,
                                                                                                    com.azure.core.util.Context context)
        Get ownedObjects from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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 servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail 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 servicePrincipalId,
                                                                            Integer top,
                                                                            Integer skip,
                                                                            String search,
                                                                            String filter,
                                                                            Boolean count,
                                                                            List<ServicePrincipalsOrderby> orderby)
        Get ref of ownedObjects from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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 servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail 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 servicePrincipalId)
        Get ref of ownedObjects from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        Returns:
        ref of ownedObjects from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail 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 servicePrincipalId)
        Get ref of ownedObjects from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        Returns:
        ref of ownedObjects from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail 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 servicePrincipalId,
                                                                           Integer top,
                                                                           Integer skip,
                                                                           String search,
                                                                           String filter,
                                                                           Boolean count,
                                                                           List<ServicePrincipalsOrderby> orderby,
                                                                           com.azure.core.util.Context context)
        Get ref of ownedObjects from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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 servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail 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 servicePrincipalId,
                                                                                                                 Map<String,​Object> body)
        Create new navigation property ref to ownedObjects for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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 servicePrincipalId,
                                                                  Map<String,​Object> body)
        Create new navigation property ref to ownedObjects for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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 servicePrincipalId,
                                                       Map<String,​Object> body)
        Create new navigation property ref to ownedObjects for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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 servicePrincipalId,
                                                                                                      Map<String,​Object> body,
                                                                                                      com.azure.core.util.Context context)
        Create new navigation property ref to ownedObjects for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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.
      • listOwners

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

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

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

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

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

        Mono<com.azure.core.http.rest.Response<Map<String,​Object>>> createRefOwnersWithResponseAsync​(String servicePrincipalId,
                                                                                                           Map<String,​Object> body)
        Create new navigation property ref to owners for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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.
      • createRefOwnersAsync

        Mono<Map<String,​Object>> createRefOwnersAsync​(String servicePrincipalId,
                                                            Map<String,​Object> body)
        Create new navigation property ref to owners for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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.
      • createRefOwners

        Map<String,​Object> createRefOwners​(String servicePrincipalId,
                                                 Map<String,​Object> body)
        Create new navigation property ref to owners for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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.
      • createRefOwnersWithResponse

        com.azure.core.http.rest.Response<Map<String,​Object>> createRefOwnersWithResponse​(String servicePrincipalId,
                                                                                                Map<String,​Object> body,
                                                                                                com.azure.core.util.Context context)
        Create new navigation property ref to owners for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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.
      • listTokenIssuancePoliciesAsync

        com.azure.core.http.rest.PagedFlux<MicrosoftGraphTokenIssuancePolicyInner> listTokenIssuancePoliciesAsync​(String servicePrincipalId)
        Get tokenIssuancePolicies from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        Returns:
        tokenIssuancePolicies from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listTokenIssuancePolicies

        com.azure.core.http.rest.PagedIterable<MicrosoftGraphTokenIssuancePolicyInner> listTokenIssuancePolicies​(String servicePrincipalId)
        Get tokenIssuancePolicies from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        Returns:
        tokenIssuancePolicies from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listTokenIssuancePolicies

        com.azure.core.http.rest.PagedIterable<MicrosoftGraphTokenIssuancePolicyInner> listTokenIssuancePolicies​(String servicePrincipalId,
                                                                                                                 Integer top,
                                                                                                                 Integer skip,
                                                                                                                 String search,
                                                                                                                 String filter,
                                                                                                                 Boolean count,
                                                                                                                 List<ServicePrincipalsOrderby> orderby,
                                                                                                                 List<ServicePrincipalsSelect> select,
                                                                                                                 List<ServicePrincipalsExpand> expand,
                                                                                                                 com.azure.core.util.Context context)
        Get tokenIssuancePolicies from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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:
        tokenIssuancePolicies from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listRefTokenIssuancePoliciesAsync

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

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

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

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

        Mono<com.azure.core.http.rest.Response<Map<String,​Object>>> createRefTokenIssuancePoliciesWithResponseAsync​(String servicePrincipalId,
                                                                                                                          Map<String,​Object> body)
        Create new navigation property ref to tokenIssuancePolicies for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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.
      • createRefTokenIssuancePoliciesAsync

        Mono<Map<String,​Object>> createRefTokenIssuancePoliciesAsync​(String servicePrincipalId,
                                                                           Map<String,​Object> body)
        Create new navigation property ref to tokenIssuancePolicies for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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.
      • createRefTokenIssuancePolicies

        Map<String,​Object> createRefTokenIssuancePolicies​(String servicePrincipalId,
                                                                Map<String,​Object> body)
        Create new navigation property ref to tokenIssuancePolicies for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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.
      • createRefTokenIssuancePoliciesWithResponse

        com.azure.core.http.rest.Response<Map<String,​Object>> createRefTokenIssuancePoliciesWithResponse​(String servicePrincipalId,
                                                                                                               Map<String,​Object> body,
                                                                                                               com.azure.core.util.Context context)
        Create new navigation property ref to tokenIssuancePolicies for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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.
      • listTokenLifetimePoliciesAsync

        com.azure.core.http.rest.PagedFlux<MicrosoftGraphTokenLifetimePolicyInner> listTokenLifetimePoliciesAsync​(String servicePrincipalId)
        Get tokenLifetimePolicies from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        Returns:
        tokenLifetimePolicies from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listTokenLifetimePolicies

        com.azure.core.http.rest.PagedIterable<MicrosoftGraphTokenLifetimePolicyInner> listTokenLifetimePolicies​(String servicePrincipalId)
        Get tokenLifetimePolicies from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        Returns:
        tokenLifetimePolicies from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listTokenLifetimePolicies

        com.azure.core.http.rest.PagedIterable<MicrosoftGraphTokenLifetimePolicyInner> listTokenLifetimePolicies​(String servicePrincipalId,
                                                                                                                 Integer top,
                                                                                                                 Integer skip,
                                                                                                                 String search,
                                                                                                                 String filter,
                                                                                                                 Boolean count,
                                                                                                                 List<ServicePrincipalsOrderby> orderby,
                                                                                                                 List<ServicePrincipalsSelect> select,
                                                                                                                 List<ServicePrincipalsExpand> expand,
                                                                                                                 com.azure.core.util.Context context)
        Get tokenLifetimePolicies from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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:
        tokenLifetimePolicies from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listRefTokenLifetimePoliciesAsync

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

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

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

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

        Mono<com.azure.core.http.rest.Response<Map<String,​Object>>> createRefTokenLifetimePoliciesWithResponseAsync​(String servicePrincipalId,
                                                                                                                          Map<String,​Object> body)
        Create new navigation property ref to tokenLifetimePolicies for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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.
      • createRefTokenLifetimePoliciesAsync

        Mono<Map<String,​Object>> createRefTokenLifetimePoliciesAsync​(String servicePrincipalId,
                                                                           Map<String,​Object> body)
        Create new navigation property ref to tokenLifetimePolicies for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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.
      • createRefTokenLifetimePolicies

        Map<String,​Object> createRefTokenLifetimePolicies​(String servicePrincipalId,
                                                                Map<String,​Object> body)
        Create new navigation property ref to tokenLifetimePolicies for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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.
      • createRefTokenLifetimePoliciesWithResponse

        com.azure.core.http.rest.Response<Map<String,​Object>> createRefTokenLifetimePoliciesWithResponse​(String servicePrincipalId,
                                                                                                               Map<String,​Object> body,
                                                                                                               com.azure.core.util.Context context)
        Create new navigation property ref to tokenLifetimePolicies for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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.
      • listTransitiveMemberOfAsync

        com.azure.core.http.rest.PagedFlux<MicrosoftGraphDirectoryObjectInner> listTransitiveMemberOfAsync​(String servicePrincipalId,
                                                                                                           Integer top,
                                                                                                           Integer skip,
                                                                                                           String search,
                                                                                                           String filter,
                                                                                                           Boolean count,
                                                                                                           List<ServicePrincipalsOrderby> orderby,
                                                                                                           List<ServicePrincipalsSelect> select,
                                                                                                           List<String> expand)
        Get transitiveMemberOf from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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 servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail 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 servicePrincipalId)
        Get transitiveMemberOf from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        Returns:
        transitiveMemberOf from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail 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 servicePrincipalId)
        Get transitiveMemberOf from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        Returns:
        transitiveMemberOf from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail 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 servicePrincipalId,
                                                                                                          Integer top,
                                                                                                          Integer skip,
                                                                                                          String search,
                                                                                                          String filter,
                                                                                                          Boolean count,
                                                                                                          List<ServicePrincipalsOrderby> orderby,
                                                                                                          List<ServicePrincipalsSelect> select,
                                                                                                          List<String> expand,
                                                                                                          com.azure.core.util.Context context)
        Get transitiveMemberOf from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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 servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail 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 servicePrincipalId,
                                                                                  Integer top,
                                                                                  Integer skip,
                                                                                  String search,
                                                                                  String filter,
                                                                                  Boolean count,
                                                                                  List<ServicePrincipalsOrderby> orderby)
        Get ref of transitiveMemberOf from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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 servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail 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 servicePrincipalId)
        Get ref of transitiveMemberOf from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        Returns:
        ref of transitiveMemberOf from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail 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 servicePrincipalId)
        Get ref of transitiveMemberOf from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        Returns:
        ref of transitiveMemberOf from servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail 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 servicePrincipalId,
                                                                                 Integer top,
                                                                                 Integer skip,
                                                                                 String search,
                                                                                 String filter,
                                                                                 Boolean count,
                                                                                 List<ServicePrincipalsOrderby> orderby,
                                                                                 com.azure.core.util.Context context)
        Get ref of transitiveMemberOf from servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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 servicePrincipals.
        Throws:
        IllegalArgumentException - thrown if parameters fail 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 servicePrincipalId,
                                                                                                                       Map<String,​Object> body)
        Create new navigation property ref to transitiveMemberOf for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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 servicePrincipalId,
                                                                        Map<String,​Object> body)
        Create new navigation property ref to transitiveMemberOf for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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 servicePrincipalId,
                                                             Map<String,​Object> body)
        Create new navigation property ref to transitiveMemberOf for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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 servicePrincipalId,
                                                                                                            Map<String,​Object> body,
                                                                                                            com.azure.core.util.Context context)
        Create new navigation property ref to transitiveMemberOf for servicePrincipals.
        Parameters:
        servicePrincipalId - key: id of servicePrincipal.
        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.
      • deltaWithResponse

        com.azure.core.http.rest.Response<List<MicrosoftGraphServicePrincipalInner>> deltaWithResponse​(com.azure.core.util.Context context)
        Invoke function delta.
        Parameters:
        context - The context to associate with this operation.
        Returns:
        array of microsoft.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        OdataErrorMainException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • validatePropertiesWithResponse

        com.azure.core.http.rest.Response<Void> validatePropertiesWithResponse​(ServicePrincipalsValidatePropertiesRequestBody body,
                                                                               com.azure.core.util.Context context)
        Invoke action validateProperties.
        Parameters:
        body - Action parameters.
        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.