Class MetadataRolesClient

java.lang.Object
com.azure.analytics.purview.administration.MetadataRolesClient

public final class MetadataRolesClient extends Object
Initializes a new instance of the synchronous PurviewMetadataClient type.
  • Method Details

    • list

      public PagedIterable<BinaryData> list(RequestOptions requestOptions)
      Lists roles for Purview Account.

      Response Body Schema

      
       {
           values: [
               {
                   id: String
                   name: String
                   type: String
                   properties: {
                       provisioningState: String
                       roleType: String
                       friendlyName: String
                       description: String
                       cnfCondition: [
                           [
                               {
                                   attributeName: String
                                   attributeValueIncludes: String
                                   attributeValueIncludedIn: [
                                       String
                                   ]
                                   attributeValueExcludes: String
                                   attributeValueExcludedIn: [
                                       String
                                   ]
                               }
                           ]
                       ]
                       dnfCondition: [
                           [
                               (recursive schema, see above)
                           ]
                       ]
                       version: Long
                   }
               }
           ]
           nextLink: String
       }
       
      Parameters:
      requestOptions - The options to configure the HTTP request before HTTP client sends it.
      Returns:
      list of Metadata roles as paginated response with PagedIterable.
      Throws:
      HttpResponseException - thrown if the request is rejected by server.
      ClientAuthenticationException - thrown if the request is rejected by server on status code 401.
      ResourceNotFoundException - thrown if the request is rejected by server on status code 404.
      ResourceModifiedException - thrown if the request is rejected by server on status code 409.