WorkloadNetworkDhcpEntity Class

Base class for WorkloadNetworkDhcpServer and WorkloadNetworkDhcpRelay to inherit from.

You probably want to use the sub-classes and not this class directly. Known sub-classes are: WorkloadNetworkDhcpRelay, WorkloadNetworkDhcpServer.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Inheritance
WorkloadNetworkDhcpEntity

Constructor

WorkloadNetworkDhcpEntity(*, display_name: Optional[str] = None, revision: Optional[int] = None, **kwargs)

Parameters

dhcp_type
str or DhcpTypeEnum
Required

Required. Type of DHCP: SERVER or RELAY.Constant filled by server. Possible values include: "SERVER", "RELAY".

display_name
str
Required

Display name of the DHCP entity.

revision
<xref:long>
Required

NSX revision number.

Variables

segments
list[str]

NSX Segments consuming DHCP.

provisioning_state
str or WorkloadNetworkDhcpProvisioningState

The provisioning state. Possible values include: "Succeeded", "Failed", "Building", "Deleting", "Updating".