Partager via


WorkloadNetworkDhcpEntity Class

Definition

Base class for WorkloadNetworkDhcpServer and WorkloadNetworkDhcpRelay to inherit from

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkDhcpEntityTypeConverter))]
public class WorkloadNetworkDhcpEntity : Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkDhcpEntity
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.WorkloadNetworkDhcpEntityTypeConverter))>]
type WorkloadNetworkDhcpEntity = class
    interface IWorkloadNetworkDhcpEntity
    interface IJsonSerializable
Public Class WorkloadNetworkDhcpEntity
Implements IWorkloadNetworkDhcpEntity
Inheritance
WorkloadNetworkDhcpEntity
Attributes
Implements

Constructors

WorkloadNetworkDhcpEntity()

Creates an new WorkloadNetworkDhcpEntity 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.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of WorkloadNetworkDhcpEntity.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of WorkloadNetworkDhcpEntity.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkDhcpEntity. Note: the Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkDhcpEntity interface is polymorphic, and the precise model class that will get deserialized is determined at runtime based on the payload.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of WorkloadNetworkDhcpEntity into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to