oci 2.3.7 → 2.3.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/oci/core/blockstorage_client.rb +56 -24
- data/lib/oci/core/compute_client.rb +578 -24
- data/lib/oci/core/core.rb +11 -0
- data/lib/oci/core/models/app_catalog_listing.rb +242 -0
- data/lib/oci/core/models/app_catalog_listing_resource_version.rb +295 -0
- data/lib/oci/core/models/app_catalog_listing_resource_version_agreements.rb +219 -0
- data/lib/oci/core/models/app_catalog_listing_resource_version_summary.rb +194 -0
- data/lib/oci/core/models/app_catalog_listing_summary.rb +188 -0
- data/lib/oci/core/models/app_catalog_subscription.rb +246 -0
- data/lib/oci/core/models/app_catalog_subscription_summary.rb +246 -0
- data/lib/oci/core/models/create_app_catalog_subscription_details.rb +232 -0
- data/lib/oci/core/models/create_nat_gateway_details.rb +239 -0
- data/lib/oci/core/models/launch_instance_details.rb +4 -0
- data/lib/oci/core/models/nat_gateway.rb +333 -0
- data/lib/oci/core/models/public_ip.rb +76 -13
- data/lib/oci/core/models/service_gateway.rb +9 -4
- data/lib/oci/core/models/update_nat_gateway_details.rb +208 -0
- data/lib/oci/core/models/update_service_gateway_details.rb +9 -4
- data/lib/oci/core/virtual_network_client.rb +546 -91
- data/lib/oci/core/virtual_network_client_composite_operations.rb +119 -0
- data/lib/oci/object_storage/models/bucket.rb +18 -4
- data/lib/oci/object_storage/models/copy_object_details.rb +269 -0
- data/lib/oci/object_storage/models/multipart_upload.rb +1 -1
- data/lib/oci/object_storage/models/namespace_metadata.rb +1 -1
- data/lib/oci/object_storage/models/object_lifecycle_policy.rb +167 -0
- data/lib/oci/object_storage/models/object_lifecycle_rule.rb +245 -0
- data/lib/oci/object_storage/models/object_name_filter.rb +153 -0
- data/lib/oci/object_storage/models/preauthenticated_request.rb +1 -1
- data/lib/oci/object_storage/models/put_object_lifecycle_policy_details.rb +147 -0
- data/lib/oci/object_storage/models/restore_objects_details.rb +2 -2
- data/lib/oci/object_storage/models/work_request.rb +304 -0
- data/lib/oci/object_storage/models/work_request_error.rb +168 -0
- data/lib/oci/object_storage/models/work_request_log_entry.rb +156 -0
- data/lib/oci/object_storage/models/work_request_resource.rb +225 -0
- data/lib/oci/object_storage/models/work_request_resource_metadata_key.rb +12 -0
- data/lib/oci/object_storage/models/work_request_summary.rb +304 -0
- data/lib/oci/object_storage/object_storage.rb +12 -0
- data/lib/oci/object_storage/object_storage_client.rb +542 -17
- data/lib/oci/object_storage/object_storage_client_composite_operations.rb +53 -0
- data/lib/oci/version.rb +1 -1
- metadata +24 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9d1d6ee88f7fc262d3b94f3aa3d6af6b18ca09cdb7146b881ea345c8050253f5
|
4
|
+
data.tar.gz: 6efffa27d79b7cc73a10dba4cc0ff3cefe760d91fd31ad1a24af55e2214c6ff7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd0e67f5d1e856354d0fa677db16082ab425972d1c1e3f78faa51bdeab587405d806fbc3d7e56c4ce6acce4e6bfbde1dee22bc414eec81e2bbc6be7f0cb8e10a
|
7
|
+
data.tar.gz: b98dae60f5ffa28d7a16657f4a6ed4e716f94b126e0c149eec1bd3dc9632c152fac65e03508f0a1e465cb382a00cf70d4558464e037236d98278806a870df04b
|
data/README.md
CHANGED
@@ -1380,11 +1380,15 @@ module OCI
|
|
1380
1380
|
# @param [Hash] opts the optional parameters
|
1381
1381
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1382
1382
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1383
|
-
# @option opts [Integer] :limit The maximum number of items to return in a paginated
|
1383
|
+
# @option opts [Integer] :limit For list pagination. The maximum number of results per page, or items to return in a paginated
|
1384
|
+
# \"List\" call. For important details about how pagination works, see
|
1385
|
+
# [List Pagination](https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
1384
1386
|
#
|
1385
|
-
# Example: `
|
1387
|
+
# Example: `50`
|
1386
1388
|
#
|
1387
|
-
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\"
|
1389
|
+
# @option opts [String] :page For list pagination. The value of the `opc-next-page` response header from the previous \"List\"
|
1390
|
+
# call. For important details about how pagination works, see
|
1391
|
+
# [List Pagination](https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
1388
1392
|
#
|
1389
1393
|
# @return [Response] A Response object with data of type Array<{OCI::Core::Models::VolumeBackupPolicyAssignment VolumeBackupPolicyAssignment}>
|
1390
1394
|
def get_volume_backup_policy_asset_assignment(asset_id, opts = {})
|
@@ -1657,11 +1661,15 @@ module OCI
|
|
1657
1661
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1658
1662
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1659
1663
|
# @option opts [String] :boot_volume_id The OCID of the boot volume.
|
1660
|
-
# @option opts [Integer] :limit The maximum number of items to return in a paginated
|
1664
|
+
# @option opts [Integer] :limit For list pagination. The maximum number of results per page, or items to return in a paginated
|
1665
|
+
# \"List\" call. For important details about how pagination works, see
|
1666
|
+
# [List Pagination](https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
1661
1667
|
#
|
1662
|
-
# Example: `
|
1668
|
+
# Example: `50`
|
1663
1669
|
#
|
1664
|
-
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\"
|
1670
|
+
# @option opts [String] :page For list pagination. The value of the `opc-next-page` response header from the previous \"List\"
|
1671
|
+
# call. For important details about how pagination works, see
|
1672
|
+
# [List Pagination](https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
1665
1673
|
#
|
1666
1674
|
# @option opts [String] :display_name A filter to return only resources that match the given display name exactly.
|
1667
1675
|
#
|
@@ -1756,11 +1764,15 @@ module OCI
|
|
1756
1764
|
# @param [Hash] opts the optional parameters
|
1757
1765
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1758
1766
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1759
|
-
# @option opts [Integer] :limit The maximum number of items to return in a paginated
|
1767
|
+
# @option opts [Integer] :limit For list pagination. The maximum number of results per page, or items to return in a paginated
|
1768
|
+
# \"List\" call. For important details about how pagination works, see
|
1769
|
+
# [List Pagination](https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
1760
1770
|
#
|
1761
|
-
# Example: `
|
1771
|
+
# Example: `50`
|
1762
1772
|
#
|
1763
|
-
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\"
|
1773
|
+
# @option opts [String] :page For list pagination. The value of the `opc-next-page` response header from the previous \"List\"
|
1774
|
+
# call. For important details about how pagination works, see
|
1775
|
+
# [List Pagination](https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
1764
1776
|
#
|
1765
1777
|
# @option opts [String] :volume_group_id The OCID of the volume group.
|
1766
1778
|
# @return [Response] A Response object with data of type Array<{OCI::Core::Models::BootVolume BootVolume}>
|
@@ -1818,11 +1830,15 @@ module OCI
|
|
1818
1830
|
# @param [Hash] opts the optional parameters
|
1819
1831
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1820
1832
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1821
|
-
# @option opts [Integer] :limit The maximum number of items to return in a paginated
|
1833
|
+
# @option opts [Integer] :limit For list pagination. The maximum number of results per page, or items to return in a paginated
|
1834
|
+
# \"List\" call. For important details about how pagination works, see
|
1835
|
+
# [List Pagination](https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
1822
1836
|
#
|
1823
|
-
# Example: `
|
1837
|
+
# Example: `50`
|
1824
1838
|
#
|
1825
|
-
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\"
|
1839
|
+
# @option opts [String] :page For list pagination. The value of the `opc-next-page` response header from the previous \"List\"
|
1840
|
+
# call. For important details about how pagination works, see
|
1841
|
+
# [List Pagination](https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
1826
1842
|
#
|
1827
1843
|
# @return [Response] A Response object with data of type Array<{OCI::Core::Models::VolumeBackupPolicy VolumeBackupPolicy}>
|
1828
1844
|
def list_volume_backup_policies(opts = {})
|
@@ -1877,11 +1893,15 @@ module OCI
|
|
1877
1893
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1878
1894
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1879
1895
|
# @option opts [String] :volume_id The OCID of the volume.
|
1880
|
-
# @option opts [Integer] :limit The maximum number of items to return in a paginated
|
1896
|
+
# @option opts [Integer] :limit For list pagination. The maximum number of results per page, or items to return in a paginated
|
1897
|
+
# \"List\" call. For important details about how pagination works, see
|
1898
|
+
# [List Pagination](https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
1881
1899
|
#
|
1882
|
-
# Example: `
|
1900
|
+
# Example: `50`
|
1883
1901
|
#
|
1884
|
-
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\"
|
1902
|
+
# @option opts [String] :page For list pagination. The value of the `opc-next-page` response header from the previous \"List\"
|
1903
|
+
# call. For important details about how pagination works, see
|
1904
|
+
# [List Pagination](https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
1885
1905
|
#
|
1886
1906
|
# @option opts [String] :display_name A filter to return only resources that match the given display name exactly.
|
1887
1907
|
#
|
@@ -1974,11 +1994,15 @@ module OCI
|
|
1974
1994
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1975
1995
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1976
1996
|
# @option opts [String] :volume_group_id The OCID of the volume group.
|
1977
|
-
# @option opts [Integer] :limit The maximum number of items to return in a paginated
|
1997
|
+
# @option opts [Integer] :limit For list pagination. The maximum number of results per page, or items to return in a paginated
|
1998
|
+
# \"List\" call. For important details about how pagination works, see
|
1999
|
+
# [List Pagination](https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
1978
2000
|
#
|
1979
|
-
# Example: `
|
2001
|
+
# Example: `50`
|
1980
2002
|
#
|
1981
|
-
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\"
|
2003
|
+
# @option opts [String] :page For list pagination. The value of the `opc-next-page` response header from the previous \"List\"
|
2004
|
+
# call. For important details about how pagination works, see
|
2005
|
+
# [List Pagination](https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
1982
2006
|
#
|
1983
2007
|
# @option opts [String] :display_name A filter to return only resources that match the given display name exactly.
|
1984
2008
|
#
|
@@ -2067,11 +2091,15 @@ module OCI
|
|
2067
2091
|
#
|
2068
2092
|
# Example: `Uocm:PHX-AD-1`
|
2069
2093
|
#
|
2070
|
-
# @option opts [Integer] :limit The maximum number of items to return in a paginated
|
2094
|
+
# @option opts [Integer] :limit For list pagination. The maximum number of results per page, or items to return in a paginated
|
2095
|
+
# \"List\" call. For important details about how pagination works, see
|
2096
|
+
# [List Pagination](https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
2071
2097
|
#
|
2072
|
-
# Example: `
|
2098
|
+
# Example: `50`
|
2073
2099
|
#
|
2074
|
-
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\"
|
2100
|
+
# @option opts [String] :page For list pagination. The value of the `opc-next-page` response header from the previous \"List\"
|
2101
|
+
# call. For important details about how pagination works, see
|
2102
|
+
# [List Pagination](https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
2075
2103
|
#
|
2076
2104
|
# @option opts [String] :display_name A filter to return only resources that match the given display name exactly.
|
2077
2105
|
#
|
@@ -2165,11 +2193,15 @@ module OCI
|
|
2165
2193
|
#
|
2166
2194
|
# Example: `Uocm:PHX-AD-1`
|
2167
2195
|
#
|
2168
|
-
# @option opts [Integer] :limit The maximum number of items to return in a paginated
|
2196
|
+
# @option opts [Integer] :limit For list pagination. The maximum number of results per page, or items to return in a paginated
|
2197
|
+
# \"List\" call. For important details about how pagination works, see
|
2198
|
+
# [List Pagination](https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
2169
2199
|
#
|
2170
|
-
# Example: `
|
2200
|
+
# Example: `50`
|
2171
2201
|
#
|
2172
|
-
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\"
|
2202
|
+
# @option opts [String] :page For list pagination. The value of the `opc-next-page` response header from the previous \"List\"
|
2203
|
+
# call. For important details about how pagination works, see
|
2204
|
+
# [List Pagination](https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
2173
2205
|
#
|
2174
2206
|
# @option opts [String] :display_name A filter to return only resources that match the given display name exactly.
|
2175
2207
|
#
|
@@ -355,6 +355,65 @@ module OCI
|
|
355
355
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
356
356
|
|
357
357
|
|
358
|
+
# Create a subscription for listing resource version for a compartment. It will take some time to propagate to all regions.
|
359
|
+
#
|
360
|
+
# @param [OCI::Core::Models::CreateAppCatalogSubscriptionDetails] create_app_catalog_subscription_details Request for the creation of a subscription for listing resource version for a compartment.
|
361
|
+
# @param [Hash] opts the optional parameters
|
362
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
363
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
364
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
365
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
366
|
+
# hours, but can be invalidated before then due to conflicting operations (for example, if a resource
|
367
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
368
|
+
# may be rejected).
|
369
|
+
#
|
370
|
+
# @return [Response] A Response object with data of type {OCI::Core::Models::AppCatalogSubscription AppCatalogSubscription}
|
371
|
+
def create_app_catalog_subscription(create_app_catalog_subscription_details, opts = {})
|
372
|
+
logger.debug 'Calling operation ComputeClient#create_app_catalog_subscription.' if logger
|
373
|
+
|
374
|
+
raise "Missing the required parameter 'create_app_catalog_subscription_details' when calling create_app_catalog_subscription." if create_app_catalog_subscription_details.nil?
|
375
|
+
|
376
|
+
path = '/appCatalogSubscriptions'
|
377
|
+
operation_signing_strategy = :standard
|
378
|
+
|
379
|
+
# rubocop:disable Style/NegatedIf
|
380
|
+
# Query Params
|
381
|
+
query_params = {}
|
382
|
+
|
383
|
+
# Header Params
|
384
|
+
header_params = {}
|
385
|
+
header_params[:accept] = 'application/json'
|
386
|
+
header_params[:'content-type'] = 'application/json'
|
387
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
388
|
+
# rubocop:enable Style/NegatedIf
|
389
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
390
|
+
|
391
|
+
post_body = @api_client.object_to_http_body(create_app_catalog_subscription_details)
|
392
|
+
|
393
|
+
# rubocop:disable Metrics/BlockLength
|
394
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ComputeClient#create_app_catalog_subscription') do
|
395
|
+
@api_client.call_api(
|
396
|
+
:POST,
|
397
|
+
path,
|
398
|
+
endpoint,
|
399
|
+
header_params: header_params,
|
400
|
+
query_params: query_params,
|
401
|
+
operation_signing_strategy: operation_signing_strategy,
|
402
|
+
body: post_body,
|
403
|
+
return_type: 'OCI::Core::Models::AppCatalogSubscription'
|
404
|
+
)
|
405
|
+
end
|
406
|
+
# rubocop:enable Metrics/BlockLength
|
407
|
+
end
|
408
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
409
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
410
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
411
|
+
|
412
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
413
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
414
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
415
|
+
|
416
|
+
|
358
417
|
# Creates a boot disk image for the specified instance or imports an exported image from the Oracle Cloud Infrastructure Object Storage service.
|
359
418
|
#
|
360
419
|
# When creating a new image, you must provide the OCID of the instance you want to use as the basis for the image, and
|
@@ -494,6 +553,64 @@ module OCI
|
|
494
553
|
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
495
554
|
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
496
555
|
|
556
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
557
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
558
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
559
|
+
# rubocop:disable Lint/UnusedMethodArgument
|
560
|
+
|
561
|
+
|
562
|
+
# Delete a subscription for a listing resource version for a compartment.
|
563
|
+
# @param [String] listing_id The OCID of the listing.
|
564
|
+
# @param [String] compartment_id The OCID of the compartment.
|
565
|
+
# @param [String] resource_version Listing Resource Version.
|
566
|
+
# @param [Hash] opts the optional parameters
|
567
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
568
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
569
|
+
# @return [Response] A Response object with data of type nil
|
570
|
+
def delete_app_catalog_subscription(listing_id, compartment_id, resource_version, opts = {})
|
571
|
+
logger.debug 'Calling operation ComputeClient#delete_app_catalog_subscription.' if logger
|
572
|
+
|
573
|
+
raise "Missing the required parameter 'listing_id' when calling delete_app_catalog_subscription." if listing_id.nil?
|
574
|
+
raise "Missing the required parameter 'compartment_id' when calling delete_app_catalog_subscription." if compartment_id.nil?
|
575
|
+
raise "Missing the required parameter 'resource_version' when calling delete_app_catalog_subscription." if resource_version.nil?
|
576
|
+
|
577
|
+
path = '/appCatalogSubscriptions'
|
578
|
+
operation_signing_strategy = :standard
|
579
|
+
|
580
|
+
# rubocop:disable Style/NegatedIf
|
581
|
+
# Query Params
|
582
|
+
query_params = {}
|
583
|
+
query_params[:listingId] = listing_id
|
584
|
+
query_params[:compartmentId] = compartment_id
|
585
|
+
query_params[:resourceVersion] = resource_version
|
586
|
+
|
587
|
+
# Header Params
|
588
|
+
header_params = {}
|
589
|
+
header_params[:accept] = 'application/json'
|
590
|
+
header_params[:'content-type'] = 'application/json'
|
591
|
+
# rubocop:enable Style/NegatedIf
|
592
|
+
|
593
|
+
post_body = nil
|
594
|
+
|
595
|
+
# rubocop:disable Metrics/BlockLength
|
596
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ComputeClient#delete_app_catalog_subscription') do
|
597
|
+
@api_client.call_api(
|
598
|
+
:DELETE,
|
599
|
+
path,
|
600
|
+
endpoint,
|
601
|
+
header_params: header_params,
|
602
|
+
query_params: query_params,
|
603
|
+
operation_signing_strategy: operation_signing_strategy,
|
604
|
+
body: post_body
|
605
|
+
)
|
606
|
+
end
|
607
|
+
# rubocop:enable Metrics/BlockLength
|
608
|
+
end
|
609
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
610
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
611
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
612
|
+
# rubocop:enable Lint/UnusedMethodArgument
|
613
|
+
|
497
614
|
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
498
615
|
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
499
616
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
@@ -924,6 +1041,171 @@ module OCI
|
|
924
1041
|
# rubocop:disable Lint/UnusedMethodArgument
|
925
1042
|
|
926
1043
|
|
1044
|
+
# Gets the specified listing.
|
1045
|
+
# @param [String] listing_id The OCID of the listing.
|
1046
|
+
# @param [Hash] opts the optional parameters
|
1047
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1048
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1049
|
+
# @return [Response] A Response object with data of type {OCI::Core::Models::AppCatalogListing AppCatalogListing}
|
1050
|
+
def get_app_catalog_listing(listing_id, opts = {})
|
1051
|
+
logger.debug 'Calling operation ComputeClient#get_app_catalog_listing.' if logger
|
1052
|
+
|
1053
|
+
raise "Missing the required parameter 'listing_id' when calling get_app_catalog_listing." if listing_id.nil?
|
1054
|
+
raise "Parameter value for 'listing_id' must not be blank" if OCI::Internal::Util.blank_string?(listing_id)
|
1055
|
+
|
1056
|
+
path = '/appCatalogListings/{listingId}'.sub('{listingId}', listing_id.to_s)
|
1057
|
+
operation_signing_strategy = :standard
|
1058
|
+
|
1059
|
+
# rubocop:disable Style/NegatedIf
|
1060
|
+
# Query Params
|
1061
|
+
query_params = {}
|
1062
|
+
|
1063
|
+
# Header Params
|
1064
|
+
header_params = {}
|
1065
|
+
header_params[:accept] = 'application/json'
|
1066
|
+
header_params[:'content-type'] = 'application/json'
|
1067
|
+
# rubocop:enable Style/NegatedIf
|
1068
|
+
|
1069
|
+
post_body = nil
|
1070
|
+
|
1071
|
+
# rubocop:disable Metrics/BlockLength
|
1072
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ComputeClient#get_app_catalog_listing') do
|
1073
|
+
@api_client.call_api(
|
1074
|
+
:GET,
|
1075
|
+
path,
|
1076
|
+
endpoint,
|
1077
|
+
header_params: header_params,
|
1078
|
+
query_params: query_params,
|
1079
|
+
operation_signing_strategy: operation_signing_strategy,
|
1080
|
+
body: post_body,
|
1081
|
+
return_type: 'OCI::Core::Models::AppCatalogListing'
|
1082
|
+
)
|
1083
|
+
end
|
1084
|
+
# rubocop:enable Metrics/BlockLength
|
1085
|
+
end
|
1086
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1087
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
1088
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
1089
|
+
# rubocop:enable Lint/UnusedMethodArgument
|
1090
|
+
|
1091
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1092
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
1093
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1094
|
+
# rubocop:disable Lint/UnusedMethodArgument
|
1095
|
+
|
1096
|
+
|
1097
|
+
# Retrieves the agreements for a particular resource version of a listing.
|
1098
|
+
# @param [String] listing_id The OCID of the listing.
|
1099
|
+
# @param [String] resource_version Listing Resource Version.
|
1100
|
+
# @param [Hash] opts the optional parameters
|
1101
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1102
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1103
|
+
# @return [Response] A Response object with data of type {OCI::Core::Models::AppCatalogListingResourceVersionAgreements AppCatalogListingResourceVersionAgreements}
|
1104
|
+
def get_app_catalog_listing_agreements(listing_id, resource_version, opts = {})
|
1105
|
+
logger.debug 'Calling operation ComputeClient#get_app_catalog_listing_agreements.' if logger
|
1106
|
+
|
1107
|
+
raise "Missing the required parameter 'listing_id' when calling get_app_catalog_listing_agreements." if listing_id.nil?
|
1108
|
+
raise "Missing the required parameter 'resource_version' when calling get_app_catalog_listing_agreements." if resource_version.nil?
|
1109
|
+
raise "Parameter value for 'listing_id' must not be blank" if OCI::Internal::Util.blank_string?(listing_id)
|
1110
|
+
raise "Parameter value for 'resource_version' must not be blank" if OCI::Internal::Util.blank_string?(resource_version)
|
1111
|
+
|
1112
|
+
path = '/appCatalogListings/{listingId}/resourceVersions/{resourceVersion}/agreements'.sub('{listingId}', listing_id.to_s).sub('{resourceVersion}', resource_version.to_s)
|
1113
|
+
operation_signing_strategy = :standard
|
1114
|
+
|
1115
|
+
# rubocop:disable Style/NegatedIf
|
1116
|
+
# Query Params
|
1117
|
+
query_params = {}
|
1118
|
+
|
1119
|
+
# Header Params
|
1120
|
+
header_params = {}
|
1121
|
+
header_params[:accept] = 'application/json'
|
1122
|
+
header_params[:'content-type'] = 'application/json'
|
1123
|
+
# rubocop:enable Style/NegatedIf
|
1124
|
+
|
1125
|
+
post_body = nil
|
1126
|
+
|
1127
|
+
# rubocop:disable Metrics/BlockLength
|
1128
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ComputeClient#get_app_catalog_listing_agreements') do
|
1129
|
+
@api_client.call_api(
|
1130
|
+
:GET,
|
1131
|
+
path,
|
1132
|
+
endpoint,
|
1133
|
+
header_params: header_params,
|
1134
|
+
query_params: query_params,
|
1135
|
+
operation_signing_strategy: operation_signing_strategy,
|
1136
|
+
body: post_body,
|
1137
|
+
return_type: 'OCI::Core::Models::AppCatalogListingResourceVersionAgreements'
|
1138
|
+
)
|
1139
|
+
end
|
1140
|
+
# rubocop:enable Metrics/BlockLength
|
1141
|
+
end
|
1142
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1143
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
1144
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
1145
|
+
# rubocop:enable Lint/UnusedMethodArgument
|
1146
|
+
|
1147
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1148
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
1149
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1150
|
+
# rubocop:disable Lint/UnusedMethodArgument
|
1151
|
+
|
1152
|
+
|
1153
|
+
# Gets the specified listing resource version.
|
1154
|
+
# @param [String] listing_id The OCID of the listing.
|
1155
|
+
# @param [String] resource_version Listing Resource Version.
|
1156
|
+
# @param [Hash] opts the optional parameters
|
1157
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1158
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1159
|
+
# @return [Response] A Response object with data of type {OCI::Core::Models::AppCatalogListingResourceVersion AppCatalogListingResourceVersion}
|
1160
|
+
def get_app_catalog_listing_resource_version(listing_id, resource_version, opts = {})
|
1161
|
+
logger.debug 'Calling operation ComputeClient#get_app_catalog_listing_resource_version.' if logger
|
1162
|
+
|
1163
|
+
raise "Missing the required parameter 'listing_id' when calling get_app_catalog_listing_resource_version." if listing_id.nil?
|
1164
|
+
raise "Missing the required parameter 'resource_version' when calling get_app_catalog_listing_resource_version." if resource_version.nil?
|
1165
|
+
raise "Parameter value for 'listing_id' must not be blank" if OCI::Internal::Util.blank_string?(listing_id)
|
1166
|
+
raise "Parameter value for 'resource_version' must not be blank" if OCI::Internal::Util.blank_string?(resource_version)
|
1167
|
+
|
1168
|
+
path = '/appCatalogListings/{listingId}/resourceVersions/{resourceVersion}'.sub('{listingId}', listing_id.to_s).sub('{resourceVersion}', resource_version.to_s)
|
1169
|
+
operation_signing_strategy = :standard
|
1170
|
+
|
1171
|
+
# rubocop:disable Style/NegatedIf
|
1172
|
+
# Query Params
|
1173
|
+
query_params = {}
|
1174
|
+
|
1175
|
+
# Header Params
|
1176
|
+
header_params = {}
|
1177
|
+
header_params[:accept] = 'application/json'
|
1178
|
+
header_params[:'content-type'] = 'application/json'
|
1179
|
+
# rubocop:enable Style/NegatedIf
|
1180
|
+
|
1181
|
+
post_body = nil
|
1182
|
+
|
1183
|
+
# rubocop:disable Metrics/BlockLength
|
1184
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ComputeClient#get_app_catalog_listing_resource_version') do
|
1185
|
+
@api_client.call_api(
|
1186
|
+
:GET,
|
1187
|
+
path,
|
1188
|
+
endpoint,
|
1189
|
+
header_params: header_params,
|
1190
|
+
query_params: query_params,
|
1191
|
+
operation_signing_strategy: operation_signing_strategy,
|
1192
|
+
body: post_body,
|
1193
|
+
return_type: 'OCI::Core::Models::AppCatalogListingResourceVersion'
|
1194
|
+
)
|
1195
|
+
end
|
1196
|
+
# rubocop:enable Metrics/BlockLength
|
1197
|
+
end
|
1198
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1199
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
1200
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
1201
|
+
# rubocop:enable Lint/UnusedMethodArgument
|
1202
|
+
|
1203
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1204
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
1205
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1206
|
+
# rubocop:disable Lint/UnusedMethodArgument
|
1207
|
+
|
1208
|
+
|
927
1209
|
# Gets information about the specified boot volume attachment.
|
928
1210
|
# @param [String] boot_volume_attachment_id The OCID of the boot volume attachment.
|
929
1211
|
# @param [Hash] opts the optional parameters
|
@@ -1584,6 +1866,246 @@ module OCI
|
|
1584
1866
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1585
1867
|
|
1586
1868
|
|
1869
|
+
# Gets all resource versions for a particular listing.
|
1870
|
+
# @param [String] listing_id The OCID of the listing.
|
1871
|
+
# @param [Hash] opts the optional parameters
|
1872
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1873
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1874
|
+
# @option opts [Integer] :limit For list pagination. The maximum number of results per page, or items to return in a paginated
|
1875
|
+
# \"List\" call. For important details about how pagination works, see
|
1876
|
+
# [List Pagination](https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
1877
|
+
#
|
1878
|
+
# Example: `50`
|
1879
|
+
#
|
1880
|
+
# @option opts [String] :page For list pagination. The value of the `opc-next-page` response header from the previous \"List\"
|
1881
|
+
# call. For important details about how pagination works, see
|
1882
|
+
# [List Pagination](https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
1883
|
+
#
|
1884
|
+
# @option opts [String] :sort_order The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
|
1885
|
+
# is case sensitive.
|
1886
|
+
#
|
1887
|
+
# Allowed values are: ASC, DESC
|
1888
|
+
# @return [Response] A Response object with data of type Array<{OCI::Core::Models::AppCatalogListingResourceVersionSummary AppCatalogListingResourceVersionSummary}>
|
1889
|
+
def list_app_catalog_listing_resource_versions(listing_id, opts = {})
|
1890
|
+
logger.debug 'Calling operation ComputeClient#list_app_catalog_listing_resource_versions.' if logger
|
1891
|
+
|
1892
|
+
raise "Missing the required parameter 'listing_id' when calling list_app_catalog_listing_resource_versions." if listing_id.nil?
|
1893
|
+
|
1894
|
+
if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
|
1895
|
+
raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
|
1896
|
+
end
|
1897
|
+
raise "Parameter value for 'listing_id' must not be blank" if OCI::Internal::Util.blank_string?(listing_id)
|
1898
|
+
|
1899
|
+
path = '/appCatalogListings/{listingId}/resourceVersions'.sub('{listingId}', listing_id.to_s)
|
1900
|
+
operation_signing_strategy = :standard
|
1901
|
+
|
1902
|
+
# rubocop:disable Style/NegatedIf
|
1903
|
+
# Query Params
|
1904
|
+
query_params = {}
|
1905
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
1906
|
+
query_params[:page] = opts[:page] if opts[:page]
|
1907
|
+
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
1908
|
+
|
1909
|
+
# Header Params
|
1910
|
+
header_params = {}
|
1911
|
+
header_params[:accept] = 'application/json'
|
1912
|
+
header_params[:'content-type'] = 'application/json'
|
1913
|
+
# rubocop:enable Style/NegatedIf
|
1914
|
+
|
1915
|
+
post_body = nil
|
1916
|
+
|
1917
|
+
# rubocop:disable Metrics/BlockLength
|
1918
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ComputeClient#list_app_catalog_listing_resource_versions') do
|
1919
|
+
@api_client.call_api(
|
1920
|
+
:GET,
|
1921
|
+
path,
|
1922
|
+
endpoint,
|
1923
|
+
header_params: header_params,
|
1924
|
+
query_params: query_params,
|
1925
|
+
operation_signing_strategy: operation_signing_strategy,
|
1926
|
+
body: post_body,
|
1927
|
+
return_type: 'Array<OCI::Core::Models::AppCatalogListingResourceVersionSummary>'
|
1928
|
+
)
|
1929
|
+
end
|
1930
|
+
# rubocop:enable Metrics/BlockLength
|
1931
|
+
end
|
1932
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1933
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
1934
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
1935
|
+
|
1936
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
1937
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
1938
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1939
|
+
|
1940
|
+
|
1941
|
+
# Lists the published listings.
|
1942
|
+
# @param [Hash] opts the optional parameters
|
1943
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1944
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1945
|
+
# @option opts [Integer] :limit For list pagination. The maximum number of results per page, or items to return in a paginated
|
1946
|
+
# \"List\" call. For important details about how pagination works, see
|
1947
|
+
# [List Pagination](https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
1948
|
+
#
|
1949
|
+
# Example: `50`
|
1950
|
+
#
|
1951
|
+
# @option opts [String] :page For list pagination. The value of the `opc-next-page` response header from the previous \"List\"
|
1952
|
+
# call. For important details about how pagination works, see
|
1953
|
+
# [List Pagination](https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
1954
|
+
#
|
1955
|
+
# @option opts [String] :sort_order The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
|
1956
|
+
# is case sensitive.
|
1957
|
+
#
|
1958
|
+
# Allowed values are: ASC, DESC
|
1959
|
+
# @option opts [String] :publisher_name A filter to return only the publisher that matches the given publisher name exactly.
|
1960
|
+
#
|
1961
|
+
# @option opts [String] :publisher_type A filter to return only publishers that match the given publisher type exactly. Valid types are OCI, ORACLE, TRUSTED, STANDARD.
|
1962
|
+
#
|
1963
|
+
# @option opts [String] :display_name A filter to return only resources that match the given display name exactly.
|
1964
|
+
#
|
1965
|
+
# @return [Response] A Response object with data of type Array<{OCI::Core::Models::AppCatalogListingSummary AppCatalogListingSummary}>
|
1966
|
+
def list_app_catalog_listings(opts = {})
|
1967
|
+
logger.debug 'Calling operation ComputeClient#list_app_catalog_listings.' if logger
|
1968
|
+
|
1969
|
+
|
1970
|
+
if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
|
1971
|
+
raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
|
1972
|
+
end
|
1973
|
+
|
1974
|
+
path = '/appCatalogListings'
|
1975
|
+
operation_signing_strategy = :standard
|
1976
|
+
|
1977
|
+
# rubocop:disable Style/NegatedIf
|
1978
|
+
# Query Params
|
1979
|
+
query_params = {}
|
1980
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
1981
|
+
query_params[:page] = opts[:page] if opts[:page]
|
1982
|
+
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
1983
|
+
query_params[:publisherName] = opts[:publisher_name] if opts[:publisher_name]
|
1984
|
+
query_params[:publisherType] = opts[:publisher_type] if opts[:publisher_type]
|
1985
|
+
query_params[:displayName] = opts[:display_name] if opts[:display_name]
|
1986
|
+
|
1987
|
+
# Header Params
|
1988
|
+
header_params = {}
|
1989
|
+
header_params[:accept] = 'application/json'
|
1990
|
+
header_params[:'content-type'] = 'application/json'
|
1991
|
+
# rubocop:enable Style/NegatedIf
|
1992
|
+
|
1993
|
+
post_body = nil
|
1994
|
+
|
1995
|
+
# rubocop:disable Metrics/BlockLength
|
1996
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ComputeClient#list_app_catalog_listings') do
|
1997
|
+
@api_client.call_api(
|
1998
|
+
:GET,
|
1999
|
+
path,
|
2000
|
+
endpoint,
|
2001
|
+
header_params: header_params,
|
2002
|
+
query_params: query_params,
|
2003
|
+
operation_signing_strategy: operation_signing_strategy,
|
2004
|
+
body: post_body,
|
2005
|
+
return_type: 'Array<OCI::Core::Models::AppCatalogListingSummary>'
|
2006
|
+
)
|
2007
|
+
end
|
2008
|
+
# rubocop:enable Metrics/BlockLength
|
2009
|
+
end
|
2010
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2011
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
2012
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
2013
|
+
|
2014
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2015
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
2016
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
2017
|
+
|
2018
|
+
|
2019
|
+
# Lists subscriptions for a compartment.
|
2020
|
+
# @param [String] compartment_id The OCID of the compartment.
|
2021
|
+
# @param [Hash] opts the optional parameters
|
2022
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
2023
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
2024
|
+
# @option opts [Integer] :limit For list pagination. The maximum number of results per page, or items to return in a paginated
|
2025
|
+
# \"List\" call. For important details about how pagination works, see
|
2026
|
+
# [List Pagination](https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
2027
|
+
#
|
2028
|
+
# Example: `50`
|
2029
|
+
#
|
2030
|
+
# @option opts [String] :page For list pagination. The value of the `opc-next-page` response header from the previous \"List\"
|
2031
|
+
# call. For important details about how pagination works, see
|
2032
|
+
# [List Pagination](https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
2033
|
+
#
|
2034
|
+
# @option opts [String] :sort_by The field to sort by. You can provide one sort order (`sortOrder`). Default order for
|
2035
|
+
# TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
|
2036
|
+
# sort order is case sensitive.
|
2037
|
+
#
|
2038
|
+
# **Note:** In general, some \"List\" operations (for example, `ListInstances`) let you
|
2039
|
+
# optionally filter by availability domain if the scope of the resource type is within a
|
2040
|
+
# single availability domain. If you call one of these \"List\" operations without specifying
|
2041
|
+
# an availability domain, the resources are grouped by availability domain, then sorted.
|
2042
|
+
#
|
2043
|
+
# Allowed values are: TIMECREATED, DISPLAYNAME
|
2044
|
+
# @option opts [String] :sort_order The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
|
2045
|
+
# is case sensitive.
|
2046
|
+
#
|
2047
|
+
# Allowed values are: ASC, DESC
|
2048
|
+
# @option opts [String] :listing_id A filter to return only the listings that matches the given listing id.
|
2049
|
+
#
|
2050
|
+
# @return [Response] A Response object with data of type Array<{OCI::Core::Models::AppCatalogSubscriptionSummary AppCatalogSubscriptionSummary}>
|
2051
|
+
def list_app_catalog_subscriptions(compartment_id, opts = {})
|
2052
|
+
logger.debug 'Calling operation ComputeClient#list_app_catalog_subscriptions.' if logger
|
2053
|
+
|
2054
|
+
raise "Missing the required parameter 'compartment_id' when calling list_app_catalog_subscriptions." if compartment_id.nil?
|
2055
|
+
|
2056
|
+
if opts[:sort_by] && !%w[TIMECREATED DISPLAYNAME].include?(opts[:sort_by])
|
2057
|
+
raise 'Invalid value for "sort_by", must be one of TIMECREATED, DISPLAYNAME.'
|
2058
|
+
end
|
2059
|
+
|
2060
|
+
if opts[:sort_order] && !%w[ASC DESC].include?(opts[:sort_order])
|
2061
|
+
raise 'Invalid value for "sort_order", must be one of ASC, DESC.'
|
2062
|
+
end
|
2063
|
+
|
2064
|
+
path = '/appCatalogSubscriptions'
|
2065
|
+
operation_signing_strategy = :standard
|
2066
|
+
|
2067
|
+
# rubocop:disable Style/NegatedIf
|
2068
|
+
# Query Params
|
2069
|
+
query_params = {}
|
2070
|
+
query_params[:compartmentId] = compartment_id
|
2071
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
2072
|
+
query_params[:page] = opts[:page] if opts[:page]
|
2073
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
2074
|
+
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
2075
|
+
query_params[:listingId] = opts[:listing_id] if opts[:listing_id]
|
2076
|
+
|
2077
|
+
# Header Params
|
2078
|
+
header_params = {}
|
2079
|
+
header_params[:accept] = 'application/json'
|
2080
|
+
header_params[:'content-type'] = 'application/json'
|
2081
|
+
# rubocop:enable Style/NegatedIf
|
2082
|
+
|
2083
|
+
post_body = nil
|
2084
|
+
|
2085
|
+
# rubocop:disable Metrics/BlockLength
|
2086
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ComputeClient#list_app_catalog_subscriptions') do
|
2087
|
+
@api_client.call_api(
|
2088
|
+
:GET,
|
2089
|
+
path,
|
2090
|
+
endpoint,
|
2091
|
+
header_params: header_params,
|
2092
|
+
query_params: query_params,
|
2093
|
+
operation_signing_strategy: operation_signing_strategy,
|
2094
|
+
body: post_body,
|
2095
|
+
return_type: 'Array<OCI::Core::Models::AppCatalogSubscriptionSummary>'
|
2096
|
+
)
|
2097
|
+
end
|
2098
|
+
# rubocop:enable Metrics/BlockLength
|
2099
|
+
end
|
2100
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2101
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
2102
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
2103
|
+
|
2104
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
2105
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
2106
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
2107
|
+
|
2108
|
+
|
1587
2109
|
# Lists the boot volume attachments in the specified compartment. You can filter the
|
1588
2110
|
# list by specifying an instance OCID, boot volume OCID, or both.
|
1589
2111
|
#
|
@@ -1595,11 +2117,15 @@ module OCI
|
|
1595
2117
|
# @param [Hash] opts the optional parameters
|
1596
2118
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1597
2119
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1598
|
-
# @option opts [Integer] :limit The maximum number of items to return in a paginated
|
2120
|
+
# @option opts [Integer] :limit For list pagination. The maximum number of results per page, or items to return in a paginated
|
2121
|
+
# \"List\" call. For important details about how pagination works, see
|
2122
|
+
# [List Pagination](https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
1599
2123
|
#
|
1600
|
-
# Example: `
|
2124
|
+
# Example: `50`
|
1601
2125
|
#
|
1602
|
-
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\"
|
2126
|
+
# @option opts [String] :page For list pagination. The value of the `opc-next-page` response header from the previous \"List\"
|
2127
|
+
# call. For important details about how pagination works, see
|
2128
|
+
# [List Pagination](https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
1603
2129
|
#
|
1604
2130
|
# @option opts [String] :instance_id The OCID of the instance.
|
1605
2131
|
# @option opts [String] :boot_volume_id The OCID of the boot volume.
|
@@ -1665,11 +2191,15 @@ module OCI
|
|
1665
2191
|
#
|
1666
2192
|
# Example: `Uocm:PHX-AD-1`
|
1667
2193
|
#
|
1668
|
-
# @option opts [Integer] :limit The maximum number of items to return in a paginated
|
2194
|
+
# @option opts [Integer] :limit For list pagination. The maximum number of results per page, or items to return in a paginated
|
2195
|
+
# \"List\" call. For important details about how pagination works, see
|
2196
|
+
# [List Pagination](https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
1669
2197
|
#
|
1670
|
-
# Example: `
|
2198
|
+
# Example: `50`
|
1671
2199
|
#
|
1672
|
-
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\"
|
2200
|
+
# @option opts [String] :page For list pagination. The value of the `opc-next-page` response header from the previous \"List\"
|
2201
|
+
# call. For important details about how pagination works, see
|
2202
|
+
# [List Pagination](https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
1673
2203
|
#
|
1674
2204
|
# @option opts [String] :instance_id The OCID of the instance.
|
1675
2205
|
# @option opts [String] :sort_by The field to sort by. You can provide one sort order (`sortOrder`). Default order for
|
@@ -1776,11 +2306,15 @@ module OCI
|
|
1776
2306
|
# Example: `7.2`
|
1777
2307
|
#
|
1778
2308
|
# @option opts [String] :shape Shape name.
|
1779
|
-
# @option opts [Integer] :limit The maximum number of items to return in a paginated
|
2309
|
+
# @option opts [Integer] :limit For list pagination. The maximum number of results per page, or items to return in a paginated
|
2310
|
+
# \"List\" call. For important details about how pagination works, see
|
2311
|
+
# [List Pagination](https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
1780
2312
|
#
|
1781
|
-
# Example: `
|
2313
|
+
# Example: `50`
|
1782
2314
|
#
|
1783
|
-
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\"
|
2315
|
+
# @option opts [String] :page For list pagination. The value of the `opc-next-page` response header from the previous \"List\"
|
2316
|
+
# call. For important details about how pagination works, see
|
2317
|
+
# [List Pagination](https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
1784
2318
|
#
|
1785
2319
|
# @option opts [String] :sort_by The field to sort by. You can provide one sort order (`sortOrder`). Default order for
|
1786
2320
|
# TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
|
@@ -1874,11 +2408,15 @@ module OCI
|
|
1874
2408
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
1875
2409
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
1876
2410
|
# @option opts [String] :instance_id The OCID of the instance.
|
1877
|
-
# @option opts [Integer] :limit The maximum number of items to return in a paginated
|
2411
|
+
# @option opts [Integer] :limit For list pagination. The maximum number of results per page, or items to return in a paginated
|
2412
|
+
# \"List\" call. For important details about how pagination works, see
|
2413
|
+
# [List Pagination](https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
1878
2414
|
#
|
1879
|
-
# Example: `
|
2415
|
+
# Example: `50`
|
1880
2416
|
#
|
1881
|
-
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\"
|
2417
|
+
# @option opts [String] :page For list pagination. The value of the `opc-next-page` response header from the previous \"List\"
|
2418
|
+
# call. For important details about how pagination works, see
|
2419
|
+
# [List Pagination](https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
1882
2420
|
#
|
1883
2421
|
# @return [Response] A Response object with data of type Array<{OCI::Core::Models::InstanceConsoleConnection InstanceConsoleConnection}>
|
1884
2422
|
def list_instance_console_connections(compartment_id, opts = {})
|
@@ -1943,11 +2481,15 @@ module OCI
|
|
1943
2481
|
#
|
1944
2482
|
# @option opts [String] :display_name A filter to return only resources that match the given display name exactly.
|
1945
2483
|
#
|
1946
|
-
# @option opts [Integer] :limit The maximum number of items to return in a paginated
|
2484
|
+
# @option opts [Integer] :limit For list pagination. The maximum number of results per page, or items to return in a paginated
|
2485
|
+
# \"List\" call. For important details about how pagination works, see
|
2486
|
+
# [List Pagination](https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
1947
2487
|
#
|
1948
|
-
# Example: `
|
2488
|
+
# Example: `50`
|
1949
2489
|
#
|
1950
|
-
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\"
|
2490
|
+
# @option opts [String] :page For list pagination. The value of the `opc-next-page` response header from the previous \"List\"
|
2491
|
+
# call. For important details about how pagination works, see
|
2492
|
+
# [List Pagination](https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
1951
2493
|
#
|
1952
2494
|
# @option opts [String] :sort_by The field to sort by. You can provide one sort order (`sortOrder`). Default order for
|
1953
2495
|
# TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME
|
@@ -2041,11 +2583,15 @@ module OCI
|
|
2041
2583
|
#
|
2042
2584
|
# Example: `Uocm:PHX-AD-1`
|
2043
2585
|
#
|
2044
|
-
# @option opts [Integer] :limit The maximum number of items to return in a paginated
|
2586
|
+
# @option opts [Integer] :limit For list pagination. The maximum number of results per page, or items to return in a paginated
|
2587
|
+
# \"List\" call. For important details about how pagination works, see
|
2588
|
+
# [List Pagination](https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
2045
2589
|
#
|
2046
|
-
# Example: `
|
2590
|
+
# Example: `50`
|
2047
2591
|
#
|
2048
|
-
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\"
|
2592
|
+
# @option opts [String] :page For list pagination. The value of the `opc-next-page` response header from the previous \"List\"
|
2593
|
+
# call. For important details about how pagination works, see
|
2594
|
+
# [List Pagination](https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
2049
2595
|
#
|
2050
2596
|
# @option opts [String] :image_id The OCID of an image.
|
2051
2597
|
# @return [Response] A Response object with data of type Array<{OCI::Core::Models::Shape Shape}>
|
@@ -2111,11 +2657,15 @@ module OCI
|
|
2111
2657
|
# Example: `Uocm:PHX-AD-1`
|
2112
2658
|
#
|
2113
2659
|
# @option opts [String] :instance_id The OCID of the instance.
|
2114
|
-
# @option opts [Integer] :limit The maximum number of items to return in a paginated
|
2660
|
+
# @option opts [Integer] :limit For list pagination. The maximum number of results per page, or items to return in a paginated
|
2661
|
+
# \"List\" call. For important details about how pagination works, see
|
2662
|
+
# [List Pagination](https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
2115
2663
|
#
|
2116
|
-
# Example: `
|
2664
|
+
# Example: `50`
|
2117
2665
|
#
|
2118
|
-
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\"
|
2666
|
+
# @option opts [String] :page For list pagination. The value of the `opc-next-page` response header from the previous \"List\"
|
2667
|
+
# call. For important details about how pagination works, see
|
2668
|
+
# [List Pagination](https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
2119
2669
|
#
|
2120
2670
|
# @option opts [String] :vnic_id The OCID of the VNIC.
|
2121
2671
|
# @return [Response] A Response object with data of type Array<{OCI::Core::Models::VnicAttachment VnicAttachment}>
|
@@ -2183,11 +2733,15 @@ module OCI
|
|
2183
2733
|
#
|
2184
2734
|
# Example: `Uocm:PHX-AD-1`
|
2185
2735
|
#
|
2186
|
-
# @option opts [Integer] :limit The maximum number of items to return in a paginated
|
2736
|
+
# @option opts [Integer] :limit For list pagination. The maximum number of results per page, or items to return in a paginated
|
2737
|
+
# \"List\" call. For important details about how pagination works, see
|
2738
|
+
# [List Pagination](https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
2187
2739
|
#
|
2188
|
-
# Example: `
|
2740
|
+
# Example: `50`
|
2189
2741
|
#
|
2190
|
-
# @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\"
|
2742
|
+
# @option opts [String] :page For list pagination. The value of the `opc-next-page` response header from the previous \"List\"
|
2743
|
+
# call. For important details about how pagination works, see
|
2744
|
+
# [List Pagination](https://docs.us-phoenix-1.oraclecloud.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
2191
2745
|
#
|
2192
2746
|
# @option opts [String] :instance_id The OCID of the instance.
|
2193
2747
|
# @option opts [String] :volume_id The OCID of the volume.
|