Dijelite putem


WorkloadNetworkDnsServiceInner Class

public final class WorkloadNetworkDnsServiceInner
extends ProxyResource

NSX DNS Service.

Constructor Summary

Constructor Description
WorkloadNetworkDnsServiceInner()

Creates an instance of WorkloadNetworkDnsServiceInner class.

Method Summary

Modifier and Type Method and Description
String defaultDnsZone()

Get the defaultDnsZone property: Default DNS zone of the DNS Service.

String displayName()

Get the displayName property: Display name of the DNS Service.

String dnsServiceIp()

Get the dnsServiceIp property: DNS service IP of the DNS Service.

List<String> fqdnZones()

Get the fqdnZones property: FQDN zones of the DNS Service.

static WorkloadNetworkDnsServiceInner fromJson(JsonReader jsonReader)

Reads an instance of WorkloadNetworkDnsServiceInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

DnsServiceLogLevelEnum logLevel()

Get the logLevel property: DNS Service log level.

String name()

Get the name property: The name of the resource.

WorkloadNetworkDnsServiceProvisioningState provisioningState()

Get the provisioningState property: The provisioning state.

Long revision()

Get the revision property: NSX revision number.

DnsServiceStatusEnum status()

Get the status property: DNS Service status.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

WorkloadNetworkDnsServiceInner withDefaultDnsZone(String defaultDnsZone)

Set the defaultDnsZone property: Default DNS zone of the DNS Service.

WorkloadNetworkDnsServiceInner withDisplayName(String displayName)

Set the displayName property: Display name of the DNS Service.

WorkloadNetworkDnsServiceInner withDnsServiceIp(String dnsServiceIp)

Set the dnsServiceIp property: DNS service IP of the DNS Service.

WorkloadNetworkDnsServiceInner withFqdnZones(List<String> fqdnZones)

Set the fqdnZones property: FQDN zones of the DNS Service.

WorkloadNetworkDnsServiceInner withLogLevel(DnsServiceLogLevelEnum logLevel)

Set the logLevel property: DNS Service log level.

WorkloadNetworkDnsServiceInner 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:

the defaultDnsZone value.

displayName

public String displayName()

Get the displayName property: Display name of the DNS Service.

Returns:

the displayName value.

dnsServiceIp

public String dnsServiceIp()

Get the dnsServiceIp property: DNS service IP of the DNS Service.

Returns:

the dnsServiceIp value.

fqdnZones

public List<String> fqdnZones()

Get the fqdnZones property: FQDN zones of the DNS Service.

Returns:

the fqdnZones value.

fromJson

public static WorkloadNetworkDnsServiceInner fromJson(JsonReader jsonReader)

Reads an instance of WorkloadNetworkDnsServiceInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of WorkloadNetworkDnsServiceInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

WorkloadNetworkDnsServiceInner.id()

Returns:

the id value.

logLevel

public DnsServiceLogLevelEnum logLevel()

Get the logLevel property: DNS Service log level.

Returns:

the logLevel value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

WorkloadNetworkDnsServiceInner.name()

Returns:

the name value.

provisioningState

public WorkloadNetworkDnsServiceProvisioningState provisioningState()

Get the provisioningState property: The provisioning state.

Returns:

the provisioningState value.

revision

public Long revision()

Get the revision property: NSX revision number.

Returns:

the revision value.

status

public DnsServiceStatusEnum status()

Get the status property: DNS Service status.

Returns:

the status value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

WorkloadNetworkDnsServiceInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

WorkloadNetworkDnsServiceInner.type()

Returns:

the type value.

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:

defaultDnsZone - the defaultDnsZone value to set.

Returns:

the WorkloadNetworkDnsServiceInner object itself.

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.

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.

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.

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.

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.

Applies to