oci.Waas.getEdgeSubnets
Explore with Pulumi AI
This data source provides the list of Edge Subnets in Oracle Cloud Infrastructure Web Application Acceleration and Security service.
Return the list of the tenant’s edge node subnets. Use these CIDR blocks to restrict incoming traffic to your origin. These subnets are owned by Oracle Cloud Infrastructure and forward traffic to customer origins. They are not associated with specific regions or compartments.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testEdgeSubnets = oci.Waas.getEdgeSubnets({});
import pulumi
import pulumi_oci as oci
test_edge_subnets = oci.Waas.get_edge_subnets()
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/waas"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := waas.GetEdgeSubnets(ctx, &waas.GetEdgeSubnetsArgs{}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() => 
{
    var testEdgeSubnets = Oci.Waas.GetEdgeSubnets.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Waas.WaasFunctions;
import com.pulumi.oci.Waas.inputs.GetEdgeSubnetsArgs;
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 testEdgeSubnets = WaasFunctions.getEdgeSubnets(GetEdgeSubnetsArgs.builder()
            .build());
    }
}
variables:
  testEdgeSubnets:
    fn::invoke:
      function: oci:Waas:getEdgeSubnets
      arguments: {}
Using getEdgeSubnets
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 getEdgeSubnets(args: GetEdgeSubnetsArgs, opts?: InvokeOptions): Promise<GetEdgeSubnetsResult>
function getEdgeSubnetsOutput(args: GetEdgeSubnetsOutputArgs, opts?: InvokeOptions): Output<GetEdgeSubnetsResult>def get_edge_subnets(filters: Optional[Sequence[GetEdgeSubnetsFilter]] = None,
                     opts: Optional[InvokeOptions] = None) -> GetEdgeSubnetsResult
def get_edge_subnets_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetEdgeSubnetsFilterArgs]]]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetEdgeSubnetsResult]func GetEdgeSubnets(ctx *Context, args *GetEdgeSubnetsArgs, opts ...InvokeOption) (*GetEdgeSubnetsResult, error)
func GetEdgeSubnetsOutput(ctx *Context, args *GetEdgeSubnetsOutputArgs, opts ...InvokeOption) GetEdgeSubnetsResultOutput> Note: This function is named GetEdgeSubnets in the Go SDK.
public static class GetEdgeSubnets 
{
    public static Task<GetEdgeSubnetsResult> InvokeAsync(GetEdgeSubnetsArgs args, InvokeOptions? opts = null)
    public static Output<GetEdgeSubnetsResult> Invoke(GetEdgeSubnetsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetEdgeSubnetsResult> getEdgeSubnets(GetEdgeSubnetsArgs args, InvokeOptions options)
public static Output<GetEdgeSubnetsResult> getEdgeSubnets(GetEdgeSubnetsArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Waas/getEdgeSubnets:getEdgeSubnets
  arguments:
    # arguments dictionaryThe following arguments are supported:
getEdgeSubnets Result
The following output properties are available:
- EdgeSubnets List<GetEdge Subnets Edge Subnet> 
- The list of edge_subnets.
- Id string
- The provider-assigned unique ID for this managed resource.
- Filters
List<GetEdge Subnets Filter> 
- EdgeSubnets []GetEdge Subnets Edge Subnet 
- The list of edge_subnets.
- Id string
- The provider-assigned unique ID for this managed resource.
- Filters
[]GetEdge Subnets Filter 
- edgeSubnets List<GetEdge Subnets Edge Subnet> 
- The list of edge_subnets.
- id String
- The provider-assigned unique ID for this managed resource.
- filters
List<GetEdge Subnets Filter> 
- edgeSubnets GetEdge Subnets Edge Subnet[] 
- The list of edge_subnets.
- id string
- The provider-assigned unique ID for this managed resource.
- filters
GetEdge Subnets Filter[] 
- edge_subnets Sequence[GetEdge Subnets Edge Subnet] 
- The list of edge_subnets.
- id str
- The provider-assigned unique ID for this managed resource.
- filters
Sequence[GetEdge Subnets Filter] 
- edgeSubnets List<Property Map>
- The list of edge_subnets.
- id String
- The provider-assigned unique ID for this managed resource.
- filters List<Property Map>
Supporting Types
GetEdgeSubnetsEdgeSubnet    
- Cidr string
- An edge node subnet. This can include /24 or /8 addresses.
- Region string
- The name of the region containing the indicated subnet.
- TimeModified string
- The date and time the last change was made to the indicated edge node subnet, expressed in RFC 3339 timestamp format.
- Cidr string
- An edge node subnet. This can include /24 or /8 addresses.
- Region string
- The name of the region containing the indicated subnet.
- TimeModified string
- The date and time the last change was made to the indicated edge node subnet, expressed in RFC 3339 timestamp format.
- cidr String
- An edge node subnet. This can include /24 or /8 addresses.
- region String
- The name of the region containing the indicated subnet.
- timeModified String
- The date and time the last change was made to the indicated edge node subnet, expressed in RFC 3339 timestamp format.
- cidr string
- An edge node subnet. This can include /24 or /8 addresses.
- region string
- The name of the region containing the indicated subnet.
- timeModified string
- The date and time the last change was made to the indicated edge node subnet, expressed in RFC 3339 timestamp format.
- cidr str
- An edge node subnet. This can include /24 or /8 addresses.
- region str
- The name of the region containing the indicated subnet.
- time_modified str
- The date and time the last change was made to the indicated edge node subnet, expressed in RFC 3339 timestamp format.
- cidr String
- An edge node subnet. This can include /24 or /8 addresses.
- region String
- The name of the region containing the indicated subnet.
- timeModified String
- The date and time the last change was made to the indicated edge node subnet, expressed in RFC 3339 timestamp format.
GetEdgeSubnetsFilter   
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.