These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi
azure-native-v2.avs.getWorkloadNetworkDhcp
Explore with Pulumi AI
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi
NSX DHCP Azure REST API version: 2022-05-01.
Other available API versions: 2021-01-01-preview, 2023-03-01, 2023-09-01.
Using getWorkloadNetworkDhcp
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getWorkloadNetworkDhcp(args: GetWorkloadNetworkDhcpArgs, opts?: InvokeOptions): Promise<GetWorkloadNetworkDhcpResult>
function getWorkloadNetworkDhcpOutput(args: GetWorkloadNetworkDhcpOutputArgs, opts?: InvokeOptions): Output<GetWorkloadNetworkDhcpResult>
def get_workload_network_dhcp(dhcp_id: Optional[str] = None,
private_cloud_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetWorkloadNetworkDhcpResult
def get_workload_network_dhcp_output(dhcp_id: Optional[pulumi.Input[str]] = None,
private_cloud_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetWorkloadNetworkDhcpResult]
func LookupWorkloadNetworkDhcp(ctx *Context, args *LookupWorkloadNetworkDhcpArgs, opts ...InvokeOption) (*LookupWorkloadNetworkDhcpResult, error)
func LookupWorkloadNetworkDhcpOutput(ctx *Context, args *LookupWorkloadNetworkDhcpOutputArgs, opts ...InvokeOption) LookupWorkloadNetworkDhcpResultOutput
> Note: This function is named LookupWorkloadNetworkDhcp
in the Go SDK.
public static class GetWorkloadNetworkDhcp
{
public static Task<GetWorkloadNetworkDhcpResult> InvokeAsync(GetWorkloadNetworkDhcpArgs args, InvokeOptions? opts = null)
public static Output<GetWorkloadNetworkDhcpResult> Invoke(GetWorkloadNetworkDhcpInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetWorkloadNetworkDhcpResult> getWorkloadNetworkDhcp(GetWorkloadNetworkDhcpArgs args, InvokeOptions options)
public static Output<GetWorkloadNetworkDhcpResult> getWorkloadNetworkDhcp(GetWorkloadNetworkDhcpArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:avs:getWorkloadNetworkDhcp
arguments:
# arguments dictionary
The following arguments are supported:
- Dhcp
Id This property is required. Changes to this property will trigger replacement.
- NSX DHCP identifier. Generally the same as the DHCP display name
- Private
Cloud Name This property is required. Changes to this property will trigger replacement.
- Name of the private cloud
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- Dhcp
Id This property is required. Changes to this property will trigger replacement.
- NSX DHCP identifier. Generally the same as the DHCP display name
- Private
Cloud Name This property is required. Changes to this property will trigger replacement.
- Name of the private cloud
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- dhcp
Id This property is required. Changes to this property will trigger replacement.
- NSX DHCP identifier. Generally the same as the DHCP display name
- private
Cloud Name This property is required. Changes to this property will trigger replacement.
- Name of the private cloud
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- dhcp
Id This property is required. Changes to this property will trigger replacement.
- NSX DHCP identifier. Generally the same as the DHCP display name
- private
Cloud Name This property is required. Changes to this property will trigger replacement.
- Name of the private cloud
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- dhcp_
id This property is required. Changes to this property will trigger replacement.
- NSX DHCP identifier. Generally the same as the DHCP display name
- private_
cloud_ name This property is required. Changes to this property will trigger replacement.
- Name of the private cloud
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- dhcp
Id This property is required. Changes to this property will trigger replacement.
- NSX DHCP identifier. Generally the same as the DHCP display name
- private
Cloud Name This property is required. Changes to this property will trigger replacement.
- Name of the private cloud
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
getWorkloadNetworkDhcp Result
The following output properties are available:
- Id string
- Resource ID.
- Name string
- Resource name.
- Properties
Pulumi.
Azure | Pulumi.Native. AVS. Outputs. Workload Network Dhcp Relay Response Azure Native. AVS. Outputs. Workload Network Dhcp Server Response - DHCP properties.
- Type string
- Resource type.
- Id string
- Resource ID.
- Name string
- Resource name.
- Properties
Workload
Network | WorkloadDhcp Relay Response Network Dhcp Server Response - DHCP properties.
- Type string
- Resource type.
- id String
- Resource ID.
- name String
- Resource name.
- properties
Workload
Network | WorkloadDhcp Relay Response Network Dhcp Server Response - DHCP properties.
- type String
- Resource type.
- id string
- Resource ID.
- name string
- Resource name.
- properties
Workload
Network | WorkloadDhcp Relay Response Network Dhcp Server Response - DHCP properties.
- type string
- Resource type.
- id str
- Resource ID.
- name str
- Resource name.
- properties
Workload
Network | WorkloadDhcp Relay Response Network Dhcp Server Response - DHCP properties.
- type str
- Resource type.
- id String
- Resource ID.
- name String
- Resource name.
- properties Property Map | Property Map
- DHCP properties.
- type String
- Resource type.
Supporting Types
WorkloadNetworkDhcpRelayResponse
- Provisioning
State This property is required. string - The provisioning state
- Segments
This property is required. List<string> - NSX Segments consuming DHCP.
- Display
Name string - Display name of the DHCP entity.
- Revision double
- NSX revision number.
- Server
Addresses List<string> - DHCP Relay Addresses. Max 3.
- Provisioning
State This property is required. string - The provisioning state
- Segments
This property is required. []string - NSX Segments consuming DHCP.
- Display
Name string - Display name of the DHCP entity.
- Revision float64
- NSX revision number.
- Server
Addresses []string - DHCP Relay Addresses. Max 3.
- provisioning
State This property is required. String - The provisioning state
- segments
This property is required. List<String> - NSX Segments consuming DHCP.
- display
Name String - Display name of the DHCP entity.
- revision Double
- NSX revision number.
- server
Addresses List<String> - DHCP Relay Addresses. Max 3.
- provisioning
State This property is required. string - The provisioning state
- segments
This property is required. string[] - NSX Segments consuming DHCP.
- display
Name string - Display name of the DHCP entity.
- revision number
- NSX revision number.
- server
Addresses string[] - DHCP Relay Addresses. Max 3.
- provisioning_
state This property is required. str - The provisioning state
- segments
This property is required. Sequence[str] - NSX Segments consuming DHCP.
- display_
name str - Display name of the DHCP entity.
- revision float
- NSX revision number.
- server_
addresses Sequence[str] - DHCP Relay Addresses. Max 3.
- provisioning
State This property is required. String - The provisioning state
- segments
This property is required. List<String> - NSX Segments consuming DHCP.
- display
Name String - Display name of the DHCP entity.
- revision Number
- NSX revision number.
- server
Addresses List<String> - DHCP Relay Addresses. Max 3.
WorkloadNetworkDhcpServerResponse
- Provisioning
State This property is required. string - The provisioning state
- Segments
This property is required. List<string> - NSX Segments consuming DHCP.
- Display
Name string - Display name of the DHCP entity.
- Lease
Time double - DHCP Server Lease Time.
- Revision double
- NSX revision number.
- Server
Address string - DHCP Server Address.
- Provisioning
State This property is required. string - The provisioning state
- Segments
This property is required. []string - NSX Segments consuming DHCP.
- Display
Name string - Display name of the DHCP entity.
- Lease
Time float64 - DHCP Server Lease Time.
- Revision float64
- NSX revision number.
- Server
Address string - DHCP Server Address.
- provisioning
State This property is required. String - The provisioning state
- segments
This property is required. List<String> - NSX Segments consuming DHCP.
- display
Name String - Display name of the DHCP entity.
- lease
Time Double - DHCP Server Lease Time.
- revision Double
- NSX revision number.
- server
Address String - DHCP Server Address.
- provisioning
State This property is required. string - The provisioning state
- segments
This property is required. string[] - NSX Segments consuming DHCP.
- display
Name string - Display name of the DHCP entity.
- lease
Time number - DHCP Server Lease Time.
- revision number
- NSX revision number.
- server
Address string - DHCP Server Address.
- provisioning_
state This property is required. str - The provisioning state
- segments
This property is required. Sequence[str] - NSX Segments consuming DHCP.
- display_
name str - Display name of the DHCP entity.
- lease_
time float - DHCP Server Lease Time.
- revision float
- NSX revision number.
- server_
address str - DHCP Server Address.
- provisioning
State This property is required. String - The provisioning state
- segments
This property is required. List<String> - NSX Segments consuming DHCP.
- display
Name String - Display name of the DHCP entity.
- lease
Time Number - DHCP Server Lease Time.
- revision Number
- NSX revision number.
- server
Address String - DHCP Server Address.
Package Details
- Repository
- azure-native-v2 pulumi/pulumi-azure-native
- License
- Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi