1. Packages
  2. Packages
  3. Azure Native
  4. API Docs
  5. avs
  6. getWorkloadNetworkDhcp
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v1.103.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
azure-native logo
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v1.103.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi

    NSX DHCP API Version: 2020-07-17-preview.

    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:

    DhcpId string
    NSX DHCP identifier. Generally the same as the DHCP display name
    PrivateCloudName string
    Name of the private cloud
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    DhcpId string
    NSX DHCP identifier. Generally the same as the DHCP display name
    PrivateCloudName string
    Name of the private cloud
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    dhcpId String
    NSX DHCP identifier. Generally the same as the DHCP display name
    privateCloudName String
    Name of the private cloud
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    dhcpId string
    NSX DHCP identifier. Generally the same as the DHCP display name
    privateCloudName string
    Name of the private cloud
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    dhcp_id str
    NSX DHCP identifier. Generally the same as the DHCP display name
    private_cloud_name str
    Name of the private cloud
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    dhcpId String
    NSX DHCP identifier. Generally the same as the DHCP display name
    privateCloudName String
    Name of the private cloud
    resourceGroupName String
    The name of the resource group. The name is case insensitive.

    getWorkloadNetworkDhcp Result

    The following output properties are available:

    DhcpType string
    Type of DHCP: SERVER or RELAY.
    Id string
    Resource ID.
    Name string
    Resource name.
    ProvisioningState string
    The provisioning state
    Segments List<string>
    NSX Segments consuming DHCP.
    Type string
    Resource type.
    DisplayName string
    Display name of the DHCP entity.
    Revision double
    NSX revision number.
    DhcpType string
    Type of DHCP: SERVER or RELAY.
    Id string
    Resource ID.
    Name string
    Resource name.
    ProvisioningState string
    The provisioning state
    Segments []string
    NSX Segments consuming DHCP.
    Type string
    Resource type.
    DisplayName string
    Display name of the DHCP entity.
    Revision float64
    NSX revision number.
    dhcpType String
    Type of DHCP: SERVER or RELAY.
    id String
    Resource ID.
    name String
    Resource name.
    provisioningState String
    The provisioning state
    segments List<String>
    NSX Segments consuming DHCP.
    type String
    Resource type.
    displayName String
    Display name of the DHCP entity.
    revision Double
    NSX revision number.
    dhcpType string
    Type of DHCP: SERVER or RELAY.
    id string
    Resource ID.
    name string
    Resource name.
    provisioningState string
    The provisioning state
    segments string[]
    NSX Segments consuming DHCP.
    type string
    Resource type.
    displayName string
    Display name of the DHCP entity.
    revision number
    NSX revision number.
    dhcp_type str
    Type of DHCP: SERVER or RELAY.
    id str
    Resource ID.
    name str
    Resource name.
    provisioning_state str
    The provisioning state
    segments Sequence[str]
    NSX Segments consuming DHCP.
    type str
    Resource type.
    display_name str
    Display name of the DHCP entity.
    revision float
    NSX revision number.
    dhcpType String
    Type of DHCP: SERVER or RELAY.
    id String
    Resource ID.
    name String
    Resource name.
    provisioningState String
    The provisioning state
    segments List<String>
    NSX Segments consuming DHCP.
    type String
    Resource type.
    displayName String
    Display name of the DHCP entity.
    revision Number
    NSX revision number.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
    Viewing docs for Azure Native v1.103.0 (Older version)
    published on Monday, Mar 9, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.