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


      path = '/allowedPeerRegionsForRemotePeering'
      operation_signing_strategy = :standard

      # rubocop:disable Style/NegatedIf
      # Query Params
      query_params = {}

      # Header Params
      header_params = {}
      header_params[:accept] = 'application/json'
      header_params[:'content-type'] = 'application/json'
      # rubocop:enable Style/NegatedIf

      post_body = nil

      # rubocop:disable Metrics/BlockLength
      OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#list_allowed_peer_regions_for_remote_peering') 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::PeerRegionForRemotePeering>'
        )
      end
      # rubocop:enable Metrics/BlockLength
    end
# Lists the regions that support remote VCN peering (which is peering across regions).
# For more information, see [VCN Peering](https://docs.cloud.oracle.com/Content/Network/Tasks/VCNpeering.htm).
#
# @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
# @return [Response] A Response object with data of type Array<{OCI::Core::Models::PeerRegionForRemotePeering PeerRegionForRemotePeering}>
Lists the regions that support remote VCN peering (which is peering across regions).
For more information, see [VCN Peering].
Lists the regions that support remote VCN peering ( which is peering across regions ) . For more information see [ VCN Peering ] .
def list_allowed_peer_regions_for_remote_peering(opts = {})
      logger.debug 'Calling operation VirtualNetworkClient#list_allowed_peer_regions_for_remote_peering.' if logger
      path = '/allowedPeerRegionsForRemotePeering'
      operation_signing_strategy = :standard
      query_params = {}
      header_params = {}
      header_params[:accept] = 'application/json'
      header_params[:'content-type'] = 'application/json'
      post_body = nil
      OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'VirtualNetworkClient#list_allowed_peer_regions_for_remote_peering') 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::PeerRegionForRemotePeering>'
        )
      end
    end
def list_allowed_peer_regions_for_remote_peering ( opts = { } ) logger . debug 'Calling operation VirtualNetworkClient#list_allowed_peer_regions_for_remote_peering.' if logger path = '/allowedPeerRegionsForRemotePeering' operation_signing_strategy = :standard query_params = { } header_params = { } header_params [ :accept ] = 'application/json' header_params [ :' content-type ' ] = 'application/json' post_body = nil OCI :: Retry . make_retrying_call ( applicable_retry_config ( opts ) , call_name : 'VirtualNetworkClient#list_allowed_peer_regions_for_remote_peering' ) 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::PeerRegionForRemotePeering>' ) end end
Lists the regions that support remote VCN peering (which is peering across regions).
Lists the regions that support remote VCN peering ( which is peering across regions ) .
# 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::PeerRegionForRemotePeering PeerRegionForRemotePeering}>
A Response object with data of type Array< { OCI :: Core :: Models :: PeerRegionForRemotePeering PeerRegionForRemotePeering } >
Response
opts
: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
: 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
opts the optional parameters
opts the optional parameters