次の方法で共有


NicIpSettings Class

  • java.lang.Object
    • com.azure.resourcemanager.connectedvmware.models.NicIpSettings

public final class NicIpSettings

Defines the network interface ip settings.

Constructor Summary

Constructor Description
NicIpSettings()

Method Summary

Modifier and Type Method and Description
IpAddressAllocationMethod allocationMethod()

Get the allocationMethod property: Gets or sets the nic allocation method.

List<String> dnsServers()

Get the dnsServers property: Gets or sets the dns servers.

List<String> gateway()

Get the gateway property: Gets or sets the gateway.

String ipAddress()

Get the ipAddress property: Gets or sets the ip address for the nic.

List<NicIpAddressSettings> ipAddressInfo()

Get the ipAddressInfo property: Gets or sets the IP address information being reported for this NIC.

String primaryWinsServer()

Get the primaryWinsServer property: Gets or sets the primary server.

String secondaryWinsServer()

Get the secondaryWinsServer property: Gets or sets the secondary server.

String subnetMask()

Get the subnetMask property: Gets or sets the mask.

void validate()

Validates the instance.

NicIpSettings withAllocationMethod(IpAddressAllocationMethod allocationMethod)

Set the allocationMethod property: Gets or sets the nic allocation method.

NicIpSettings withDnsServers(List<String> dnsServers)

Set the dnsServers property: Gets or sets the dns servers.

NicIpSettings withGateway(List<String> gateway)

Set the gateway property: Gets or sets the gateway.

NicIpSettings withIpAddress(String ipAddress)

Set the ipAddress property: Gets or sets the ip address for the nic.

NicIpSettings withSubnetMask(String subnetMask)

Set the subnetMask property: Gets or sets the mask.

Methods inherited from java.lang.Object

Constructor Details

NicIpSettings

public NicIpSettings()

Method Details

allocationMethod

public IpAddressAllocationMethod allocationMethod()

Get the allocationMethod property: Gets or sets the nic allocation method.

Returns:

the allocationMethod value.

dnsServers

public List<String> dnsServers()

Get the dnsServers property: Gets or sets the dns servers.

Returns:

the dnsServers value.

gateway

public List<String> gateway()

Get the gateway property: Gets or sets the gateway.

Returns:

the gateway value.

ipAddress

public String ipAddress()

Get the ipAddress property: Gets or sets the ip address for the nic.

Returns:

the ipAddress value.

ipAddressInfo

public List<NicIpAddressSettings> ipAddressInfo()

Get the ipAddressInfo property: Gets or sets the IP address information being reported for this NIC. This contains the same IPv4 information above plus IPV6 information.

Returns:

the ipAddressInfo value.

primaryWinsServer

public String primaryWinsServer()

Get the primaryWinsServer property: Gets or sets the primary server.

Returns:

the primaryWinsServer value.

secondaryWinsServer

public String secondaryWinsServer()

Get the secondaryWinsServer property: Gets or sets the secondary server.

Returns:

the secondaryWinsServer value.

subnetMask

public String subnetMask()

Get the subnetMask property: Gets or sets the mask.

Returns:

the subnetMask value.

validate

public void validate()

Validates the instance.

withAllocationMethod

public NicIpSettings withAllocationMethod(IpAddressAllocationMethod allocationMethod)

Set the allocationMethod property: Gets or sets the nic allocation method.

Parameters:

allocationMethod - the allocationMethod value to set.

Returns:

the NicIpSettings object itself.

withDnsServers

public NicIpSettings withDnsServers(List<String> dnsServers)

Set the dnsServers property: Gets or sets the dns servers.

Parameters:

dnsServers - the dnsServers value to set.

Returns:

the NicIpSettings object itself.

withGateway

public NicIpSettings withGateway(List<String> gateway)

Set the gateway property: Gets or sets the gateway.

Parameters:

gateway - the gateway value to set.

Returns:

the NicIpSettings object itself.

withIpAddress

public NicIpSettings withIpAddress(String ipAddress)

Set the ipAddress property: Gets or sets the ip address for the nic.

Parameters:

ipAddress - the ipAddress value to set.

Returns:

the NicIpSettings object itself.

withSubnetMask

public NicIpSettings withSubnetMask(String subnetMask)

Set the subnetMask property: Gets or sets the mask.

Parameters:

subnetMask - the subnetMask value to set.

Returns:

the NicIpSettings object itself.

Applies to