1. Packages
  2. Azure Native
  3. API Docs
  4. avs
  5. getWorkloadNetworkDhcp
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi

azure-native.avs.getWorkloadNetworkDhcp

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 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)
    // Output-based functions aren't available in Java yet
    
    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:

    Id string
    Resource ID.
    Name string
    Resource name.
    Properties WorkloadNetworkDhcpRelayResponse | WorkloadNetworkDhcpServerResponse
    DHCP properties.
    Type string
    Resource type.
    id String
    Resource ID.
    name String
    Resource name.
    properties WorkloadNetworkDhcpRelayResponse | WorkloadNetworkDhcpServerResponse
    DHCP properties.
    type String
    Resource type.
    id string
    Resource ID.
    name string
    Resource name.
    properties WorkloadNetworkDhcpRelayResponse | WorkloadNetworkDhcpServerResponse
    DHCP properties.
    type string
    Resource type.
    id str
    Resource ID.
    name str
    Resource name.
    properties WorkloadNetworkDhcpRelayResponse | WorkloadNetworkDhcpServerResponse
    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

    ProvisioningState string
    The provisioning state
    Segments List<string>
    NSX Segments consuming DHCP.
    DisplayName string
    Display name of the DHCP entity.
    Revision double
    NSX revision number.
    ServerAddresses List<string>
    DHCP Relay Addresses. Max 3.
    ProvisioningState string
    The provisioning state
    Segments []string
    NSX Segments consuming DHCP.
    DisplayName string
    Display name of the DHCP entity.
    Revision float64
    NSX revision number.
    ServerAddresses []string
    DHCP Relay Addresses. Max 3.
    provisioningState String
    The provisioning state
    segments List<String>
    NSX Segments consuming DHCP.
    displayName String
    Display name of the DHCP entity.
    revision Double
    NSX revision number.
    serverAddresses List<String>
    DHCP Relay Addresses. Max 3.
    provisioningState string
    The provisioning state
    segments string[]
    NSX Segments consuming DHCP.
    displayName string
    Display name of the DHCP entity.
    revision number
    NSX revision number.
    serverAddresses string[]
    DHCP Relay Addresses. Max 3.
    provisioning_state str
    The provisioning state
    segments 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.
    provisioningState String
    The provisioning state
    segments List<String>
    NSX Segments consuming DHCP.
    displayName String
    Display name of the DHCP entity.
    revision Number
    NSX revision number.
    serverAddresses List<String>
    DHCP Relay Addresses. Max 3.

    WorkloadNetworkDhcpServerResponse

    ProvisioningState string
    The provisioning state
    Segments List<string>
    NSX Segments consuming DHCP.
    DisplayName string
    Display name of the DHCP entity.
    LeaseTime double
    DHCP Server Lease Time.
    Revision double
    NSX revision number.
    ServerAddress string
    DHCP Server Address.
    ProvisioningState string
    The provisioning state
    Segments []string
    NSX Segments consuming DHCP.
    DisplayName string
    Display name of the DHCP entity.
    LeaseTime float64
    DHCP Server Lease Time.
    Revision float64
    NSX revision number.
    ServerAddress string
    DHCP Server Address.
    provisioningState String
    The provisioning state
    segments List<String>
    NSX Segments consuming DHCP.
    displayName String
    Display name of the DHCP entity.
    leaseTime Double
    DHCP Server Lease Time.
    revision Double
    NSX revision number.
    serverAddress String
    DHCP Server Address.
    provisioningState string
    The provisioning state
    segments string[]
    NSX Segments consuming DHCP.
    displayName string
    Display name of the DHCP entity.
    leaseTime number
    DHCP Server Lease Time.
    revision number
    NSX revision number.
    serverAddress string
    DHCP Server Address.
    provisioning_state str
    The provisioning state
    segments 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.
    provisioningState String
    The provisioning state
    segments List<String>
    NSX Segments consuming DHCP.
    displayName String
    Display name of the DHCP entity.
    leaseTime Number
    DHCP Server Lease Time.
    revision Number
    NSX revision number.
    serverAddress String
    DHCP Server Address.

    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 v1 docs if using the v1 version of this package.
    Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi