hpegl 0.4.17 published on Monday, Apr 14, 2025 by hpe
hpegl.getVmaasTransportZone
Explore with Pulumi AI
The hpegl.getVmaasTransportZone data source can be used to discover the ID of a hpegl vmaas transport zone. This can then be used with resources or data sources that require an hpegl.getVmaasTransportZone
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as hpegl from "@pulumi/hpegl";
const tfZone = hpegl.getVmaasTransportZone({
    name: "nsx_transport_zone_overlay",
});
import pulumi
import pulumi_hpegl as hpegl
tf_zone = hpegl.get_vmaas_transport_zone(name="nsx_transport_zone_overlay")
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.GetVmaasTransportZone(ctx, &hpegl.GetVmaasTransportZoneArgs{
			Name: "nsx_transport_zone_overlay",
		}, 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 tfZone = Hpegl.GetVmaasTransportZone.Invoke(new()
    {
        Name = "nsx_transport_zone_overlay",
    });
});
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.GetVmaasTransportZoneArgs;
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 tfZone = HpeglFunctions.getVmaasTransportZone(GetVmaasTransportZoneArgs.builder()
            .name("nsx_transport_zone_overlay")
            .build());
    }
}
variables:
  tfZone:
    fn::invoke:
      function: hpegl:getVmaasTransportZone
      arguments:
        name: nsx_transport_zone_overlay
Using getVmaasTransportZone
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 getVmaasTransportZone(args: GetVmaasTransportZoneArgs, opts?: InvokeOptions): Promise<GetVmaasTransportZoneResult>
function getVmaasTransportZoneOutput(args: GetVmaasTransportZoneOutputArgs, opts?: InvokeOptions): Output<GetVmaasTransportZoneResult>def get_vmaas_transport_zone(id: Optional[str] = None,
                             name: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetVmaasTransportZoneResult
def get_vmaas_transport_zone_output(id: Optional[pulumi.Input[str]] = None,
                             name: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetVmaasTransportZoneResult]func GetVmaasTransportZone(ctx *Context, args *GetVmaasTransportZoneArgs, opts ...InvokeOption) (*GetVmaasTransportZoneResult, error)
func GetVmaasTransportZoneOutput(ctx *Context, args *GetVmaasTransportZoneOutputArgs, opts ...InvokeOption) GetVmaasTransportZoneResultOutput> Note: This function is named GetVmaasTransportZone in the Go SDK.
public static class GetVmaasTransportZone 
{
    public static Task<GetVmaasTransportZoneResult> InvokeAsync(GetVmaasTransportZoneArgs args, InvokeOptions? opts = null)
    public static Output<GetVmaasTransportZoneResult> Invoke(GetVmaasTransportZoneInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVmaasTransportZoneResult> getVmaasTransportZone(GetVmaasTransportZoneArgs args, InvokeOptions options)
public static Output<GetVmaasTransportZoneResult> getVmaasTransportZone(GetVmaasTransportZoneArgs args, InvokeOptions options)
fn::invoke:
  function: hpegl:index/getVmaasTransportZone:getVmaasTransportZone
  arguments:
    # arguments dictionaryThe following arguments are supported:
getVmaasTransportZone Result
The following output properties are available:
- External
Id string - Id string
 - The ID of this resource.
 - Internal
Id string - Name string
 - Name of the transport zone as it appears on HPE GreenLake for private cloud dashboard. If there is no transport zone with this name, a 'NOT FOUND' error will returned.
 - Provider
Id string - scopeid of the transport zone. Use the scopeid as transport zone while creating network
 
- External
Id string - Id string
 - The ID of this resource.
 - Internal
Id string - Name string
 - Name of the transport zone as it appears on HPE GreenLake for private cloud dashboard. If there is no transport zone with this name, a 'NOT FOUND' error will returned.
 - Provider
Id string - scopeid of the transport zone. Use the scopeid as transport zone while creating network
 
- external
Id String - id String
 - The ID of this resource.
 - internal
Id String - name String
 - Name of the transport zone as it appears on HPE GreenLake for private cloud dashboard. If there is no transport zone with this name, a 'NOT FOUND' error will returned.
 - provider
Id String - scopeid of the transport zone. Use the scopeid as transport zone while creating network
 
- external
Id string - id string
 - The ID of this resource.
 - internal
Id string - name string
 - Name of the transport zone as it appears on HPE GreenLake for private cloud dashboard. If there is no transport zone with this name, a 'NOT FOUND' error will returned.
 - provider
Id string - scopeid of the transport zone. Use the scopeid as transport zone while creating network
 
- external_
id str - id str
 - The ID of this resource.
 - internal_
id str - name str
 - Name of the transport zone as it appears on HPE GreenLake for private cloud dashboard. If there is no transport zone with this name, a 'NOT FOUND' error will returned.
 - provider_
id str - scopeid of the transport zone. Use the scopeid as transport zone while creating network
 
- external
Id String - id String
 - The ID of this resource.
 - internal
Id String - name String
 - Name of the transport zone as it appears on HPE GreenLake for private cloud dashboard. If there is no transport zone with this name, a 'NOT FOUND' error will returned.
 - provider
Id String - scopeid of the transport zone. Use the scopeid as transport zone while creating network
 
Package Details
- Repository
 - hpegl hpe/terraform-provider-hpegl
 - License
 - Notes
 - This Pulumi package is based on the 
hpeglTerraform Provider.