1. Packages
  2. Hpegl Provider
  3. API Docs
  4. getVmaasTransportZone
hpegl 0.4.18 published on Friday, Apr 18, 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",
});
Copy
import pulumi
import pulumi_hpegl as hpegl

tf_zone = hpegl.get_vmaas_transport_zone(name="nsx_transport_zone_overlay")
Copy
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
	})
}
Copy
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",
    });

});
Copy
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());

    }
}
Copy
variables:
  tfZone:
    fn::invoke:
      function: hpegl:getVmaasTransportZone
      arguments:
        name: nsx_transport_zone_overlay
Copy

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>
Copy
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]
Copy
func GetVmaasTransportZone(ctx *Context, args *GetVmaasTransportZoneArgs, opts ...InvokeOption) (*GetVmaasTransportZoneResult, error)
func GetVmaasTransportZoneOutput(ctx *Context, args *GetVmaasTransportZoneOutputArgs, opts ...InvokeOption) GetVmaasTransportZoneResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetVmaasTransportZoneResult> getVmaasTransportZone(GetVmaasTransportZoneArgs args, InvokeOptions options)
public static Output<GetVmaasTransportZoneResult> getVmaasTransportZone(GetVmaasTransportZoneArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: hpegl:index/getVmaasTransportZone:getVmaasTransportZone
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Name This property is required. 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.
Id string
The ID of this resource.
Name This property is required. 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.
Id string
The ID of this resource.
name This property is required. 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.
id String
The ID of this resource.
name This property is required. 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.
id string
The ID of this resource.
name This property is required. 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.
id str
The ID of this resource.
name This property is required. 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.
id String
The ID of this resource.

getVmaasTransportZone Result

The following output properties are available:

ExternalId string
Id string
The ID of this resource.
InternalId 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.
ProviderId string
scopeid of the transport zone. Use the scopeid as transport zone while creating network
ExternalId string
Id string
The ID of this resource.
InternalId 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.
ProviderId string
scopeid of the transport zone. Use the scopeid as transport zone while creating network
externalId String
id String
The ID of this resource.
internalId 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.
providerId String
scopeid of the transport zone. Use the scopeid as transport zone while creating network
externalId string
id string
The ID of this resource.
internalId 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.
providerId 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
externalId String
id String
The ID of this resource.
internalId 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.
providerId 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 hpegl Terraform Provider.