VirtualMachinePublicIpAddressDnsSettingsConfiguration Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. VirtualMachinePublicIpAddressDnsSettingsConfiguration
- com.
Implements
public final class VirtualMachinePublicIpAddressDnsSettingsConfiguration
implements JsonSerializable<VirtualMachinePublicIpAddressDnsSettingsConfiguration>
Describes a virtual machines network configuration's DNS settings.
Constructor Summary
| Constructor | Description |
|---|---|
| VirtualMachinePublicIpAddressDnsSettingsConfiguration() |
Creates an instance of Virtual |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
domainNameLabel()
Get the domain |
|
Domain |
domainNameLabelScope()
Get the domain |
|
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Virtual |
withDomainNameLabel(String domainNameLabel)
Set the domain |
|
Virtual |
withDomainNameLabelScope(DomainNameLabelScopeTypes domainNameLabelScope)
Set the domain |
Methods inherited from java.lang.Object
Constructor Details
VirtualMachinePublicIpAddressDnsSettingsConfiguration
public VirtualMachinePublicIpAddressDnsSettingsConfiguration()
Creates an instance of VirtualMachinePublicIpAddressDnsSettingsConfiguration class.
Method Details
domainNameLabel
public String domainNameLabel()
Get the domainNameLabel property: The Domain name label prefix of the PublicIPAddress resources that will be created. The generated name label is the concatenation of the domain name label and vm network profile unique ID.
Returns:
domainNameLabelScope
public DomainNameLabelScopeTypes domainNameLabelScope()
Get the domainNameLabelScope property: The Domain name label scope of the PublicIPAddress resources that will be created. The generated name label is the concatenation of the hashed domain name label with policy according to the domain name label scope and vm network profile unique ID.
Returns:
fromJson
public static VirtualMachinePublicIpAddressDnsSettingsConfiguration fromJson(JsonReader jsonReader)
Reads an instance of VirtualMachinePublicIpAddressDnsSettingsConfiguration from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withDomainNameLabel
public VirtualMachinePublicIpAddressDnsSettingsConfiguration withDomainNameLabel(String domainNameLabel)
Set the domainNameLabel property: The Domain name label prefix of the PublicIPAddress resources that will be created. The generated name label is the concatenation of the domain name label and vm network profile unique ID.
Parameters:
Returns:
withDomainNameLabelScope
public VirtualMachinePublicIpAddressDnsSettingsConfiguration withDomainNameLabelScope(DomainNameLabelScopeTypes domainNameLabelScope)
Set the domainNameLabelScope property: The Domain name label scope of the PublicIPAddress resources that will be created. The generated name label is the concatenation of the hashed domain name label with policy according to the domain name label scope and vm network profile unique ID.
Parameters:
Returns: