PurviewResourceSetRule.CreateOrUpdateResourceSetRuleAsync Method

Definition

Creates or updates an resource set config.

public virtual System.Threading.Tasks.Task<Azure.Response> CreateOrUpdateResourceSetRuleAsync (Azure.Core.RequestContent content, Azure.RequestOptions options = default);
abstract member CreateOrUpdateResourceSetRuleAsync : Azure.Core.RequestContent * Azure.RequestOptions -> System.Threading.Tasks.Task<Azure.Response>
override this.CreateOrUpdateResourceSetRuleAsync : Azure.Core.RequestContent * Azure.RequestOptions -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function CreateOrUpdateResourceSetRuleAsync (content As RequestContent, Optional options As RequestOptions = Nothing) As Task(Of Response)

Parameters

content
RequestContent

The content to send as the body of the request.

options
Azure.RequestOptions

The request options.

Returns

Remarks

Schema for Request Body:

NameTypeRequiredDescription
advancedResourceSetAdvancedResourceSetGets or sets the advanced resource set property of the account.
namestringThe name of the rule
pathPatternConfigPathPatternExtractorConfigThe configuration rules for path pattern extraction.
Schema for AdvancedResourceSet:
NameTypeRequiredDescription
modifiedAtstring (ISO 8601 Format)Date at which ResourceSetProcessing property of the account is updated.
resourceSetProcessing"Default" | "Advanced"The advanced resource property of the account.
Schema for PathPatternExtractorConfig:
NameTypeRequiredDescription
acceptedPatternsFilter[]
complexReplacersComplexReplacerConfig[]
createdBystringYes
enableDefaultPatternsbooleanYes
lastUpdatedTimestampnumber
modifiedBystring
normalizationRulesNormalizationRule[]
regexReplacersRegexReplacer[]
rejectedPatternsFilter[]
scopedRulesScopedRule[]
versionnumber
Schema for Filter:
NameTypeRequiredDescription
createdBystring
filterType"Pattern" | "Regex"
lastUpdatedTimestampnumber
modifiedBystring
namestringYes
pathstringYes
Schema for ComplexReplacerConfig:
NameTypeRequiredDescription
createdBystring
descriptionstring
disabledboolean
disableRecursiveReplacerApplicationboolean
lastUpdatedTimestampnumber
modifiedBystring
namestring
typeNamestring
Schema for NormalizationRule:
NameTypeRequiredDescription
descriptionstring
disabledboolean
dynamicReplacementboolean
entityTypesstring[]
lastUpdatedTimestampnumber
namestring
regexFastRegex
replaceWithstring
versionnumber
Schema for RegexReplacer:
NameTypeRequiredDescription
conditionstring
createdBystring
descriptionstring
disabledbooleanYes
disableRecursiveReplacerApplicationboolean
doNotReplaceRegexFastRegex
lastUpdatedTimestampnumber
modifiedBystring
namestringYes
regexFastRegex
replaceWithstring
Schema for ScopedRule:
NameTypeRequiredDescription
bindingUrlstringYes
rulesRule[]
storeTypestringYes
Schema for FastRegex:
NameTypeRequiredDescription
maxDigitsnumber
maxLettersnumber
minDashesnumber
minDigitsnumber
minDigitsOrLettersnumber
minDotsnumber
minHexnumber
minLettersnumber
minUnderscoresnumber
optionsnumber
regexStrstring
Schema for Rule:
NameTypeRequiredDescription
displayNamestring
isResourceSetboolean
lastUpdatedTimestampnumber
namestring
qualifiedNamestringYes

Applies to