Condividi tramite


PurviewMetadataPolicyClient.GetMetadataPolicies(RequestOptions) Method

Definition

List or Get metadata policies.

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

Parameters

options
Azure.RequestOptions

The request options.

Returns

Remarks

Schema for Response Body:

{
              values: [
                {
                  name: string,
                  id: string,
                  version: number,
                  properties: {
                    description: string,
                    decisionRules: [
                      {
                        kind: "decisionrule" | "attributerule",
                        effect: "Deny" | "Permit",
                        dnfCondition: [AttributeMatcher[]]
                      }
                    ],
                    attributeRules: [
                      {
                        kind: "decisionrule" | "attributerule",
                        id: string,
                        name: string,
                        dnfCondition: [AttributeMatcher[]]
                      }
                    ],
                    collection: {
                      type: string,
                      referenceName: string
                    },
                    parentCollectionName: string
                  }
                }
              ],
              nextLink: string
            }

Schema for Response Error:

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

Applies to