Class WorkloadNetworkDnsServiceProperties
java.lang.Object
com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkDnsServiceProperties
NSX DNS Service Properties.
-
Constructor Summary
ConstructorDescriptionCreates an instance of WorkloadNetworkDnsServiceProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the defaultDnsZone property: Default DNS zone of the DNS Service.Get the displayName property: Display name of the DNS Service.Get the dnsServiceIp property: DNS service IP of the DNS Service.Get the fqdnZones property: FQDN zones of the DNS Service.logLevel()
Get the logLevel property: DNS Service log level.Get the provisioningState property: The provisioning state.revision()
Get the revision property: NSX revision number.status()
Get the status property: DNS Service status.void
validate()
Validates the instance.withDefaultDnsZone
(String defaultDnsZone) Set the defaultDnsZone property: Default DNS zone of the DNS Service.withDisplayName
(String displayName) Set the displayName property: Display name of the DNS Service.withDnsServiceIp
(String dnsServiceIp) Set the dnsServiceIp property: DNS service IP of the DNS Service.withFqdnZones
(List<String> fqdnZones) Set the fqdnZones property: FQDN zones of the DNS Service.withLogLevel
(DnsServiceLogLevelEnum logLevel) Set the logLevel property: DNS Service log level.withRevision
(Long revision) Set the revision property: NSX revision number.
-
Constructor Details
-
WorkloadNetworkDnsServiceProperties
public WorkloadNetworkDnsServiceProperties()Creates an instance of WorkloadNetworkDnsServiceProperties class.
-
-
Method Details
-
displayName
Get the displayName property: Display name of the DNS Service.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: Display name of the DNS Service.- Parameters:
displayName
- the displayName value to set.- Returns:
- the WorkloadNetworkDnsServiceProperties object itself.
-
dnsServiceIp
Get the dnsServiceIp property: DNS service IP of the DNS Service.- Returns:
- the dnsServiceIp value.
-
withDnsServiceIp
Set the dnsServiceIp property: DNS service IP of the DNS Service.- Parameters:
dnsServiceIp
- the dnsServiceIp value to set.- Returns:
- the WorkloadNetworkDnsServiceProperties object itself.
-
defaultDnsZone
Get the defaultDnsZone property: Default DNS zone of the DNS Service.- Returns:
- the defaultDnsZone value.
-
withDefaultDnsZone
Set the defaultDnsZone property: Default DNS zone of the DNS Service.- Parameters:
defaultDnsZone
- the defaultDnsZone value to set.- Returns:
- the WorkloadNetworkDnsServiceProperties object itself.
-
fqdnZones
Get the fqdnZones property: FQDN zones of the DNS Service.- Returns:
- the fqdnZones value.
-
withFqdnZones
Set the fqdnZones property: FQDN zones of the DNS Service.- Parameters:
fqdnZones
- the fqdnZones value to set.- Returns:
- the WorkloadNetworkDnsServiceProperties object itself.
-
logLevel
Get the logLevel property: DNS Service log level.- Returns:
- the logLevel value.
-
withLogLevel
Set the logLevel property: DNS Service log level.- Parameters:
logLevel
- the logLevel value to set.- Returns:
- the WorkloadNetworkDnsServiceProperties object itself.
-
status
Get the status property: DNS Service status.- Returns:
- the status value.
-
provisioningState
Get the provisioningState property: The provisioning state.- Returns:
- the provisioningState value.
-
revision
Get the revision property: NSX revision number.- Returns:
- the revision value.
-
withRevision
Set the revision property: NSX revision number.- Parameters:
revision
- the revision value to set.- Returns:
- the WorkloadNetworkDnsServiceProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-