Viewing docs for hpegl 0.4.20
published on Monday, Mar 2, 2026 by hpe
published on Monday, Mar 2, 2026 by hpe
Viewing docs for hpegl 0.4.20
published on Monday, Mar 2, 2026 by hpe
published on Monday, Mar 2, 2026 by hpe
The hpegl.VmaasDhcpServer data source can be used to discover the ID of a hpegl vmaas DHCP server. This can then be used with resources or data sources that require a hpegl_vmaas_dhcp_server, such as the hpegl.VmaasDhcpServer resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as hpegl from "@pulumi/hpegl";
// (C) Copyright 2022 Hewlett Packard Enterprise Development LP
const tfDhcp = hpegl.getVmaasDhcpServer({
name: "tf_dhcp_server",
});
import pulumi
import pulumi_hpegl as hpegl
# (C) Copyright 2022 Hewlett Packard Enterprise Development LP
tf_dhcp = hpegl.get_vmaas_dhcp_server(name="tf_dhcp_server")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/hpegl/hpegl"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// (C) Copyright 2022 Hewlett Packard Enterprise Development LP
_, err := hpegl.LookupVmaasDhcpServer(ctx, &hpegl.LookupVmaasDhcpServerArgs{
Name: "tf_dhcp_server",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Hpegl = Pulumi.Hpegl;
return await Deployment.RunAsync(() =>
{
// (C) Copyright 2022 Hewlett Packard Enterprise Development LP
var tfDhcp = Hpegl.GetVmaasDhcpServer.Invoke(new()
{
Name = "tf_dhcp_server",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.hpegl.HpeglFunctions;
import com.pulumi.hpegl.inputs.GetVmaasDhcpServerArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
// (C) Copyright 2022 Hewlett Packard Enterprise Development LP
final var tfDhcp = HpeglFunctions.getVmaasDhcpServer(GetVmaasDhcpServerArgs.builder()
.name("tf_dhcp_server")
.build());
}
}
variables:
# (C) Copyright 2022 Hewlett Packard Enterprise Development LP
tfDhcp:
fn::invoke:
function: hpegl:getVmaasDhcpServer
arguments:
name: tf_dhcp_server
Using getVmaasDhcpServer
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 getVmaasDhcpServer(args: GetVmaasDhcpServerArgs, opts?: InvokeOptions): Promise<GetVmaasDhcpServerResult>
function getVmaasDhcpServerOutput(args: GetVmaasDhcpServerOutputArgs, opts?: InvokeOptions): Output<GetVmaasDhcpServerResult>def get_vmaas_dhcp_server(name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVmaasDhcpServerResult
def get_vmaas_dhcp_server_output(name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVmaasDhcpServerResult]func LookupVmaasDhcpServer(ctx *Context, args *LookupVmaasDhcpServerArgs, opts ...InvokeOption) (*LookupVmaasDhcpServerResult, error)
func LookupVmaasDhcpServerOutput(ctx *Context, args *LookupVmaasDhcpServerOutputArgs, opts ...InvokeOption) LookupVmaasDhcpServerResultOutput> Note: This function is named LookupVmaasDhcpServer in the Go SDK.
public static class GetVmaasDhcpServer
{
public static Task<GetVmaasDhcpServerResult> InvokeAsync(GetVmaasDhcpServerArgs args, InvokeOptions? opts = null)
public static Output<GetVmaasDhcpServerResult> Invoke(GetVmaasDhcpServerInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVmaasDhcpServerResult> getVmaasDhcpServer(GetVmaasDhcpServerArgs args, InvokeOptions options)
public static Output<GetVmaasDhcpServerResult> getVmaasDhcpServer(GetVmaasDhcpServerArgs args, InvokeOptions options)
fn::invoke:
function: hpegl:index/getVmaasDhcpServer:getVmaasDhcpServer
arguments:
# arguments dictionaryThe following arguments are supported:
- Name string
- Name of the DHCP Server as it appears on HPE GreenLake for private cloud dashboard. If there is no DHCP Server with this name, a 'NOT FOUND' error will returned.
- Name string
- Name of the DHCP Server as it appears on HPE GreenLake for private cloud dashboard. If there is no DHCP Server with this name, a 'NOT FOUND' error will returned.
- name String
- Name of the DHCP Server as it appears on HPE GreenLake for private cloud dashboard. If there is no DHCP Server with this name, a 'NOT FOUND' error will returned.
- name string
- Name of the DHCP Server as it appears on HPE GreenLake for private cloud dashboard. If there is no DHCP Server with this name, a 'NOT FOUND' error will returned.
- name str
- Name of the DHCP Server as it appears on HPE GreenLake for private cloud dashboard. If there is no DHCP Server with this name, a 'NOT FOUND' error will returned.
- name String
- Name of the DHCP Server as it appears on HPE GreenLake for private cloud dashboard. If there is no DHCP Server with this name, a 'NOT FOUND' error will returned.
getVmaasDhcpServer Result
The following output properties are available:
- Id double
- id can be obtained by using DHCP Server datasource/resource.
- Name string
- Name of the DHCP Server as it appears on HPE GreenLake for private cloud dashboard. If there is no DHCP Server with this name, a 'NOT FOUND' error will returned.
- Provider
Id string - ProviderId of the DHCP Server. Use the provider_id while creating DHCP NSX-T Segment Network
- Id float64
- id can be obtained by using DHCP Server datasource/resource.
- Name string
- Name of the DHCP Server as it appears on HPE GreenLake for private cloud dashboard. If there is no DHCP Server with this name, a 'NOT FOUND' error will returned.
- Provider
Id string - ProviderId of the DHCP Server. Use the provider_id while creating DHCP NSX-T Segment Network
- id Double
- id can be obtained by using DHCP Server datasource/resource.
- name String
- Name of the DHCP Server as it appears on HPE GreenLake for private cloud dashboard. If there is no DHCP Server with this name, a 'NOT FOUND' error will returned.
- provider
Id String - ProviderId of the DHCP Server. Use the provider_id while creating DHCP NSX-T Segment Network
- id number
- id can be obtained by using DHCP Server datasource/resource.
- name string
- Name of the DHCP Server as it appears on HPE GreenLake for private cloud dashboard. If there is no DHCP Server with this name, a 'NOT FOUND' error will returned.
- provider
Id string - ProviderId of the DHCP Server. Use the provider_id while creating DHCP NSX-T Segment Network
- id float
- id can be obtained by using DHCP Server datasource/resource.
- name str
- Name of the DHCP Server as it appears on HPE GreenLake for private cloud dashboard. If there is no DHCP Server with this name, a 'NOT FOUND' error will returned.
- provider_
id str - ProviderId of the DHCP Server. Use the provider_id while creating DHCP NSX-T Segment Network
- id Number
- id can be obtained by using DHCP Server datasource/resource.
- name String
- Name of the DHCP Server as it appears on HPE GreenLake for private cloud dashboard. If there is no DHCP Server with this name, a 'NOT FOUND' error will returned.
- provider
Id String - ProviderId of the DHCP Server. Use the provider_id while creating DHCP NSX-T Segment Network
Package Details
- Repository
- hpegl hpe/terraform-provider-hpegl
- License
- Notes
- This Pulumi package is based on the
hpeglTerraform Provider.
Viewing docs for hpegl 0.4.20
published on Monday, Mar 2, 2026 by hpe
published on Monday, Mar 2, 2026 by hpe
