oci 2.5.6 → 2.5.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/oci/core/compute_client.rb +2 -2
  4. data/lib/oci/core/compute_client_composite_operations.rb +1 -1
  5. data/lib/oci/core/compute_management_client.rb +1 -1
  6. data/lib/oci/core/models/attach_load_balancer_details.rb +2 -2
  7. data/lib/oci/core/models/create_ip_sec_connection_details.rb +58 -3
  8. data/lib/oci/core/models/create_subnet_details.rb +12 -1
  9. data/lib/oci/core/models/detach_load_balancer_details.rb +2 -2
  10. data/lib/oci/core/models/fast_connect_provider_service.rb +5 -1
  11. data/lib/oci/core/models/fast_connect_provider_service_key.rb +4 -1
  12. data/lib/oci/core/models/instance_agent_config.rb +2 -0
  13. data/lib/oci/core/models/instance_pool.rb +3 -3
  14. data/lib/oci/core/models/instance_pool_instance_load_balancer_backend.rb +1 -1
  15. data/lib/oci/core/models/instance_pool_load_balancer_attachment.rb +3 -3
  16. data/lib/oci/core/models/instance_pool_summary.rb +1 -1
  17. data/lib/oci/core/models/instance_summary.rb +2 -2
  18. data/lib/oci/core/models/ip_sec_connection.rb +64 -3
  19. data/lib/oci/core/models/launch_instance_agent_config_details.rb +2 -0
  20. data/lib/oci/core/models/private_ip.rb +2 -1
  21. data/lib/oci/core/models/subnet.rb +2 -1
  22. data/lib/oci/core/models/update_instance_agent_config_details.rb +2 -0
  23. data/lib/oci/core/models/update_instance_pool_details.rb +1 -1
  24. data/lib/oci/core/models/update_ip_sec_connection_details.rb +74 -4
  25. data/lib/oci/core/models/volume_backup_schedule.rb +1 -1
  26. data/lib/oci/core/virtual_network_client.rb +7 -3
  27. data/lib/oci/database/database_client.rb +15 -14
  28. data/lib/oci/database/models/autonomous_data_warehouse.rb +1 -1
  29. data/lib/oci/database/models/autonomous_data_warehouse_backup.rb +1 -1
  30. data/lib/oci/database/models/autonomous_data_warehouse_backup_summary.rb +1 -2
  31. data/lib/oci/database/models/autonomous_data_warehouse_connection_strings.rb +1 -1
  32. data/lib/oci/database/models/autonomous_data_warehouse_summary.rb +1 -1
  33. data/lib/oci/database/models/autonomous_database.rb +20 -5
  34. data/lib/oci/database/models/autonomous_database_summary.rb +20 -5
  35. data/lib/oci/database/models/create_autonomous_data_warehouse_backup_details.rb +1 -1
  36. data/lib/oci/database/models/create_autonomous_data_warehouse_details.rb +1 -1
  37. data/lib/oci/database/models/create_autonomous_database_base.rb +1 -1
  38. data/lib/oci/database/models/db_node.rb +1 -1
  39. data/lib/oci/database/models/db_node_summary.rb +1 -1
  40. data/lib/oci/database/models/db_system.rb +1 -1
  41. data/lib/oci/database/models/db_system_summary.rb +1 -1
  42. data/lib/oci/database/models/generate_autonomous_data_warehouse_wallet_details.rb +1 -1
  43. data/lib/oci/database/models/generate_autonomous_database_wallet_details.rb +1 -1
  44. data/lib/oci/database/models/launch_db_system_base.rb +9 -9
  45. data/lib/oci/database/models/restore_autonomous_data_warehouse_details.rb +1 -1
  46. data/lib/oci/database/models/update_autonomous_data_warehouse_details.rb +1 -1
  47. data/lib/oci/database/models/update_autonomous_database_details.rb +48 -4
  48. data/lib/oci/identity/identity_client.rb +12 -12
  49. data/lib/oci/identity/identity_client_composite_operations.rb +4 -4
  50. data/lib/oci/identity/models/create_dynamic_group_details.rb +38 -4
  51. data/lib/oci/identity/models/create_tag_default_details.rb +3 -3
  52. data/lib/oci/identity/models/dynamic_group.rb +38 -4
  53. data/lib/oci/identity/models/tag_default.rb +15 -10
  54. data/lib/oci/identity/models/tag_default_summary.rb +8 -8
  55. data/lib/oci/identity/models/update_dynamic_group_details.rb +38 -4
  56. data/lib/oci/identity/models/update_tag_default_details.rb +1 -1
  57. data/lib/oci/identity/models/update_user_details.rb +1 -1
  58. data/lib/oci/identity/models/user.rb +2 -2
  59. data/lib/oci/version.rb +1 -1
  60. metadata +2 -2
@@ -44,10 +44,12 @@ module OCI
44
44
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
45
45
 
46
46
  self.is_monitoring_disabled = attributes[:'isMonitoringDisabled'] unless attributes[:'isMonitoringDisabled'].nil?
47
+ self.is_monitoring_disabled = false if is_monitoring_disabled.nil? && !attributes.key?(:'isMonitoringDisabled') # rubocop:disable Style/StringLiterals
47
48
 
48
49
  raise 'You cannot provide both :isMonitoringDisabled and :is_monitoring_disabled' if attributes.key?(:'isMonitoringDisabled') && attributes.key?(:'is_monitoring_disabled')
49
50
 
50
51
  self.is_monitoring_disabled = attributes[:'is_monitoring_disabled'] unless attributes[:'is_monitoring_disabled'].nil?
52
+ self.is_monitoring_disabled = false if is_monitoring_disabled.nil? && !attributes.key?(:'isMonitoringDisabled') && !attributes.key?(:'is_monitoring_disabled') # rubocop:disable Style/StringLiterals
51
53
  end
52
54
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
53
55
  # rubocop:enable Metrics/LineLength, Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
@@ -36,7 +36,8 @@ module OCI
36
36
  # supply string values using the API.
37
37
  #
38
38
  class Core::Models::PrivateIp # rubocop:disable Metrics/LineLength
39
- # The private IP's availability domain.
39
+ # The private IP's availability domain. This attribute will be null if this is a *secondary*
40
+ # private IP assigned to a VNIC that is in a *regional* subnet.
40
41
  #
41
42
  # Example: `Uocm:PHX-AD-1`
42
43
  #
@@ -27,7 +27,8 @@ module OCI
27
27
  LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
28
28
  ].freeze
29
29
 
30
- # The subnet's availability domain.
30
+ # The subnet's availability domain. This attribute will be null if this is a regional subnet
31
+ # instead of an AD-specific subnet. Oracle recommends creating regional subnets.
31
32
  #
32
33
  # Example: `Uocm:PHX-AD-1`
33
34
  #
@@ -43,10 +43,12 @@ module OCI
43
43
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
44
44
 
45
45
  self.is_monitoring_disabled = attributes[:'isMonitoringDisabled'] unless attributes[:'isMonitoringDisabled'].nil?
46
+ self.is_monitoring_disabled = false if is_monitoring_disabled.nil? && !attributes.key?(:'isMonitoringDisabled') # rubocop:disable Style/StringLiterals
46
47
 
47
48
  raise 'You cannot provide both :isMonitoringDisabled and :is_monitoring_disabled' if attributes.key?(:'isMonitoringDisabled') && attributes.key?(:'is_monitoring_disabled')
48
49
 
49
50
  self.is_monitoring_disabled = attributes[:'is_monitoring_disabled'] unless attributes[:'is_monitoring_disabled'].nil?
51
+ self.is_monitoring_disabled = false if is_monitoring_disabled.nil? && !attributes.key?(:'isMonitoringDisabled') && !attributes.key?(:'is_monitoring_disabled') # rubocop:disable Style/StringLiterals
50
52
  end
51
53
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
52
54
  # rubocop:enable Metrics/LineLength, Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
@@ -27,7 +27,7 @@ module OCI
27
27
  # @return [Hash<String, String>]
28
28
  attr_accessor :freeform_tags
29
29
 
30
- # The OCID of the instance configuration associated to the intance pool.
30
+ # The OCID of the instance configuration associated with the instance pool.
31
31
  # @return [String]
32
32
  attr_accessor :instance_configuration_id
33
33
 
@@ -6,6 +6,11 @@ require 'date'
6
6
  module OCI
7
7
  # UpdateIPSecConnectionDetails model.
8
8
  class Core::Models::UpdateIPSecConnectionDetails # rubocop:disable Metrics/LineLength
9
+ CPE_LOCAL_IDENTIFIER_TYPE_ENUM = [
10
+ CPE_LOCAL_IDENTIFIER_TYPE_IP_ADDRESS = 'IP_ADDRESS'.freeze,
11
+ CPE_LOCAL_IDENTIFIER_TYPE_HOSTNAME = 'HOSTNAME'.freeze
12
+ ].freeze
13
+
9
14
  # Defined tags for this resource. Each key is predefined and scoped to a namespace.
10
15
  # For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
11
16
  #
@@ -29,13 +34,41 @@ module OCI
29
34
  # @return [Hash<String, String>]
30
35
  attr_accessor :freeform_tags
31
36
 
37
+ # Your identifier for your CPE device. Can be either an IP address or a hostname (specifically, the
38
+ # fully qualified domain name (FQDN)). The type of identifier you provide here must correspond
39
+ # to the value for `cpeLocalIdentifierType`.
40
+ #
41
+ # Example IP address: `10.0.3.3`
42
+ #
43
+ # Example hostname: `cpe.example.com`
44
+ #
45
+ # @return [String]
46
+ attr_accessor :cpe_local_identifier
47
+
48
+ # The type of identifier for your CPE device. The value you provide here must correspond to the value
49
+ # for `cpeLocalIdentifier`.
50
+ #
51
+ # @return [String]
52
+ attr_reader :cpe_local_identifier_type
53
+
54
+ # Static routes to the CPE. If you provide this attribute, it replaces the entire current set of
55
+ # static routes. A static route's CIDR must not be a multicast address or class E address.
56
+ #
57
+ # Example: `10.0.1.0/24`
58
+ #
59
+ # @return [Array<String>]
60
+ attr_accessor :static_routes
61
+
32
62
  # Attribute mapping from ruby-style variable name to JSON key.
33
63
  def self.attribute_map
34
64
  {
35
65
  # rubocop:disable Style/SymbolLiteral
36
66
  'defined_tags': :'definedTags',
37
67
  'display_name': :'displayName',
38
- 'freeform_tags': :'freeformTags'
68
+ 'freeform_tags': :'freeformTags',
69
+ 'cpe_local_identifier': :'cpeLocalIdentifier',
70
+ 'cpe_local_identifier_type': :'cpeLocalIdentifierType',
71
+ 'static_routes': :'staticRoutes'
39
72
  # rubocop:enable Style/SymbolLiteral
40
73
  }
41
74
  end
@@ -46,7 +79,10 @@ module OCI
46
79
  # rubocop:disable Style/SymbolLiteral
47
80
  'defined_tags': :'Hash<String, Hash<String, Object>>',
48
81
  'display_name': :'String',
49
- 'freeform_tags': :'Hash<String, String>'
82
+ 'freeform_tags': :'Hash<String, String>',
83
+ 'cpe_local_identifier': :'String',
84
+ 'cpe_local_identifier_type': :'String',
85
+ 'static_routes': :'Array<String>'
50
86
  # rubocop:enable Style/SymbolLiteral
51
87
  }
52
88
  end
@@ -60,6 +96,9 @@ module OCI
60
96
  # @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
61
97
  # @option attributes [String] :display_name The value to assign to the {#display_name} property
62
98
  # @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
99
+ # @option attributes [String] :cpe_local_identifier The value to assign to the {#cpe_local_identifier} property
100
+ # @option attributes [String] :cpe_local_identifier_type The value to assign to the {#cpe_local_identifier_type} property
101
+ # @option attributes [Array<String>] :static_routes The value to assign to the {#static_routes} property
63
102
  def initialize(attributes = {})
64
103
  return unless attributes.is_a?(Hash)
65
104
 
@@ -83,10 +122,38 @@ module OCI
83
122
  raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
84
123
 
85
124
  self.freeform_tags = attributes[:'freeform_tags'] if attributes[:'freeform_tags']
125
+
126
+ self.cpe_local_identifier = attributes[:'cpeLocalIdentifier'] if attributes[:'cpeLocalIdentifier']
127
+
128
+ raise 'You cannot provide both :cpeLocalIdentifier and :cpe_local_identifier' if attributes.key?(:'cpeLocalIdentifier') && attributes.key?(:'cpe_local_identifier')
129
+
130
+ self.cpe_local_identifier = attributes[:'cpe_local_identifier'] if attributes[:'cpe_local_identifier']
131
+
132
+ self.cpe_local_identifier_type = attributes[:'cpeLocalIdentifierType'] if attributes[:'cpeLocalIdentifierType']
133
+
134
+ raise 'You cannot provide both :cpeLocalIdentifierType and :cpe_local_identifier_type' if attributes.key?(:'cpeLocalIdentifierType') && attributes.key?(:'cpe_local_identifier_type')
135
+
136
+ self.cpe_local_identifier_type = attributes[:'cpe_local_identifier_type'] if attributes[:'cpe_local_identifier_type']
137
+
138
+ self.static_routes = attributes[:'staticRoutes'] if attributes[:'staticRoutes']
139
+
140
+ raise 'You cannot provide both :staticRoutes and :static_routes' if attributes.key?(:'staticRoutes') && attributes.key?(:'static_routes')
141
+
142
+ self.static_routes = attributes[:'static_routes'] if attributes[:'static_routes']
86
143
  end
87
144
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
88
145
  # rubocop:enable Metrics/LineLength, Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
89
146
 
147
+ # Custom attribute writer method checking allowed values (enum).
148
+ # @param [Object] cpe_local_identifier_type Object to be assigned
149
+ def cpe_local_identifier_type=(cpe_local_identifier_type)
150
+ # rubocop: disable Metrics/LineLength
151
+ raise "Invalid value for 'cpe_local_identifier_type': this must be one of the values in CPE_LOCAL_IDENTIFIER_TYPE_ENUM." if cpe_local_identifier_type && !CPE_LOCAL_IDENTIFIER_TYPE_ENUM.include?(cpe_local_identifier_type)
152
+
153
+ # rubocop: enable Metrics/LineLength
154
+ @cpe_local_identifier_type = cpe_local_identifier_type
155
+ end
156
+
90
157
  # rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/LineLength, Layout/EmptyLines
91
158
 
92
159
 
@@ -98,7 +165,10 @@ module OCI
98
165
  self.class == other.class &&
99
166
  defined_tags == other.defined_tags &&
100
167
  display_name == other.display_name &&
101
- freeform_tags == other.freeform_tags
168
+ freeform_tags == other.freeform_tags &&
169
+ cpe_local_identifier == other.cpe_local_identifier &&
170
+ cpe_local_identifier_type == other.cpe_local_identifier_type &&
171
+ static_routes == other.static_routes
102
172
  end
103
173
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/LineLength, Layout/EmptyLines
104
174
 
@@ -114,7 +184,7 @@ module OCI
114
184
  # Calculates hash code according to all attributes.
115
185
  # @return [Fixnum] Hash code
116
186
  def hash
117
- [defined_tags, display_name, freeform_tags].hash
187
+ [defined_tags, display_name, freeform_tags, cpe_local_identifier, cpe_local_identifier_type, static_routes].hash
118
188
  end
119
189
  # rubocop:enable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
120
190
 
@@ -26,7 +26,7 @@ module OCI
26
26
  # @return [String]
27
27
  attr_reader :backup_type
28
28
 
29
- # **[Required]** The number of seconds (positive or negative) that the backup time should be shifted from the default interval boundaries specified by the period. Backup time = Frequency start time + Offset.
29
+ # **[Required]** The number of seconds that the backup time should be shifted from the default interval boundaries specified by the period. Backup time = Frequency start time + Offset.
30
30
  # @return [Integer]
31
31
  attr_accessor :offset_seconds
32
32
 
@@ -3488,10 +3488,15 @@ module OCI
3488
3488
  # rubocop:disable Lint/UnusedMethodArgument
3489
3489
 
3490
3490
 
3491
- # Gets the specified provider service key's information.
3491
+ # Gets the specified provider service key's information. Use this operation to validate a
3492
+ # provider service key. An invalid key returns a 404 error.
3492
3493
  #
3493
3494
  # @param [String] provider_service_id The OCID of the provider service.
3494
- # @param [String] provider_service_key_name The provider service key name.
3495
+ # @param [String] provider_service_key_name The provider service key that the provider gives you when you set up a virtual circuit connection
3496
+ # from the provider to Oracle Cloud Infrastructure. You can set up that connection and get your
3497
+ # provider service key at the provider's website or portal. For the portal location, see the `description`
3498
+ # attribute of the {FastConnectProviderService}.
3499
+ #
3495
3500
  # @param [Hash] opts the optional parameters
3496
3501
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
3497
3502
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
@@ -5778,7 +5783,6 @@ module OCI
5778
5783
  # [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
5779
5784
  #
5780
5785
  # @option opts [String] :ip_address An IP address.
5781
- #
5782
5786
  # Example: `10.0.3.3`
5783
5787
  #
5784
5788
  # @option opts [String] :subnet_id The OCID of the subnet.
@@ -177,7 +177,7 @@ module OCI
177
177
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
178
178
 
179
179
 
180
- # Creates a new Autonomous Data Warehouse.
180
+ # **Deprecated.** To create a new Autonomous Data Warehouse, use the {#create_autonomous_database create_autonomous_database} operation and specify `DW` as the workload type.
181
181
  #
182
182
  # @param [OCI::Database::Models::CreateAutonomousDataWarehouseDetails] create_autonomous_data_warehouse_details Request to create a new Autonomous Data Warehouse.
183
183
  # @param [Hash] opts the optional parameters
@@ -236,7 +236,7 @@ module OCI
236
236
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
237
237
 
238
238
 
239
- # Creates a new Autonomous Data Warehouse backup for the specified database based on the provided request parameters.
239
+ # **Deprecated.** To create a new Autonomous Data Warehouse backup for a specified database, use the {#create_autonomous_database_backup create_autonomous_database_backup} operation.
240
240
  #
241
241
  # @param [OCI::Database::Models::CreateAutonomousDataWarehouseBackupDetails] create_autonomous_data_warehouse_backup_details Request to create a new Autonomous Data Warehouse backup.
242
242
  # @param [Hash] opts the optional parameters
@@ -751,7 +751,7 @@ module OCI
751
751
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
752
752
 
753
753
 
754
- # Deletes the specified Autonomous Data Warehouse.
754
+ # **Deprecated.** To delete an Autonomous Data Warehouse, use the {#delete_autonomous_database delete_autonomous_database} operation.
755
755
  #
756
756
  # @param [String] autonomous_data_warehouse_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
757
757
  # @param [Hash] opts the optional parameters
@@ -1045,7 +1045,7 @@ module OCI
1045
1045
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1046
1046
 
1047
1047
 
1048
- # Creates and downloads a wallet for the specified Autonomous Data Warehouse.
1048
+ # **Deprecated.** To create and download a wallet for an Autonomous Data Warehouse, use the {#generate_autonomous_database_wallet generate_autonomous_database_wallet} operation.
1049
1049
  #
1050
1050
  # @param [String] autonomous_data_warehouse_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
1051
1051
  # @param [OCI::Database::Models::GenerateAutonomousDataWarehouseWalletDetails] generate_autonomous_data_warehouse_wallet_details Request to create a new Autonomous Data Warehouse wallet.
@@ -1156,10 +1156,10 @@ module OCI
1156
1156
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
1157
1157
 
1158
1158
 
1159
- # Creates and downloads a wallet for the specified Autonomous Transaction Processing database.
1159
+ # Creates and downloads a wallet for the specified Autonomous Database.
1160
1160
  #
1161
1161
  # @param [String] autonomous_database_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
1162
- # @param [OCI::Database::Models::GenerateAutonomousDatabaseWalletDetails] generate_autonomous_database_wallet_details Request to create a new Autonomous Transaction Processing database wallet.
1162
+ # @param [OCI::Database::Models::GenerateAutonomousDatabaseWalletDetails] generate_autonomous_database_wallet_details Request to create a new Autonomous Database wallet.
1163
1163
  # @param [Hash] opts the optional parameters
1164
1164
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
1165
1165
  # retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
@@ -1268,7 +1268,7 @@ module OCI
1268
1268
  # rubocop:disable Lint/UnusedMethodArgument
1269
1269
 
1270
1270
 
1271
- # Gets the details of the specified Autonomous Data Warehouse.
1271
+ # **Deprecated.** To get the details of an Autonomous Data Warehouse, use the {#get_autonomous_database get_autonomous_database} operation.
1272
1272
  #
1273
1273
  # @param [String] autonomous_data_warehouse_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
1274
1274
  # @param [Hash] opts the optional parameters
@@ -1322,7 +1322,8 @@ module OCI
1322
1322
  # rubocop:disable Lint/UnusedMethodArgument
1323
1323
 
1324
1324
 
1325
- # Gets information about the specified Autonomous Data Warehouse backup.
1325
+ # **Deprecated.** To get information about a specified Autonomous Data Warehouse backup, use the {#get_autonomous_database_backup get_autonomous_database_backup} operation.
1326
+ #
1326
1327
  # @param [String] autonomous_data_warehouse_backup_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Autonomous Data Warehouse backup.
1327
1328
  # @param [Hash] opts the optional parameters
1328
1329
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
@@ -2209,7 +2210,7 @@ module OCI
2209
2210
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2210
2211
 
2211
2212
 
2212
- # Gets a list of Autonomous Data Warehouse backups based on either the `autonomousDataWarehouseId` or `compartmentId` specified as a query parameter.
2213
+ # **Deprecated.** To get a list of Autonomous Data Warehouse backups, use the {#list_autonomous_database_backups list_autonomous_database_backups} operation.
2213
2214
  #
2214
2215
  # @param [Hash] opts the optional parameters
2215
2216
  # @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
@@ -2291,7 +2292,7 @@ module OCI
2291
2292
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
2292
2293
 
2293
2294
 
2294
- # Gets a list of Autonomous Data Warehouses.
2295
+ # **Deprecated.** To get a list of Autonomous Data Warehouses, use the {#list_autonomous_databases list_autonomous_databases} operation and specify `DW` as the workload type.
2295
2296
  #
2296
2297
  # @param [String] compartment_id The compartment [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
2297
2298
  # @param [Hash] opts the optional parameters
@@ -3390,7 +3391,7 @@ module OCI
3390
3391
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
3391
3392
 
3392
3393
 
3393
- # Restores an Autonomous Data Warehouse based on the provided request parameters.
3394
+ # **Deprecated.** To restore an Autonomous Data Warehouse, use the {#restore_autonomous_database restore_autonomous_database} operation.
3394
3395
  #
3395
3396
  # @param [String] autonomous_data_warehouse_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
3396
3397
  # @param [OCI::Database::Models::RestoreAutonomousDataWarehouseDetails] restore_autonomous_data_warehouse_details Request to perform an Autonomous Data Warehouse restore.
@@ -3567,7 +3568,7 @@ module OCI
3567
3568
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
3568
3569
 
3569
3570
 
3570
- # Starts the specified autonomous Data Warehouse.
3571
+ # **Deprecated.** To start an Autonomous Data Warehouse, use the {#start_autonomous_database start_autonomous_database} operation.
3571
3572
  #
3572
3573
  # @param [String] autonomous_data_warehouse_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
3573
3574
  # @param [Hash] opts the optional parameters
@@ -3681,7 +3682,7 @@ module OCI
3681
3682
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
3682
3683
 
3683
3684
 
3684
- # Stops the specified Autonomous Data Warehouse.
3685
+ # **Deprecated.** To stop an Autonomous Data Warehouse, use the {#stop_autonomous_database stop_autonomous_database} operation.
3685
3686
  #
3686
3687
  # @param [String] autonomous_data_warehouse_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
3687
3688
  # @param [Hash] opts the optional parameters
@@ -3918,7 +3919,7 @@ module OCI
3918
3919
  # rubocop:disable Metrics/MethodLength, Layout/EmptyLines
3919
3920
 
3920
3921
 
3921
- # Updates the specified Autonomous Data Warehouse with a new CPU core count and size.
3922
+ # **Deprecated.** To update the CPU core count and storage size of an Autonomous Data Warehouse, use the {#update_autonomous_database update_autonomous_database} operation.
3922
3923
  #
3923
3924
  # @param [String] autonomous_data_warehouse_id The database [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
3924
3925
  # @param [OCI::Database::Models::UpdateAutonomousDataWarehouseDetails] update_autonomous_data_warehouse_details Request to update the properties of an Autonomous Data Warehouse.
@@ -5,7 +5,7 @@ require 'logger'
5
5
 
6
6
  # rubocop:disable Lint/UnneededCopDisableDirective
7
7
  module OCI
8
- # An Oracle Autonomous Data Warehouse.
8
+ # **Deprecated.** See {AutonomousDatabase} for reference information about Autonomous Databases with the warehouse workload type.
9
9
  #
10
10
  class Database::Models::AutonomousDataWarehouse # rubocop:disable Metrics/LineLength
11
11
  LIFECYCLE_STATE_ENUM = [
@@ -5,7 +5,7 @@ require 'logger'
5
5
 
6
6
  # rubocop:disable Lint/UnneededCopDisableDirective
7
7
  module OCI
8
- # An Autonomous Data Warehouse backup.
8
+ # **Deprecated.** See {AutonomousDatabaseBackup} for reference information about Autonomous Data Warehouse backups.
9
9
  #
10
10
  class Database::Models::AutonomousDataWarehouseBackup # rubocop:disable Metrics/LineLength
11
11
  TYPE_ENUM = [
@@ -5,8 +5,7 @@ require 'logger'
5
5
 
6
6
  # rubocop:disable Lint/UnneededCopDisableDirective
7
7
  module OCI
8
- # An Autonomous Data Warehouse backup.
9
- # To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see [Getting Started with Policies](https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).
8
+ # **Deprecated.** See {#autonomous_data_warehouse_backup_summary autonomous_data_warehouse_backup_summary} for reference information about Autonomous Data Warehouse backups.
10
9
  #
11
10
  # **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
12
11
  #
@@ -4,7 +4,7 @@ require 'date'
4
4
 
5
5
  # rubocop:disable Lint/UnneededCopDisableDirective
6
6
  module OCI
7
- # Connection strings to connect to an Oracle Autonomous Data Warehouse.
7
+ # **Deprecated.** For information about connection strings to connect to an Oracle Autonomous Data Warehouse, see {#autonomous_database_connection_strings autonomous_database_connection_strings}.
8
8
  #
9
9
  class Database::Models::AutonomousDataWarehouseConnectionStrings # rubocop:disable Metrics/LineLength
10
10
  # The High database service provides the highest level of resources to each SQL statement resulting in the highest performance, but supports the fewest number of concurrent SQL statements.
@@ -5,7 +5,7 @@ require 'logger'
5
5
 
6
6
  # rubocop:disable Lint/UnneededCopDisableDirective
7
7
  module OCI
8
- # An Oracle Autonomous Data Warehouse.
8
+ # **Deprecated.** See {#autonomous_database autonomous_database} for reference information about Autonomous Databases with the warehouse workload type.
9
9
  #
10
10
  # **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
11
11
  #
@@ -22,6 +22,7 @@ module OCI
22
22
  LIFECYCLE_STATE_BACKUP_IN_PROGRESS = 'BACKUP_IN_PROGRESS'.freeze,
23
23
  LIFECYCLE_STATE_SCALE_IN_PROGRESS = 'SCALE_IN_PROGRESS'.freeze,
24
24
  LIFECYCLE_STATE_AVAILABLE_NEEDS_ATTENTION = 'AVAILABLE_NEEDS_ATTENTION'.freeze,
25
+ LIFECYCLE_STATE_UPDATING = 'UPDATING'.freeze,
25
26
  LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
26
27
  ].freeze
27
28
 
@@ -110,10 +111,14 @@ module OCI
110
111
  # @return [String]
111
112
  attr_accessor :db_version
112
113
 
113
- # The Autonomous Database workload type.
114
+ # The Autonomous Database workload type. OLTP indicates an Autonomous Transaction Processing database and DW indicates an Autonomous Data Warehouse database.
114
115
  # @return [String]
115
116
  attr_reader :db_workload
116
117
 
118
+ # The client IP access control list (ACL). Only clients connecting from an IP address included in the ACL may access the Autonomous Database instance. This is an array of CIDR (Classless Inter-Domain Routing) notations for a subnet.
119
+ # @return [Array<String>]
120
+ attr_accessor :whitelisted_ips
121
+
117
122
  # Attribute mapping from ruby-style variable name to JSON key.
118
123
  def self.attribute_map
119
124
  {
@@ -134,7 +139,8 @@ module OCI
134
139
  'freeform_tags': :'freeformTags',
135
140
  'defined_tags': :'definedTags',
136
141
  'db_version': :'dbVersion',
137
- 'db_workload': :'dbWorkload'
142
+ 'db_workload': :'dbWorkload',
143
+ 'whitelisted_ips': :'whitelistedIps'
138
144
  # rubocop:enable Style/SymbolLiteral
139
145
  }
140
146
  end
@@ -159,7 +165,8 @@ module OCI
159
165
  'freeform_tags': :'Hash<String, String>',
160
166
  'defined_tags': :'Hash<String, Hash<String, Object>>',
161
167
  'db_version': :'String',
162
- 'db_workload': :'String'
168
+ 'db_workload': :'String',
169
+ 'whitelisted_ips': :'Array<String>'
163
170
  # rubocop:enable Style/SymbolLiteral
164
171
  }
165
172
  end
@@ -187,6 +194,7 @@ module OCI
187
194
  # @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
188
195
  # @option attributes [String] :db_version The value to assign to the {#db_version} property
189
196
  # @option attributes [String] :db_workload The value to assign to the {#db_workload} property
197
+ # @option attributes [Array<String>] :whitelisted_ips The value to assign to the {#whitelisted_ips} property
190
198
  def initialize(attributes = {})
191
199
  return unless attributes.is_a?(Hash)
192
200
 
@@ -287,6 +295,12 @@ module OCI
287
295
  raise 'You cannot provide both :dbWorkload and :db_workload' if attributes.key?(:'dbWorkload') && attributes.key?(:'db_workload')
288
296
 
289
297
  self.db_workload = attributes[:'db_workload'] if attributes[:'db_workload']
298
+
299
+ self.whitelisted_ips = attributes[:'whitelistedIps'] if attributes[:'whitelistedIps']
300
+
301
+ raise 'You cannot provide both :whitelistedIps and :whitelisted_ips' if attributes.key?(:'whitelistedIps') && attributes.key?(:'whitelisted_ips')
302
+
303
+ self.whitelisted_ips = attributes[:'whitelisted_ips'] if attributes[:'whitelisted_ips']
290
304
  end
291
305
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
292
306
  # rubocop:enable Metrics/LineLength, Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
@@ -361,7 +375,8 @@ module OCI
361
375
  freeform_tags == other.freeform_tags &&
362
376
  defined_tags == other.defined_tags &&
363
377
  db_version == other.db_version &&
364
- db_workload == other.db_workload
378
+ db_workload == other.db_workload &&
379
+ whitelisted_ips == other.whitelisted_ips
365
380
  end
366
381
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/LineLength, Layout/EmptyLines
367
382
 
@@ -377,7 +392,7 @@ module OCI
377
392
  # Calculates hash code according to all attributes.
378
393
  # @return [Fixnum] Hash code
379
394
  def hash
380
- [id, compartment_id, lifecycle_state, lifecycle_details, db_name, cpu_core_count, data_storage_size_in_tbs, time_created, display_name, service_console_url, connection_strings, license_model, used_data_storage_size_in_tbs, freeform_tags, defined_tags, db_version, db_workload].hash
395
+ [id, compartment_id, lifecycle_state, lifecycle_details, db_name, cpu_core_count, data_storage_size_in_tbs, time_created, display_name, service_console_url, connection_strings, license_model, used_data_storage_size_in_tbs, freeform_tags, defined_tags, db_version, db_workload, whitelisted_ips].hash
381
396
  end
382
397
  # rubocop:enable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
383
398