DnsSecurityRules interface
Interface representing a DnsSecurityRules.
Methods
Method Details
beginCreateOrUpdate(string, string, string, DnsSecurityRule, DnsSecurityRulesCreateOrUpdateOptionalParams)
Creates or updates a DNS security rule for a DNS resolver policy.
function beginCreateOrUpdate(resourceGroupName: string, dnsResolverPolicyName: string, dnsSecurityRuleName: string, parameters: DnsSecurityRule, options?: DnsSecurityRulesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DnsSecurityRule>, DnsSecurityRule>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- dnsResolverPolicyName
-
string
The name of the DNS resolver policy.
- dnsSecurityRuleName
-
string
The name of the DNS security rule.
- parameters
- DnsSecurityRule
Parameters supplied to the CreateOrUpdate operation.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<DnsSecurityRule>, DnsSecurityRule>>
beginCreateOrUpdateAndWait(string, string, string, DnsSecurityRule, DnsSecurityRulesCreateOrUpdateOptionalParams)
Creates or updates a DNS security rule for a DNS resolver policy.
function beginCreateOrUpdateAndWait(resourceGroupName: string, dnsResolverPolicyName: string, dnsSecurityRuleName: string, parameters: DnsSecurityRule, options?: DnsSecurityRulesCreateOrUpdateOptionalParams): Promise<DnsSecurityRule>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- dnsResolverPolicyName
-
string
The name of the DNS resolver policy.
- dnsSecurityRuleName
-
string
The name of the DNS security rule.
- parameters
- DnsSecurityRule
Parameters supplied to the CreateOrUpdate operation.
The options parameters.
Returns
Promise<DnsSecurityRule>
beginDelete(string, string, string, DnsSecurityRulesDeleteOptionalParams)
Deletes a DNS security rule for a DNS resolver policy. WARNING: This operation cannot be undone.
function beginDelete(resourceGroupName: string, dnsResolverPolicyName: string, dnsSecurityRuleName: string, options?: DnsSecurityRulesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<DnsSecurityRulesDeleteHeaders>, DnsSecurityRulesDeleteHeaders>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- dnsResolverPolicyName
-
string
The name of the DNS resolver policy.
- dnsSecurityRuleName
-
string
The name of the DNS security rule.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<DnsSecurityRulesDeleteHeaders>, DnsSecurityRulesDeleteHeaders>>
beginDeleteAndWait(string, string, string, DnsSecurityRulesDeleteOptionalParams)
Deletes a DNS security rule for a DNS resolver policy. WARNING: This operation cannot be undone.
function beginDeleteAndWait(resourceGroupName: string, dnsResolverPolicyName: string, dnsSecurityRuleName: string, options?: DnsSecurityRulesDeleteOptionalParams): Promise<DnsSecurityRulesDeleteHeaders>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- dnsResolverPolicyName
-
string
The name of the DNS resolver policy.
- dnsSecurityRuleName
-
string
The name of the DNS security rule.
The options parameters.
Returns
Promise<DnsSecurityRulesDeleteHeaders>
beginUpdate(string, string, string, DnsSecurityRulePatch, DnsSecurityRulesUpdateOptionalParams)
Updates a DNS security rule.
function beginUpdate(resourceGroupName: string, dnsResolverPolicyName: string, dnsSecurityRuleName: string, parameters: DnsSecurityRulePatch, options?: DnsSecurityRulesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DnsSecurityRule>, DnsSecurityRule>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- dnsResolverPolicyName
-
string
The name of the DNS resolver policy.
- dnsSecurityRuleName
-
string
The name of the DNS security rule.
- parameters
- DnsSecurityRulePatch
Parameters supplied to the Update operation.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<DnsSecurityRule>, DnsSecurityRule>>
beginUpdateAndWait(string, string, string, DnsSecurityRulePatch, DnsSecurityRulesUpdateOptionalParams)
Updates a DNS security rule.
function beginUpdateAndWait(resourceGroupName: string, dnsResolverPolicyName: string, dnsSecurityRuleName: string, parameters: DnsSecurityRulePatch, options?: DnsSecurityRulesUpdateOptionalParams): Promise<DnsSecurityRule>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- dnsResolverPolicyName
-
string
The name of the DNS resolver policy.
- dnsSecurityRuleName
-
string
The name of the DNS security rule.
- parameters
- DnsSecurityRulePatch
Parameters supplied to the Update operation.
The options parameters.
Returns
Promise<DnsSecurityRule>
get(string, string, string, DnsSecurityRulesGetOptionalParams)
Gets properties of a DNS security rule for a DNS resolver policy.
function get(resourceGroupName: string, dnsResolverPolicyName: string, dnsSecurityRuleName: string, options?: DnsSecurityRulesGetOptionalParams): Promise<DnsSecurityRule>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- dnsResolverPolicyName
-
string
The name of the DNS resolver policy.
- dnsSecurityRuleName
-
string
The name of the DNS security rule.
The options parameters.
Returns
Promise<DnsSecurityRule>
list(string, string, DnsSecurityRulesListOptionalParams)
Lists DNS security rules for a DNS resolver policy.
function list(resourceGroupName: string, dnsResolverPolicyName: string, options?: DnsSecurityRulesListOptionalParams): PagedAsyncIterableIterator<DnsSecurityRule, DnsSecurityRule[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- dnsResolverPolicyName
-
string
The name of the DNS resolver policy.
The options parameters.