oci 2.3.5 → 2.3.6

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 +5 -5
  2. data/README.md +1 -1
  3. data/lib/oci/core/blockstorage_client.rb +23 -23
  4. data/lib/oci/core/compute_client.rb +26 -21
  5. data/lib/oci/core/models/boot_volume.rb +5 -2
  6. data/lib/oci/core/models/boot_volume_attachment.rb +4 -1
  7. data/lib/oci/core/models/boot_volume_backup.rb +3 -0
  8. data/lib/oci/core/models/console_history.rb +4 -1
  9. data/lib/oci/core/models/cpe.rb +4 -1
  10. data/lib/oci/core/models/create_boot_volume_details.rb +2 -2
  11. data/lib/oci/core/models/create_internet_gateway_details.rb +2 -2
  12. data/lib/oci/core/models/create_service_gateway_details.rb +2 -2
  13. data/lib/oci/core/models/create_subnet_details.rb +1 -1
  14. data/lib/oci/core/models/create_volume_details.rb +2 -2
  15. data/lib/oci/core/models/create_volume_group_details.rb +2 -2
  16. data/lib/oci/core/models/cross_connect.rb +3 -0
  17. data/lib/oci/core/models/cross_connect_group.rb +3 -0
  18. data/lib/oci/core/models/dhcp_dns_option.rb +7 -6
  19. data/lib/oci/core/models/dhcp_options.rb +3 -0
  20. data/lib/oci/core/models/drg.rb +4 -1
  21. data/lib/oci/core/models/drg_attachment.rb +3 -0
  22. data/lib/oci/core/models/image.rb +3 -0
  23. data/lib/oci/core/models/instance.rb +15 -7
  24. data/lib/oci/core/models/internet_gateway.rb +9 -6
  25. data/lib/oci/core/models/ip_sec_connection.rb +3 -0
  26. data/lib/oci/core/models/launch_instance_details.rb +9 -5
  27. data/lib/oci/core/models/local_peering_gateway.rb +3 -0
  28. data/lib/oci/core/models/private_ip.rb +4 -1
  29. data/lib/oci/core/models/public_ip.rb +8 -5
  30. data/lib/oci/core/models/remote_peering_connection.rb +3 -0
  31. data/lib/oci/core/models/route_table.rb +3 -0
  32. data/lib/oci/core/models/security_list.rb +3 -0
  33. data/lib/oci/core/models/service_gateway.rb +3 -0
  34. data/lib/oci/core/models/subnet.rb +5 -2
  35. data/lib/oci/core/models/update_instance_details.rb +46 -4
  36. data/lib/oci/core/models/vcn.rb +4 -1
  37. data/lib/oci/core/models/virtual_circuit.rb +3 -0
  38. data/lib/oci/core/models/vnic.rb +4 -1
  39. data/lib/oci/core/models/vnic_attachment.rb +4 -1
  40. data/lib/oci/core/models/volume.rb +5 -2
  41. data/lib/oci/core/models/volume_attachment.rb +4 -1
  42. data/lib/oci/core/models/volume_backup.rb +3 -0
  43. data/lib/oci/core/models/volume_backup_policy.rb +7 -1
  44. data/lib/oci/core/models/volume_group.rb +6 -1
  45. data/lib/oci/core/models/volume_group_backup.rb +3 -0
  46. data/lib/oci/core/virtual_network_client.rb +60 -60
  47. data/lib/oci/core/virtual_network_client_composite_operations.rb +4 -4
  48. data/lib/oci/database/database_client.rb +56 -60
  49. data/lib/oci/database/database_client_composite_operations.rb +6 -6
  50. data/lib/oci/database/models/autonomous_data_warehouse.rb +3 -1
  51. data/lib/oci/database/models/autonomous_data_warehouse_backup.rb +3 -1
  52. data/lib/oci/database/models/autonomous_data_warehouse_backup_summary.rb +3 -1
  53. data/lib/oci/database/models/autonomous_data_warehouse_summary.rb +3 -1
  54. data/lib/oci/database/models/autonomous_database.rb +3 -1
  55. data/lib/oci/database/models/autonomous_database_backup.rb +3 -1
  56. data/lib/oci/database/models/autonomous_database_backup_summary.rb +3 -1
  57. data/lib/oci/database/models/autonomous_database_summary.rb +3 -1
  58. data/lib/oci/database/models/backup.rb +11 -9
  59. data/lib/oci/database/models/backup_summary.rb +11 -9
  60. data/lib/oci/database/models/create_autonomous_data_warehouse_backup_details.rb +2 -0
  61. data/lib/oci/database/models/create_autonomous_data_warehouse_details.rb +3 -1
  62. data/lib/oci/database/models/create_autonomous_database_backup_details.rb +2 -0
  63. data/lib/oci/database/models/create_autonomous_database_details.rb +4 -2
  64. data/lib/oci/database/models/create_backup_details.rb +6 -3
  65. data/lib/oci/database/models/create_data_guard_association_to_existing_db_system_details.rb +1 -1
  66. data/lib/oci/database/models/create_database_details.rb +9 -6
  67. data/lib/oci/database/models/create_database_from_backup_details.rb +1 -1
  68. data/lib/oci/database/models/create_db_home_details.rb +5 -2
  69. data/lib/oci/database/models/create_db_home_from_backup_details.rb +4 -1
  70. data/lib/oci/database/models/create_db_home_with_db_system_id_base.rb +6 -5
  71. data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +1 -1
  72. data/lib/oci/database/models/data_guard_association.rb +1 -1
  73. data/lib/oci/database/models/data_guard_association_summary.rb +1 -1
  74. data/lib/oci/database/models/database.rb +8 -6
  75. data/lib/oci/database/models/database_summary.rb +8 -6
  76. data/lib/oci/database/models/db_home.rb +11 -10
  77. data/lib/oci/database/models/db_home_summary.rb +11 -10
  78. data/lib/oci/database/models/db_node.rb +10 -8
  79. data/lib/oci/database/models/db_node_summary.rb +10 -8
  80. data/lib/oci/database/models/db_system.rb +46 -42
  81. data/lib/oci/database/models/db_system_shape_summary.rb +4 -4
  82. data/lib/oci/database/models/db_system_summary.rb +46 -42
  83. data/lib/oci/database/models/db_version_summary.rb +2 -2
  84. data/lib/oci/database/models/failover_data_guard_association_details.rb +1 -1
  85. data/lib/oci/database/models/launch_db_system_base.rb +38 -27
  86. data/lib/oci/database/models/launch_db_system_details.rb +6 -6
  87. data/lib/oci/database/models/launch_db_system_from_backup_details.rb +8 -8
  88. data/lib/oci/database/models/patch.rb +2 -2
  89. data/lib/oci/database/models/patch_details.rb +2 -2
  90. data/lib/oci/database/models/patch_history_entry.rb +2 -2
  91. data/lib/oci/database/models/patch_history_entry_summary.rb +2 -2
  92. data/lib/oci/database/models/patch_summary.rb +2 -2
  93. data/lib/oci/database/models/reinstate_data_guard_association_details.rb +1 -1
  94. data/lib/oci/database/models/switchover_data_guard_association_details.rb +1 -1
  95. data/lib/oci/database/models/update_autonomous_data_warehouse_details.rb +4 -2
  96. data/lib/oci/database/models/update_autonomous_database_details.rb +4 -2
  97. data/lib/oci/database/models/update_database_details.rb +4 -1
  98. data/lib/oci/database/models/update_db_home_details.rb +1 -1
  99. data/lib/oci/database/models/update_db_system_details.rb +6 -4
  100. data/lib/oci/version.rb +1 -1
  101. metadata +3 -4
@@ -6,7 +6,7 @@ require 'date'
6
6
  module OCI
7
7
  # CreateVolumeGroupDetails model.
8
8
  class Core::Models::CreateVolumeGroupDetails # rubocop:disable Metrics/LineLength
9
- # **[Required]** The Availability Domain of the volume group.
9
+ # **[Required]** The availability domain of the volume group.
10
10
  # @return [String]
11
11
  attr_accessor :availability_domain
12
12
 
@@ -36,7 +36,7 @@ module OCI
36
36
  attr_accessor :freeform_tags
37
37
 
38
38
  # **[Required]** Specifies the volume group source details for a new volume group. The volume source is either another a list of
39
- # volume ids in the same Availability Domain, another volume group or a volume group backup.
39
+ # volume ids in the same availability domain, another volume group or a volume group backup.
40
40
  #
41
41
  # @return [OCI::Core::Models::VolumeGroupSourceDetails]
42
42
  attr_accessor :source_details
@@ -22,6 +22,9 @@ module OCI
22
22
  # talk to an administrator. If you're an administrator who needs to write policies to give users access, see
23
23
  # [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
24
24
  #
25
+ # **Warning:** Oracle recommends that you avoid using any confidential information when you
26
+ # supply string values using the API.
27
+ #
25
28
  class Core::Models::CrossConnect # rubocop:disable Metrics/LineLength
26
29
  LIFECYCLE_STATE_ENUM = [
27
30
  LIFECYCLE_STATE_PENDING_CUSTOMER = 'PENDING_CUSTOMER'.freeze,
@@ -19,6 +19,9 @@ module OCI
19
19
  # talk to an administrator. If you're an administrator who needs to write policies to give users access, see
20
20
  # [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
21
21
  #
22
+ # **Warning:** Oracle recommends that you avoid using any confidential information when you
23
+ # supply string values using the API.
24
+ #
22
25
  class Core::Models::CrossConnectGroup # rubocop:disable Metrics/LineLength
23
26
  LIFECYCLE_STATE_ENUM = [
24
27
  LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING'.freeze,
@@ -18,16 +18,16 @@ module OCI
18
18
  SERVER_TYPE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
19
19
  ].freeze
20
20
 
21
- # If you set `serverType` to `CustomDnsServer`, specify the IP address
22
- # of at least one DNS server of your choice (three maximum).
21
+ # If you set `serverType` to `CustomDnsServer`, specify the
22
+ # IP address of at least one DNS server of your choice (three maximum). gd
23
23
  #
24
24
  # @return [Array<String>]
25
25
  attr_accessor :custom_dns_servers
26
26
 
27
- # **[Required]** - **VcnLocal:** Reserved for future use.
27
+ # **[Required]** * **VcnLocal:** Reserved for future use.
28
28
  #
29
- # - **VcnLocalPlusInternet:** Also referred to as \"Internet and VCN Resolver\".
30
- # Instances can resolve internet hostnames (no Internet Gateway is required),
29
+ # * **VcnLocalPlusInternet:** Also referred to as \"Internet and VCN Resolver\".
30
+ # Instances can resolve internet hostnames (no internet gateway is required),
31
31
  # and can resolve hostnames of instances in the VCN. This is the default
32
32
  # value in the default set of DHCP options in the VCN. For the Internet and
33
33
  # VCN Resolver to work across the VCN, there must also be a DNS label set for
@@ -37,7 +37,8 @@ module OCI
37
37
  # information, see
38
38
  # [DNS in Your Virtual Cloud Network](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Concepts/dns.htm).
39
39
  #
40
- # - **CustomDnsServer:** Instances use a DNS server of your choice (three maximum).
40
+ # * **CustomDnsServer:** Instances use a DNS server of your choice (three
41
+ # maximum).
41
42
  #
42
43
  # @return [String]
43
44
  attr_reader :server_type
@@ -21,6 +21,9 @@ module OCI
21
21
  # talk to an administrator. If you're an administrator who needs to write policies to give users access, see
22
22
  # [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
23
23
  #
24
+ # **Warning:** Oracle recommends that you avoid using any confidential information when you
25
+ # supply string values using the API.
26
+ #
24
27
  class Core::Models::DhcpOptions # rubocop:disable Metrics/LineLength
25
28
  LIFECYCLE_STATE_ENUM = [
26
29
  LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING'.freeze,
@@ -5,7 +5,7 @@ require 'logger'
5
5
 
6
6
  # rubocop:disable Lint/UnneededCopDisableDirective
7
7
  module OCI
8
- # A Dynamic Routing Gateway (DRG), which is a virtual router that provides a path for private
8
+ # A dynamic routing gateway (DRG), which is a virtual router that provides a path for private
9
9
  # network traffic between your VCN and your existing network. You use it with other Networking
10
10
  # Service components to create an IPSec VPN or a connection that uses
11
11
  # Oracle Cloud Infrastructure FastConnect. For more information, see
@@ -15,6 +15,9 @@ module OCI
15
15
  # talk to an administrator. If you're an administrator who needs to write policies to give users access, see
16
16
  # [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
17
17
  #
18
+ # **Warning:** Oracle recommends that you avoid using any confidential information when you
19
+ # supply string values using the API.
20
+ #
18
21
  class Core::Models::Drg # rubocop:disable Metrics/LineLength
19
22
  LIFECYCLE_STATE_ENUM = [
20
23
  LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING'.freeze,
@@ -8,6 +8,9 @@ module OCI
8
8
  # A link between a DRG and VCN. For more information, see
9
9
  # [Overview of the Networking Service](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Concepts/overview.htm).
10
10
  #
11
+ # **Warning:** Oracle recommends that you avoid using any confidential information when you
12
+ # supply string values using the API.
13
+ #
11
14
  class Core::Models::DrgAttachment # rubocop:disable Metrics/LineLength
12
15
  LIFECYCLE_STATE_ENUM = [
13
16
  LIFECYCLE_STATE_ATTACHING = 'ATTACHING'.freeze,
@@ -12,6 +12,9 @@ module OCI
12
12
  # talk to an administrator. If you're an administrator who needs to write policies to give users access, see
13
13
  # [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
14
14
  #
15
+ # **Warning:** Oracle recommends that you avoid using any confidential information when you
16
+ # supply string values using the API.
17
+ #
15
18
  class Core::Models::Image # rubocop:disable Metrics/LineLength
16
19
  LAUNCH_MODE_ENUM = [
17
20
  LAUNCH_MODE_NATIVE = 'NATIVE'.freeze,
@@ -14,6 +14,9 @@ module OCI
14
14
  # talk to an administrator. If you're an administrator who needs to write policies to give users access, see
15
15
  # [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
16
16
  #
17
+ # **Warning:** Oracle recommends that you avoid using any confidential information when you
18
+ # supply string values using the API.
19
+ #
17
20
  class Core::Models::Instance # rubocop:disable Metrics/LineLength
18
21
  LAUNCH_MODE_ENUM = [
19
22
  LAUNCH_MODE_NATIVE = 'NATIVE'.freeze,
@@ -34,7 +37,7 @@ module OCI
34
37
  LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
35
38
  ].freeze
36
39
 
37
- # **[Required]** The Availability Domain the instance is running in.
40
+ # **[Required]** The availability domain the instance is running in.
38
41
  #
39
42
  # Example: `Uocm:PHX-AD-1`
40
43
  #
@@ -61,18 +64,23 @@ module OCI
61
64
  # @return [String]
62
65
  attr_accessor :display_name
63
66
 
64
- # Additional metadata key/value pairs that you provide. They serve a similar purpose and functionality from fields in the 'metadata' object.
67
+ # Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the 'metadata' object.
65
68
  #
66
69
  # They are distinguished from 'metadata' fields in that these can be nested JSON objects (whereas 'metadata' fields are string/string maps only).
67
70
  #
68
71
  # @return [Hash<String, Object>]
69
72
  attr_accessor :extended_metadata
70
73
 
71
- # The name of the Fault Domain the instance is running in.
74
+ # The name of the fault domain the instance is running in.
75
+ #
76
+ # A fault domain is a grouping of hardware and infrastructure within an availability domain.
77
+ # Each availability domain contains three fault domains. Fault domains let you distribute your
78
+ # instances so that they are not on the same physical hardware within a single availability domain.
79
+ # A hardware failure or Compute hardware maintenance that affects one fault domain does not affect
80
+ # instances in other fault domains.
72
81
  #
73
- # A Fault Domain is a logical grouping of hardware and infrastructure within an Availability Domain that can become
74
- # unavailable in its entirety either due to hardware failure such as Top-of-rack (TOR) switch failure or due to
75
- # planned software maintenance such as security updates that reboot your instances.
82
+ # If you do not specify the fault domain, the system selects one for you. To change the fault
83
+ # domain for an instance, terminate it and launch a new instance in the preferred fault domain.
76
84
  #
77
85
  # Example: `FAULT-DOMAIN-1`
78
86
  #
@@ -142,7 +150,7 @@ module OCI
142
150
  # @return [Hash<String, String>]
143
151
  attr_accessor :metadata
144
152
 
145
- # **[Required]** The region that contains the Availability Domain the instance is running in.
153
+ # **[Required]** The region that contains the availability domain the instance is running in.
146
154
  #
147
155
  # Example: `phx`
148
156
  #
@@ -6,13 +6,16 @@ require 'logger'
6
6
  # rubocop:disable Lint/UnneededCopDisableDirective
7
7
  module OCI
8
8
  # Represents a router that connects the edge of a VCN with the Internet. For an example scenario
9
- # that uses an Internet Gateway, see
9
+ # that uses an internet gateway, see
10
10
  # [Typical Networking Service Scenarios](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Concepts/overview.htm#scenarios).
11
11
  #
12
12
  # To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized,
13
13
  # talk to an administrator. If you're an administrator who needs to write policies to give users access, see
14
14
  # [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
15
15
  #
16
+ # **Warning:** Oracle recommends that you avoid using any confidential information when you
17
+ # supply string values using the API.
18
+ #
16
19
  class Core::Models::InternetGateway # rubocop:disable Metrics/LineLength
17
20
  LIFECYCLE_STATE_ENUM = [
18
21
  LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING'.freeze,
@@ -22,7 +25,7 @@ module OCI
22
25
  LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
23
26
  ].freeze
24
27
 
25
- # **[Required]** The OCID of the compartment containing the Internet Gateway.
28
+ # **[Required]** The OCID of the compartment containing the internet gateway.
26
29
  # @return [String]
27
30
  attr_accessor :compartment_id
28
31
 
@@ -49,7 +52,7 @@ module OCI
49
52
  # @return [Hash<String, String>]
50
53
  attr_accessor :freeform_tags
51
54
 
52
- # **[Required]** The Internet Gateway's Oracle ID (OCID).
55
+ # **[Required]** The internet gateway's Oracle ID (OCID).
53
56
  # @return [String]
54
57
  attr_accessor :id
55
58
 
@@ -59,18 +62,18 @@ module OCI
59
62
  # @return [BOOLEAN]
60
63
  attr_accessor :is_enabled
61
64
 
62
- # **[Required]** The Internet Gateway's current state.
65
+ # **[Required]** The internet gateway's current state.
63
66
  # @return [String]
64
67
  attr_reader :lifecycle_state
65
68
 
66
- # The date and time the Internet Gateway was created, in the format defined by RFC3339.
69
+ # The date and time the internet gateway was created, in the format defined by RFC3339.
67
70
  #
68
71
  # Example: `2016-08-25T21:10:29.600Z`
69
72
  #
70
73
  # @return [DateTime]
71
74
  attr_accessor :time_created
72
75
 
73
- # **[Required]** The OCID of the VCN the Internet Gateway belongs to.
76
+ # **[Required]** The OCID of the VCN the internet gateway belongs to.
74
77
  # @return [String]
75
78
  attr_accessor :vcn_id
76
79
 
@@ -14,6 +14,9 @@ module OCI
14
14
  # talk to an administrator. If you're an administrator who needs to write policies to give users access, see
15
15
  # [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
16
16
  #
17
+ # **Warning:** Oracle recommends that you avoid using any confidential information when you
18
+ # supply string values using the API.
19
+ #
17
20
  class Core::Models::IPSecConnection # rubocop:disable Metrics/LineLength
18
21
  LIFECYCLE_STATE_ENUM = [
19
22
  LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING'.freeze,
@@ -8,7 +8,7 @@ module OCI
8
8
  # Use the `sourceDetails` parameter to specify whether a boot volume or an image should be used to launch a new instance.
9
9
  #
10
10
  class Core::Models::LaunchInstanceDetails # rubocop:disable Metrics/LineLength
11
- # **[Required]** The Availability Domain of the instance.
11
+ # **[Required]** The availability domain of the instance.
12
12
  #
13
13
  # Example: `Uocm:PHX-AD-1`
14
14
  #
@@ -41,17 +41,21 @@ module OCI
41
41
  # @return [String]
42
42
  attr_accessor :display_name
43
43
 
44
- # Additional metadata key/value pairs that you provide. They serve a similar purpose and functionality from fields in the 'metadata' object.
44
+ # Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the 'metadata' object.
45
45
  #
46
46
  # They are distinguished from 'metadata' fields in that these can be nested JSON objects (whereas 'metadata' fields are string/string maps only).
47
47
  #
48
48
  # @return [Hash<String, Object>]
49
49
  attr_accessor :extended_metadata
50
50
 
51
- # The name of the Fault Domain in which to launch an instance.
51
+ # A fault domain is a grouping of hardware and infrastructure within an availability domain.
52
+ # Each availability domain contains three fault domains. Fault domains let you distribute your
53
+ # instances so that they are not on the same physical hardware within a single availability domain.
54
+ # A hardware failure or Compute hardware maintenance that affects one fault domain does not affect
55
+ # instances in other fault domains.
52
56
  #
53
- # To get a list of Fault Domains, use the {#list_fault_domains list_fault_domains}
54
- # operation in the Identity and Access Management Service API.
57
+ # If you do not specify the fault domain, the system selects one for you. To change the fault
58
+ # domain for an instance, terminate it and launch a new instance in the preferred fault domain.
55
59
  #
56
60
  # Example: `FAULT-DOMAIN-1`
57
61
  #
@@ -15,6 +15,9 @@ module OCI
15
15
  # talk to an administrator. If you're an administrator who needs to write policies to give users access, see
16
16
  # [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
17
17
  #
18
+ # **Warning:** Oracle recommends that you avoid using any confidential information when you
19
+ # supply string values using the API.
20
+ #
18
21
  class Core::Models::LocalPeeringGateway # rubocop:disable Metrics/LineLength
19
22
  LIFECYCLE_STATE_ENUM = [
20
23
  LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING'.freeze,
@@ -32,8 +32,11 @@ module OCI
32
32
  # talk to an administrator. If you're an administrator who needs to write policies to give users access, see
33
33
  # [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
34
34
  #
35
+ # **Warning:** Oracle recommends that you avoid using any confidential information when you
36
+ # supply string values using the API.
37
+ #
35
38
  class Core::Models::PrivateIp # rubocop:disable Metrics/LineLength
36
- # The private IP's Availability Domain.
39
+ # The private IP's availability domain.
37
40
  #
38
41
  # Example: `Uocm:PHX-AD-1`
39
42
  #
@@ -15,6 +15,9 @@ module OCI
15
15
  # For more information and comparison of the two types,
16
16
  # see [Public IP Addresses](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Tasks/managingpublicIPs.htm).
17
17
  #
18
+ # **Warning:** Oracle recommends that you avoid using any confidential information when you
19
+ # supply string values using the API.
20
+ #
18
21
  class Core::Models::PublicIp # rubocop:disable Metrics/LineLength
19
22
  LIFECYCLE_STATE_ENUM = [
20
23
  LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING'.freeze,
@@ -40,9 +43,9 @@ module OCI
40
43
  SCOPE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
41
44
  ].freeze
42
45
 
43
- # The public IP's Availability Domain. This property is set only for ephemeral public IPs
46
+ # The public IP's availability domain. This property is set only for ephemeral public IPs
44
47
  # (that is, when the `scope` of the public IP is set to AVAILABILITY_DOMAIN). The value
45
- # is the Availability Domain of the assigned private IP.
48
+ # is the availability domain of the assigned private IP.
46
49
  #
47
50
  # Example: `Uocm:PHX-AD-1`
48
51
  #
@@ -116,12 +119,12 @@ module OCI
116
119
  # @return [String]
117
120
  attr_accessor :private_ip_id
118
121
 
119
- # Whether the public IP is regional or specific to a particular Availability Domain.
122
+ # Whether the public IP is regional or specific to a particular availability domain.
120
123
  #
121
124
  # * `REGION`: The public IP exists within a region and can be assigned to a private IP
122
- # in any Availability Domain in the region. Reserved public IPs have `scope` = `REGION`.
125
+ # in any availability domain in the region. Reserved public IPs have `scope` = `REGION`.
123
126
  #
124
- # * `AVAILABILITY_DOMAIN`: The public IP exists within the Availability Domain of the private IP
127
+ # * `AVAILABILITY_DOMAIN`: The public IP exists within the availability domain of the private IP
125
128
  # it's assigned to, which is specified by the `availabilityDomain` property of the public IP object.
126
129
  # Ephemeral public IPs have `scope` = `AVAILABILITY_DOMAIN`.
127
130
  #
@@ -15,6 +15,9 @@ module OCI
15
15
  # talk to an administrator. If you're an administrator who needs to write policies to give users access, see
16
16
  # [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
17
17
  #
18
+ # **Warning:** Oracle recommends that you avoid using any confidential information when you
19
+ # supply string values using the API.
20
+ #
18
21
  class Core::Models::RemotePeeringConnection # rubocop:disable Metrics/LineLength
19
22
  LIFECYCLE_STATE_ENUM = [
20
23
  LIFECYCLE_STATE_AVAILABLE = 'AVAILABLE'.freeze,
@@ -13,6 +13,9 @@ module OCI
13
13
  # talk to an administrator. If you're an administrator who needs to write policies to give users access, see
14
14
  # [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
15
15
  #
16
+ # **Warning:** Oracle recommends that you avoid using any confidential information when you
17
+ # supply string values using the API.
18
+ #
16
19
  class Core::Models::RouteTable # rubocop:disable Metrics/LineLength
17
20
  LIFECYCLE_STATE_ENUM = [
18
21
  LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING'.freeze,
@@ -19,6 +19,9 @@ module OCI
19
19
  # talk to an administrator. If you're an administrator who needs to write policies to give users access, see
20
20
  # [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
21
21
  #
22
+ # **Warning:** Oracle recommends that you avoid using any confidential information when you
23
+ # supply string values using the API.
24
+ #
22
25
  class Core::Models::SecurityList # rubocop:disable Metrics/LineLength
23
26
  LIFECYCLE_STATE_ENUM = [
24
27
  LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING'.freeze,
@@ -17,6 +17,9 @@ module OCI
17
17
  # talk to an administrator. If you're an administrator who needs to write policies to give users access, see
18
18
  # [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
19
19
  #
20
+ # **Warning:** Oracle recommends that you avoid using any confidential information when you
21
+ # supply string values using the API.
22
+ #
20
23
  class Core::Models::ServiceGateway # rubocop:disable Metrics/LineLength
21
24
  LIFECYCLE_STATE_ENUM = [
22
25
  LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING'.freeze,
@@ -5,7 +5,7 @@ require 'logger'
5
5
 
6
6
  # rubocop:disable Lint/UnneededCopDisableDirective
7
7
  module OCI
8
- # A logical subdivision of a VCN. Each subnet exists in a single Availability Domain and
8
+ # A logical subdivision of a VCN. Each subnet exists in a single availability domain and
9
9
  # consists of a contiguous range of IP addresses that do not overlap with
10
10
  # other subnets in the VCN. Example: 172.16.1.0/24. For more information, see
11
11
  # [Overview of the Networking Service](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Concepts/overview.htm) and
@@ -15,6 +15,9 @@ module OCI
15
15
  # talk to an administrator. If you're an administrator who needs to write policies to give users access, see
16
16
  # [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
17
17
  #
18
+ # **Warning:** Oracle recommends that you avoid using any confidential information when you
19
+ # supply string values using the API.
20
+ #
18
21
  class Core::Models::Subnet # rubocop:disable Metrics/LineLength
19
22
  LIFECYCLE_STATE_ENUM = [
20
23
  LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING'.freeze,
@@ -24,7 +27,7 @@ module OCI
24
27
  LIFECYCLE_STATE_UNKNOWN_ENUM_VALUE = 'UNKNOWN_ENUM_VALUE'.freeze
25
28
  ].freeze
26
29
 
27
- # **[Required]** The subnet's Availability Domain.
30
+ # **[Required]** The subnet's availability domain.
28
31
  #
29
32
  # Example: `Uocm:PHX-AD-1`
30
33
  #
@@ -31,13 +31,41 @@ module OCI
31
31
  # @return [Hash<String, String>]
32
32
  attr_accessor :freeform_tags
33
33
 
34
+ # Custom metadata key/value string pairs that you provide. Any set of key/value pairs
35
+ # provided here will completely replace the current set of key/value pairs in the 'metadata'
36
+ # field on the instance.
37
+ #
38
+ # Both the 'user_data' and 'ssh_authorized_keys' fields cannot be changed after an instance
39
+ # has launched. Any request which updates, removes, or adds either of these fields will be
40
+ # rejected. You must provide the same values for 'user_data' and 'ssh_authorized_keys' that
41
+ # already exist on the instance.
42
+ #
43
+ # @return [Hash<String, String>]
44
+ attr_accessor :metadata
45
+
46
+ # Additional metadata key/value pairs that you provide. They serve the same purpose and
47
+ # functionality as fields in the 'metadata' object.
48
+ #
49
+ # They are distinguished from 'metadata' fields in that these can be nested JSON objects
50
+ # (whereas 'metadata' fields are string/string maps only).
51
+ #
52
+ # Both the 'user_data' and 'ssh_authorized_keys' fields cannot be changed after an instance
53
+ # has launched. Any request which updates, removes, or adds either of these fields will be
54
+ # rejected. You must provide the same values for 'user_data' and 'ssh_authorized_keys' that
55
+ # already exist on the instance.
56
+ #
57
+ # @return [Hash<String, Object>]
58
+ attr_accessor :extended_metadata
59
+
34
60
  # Attribute mapping from ruby-style variable name to JSON key.
35
61
  def self.attribute_map
36
62
  {
37
63
  # rubocop:disable Style/SymbolLiteral
38
64
  'defined_tags': :'definedTags',
39
65
  'display_name': :'displayName',
40
- 'freeform_tags': :'freeformTags'
66
+ 'freeform_tags': :'freeformTags',
67
+ 'metadata': :'metadata',
68
+ 'extended_metadata': :'extendedMetadata'
41
69
  # rubocop:enable Style/SymbolLiteral
42
70
  }
43
71
  end
@@ -48,7 +76,9 @@ module OCI
48
76
  # rubocop:disable Style/SymbolLiteral
49
77
  'defined_tags': :'Hash<String, Hash<String, Object>>',
50
78
  'display_name': :'String',
51
- 'freeform_tags': :'Hash<String, String>'
79
+ 'freeform_tags': :'Hash<String, String>',
80
+ 'metadata': :'Hash<String, String>',
81
+ 'extended_metadata': :'Hash<String, Object>'
52
82
  # rubocop:enable Style/SymbolLiteral
53
83
  }
54
84
  end
@@ -62,6 +92,8 @@ module OCI
62
92
  # @option attributes [Hash<String, Hash<String, Object>>] :defined_tags The value to assign to the {#defined_tags} property
63
93
  # @option attributes [String] :display_name The value to assign to the {#display_name} property
64
94
  # @option attributes [Hash<String, String>] :freeform_tags The value to assign to the {#freeform_tags} property
95
+ # @option attributes [Hash<String, String>] :metadata The value to assign to the {#metadata} property
96
+ # @option attributes [Hash<String, Object>] :extended_metadata The value to assign to the {#extended_metadata} property
65
97
  def initialize(attributes = {})
66
98
  return unless attributes.is_a?(Hash)
67
99
 
@@ -85,6 +117,14 @@ module OCI
85
117
  raise 'You cannot provide both :freeformTags and :freeform_tags' if attributes.key?(:'freeformTags') && attributes.key?(:'freeform_tags')
86
118
 
87
119
  self.freeform_tags = attributes[:'freeform_tags'] if attributes[:'freeform_tags']
120
+
121
+ self.metadata = attributes[:'metadata'] if attributes[:'metadata']
122
+
123
+ self.extended_metadata = attributes[:'extendedMetadata'] if attributes[:'extendedMetadata']
124
+
125
+ raise 'You cannot provide both :extendedMetadata and :extended_metadata' if attributes.key?(:'extendedMetadata') && attributes.key?(:'extended_metadata')
126
+
127
+ self.extended_metadata = attributes[:'extended_metadata'] if attributes[:'extended_metadata']
88
128
  end
89
129
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
90
130
  # rubocop:enable Metrics/LineLength, Metrics/MethodLength, Layout/EmptyLines, Style/SymbolLiteral
@@ -99,7 +139,9 @@ module OCI
99
139
  self.class == other.class &&
100
140
  defined_tags == other.defined_tags &&
101
141
  display_name == other.display_name &&
102
- freeform_tags == other.freeform_tags
142
+ freeform_tags == other.freeform_tags &&
143
+ metadata == other.metadata &&
144
+ extended_metadata == other.extended_metadata
103
145
  end
104
146
  # rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity, Layout/EmptyLines
105
147
 
@@ -115,7 +157,7 @@ module OCI
115
157
  # Calculates hash code according to all attributes.
116
158
  # @return [Fixnum] Hash code
117
159
  def hash
118
- [defined_tags, display_name, freeform_tags].hash
160
+ [defined_tags, display_name, freeform_tags, metadata, extended_metadata].hash
119
161
  end
120
162
  # rubocop:enable Metrics/AbcSize, Metrics/LineLength, Layout/EmptyLines
121
163