你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

PurviewResourceSetRule.GetResourceSetRuleAsync(RequestOptions) 方法

定义

获取资源集配置服务模型。

public virtual System.Threading.Tasks.Task<Azure.Response> GetResourceSetRuleAsync (Azure.RequestOptions options);
abstract member GetResourceSetRuleAsync : Azure.RequestOptions -> System.Threading.Tasks.Task<Azure.Response>
override this.GetResourceSetRuleAsync : Azure.RequestOptions -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function GetResourceSetRuleAsync (options As RequestOptions) As Task(Of Response)

参数

options
Azure.RequestOptions

请求选项。

返回

注解

Response Body架构:

{
              advancedResourceSet: {
                modifiedAt: string (ISO 8601 Format),
                resourceSetProcessing: "Default" | "Advanced"
              },
              name: string,
              pathPatternConfig: {
                acceptedPatterns: [
                  {
                    createdBy: string,
                    filterType: "Pattern" | "Regex",
                    lastUpdatedTimestamp: number,
                    modifiedBy: string,
                    name: string,
                    path: string
                  }
                ],
                complexReplacers: [
                  {
                    createdBy: string,
                    description: string,
                    disabled: boolean,
                    disableRecursiveReplacerApplication: boolean,
                    lastUpdatedTimestamp: number,
                    modifiedBy: string,
                    name: string,
                    typeName: string
                  }
                ],
                createdBy: string,
                enableDefaultPatterns: boolean,
                lastUpdatedTimestamp: number,
                modifiedBy: string,
                normalizationRules: [
                  {
                    description: string,
                    disabled: boolean,
                    dynamicReplacement: boolean,
                    entityTypes: [string],
                    lastUpdatedTimestamp: number,
                    name: string,
                    regex: {
                      maxDigits: number,
                      maxLetters: number,
                      minDashes: number,
                      minDigits: number,
                      minDigitsOrLetters: number,
                      minDots: number,
                      minHex: number,
                      minLetters: number,
                      minUnderscores: number,
                      options: number,
                      regexStr: string
                    },
                    replaceWith: string,
                    version: number
                  }
                ],
                regexReplacers: [
                  {
                    condition: string,
                    createdBy: string,
                    description: string,
                    disabled: boolean,
                    disableRecursiveReplacerApplication: boolean,
                    doNotReplaceRegex: FastRegex,
                    lastUpdatedTimestamp: number,
                    modifiedBy: string,
                    name: string,
                    regex: FastRegex,
                    replaceWith: string
                  }
                ],
                rejectedPatterns: [Filter],
                scopedRules: [
                  {
                    bindingUrl: string,
                    rules: [
                      {
                        displayName: string,
                        isResourceSet: boolean,
                        lastUpdatedTimestamp: number,
                        name: string,
                        qualifiedName: string
                      }
                    ],
                    storeType: string
                  }
                ],
                version: number
              }
            }

Response Error架构:

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

适用于