Aviatrix v0.0.11 published on Saturday, Jun 17, 2023 by Aviatrix
aviatrix.getAviatrixSpokeGatewayInspectionSubnets
Explore with Pulumi AI
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 pulumi
import pulumi_aviatrix as aviatrix
foo = aviatrix.get_aviatrix_spoke_gateway_inspection_subnets(gw_name="gatewayname")
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",
}));
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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aviatrix:index/getAviatrixSpokeGatewayInspectionSubnets:getAviatrixSpokeGatewayInspectionSubnets
arguments:
# arguments dictionary
The following arguments are supported:
- Gw
Name string - Spoke gateway name.
- Gw
Name string - Spoke gateway name.
- gw
Name String - Spoke gateway name.
- gw
Name string - Spoke gateway name.
- gw_
name str - Spoke gateway name.
- gw
Name String - Spoke gateway name.
getAviatrixSpokeGatewayInspectionSubnets Result
The following output properties are available:
- Gw
Name string - Id string
- The provider-assigned unique ID for this managed resource.
- Subnets
For List<string>Inspections - The list of all subnets available for the subnet inspection feature. This attribute is only supported for Azure.
- Gw
Name string - Id string
- The provider-assigned unique ID for this managed resource.
- Subnets
For []stringInspections - The list of all subnets available for the subnet inspection feature. This attribute is only supported for Azure.
- gw
Name String - id String
- The provider-assigned unique ID for this managed resource.
- subnets
For List<String>Inspections - The list of all subnets available for the subnet inspection feature. This attribute is only supported for Azure.
- gw
Name string - id string
- The provider-assigned unique ID for this managed resource.
- subnets
For string[]Inspections - 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_ Sequence[str]inspections - The list of all subnets available for the subnet inspection feature. This attribute is only supported for Azure.
- gw
Name String - id String
- The provider-assigned unique ID for this managed resource.
- subnets
For List<String>Inspections - 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.