DnsSecurityRule interface

Describes a DNS security rule.

Extends

Properties

action

The action to take on DNS requests that match the DNS security rule.

dnsResolverDomainLists

DNS resolver policy domains lists that the DNS security rule applies to.

dnsSecurityRuleState

The state of DNS security rule.

etag

"If etag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.")

managedDomainLists

Managed domain lists that the DNS security rule applies to.

priority

The priority of the DNS security rule.

provisioningState

The current provisioning state of the DNS security rule. This is a read-only property and any attempt to set this value will be ignored.

Inherited Properties

id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

location

The geo-location where the resource lives

name

The name of the resource

systemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

tags

Resource tags.

type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Property Details

action

The action to take on DNS requests that match the DNS security rule.

action: DnsSecurityRuleAction

Property Value

dnsResolverDomainLists

DNS resolver policy domains lists that the DNS security rule applies to.

dnsResolverDomainLists?: SubResource[]

Property Value

dnsSecurityRuleState

The state of DNS security rule.

dnsSecurityRuleState?: string

Property Value

string

etag

"If etag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.")

etag?: string

Property Value

string

managedDomainLists

Managed domain lists that the DNS security rule applies to.

managedDomainLists?: string[]

Property Value

string[]

priority

The priority of the DNS security rule.

priority: number

Property Value

number

provisioningState

The current provisioning state of the DNS security rule. This is a read-only property and any attempt to set this value will be ignored.

provisioningState?: string

Property Value

string

Inherited Property Details

id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

id?: string

Property Value

string

Inherited From TrackedResource.id

location

The geo-location where the resource lives

location: string

Property Value

string

Inherited From TrackedResource.location

name

The name of the resource

name?: string

Property Value

string

Inherited From TrackedResource.name

systemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

systemData?: SystemData

Property Value

Inherited From TrackedResource.systemData

tags

Resource tags.

tags?: Record<string, string>

Property Value

Record<string, string>

Inherited From TrackedResource.tags

type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

type?: string

Property Value

string

Inherited From TrackedResource.type