共用方式為


PurviewMetadataRolesClient.GetMetadataRolesAsync(RequestOptions) Method

Definition

Lists roles for Purview Account.

public virtual Azure.AsyncPageable<BinaryData> GetMetadataRolesAsync (Azure.RequestOptions options);
abstract member GetMetadataRolesAsync : Azure.RequestOptions -> Azure.AsyncPageable<BinaryData>
override this.GetMetadataRolesAsync : Azure.RequestOptions -> Azure.AsyncPageable<BinaryData>
Public Overridable Function GetMetadataRolesAsync (options As RequestOptions) As AsyncPageable(Of BinaryData)

Parameters

options
Azure.RequestOptions

The request options.

Returns

Remarks

Schema for Response Body:

{
              values: [
                {
                  id: string,
                  name: string,
                  type: string,
                  properties: {
                    provisioningState: string,
                    roleType: string,
                    friendlyName: string,
                    description: string,
                    cnfCondition: [AttributeMatcher[]],
                    dnfCondition: [AttributeMatcher[]],
                    version: number
                  }
                }
              ],
              nextLink: string
            }

Schema for Response Error:

{
              error: {
                code: string,
                message: string,
                target: string,
                details: [ErrorModelAutoGenerated]
              }
            }

Applies to