PurviewResourceSetRule.CreateOrUpdateResourceSetRule メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
リソース セット構成を作成または更新します。
public virtual Azure.Response CreateOrUpdateResourceSetRule (Azure.Core.RequestContent content, Azure.RequestOptions options = default);
abstract member CreateOrUpdateResourceSetRule : Azure.Core.RequestContent * Azure.RequestOptions -> Azure.Response
override this.CreateOrUpdateResourceSetRule : Azure.Core.RequestContent * Azure.RequestOptions -> Azure.Response
Public Overridable Function CreateOrUpdateResourceSetRule (content As RequestContent, Optional options As RequestOptions = Nothing) As Response
パラメーター
- content
- RequestContent
要求の本文として送信するコンテンツ。
- options
- Azure.RequestOptions
要求オプション。
戻り値
例外
content
が null です。
注釈
の Request 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 (required),
path: string (required)
}
],
complexReplacers: [
{
createdBy: string,
description: string,
disabled: boolean,
disableRecursiveReplacerApplication: boolean,
lastUpdatedTimestamp: number,
modifiedBy: string,
name: string,
typeName: string
}
],
createdBy: string (required),
enableDefaultPatterns: boolean (required),
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 (required),
disableRecursiveReplacerApplication: boolean,
doNotReplaceRegex: FastRegex,
lastUpdatedTimestamp: number,
modifiedBy: string,
name: string (required),
regex: FastRegex,
replaceWith: string
}
],
rejectedPatterns: [Filter],
scopedRules: [
{
bindingUrl: string (required),
rules: [
{
displayName: string,
isResourceSet: boolean,
lastUpdatedTimestamp: number,
name: string,
qualifiedName: string (required)
}
],
storeType: string (required)
}
],
version: number
}
}
の 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
}
}
適用対象
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for .NET