1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Core
  5. getCpeDeviceShapes
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

oci.Core.getCpeDeviceShapes

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 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({});
    
    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:

    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 List<GetCpeDeviceShapesCpeDeviceShapeCpeDeviceInfo>
    Basic information about a particular CPE device type.
    CpeDeviceShapeId string
    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:

    CpeDeviceInfos []GetCpeDeviceShapesCpeDeviceShapeCpeDeviceInfo
    Basic information about a particular CPE device type.
    CpeDeviceShapeId string
    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:

    cpeDeviceInfos List<GetCpeDeviceShapesCpeDeviceShapeCpeDeviceInfo>
    Basic information about a particular CPE device type.
    cpeDeviceShapeId String
    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:

    cpeDeviceInfos GetCpeDeviceShapesCpeDeviceShapeCpeDeviceInfo[]
    Basic information about a particular CPE device type.
    cpeDeviceShapeId string
    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_infos Sequence[core.GetCpeDeviceShapesCpeDeviceShapeCpeDeviceInfo]
    Basic information about a particular CPE device type.
    cpe_device_shape_id str
    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:

    cpeDeviceInfos List<Property Map>
    Basic information about a particular CPE device type.
    cpeDeviceShapeId String
    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

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

    GetCpeDeviceShapesFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values 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.
    oci logo
    Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi