DnsSecurityRule Interface

public interface DnsSecurityRule

An immutable client-side representation of DnsSecurityRule.

Method Summary

Modifier and Type Method and Description
abstract DnsSecurityRuleAction action()

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

abstract List<SubResource> dnsResolverDomainLists()

Gets the dnsResolverDomainLists property: DNS resolver policy domains lists that the DNS security rule applies to.

abstract DnsSecurityRuleState dnsSecurityRuleState()

Gets the dnsSecurityRuleState property: The state of DNS security rule.

abstract String etag()

Gets the etag property: ETag of the DNS security rule.

abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

abstract DnsSecurityRuleInner innerModel()

Gets the inner com.azure.resourcemanager.dnsresolver.fluent.models.DnsSecurityRuleInner object.

abstract String location()

Gets the location property: The geo-location where the resource lives.

abstract String name()

Gets the name property: The name of the resource.

abstract int priority()

Gets the priority property: The priority of the DNS security rule.

abstract ProvisioningState provisioningState()

Gets the provisioningState property: The current provisioning state of the DNS security rule.

abstract DnsSecurityRule refresh()

Refreshes the resource to sync with Azure.

abstract DnsSecurityRule refresh(Context context)

Refreshes the resource to sync with Azure.

abstract Region region()

Gets the region of the resource.

abstract String regionName()

Gets the name of the resource region.

abstract String resourceGroupName()

Gets the name of the resource group.

abstract SystemData systemData()

Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

abstract Map<String,String> tags()

Gets the tags property: Resource tags.

abstract String type()

Gets the type property: The type of the resource.

abstract Update update()

Begins update for the DnsSecurityRule resource.

Method Details

action

public abstract DnsSecurityRuleAction action()

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

Returns:

the action value.

dnsResolverDomainLists

public abstract List<SubResource> dnsResolverDomainLists()

Gets the dnsResolverDomainLists property: DNS resolver policy domains lists that the DNS security rule applies to.

Returns:

the dnsResolverDomainLists value.

dnsSecurityRuleState

public abstract DnsSecurityRuleState dnsSecurityRuleState()

Gets the dnsSecurityRuleState property: The state of DNS security rule.

Returns:

the dnsSecurityRuleState value.

etag

public abstract String etag()

Gets the etag property: ETag of the DNS security rule.

Returns:

the etag value.

id

public abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

Returns:

the id value.

innerModel

public abstract DnsSecurityRuleInner innerModel()

Gets the inner com.azure.resourcemanager.dnsresolver.fluent.models.DnsSecurityRuleInner object.

Returns:

the inner object.

location

public abstract String location()

Gets the location property: The geo-location where the resource lives.

Returns:

the location value.

name

public abstract String name()

Gets the name property: The name of the resource.

Returns:

the name value.

priority

public abstract int priority()

Gets the priority property: The priority of the DNS security rule.

Returns:

the priority value.

provisioningState

public abstract ProvisioningState provisioningState()

Gets the provisioningState property: 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.

Returns:

the provisioningState value.

refresh

public abstract DnsSecurityRule refresh()

Refreshes the resource to sync with Azure.

Returns:

the refreshed resource.

refresh

public abstract DnsSecurityRule refresh(Context context)

Refreshes the resource to sync with Azure.

Parameters:

context - The context to associate with this operation.

Returns:

the refreshed resource.

region

public abstract Region region()

Gets the region of the resource.

Returns:

the region of the resource.

regionName

public abstract String regionName()

Gets the name of the resource region.

Returns:

the name of the resource region.

resourceGroupName

public abstract String resourceGroupName()

Gets the name of the resource group.

Returns:

the name of the resource group.

systemData

public abstract SystemData systemData()

Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

tags

public abstract Map<String,String> tags()

Gets the tags property: Resource tags.

Returns:

the tags value.

type

public abstract String type()

Gets the type property: The type of the resource.

Returns:

the type value.

update

public abstract DnsSecurityRule.Update update()

Begins update for the DnsSecurityRule resource.

Returns:

the stage of resource update.

Applies to