WorkloadNetworkDnsZoneProperties Class
- java.
lang. Object - com.
azure. resourcemanager. avs. fluent. models. WorkloadNetworkDnsZoneProperties
- com.
Implements
public final class WorkloadNetworkDnsZoneProperties
implements JsonSerializable<WorkloadNetworkDnsZoneProperties>
NSX DNS Zone Properties.
Constructor Summary
| Constructor | Description |
|---|---|
| WorkloadNetworkDnsZoneProperties() |
Creates an instance of Workload |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
displayName()
Get the display |
| List<String> |
dnsServerIps()
Get the dns |
| Long |
dnsServices()
Get the dns |
| List<String> |
domain()
Get the domain property: Domain names of the DNS Zone. |
|
static
Workload |
fromJson(JsonReader jsonReader)
Reads an instance of Workload |
|
Workload |
provisioningState()
Get the provisioning |
| Long |
revision()
Get the revision property: NSX revision number. |
| String |
sourceIp()
Get the source |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Workload |
withDisplayName(String displayName)
Set the display |
|
Workload |
withDnsServerIps(List<String> dnsServerIps)
Set the dns |
|
Workload |
withDnsServices(Long dnsServices)
Set the dns |
|
Workload |
withDomain(List<String> domain)
Set the domain property: Domain names of the DNS Zone. |
|
Workload |
withRevision(Long revision)
Set the revision property: NSX revision number. |
|
Workload |
withSourceIp(String sourceIp)
Set the source |
Methods inherited from java.lang.Object
Constructor Details
WorkloadNetworkDnsZoneProperties
public WorkloadNetworkDnsZoneProperties()
Creates an instance of WorkloadNetworkDnsZoneProperties class.
Method Details
displayName
public String displayName()
Get the displayName property: Display name of the DNS Zone.
Returns:
dnsServerIps
public List<String> dnsServerIps()
Get the dnsServerIps property: DNS Server IP array of the DNS Zone.
Returns:
dnsServices
public Long dnsServices()
Get the dnsServices property: Number of DNS Services using the DNS zone.
Returns:
domain
public List<String> domain()
Get the domain property: Domain names of the DNS Zone.
Returns:
fromJson
public static WorkloadNetworkDnsZoneProperties fromJson(JsonReader jsonReader)
Reads an instance of WorkloadNetworkDnsZoneProperties from the JsonReader.
Parameters:
Returns:
Throws:
provisioningState
public WorkloadNetworkDnsZoneProvisioningState provisioningState()
Get the provisioningState property: The provisioning state.
Returns:
revision
public Long revision()
Get the revision property: NSX revision number.
Returns:
sourceIp
public String sourceIp()
Get the sourceIp property: Source IP of the DNS Zone.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDisplayName
public WorkloadNetworkDnsZoneProperties withDisplayName(String displayName)
Set the displayName property: Display name of the DNS Zone.
Parameters:
Returns:
withDnsServerIps
public WorkloadNetworkDnsZoneProperties withDnsServerIps(List<String> dnsServerIps)
Set the dnsServerIps property: DNS Server IP array of the DNS Zone.
Parameters:
Returns:
withDnsServices
public WorkloadNetworkDnsZoneProperties withDnsServices(Long dnsServices)
Set the dnsServices property: Number of DNS Services using the DNS zone.
Parameters:
Returns:
withDomain
public WorkloadNetworkDnsZoneProperties withDomain(List<String> domain)
Set the domain property: Domain names of the DNS Zone.
Parameters:
Returns:
withRevision
public WorkloadNetworkDnsZoneProperties withRevision(Long revision)
Set the revision property: NSX revision number.
Parameters:
Returns:
withSourceIp
public WorkloadNetworkDnsZoneProperties withSourceIp(String sourceIp)
Set the sourceIp property: Source IP of the DNS Zone.
Parameters:
Returns: