1. Registry
  2. Packages
  3. Nsxt Provider
  4. API Docs
  5. getPolicyGatewayInterfaceRealization
Viewing docs for nsxt 3.12.2
published on Friday, Nov 13, 2026 by vmware
nsxt
Viewing docs for nsxt 3.12.2
published on Friday, Nov 13, 2026 by vmware

    This data source provides information about the realization of a Tier0/Tier1 gateway interface resource on NSX manager. This data source will wait until realization is determined as either success or error. It is recommended to use this data source if further configuration depends on resource realization.

    This data source is applicable to NSX Policy Manager, NSX Global Manager and Multi-Tenancy.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as nsxt from "@pulumi/nsxt";
    
    const tier1Gw = nsxt.getPolicyTier1Gateway({
        displayName: "tier1_gw",
    });
    const tier1GwIf = new nsxt.PolicyTier1GatewayInterface("tier1_gw_if", {
        displayName: "tier1_gw_if",
        gatewayPath: tier1Gw.then(tier1Gw => tier1Gw.path),
        segmentPath: segment1.path,
        subnets: ["12.12.2.13/24"],
    });
    const info = nsxt.getPolicyGatewayInterfaceRealizationOutput({
        gatewayInterfacePath: tier1GwIf.path,
        timeout: 60,
    });
    
    import pulumi
    import pulumi_nsxt as nsxt
    
    tier1_gw = nsxt.get_policy_tier1_gateway(display_name="tier1_gw")
    tier1_gw_if = nsxt.PolicyTier1GatewayInterface("tier1_gw_if",
        display_name="tier1_gw_if",
        gateway_path=tier1_gw.path,
        segment_path=segment1["path"],
        subnets=["12.12.2.13/24"])
    info = nsxt.get_policy_gateway_interface_realization_output(gateway_interface_path=tier1_gw_if.path,
        timeout=60)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/nsxt/v3/nsxt"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		tier1Gw, err := nsxt.LookupPolicyTier1Gateway(ctx, &nsxt.LookupPolicyTier1GatewayArgs{
    			DisplayName: pulumi.StringRef("tier1_gw"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		tier1GwIf, err := nsxt.NewPolicyTier1GatewayInterface(ctx, "tier1_gw_if", &nsxt.PolicyTier1GatewayInterfaceArgs{
    			DisplayName: pulumi.String("tier1_gw_if"),
    			GatewayPath: pulumi.String(tier1Gw.Path),
    			SegmentPath: pulumi.Any(segment1.Path),
    			Subnets: pulumi.StringArray{
    				pulumi.String("12.12.2.13/24"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_ = nsxt.GetPolicyGatewayInterfaceRealizationOutput(ctx, nsxt.GetPolicyGatewayInterfaceRealizationOutputArgs{
    			GatewayInterfacePath: tier1GwIf.Path,
    			Timeout:              pulumi.Float64(60),
    		}, nil)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Nsxt = Pulumi.Nsxt;
    
    return await Deployment.RunAsync(() => 
    {
        var tier1Gw = Nsxt.GetPolicyTier1Gateway.Invoke(new()
        {
            DisplayName = "tier1_gw",
        });
    
        var tier1GwIf = new Nsxt.PolicyTier1GatewayInterface("tier1_gw_if", new()
        {
            DisplayName = "tier1_gw_if",
            GatewayPath = tier1Gw.Apply(getPolicyTier1GatewayResult => getPolicyTier1GatewayResult.Path),
            SegmentPath = segment1.Path,
            Subnets = new[]
            {
                "12.12.2.13/24",
            },
        });
    
        var info = Nsxt.GetPolicyGatewayInterfaceRealization.Invoke(new()
        {
            GatewayInterfacePath = tier1GwIf.Path,
            Timeout = 60,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.nsxt.NsxtFunctions;
    import com.pulumi.nsxt.inputs.GetPolicyTier1GatewayArgs;
    import com.pulumi.nsxt.PolicyTier1GatewayInterface;
    import com.pulumi.nsxt.PolicyTier1GatewayInterfaceArgs;
    import com.pulumi.nsxt.inputs.GetPolicyGatewayInterfaceRealizationArgs;
    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 tier1Gw = NsxtFunctions.getPolicyTier1Gateway(GetPolicyTier1GatewayArgs.builder()
                .displayName("tier1_gw")
                .build());
    
            var tier1GwIf = new PolicyTier1GatewayInterface("tier1GwIf", PolicyTier1GatewayInterfaceArgs.builder()
                .displayName("tier1_gw_if")
                .gatewayPath(tier1Gw.path())
                .segmentPath(segment1.path())
                .subnets("12.12.2.13/24")
                .build());
    
            final var info = NsxtFunctions.getPolicyGatewayInterfaceRealization(GetPolicyGatewayInterfaceRealizationArgs.builder()
                .gatewayInterfacePath(tier1GwIf.path())
                .timeout(60.0)
                .build());
    
        }
    }
    
    resources:
      tier1GwIf:
        type: nsxt:PolicyTier1GatewayInterface
        name: tier1_gw_if
        properties:
          displayName: tier1_gw_if
          gatewayPath: ${tier1Gw.path}
          segmentPath: ${segment1.path}
          subnets:
            - 12.12.2.13/24
    variables:
      tier1Gw:
        fn::invoke:
          function: nsxt:getPolicyTier1Gateway
          arguments:
            displayName: tier1_gw
      info:
        fn::invoke:
          function: nsxt:getPolicyGatewayInterfaceRealization
          arguments:
            gatewayInterfacePath: ${tier1GwIf.path}
            timeout: 60
    
    Example coming soon!
    

    Global Manager

    import * as pulumi from "@pulumi/pulumi";
    import * as nsxt from "@pulumi/nsxt";
    
    const site = nsxt.getPolicySite({
        displayName: "site",
    });
    const tier1Gw = nsxt.getPolicyTier1Gateway({
        displayName: "tier1_gw",
    });
    const tier1GwIf = new nsxt.PolicyTier1GatewayInterface("tier1_gw_if", {
        displayName: "tier1_gw_if",
        gatewayPath: tier1Gw.then(tier1Gw => tier1Gw.path),
        segmentPath: segment1.path,
        subnets: ["12.12.2.13/24"],
        sitePath: site.then(site => site.path),
    });
    const info = pulumi.all([tier1GwIf.path, site]).apply(([path, site]) => nsxt.getPolicyGatewayInterfaceRealizationOutput({
        gatewayInterfacePath: path,
        sitePath: site.path,
        timeout: 60,
    }));
    
    import pulumi
    import pulumi_nsxt as nsxt
    
    site = nsxt.get_policy_site(display_name="site")
    tier1_gw = nsxt.get_policy_tier1_gateway(display_name="tier1_gw")
    tier1_gw_if = nsxt.PolicyTier1GatewayInterface("tier1_gw_if",
        display_name="tier1_gw_if",
        gateway_path=tier1_gw.path,
        segment_path=segment1["path"],
        subnets=["12.12.2.13/24"],
        site_path=site.path)
    info = tier1_gw_if.path.apply(lambda path: nsxt.get_policy_gateway_interface_realization(gateway_interface_path=path,
        site_path=site.path,
        timeout=60))
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/nsxt/v3/nsxt"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		site, err := nsxt.LookupPolicySite(ctx, &nsxt.LookupPolicySiteArgs{
    			DisplayName: pulumi.StringRef("site"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		tier1Gw, err := nsxt.LookupPolicyTier1Gateway(ctx, &nsxt.LookupPolicyTier1GatewayArgs{
    			DisplayName: pulumi.StringRef("tier1_gw"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		tier1GwIf, err := nsxt.NewPolicyTier1GatewayInterface(ctx, "tier1_gw_if", &nsxt.PolicyTier1GatewayInterfaceArgs{
    			DisplayName: pulumi.String("tier1_gw_if"),
    			GatewayPath: pulumi.String(tier1Gw.Path),
    			SegmentPath: pulumi.Any(segment1.Path),
    			Subnets: pulumi.StringArray{
    				pulumi.String("12.12.2.13/24"),
    			},
    			SitePath: pulumi.String(site.Path),
    		})
    		if err != nil {
    			return err
    		}
    		_ = tier1GwIf.Path.ApplyT(func(path string) (nsxt.GetPolicyGatewayInterfaceRealizationResult, error) {
    			return nsxt.GetPolicyGatewayInterfaceRealizationResult(nsxt.GetPolicyGatewayInterfaceRealization(ctx, &nsxt.GetPolicyGatewayInterfaceRealizationArgs{
    				GatewayInterfacePath: pulumi.StringRef(pulumi.String(pulumi.StringRef(path))),
    				SitePath:             pulumi.StringRef(pulumi.StringRef(site.Path)),
    				Timeout:              pulumi.Float64Ref(float64(pulumi.Float64Ref(60))),
    			}, nil)), nil
    		}).(nsxt.GetPolicyGatewayInterfaceRealizationResultOutput)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Nsxt = Pulumi.Nsxt;
    
    return await Deployment.RunAsync(() => 
    {
        var site = Nsxt.GetPolicySite.Invoke(new()
        {
            DisplayName = "site",
        });
    
        var tier1Gw = Nsxt.GetPolicyTier1Gateway.Invoke(new()
        {
            DisplayName = "tier1_gw",
        });
    
        var tier1GwIf = new Nsxt.PolicyTier1GatewayInterface("tier1_gw_if", new()
        {
            DisplayName = "tier1_gw_if",
            GatewayPath = tier1Gw.Apply(getPolicyTier1GatewayResult => getPolicyTier1GatewayResult.Path),
            SegmentPath = segment1.Path,
            Subnets = new[]
            {
                "12.12.2.13/24",
            },
            SitePath = site.Apply(getPolicySiteResult => getPolicySiteResult.Path),
        });
    
        var info = Nsxt.GetPolicyGatewayInterfaceRealization.Invoke(new()
        {
            GatewayInterfacePath = tier1GwIf.Path,
            SitePath = site.Apply(getPolicySiteResult => getPolicySiteResult.Path),
            Timeout = 60,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.nsxt.NsxtFunctions;
    import com.pulumi.nsxt.inputs.GetPolicySiteArgs;
    import com.pulumi.nsxt.inputs.GetPolicyTier1GatewayArgs;
    import com.pulumi.nsxt.PolicyTier1GatewayInterface;
    import com.pulumi.nsxt.PolicyTier1GatewayInterfaceArgs;
    import com.pulumi.nsxt.inputs.GetPolicyGatewayInterfaceRealizationArgs;
    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 site = NsxtFunctions.getPolicySite(GetPolicySiteArgs.builder()
                .displayName("site")
                .build());
    
            final var tier1Gw = NsxtFunctions.getPolicyTier1Gateway(GetPolicyTier1GatewayArgs.builder()
                .displayName("tier1_gw")
                .build());
    
            var tier1GwIf = new PolicyTier1GatewayInterface("tier1GwIf", PolicyTier1GatewayInterfaceArgs.builder()
                .displayName("tier1_gw_if")
                .gatewayPath(tier1Gw.path())
                .segmentPath(segment1.path())
                .subnets("12.12.2.13/24")
                .sitePath(site.path())
                .build());
    
            final var info = tier1GwIf.path().applyValue(_path -> NsxtFunctions.getPolicyGatewayInterfaceRealization(GetPolicyGatewayInterfaceRealizationArgs.builder()
                .gatewayInterfacePath(_path)
                .sitePath(site.path())
                .timeout(60)
                .build()));
    
        }
    }
    
    resources:
      tier1GwIf:
        type: nsxt:PolicyTier1GatewayInterface
        name: tier1_gw_if
        properties:
          displayName: tier1_gw_if
          gatewayPath: ${tier1Gw.path}
          segmentPath: ${segment1.path}
          subnets:
            - 12.12.2.13/24
          sitePath: ${site.path}
    variables:
      site:
        fn::invoke:
          function: nsxt:getPolicySite
          arguments:
            displayName: site
      tier1Gw:
        fn::invoke:
          function: nsxt:getPolicyTier1Gateway
          arguments:
            displayName: tier1_gw
      info:
        fn::invoke:
          function: nsxt:getPolicyGatewayInterfaceRealization
          arguments:
            gatewayInterfacePath: ${tier1GwIf.path}
            sitePath: ${site.path}
            timeout: 60
    
    Example coming soon!
    

    Multi-Tenancy

    import * as pulumi from "@pulumi/pulumi";
    import * as nsxt from "@pulumi/nsxt";
    
    const demoproj = nsxt.getPolicyProject({
        displayName: "demoproj",
    });
    const tier1Gw = nsxt.getPolicyTier1Gateway({
        displayName: "tier1_gw",
    });
    const tier1GwIf = new nsxt.PolicyTier1GatewayInterface("tier1_gw_if", {
        context: {
            projectId: demoproj.then(demoproj => demoproj.id),
        },
        displayName: "tier1_gw_if",
        gatewayPath: tier1Gw.then(tier1Gw => tier1Gw.path),
        segmentPath: segment1.path,
        subnets: ["12.12.2.13/24"],
    });
    const info = pulumi.all([demoproj, tier1GwIf.path]).apply(([demoproj, path]) => nsxt.getPolicyGatewayInterfaceRealizationOutput({
        context: {
            projectId: demoproj.id,
        },
        gatewayInterfacePath: path,
        timeout: 60,
    }));
    
    import pulumi
    import pulumi_nsxt as nsxt
    
    demoproj = nsxt.get_policy_project(display_name="demoproj")
    tier1_gw = nsxt.get_policy_tier1_gateway(display_name="tier1_gw")
    tier1_gw_if = nsxt.PolicyTier1GatewayInterface("tier1_gw_if",
        context={
            "project_id": demoproj.id,
        },
        display_name="tier1_gw_if",
        gateway_path=tier1_gw.path,
        segment_path=segment1["path"],
        subnets=["12.12.2.13/24"])
    info = tier1_gw_if.path.apply(lambda path: nsxt.get_policy_gateway_interface_realization(context={
            "project_id": demoproj.id,
        },
        gateway_interface_path=path,
        timeout=60))
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/nsxt/v3/nsxt"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		demoproj, err := nsxt.LookupPolicyProject(ctx, &nsxt.LookupPolicyProjectArgs{
    			DisplayName: pulumi.StringRef("demoproj"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		tier1Gw, err := nsxt.LookupPolicyTier1Gateway(ctx, &nsxt.LookupPolicyTier1GatewayArgs{
    			DisplayName: pulumi.StringRef("tier1_gw"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		tier1GwIf, err := nsxt.NewPolicyTier1GatewayInterface(ctx, "tier1_gw_if", &nsxt.PolicyTier1GatewayInterfaceArgs{
    			Context: &nsxt.PolicyTier1GatewayInterfaceContextArgs{
    				ProjectId: pulumi.String(demoproj.Id),
    			},
    			DisplayName: pulumi.String("tier1_gw_if"),
    			GatewayPath: pulumi.String(tier1Gw.Path),
    			SegmentPath: pulumi.Any(segment1.Path),
    			Subnets: pulumi.StringArray{
    				pulumi.String("12.12.2.13/24"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_ = tier1GwIf.Path.ApplyT(func(path string) (nsxt.GetPolicyGatewayInterfaceRealizationResult, error) {
    			return nsxt.GetPolicyGatewayInterfaceRealizationResult(nsxt.GetPolicyGatewayInterfaceRealization(ctx, &nsxt.GetPolicyGatewayInterfaceRealizationArgs{
    				Context: nsxt.GetPolicyGatewayInterfaceRealizationContext{
    					ProjectId: demoproj.Id,
    				},
    				GatewayInterfacePath: pulumi.StringRef(pulumi.String(pulumi.StringRef(path))),
    				Timeout:              pulumi.Float64Ref(float64(pulumi.Float64Ref(60))),
    			}, nil)), nil
    		}).(nsxt.GetPolicyGatewayInterfaceRealizationResultOutput)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Nsxt = Pulumi.Nsxt;
    
    return await Deployment.RunAsync(() => 
    {
        var demoproj = Nsxt.GetPolicyProject.Invoke(new()
        {
            DisplayName = "demoproj",
        });
    
        var tier1Gw = Nsxt.GetPolicyTier1Gateway.Invoke(new()
        {
            DisplayName = "tier1_gw",
        });
    
        var tier1GwIf = new Nsxt.PolicyTier1GatewayInterface("tier1_gw_if", new()
        {
            Context = new Nsxt.Inputs.PolicyTier1GatewayInterfaceContextArgs
            {
                ProjectId = demoproj.Apply(getPolicyProjectResult => getPolicyProjectResult.Id),
            },
            DisplayName = "tier1_gw_if",
            GatewayPath = tier1Gw.Apply(getPolicyTier1GatewayResult => getPolicyTier1GatewayResult.Path),
            SegmentPath = segment1.Path,
            Subnets = new[]
            {
                "12.12.2.13/24",
            },
        });
    
        var info = Nsxt.GetPolicyGatewayInterfaceRealization.Invoke(new()
        {
            Context = new Nsxt.Inputs.GetPolicyGatewayInterfaceRealizationContextArgs
            {
                ProjectId = demoproj.Apply(getPolicyProjectResult => getPolicyProjectResult.Id),
            },
            GatewayInterfacePath = tier1GwIf.Path,
            Timeout = 60,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.nsxt.NsxtFunctions;
    import com.pulumi.nsxt.inputs.GetPolicyProjectArgs;
    import com.pulumi.nsxt.inputs.GetPolicyTier1GatewayArgs;
    import com.pulumi.nsxt.PolicyTier1GatewayInterface;
    import com.pulumi.nsxt.PolicyTier1GatewayInterfaceArgs;
    import com.pulumi.nsxt.inputs.PolicyTier1GatewayInterfaceContextArgs;
    import com.pulumi.nsxt.inputs.GetPolicyGatewayInterfaceRealizationArgs;
    import com.pulumi.nsxt.inputs.GetPolicyGatewayInterfaceRealizationContextArgs;
    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 demoproj = NsxtFunctions.getPolicyProject(GetPolicyProjectArgs.builder()
                .displayName("demoproj")
                .build());
    
            final var tier1Gw = NsxtFunctions.getPolicyTier1Gateway(GetPolicyTier1GatewayArgs.builder()
                .displayName("tier1_gw")
                .build());
    
            var tier1GwIf = new PolicyTier1GatewayInterface("tier1GwIf", PolicyTier1GatewayInterfaceArgs.builder()
                .context(PolicyTier1GatewayInterfaceContextArgs.builder()
                    .projectId(demoproj.id())
                    .build())
                .displayName("tier1_gw_if")
                .gatewayPath(tier1Gw.path())
                .segmentPath(segment1.path())
                .subnets("12.12.2.13/24")
                .build());
    
            final var info = tier1GwIf.path().applyValue(_path -> NsxtFunctions.getPolicyGatewayInterfaceRealization(GetPolicyGatewayInterfaceRealizationArgs.builder()
                .context(GetPolicyGatewayInterfaceRealizationContextArgs.builder()
                    .projectId(demoproj.id())
                    .build())
                .gatewayInterfacePath(_path)
                .timeout(60)
                .build()));
    
        }
    }
    
    resources:
      tier1GwIf:
        type: nsxt:PolicyTier1GatewayInterface
        name: tier1_gw_if
        properties:
          context:
            projectId: ${demoproj.id}
          displayName: tier1_gw_if
          gatewayPath: ${tier1Gw.path}
          segmentPath: ${segment1.path}
          subnets:
            - 12.12.2.13/24
    variables:
      demoproj:
        fn::invoke:
          function: nsxt:getPolicyProject
          arguments:
            displayName: demoproj
      tier1Gw:
        fn::invoke:
          function: nsxt:getPolicyTier1Gateway
          arguments:
            displayName: tier1_gw
      info:
        fn::invoke:
          function: nsxt:getPolicyGatewayInterfaceRealization
          arguments:
            context:
              projectId: ${demoproj.id}
            gatewayInterfacePath: ${tier1GwIf.path}
            timeout: 60
    
    Example coming soon!
    

    Using getPolicyGatewayInterfaceRealization

    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 getPolicyGatewayInterfaceRealization(args: GetPolicyGatewayInterfaceRealizationArgs, opts?: InvokeOptions): Promise<GetPolicyGatewayInterfaceRealizationResult>
    function getPolicyGatewayInterfaceRealizationOutput(args: GetPolicyGatewayInterfaceRealizationOutputArgs, opts?: InvokeOutputOptions): Output<GetPolicyGatewayInterfaceRealizationResult>
    def get_policy_gateway_interface_realization(context: Optional[GetPolicyGatewayInterfaceRealizationContext] = None,
                                                 delay: Optional[float] = None,
                                                 display_name: Optional[str] = None,
                                                 gateway_interface_path: Optional[str] = None,
                                                 gateway_path: Optional[str] = None,
                                                 id: Optional[str] = None,
                                                 site_path: Optional[str] = None,
                                                 timeout: Optional[float] = None,
                                                 opts: Optional[InvokeOptions] = None) -> GetPolicyGatewayInterfaceRealizationResult
    def get_policy_gateway_interface_realization_output(context: pulumi.Input[Optional[GetPolicyGatewayInterfaceRealizationContextArgs]] = None,
                                                 delay: pulumi.Input[Optional[float]] = None,
                                                 display_name: pulumi.Input[Optional[str]] = None,
                                                 gateway_interface_path: pulumi.Input[Optional[str]] = None,
                                                 gateway_path: pulumi.Input[Optional[str]] = None,
                                                 id: pulumi.Input[Optional[str]] = None,
                                                 site_path: pulumi.Input[Optional[str]] = None,
                                                 timeout: pulumi.Input[Optional[float]] = None,
                                                 opts: Optional[InvokeOutputOptions] = None) -> Output[GetPolicyGatewayInterfaceRealizationResult]
    func GetPolicyGatewayInterfaceRealization(ctx *Context, args *GetPolicyGatewayInterfaceRealizationArgs, opts ...InvokeOption) (*GetPolicyGatewayInterfaceRealizationResult, error)
    func GetPolicyGatewayInterfaceRealizationOutput(ctx *Context, args *GetPolicyGatewayInterfaceRealizationOutputArgs, opts ...InvokeOption) GetPolicyGatewayInterfaceRealizationResultOutput

    > Note: This function is named GetPolicyGatewayInterfaceRealization in the Go SDK.

    public static class GetPolicyGatewayInterfaceRealization 
    {
        public static Task<GetPolicyGatewayInterfaceRealizationResult> InvokeAsync(GetPolicyGatewayInterfaceRealizationArgs args, InvokeOptions? opts = null)
        public static Output<GetPolicyGatewayInterfaceRealizationResult> Invoke(GetPolicyGatewayInterfaceRealizationInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetPolicyGatewayInterfaceRealizationResult> Invoke(GetPolicyGatewayInterfaceRealizationInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetPolicyGatewayInterfaceRealizationResult> getPolicyGatewayInterfaceRealization(GetPolicyGatewayInterfaceRealizationArgs args, InvokeOptions options)
    public static Output<GetPolicyGatewayInterfaceRealizationResult> getPolicyGatewayInterfaceRealization(GetPolicyGatewayInterfaceRealizationArgs args, InvokeOptions options)
    public static Output<GetPolicyGatewayInterfaceRealizationResult> getPolicyGatewayInterfaceRealization(GetPolicyGatewayInterfaceRealizationArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: nsxt:index/getPolicyGatewayInterfaceRealization:getPolicyGatewayInterfaceRealization
      arguments:
        # arguments dictionary
    data "nsxt_get_policy_gateway_interface_realization" "name" {
        # arguments
    }

    The following arguments are supported:

    Context GetPolicyGatewayInterfaceRealizationContext
    The context which the object belongs to
    Delay double
    Delay (in seconds) before realization polling is started. Default is set to 1.
    DisplayName string
    The display name of the resource. If neither ID nor display name are set, the realized gateway interface with IP addresses will be retrieved.
    GatewayInterfacePath string
    The policy path of the gateway interface.
    GatewayPath string
    Use gateway_interface_path instead. Despite its name, this attribute expects the path of the gateway interface, not the gateway.

    Deprecated: Deprecated

    Id string
    The ID of gateway interface.
    SitePath string
    The path of the site which the resource belongs to, this configuration is required for global manager only. path field of the existing nsxt.PolicySite can be used here.
    Timeout double
    Timeout (in seconds) for realization polling. Default is set to 1200.
    Context GetPolicyGatewayInterfaceRealizationContext
    The context which the object belongs to
    Delay float64
    Delay (in seconds) before realization polling is started. Default is set to 1.
    DisplayName string
    The display name of the resource. If neither ID nor display name are set, the realized gateway interface with IP addresses will be retrieved.
    GatewayInterfacePath string
    The policy path of the gateway interface.
    GatewayPath string
    Use gateway_interface_path instead. Despite its name, this attribute expects the path of the gateway interface, not the gateway.

    Deprecated: Deprecated

    Id string
    The ID of gateway interface.
    SitePath string
    The path of the site which the resource belongs to, this configuration is required for global manager only. path field of the existing nsxt.PolicySite can be used here.
    Timeout float64
    Timeout (in seconds) for realization polling. Default is set to 1200.
    context object
    The context which the object belongs to
    delay number
    Delay (in seconds) before realization polling is started. Default is set to 1.
    display_name string
    The display name of the resource. If neither ID nor display name are set, the realized gateway interface with IP addresses will be retrieved.
    gateway_interface_path string
    The policy path of the gateway interface.
    gateway_path string
    Use gateway_interface_path instead. Despite its name, this attribute expects the path of the gateway interface, not the gateway.

    Deprecated: Deprecated

    id string
    The ID of gateway interface.
    site_path string
    The path of the site which the resource belongs to, this configuration is required for global manager only. path field of the existing nsxt.PolicySite can be used here.
    timeout number
    Timeout (in seconds) for realization polling. Default is set to 1200.
    context GetPolicyGatewayInterfaceRealizationContext
    The context which the object belongs to
    delay Double
    Delay (in seconds) before realization polling is started. Default is set to 1.
    displayName String
    The display name of the resource. If neither ID nor display name are set, the realized gateway interface with IP addresses will be retrieved.
    gatewayInterfacePath String
    The policy path of the gateway interface.
    gatewayPath String
    Use gateway_interface_path instead. Despite its name, this attribute expects the path of the gateway interface, not the gateway.

    Deprecated: Deprecated

    id String
    The ID of gateway interface.
    sitePath String
    The path of the site which the resource belongs to, this configuration is required for global manager only. path field of the existing nsxt.PolicySite can be used here.
    timeout Double
    Timeout (in seconds) for realization polling. Default is set to 1200.
    context GetPolicyGatewayInterfaceRealizationContext
    The context which the object belongs to
    delay number
    Delay (in seconds) before realization polling is started. Default is set to 1.
    displayName string
    The display name of the resource. If neither ID nor display name are set, the realized gateway interface with IP addresses will be retrieved.
    gatewayInterfacePath string
    The policy path of the gateway interface.
    gatewayPath string
    Use gateway_interface_path instead. Despite its name, this attribute expects the path of the gateway interface, not the gateway.

    Deprecated: Deprecated

    id string
    The ID of gateway interface.
    sitePath string
    The path of the site which the resource belongs to, this configuration is required for global manager only. path field of the existing nsxt.PolicySite can be used here.
    timeout number
    Timeout (in seconds) for realization polling. Default is set to 1200.
    context GetPolicyGatewayInterfaceRealizationContext
    The context which the object belongs to
    delay float
    Delay (in seconds) before realization polling is started. Default is set to 1.
    display_name str
    The display name of the resource. If neither ID nor display name are set, the realized gateway interface with IP addresses will be retrieved.
    gateway_interface_path str
    The policy path of the gateway interface.
    gateway_path str
    Use gateway_interface_path instead. Despite its name, this attribute expects the path of the gateway interface, not the gateway.

    Deprecated: Deprecated

    id str
    The ID of gateway interface.
    site_path str
    The path of the site which the resource belongs to, this configuration is required for global manager only. path field of the existing nsxt.PolicySite can be used here.
    timeout float
    Timeout (in seconds) for realization polling. Default is set to 1200.
    context Property Map
    The context which the object belongs to
    delay Number
    Delay (in seconds) before realization polling is started. Default is set to 1.
    displayName String
    The display name of the resource. If neither ID nor display name are set, the realized gateway interface with IP addresses will be retrieved.
    gatewayInterfacePath String
    The policy path of the gateway interface.
    gatewayPath String
    Use gateway_interface_path instead. Despite its name, this attribute expects the path of the gateway interface, not the gateway.

    Deprecated: Deprecated

    id String
    The ID of gateway interface.
    sitePath String
    The path of the site which the resource belongs to, this configuration is required for global manager only. path field of the existing nsxt.PolicySite can be used here.
    timeout Number
    Timeout (in seconds) for realization polling. Default is set to 1200.

    getPolicyGatewayInterfaceRealization Result

    The following output properties are available:

    Id string
    IpAddresses List<string>
    The IP addresses of the realized object.
    MacAddress string
    The MAC addresses of the realized object.
    State string
    The realization state of the resource: "REALIZED", "UNKNOWN", "UNREALIZED" or "ERROR".
    Context GetPolicyGatewayInterfaceRealizationContext
    Delay double
    DisplayName string
    GatewayInterfacePath string
    GatewayPath string

    Deprecated: Deprecated

    SitePath string
    Timeout double
    Id string
    IpAddresses []string
    The IP addresses of the realized object.
    MacAddress string
    The MAC addresses of the realized object.
    State string
    The realization state of the resource: "REALIZED", "UNKNOWN", "UNREALIZED" or "ERROR".
    Context GetPolicyGatewayInterfaceRealizationContext
    Delay float64
    DisplayName string
    GatewayInterfacePath string
    GatewayPath string

    Deprecated: Deprecated

    SitePath string
    Timeout float64
    id string
    ip_addresses list(string)
    The IP addresses of the realized object.
    mac_address string
    The MAC addresses of the realized object.
    state string
    The realization state of the resource: "REALIZED", "UNKNOWN", "UNREALIZED" or "ERROR".
    context object
    delay number
    display_name string
    gateway_interface_path string
    gateway_path string

    Deprecated: Deprecated

    site_path string
    timeout number
    id String
    ipAddresses List<String>
    The IP addresses of the realized object.
    macAddress String
    The MAC addresses of the realized object.
    state String
    The realization state of the resource: "REALIZED", "UNKNOWN", "UNREALIZED" or "ERROR".
    context GetPolicyGatewayInterfaceRealizationContext
    delay Double
    displayName String
    gatewayInterfacePath String
    gatewayPath String

    Deprecated: Deprecated

    sitePath String
    timeout Double
    id string
    ipAddresses string[]
    The IP addresses of the realized object.
    macAddress string
    The MAC addresses of the realized object.
    state string
    The realization state of the resource: "REALIZED", "UNKNOWN", "UNREALIZED" or "ERROR".
    context GetPolicyGatewayInterfaceRealizationContext
    delay number
    displayName string
    gatewayInterfacePath string
    gatewayPath string

    Deprecated: Deprecated

    sitePath string
    timeout number
    id str
    ip_addresses Sequence[str]
    The IP addresses of the realized object.
    mac_address str
    The MAC addresses of the realized object.
    state str
    The realization state of the resource: "REALIZED", "UNKNOWN", "UNREALIZED" or "ERROR".
    context GetPolicyGatewayInterfaceRealizationContext
    delay float
    display_name str
    gateway_interface_path str
    gateway_path str

    Deprecated: Deprecated

    site_path str
    timeout float
    id String
    ipAddresses List<String>
    The IP addresses of the realized object.
    macAddress String
    The MAC addresses of the realized object.
    state String
    The realization state of the resource: "REALIZED", "UNKNOWN", "UNREALIZED" or "ERROR".
    context Property Map
    delay Number
    displayName String
    gatewayInterfacePath String
    gatewayPath String

    Deprecated: Deprecated

    sitePath String
    timeout Number

    Supporting Types

    GetPolicyGatewayInterfaceRealizationContext

    ProjectId string
    The ID of the project which the object belongs to
    ProjectId string
    The ID of the project which the object belongs to
    project_id string
    The ID of the project which the object belongs to
    projectId String
    The ID of the project which the object belongs to
    projectId string
    The ID of the project which the object belongs to
    project_id str
    The ID of the project which the object belongs to
    projectId String
    The ID of the project which the object belongs to

    Package Details

    Repository
    nsxt vmware/terraform-provider-nsxt
    License
    Notes
    This Pulumi package is based on the nsxt Terraform Provider.
    nsxt
    Viewing docs for nsxt 3.12.2
    published on Friday, Nov 13, 2026 by vmware

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial