Share via


WorkloadNetworkDhcpRelay Class

Definition

NSX DHCP Relay

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkDhcpRelayTypeConverter))]
public class WorkloadNetworkDhcpRelay : Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkDhcpRelay, Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkDhcpRelayTypeConverter))>]
type WorkloadNetworkDhcpRelay = class
    interface IWorkloadNetworkDhcpRelay
    interface IJsonSerializable
    interface IWorkloadNetworkDhcpEntity
    interface IValidates
Public Class WorkloadNetworkDhcpRelay
Implements IValidates, IWorkloadNetworkDhcpRelay
Inheritance
WorkloadNetworkDhcpRelay
Attributes
Implements

Constructors

WorkloadNetworkDhcpRelay()

Creates an new WorkloadNetworkDhcpRelay instance.

Properties

DhcpType

Type of DHCP: SERVER or RELAY.

DisplayName

Display name of the DHCP entity.

ProvisioningState

The provisioning state

Revision

NSX revision number.

Segment

NSX Segments consuming DHCP.

ServerAddress

DHCP Relay Addresses. Max 3.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of WorkloadNetworkDhcpRelay.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of WorkloadNetworkDhcpRelay.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkDhcpRelay.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of WorkloadNetworkDhcpRelay into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to