WorkloadNetworkDnsServiceInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. avs. fluent. models. WorkloadNetworkDnsServiceInner
- com.
- com.
public final class WorkloadNetworkDnsServiceInner
extends ProxyResource
NSX DNS Service.
Constructor Summary
| Constructor | Description |
|---|---|
| WorkloadNetworkDnsServiceInner() |
Creates an instance of Workload |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
defaultDnsZone()
Get the default |
| String |
displayName()
Get the display |
| String |
dnsServiceIp()
Get the dns |
| List<String> |
fqdnZones()
Get the fqdn |
|
static
Workload |
fromJson(JsonReader jsonReader)
Reads an instance of Workload |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
|
Dns |
logLevel()
Get the log |
| String |
name()
Get the name property: The name of the resource. |
|
Workload |
provisioningState()
Get the provisioning |
| Long |
revision()
Get the revision property: NSX revision number. |
|
Dns |
status()
Get the status property: DNS Service status. |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Workload |
withDefaultDnsZone(String defaultDnsZone)
Set the default |
|
Workload |
withDisplayName(String displayName)
Set the display |
|
Workload |
withDnsServiceIp(String dnsServiceIp)
Set the dns |
|
Workload |
withFqdnZones(List<String> fqdnZones)
Set the fqdn |
|
Workload |
withLogLevel(DnsServiceLogLevelEnum logLevel)
Set the log |
|
Workload |
withRevision(Long revision)
Set the revision property: NSX revision number. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
WorkloadNetworkDnsServiceInner
public WorkloadNetworkDnsServiceInner()
Creates an instance of WorkloadNetworkDnsServiceInner class.
Method Details
defaultDnsZone
public String defaultDnsZone()
Get the defaultDnsZone property: Default DNS zone of the DNS Service.
Returns:
displayName
public String displayName()
Get the displayName property: Display name of the DNS Service.
Returns:
dnsServiceIp
public String dnsServiceIp()
Get the dnsServiceIp property: DNS service IP of the DNS Service.
Returns:
fqdnZones
public List<String> fqdnZones()
Get the fqdnZones property: FQDN zones of the DNS Service.
Returns:
fromJson
public static WorkloadNetworkDnsServiceInner fromJson(JsonReader jsonReader)
Reads an instance of WorkloadNetworkDnsServiceInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
WorkloadNetworkDnsServiceInner.id()Returns:
logLevel
public DnsServiceLogLevelEnum logLevel()
Get the logLevel property: DNS Service log level.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
WorkloadNetworkDnsServiceInner.name()Returns:
provisioningState
public WorkloadNetworkDnsServiceProvisioningState provisioningState()
Get the provisioningState property: The provisioning state.
Returns:
revision
public Long revision()
Get the revision property: NSX revision number.
Returns:
status
public DnsServiceStatusEnum status()
Get the status property: DNS Service status.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
WorkloadNetworkDnsServiceInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
WorkloadNetworkDnsServiceInner.type()Returns:
validate
public void validate()
Validates the instance.
withDefaultDnsZone
public WorkloadNetworkDnsServiceInner withDefaultDnsZone(String defaultDnsZone)
Set the defaultDnsZone property: Default DNS zone of the DNS Service.
Parameters:
Returns:
withDisplayName
public WorkloadNetworkDnsServiceInner withDisplayName(String displayName)
Set the displayName property: Display name of the DNS Service.
Parameters:
Returns:
withDnsServiceIp
public WorkloadNetworkDnsServiceInner withDnsServiceIp(String dnsServiceIp)
Set the dnsServiceIp property: DNS service IP of the DNS Service.
Parameters:
Returns:
withFqdnZones
public WorkloadNetworkDnsServiceInner withFqdnZones(List<String> fqdnZones)
Set the fqdnZones property: FQDN zones of the DNS Service.
Parameters:
Returns:
withLogLevel
public WorkloadNetworkDnsServiceInner withLogLevel(DnsServiceLogLevelEnum logLevel)
Set the logLevel property: DNS Service log level.
Parameters:
Returns:
withRevision
public WorkloadNetworkDnsServiceInner withRevision(Long revision)
Set the revision property: NSX revision number.
Parameters:
Returns: