Share via


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

ETag of the DNS security rule. NOTE: This property will not be serialized. It can only be populated by the server.

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. NOTE: This property will not be serialized. It can only be populated by the server.

Inherited Properties

id

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" NOTE: This property will not be serialized. It can only be populated by the server.

location

The geo-location where the resource lives

name

The name of the resource NOTE: This property will not be serialized. It can only be populated by the server.

systemData

Azure Resource Manager metadata containing createdBy and modifiedBy information. NOTE: This property will not be serialized. It can only be populated by the server.

tags

Resource tags.

type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" NOTE: This property will not be serialized. It can only be populated by the server.

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

ETag of the DNS security rule. NOTE: This property will not be serialized. It can only be populated by the server.

etag?: 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. NOTE: This property will not be serialized. It can only be populated by the server.

provisioningState?: string

Property Value

string

Inherited Property Details

id

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" NOTE: This property will not be serialized. It can only be populated by the server.

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 NOTE: This property will not be serialized. It can only be populated by the server.

name?: string

Property Value

string

Inherited From TrackedResource.name

systemData

Azure Resource Manager metadata containing createdBy and modifiedBy information. NOTE: This property will not be serialized. It can only be populated by the server.

systemData?: SystemData

Property Value

Inherited From TrackedResource.systemData

tags

Resource tags.

tags?: {[propertyName: string]: string}

Property Value

{[propertyName: string]: string}

Inherited From TrackedResource.tags

type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" NOTE: This property will not be serialized. It can only be populated by the server.

type?: string

Property Value

string

Inherited From TrackedResource.type