PurviewResourceSetRule.CreateOrUpdateResourceSetRuleAsync Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Cria ou atualiza uma configuração de conjunto de recursos.
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)
Parâmetros
- content
- RequestContent
O conteúdo a ser enviado como o corpo da solicitação.
- options
- Azure.RequestOptions
As opções de solicitação.
Retornos
Exceções
content
é nulo.
Comentários
Esquema para 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
}
}
Esquema para 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
}
}
Esquema para Response Error
:
{
error: {
code: string,
details: [
{
code: string,
details: [ErrorModel],
message: string,
target: string
}
],
message: string,
target: string
}
}
Aplica-se a
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for .NET