Compartilhar via


SecurityCenterExtensions.CreateOrUpdateInformationProtectionPolicy Método

Definição

Detalhes da política de proteção de informações.

  • Caminho da solicitação/{scope}/providers/Microsoft.Security/informationProtectionPolicies/{informationProtectionPolicyName}
  • IdInformationProtectionPolicies_CreateOrUpdate de operação
public static Azure.Response<Azure.ResourceManager.SecurityCenter.Models.InformationProtectionPolicy> CreateOrUpdateInformationProtectionPolicy (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier scope, Azure.ResourceManager.SecurityCenter.Models.InformationProtectionPolicyName informationProtectionPolicyName, Azure.ResourceManager.SecurityCenter.Models.InformationProtectionPolicy informationProtectionPolicy, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateInformationProtectionPolicy : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier * Azure.ResourceManager.SecurityCenter.Models.InformationProtectionPolicyName * Azure.ResourceManager.SecurityCenter.Models.InformationProtectionPolicy * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityCenter.Models.InformationProtectionPolicy>
<Extension()>
Public Function CreateOrUpdateInformationProtectionPolicy (client As ArmClient, scope As ResourceIdentifier, informationProtectionPolicyName As InformationProtectionPolicyName, informationProtectionPolicy As InformationProtectionPolicy, Optional cancellationToken As CancellationToken = Nothing) As Response(Of InformationProtectionPolicy)

Parâmetros

client
ArmClient

A ArmClient instância na qual o método será executado.

scope
ResourceIdentifier

O escopo ao qual o recurso será aplicado.

informationProtectionPolicyName
InformationProtectionPolicyName

Nome da política de proteção de informações.

informationProtectionPolicy
InformationProtectionPolicy

Política de proteção de informações.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

informationProtectionPolicy é nulo.

Aplica-se a