public final class NetworkInterfaceProperties extends Object
Constructor and Description |
---|
NetworkInterfaceProperties() |
Modifier and Type | Method and Description |
---|---|
String |
dnsName()
Get the dnsName property: The DNS name.
|
String |
privateIpAddress()
Get the privateIpAddress property: The private IP address.
|
String |
publicIpAddress()
Get the publicIpAddress property: The public IP address.
|
String |
publicIpAddressId()
Get the publicIpAddressId property: The resource ID of the public IP address.
|
String |
rdpAuthority()
Get the rdpAuthority property: The RdpAuthority property is a server DNS host name or IP address followed by the
service port number for RDP (Remote Desktop Protocol).
|
SharedPublicIpAddressConfiguration |
sharedPublicIpAddressConfiguration()
Get the sharedPublicIpAddressConfiguration property: The configuration for sharing a public IP address across
multiple virtual machines.
|
String |
sshAuthority()
Get the sshAuthority property: The SshAuthority property is a server DNS host name or IP address followed by the
service port number for SSH.
|
String |
subnetId()
Get the subnetId property: The resource ID of the sub net.
|
void |
validate()
Validates the instance.
|
String |
virtualNetworkId()
Get the virtualNetworkId property: The resource ID of the virtual network.
|
NetworkInterfaceProperties |
withDnsName(String dnsName)
Set the dnsName property: The DNS name.
|
NetworkInterfaceProperties |
withPrivateIpAddress(String privateIpAddress)
Set the privateIpAddress property: The private IP address.
|
NetworkInterfaceProperties |
withPublicIpAddress(String publicIpAddress)
Set the publicIpAddress property: The public IP address.
|
NetworkInterfaceProperties |
withPublicIpAddressId(String publicIpAddressId)
Set the publicIpAddressId property: The resource ID of the public IP address.
|
NetworkInterfaceProperties |
withRdpAuthority(String rdpAuthority)
Set the rdpAuthority property: The RdpAuthority property is a server DNS host name or IP address followed by the
service port number for RDP (Remote Desktop Protocol).
|
NetworkInterfaceProperties |
withSharedPublicIpAddressConfiguration(SharedPublicIpAddressConfiguration sharedPublicIpAddressConfiguration)
Set the sharedPublicIpAddressConfiguration property: The configuration for sharing a public IP address across
multiple virtual machines.
|
NetworkInterfaceProperties |
withSshAuthority(String sshAuthority)
Set the sshAuthority property: The SshAuthority property is a server DNS host name or IP address followed by the
service port number for SSH.
|
NetworkInterfaceProperties |
withSubnetId(String subnetId)
Set the subnetId property: The resource ID of the sub net.
|
NetworkInterfaceProperties |
withVirtualNetworkId(String virtualNetworkId)
Set the virtualNetworkId property: The resource ID of the virtual network.
|
public String virtualNetworkId()
public NetworkInterfaceProperties withVirtualNetworkId(String virtualNetworkId)
virtualNetworkId
- the virtualNetworkId value to set.public String subnetId()
public NetworkInterfaceProperties withSubnetId(String subnetId)
subnetId
- the subnetId value to set.public String publicIpAddressId()
public NetworkInterfaceProperties withPublicIpAddressId(String publicIpAddressId)
publicIpAddressId
- the publicIpAddressId value to set.public String publicIpAddress()
public NetworkInterfaceProperties withPublicIpAddress(String publicIpAddress)
publicIpAddress
- the publicIpAddress value to set.public String privateIpAddress()
public NetworkInterfaceProperties withPrivateIpAddress(String privateIpAddress)
privateIpAddress
- the privateIpAddress value to set.public String dnsName()
public NetworkInterfaceProperties withDnsName(String dnsName)
dnsName
- the dnsName value to set.public String rdpAuthority()
public NetworkInterfaceProperties withRdpAuthority(String rdpAuthority)
rdpAuthority
- the rdpAuthority value to set.public String sshAuthority()
public NetworkInterfaceProperties withSshAuthority(String sshAuthority)
sshAuthority
- the sshAuthority value to set.public SharedPublicIpAddressConfiguration sharedPublicIpAddressConfiguration()
public NetworkInterfaceProperties withSharedPublicIpAddressConfiguration(SharedPublicIpAddressConfiguration sharedPublicIpAddressConfiguration)
sharedPublicIpAddressConfiguration
- the sharedPublicIpAddressConfiguration value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.