Compartilhar via


DnsSecurityRules interface

Interface que representa um DnsSecurityRules.

Métodos

beginCreateOrUpdate(string, string, string, DnsSecurityRule, DnsSecurityRulesCreateOrUpdateOptionalParams)

Cria ou atualiza uma regra de segurança DNS para uma política de resolvedor DNS.

beginCreateOrUpdateAndWait(string, string, string, DnsSecurityRule, DnsSecurityRulesCreateOrUpdateOptionalParams)

Cria ou atualiza uma regra de segurança DNS para uma política de resolvedor DNS.

beginDelete(string, string, string, DnsSecurityRulesDeleteOptionalParams)

Exclui uma regra de segurança DNS para uma política de resolvedor DNS. AVISO: Esta operação não pode ser desfeita.

beginDeleteAndWait(string, string, string, DnsSecurityRulesDeleteOptionalParams)

Exclui uma regra de segurança DNS para uma política de resolvedor DNS. AVISO: Esta operação não pode ser desfeita.

beginUpdate(string, string, string, DnsSecurityRulePatch, DnsSecurityRulesUpdateOptionalParams)

Atualiza uma regra de segurança DNS.

beginUpdateAndWait(string, string, string, DnsSecurityRulePatch, DnsSecurityRulesUpdateOptionalParams)

Atualiza uma regra de segurança DNS.

get(string, string, string, DnsSecurityRulesGetOptionalParams)

Obtém propriedades de uma regra de segurança DNS para uma política de resolvedor DNS.

list(string, string, DnsSecurityRulesListOptionalParams)

Lista as regras de segurança DNS para uma política de resolvedor DNS.

Detalhes do método

beginCreateOrUpdate(string, string, string, DnsSecurityRule, DnsSecurityRulesCreateOrUpdateOptionalParams)

Cria ou atualiza uma regra de segurança DNS para uma política de resolvedor DNS.

function beginCreateOrUpdate(resourceGroupName: string, dnsResolverPolicyName: string, dnsSecurityRuleName: string, parameters: DnsSecurityRule, options?: DnsSecurityRulesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DnsSecurityRule>, DnsSecurityRule>>

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

dnsResolverPolicyName

string

O nome da política de resolvedor DNS.

dnsSecurityRuleName

string

O nome da regra de segurança DNS.

parameters
DnsSecurityRule

Parâmetros fornecidos para a operação CreateOrUpdate.

options
DnsSecurityRulesCreateOrUpdateOptionalParams

Os parâmetros de opções.

Retornos

Promise<@azure/core-lro.SimplePollerLike<OperationState<DnsSecurityRule>, DnsSecurityRule>>

beginCreateOrUpdateAndWait(string, string, string, DnsSecurityRule, DnsSecurityRulesCreateOrUpdateOptionalParams)

Cria ou atualiza uma regra de segurança DNS para uma política de resolvedor DNS.

function beginCreateOrUpdateAndWait(resourceGroupName: string, dnsResolverPolicyName: string, dnsSecurityRuleName: string, parameters: DnsSecurityRule, options?: DnsSecurityRulesCreateOrUpdateOptionalParams): Promise<DnsSecurityRule>

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

dnsResolverPolicyName

string

O nome da política de resolvedor DNS.

dnsSecurityRuleName

string

O nome da regra de segurança DNS.

parameters
DnsSecurityRule

Parâmetros fornecidos para a operação CreateOrUpdate.

options
DnsSecurityRulesCreateOrUpdateOptionalParams

Os parâmetros de opções.

Retornos

Promise<DnsSecurityRule>

beginDelete(string, string, string, DnsSecurityRulesDeleteOptionalParams)

Exclui uma regra de segurança DNS para uma política de resolvedor DNS. AVISO: Esta operação não pode ser desfeita.

function beginDelete(resourceGroupName: string, dnsResolverPolicyName: string, dnsSecurityRuleName: string, options?: DnsSecurityRulesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<DnsSecurityRulesDeleteHeaders>, DnsSecurityRulesDeleteHeaders>>

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

dnsResolverPolicyName

string

O nome da política de resolvedor DNS.

dnsSecurityRuleName

string

O nome da regra de segurança DNS.

options
DnsSecurityRulesDeleteOptionalParams

Os parâmetros de opções.

Retornos

Promise<@azure/core-lro.SimplePollerLike<OperationState<DnsSecurityRulesDeleteHeaders>, DnsSecurityRulesDeleteHeaders>>

beginDeleteAndWait(string, string, string, DnsSecurityRulesDeleteOptionalParams)

Exclui uma regra de segurança DNS para uma política de resolvedor DNS. AVISO: Esta operação não pode ser desfeita.

function beginDeleteAndWait(resourceGroupName: string, dnsResolverPolicyName: string, dnsSecurityRuleName: string, options?: DnsSecurityRulesDeleteOptionalParams): Promise<DnsSecurityRulesDeleteHeaders>

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

dnsResolverPolicyName

string

O nome da política de resolvedor DNS.

dnsSecurityRuleName

string

O nome da regra de segurança DNS.

options
DnsSecurityRulesDeleteOptionalParams

Os parâmetros de opções.

Retornos

beginUpdate(string, string, string, DnsSecurityRulePatch, DnsSecurityRulesUpdateOptionalParams)

Atualiza uma regra de segurança DNS.

function beginUpdate(resourceGroupName: string, dnsResolverPolicyName: string, dnsSecurityRuleName: string, parameters: DnsSecurityRulePatch, options?: DnsSecurityRulesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DnsSecurityRule>, DnsSecurityRule>>

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

dnsResolverPolicyName

string

O nome da política de resolvedor DNS.

dnsSecurityRuleName

string

O nome da regra de segurança DNS.

parameters
DnsSecurityRulePatch

Parâmetros fornecidos para a operação De atualização.

options
DnsSecurityRulesUpdateOptionalParams

Os parâmetros de opções.

Retornos

Promise<@azure/core-lro.SimplePollerLike<OperationState<DnsSecurityRule>, DnsSecurityRule>>

beginUpdateAndWait(string, string, string, DnsSecurityRulePatch, DnsSecurityRulesUpdateOptionalParams)

Atualiza uma regra de segurança DNS.

function beginUpdateAndWait(resourceGroupName: string, dnsResolverPolicyName: string, dnsSecurityRuleName: string, parameters: DnsSecurityRulePatch, options?: DnsSecurityRulesUpdateOptionalParams): Promise<DnsSecurityRule>

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

dnsResolverPolicyName

string

O nome da política de resolvedor DNS.

dnsSecurityRuleName

string

O nome da regra de segurança DNS.

parameters
DnsSecurityRulePatch

Parâmetros fornecidos para a operação De atualização.

options
DnsSecurityRulesUpdateOptionalParams

Os parâmetros de opções.

Retornos

Promise<DnsSecurityRule>

get(string, string, string, DnsSecurityRulesGetOptionalParams)

Obtém propriedades de uma regra de segurança DNS para uma política de resolvedor DNS.

function get(resourceGroupName: string, dnsResolverPolicyName: string, dnsSecurityRuleName: string, options?: DnsSecurityRulesGetOptionalParams): Promise<DnsSecurityRule>

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

dnsResolverPolicyName

string

O nome da política de resolvedor DNS.

dnsSecurityRuleName

string

O nome da regra de segurança DNS.

options
DnsSecurityRulesGetOptionalParams

Os parâmetros de opções.

Retornos

Promise<DnsSecurityRule>

list(string, string, DnsSecurityRulesListOptionalParams)

Lista as regras de segurança DNS para uma política de resolvedor DNS.

function list(resourceGroupName: string, dnsResolverPolicyName: string, options?: DnsSecurityRulesListOptionalParams): PagedAsyncIterableIterator<DnsSecurityRule, DnsSecurityRule[], PageSettings>

Parâmetros

resourceGroupName

string

O nome do grupo de recursos. O nome não diferencia maiúsculas de minúsculas.

dnsResolverPolicyName

string

O nome da política de resolvedor DNS.

options
DnsSecurityRulesListOptionalParams

Os parâmetros de opções.

Retornos