oci.Core.getCpeDeviceShape
Explore with Pulumi AI
This data source provides details about a specific Cpe Device Shape resource in Oracle Cloud Infrastructure Core service.
Gets the detailed information about the specified CPE device type. This might include a set of questions that are specific to the particular CPE device type. The customer must supply answers to those questions (see UpdateTunnelCpeDeviceConfig). The service merges the answers with a template of other information for the CPE device type. The following operations return the merged content:
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testCpeDeviceShape = oci.Core.getCpeDeviceShape({
    cpeDeviceShapeId: testCpeDeviceShapeOciCoreCpeDeviceShape.id,
});
import pulumi
import pulumi_oci as oci
test_cpe_device_shape = oci.Core.get_cpe_device_shape(cpe_device_shape_id=test_cpe_device_shape_oci_core_cpe_device_shape["id"])
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.GetCpeDeviceShape(ctx, &core.GetCpeDeviceShapeArgs{
			CpeDeviceShapeId: testCpeDeviceShapeOciCoreCpeDeviceShape.Id,
		}, 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 testCpeDeviceShape = Oci.Core.GetCpeDeviceShape.Invoke(new()
    {
        CpeDeviceShapeId = testCpeDeviceShapeOciCoreCpeDeviceShape.Id,
    });
});
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.GetCpeDeviceShapeArgs;
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 testCpeDeviceShape = CoreFunctions.getCpeDeviceShape(GetCpeDeviceShapeArgs.builder()
            .cpeDeviceShapeId(testCpeDeviceShapeOciCoreCpeDeviceShape.id())
            .build());
    }
}
variables:
  testCpeDeviceShape:
    fn::invoke:
      Function: oci:Core:getCpeDeviceShape
      Arguments:
        cpeDeviceShapeId: ${testCpeDeviceShapeOciCoreCpeDeviceShape.id}
Using getCpeDeviceShape
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 getCpeDeviceShape(args: GetCpeDeviceShapeArgs, opts?: InvokeOptions): Promise<GetCpeDeviceShapeResult>
function getCpeDeviceShapeOutput(args: GetCpeDeviceShapeOutputArgs, opts?: InvokeOptions): Output<GetCpeDeviceShapeResult>def get_cpe_device_shape(cpe_device_shape_id: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetCpeDeviceShapeResult
def get_cpe_device_shape_output(cpe_device_shape_id: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetCpeDeviceShapeResult]func GetCpeDeviceShape(ctx *Context, args *GetCpeDeviceShapeArgs, opts ...InvokeOption) (*GetCpeDeviceShapeResult, error)
func GetCpeDeviceShapeOutput(ctx *Context, args *GetCpeDeviceShapeOutputArgs, opts ...InvokeOption) GetCpeDeviceShapeResultOutput> Note: This function is named GetCpeDeviceShape in the Go SDK.
public static class GetCpeDeviceShape 
{
    public static Task<GetCpeDeviceShapeResult> InvokeAsync(GetCpeDeviceShapeArgs args, InvokeOptions? opts = null)
    public static Output<GetCpeDeviceShapeResult> Invoke(GetCpeDeviceShapeInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCpeDeviceShapeResult> getCpeDeviceShape(GetCpeDeviceShapeArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: oci:Core/getCpeDeviceShape:getCpeDeviceShape
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Cpe
Device stringShape Id  - The OCID of the CPE device shape.
 
- Cpe
Device stringShape Id  - The OCID of the CPE device shape.
 
- cpe
Device StringShape Id  - The OCID of the CPE device shape.
 
- cpe
Device stringShape Id  - The OCID of the CPE device shape.
 
- cpe_
device_ strshape_ id  - The OCID of the CPE device shape.
 
- cpe
Device StringShape Id  - The OCID of the CPE device shape.
 
getCpeDeviceShape Result
The following output properties are available:
- Cpe
Device List<GetInfos 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.
 - Id string
 - The provider-assigned unique ID for this managed resource.
 - Parameters
List<Get
Cpe Device Shape Parameter>  - For certain CPE devices types, the customer can provide answers to questions that are specific to the device type. This attribute contains a list of those questions. The Networking service merges the answers with other information and renders a set of CPE configuration content. To provide the answers, use UpdateTunnelCpeDeviceConfig.
 - 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 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.
 - Id string
 - The provider-assigned unique ID for this managed resource.
 - Parameters
[]Get
Cpe Device Shape Parameter  - For certain CPE devices types, the customer can provide answers to questions that are specific to the device type. This attribute contains a list of those questions. The Networking service merges the answers with other information and renders a set of CPE configuration content. To provide the answers, use UpdateTunnelCpeDeviceConfig.
 - 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 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.
 - id String
 - The provider-assigned unique ID for this managed resource.
 - parameters
List<Get
Cpe Device Shape Parameter>  - For certain CPE devices types, the customer can provide answers to questions that are specific to the device type. This attribute contains a list of those questions. The Networking service merges the answers with other information and renders a set of CPE configuration content. To provide the answers, use UpdateTunnelCpeDeviceConfig.
 - 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 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.
 - id string
 - The provider-assigned unique ID for this managed resource.
 - parameters
Get
Cpe Device Shape Parameter[]  - For certain CPE devices types, the customer can provide answers to questions that are specific to the device type. This attribute contains a list of those questions. The Networking service merges the answers with other information and renders a set of CPE configuration content. To provide the answers, use UpdateTunnelCpeDeviceConfig.
 - 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 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.
 - id str
 - The provider-assigned unique ID for this managed resource.
 - parameters
Sequence[core.
Get Cpe Device Shape Parameter]  - For certain CPE devices types, the customer can provide answers to questions that are specific to the device type. This attribute contains a list of those questions. The Networking service merges the answers with other information and renders a set of CPE configuration content. To provide the answers, use UpdateTunnelCpeDeviceConfig.
 - 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.
 - id String
 - The provider-assigned unique ID for this managed resource.
 - parameters List<Property Map>
 - For certain CPE devices types, the customer can provide answers to questions that are specific to the device type. This attribute contains a list of those questions. The Networking service merges the answers with other information and renders a set of CPE configuration content. To provide the answers, use UpdateTunnelCpeDeviceConfig.
 - 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:
 
Supporting Types
GetCpeDeviceShapeCpeDeviceInfo      
- 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.
 
GetCpeDeviceShapeParameter    
- Display
Name string - A descriptive label for the question (for example, to display in a form in a graphical interface). Avoid entering confidential information.
 - Explanation string
 - A description or explanation of the question, to help the customer answer accurately.
 - Key string
 - A string that identifies the question.
 
- Display
Name string - A descriptive label for the question (for example, to display in a form in a graphical interface). Avoid entering confidential information.
 - Explanation string
 - A description or explanation of the question, to help the customer answer accurately.
 - Key string
 - A string that identifies the question.
 
- display
Name String - A descriptive label for the question (for example, to display in a form in a graphical interface). Avoid entering confidential information.
 - explanation String
 - A description or explanation of the question, to help the customer answer accurately.
 - key String
 - A string that identifies the question.
 
- display
Name string - A descriptive label for the question (for example, to display in a form in a graphical interface). Avoid entering confidential information.
 - explanation string
 - A description or explanation of the question, to help the customer answer accurately.
 - key string
 - A string that identifies the question.
 
- display_
name str - A descriptive label for the question (for example, to display in a form in a graphical interface). Avoid entering confidential information.
 - explanation str
 - A description or explanation of the question, to help the customer answer accurately.
 - key str
 - A string that identifies the question.
 
- display
Name String - A descriptive label for the question (for example, to display in a form in a graphical interface). Avoid entering confidential information.
 - explanation String
 - A description or explanation of the question, to help the customer answer accurately.
 - key String
 - A string that identifies the question.
 
Package Details
- Repository
 - oci pulumi/pulumi-oci
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
ociTerraform Provider.