oci.Core.getCpeDeviceShapes
Explore with Pulumi AI
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({});
import pulumi
import pulumi_oci as oci
test_cpe_device_shapes = oci.Core.get_cpe_device_shapes()
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/Core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := Core.GetCpeDeviceShapes(ctx, nil, 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 testCpeDeviceShapes = Oci.Core.GetCpeDeviceShapes.Invoke();
});
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();
}
}
variables:
testCpeDeviceShapes:
fn::invoke:
Function: oci:Core:getCpeDeviceShapes
Arguments: {}
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>
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]
func GetCpeDeviceShapes(ctx *Context, args *GetCpeDeviceShapesArgs, opts ...InvokeOption) (*GetCpeDeviceShapesResult, error)
func GetCpeDeviceShapesOutput(ctx *Context, args *GetCpeDeviceShapesOutputArgs, opts ...InvokeOption) GetCpeDeviceShapesResultOutput
> 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)
}
public static CompletableFuture<GetCpeDeviceShapesResult> getCpeDeviceShapes(GetCpeDeviceShapesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Core/getCpeDeviceShapes:getCpeDeviceShapes
arguments:
# arguments dictionary
The following arguments are supported:
getCpeDeviceShapes Result
The following output properties are available:
- Cpe
Device List<GetShapes Cpe Device Shapes Cpe Device Shape> - The list of cpe_device_shapes.
- Id string
- The provider-assigned unique ID for this managed resource.
- Filters
List<Get
Cpe Device Shapes Filter>
- Cpe
Device []GetShapes Cpe Device Shapes Cpe Device Shape - The list of cpe_device_shapes.
- Id string
- The provider-assigned unique ID for this managed resource.
- Filters
[]Get
Cpe Device Shapes Filter
- cpe
Device List<GetShapes Cpe Device Shapes Cpe Device Shape> - The list of cpe_device_shapes.
- id String
- The provider-assigned unique ID for this managed resource.
- filters
List<Get
Cpe Device Shapes Filter>
- cpe
Device GetShapes Cpe Device Shapes Cpe Device Shape[] - The list of cpe_device_shapes.
- id string
- The provider-assigned unique ID for this managed resource.
- filters
Get
Cpe Device Shapes Filter[]
- cpe_
device_ Sequence[core.shapes Get Cpe Device Shapes Cpe Device Shape] - The list of cpe_device_shapes.
- id str
- The provider-assigned unique ID for this managed resource.
- filters
Sequence[core.
Get Cpe Device Shapes Filter]
- cpe
Device List<Property Map>Shapes - The list of cpe_device_shapes.
- id String
- The provider-assigned unique ID for this managed resource.
- filters List<Property Map>
Supporting Types
GetCpeDeviceShapesCpeDeviceShape
- Cpe
Device List<GetInfos Cpe Device Shapes Cpe Device Shape Cpe Device Info> - Basic information about a particular CPE device type.
- Cpe
Device stringShape Id - The OCID of the CPE device shape. This value uniquely identifies the type of CPE device.
- Template 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 []GetInfos Cpe Device Shapes Cpe Device Shape Cpe Device Info - Basic information about a particular CPE device type.
- Cpe
Device stringShape Id - The OCID of the CPE device shape. This value uniquely identifies the type of CPE device.
- Template 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 List<GetInfos Cpe Device Shapes Cpe Device Shape Cpe Device Info> - Basic information about a particular CPE device type.
- cpe
Device StringShape Id - The OCID of the CPE device shape. This value uniquely identifies the type of CPE device.
- template 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 GetInfos Cpe Device Shapes Cpe Device Shape Cpe Device Info[] - Basic information about a particular CPE device type.
- cpe
Device stringShape Id - The OCID of the CPE device shape. This value uniquely identifies the type of CPE device.
- template 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_ Sequence[core.infos Get Cpe Device Shapes Cpe Device Shape Cpe Device Info] - Basic information about a particular CPE device type.
- cpe_
device_ strshape_ id - The OCID of the CPE device shape. This value uniquely identifies the type of CPE device.
- template 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:
- cpe
Device List<Property Map>Infos - Basic information about a particular CPE device type.
- cpe
Device StringShape Id - The OCID of the CPE device shape. This value uniquely identifies the type of CPE device.
- template 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
- Platform
Software stringVersion - The platform or software version of the CPE device.
- Vendor string
- The vendor that makes the CPE device.
- Platform
Software stringVersion - The platform or software version of the CPE device.
- Vendor string
- The vendor that makes the CPE device.
- platform
Software StringVersion - The platform or software version of the CPE device.
- vendor String
- The vendor that makes the CPE device.
- platform
Software stringVersion - The platform or software version of the CPE device.
- vendor string
- The vendor that makes the CPE device.
- platform_
software_ strversion - The platform or software version of the CPE device.
- vendor str
- The vendor that makes the CPE device.
- platform
Software StringVersion - The platform or software version of the CPE device.
- vendor String
- The vendor that makes the CPE device.
GetCpeDeviceShapesFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.