Share via


LogicalNetworkPropertiesDhcpOptions Class

Definition

DhcpOptions contains an array of DNS servers available to VMs deployed in the logical network. Standard DHCP option for a subnet overrides logical network DHCP options.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.LogicalNetworkPropertiesDhcpOptionsTypeConverter))]
public class LogicalNetworkPropertiesDhcpOptions : Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkPropertiesDhcpOptions
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.LogicalNetworkPropertiesDhcpOptionsTypeConverter))>]
type LogicalNetworkPropertiesDhcpOptions = class
    interface ILogicalNetworkPropertiesDhcpOptions
    interface IJsonSerializable
Public Class LogicalNetworkPropertiesDhcpOptions
Implements ILogicalNetworkPropertiesDhcpOptions
Inheritance
LogicalNetworkPropertiesDhcpOptions
Attributes
Implements

Constructors

LogicalNetworkPropertiesDhcpOptions()

Creates an new LogicalNetworkPropertiesDhcpOptions instance.

Properties

DnsServer

The list of DNS servers IP addresses.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of LogicalNetworkPropertiesDhcpOptions.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of LogicalNetworkPropertiesDhcpOptions.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.ILogicalNetworkPropertiesDhcpOptions.

FromJsonString(String)

Creates a new instance of LogicalNetworkPropertiesDhcpOptions, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of LogicalNetworkPropertiesDhcpOptions into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to