Class WorkloadNetworkDnsServiceInner


  • public final class WorkloadNetworkDnsServiceInner
    extends com.azure.core.management.ProxyResource
    NSX DNS Service.
    • Constructor Detail

      • WorkloadNetworkDnsServiceInner

        public WorkloadNetworkDnsServiceInner()
    • Method Detail

      • displayName

        public String displayName()
        Get the displayName property: Display name of the DNS Service.
        Returns:
        the displayName value.
      • withDisplayName

        public WorkloadNetworkDnsServiceInner withDisplayName​(String displayName)
        Set the displayName property: Display name of the DNS Service.
        Parameters:
        displayName - the displayName value to set.
        Returns:
        the WorkloadNetworkDnsServiceInner object itself.
      • dnsServiceIp

        public String dnsServiceIp()
        Get the dnsServiceIp property: DNS service IP of the DNS Service.
        Returns:
        the dnsServiceIp value.
      • withDnsServiceIp

        public WorkloadNetworkDnsServiceInner withDnsServiceIp​(String dnsServiceIp)
        Set the dnsServiceIp property: DNS service IP of the DNS Service.
        Parameters:
        dnsServiceIp - the dnsServiceIp value to set.
        Returns:
        the WorkloadNetworkDnsServiceInner object itself.
      • defaultDnsZone

        public String defaultDnsZone()
        Get the defaultDnsZone property: Default DNS zone of the DNS Service.
        Returns:
        the defaultDnsZone value.
      • withDefaultDnsZone

        public WorkloadNetworkDnsServiceInner withDefaultDnsZone​(String defaultDnsZone)
        Set the defaultDnsZone property: Default DNS zone of the DNS Service.
        Parameters:
        defaultDnsZone - the defaultDnsZone value to set.
        Returns:
        the WorkloadNetworkDnsServiceInner object itself.
      • fqdnZones

        public List<String> fqdnZones()
        Get the fqdnZones property: FQDN zones of the DNS Service.
        Returns:
        the fqdnZones value.
      • withFqdnZones

        public WorkloadNetworkDnsServiceInner withFqdnZones​(List<String> fqdnZones)
        Set the fqdnZones property: FQDN zones of the DNS Service.
        Parameters:
        fqdnZones - the fqdnZones value to set.
        Returns:
        the WorkloadNetworkDnsServiceInner object itself.
      • logLevel

        public DnsServiceLogLevelEnum logLevel()
        Get the logLevel property: DNS Service log level.
        Returns:
        the logLevel value.
      • withLogLevel

        public WorkloadNetworkDnsServiceInner withLogLevel​(DnsServiceLogLevelEnum logLevel)
        Set the logLevel property: DNS Service log level.
        Parameters:
        logLevel - the logLevel value to set.
        Returns:
        the WorkloadNetworkDnsServiceInner object itself.
      • status

        public DnsServiceStatusEnum status()
        Get the status property: DNS Service status.
        Returns:
        the status value.
      • revision

        public Long revision()
        Get the revision property: NSX revision number.
        Returns:
        the revision value.
      • withRevision

        public WorkloadNetworkDnsServiceInner withRevision​(Long revision)
        Set the revision property: NSX revision number.
        Parameters:
        revision - the revision value to set.
        Returns:
        the WorkloadNetworkDnsServiceInner object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.