ForwardingRule Interface

public interface ForwardingRule

An immutable client-side representation of ForwardingRule.

Method Summary

Modifier and Type Method and Description
abstract String domainName()

Gets the domainName property: The domain name for the forwarding rule.

abstract String etag()

Gets the etag property: ETag of the forwarding rule.

abstract ForwardingRuleState forwardingRuleState()

Gets the forwardingRuleState property: The state of forwarding rule.

abstract String id()

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

abstract ForwardingRuleInner innerModel()

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

abstract Map<String,String> metadata()

Gets the metadata property: Metadata attached to the forwarding rule.

abstract String name()

Gets the name property: The name of the resource.

abstract ProvisioningState provisioningState()

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

abstract ForwardingRule refresh()

Refreshes the resource to sync with Azure.

abstract ForwardingRule refresh(Context context)

Refreshes the resource to sync with Azure.

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 List<TargetDnsServer> targetDnsServers()

Gets the targetDnsServers property: DNS servers to forward the DNS query to.

abstract String type()

Gets the type property: The type of the resource.

abstract Update update()

Begins update for the ForwardingRule resource.

Method Details

domainName

public abstract String domainName()

Gets the domainName property: The domain name for the forwarding rule.

Returns:

the domainName value.

etag

public abstract String etag()

Gets the etag property: ETag of the forwarding rule.

Returns:

the etag value.

forwardingRuleState

public abstract ForwardingRuleState forwardingRuleState()

Gets the forwardingRuleState property: The state of forwarding rule.

Returns:

the forwardingRuleState value.

id

public abstract String id()

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

Returns:

the id value.

innerModel

public abstract ForwardingRuleInner innerModel()

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

Returns:

the inner object.

metadata

public abstract Map<String,String> metadata()

Gets the metadata property: Metadata attached to the forwarding rule.

Returns:

the metadata value.

name

public abstract String name()

Gets the name property: The name of the resource.

Returns:

the name value.

provisioningState

public abstract ProvisioningState provisioningState()

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

Returns:

the provisioningState value.

refresh

public abstract ForwardingRule refresh()

Refreshes the resource to sync with Azure.

Returns:

the refreshed resource.

refresh

public abstract ForwardingRule refresh(Context context)

Refreshes the resource to sync with Azure.

Parameters:

context - The context to associate with this operation.

Returns:

the refreshed resource.

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.

targetDnsServers

public abstract List<TargetDnsServer> targetDnsServers()

Gets the targetDnsServers property: DNS servers to forward the DNS query to.

Returns:

the targetDnsServers value.

type

public abstract String type()

Gets the type property: The type of the resource.

Returns:

the type value.

update

public abstract ForwardingRule.Update update()

Begins update for the ForwardingRule resource.

Returns:

the stage of resource update.

Applies to