Interface ForwardingRule
public interface ForwardingRule
An immutable client-side representation of ForwardingRule.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The entirety of the ForwardingRule definition.static interface
The ForwardingRule definition stages.static interface
The template for ForwardingRule update.static interface
The ForwardingRule update stages. -
Method Summary
Modifier and TypeMethodDescriptionGets the domainName property: The domain name for the forwarding rule.etag()
Gets the etag property: ETag of the forwarding rule.Gets the forwardingRuleState property: The state of forwarding rule.id()
Gets the id property: Fully qualified resource Id for the resource.Gets the inner com.azure.resourcemanager.dnsresolver.fluent.models.ForwardingRuleInner object.metadata()
Gets the metadata property: Metadata attached to the forwarding rule.name()
Gets the name property: The name of the resource.Gets the provisioningState property: The current provisioning state of the forwarding rule.refresh()
Refreshes the resource to sync with Azure.refresh
(com.azure.core.util.Context context) Refreshes the resource to sync with Azure.Gets the name of the resource group.com.azure.core.management.SystemData
Gets the systemData property: Metadata pertaining to creation and last modification of the resource.Gets the targetDnsServers property: DNS servers to forward the DNS query to.type()
Gets the type property: The type of the resource.update()
Begins update for the ForwardingRule resource.
-
Method Details
-
id
String id()Gets the id property: Fully qualified resource Id for the resource.- Returns:
- the id value.
-
name
String name()Gets the name property: The name of the resource.- Returns:
- the name value.
-
type
String type()Gets the type property: The type of the resource.- Returns:
- the type value.
-
etag
String etag()Gets the etag property: ETag of the forwarding rule.- Returns:
- the etag value.
-
systemData
com.azure.core.management.SystemData systemData()Gets the systemData property: Metadata pertaining to creation and last modification of the resource.- Returns:
- the systemData value.
-
domainName
String domainName()Gets the domainName property: The domain name for the forwarding rule.- Returns:
- the domainName value.
-
targetDnsServers
List<TargetDnsServer> targetDnsServers()Gets the targetDnsServers property: DNS servers to forward the DNS query to.- Returns:
- the targetDnsServers value.
-
metadata
Gets the metadata property: Metadata attached to the forwarding rule.- Returns:
- the metadata value.
-
forwardingRuleState
ForwardingRuleState forwardingRuleState()Gets the forwardingRuleState property: The state of forwarding rule.- Returns:
- the forwardingRuleState value.
-
provisioningState
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.
-
resourceGroupName
String resourceGroupName()Gets the name of the resource group.- Returns:
- the name of the resource group.
-
innerModel
ForwardingRuleInner innerModel()Gets the inner com.azure.resourcemanager.dnsresolver.fluent.models.ForwardingRuleInner object.- Returns:
- the inner object.
-
update
ForwardingRule.Update update()Begins update for the ForwardingRule resource.- Returns:
- the stage of resource update.
-
refresh
ForwardingRule refresh()Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-