lib/oci/core/virtual_network_client.rb
def list_cpe_device_shapes(opts = {})
      logger.debug 'Calling operation VirtualNetworkClient#list_cpe_device_shapes.' if logger


      path = '/cpeDeviceShapes'
      operation_signing_strategy = :standard

      # rubocop:disable Style/NegatedIf
      # Query Params
      query_params = {}
      query_params[:limit] = opts[:limit] if opts[:limit]
      query_params[:page] = opts[:page] if opts[:page]

      # Header Params
      header_params = {}
      header_params[:accept] = 'application/json'
      header_params[:'content-type'] = 'application/json'
      header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
      # rubocop:enable Style/NegatedIf

      post_body = nil

      # rubocop:disable Metrics/BlockLength
      OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#list_cpe_device_shapes') do
        @api_client.call_api(
          :GET,
          path,
          endpoint,
          header_params: header_params,
          query_params: query_params,
          operation_signing_strategy: operation_signing_strategy,
          body: post_body,
          return_type: 'Array<OCI::Core::Models::CpeDeviceShapeSummary>'
        )
      end
      # rubocop:enable Metrics/BlockLength
    end
# 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:
#
#   * {#get_cpe_device_config_content get_cpe_device_config_content}
#   * {#get_ipsec_cpe_device_config_content get_ipsec_cpe_device_config_content}
#   * {#get_tunnel_cpe_device_config_content get_tunnel_cpe_device_config_content}
#
# @param [Hash] opts the optional parameters
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
#   retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
# @option opts [Integer] :limit For list pagination. The maximum number of results per page, or items to return in a paginated
#   \"List\" call. For important details about how pagination works, see
#   [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
#
#   Example: `50`
#
# @option opts [String] :page For list pagination. The value of the `opc-next-page` response header from the previous \"List\"
#   call. For important details about how pagination works, see
#   [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
#
# @option opts [String] :opc_request_id Unique identifier for the request.
#   If you need to contact Oracle about a particular request, please provide the request ID.
#
# @return [Response] A Response object with data of type Array<{OCI::Core::Models::CpeDeviceShapeSummary CpeDeviceShapeSummary}>
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/core/list_cpe_device_shapes.rb.html) to see an example of how to use list_cpe_device_shapes API.
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.


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 .
def list_cpe_device_shapes(opts = {})
      logger.debug 'Calling operation VirtualNetworkClient#list_cpe_device_shapes.' if logger
      path = '/cpeDeviceShapes'
      operation_signing_strategy = :standard
      query_params = {}
      query_params[:limit] = opts[:limit] if opts[:limit]
      query_params[:page] = opts[:page] if opts[:page]
      header_params = {}
      header_params[:accept] = 'application/json'
      header_params[:'content-type'] = 'application/json'
      header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
      post_body = nil
      OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#list_cpe_device_shapes') do
        @api_client.call_api(
          :GET,
          path,
          endpoint,
          header_params: header_params,
          query_params: query_params,
          operation_signing_strategy: operation_signing_strategy,
          body: post_body,
          return_type: 'Array<OCI::Core::Models::CpeDeviceShapeSummary>'
        )
      end
    end
def list_cpe_device_shapes ( opts = { } ) logger . debug 'Calling operation VirtualNetworkClient#list_cpe_device_shapes.' if logger path = '/cpeDeviceShapes' operation_signing_strategy = :standard query_params = { } query_params [ :limit ] = opts [ :limit ] if opts [ :limit ] query_params [ :page ] = opts [ :page ] if opts [ :page ] header_params = { } header_params [ :accept ] = 'application/json' header_params [ :' content-type ' ] = 'application/json' header_params [ :' opc-request-id ' ] = opts [ :opc_request_id ] if opts [ :opc_request_id ] post_body = nil OCI :: Retry . make_retrying_call ( applicable_retry_config ( opts ) , call_name : 'VirtualNetworkClient#list_cpe_device_shapes' ) do @api_client . call_api ( :GET , path , endpoint , header_params : header_params , query_params : query_params , operation_signing_strategy : operation_signing_strategy , body : post_body , return_type : 'Array<OCI::Core::Models::CpeDeviceShapeSummary>' ) end end
Lists the CPE device types that the Networking service provides CPE configuration
content for (example: Cisco ASA).
Lists the CPE device types that the Networking service provides CPE configuration content for ( example : Cisco ASA ) .
# rubocop:disable Style/NegatedIf # Query Params # Header Params # rubocop:enable Style/NegatedIf # rubocop:disable Metrics/BlockLength # rubocop:enable Metrics/BlockLength
A Response object with data of type Array<{OCI::Core::Models::CpeDeviceShapeSummary CpeDeviceShapeSummary}>
A Response object with data of type Array< { OCI :: Core :: Models :: CpeDeviceShapeSummary CpeDeviceShapeSummary } >
Response
opts
:opc_request_id Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
: opc_request_id Unique identifier for the request . If you need to contact Oracle about a particular request please provide the request ID .
opts the optional parameters
opts the optional parameters
note
Click [here] to see an example of how to use list_cpe_device_shapes API.
Click [ here ] to see an example of how to use list_cpe_device_shapes API .