vcd 3.14.1 published on Monday, Apr 14, 2025 by vmware
vcd.getOrgVdcNsxtNetworkProfile
Explore with Pulumi AI
Provides a data source to read Network Profile for NSX-T VDCs.
Supported in provider v3.11+ and VCD 10.4.0+ with NSX-T.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as vcd from "@pulumi/vcd";
const nsxt = vcd.getOrgVdcNsxtNetworkProfile({
org: "my-org",
vdc: "my-vdc",
});
import pulumi
import pulumi_vcd as vcd
nsxt = vcd.get_org_vdc_nsxt_network_profile(org="my-org",
vdc="my-vdc")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/vcd/v3/vcd"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vcd.LookupOrgVdcNsxtNetworkProfile(ctx, &vcd.LookupOrgVdcNsxtNetworkProfileArgs{
Org: pulumi.StringRef("my-org"),
Vdc: pulumi.StringRef("my-vdc"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Vcd = Pulumi.Vcd;
return await Deployment.RunAsync(() =>
{
var nsxt = Vcd.GetOrgVdcNsxtNetworkProfile.Invoke(new()
{
Org = "my-org",
Vdc = "my-vdc",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vcd.VcdFunctions;
import com.pulumi.vcd.inputs.GetOrgVdcNsxtNetworkProfileArgs;
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 nsxt = VcdFunctions.getOrgVdcNsxtNetworkProfile(GetOrgVdcNsxtNetworkProfileArgs.builder()
.org("my-org")
.vdc("my-vdc")
.build());
}
}
variables:
nsxt:
fn::invoke:
function: vcd:getOrgVdcNsxtNetworkProfile
arguments:
org: my-org
vdc: my-vdc
Using getOrgVdcNsxtNetworkProfile
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 getOrgVdcNsxtNetworkProfile(args: GetOrgVdcNsxtNetworkProfileArgs, opts?: InvokeOptions): Promise<GetOrgVdcNsxtNetworkProfileResult>
function getOrgVdcNsxtNetworkProfileOutput(args: GetOrgVdcNsxtNetworkProfileOutputArgs, opts?: InvokeOptions): Output<GetOrgVdcNsxtNetworkProfileResult>
def get_org_vdc_nsxt_network_profile(id: Optional[str] = None,
org: Optional[str] = None,
vdc: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetOrgVdcNsxtNetworkProfileResult
def get_org_vdc_nsxt_network_profile_output(id: Optional[pulumi.Input[str]] = None,
org: Optional[pulumi.Input[str]] = None,
vdc: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetOrgVdcNsxtNetworkProfileResult]
func LookupOrgVdcNsxtNetworkProfile(ctx *Context, args *LookupOrgVdcNsxtNetworkProfileArgs, opts ...InvokeOption) (*LookupOrgVdcNsxtNetworkProfileResult, error)
func LookupOrgVdcNsxtNetworkProfileOutput(ctx *Context, args *LookupOrgVdcNsxtNetworkProfileOutputArgs, opts ...InvokeOption) LookupOrgVdcNsxtNetworkProfileResultOutput
> Note: This function is named LookupOrgVdcNsxtNetworkProfile
in the Go SDK.
public static class GetOrgVdcNsxtNetworkProfile
{
public static Task<GetOrgVdcNsxtNetworkProfileResult> InvokeAsync(GetOrgVdcNsxtNetworkProfileArgs args, InvokeOptions? opts = null)
public static Output<GetOrgVdcNsxtNetworkProfileResult> Invoke(GetOrgVdcNsxtNetworkProfileInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetOrgVdcNsxtNetworkProfileResult> getOrgVdcNsxtNetworkProfile(GetOrgVdcNsxtNetworkProfileArgs args, InvokeOptions options)
public static Output<GetOrgVdcNsxtNetworkProfileResult> getOrgVdcNsxtNetworkProfile(GetOrgVdcNsxtNetworkProfileArgs args, InvokeOptions options)
fn::invoke:
function: vcd:index/getOrgVdcNsxtNetworkProfile:getOrgVdcNsxtNetworkProfile
arguments:
# arguments dictionary
The following arguments are supported:
getOrgVdcNsxtNetworkProfile Result
The following output properties are available:
- Edge
Cluster stringId - An ID of NSX-T Edge Cluster which should provide vApp Networking Services or DHCP for Isolated Networks. This value might be unavailable in data source if user has insufficient rights.
- Id string
- Vapp
Networks stringDefault Segment Profile Template Id - Default Segment Profile ID for all vApp networks withing this VDC
- Vdc
Networks stringDefault Segment Profile Template Id - Default Segment Profile ID for all Org VDC networks withing this VDC
- Org string
- Vdc string
- Edge
Cluster stringId - An ID of NSX-T Edge Cluster which should provide vApp Networking Services or DHCP for Isolated Networks. This value might be unavailable in data source if user has insufficient rights.
- Id string
- Vapp
Networks stringDefault Segment Profile Template Id - Default Segment Profile ID for all vApp networks withing this VDC
- Vdc
Networks stringDefault Segment Profile Template Id - Default Segment Profile ID for all Org VDC networks withing this VDC
- Org string
- Vdc string
- edge
Cluster StringId - An ID of NSX-T Edge Cluster which should provide vApp Networking Services or DHCP for Isolated Networks. This value might be unavailable in data source if user has insufficient rights.
- id String
- vapp
Networks StringDefault Segment Profile Template Id - Default Segment Profile ID for all vApp networks withing this VDC
- vdc
Networks StringDefault Segment Profile Template Id - Default Segment Profile ID for all Org VDC networks withing this VDC
- org String
- vdc String
- edge
Cluster stringId - An ID of NSX-T Edge Cluster which should provide vApp Networking Services or DHCP for Isolated Networks. This value might be unavailable in data source if user has insufficient rights.
- id string
- vapp
Networks stringDefault Segment Profile Template Id - Default Segment Profile ID for all vApp networks withing this VDC
- vdc
Networks stringDefault Segment Profile Template Id - Default Segment Profile ID for all Org VDC networks withing this VDC
- org string
- vdc string
- edge_
cluster_ strid - An ID of NSX-T Edge Cluster which should provide vApp Networking Services or DHCP for Isolated Networks. This value might be unavailable in data source if user has insufficient rights.
- id str
- vapp_
networks_ strdefault_ segment_ profile_ template_ id - Default Segment Profile ID for all vApp networks withing this VDC
- vdc_
networks_ strdefault_ segment_ profile_ template_ id - Default Segment Profile ID for all Org VDC networks withing this VDC
- org str
- vdc str
- edge
Cluster StringId - An ID of NSX-T Edge Cluster which should provide vApp Networking Services or DHCP for Isolated Networks. This value might be unavailable in data source if user has insufficient rights.
- id String
- vapp
Networks StringDefault Segment Profile Template Id - Default Segment Profile ID for all vApp networks withing this VDC
- vdc
Networks StringDefault Segment Profile Template Id - Default Segment Profile ID for all Org VDC networks withing this VDC
- org String
- vdc String
Package Details
- Repository
- vcd vmware/terraform-provider-vcd
- License
- Notes
- This Pulumi package is based on the
vcd
Terraform Provider.