1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Core
  5. getCpeDeviceShapes
Oracle Cloud Infrastructure v2.32.0 published on Thursday, Apr 24, 2025 by Pulumi

oci.Core.getCpeDeviceShapes

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.32.0 published on Thursday, Apr 24, 2025 by Pulumi

This data source provides the list of Cpe Device Shapes in Oracle Cloud Infrastructure Core service.

Lists the CPE device types that the Networking service provides CPE configuration content for (example: Cisco ASA). The content helps a network engineer configure the actual CPE device represented by a Cpe object.

If you want to generate CPE configuration content for one of the returned CPE device types, ensure that the Cpe object’s cpeDeviceShapeId attribute is set to the CPE device type’s OCID (returned by this operation).

For information about generating CPE configuration content, see these operations:

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testCpeDeviceShapes = oci.Core.getCpeDeviceShapes({});
Copy
import pulumi
import pulumi_oci as oci

test_cpe_device_shapes = oci.Core.get_cpe_device_shapes()
Copy
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/core"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := core.GetCpeDeviceShapes(ctx, &core.GetCpeDeviceShapesArgs{}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testCpeDeviceShapes = Oci.Core.GetCpeDeviceShapes.Invoke();

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Core.CoreFunctions;
import com.pulumi.oci.Core.inputs.GetCpeDeviceShapesArgs;
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 testCpeDeviceShapes = CoreFunctions.getCpeDeviceShapes(GetCpeDeviceShapesArgs.builder()
            .build());

    }
}
Copy
variables:
  testCpeDeviceShapes:
    fn::invoke:
      function: oci:Core:getCpeDeviceShapes
      arguments: {}
Copy

Using getCpeDeviceShapes

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 getCpeDeviceShapes(args: GetCpeDeviceShapesArgs, opts?: InvokeOptions): Promise<GetCpeDeviceShapesResult>
function getCpeDeviceShapesOutput(args: GetCpeDeviceShapesOutputArgs, opts?: InvokeOptions): Output<GetCpeDeviceShapesResult>
Copy
def get_cpe_device_shapes(filters: Optional[Sequence[_core.GetCpeDeviceShapesFilter]] = None,
                          opts: Optional[InvokeOptions] = None) -> GetCpeDeviceShapesResult
def get_cpe_device_shapes_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[_core.GetCpeDeviceShapesFilterArgs]]]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetCpeDeviceShapesResult]
Copy
func GetCpeDeviceShapes(ctx *Context, args *GetCpeDeviceShapesArgs, opts ...InvokeOption) (*GetCpeDeviceShapesResult, error)
func GetCpeDeviceShapesOutput(ctx *Context, args *GetCpeDeviceShapesOutputArgs, opts ...InvokeOption) GetCpeDeviceShapesResultOutput
Copy

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

public static class GetCpeDeviceShapes 
{
    public static Task<GetCpeDeviceShapesResult> InvokeAsync(GetCpeDeviceShapesArgs args, InvokeOptions? opts = null)
    public static Output<GetCpeDeviceShapesResult> Invoke(GetCpeDeviceShapesInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetCpeDeviceShapesResult> getCpeDeviceShapes(GetCpeDeviceShapesArgs args, InvokeOptions options)
public static Output<GetCpeDeviceShapesResult> getCpeDeviceShapes(GetCpeDeviceShapesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:Core/getCpeDeviceShapes:getCpeDeviceShapes
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Filters Changes to this property will trigger replacement. List<GetCpeDeviceShapesFilter>
Filters Changes to this property will trigger replacement. []GetCpeDeviceShapesFilter
filters Changes to this property will trigger replacement. List<GetCpeDeviceShapesFilter>
filters Changes to this property will trigger replacement. GetCpeDeviceShapesFilter[]
filters Changes to this property will trigger replacement. Sequence[core.GetCpeDeviceShapesFilter]
filters Changes to this property will trigger replacement. List<Property Map>

getCpeDeviceShapes Result

The following output properties are available:

CpeDeviceShapes List<GetCpeDeviceShapesCpeDeviceShape>
The list of cpe_device_shapes.
Id string
The provider-assigned unique ID for this managed resource.
Filters List<GetCpeDeviceShapesFilter>
CpeDeviceShapes []GetCpeDeviceShapesCpeDeviceShape
The list of cpe_device_shapes.
Id string
The provider-assigned unique ID for this managed resource.
Filters []GetCpeDeviceShapesFilter
cpeDeviceShapes List<GetCpeDeviceShapesCpeDeviceShape>
The list of cpe_device_shapes.
id String
The provider-assigned unique ID for this managed resource.
filters List<GetCpeDeviceShapesFilter>
cpeDeviceShapes GetCpeDeviceShapesCpeDeviceShape[]
The list of cpe_device_shapes.
id string
The provider-assigned unique ID for this managed resource.
filters GetCpeDeviceShapesFilter[]
cpe_device_shapes Sequence[core.GetCpeDeviceShapesCpeDeviceShape]
The list of cpe_device_shapes.
id str
The provider-assigned unique ID for this managed resource.
filters Sequence[core.GetCpeDeviceShapesFilter]
cpeDeviceShapes List<Property Map>
The list of cpe_device_shapes.
id String
The provider-assigned unique ID for this managed resource.
filters List<Property Map>

Supporting Types

GetCpeDeviceShapesCpeDeviceShape

CpeDeviceInfos This property is required. List<GetCpeDeviceShapesCpeDeviceShapeCpeDeviceInfo>
Basic information about a particular CPE device type.
CpeDeviceShapeId This property is required. string
The OCID of the CPE device shape. This value uniquely identifies the type of CPE device.
Template This property is required. string
A template of CPE device configuration information that will be merged with the customer's answers to the questions to render the final CPE device configuration content. Also see:

CpeDeviceInfos This property is required. []GetCpeDeviceShapesCpeDeviceShapeCpeDeviceInfo
Basic information about a particular CPE device type.
CpeDeviceShapeId This property is required. string
The OCID of the CPE device shape. This value uniquely identifies the type of CPE device.
Template This property is required. string
A template of CPE device configuration information that will be merged with the customer's answers to the questions to render the final CPE device configuration content. Also see:

cpeDeviceInfos This property is required. List<GetCpeDeviceShapesCpeDeviceShapeCpeDeviceInfo>
Basic information about a particular CPE device type.
cpeDeviceShapeId This property is required. String
The OCID of the CPE device shape. This value uniquely identifies the type of CPE device.
template This property is required. String
A template of CPE device configuration information that will be merged with the customer's answers to the questions to render the final CPE device configuration content. Also see:

cpeDeviceInfos This property is required. GetCpeDeviceShapesCpeDeviceShapeCpeDeviceInfo[]
Basic information about a particular CPE device type.
cpeDeviceShapeId This property is required. string
The OCID of the CPE device shape. This value uniquely identifies the type of CPE device.
template This property is required. string
A template of CPE device configuration information that will be merged with the customer's answers to the questions to render the final CPE device configuration content. Also see:

cpe_device_infos This property is required. Sequence[core.GetCpeDeviceShapesCpeDeviceShapeCpeDeviceInfo]
Basic information about a particular CPE device type.
cpe_device_shape_id This property is required. str
The OCID of the CPE device shape. This value uniquely identifies the type of CPE device.
template This property is required. str
A template of CPE device configuration information that will be merged with the customer's answers to the questions to render the final CPE device configuration content. Also see:

cpeDeviceInfos This property is required. List<Property Map>
Basic information about a particular CPE device type.
cpeDeviceShapeId This property is required. String
The OCID of the CPE device shape. This value uniquely identifies the type of CPE device.
template This property is required. String
A template of CPE device configuration information that will be merged with the customer's answers to the questions to render the final CPE device configuration content. Also see:

GetCpeDeviceShapesCpeDeviceShapeCpeDeviceInfo

PlatformSoftwareVersion This property is required. string
The platform or software version of the CPE device.
Vendor This property is required. string
The vendor that makes the CPE device.
PlatformSoftwareVersion This property is required. string
The platform or software version of the CPE device.
Vendor This property is required. string
The vendor that makes the CPE device.
platformSoftwareVersion This property is required. String
The platform or software version of the CPE device.
vendor This property is required. String
The vendor that makes the CPE device.
platformSoftwareVersion This property is required. string
The platform or software version of the CPE device.
vendor This property is required. string
The vendor that makes the CPE device.
platform_software_version This property is required. str
The platform or software version of the CPE device.
vendor This property is required. str
The vendor that makes the CPE device.
platformSoftwareVersion This property is required. String
The platform or software version of the CPE device.
vendor This property is required. String
The vendor that makes the CPE device.

GetCpeDeviceShapesFilter

Name This property is required. string
Values This property is required. List<string>
Regex bool
Name This property is required. string
Values This property is required. []string
Regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean
name This property is required. string
values This property is required. string[]
regex boolean
name This property is required. str
values This property is required. Sequence[str]
regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.
Oracle Cloud Infrastructure v2.32.0 published on Thursday, Apr 24, 2025 by Pulumi