ArmAvsModelFactory.WorkloadNetworkDhcpEntity Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of WorkloadNetworkDhcpEntity.
public static Azure.ResourceManager.Avs.Models.WorkloadNetworkDhcpEntity WorkloadNetworkDhcpEntity (string dhcpType = default, string displayName = default, System.Collections.Generic.IEnumerable<string> segments = default, Azure.ResourceManager.Avs.Models.WorkloadNetworkDhcpProvisioningState? provisioningState = default, long? revision = default);
public static Azure.ResourceManager.Avs.Models.WorkloadNetworkDhcpEntity WorkloadNetworkDhcpEntity (string dhcpType = "Unknown", string displayName = default, System.Collections.Generic.IEnumerable<string> segments = default, Azure.ResourceManager.Avs.Models.WorkloadNetworkDhcpProvisioningState? provisioningState = default, long? revision = default);
static member WorkloadNetworkDhcpEntity : string * string * seq<string> * Nullable<Azure.ResourceManager.Avs.Models.WorkloadNetworkDhcpProvisioningState> * Nullable<int64> -> Azure.ResourceManager.Avs.Models.WorkloadNetworkDhcpEntity
Public Shared Function WorkloadNetworkDhcpEntity (Optional dhcpType As String = Nothing, Optional displayName As String = Nothing, Optional segments As IEnumerable(Of String) = Nothing, Optional provisioningState As Nullable(Of WorkloadNetworkDhcpProvisioningState) = Nothing, Optional revision As Nullable(Of Long) = Nothing) As WorkloadNetworkDhcpEntity
Public Shared Function WorkloadNetworkDhcpEntity (Optional dhcpType As String = "Unknown", Optional displayName As String = Nothing, Optional segments As IEnumerable(Of String) = Nothing, Optional provisioningState As Nullable(Of WorkloadNetworkDhcpProvisioningState) = Nothing, Optional revision As Nullable(Of Long) = Nothing) As WorkloadNetworkDhcpEntity
Parameters
- dhcpType
- String
Type of DHCP: SERVER or RELAY.
- displayName
- String
Display name of the DHCP entity.
- segments
- IEnumerable<String>
NSX Segments consuming DHCP.
- provisioningState
- Nullable<WorkloadNetworkDhcpProvisioningState>
The provisioning state.
Returns
A new WorkloadNetworkDhcpEntity instance for mocking.