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/v2/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)
public static Output<GetCpeDeviceShapeResult> getCpeDeviceShape(GetCpeDeviceShapeArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Core/getCpeDeviceShape:getCpeDeviceShape
  arguments:
    # arguments dictionaryThe following arguments are supported:
- CpeDevice stringShape Id 
- The OCID of the CPE device shape.
- CpeDevice stringShape Id 
- The OCID of the CPE device shape.
- cpeDevice StringShape Id 
- The OCID of the CPE device shape.
- cpeDevice stringShape Id 
- The OCID of the CPE device shape.
- cpe_device_ strshape_ id 
- The OCID of the CPE device shape.
- cpeDevice StringShape Id 
- The OCID of the CPE device shape.
getCpeDeviceShape Result
The following output properties are available:
- CpeDevice List<GetInfos Cpe Device Shape Cpe Device Info> 
- Basic information about a particular CPE device type.
- CpeDevice 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<GetCpe 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:
- CpeDevice []GetInfos Cpe Device Shape Cpe Device Info 
- Basic information about a particular CPE device type.
- CpeDevice 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
[]GetCpe 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:
- cpeDevice List<GetInfos Cpe Device Shape Cpe Device Info> 
- Basic information about a particular CPE device type.
- cpeDevice 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<GetCpe 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:
- cpeDevice GetInfos Cpe Device Shape Cpe Device Info[] 
- Basic information about a particular CPE device type.
- cpeDevice 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
GetCpe 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[Getinfos 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[GetCpe 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:
- cpeDevice List<Property Map>Infos 
- Basic information about a particular CPE device type.
- cpeDevice 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      
- PlatformSoftware stringVersion 
- The platform or software version of the CPE device.
- Vendor string
- The vendor that makes the CPE device.
- PlatformSoftware stringVersion 
- The platform or software version of the CPE device.
- Vendor string
- The vendor that makes the CPE device.
- platformSoftware StringVersion 
- The platform or software version of the CPE device.
- vendor String
- The vendor that makes the CPE device.
- platformSoftware 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.
- platformSoftware StringVersion 
- The platform or software version of the CPE device.
- vendor String
- The vendor that makes the CPE device.
GetCpeDeviceShapeParameter    
- DisplayName 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.
- DisplayName 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.
- displayName 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.
- displayName 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.
- displayName 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.