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