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

oci.Core.getCpeDeviceShape

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

    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 dictionary

    The following arguments are supported:

    CpeDeviceShapeId string
    The OCID of the CPE device shape.
    CpeDeviceShapeId string
    The OCID of the CPE device shape.
    cpeDeviceShapeId String
    The OCID of the CPE device shape.
    cpeDeviceShapeId string
    The OCID of the CPE device shape.
    cpe_device_shape_id str
    The OCID of the CPE device shape.
    cpeDeviceShapeId String
    The OCID of the CPE device shape.

    getCpeDeviceShape Result

    The following output properties are available:

    CpeDeviceInfos List<GetCpeDeviceShapeCpeDeviceInfo>
    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.
    Id string
    The provider-assigned unique ID for this managed resource.
    Parameters List<GetCpeDeviceShapeParameter>
    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:

    CpeDeviceInfos []GetCpeDeviceShapeCpeDeviceInfo
    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.
    Id string
    The provider-assigned unique ID for this managed resource.
    Parameters []GetCpeDeviceShapeParameter
    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:

    cpeDeviceInfos List<GetCpeDeviceShapeCpeDeviceInfo>
    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.
    id String
    The provider-assigned unique ID for this managed resource.
    parameters List<GetCpeDeviceShapeParameter>
    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:

    cpeDeviceInfos GetCpeDeviceShapeCpeDeviceInfo[]
    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.
    id string
    The provider-assigned unique ID for this managed resource.
    parameters GetCpeDeviceShapeParameter[]
    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_infos Sequence[core.GetCpeDeviceShapeCpeDeviceInfo]
    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.
    id str
    The provider-assigned unique ID for this managed resource.
    parameters Sequence[core.GetCpeDeviceShapeParameter]
    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:

    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.
    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

    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.

    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 oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi