Class HostNetworkConfiguration
Network Configuration metric for the host
Inherited Members
Namespace: Oci.OpsiService.Models
Assembly: OCI.DotNetSDK.Opsi.dll
Syntax
public class HostNetworkConfiguration : HostConfigurationMetricGroup
Properties
InterfaceName
Declaration
[Required(ErrorMessage = "InterfaceName is required.")]
[JsonProperty(PropertyName = "interfaceName")]
public string InterfaceName { get; set; }
Property Value
Type | Description |
---|---|
string | Name of the network interface |
Remarks
Required
IpAddress
Declaration
[Required(ErrorMessage = "IpAddress is required.")]
[JsonProperty(PropertyName = "ipAddress")]
public string IpAddress { get; set; }
Property Value
Type | Description |
---|---|
string | IP address (IPv4 or IPv6) of the network interface |
Remarks
Required
MacAddress
Declaration
[JsonProperty(PropertyName = "macAddress")]
public string MacAddress { get; set; }
Property Value
Type | Description |
---|---|
string | MAC address of the network interface. MAC address is a 12-digit hexadecimal number separated by colons or dashes or dots. Following formats are accepted: MM:MM:MM:SS:SS:SS, MM-MM-MM-SS-SS-SS, MM.MM.MM.SS.SS.SS, MMM:MMM:SSS:SSS, MMM-MMM-SSS-SSS, MMM.MMM.SSS.SSS, MMMM:MMSS:SSSS, MMMM-MMSS-SSSS, MMMM.MMSS.SSSS |