oci 2.4.2 → 2.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (101) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/oci/core/models/attach_paravirtualized_volume_details.rb +21 -4
  4. data/lib/oci/core/models/boot_volume_attachment.rb +18 -4
  5. data/lib/oci/core/models/create_drg_attachment_details.rb +3 -0
  6. data/lib/oci/core/models/create_local_peering_gateway_details.rb +3 -0
  7. data/lib/oci/core/models/cross_connect_mapping.rb +8 -8
  8. data/lib/oci/core/models/dhcp_dns_option.rb +1 -1
  9. data/lib/oci/core/models/drg_attachment.rb +4 -1
  10. data/lib/oci/core/models/i_scsi_volume_attachment.rb +5 -1
  11. data/lib/oci/core/models/launch_instance_details.rb +18 -4
  12. data/lib/oci/core/models/launch_options.rb +18 -4
  13. data/lib/oci/core/models/local_peering_gateway.rb +4 -1
  14. data/lib/oci/core/models/paravirtualized_volume_attachment.rb +8 -4
  15. data/lib/oci/core/models/service.rb +1 -1
  16. data/lib/oci/core/models/update_drg_attachment_details.rb +4 -1
  17. data/lib/oci/core/models/update_local_peering_gateway_details.rb +4 -1
  18. data/lib/oci/core/models/volume_attachment.rb +18 -4
  19. data/lib/oci/core/models/volume_backup_schedule.rb +1 -1
  20. data/lib/oci/core/virtual_network_client.rb +1 -1
  21. data/lib/oci/database/database.rb +1 -0
  22. data/lib/oci/database/models/autonomous_data_warehouse.rb +132 -137
  23. data/lib/oci/database/models/autonomous_data_warehouse_backup.rb +77 -83
  24. data/lib/oci/database/models/autonomous_data_warehouse_backup_summary.rb +77 -77
  25. data/lib/oci/database/models/autonomous_data_warehouse_connection_strings.rb +22 -22
  26. data/lib/oci/database/models/autonomous_data_warehouse_summary.rb +133 -133
  27. data/lib/oci/database/models/autonomous_database.rb +132 -137
  28. data/lib/oci/database/models/autonomous_database_backup.rb +77 -83
  29. data/lib/oci/database/models/autonomous_database_backup_summary.rb +77 -77
  30. data/lib/oci/database/models/autonomous_database_connection_strings.rb +22 -22
  31. data/lib/oci/database/models/autonomous_database_summary.rb +133 -133
  32. data/lib/oci/database/models/backup.rb +102 -109
  33. data/lib/oci/database/models/backup_summary.rb +101 -101
  34. data/lib/oci/database/models/complete_external_backup_job_details.rb +39 -39
  35. data/lib/oci/database/models/create_autonomous_data_warehouse_backup_details.rb +18 -18
  36. data/lib/oci/database/models/create_autonomous_data_warehouse_details.rb +52 -52
  37. data/lib/oci/database/models/create_autonomous_database_backup_details.rb +18 -18
  38. data/lib/oci/database/models/create_autonomous_database_details.rb +52 -52
  39. data/lib/oci/database/models/create_data_guard_association_details.rb +22 -22
  40. data/lib/oci/database/models/create_data_guard_association_to_existing_db_system_details.rb +5 -5
  41. data/lib/oci/database/models/create_data_guard_association_with_new_db_system_details.rb +218 -0
  42. data/lib/oci/database/models/create_database_details.rb +62 -62
  43. data/lib/oci/database/models/create_database_from_backup_details.rb +18 -18
  44. data/lib/oci/database/models/create_db_home_details.rb +21 -21
  45. data/lib/oci/database/models/create_db_home_from_backup_details.rb +14 -14
  46. data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +14 -14
  47. data/lib/oci/database/models/create_external_backup_job_details.rb +80 -80
  48. data/lib/oci/database/models/data_guard_association.rb +132 -144
  49. data/lib/oci/database/models/data_guard_association_summary.rb +131 -131
  50. data/lib/oci/database/models/database.rb +100 -108
  51. data/lib/oci/database/models/database_summary.rb +99 -99
  52. data/lib/oci/database/models/db_home.rb +39 -51
  53. data/lib/oci/database/models/db_home_summary.rb +39 -39
  54. data/lib/oci/database/models/db_node.rb +50 -58
  55. data/lib/oci/database/models/db_node_summary.rb +49 -49
  56. data/lib/oci/database/models/db_system.rb +295 -300
  57. data/lib/oci/database/models/db_system_shape_summary.rb +46 -46
  58. data/lib/oci/database/models/db_system_summary.rb +295 -280
  59. data/lib/oci/database/models/db_version_summary.rb +28 -14
  60. data/lib/oci/database/models/external_backup_job.rb +34 -34
  61. data/lib/oci/database/models/generate_autonomous_data_warehouse_wallet_details.rb +1 -1
  62. data/lib/oci/database/models/generate_autonomous_database_wallet_details.rb +1 -1
  63. data/lib/oci/database/models/launch_db_system_base.rb +160 -145
  64. data/lib/oci/database/models/launch_db_system_details.rb +59 -55
  65. data/lib/oci/database/models/launch_db_system_from_backup_details.rb +59 -55
  66. data/lib/oci/database/models/patch.rb +45 -53
  67. data/lib/oci/database/models/patch_details.rb +14 -14
  68. data/lib/oci/database/models/patch_history_entry.rb +48 -51
  69. data/lib/oci/database/models/patch_history_entry_summary.rb +47 -47
  70. data/lib/oci/database/models/patch_summary.rb +44 -44
  71. data/lib/oci/database/models/restore_database_details.rb +15 -15
  72. data/lib/oci/database/models/update_autonomous_data_warehouse_details.rb +36 -36
  73. data/lib/oci/database/models/update_autonomous_database_details.rb +36 -36
  74. data/lib/oci/database/models/update_database_details.rb +22 -22
  75. data/lib/oci/database/models/update_db_system_details.rb +38 -38
  76. data/lib/oci/dns/dns.rb +1 -0
  77. data/lib/oci/dns/dns_client.rb +14 -13
  78. data/lib/oci/dns/models/create_zone_details.rb +39 -2
  79. data/lib/oci/dns/models/external_master.rb +3 -1
  80. data/lib/oci/dns/models/nameserver.rb +149 -0
  81. data/lib/oci/dns/models/record.rb +3 -1
  82. data/lib/oci/dns/models/record_details.rb +3 -1
  83. data/lib/oci/dns/models/record_operation.rb +3 -1
  84. data/lib/oci/dns/models/tsig.rb +3 -2
  85. data/lib/oci/dns/models/update_zone_details.rb +40 -2
  86. data/lib/oci/dns/models/zone.rb +54 -6
  87. data/lib/oci/dns/models/zone_summary.rb +79 -5
  88. data/lib/oci/identity/identity.rb +4 -0
  89. data/lib/oci/identity/identity_client.rb +176 -0
  90. data/lib/oci/identity/identity_client_composite_operations.rb +40 -0
  91. data/lib/oci/identity/models/create_saml2_identity_provider_details.rb +20 -4
  92. data/lib/oci/identity/models/identity_provider_group_summary.rb +226 -0
  93. data/lib/oci/identity/models/saml2_identity_provider.rb +20 -4
  94. data/lib/oci/identity/models/scim_client_credentials.rb +168 -0
  95. data/lib/oci/identity/models/update_saml2_identity_provider_details.rb +20 -4
  96. data/lib/oci/identity/models/update_user_capabilities_details.rb +214 -0
  97. data/lib/oci/identity/models/user.rb +42 -4
  98. data/lib/oci/identity/models/user_capabilities.rb +209 -0
  99. data/lib/oci/regions.rb +10 -9
  100. data/lib/oci/version.rb +1 -1
  101. metadata +8 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c540db2d59f168706fd0419eede5da8c1d45dc9150b77da8d8325ad53fb47495
4
- data.tar.gz: 6c44cf54a1dada0fe102b0e4fc0262f7cf5a3cb51463dfcc4106725017ae23db
3
+ metadata.gz: 061bfac9ceaf92d1ac6deb9c8fed9b38a2e50912760043face59a49f9240856d
4
+ data.tar.gz: a8bdf3d458fa5e5179e1295620edaa8570d92304d3caaf9692c66f20687596f1
5
5
  SHA512:
6
- metadata.gz: 5c4f4ee4b3eb2754e946d66f3154b18e0b40a0690a1002dfe5393c73ed6da1f56fded5edca4db906a0636392da52352211638cec1d8cb9150b0bc1e2d9565540
7
- data.tar.gz: f19c66c15aea0a4b765dba3e9ef24cbbc93a4cd41aa55cfe591bba3f82acf9184a35077599dfb9e58da932d387ad06cbdfac77228c42716609ad2d5d9e6b7d7e
6
+ metadata.gz: '0794be28d5ac12dbc94d611b700bb59e3522811cb27d103d4170b8f13e30bcdc3d04a1b547129eda215a596ce9f92bee1da909848ed89c0a237f802d3e3ac001'
7
+ data.tar.gz: 49f4e4f482268a17b8593796f694e0ccc1931baad4749a2364e139c1516739cda94c42a78d85df22b1bdee45fab3b0d629e4ea62a26e1ea97147c2ef8f6e3a21
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # Oracle Cloud Infrastructure Ruby SDK
2
- **Version 2.4.2**
2
+ **Version 2.4.3**
3
3
 
4
4
  This topic describes how to install, configure, and use the Oracle Cloud Infrastructure Ruby SDK.
5
5
 
@@ -7,6 +7,10 @@ require_relative 'attach_volume_details'
7
7
  module OCI
8
8
  # AttachParavirtualizedVolumeDetails model.
9
9
  class Core::Models::AttachParavirtualizedVolumeDetails < Core::Models::AttachVolumeDetails # rubocop:disable Metrics/LineLength
10
+ # Whether to enable encryption in transit for the PV data volume attachment. Defaults to false.
11
+ # @return [BOOLEAN]
12
+ attr_accessor :is_pv_encryption_in_transit_enabled
13
+
10
14
  # Attribute mapping from ruby-style variable name to JSON key.
11
15
  def self.attribute_map
12
16
  {
@@ -15,7 +19,8 @@ module OCI
15
19
  'instance_id': :'instanceId',
16
20
  'is_read_only': :'isReadOnly',
17
21
  'type': :'type',
18
- 'volume_id': :'volumeId'
22
+ 'volume_id': :'volumeId',
23
+ 'is_pv_encryption_in_transit_enabled': :'isPvEncryptionInTransitEnabled'
19
24
  # rubocop:enable Style/SymbolLiteral
20
25
  }
21
26
  end
@@ -28,7 +33,8 @@ module OCI
28
33
  'instance_id': :'String',
29
34
  'is_read_only': :'BOOLEAN',
30
35
  'type': :'String',
31
- 'volume_id': :'String'
36
+ 'volume_id': :'String',
37
+ 'is_pv_encryption_in_transit_enabled': :'BOOLEAN'
32
38
  # rubocop:enable Style/SymbolLiteral
33
39
  }
34
40
  end
@@ -43,12 +49,22 @@ module OCI
43
49
  # @option attributes [String] :instance_id The value to assign to the {OCI::Core::Models::AttachVolumeDetails#instance_id #instance_id} proprety
44
50
  # @option attributes [BOOLEAN] :is_read_only The value to assign to the {OCI::Core::Models::AttachVolumeDetails#is_read_only #is_read_only} proprety
45
51
  # @option attributes [String] :volume_id The value to assign to the {OCI::Core::Models::AttachVolumeDetails#volume_id #volume_id} proprety
52
+ # @option attributes [BOOLEAN] :is_pv_encryption_in_transit_enabled The value to assign to the {#is_pv_encryption_in_transit_enabled} property
46
53
  def initialize(attributes = {})
47
54
  return unless attributes.is_a?(Hash)
48
55
 
49
56
  attributes['type'] = 'paravirtualized'
50
57
 
51
58
  super(attributes)
59
+
60
+ # convert string to symbol for hash key
61
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
62
+
63
+ self.is_pv_encryption_in_transit_enabled = attributes[:'isPvEncryptionInTransitEnabled'] unless attributes[:'isPvEncryptionInTransitEnabled'].nil?
64
+
65
+ raise 'You cannot provide both :isPvEncryptionInTransitEnabled and :is_pv_encryption_in_transit_enabled' if attributes.key?(:'isPvEncryptionInTransitEnabled') && attributes.key?(:'is_pv_encryption_in_transit_enabled')
66
+
67
+ self.is_pv_encryption_in_transit_enabled = attributes[:'is_pv_encryption_in_transit_enabled'] unless attributes[:'is_pv_encryption_in_transit_enabled'].nil?
52
68
  end
53
69
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
54
70
  # rubocop:enable Metrics/LineLength, Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
@@ -66,7 +82,8 @@ module OCI
66
82
  instance_id == other.instance_id &&
67
83
  is_read_only == other.is_read_only &&
68
84
  type == other.type &&
69
- volume_id == other.volume_id
85
+ volume_id == other.volume_id &&
86
+ is_pv_encryption_in_transit_enabled == other.is_pv_encryption_in_transit_enabled
70
87
  end
71
88
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/LineLength, Layout/EmptyLines
72
89
 
@@ -82,7 +99,7 @@ module OCI
82
99
  # Calculates hash code according to all attributes.
83
100
  # @return [Fixnum] Hash code
84
101
  def hash
85
- [display_name, instance_id, is_read_only, type, volume_id].hash
102
+ [display_name, instance_id, is_read_only, type, volume_id, is_pv_encryption_in_transit_enabled].hash
86
103
  end
87
104
  # rubocop:enable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
88
105
 
@@ -61,6 +61,10 @@ module OCI
61
61
  # @return [DateTime]
62
62
  attr_accessor :time_created
63
63
 
64
+ # Whether the enable encryption in transit for the PV volume attachment is on or not.
65
+ # @return [BOOLEAN]
66
+ attr_accessor :is_pv_encryption_in_transit_enabled
67
+
64
68
  # Attribute mapping from ruby-style variable name to JSON key.
65
69
  def self.attribute_map
66
70
  {
@@ -72,7 +76,8 @@ module OCI
72
76
  'id': :'id',
73
77
  'instance_id': :'instanceId',
74
78
  'lifecycle_state': :'lifecycleState',
75
- 'time_created': :'timeCreated'
79
+ 'time_created': :'timeCreated',
80
+ 'is_pv_encryption_in_transit_enabled': :'isPvEncryptionInTransitEnabled'
76
81
  # rubocop:enable Style/SymbolLiteral
77
82
  }
78
83
  end
@@ -88,7 +93,8 @@ module OCI
88
93
  'id': :'String',
89
94
  'instance_id': :'String',
90
95
  'lifecycle_state': :'String',
91
- 'time_created': :'DateTime'
96
+ 'time_created': :'DateTime',
97
+ 'is_pv_encryption_in_transit_enabled': :'BOOLEAN'
92
98
  # rubocop:enable Style/SymbolLiteral
93
99
  }
94
100
  end
@@ -107,6 +113,7 @@ module OCI
107
113
  # @option attributes [String] :instance_id The value to assign to the {#instance_id} property
108
114
  # @option attributes [String] :lifecycle_state The value to assign to the {#lifecycle_state} property
109
115
  # @option attributes [DateTime] :time_created The value to assign to the {#time_created} property
116
+ # @option attributes [BOOLEAN] :is_pv_encryption_in_transit_enabled The value to assign to the {#is_pv_encryption_in_transit_enabled} property
110
117
  def initialize(attributes = {})
111
118
  return unless attributes.is_a?(Hash)
112
119
 
@@ -156,6 +163,12 @@ module OCI
156
163
  raise 'You cannot provide both :timeCreated and :time_created' if attributes.key?(:'timeCreated') && attributes.key?(:'time_created')
157
164
 
158
165
  self.time_created = attributes[:'time_created'] if attributes[:'time_created']
166
+
167
+ self.is_pv_encryption_in_transit_enabled = attributes[:'isPvEncryptionInTransitEnabled'] unless attributes[:'isPvEncryptionInTransitEnabled'].nil?
168
+
169
+ raise 'You cannot provide both :isPvEncryptionInTransitEnabled and :is_pv_encryption_in_transit_enabled' if attributes.key?(:'isPvEncryptionInTransitEnabled') && attributes.key?(:'is_pv_encryption_in_transit_enabled')
170
+
171
+ self.is_pv_encryption_in_transit_enabled = attributes[:'is_pv_encryption_in_transit_enabled'] unless attributes[:'is_pv_encryption_in_transit_enabled'].nil?
159
172
  end
160
173
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
161
174
  # rubocop:enable Metrics/LineLength, Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
@@ -191,7 +204,8 @@ module OCI
191
204
  id == other.id &&
192
205
  instance_id == other.instance_id &&
193
206
  lifecycle_state == other.lifecycle_state &&
194
- time_created == other.time_created
207
+ time_created == other.time_created &&
208
+ is_pv_encryption_in_transit_enabled == other.is_pv_encryption_in_transit_enabled
195
209
  end
196
210
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/LineLength, Layout/EmptyLines
197
211
 
@@ -207,7 +221,7 @@ module OCI
207
221
  # Calculates hash code according to all attributes.
208
222
  # @return [Fixnum] Hash code
209
223
  def hash
210
- [availability_domain, boot_volume_id, compartment_id, display_name, id, instance_id, lifecycle_state, time_created].hash
224
+ [availability_domain, boot_volume_id, compartment_id, display_name, id, instance_id, lifecycle_state, time_created, is_pv_encryption_in_transit_enabled].hash
211
225
  end
212
226
  # rubocop:enable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
213
227
 
@@ -20,6 +20,9 @@ module OCI
20
20
  # table. The Networking service does NOT automatically associate the attached VCN's default route table
21
21
  # with the DRG attachment.
22
22
  #
23
+ # For information about why you would associate a route table with a DRG attachment, see
24
+ # [Advanced Scenario: Transit Routing](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Tasks/transitrouting.htm).
25
+ #
23
26
  # @return [String]
24
27
  attr_accessor :route_table_id
25
28
 
@@ -39,6 +39,9 @@ module OCI
39
39
  # table. The Networking service does NOT automatically associate the attached VCN's default route table
40
40
  # with the LPG.
41
41
  #
42
+ # For information about why you would associate a route table with an LPG, see
43
+ # [Advanced Scenario: Transit Routing](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Tasks/transitrouting.htm).
44
+ #
42
45
  # @return [String]
43
46
  attr_accessor :route_table_id
44
47
 
@@ -16,7 +16,7 @@ module OCI
16
16
  # If you're a customer who is colocated with Oracle, that means you own both
17
17
  # the virtual circuit and the physical connection it runs on (cross-connect or
18
18
  # cross-connect group), so you specify all the information in the mapping. There's
19
- # one exception: for a public virtual circuit, Oracle specifies the BGP IP
19
+ # one exception: for a public virtual circuit, Oracle specifies the BGP IPv4
20
20
  # addresses.
21
21
  #
22
22
  # If you're a provider, then you own the physical connection that the customer's
@@ -28,7 +28,7 @@ module OCI
28
28
  # the provider also specifies the BGP peering information. If the BGP session instead
29
29
  # goes from Oracle to the customer's edge router, then the customer specifies the BGP
30
30
  # peering information. There's one exception: for a public virtual circuit, Oracle
31
- # specifies the BGP IP addresses.
31
+ # specifies the BGP IPv4 addresses.
32
32
  #
33
33
  class Core::Models::CrossConnectMapping # rubocop:disable Metrics/LineLength
34
34
  # The key for BGP MD5 authentication. Only applicable if your system
@@ -46,25 +46,25 @@ module OCI
46
46
  # @return [String]
47
47
  attr_accessor :cross_connect_or_cross_connect_group_id
48
48
 
49
- # The BGP IP address for the router on the other end of the BGP session from
49
+ # The BGP IPv4 address for the router on the other end of the BGP session from
50
50
  # Oracle. Specified by the owner of that router. If the session goes from Oracle
51
- # to a customer, this is the BGP IP address of the customer's edge router. If the
52
- # session goes from Oracle to a provider, this is the BGP IP address of the
51
+ # to a customer, this is the BGP IPv4 address of the customer's edge router. If the
52
+ # session goes from Oracle to a provider, this is the BGP IPv4 address of the
53
53
  # provider's edge router. Must use a /30 or /31 subnet mask.
54
54
  #
55
- # There's one exception: for a public virtual circuit, Oracle specifies the BGP IP addresses.
55
+ # There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 addresses.
56
56
  #
57
57
  # Example: `10.0.0.18/31`
58
58
  #
59
59
  # @return [String]
60
60
  attr_accessor :customer_bgp_peering_ip
61
61
 
62
- # The IP address for Oracle's end of the BGP session. Must use a /30 or /31
62
+ # The IPv4 address for Oracle's end of the BGP session. Must use a /30 or /31
63
63
  # subnet mask. If the session goes from Oracle to a customer's edge router,
64
64
  # the customer specifies this information. If the session goes from Oracle to
65
65
  # a provider's edge router, the provider specifies this.
66
66
  #
67
- # There's one exception: for a public virtual circuit, Oracle specifies the BGP IP addresses.
67
+ # There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 addresses.
68
68
  #
69
69
  # Example: `10.0.0.19/31`
70
70
  #
@@ -19,7 +19,7 @@ module OCI
19
19
  ].freeze
20
20
 
21
21
  # If you set `serverType` to `CustomDnsServer`, specify the
22
- # IP address of at least one DNS server of your choice (three maximum). gd
22
+ # IP address of at least one DNS server of your choice (three maximum).
23
23
  #
24
24
  # @return [Array<String>]
25
25
  attr_accessor :custom_dns_servers
@@ -42,7 +42,10 @@ module OCI
42
42
  # @return [String]
43
43
  attr_reader :lifecycle_state
44
44
 
45
- # The OCID of the route table the DRG attachment is using.
45
+ # The OCID of the route table the DRG attachment is using. For information about why you
46
+ # would associate a route table with a DRG attachment, see
47
+ # [Advanced Scenario: Transit Routing](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Tasks/transitrouting.htm).
48
+ #
46
49
  # @return [String]
47
50
  attr_accessor :route_table_id
48
51
 
@@ -57,6 +57,7 @@ module OCI
57
57
  'lifecycle_state': :'lifecycleState',
58
58
  'time_created': :'timeCreated',
59
59
  'volume_id': :'volumeId',
60
+ 'is_pv_encryption_in_transit_enabled': :'isPvEncryptionInTransitEnabled',
60
61
  'chap_secret': :'chapSecret',
61
62
  'chap_username': :'chapUsername',
62
63
  'ipv4': :'ipv4',
@@ -80,6 +81,7 @@ module OCI
80
81
  'lifecycle_state': :'String',
81
82
  'time_created': :'DateTime',
82
83
  'volume_id': :'String',
84
+ 'is_pv_encryption_in_transit_enabled': :'BOOLEAN',
83
85
  'chap_secret': :'String',
84
86
  'chap_username': :'String',
85
87
  'ipv4': :'String',
@@ -104,6 +106,7 @@ module OCI
104
106
  # @option attributes [String] :lifecycle_state The value to assign to the {OCI::Core::Models::VolumeAttachment#lifecycle_state #lifecycle_state} proprety
105
107
  # @option attributes [DateTime] :time_created The value to assign to the {OCI::Core::Models::VolumeAttachment#time_created #time_created} proprety
106
108
  # @option attributes [String] :volume_id The value to assign to the {OCI::Core::Models::VolumeAttachment#volume_id #volume_id} proprety
109
+ # @option attributes [BOOLEAN] :is_pv_encryption_in_transit_enabled The value to assign to the {OCI::Core::Models::VolumeAttachment#is_pv_encryption_in_transit_enabled #is_pv_encryption_in_transit_enabled} proprety
107
110
  # @option attributes [String] :chap_secret The value to assign to the {#chap_secret} property
108
111
  # @option attributes [String] :chap_username The value to assign to the {#chap_username} property
109
112
  # @option attributes [String] :ipv4 The value to assign to the {#ipv4} property
@@ -159,6 +162,7 @@ module OCI
159
162
  lifecycle_state == other.lifecycle_state &&
160
163
  time_created == other.time_created &&
161
164
  volume_id == other.volume_id &&
165
+ is_pv_encryption_in_transit_enabled == other.is_pv_encryption_in_transit_enabled &&
162
166
  chap_secret == other.chap_secret &&
163
167
  chap_username == other.chap_username &&
164
168
  ipv4 == other.ipv4 &&
@@ -179,7 +183,7 @@ module OCI
179
183
  # Calculates hash code according to all attributes.
180
184
  # @return [Fixnum] Hash code
181
185
  def hash
182
- [attachment_type, availability_domain, compartment_id, display_name, id, instance_id, is_read_only, lifecycle_state, time_created, volume_id, chap_secret, chap_username, ipv4, iqn, port].hash
186
+ [attachment_type, availability_domain, compartment_id, display_name, id, instance_id, is_read_only, lifecycle_state, time_created, volume_id, is_pv_encryption_in_transit_enabled, chap_secret, chap_username, ipv4, iqn, port].hash
183
187
  end
184
188
  # rubocop:enable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
185
189
 
@@ -199,6 +199,10 @@ module OCI
199
199
  # @return [String]
200
200
  attr_accessor :subnet_id
201
201
 
202
+ # Whether to enable encryption in transit for the PV boot volume attachment. Defaults to false.
203
+ # @return [BOOLEAN]
204
+ attr_accessor :is_pv_encryption_in_transit_enabled
205
+
202
206
  # Attribute mapping from ruby-style variable name to JSON key.
203
207
  def self.attribute_map
204
208
  {
@@ -217,7 +221,8 @@ module OCI
217
221
  'metadata': :'metadata',
218
222
  'shape': :'shape',
219
223
  'source_details': :'sourceDetails',
220
- 'subnet_id': :'subnetId'
224
+ 'subnet_id': :'subnetId',
225
+ 'is_pv_encryption_in_transit_enabled': :'isPvEncryptionInTransitEnabled'
221
226
  # rubocop:enable Style/SymbolLiteral
222
227
  }
223
228
  end
@@ -240,7 +245,8 @@ module OCI
240
245
  'metadata': :'Hash<String, String>',
241
246
  'shape': :'String',
242
247
  'source_details': :'OCI::Core::Models::InstanceSourceDetails',
243
- 'subnet_id': :'String'
248
+ 'subnet_id': :'String',
249
+ 'is_pv_encryption_in_transit_enabled': :'BOOLEAN'
244
250
  # rubocop:enable Style/SymbolLiteral
245
251
  }
246
252
  end
@@ -266,6 +272,7 @@ module OCI
266
272
  # @option attributes [String] :shape The value to assign to the {#shape} property
267
273
  # @option attributes [OCI::Core::Models::InstanceSourceDetails] :source_details The value to assign to the {#source_details} property
268
274
  # @option attributes [String] :subnet_id The value to assign to the {#subnet_id} property
275
+ # @option attributes [BOOLEAN] :is_pv_encryption_in_transit_enabled The value to assign to the {#is_pv_encryption_in_transit_enabled} property
269
276
  def initialize(attributes = {})
270
277
  return unless attributes.is_a?(Hash)
271
278
 
@@ -353,6 +360,12 @@ module OCI
353
360
  raise 'You cannot provide both :subnetId and :subnet_id' if attributes.key?(:'subnetId') && attributes.key?(:'subnet_id')
354
361
 
355
362
  self.subnet_id = attributes[:'subnet_id'] if attributes[:'subnet_id']
363
+
364
+ self.is_pv_encryption_in_transit_enabled = attributes[:'isPvEncryptionInTransitEnabled'] unless attributes[:'isPvEncryptionInTransitEnabled'].nil?
365
+
366
+ raise 'You cannot provide both :isPvEncryptionInTransitEnabled and :is_pv_encryption_in_transit_enabled' if attributes.key?(:'isPvEncryptionInTransitEnabled') && attributes.key?(:'is_pv_encryption_in_transit_enabled')
367
+
368
+ self.is_pv_encryption_in_transit_enabled = attributes[:'is_pv_encryption_in_transit_enabled'] unless attributes[:'is_pv_encryption_in_transit_enabled'].nil?
356
369
  end
357
370
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
358
371
  # rubocop:enable Metrics/LineLength, Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
@@ -380,7 +393,8 @@ module OCI
380
393
  metadata == other.metadata &&
381
394
  shape == other.shape &&
382
395
  source_details == other.source_details &&
383
- subnet_id == other.subnet_id
396
+ subnet_id == other.subnet_id &&
397
+ is_pv_encryption_in_transit_enabled == other.is_pv_encryption_in_transit_enabled
384
398
  end
385
399
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/LineLength, Layout/EmptyLines
386
400
 
@@ -396,7 +410,7 @@ module OCI
396
410
  # Calculates hash code according to all attributes.
397
411
  # @return [Fixnum] Hash code
398
412
  def hash
399
- [availability_domain, compartment_id, create_vnic_details, defined_tags, display_name, extended_metadata, fault_domain, freeform_tags, hostname_label, image_id, ipxe_script, metadata, shape, source_details, subnet_id].hash
413
+ [availability_domain, compartment_id, create_vnic_details, defined_tags, display_name, extended_metadata, fault_domain, freeform_tags, hostname_label, image_id, ipxe_script, metadata, shape, source_details, subnet_id, is_pv_encryption_in_transit_enabled].hash
400
414
  end
401
415
  # rubocop:enable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
402
416
 
@@ -80,6 +80,10 @@ module OCI
80
80
  # @return [String]
81
81
  attr_reader :remote_data_volume_type
82
82
 
83
+ # Whether to enable encryption in transit for the PV boot volume attachment. Defaults to false.
84
+ # @return [BOOLEAN]
85
+ attr_accessor :is_pv_encryption_in_transit_enabled
86
+
83
87
  # Attribute mapping from ruby-style variable name to JSON key.
84
88
  def self.attribute_map
85
89
  {
@@ -87,7 +91,8 @@ module OCI
87
91
  'boot_volume_type': :'bootVolumeType',
88
92
  'firmware': :'firmware',
89
93
  'network_type': :'networkType',
90
- 'remote_data_volume_type': :'remoteDataVolumeType'
94
+ 'remote_data_volume_type': :'remoteDataVolumeType',
95
+ 'is_pv_encryption_in_transit_enabled': :'isPvEncryptionInTransitEnabled'
91
96
  # rubocop:enable Style/SymbolLiteral
92
97
  }
93
98
  end
@@ -99,7 +104,8 @@ module OCI
99
104
  'boot_volume_type': :'String',
100
105
  'firmware': :'String',
101
106
  'network_type': :'String',
102
- 'remote_data_volume_type': :'String'
107
+ 'remote_data_volume_type': :'String',
108
+ 'is_pv_encryption_in_transit_enabled': :'BOOLEAN'
103
109
  # rubocop:enable Style/SymbolLiteral
104
110
  }
105
111
  end
@@ -114,6 +120,7 @@ module OCI
114
120
  # @option attributes [String] :firmware The value to assign to the {#firmware} property
115
121
  # @option attributes [String] :network_type The value to assign to the {#network_type} property
116
122
  # @option attributes [String] :remote_data_volume_type The value to assign to the {#remote_data_volume_type} property
123
+ # @option attributes [BOOLEAN] :is_pv_encryption_in_transit_enabled The value to assign to the {#is_pv_encryption_in_transit_enabled} property
117
124
  def initialize(attributes = {})
118
125
  return unless attributes.is_a?(Hash)
119
126
 
@@ -139,6 +146,12 @@ module OCI
139
146
  raise 'You cannot provide both :remoteDataVolumeType and :remote_data_volume_type' if attributes.key?(:'remoteDataVolumeType') && attributes.key?(:'remote_data_volume_type')
140
147
 
141
148
  self.remote_data_volume_type = attributes[:'remote_data_volume_type'] if attributes[:'remote_data_volume_type']
149
+
150
+ self.is_pv_encryption_in_transit_enabled = attributes[:'isPvEncryptionInTransitEnabled'] unless attributes[:'isPvEncryptionInTransitEnabled'].nil?
151
+
152
+ raise 'You cannot provide both :isPvEncryptionInTransitEnabled and :is_pv_encryption_in_transit_enabled' if attributes.key?(:'isPvEncryptionInTransitEnabled') && attributes.key?(:'is_pv_encryption_in_transit_enabled')
153
+
154
+ self.is_pv_encryption_in_transit_enabled = attributes[:'is_pv_encryption_in_transit_enabled'] unless attributes[:'is_pv_encryption_in_transit_enabled'].nil?
142
155
  end
143
156
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
144
157
  # rubocop:enable Metrics/LineLength, Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
@@ -215,7 +228,8 @@ module OCI
215
228
  boot_volume_type == other.boot_volume_type &&
216
229
  firmware == other.firmware &&
217
230
  network_type == other.network_type &&
218
- remote_data_volume_type == other.remote_data_volume_type
231
+ remote_data_volume_type == other.remote_data_volume_type &&
232
+ is_pv_encryption_in_transit_enabled == other.is_pv_encryption_in_transit_enabled
219
233
  end
220
234
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/LineLength, Layout/EmptyLines
221
235
 
@@ -231,7 +245,7 @@ module OCI
231
245
  # Calculates hash code according to all attributes.
232
246
  # @return [Fixnum] Hash code
233
247
  def hash
234
- [boot_volume_type, firmware, network_type, remote_data_volume_type].hash
248
+ [boot_volume_type, firmware, network_type, remote_data_volume_type, is_pv_encryption_in_transit_enabled].hash
235
249
  end
236
250
  # rubocop:enable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
237
251
 
@@ -108,7 +108,10 @@ module OCI
108
108
  # @return [String]
109
109
  attr_accessor :peering_status_details
110
110
 
111
- # The OCID of the route table the LPG is using.
111
+ # The OCID of the route table the LPG is using. For information about why you
112
+ # would associate a route table with an LPG, see
113
+ # [Advanced Scenario: Transit Routing](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Tasks/transitrouting.htm).
114
+ #
112
115
  # @return [String]
113
116
  attr_accessor :route_table_id
114
117
 
@@ -20,7 +20,8 @@ module OCI
20
20
  'is_read_only': :'isReadOnly',
21
21
  'lifecycle_state': :'lifecycleState',
22
22
  'time_created': :'timeCreated',
23
- 'volume_id': :'volumeId'
23
+ 'volume_id': :'volumeId',
24
+ 'is_pv_encryption_in_transit_enabled': :'isPvEncryptionInTransitEnabled'
24
25
  # rubocop:enable Style/SymbolLiteral
25
26
  }
26
27
  end
@@ -38,7 +39,8 @@ module OCI
38
39
  'is_read_only': :'BOOLEAN',
39
40
  'lifecycle_state': :'String',
40
41
  'time_created': :'DateTime',
41
- 'volume_id': :'String'
42
+ 'volume_id': :'String',
43
+ 'is_pv_encryption_in_transit_enabled': :'BOOLEAN'
42
44
  # rubocop:enable Style/SymbolLiteral
43
45
  }
44
46
  end
@@ -58,6 +60,7 @@ module OCI
58
60
  # @option attributes [String] :lifecycle_state The value to assign to the {OCI::Core::Models::VolumeAttachment#lifecycle_state #lifecycle_state} proprety
59
61
  # @option attributes [DateTime] :time_created The value to assign to the {OCI::Core::Models::VolumeAttachment#time_created #time_created} proprety
60
62
  # @option attributes [String] :volume_id The value to assign to the {OCI::Core::Models::VolumeAttachment#volume_id #volume_id} proprety
63
+ # @option attributes [BOOLEAN] :is_pv_encryption_in_transit_enabled The value to assign to the {OCI::Core::Models::VolumeAttachment#is_pv_encryption_in_transit_enabled #is_pv_encryption_in_transit_enabled} proprety
61
64
  def initialize(attributes = {})
62
65
  return unless attributes.is_a?(Hash)
63
66
 
@@ -86,7 +89,8 @@ module OCI
86
89
  is_read_only == other.is_read_only &&
87
90
  lifecycle_state == other.lifecycle_state &&
88
91
  time_created == other.time_created &&
89
- volume_id == other.volume_id
92
+ volume_id == other.volume_id &&
93
+ is_pv_encryption_in_transit_enabled == other.is_pv_encryption_in_transit_enabled
90
94
  end
91
95
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Metrics/LineLength, Layout/EmptyLines
92
96
 
@@ -102,7 +106,7 @@ module OCI
102
106
  # Calculates hash code according to all attributes.
103
107
  # @return [Fixnum] Hash code
104
108
  def hash
105
- [attachment_type, availability_domain, compartment_id, display_name, id, instance_id, is_read_only, lifecycle_state, time_created, volume_id].hash
109
+ [attachment_type, availability_domain, compartment_id, display_name, id, instance_id, is_read_only, lifecycle_state, time_created, volume_id, is_pv_encryption_in_transit_enabled].hash
106
110
  end
107
111
  # rubocop:enable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
108
112