1. Packages
  2. Aviatrix
  3. API Docs
  4. getAviatrixSpokeGatewayInspectionSubnets
Aviatrix v0.0.11 published on Saturday, Jun 17, 2023 by Aviatrix

aviatrix.getAviatrixSpokeGatewayInspectionSubnets

Start a Neo task
Explain and create an aviatrix.getAviatrixSpokeGatewayInspectionSubnets resource
aviatrix logo
Aviatrix v0.0.11 published on Saturday, Jun 17, 2023 by Aviatrix

    The aviatrix_spoke_gateway_inspection_subnets data source provides all subnets available for the subnet inspection feature.

    Example Usage

    using System.Collections.Generic;
    using Pulumi;
    using Aviatrix = Pulumi.Aviatrix;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = Aviatrix.GetAviatrixSpokeGatewayInspectionSubnets.Invoke(new()
        {
            GwName = "gatewayname",
        });
    
    });
    
    package main
    
    import (
    	"github.com/astipkovits/pulumi-aviatrix/sdk/go/aviatrix"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err = aviatrix.GetAviatrixSpokeGatewayInspectionSubnets(ctx, &GetAviatrixSpokeGatewayInspectionSubnetsArgs{
    			GwName: "gatewayname",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aviatrix.AviatrixFunctions;
    import com.pulumi.aviatrix.inputs.GetAviatrixSpokeGatewayInspectionSubnetsArgs;
    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 foo = AviatrixFunctions.getAviatrixSpokeGatewayInspectionSubnets(GetAviatrixSpokeGatewayInspectionSubnetsArgs.builder()
                .gwName("gatewayname")
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aviatrix from "@pulumi/aviatrix";
    
    // Aviatrix Spoke Gateway Inspection Subnets Data Source
    const foo = pulumi.output(aviatrix.getAviatrixSpokeGatewayInspectionSubnets({
        gwName: "gatewayname",
    }));
    
    import pulumi
    import pulumi_aviatrix as aviatrix
    
    foo = aviatrix.get_aviatrix_spoke_gateway_inspection_subnets(gw_name="gatewayname")
    
    variables:
      foo:
        fn::invoke:
          Function: aviatrix:getAviatrixSpokeGatewayInspectionSubnets
          Arguments:
            gwName: gatewayname
    

    Using getAviatrixSpokeGatewayInspectionSubnets

    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 getAviatrixSpokeGatewayInspectionSubnets(args: GetAviatrixSpokeGatewayInspectionSubnetsArgs, opts?: InvokeOptions): Promise<GetAviatrixSpokeGatewayInspectionSubnetsResult>
    function getAviatrixSpokeGatewayInspectionSubnetsOutput(args: GetAviatrixSpokeGatewayInspectionSubnetsOutputArgs, opts?: InvokeOptions): Output<GetAviatrixSpokeGatewayInspectionSubnetsResult>
    def get_aviatrix_spoke_gateway_inspection_subnets(gw_name: Optional[str] = None,
                                                      opts: Optional[InvokeOptions] = None) -> GetAviatrixSpokeGatewayInspectionSubnetsResult
    def get_aviatrix_spoke_gateway_inspection_subnets_output(gw_name: Optional[pulumi.Input[str]] = None,
                                                      opts: Optional[InvokeOptions] = None) -> Output[GetAviatrixSpokeGatewayInspectionSubnetsResult]
    func GetAviatrixSpokeGatewayInspectionSubnets(ctx *Context, args *GetAviatrixSpokeGatewayInspectionSubnetsArgs, opts ...InvokeOption) (*GetAviatrixSpokeGatewayInspectionSubnetsResult, error)
    func GetAviatrixSpokeGatewayInspectionSubnetsOutput(ctx *Context, args *GetAviatrixSpokeGatewayInspectionSubnetsOutputArgs, opts ...InvokeOption) GetAviatrixSpokeGatewayInspectionSubnetsResultOutput

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

    public static class GetAviatrixSpokeGatewayInspectionSubnets 
    {
        public static Task<GetAviatrixSpokeGatewayInspectionSubnetsResult> InvokeAsync(GetAviatrixSpokeGatewayInspectionSubnetsArgs args, InvokeOptions? opts = null)
        public static Output<GetAviatrixSpokeGatewayInspectionSubnetsResult> Invoke(GetAviatrixSpokeGatewayInspectionSubnetsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAviatrixSpokeGatewayInspectionSubnetsResult> getAviatrixSpokeGatewayInspectionSubnets(GetAviatrixSpokeGatewayInspectionSubnetsArgs args, InvokeOptions options)
    public static Output<GetAviatrixSpokeGatewayInspectionSubnetsResult> getAviatrixSpokeGatewayInspectionSubnets(GetAviatrixSpokeGatewayInspectionSubnetsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aviatrix:index/getAviatrixSpokeGatewayInspectionSubnets:getAviatrixSpokeGatewayInspectionSubnets
      arguments:
        # arguments dictionary

    The following arguments are supported:

    GwName string
    Spoke gateway name.
    GwName string
    Spoke gateway name.
    gwName String
    Spoke gateway name.
    gwName string
    Spoke gateway name.
    gw_name str
    Spoke gateway name.
    gwName String
    Spoke gateway name.

    getAviatrixSpokeGatewayInspectionSubnets Result

    The following output properties are available:

    GwName string
    Id string
    The provider-assigned unique ID for this managed resource.
    SubnetsForInspections List<string>
    The list of all subnets available for the subnet inspection feature. This attribute is only supported for Azure.
    GwName string
    Id string
    The provider-assigned unique ID for this managed resource.
    SubnetsForInspections []string
    The list of all subnets available for the subnet inspection feature. This attribute is only supported for Azure.
    gwName String
    id String
    The provider-assigned unique ID for this managed resource.
    subnetsForInspections List<String>
    The list of all subnets available for the subnet inspection feature. This attribute is only supported for Azure.
    gwName string
    id string
    The provider-assigned unique ID for this managed resource.
    subnetsForInspections string[]
    The list of all subnets available for the subnet inspection feature. This attribute is only supported for Azure.
    gw_name str
    id str
    The provider-assigned unique ID for this managed resource.
    subnets_for_inspections Sequence[str]
    The list of all subnets available for the subnet inspection feature. This attribute is only supported for Azure.
    gwName String
    id String
    The provider-assigned unique ID for this managed resource.
    subnetsForInspections List<String>
    The list of all subnets available for the subnet inspection feature. This attribute is only supported for Azure.

    Package Details

    Repository
    aviatrix astipkovits/pulumi-aviatrix
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aviatrix Terraform Provider.
    aviatrix logo
    Aviatrix v0.0.11 published on Saturday, Jun 17, 2023 by Aviatrix
      Meet Neo: Your AI Platform Teammate