hpegl 0.4.18 published on Friday, Apr 18, 2025 by hpe
hpegl.getVmaasNetworkDomain
Explore with Pulumi AI
The hpegl.getVmaasNetworkDomain data source can be used to discover the ID of an hpegl_vmaas_network_domain. This can then be used with resources or data sources that require an hpegl.getVmaasNetworkDomain such as the hpegl.VmaasNetwork
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as hpegl from "@pulumi/hpegl";
const tfDomain = hpegl.getVmaasNetworkDomain({
name: "test_domain",
});
import pulumi
import pulumi_hpegl as hpegl
tf_domain = hpegl.get_vmaas_network_domain(name="test_domain")
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.GetVmaasNetworkDomain(ctx, &hpegl.GetVmaasNetworkDomainArgs{
Name: "test_domain",
}, 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 tfDomain = Hpegl.GetVmaasNetworkDomain.Invoke(new()
{
Name = "test_domain",
});
});
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.GetVmaasNetworkDomainArgs;
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 tfDomain = HpeglFunctions.getVmaasNetworkDomain(GetVmaasNetworkDomainArgs.builder()
.name("test_domain")
.build());
}
}
variables:
tfDomain:
fn::invoke:
function: hpegl:getVmaasNetworkDomain
arguments:
name: test_domain
Using getVmaasNetworkDomain
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 getVmaasNetworkDomain(args: GetVmaasNetworkDomainArgs, opts?: InvokeOptions): Promise<GetVmaasNetworkDomainResult>
function getVmaasNetworkDomainOutput(args: GetVmaasNetworkDomainOutputArgs, opts?: InvokeOptions): Output<GetVmaasNetworkDomainResult>
def get_vmaas_network_domain(id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVmaasNetworkDomainResult
def get_vmaas_network_domain_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVmaasNetworkDomainResult]
func GetVmaasNetworkDomain(ctx *Context, args *GetVmaasNetworkDomainArgs, opts ...InvokeOption) (*GetVmaasNetworkDomainResult, error)
func GetVmaasNetworkDomainOutput(ctx *Context, args *GetVmaasNetworkDomainOutputArgs, opts ...InvokeOption) GetVmaasNetworkDomainResultOutput
> Note: This function is named GetVmaasNetworkDomain
in the Go SDK.
public static class GetVmaasNetworkDomain
{
public static Task<GetVmaasNetworkDomainResult> InvokeAsync(GetVmaasNetworkDomainArgs args, InvokeOptions? opts = null)
public static Output<GetVmaasNetworkDomainResult> Invoke(GetVmaasNetworkDomainInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetVmaasNetworkDomainResult> getVmaasNetworkDomain(GetVmaasNetworkDomainArgs args, InvokeOptions options)
public static Output<GetVmaasNetworkDomainResult> getVmaasNetworkDomain(GetVmaasNetworkDomainArgs args, InvokeOptions options)
fn::invoke:
function: hpegl:index/getVmaasNetworkDomain:getVmaasNetworkDomain
arguments:
# arguments dictionary
The following arguments are supported:
getVmaasNetworkDomain Result
The following output properties are available:
Package Details
- Repository
- hpegl hpe/terraform-provider-hpegl
- License
- Notes
- This Pulumi package is based on the
hpegl
Terraform Provider.