hpegl 0.4.18 published on Friday, Apr 18, 2025 by hpe
hpegl.getVmaasEdgeCluster
Explore with Pulumi AI
The hpegl.getVmaasEdgeCluster data source can be used to discover the Provider ID of a hpegl vmaas Edge cluster. This can then be used with resources or data sources that require a hpegl.getVmaasEdgeCluster
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as hpegl from "@pulumi/hpegl";
const tfEdgeCluster = hpegl.getVmaasEdgeCluster({
    name: "nsx_edge_cluster",
});
import pulumi
import pulumi_hpegl as hpegl
tf_edge_cluster = hpegl.get_vmaas_edge_cluster(name="nsx_edge_cluster")
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 {
		_, err := hpegl.GetVmaasEdgeCluster(ctx, &hpegl.GetVmaasEdgeClusterArgs{
			Name: "nsx_edge_cluster",
		}, 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(() => 
{
    var tfEdgeCluster = Hpegl.GetVmaasEdgeCluster.Invoke(new()
    {
        Name = "nsx_edge_cluster",
    });
});
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.GetVmaasEdgeClusterArgs;
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) {
        final var tfEdgeCluster = HpeglFunctions.getVmaasEdgeCluster(GetVmaasEdgeClusterArgs.builder()
            .name("nsx_edge_cluster")
            .build());
    }
}
variables:
  tfEdgeCluster:
    fn::invoke:
      function: hpegl:getVmaasEdgeCluster
      arguments:
        name: nsx_edge_cluster
Using getVmaasEdgeCluster
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 getVmaasEdgeCluster(args: GetVmaasEdgeClusterArgs, opts?: InvokeOptions): Promise<GetVmaasEdgeClusterResult>
function getVmaasEdgeClusterOutput(args: GetVmaasEdgeClusterOutputArgs, opts?: InvokeOptions): Output<GetVmaasEdgeClusterResult>def get_vmaas_edge_cluster(id: Optional[str] = None,
                           name: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetVmaasEdgeClusterResult
def get_vmaas_edge_cluster_output(id: Optional[pulumi.Input[str]] = None,
                           name: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetVmaasEdgeClusterResult]func GetVmaasEdgeCluster(ctx *Context, args *GetVmaasEdgeClusterArgs, opts ...InvokeOption) (*GetVmaasEdgeClusterResult, error)
func GetVmaasEdgeClusterOutput(ctx *Context, args *GetVmaasEdgeClusterOutputArgs, opts ...InvokeOption) GetVmaasEdgeClusterResultOutput> Note: This function is named GetVmaasEdgeCluster in the Go SDK.
public static class GetVmaasEdgeCluster 
{
    public static Task<GetVmaasEdgeClusterResult> InvokeAsync(GetVmaasEdgeClusterArgs args, InvokeOptions? opts = null)
    public static Output<GetVmaasEdgeClusterResult> Invoke(GetVmaasEdgeClusterInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVmaasEdgeClusterResult> getVmaasEdgeCluster(GetVmaasEdgeClusterArgs args, InvokeOptions options)
public static Output<GetVmaasEdgeClusterResult> getVmaasEdgeCluster(GetVmaasEdgeClusterArgs args, InvokeOptions options)
fn::invoke:
  function: hpegl:index/getVmaasEdgeCluster:getVmaasEdgeCluster
  arguments:
    # arguments dictionaryThe following arguments are supported:
getVmaasEdgeCluster Result
The following output properties are available:
- ExternalId string
- Id string
- The ID of this resource.
- InternalId string
- Name string
- Name of the Edge Cluster as it appears on HPE GreenLake for private cloud dashboard. If there is no Edge Cluster with this name, a 'NOT FOUND' error will returned.
- ProviderId string
- ProviderId of the Edge Cluster. Use the provider_id as EdgeCluster while creating NSX-T Router
- ExternalId string
- Id string
- The ID of this resource.
- InternalId string
- Name string
- Name of the Edge Cluster as it appears on HPE GreenLake for private cloud dashboard. If there is no Edge Cluster with this name, a 'NOT FOUND' error will returned.
- ProviderId string
- ProviderId of the Edge Cluster. Use the provider_id as EdgeCluster while creating NSX-T Router
- externalId String
- id String
- The ID of this resource.
- internalId String
- name String
- Name of the Edge Cluster as it appears on HPE GreenLake for private cloud dashboard. If there is no Edge Cluster with this name, a 'NOT FOUND' error will returned.
- providerId String
- ProviderId of the Edge Cluster. Use the provider_id as EdgeCluster while creating NSX-T Router
- externalId string
- id string
- The ID of this resource.
- internalId string
- name string
- Name of the Edge Cluster as it appears on HPE GreenLake for private cloud dashboard. If there is no Edge Cluster with this name, a 'NOT FOUND' error will returned.
- providerId string
- ProviderId of the Edge Cluster. Use the provider_id as EdgeCluster while creating NSX-T Router
- external_id str
- id str
- The ID of this resource.
- internal_id str
- name str
- Name of the Edge Cluster as it appears on HPE GreenLake for private cloud dashboard. If there is no Edge Cluster with this name, a 'NOT FOUND' error will returned.
- provider_id str
- ProviderId of the Edge Cluster. Use the provider_id as EdgeCluster while creating NSX-T Router
- externalId String
- id String
- The ID of this resource.
- internalId String
- name String
- Name of the Edge Cluster as it appears on HPE GreenLake for private cloud dashboard. If there is no Edge Cluster with this name, a 'NOT FOUND' error will returned.
- providerId String
- ProviderId of the Edge Cluster. Use the provider_id as EdgeCluster while creating NSX-T Router
Package Details
- Repository
- hpegl hpe/terraform-provider-hpegl
- License
- Notes
- This Pulumi package is based on the hpeglTerraform Provider.