oraclebmc 1.2.3 → 1.2.4

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 (170) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/lib/oraclebmc/core/blockstorage_client.rb +16 -11
  4. data/lib/oraclebmc/core/compute_client.rb +227 -37
  5. data/lib/oraclebmc/core/core.rb +11 -0
  6. data/lib/oraclebmc/core/models/attach_i_scsi_volume_details.rb +1 -2
  7. data/lib/oraclebmc/core/models/attach_vnic_details.rb +144 -0
  8. data/lib/oraclebmc/core/models/attach_volume_details.rb +5 -6
  9. data/lib/oraclebmc/core/models/capture_console_history_details.rb +1 -2
  10. data/lib/oraclebmc/core/models/console_history.rb +8 -8
  11. data/lib/oraclebmc/core/models/cpe.rb +7 -6
  12. data/lib/oraclebmc/core/models/create_cpe_details.rb +4 -5
  13. data/lib/oraclebmc/core/models/create_cross_connect_details.rb +9 -8
  14. data/lib/oraclebmc/core/models/create_cross_connect_group_details.rb +4 -3
  15. data/lib/oraclebmc/core/models/create_dhcp_details.rb +5 -6
  16. data/lib/oraclebmc/core/models/create_drg_attachment_details.rb +4 -5
  17. data/lib/oraclebmc/core/models/create_drg_details.rb +3 -4
  18. data/lib/oraclebmc/core/models/create_image_details.rb +19 -7
  19. data/lib/oraclebmc/core/models/create_internet_gateway_details.rb +5 -6
  20. data/lib/oraclebmc/core/models/create_ip_sec_connection_details.rb +6 -7
  21. data/lib/oraclebmc/core/models/create_private_ip_details.rb +173 -0
  22. data/lib/oraclebmc/core/models/create_route_table_details.rb +5 -6
  23. data/lib/oraclebmc/core/models/create_security_list_details.rb +6 -7
  24. data/lib/oraclebmc/core/models/create_subnet_details.rb +14 -15
  25. data/lib/oraclebmc/core/models/create_vcn_details.rb +6 -8
  26. data/lib/oraclebmc/core/models/create_virtual_circuit_details.rb +11 -12
  27. data/lib/oraclebmc/core/models/create_vnic_details.rb +39 -27
  28. data/lib/oraclebmc/core/models/create_volume_backup_details.rb +4 -3
  29. data/lib/oraclebmc/core/models/create_volume_details.rb +6 -6
  30. data/lib/oraclebmc/core/models/cross_connect.rb +11 -10
  31. data/lib/oraclebmc/core/models/cross_connect_group.rb +6 -6
  32. data/lib/oraclebmc/core/models/cross_connect_location.rb +2 -3
  33. data/lib/oraclebmc/core/models/cross_connect_mapping.rb +5 -6
  34. data/lib/oraclebmc/core/models/cross_connect_port_speed_shape.rb +2 -3
  35. data/lib/oraclebmc/core/models/cross_connect_status.rb +4 -5
  36. data/lib/oraclebmc/core/models/dhcp_dns_option.rb +2 -3
  37. data/lib/oraclebmc/core/models/dhcp_option.rb +1 -2
  38. data/lib/oraclebmc/core/models/dhcp_options.rb +9 -8
  39. data/lib/oraclebmc/core/models/dhcp_search_domain_option.rb +1 -2
  40. data/lib/oraclebmc/core/models/drg.rb +7 -6
  41. data/lib/oraclebmc/core/models/drg_attachment.rb +9 -8
  42. data/lib/oraclebmc/core/models/egress_security_rule.rb +6 -7
  43. data/lib/oraclebmc/core/models/export_image_details.rb +134 -0
  44. data/lib/oraclebmc/core/models/export_image_via_object_storage_tuple_details.rb +150 -0
  45. data/lib/oraclebmc/core/models/export_image_via_object_storage_uri_details.rb +130 -0
  46. data/lib/oraclebmc/core/models/fast_connect_provider_service.rb +3 -4
  47. data/lib/oraclebmc/core/models/i_scsi_volume_attachment.rb +5 -6
  48. data/lib/oraclebmc/core/models/icmp_options.rb +2 -3
  49. data/lib/oraclebmc/core/models/image.rb +12 -10
  50. data/lib/oraclebmc/core/models/image_source_details.rb +134 -0
  51. data/lib/oraclebmc/core/models/image_source_via_object_storage_tuple_details.rb +150 -0
  52. data/lib/oraclebmc/core/models/image_source_via_object_storage_uri_details.rb +128 -0
  53. data/lib/oraclebmc/core/models/ingress_security_rule.rb +6 -7
  54. data/lib/oraclebmc/core/models/instance.rb +13 -13
  55. data/lib/oraclebmc/core/models/instance_credentials.rb +2 -3
  56. data/lib/oraclebmc/core/models/internet_gateway.rb +9 -8
  57. data/lib/oraclebmc/core/models/ip_sec_connection.rb +10 -9
  58. data/lib/oraclebmc/core/models/ip_sec_connection_device_config.rb +4 -5
  59. data/lib/oraclebmc/core/models/ip_sec_connection_device_status.rb +4 -5
  60. data/lib/oraclebmc/core/models/launch_instance_details.rb +17 -15
  61. data/lib/oraclebmc/core/models/letter_of_authority.rb +6 -7
  62. data/lib/oraclebmc/core/models/port_range.rb +2 -3
  63. data/lib/oraclebmc/core/models/private_ip.rb +248 -0
  64. data/lib/oraclebmc/core/models/route_rule.rb +2 -3
  65. data/lib/oraclebmc/core/models/route_table.rb +9 -8
  66. data/lib/oraclebmc/core/models/security_list.rb +10 -9
  67. data/lib/oraclebmc/core/models/shape.rb +1 -2
  68. data/lib/oraclebmc/core/models/subnet.rb +21 -19
  69. data/lib/oraclebmc/core/models/tcp_options.rb +2 -3
  70. data/lib/oraclebmc/core/models/tunnel_config.rb +3 -4
  71. data/lib/oraclebmc/core/models/tunnel_status.rb +4 -5
  72. data/lib/oraclebmc/core/models/udp_options.rb +2 -3
  73. data/lib/oraclebmc/core/models/update_cpe_details.rb +3 -2
  74. data/lib/oraclebmc/core/models/update_cross_connect_details.rb +4 -3
  75. data/lib/oraclebmc/core/models/update_cross_connect_group_details.rb +3 -2
  76. data/lib/oraclebmc/core/models/update_dhcp_details.rb +4 -3
  77. data/lib/oraclebmc/core/models/update_drg_attachment_details.rb +3 -2
  78. data/lib/oraclebmc/core/models/update_drg_details.rb +3 -2
  79. data/lib/oraclebmc/core/models/update_image_details.rb +3 -3
  80. data/lib/oraclebmc/core/models/update_instance_details.rb +2 -2
  81. data/lib/oraclebmc/core/models/update_internet_gateway_details.rb +4 -3
  82. data/lib/oraclebmc/core/models/update_ip_sec_connection_details.rb +3 -2
  83. data/lib/oraclebmc/core/models/update_private_ip_details.rb +157 -0
  84. data/lib/oraclebmc/core/models/update_route_table_details.rb +4 -3
  85. data/lib/oraclebmc/core/models/update_security_list_details.rb +5 -4
  86. data/lib/oraclebmc/core/models/update_subnet_details.rb +3 -2
  87. data/lib/oraclebmc/core/models/update_vcn_details.rb +3 -2
  88. data/lib/oraclebmc/core/models/update_virtual_circuit_details.rb +8 -8
  89. data/lib/oraclebmc/core/models/update_vnic_details.rb +144 -0
  90. data/lib/oraclebmc/core/models/update_volume_backup_details.rb +3 -2
  91. data/lib/oraclebmc/core/models/update_volume_details.rb +2 -2
  92. data/lib/oraclebmc/core/models/vcn.rb +13 -12
  93. data/lib/oraclebmc/core/models/virtual_circuit.rb +18 -18
  94. data/lib/oraclebmc/core/models/virtual_circuit_bandwidth_shape.rb +2 -3
  95. data/lib/oraclebmc/core/models/vnic.rb +47 -19
  96. data/lib/oraclebmc/core/models/vnic_attachment.rb +33 -15
  97. data/lib/oraclebmc/core/models/volume.rb +8 -8
  98. data/lib/oraclebmc/core/models/volume_attachment.rb +10 -10
  99. data/lib/oraclebmc/core/models/volume_backup.rb +11 -10
  100. data/lib/oraclebmc/core/virtual_network_client.rb +364 -87
  101. data/lib/oraclebmc/errors.rb +19 -1
  102. data/lib/oraclebmc/identity/identity_client.rb +31 -31
  103. data/lib/oraclebmc/identity/models/add_user_to_group_details.rb +2 -3
  104. data/lib/oraclebmc/identity/models/api_key.rb +7 -8
  105. data/lib/oraclebmc/identity/models/availability_domain.rb +2 -3
  106. data/lib/oraclebmc/identity/models/compartment.rb +7 -8
  107. data/lib/oraclebmc/identity/models/create_api_key_details.rb +1 -2
  108. data/lib/oraclebmc/identity/models/create_compartment_details.rb +3 -4
  109. data/lib/oraclebmc/identity/models/create_group_details.rb +3 -4
  110. data/lib/oraclebmc/identity/models/create_identity_provider_details.rb +5 -6
  111. data/lib/oraclebmc/identity/models/create_idp_group_mapping_details.rb +2 -3
  112. data/lib/oraclebmc/identity/models/create_policy_details.rb +5 -6
  113. data/lib/oraclebmc/identity/models/create_region_subscription_details.rb +1 -2
  114. data/lib/oraclebmc/identity/models/create_saml2_identity_provider_details.rb +2 -3
  115. data/lib/oraclebmc/identity/models/create_swift_password_details.rb +1 -2
  116. data/lib/oraclebmc/identity/models/create_user_details.rb +3 -4
  117. data/lib/oraclebmc/identity/models/group.rb +7 -8
  118. data/lib/oraclebmc/identity/models/identity_provider.rb +9 -10
  119. data/lib/oraclebmc/identity/models/idp_group_mapping.rb +8 -9
  120. data/lib/oraclebmc/identity/models/policy.rb +9 -10
  121. data/lib/oraclebmc/identity/models/region.rb +2 -3
  122. data/lib/oraclebmc/identity/models/region_subscription.rb +4 -5
  123. data/lib/oraclebmc/identity/models/saml2_identity_provider.rb +3 -4
  124. data/lib/oraclebmc/identity/models/swift_password.rb +8 -9
  125. data/lib/oraclebmc/identity/models/tenancy.rb +4 -5
  126. data/lib/oraclebmc/identity/models/ui_password.rb +5 -6
  127. data/lib/oraclebmc/identity/models/update_compartment_details.rb +1 -2
  128. data/lib/oraclebmc/identity/models/update_group_details.rb +1 -2
  129. data/lib/oraclebmc/identity/models/update_identity_provider_details.rb +2 -3
  130. data/lib/oraclebmc/identity/models/update_idp_group_mapping_details.rb +2 -3
  131. data/lib/oraclebmc/identity/models/update_policy_details.rb +3 -4
  132. data/lib/oraclebmc/identity/models/update_saml2_identity_provider_details.rb +2 -3
  133. data/lib/oraclebmc/identity/models/update_state_details.rb +1 -2
  134. data/lib/oraclebmc/identity/models/update_swift_password_details.rb +1 -2
  135. data/lib/oraclebmc/identity/models/update_user_details.rb +1 -2
  136. data/lib/oraclebmc/identity/models/user.rb +7 -8
  137. data/lib/oraclebmc/identity/models/user_group_membership.rb +7 -8
  138. data/lib/oraclebmc/load_balancer/load_balancer_client.rb +11 -11
  139. data/lib/oraclebmc/load_balancer/models/backend.rb +7 -8
  140. data/lib/oraclebmc/load_balancer/models/backend_details.rb +6 -7
  141. data/lib/oraclebmc/load_balancer/models/backend_set.rb +6 -7
  142. data/lib/oraclebmc/load_balancer/models/backend_set_details.rb +5 -6
  143. data/lib/oraclebmc/load_balancer/models/certificate.rb +3 -4
  144. data/lib/oraclebmc/load_balancer/models/certificate_details.rb +5 -6
  145. data/lib/oraclebmc/load_balancer/models/create_backend_details.rb +6 -7
  146. data/lib/oraclebmc/load_balancer/models/create_backend_set_details.rb +6 -7
  147. data/lib/oraclebmc/load_balancer/models/create_certificate_details.rb +5 -6
  148. data/lib/oraclebmc/load_balancer/models/create_listener_details.rb +5 -6
  149. data/lib/oraclebmc/load_balancer/models/create_load_balancer_details.rb +8 -9
  150. data/lib/oraclebmc/load_balancer/models/health_checker.rb +8 -9
  151. data/lib/oraclebmc/load_balancer/models/health_checker_details.rb +8 -9
  152. data/lib/oraclebmc/load_balancer/models/ip_address.rb +2 -3
  153. data/lib/oraclebmc/load_balancer/models/listener.rb +5 -6
  154. data/lib/oraclebmc/load_balancer/models/listener_details.rb +4 -5
  155. data/lib/oraclebmc/load_balancer/models/load_balancer.rb +12 -13
  156. data/lib/oraclebmc/load_balancer/models/load_balancer_policy.rb +1 -2
  157. data/lib/oraclebmc/load_balancer/models/load_balancer_protocol.rb +1 -2
  158. data/lib/oraclebmc/load_balancer/models/load_balancer_shape.rb +1 -2
  159. data/lib/oraclebmc/load_balancer/models/session_persistence_configuration_details.rb +2 -3
  160. data/lib/oraclebmc/load_balancer/models/ssl_configuration.rb +3 -4
  161. data/lib/oraclebmc/load_balancer/models/ssl_configuration_details.rb +3 -4
  162. data/lib/oraclebmc/load_balancer/models/update_backend_details.rb +4 -5
  163. data/lib/oraclebmc/load_balancer/models/update_backend_set_details.rb +5 -6
  164. data/lib/oraclebmc/load_balancer/models/update_health_checker_details.rb +8 -9
  165. data/lib/oraclebmc/load_balancer/models/update_listener_details.rb +4 -5
  166. data/lib/oraclebmc/load_balancer/models/update_load_balancer_details.rb +1 -2
  167. data/lib/oraclebmc/load_balancer/models/work_request.rb +8 -9
  168. data/lib/oraclebmc/load_balancer/models/work_request_error.rb +2 -3
  169. data/lib/oraclebmc/version.rb +1 -1
  170. metadata +13 -2
@@ -8,7 +8,7 @@ module OracleBMC
8
8
  # @return [String]
9
9
  attr_accessor :compartment_id
10
10
 
11
- # A user-friendly name. Does not have to be unique, and it's changeable.
11
+ # A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
12
12
  # @return [String]
13
13
  attr_accessor :display_name
14
14
 
@@ -33,27 +33,26 @@ module OracleBMC
33
33
  # convert string to symbol for hash key
34
34
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
35
35
 
36
-
37
36
  if attributes[:'compartmentId']
38
37
  self.compartment_id = attributes[:'compartmentId']
39
38
  end
40
-
39
+
41
40
  if attributes[:'displayName']
42
41
  self.display_name = attributes[:'displayName']
43
42
  end
44
-
43
+
45
44
  if attributes[:'egressSecurityRules']
46
45
  self.egress_security_rules = attributes[:'egressSecurityRules']
47
46
  end
48
-
47
+
49
48
  if attributes[:'ingressSecurityRules']
50
49
  self.ingress_security_rules = attributes[:'ingressSecurityRules']
51
50
  end
52
-
51
+
53
52
  if attributes[:'vcnId']
54
53
  self.vcn_id = attributes[:'vcnId']
55
54
  end
56
-
55
+
57
56
  end
58
57
 
59
58
  # Checks equality by comparing each attribute.
@@ -28,7 +28,7 @@ module OracleBMC
28
28
  # @return [String]
29
29
  attr_accessor :dhcp_options_id
30
30
 
31
- # A user-friendly name. Does not have to be unique, and it's changeable.
31
+ # A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
32
32
  # @return [String]
33
33
  attr_accessor :display_name
34
34
 
@@ -50,11 +50,11 @@ module OracleBMC
50
50
  # @return [String]
51
51
  attr_accessor :dns_label
52
52
 
53
- # Whether VNICs within this subnet can have public IP addresses.
53
+ # Whether VNICs within this subnet can have public IP addresses.
54
54
  # Defaults to false, which means VNICs created in this subnet will
55
55
  # automatically be assigned public IP addresses unless specified
56
- # otherwise during instance launch (with the `assignPublicIp` flag in
57
- # {CreateVnicDetails}).
56
+ # otherwise during instance launch or VNIC creation (with the
57
+ # `assignPublicIp` flag in {CreateVnicDetails}).
58
58
  # If `prohibitPublicIpOnVnic` is set to true, VNICs created in this
59
59
  # subnet cannot have public IP addresses (i.e., it's a private
60
60
  # subnet).
@@ -91,47 +91,46 @@ module OracleBMC
91
91
  # convert string to symbol for hash key
92
92
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
93
93
 
94
-
95
94
  if attributes[:'availabilityDomain']
96
95
  self.availability_domain = attributes[:'availabilityDomain']
97
96
  end
98
-
97
+
99
98
  if attributes[:'cidrBlock']
100
99
  self.cidr_block = attributes[:'cidrBlock']
101
100
  end
102
-
101
+
103
102
  if attributes[:'compartmentId']
104
103
  self.compartment_id = attributes[:'compartmentId']
105
104
  end
106
-
105
+
107
106
  if attributes[:'dhcpOptionsId']
108
107
  self.dhcp_options_id = attributes[:'dhcpOptionsId']
109
108
  end
110
-
109
+
111
110
  if attributes[:'displayName']
112
111
  self.display_name = attributes[:'displayName']
113
112
  end
114
-
113
+
115
114
  if attributes[:'dnsLabel']
116
115
  self.dns_label = attributes[:'dnsLabel']
117
116
  end
118
-
117
+
119
118
  if attributes[:'prohibitPublicIpOnVnic']
120
119
  self.prohibit_public_ip_on_vnic = attributes[:'prohibitPublicIpOnVnic']
121
120
  end
122
-
121
+
123
122
  if attributes[:'routeTableId']
124
123
  self.route_table_id = attributes[:'routeTableId']
125
124
  end
126
-
125
+
127
126
  if attributes[:'securityListIds']
128
127
  self.security_list_ids = attributes[:'securityListIds']
129
128
  end
130
-
129
+
131
130
  if attributes[:'vcnId']
132
131
  self.vcn_id = attributes[:'vcnId']
133
132
  end
134
-
133
+
135
134
  end
136
135
 
137
136
  # Checks equality by comparing each attribute.
@@ -15,7 +15,7 @@ module OracleBMC
15
15
  # @return [String]
16
16
  attr_accessor :compartment_id
17
17
 
18
- # A user-friendly name. Does not have to be unique, and it's changeable.
18
+ # A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
19
19
  # @return [String]
20
20
  attr_accessor :display_name
21
21
 
@@ -23,8 +23,7 @@ module OracleBMC
23
23
  # subnet's DNS label to form a fully qualified domain name (FQDN) for each VNIC
24
24
  # within this subnet (e.g., `bminstance-1.subnet123.vcn1.oraclevcn.com`).
25
25
  # Not required to be unique, but it's a best practice to set unique DNS labels
26
- # for VCNs in your tenancy.
27
- # Must be an alphanumeric string that begins with a letter.
26
+ # for VCNs in your tenancy. Must be an alphanumeric string that begins with a letter.
28
27
  # The value cannot be changed.
29
28
  #
30
29
  # You must set this value if you want instances to be able to use hostnames to
@@ -48,23 +47,22 @@ module OracleBMC
48
47
  # convert string to symbol for hash key
49
48
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
50
49
 
51
-
52
50
  if attributes[:'cidrBlock']
53
51
  self.cidr_block = attributes[:'cidrBlock']
54
52
  end
55
-
53
+
56
54
  if attributes[:'compartmentId']
57
55
  self.compartment_id = attributes[:'compartmentId']
58
56
  end
59
-
57
+
60
58
  if attributes[:'displayName']
61
59
  self.display_name = attributes[:'displayName']
62
60
  end
63
-
61
+
64
62
  if attributes[:'dnsLabel']
65
63
  self.dns_label = attributes[:'dnsLabel']
66
64
  end
67
-
65
+
68
66
  end
69
67
 
70
68
  # Checks equality by comparing each attribute.
@@ -35,7 +35,7 @@ module OracleBMC
35
35
  # @return [Integer]
36
36
  attr_accessor :customer_bgp_asn
37
37
 
38
- # A user-friendly name. Does not have to be unique, and it's changeable.
38
+ # A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
39
39
  #
40
40
  # @return [String]
41
41
  attr_accessor :display_name
@@ -84,47 +84,46 @@ module OracleBMC
84
84
  # convert string to symbol for hash key
85
85
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
86
86
 
87
-
88
87
  if attributes[:'bandwidthShapeName']
89
88
  self.bandwidth_shape_name = attributes[:'bandwidthShapeName']
90
89
  end
91
-
90
+
92
91
  if attributes[:'compartmentId']
93
92
  self.compartment_id = attributes[:'compartmentId']
94
93
  end
95
-
94
+
96
95
  if attributes[:'crossConnectMappings']
97
96
  self.cross_connect_mappings = attributes[:'crossConnectMappings']
98
97
  end
99
-
98
+
100
99
  if attributes[:'customerBgpAsn']
101
100
  self.customer_bgp_asn = attributes[:'customerBgpAsn']
102
101
  end
103
-
102
+
104
103
  if attributes[:'displayName']
105
104
  self.display_name = attributes[:'displayName']
106
105
  end
107
-
106
+
108
107
  if attributes[:'gatewayId']
109
108
  self.gateway_id = attributes[:'gatewayId']
110
109
  end
111
-
110
+
112
111
  if attributes[:'providerName']
113
112
  self.provider_name = attributes[:'providerName']
114
113
  end
115
-
114
+
116
115
  if attributes[:'providerServiceName']
117
116
  self.provider_service_name = attributes[:'providerServiceName']
118
117
  end
119
-
118
+
120
119
  if attributes[:'region']
121
120
  self.region = attributes[:'region']
122
121
  end
123
-
122
+
124
123
  if attributes[:'type']
125
124
  self.type = attributes[:'type']
126
125
  end
127
-
126
+
128
127
  end
129
128
 
130
129
  # Custom attribute writer method checking allowed values (enum).
@@ -6,11 +6,16 @@ module OracleBMC
6
6
  class Core::Models::CreateVnicDetails
7
7
  # Whether the VNIC should be assigned a public IP address. Defaults to whether
8
8
  # the subnet is public or private. If not set and the VNIC is being created
9
- # in a private subnet (i.e., where `prohibitPublicIpOnVnic`=true in the
9
+ # in a private subnet (i.e., where `prohibitPublicIpOnVnic` = true in the
10
10
  # {Subnet}), then no public IP address is assigned.
11
- # If not set and the subnet is public (`prohibitPublicIpOnVnic`=false), then
12
- # a public IP address is assigned. If set to true and
13
- # `prohibitPublicIpOnVnic`=true, an error is returned.
11
+ # If not set and the subnet is public (`prohibitPublicIpOnVnic` = false), then
12
+ # a public IP address is assigned. If set to true and
13
+ # `prohibitPublicIpOnVnic` = true, an error is returned.
14
+ #
15
+ # **Note:** This public IP address is associated with the primary private IP
16
+ # on the VNIC. Secondary private IPs cannot have public IP
17
+ # addresses associated with them. For more information, see
18
+ # [Managing IP Addresses](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Tasks/managingIPaddresses.htm).
14
19
  #
15
20
  # Example: `false`
16
21
  #
@@ -18,45 +23,53 @@ module OracleBMC
18
23
  attr_accessor :assign_public_ip
19
24
 
20
25
  # A user-friendly name for the VNIC. Does not have to be unique.
26
+ # Avoid entering confidential information.
27
+ #
21
28
  # @return [String]
22
29
  attr_accessor :display_name
23
30
 
24
- # The hostname for the VNIC that is created during instance launch.
25
- # Used for DNS. The value is the hostname portion of the instance's
26
- # fully qualified domain name (FQDN) (e.g., `bminstance-1` in FQDN
27
- # `bminstance-1.subnet123.vcn1.oraclevcn.com`).
31
+ # The hostname for the VNIC's primary private IP. Used for DNS. The value is the hostname
32
+ # portion of the primary private IP's fully qualified domain name (FQDN)
33
+ # (for example, `bminstance-1` in FQDN `bminstance-1.subnet123.vcn1.oraclevcn.com`).
28
34
  # Must be unique across all VNICs in the subnet and comply with
29
35
  # [RFC 952](https://tools.ietf.org/html/rfc952) and
30
36
  # [RFC 1123](https://tools.ietf.org/html/rfc1123).
31
- # The value cannot be changed, and it can be retrieved from the
32
- # {Vnic}.
33
- #
37
+ # The value appears in the {Vnic} object and also the
38
+ # {PrivateIp} object returned by
39
+ # {#list_private_ips list_private_ips} and
40
+ # {#get_private_ip get_private_ip}.
41
+ #
34
42
  # For more information, see
35
43
  # [DNS in Your Virtual Cloud Network](https://docs.us-phoenix-1.oraclecloud.com/Content/Network/Concepts/dns.htm).
36
44
  #
37
- # Use this `hostnameLabel` instead
38
- # of the deprecated `hostnameLabel` in
45
+ # When launching an instance, use this `hostnameLabel` instead
46
+ # of the deprecated `hostnameLabel` in
39
47
  # {#launch_instance_details launch_instance_details}.
40
- # If you provide both, the values must match.
48
+ # If you provide both, the values must match.
41
49
  #
42
50
  # Example: `bminstance-1`
43
51
  #
44
52
  # @return [String]
45
53
  attr_accessor :hostname_label
46
54
 
47
- # A private IP address of your choice to assign to the VNIC. Must be an
48
- # available IP address within the subnet's CIDR. If no value is specified,
49
- # a private IP address from the subnet will be automatically assigned.
55
+ # A private IP address of your choice to assign to the VNIC. Must be an
56
+ # available IP address within the subnet's CIDR. If you don't specify a
57
+ # value, Oracle automatically assigns a private IP address from the subnet.
58
+ # This is the VNIC's *primary* private IP address. The value appears in
59
+ # the {Vnic} object and also the
60
+ # {PrivateIp} object returned by
61
+ # {#list_private_ips list_private_ips} and
62
+ # {#get_private_ip get_private_ip}.
50
63
  #
51
- # Example: `10.0.3.1`
64
+ # Example: `10.0.3.3`
52
65
  #
53
66
  # @return [String]
54
67
  attr_accessor :private_ip
55
68
 
56
- # The OCID of the subnet to create the VNIC in. Use this `subnetId` instead
57
- # of the deprecated `subnetId` in
69
+ # The OCID of the subnet to create the VNIC in. When launching an instance,
70
+ # use this `subnetId` instead of the deprecated `subnetId` in
58
71
  # {#launch_instance_details launch_instance_details}.
59
- # At least one of them is required; if you provide both, the values must match.
72
+ # At least one of them is required; if you provide both, the values must match.
60
73
  #
61
74
  # @return [String]
62
75
  attr_accessor :subnet_id
@@ -70,27 +83,26 @@ module OracleBMC
70
83
  # convert string to symbol for hash key
71
84
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
72
85
 
73
-
74
86
  if attributes[:'assignPublicIp']
75
87
  self.assign_public_ip = attributes[:'assignPublicIp']
76
88
  end
77
-
89
+
78
90
  if attributes[:'displayName']
79
91
  self.display_name = attributes[:'displayName']
80
92
  end
81
-
93
+
82
94
  if attributes[:'hostnameLabel']
83
95
  self.hostname_label = attributes[:'hostnameLabel']
84
96
  end
85
-
97
+
86
98
  if attributes[:'privateIp']
87
99
  self.private_ip = attributes[:'privateIp']
88
100
  end
89
-
101
+
90
102
  if attributes[:'subnetId']
91
103
  self.subnet_id = attributes[:'subnetId']
92
104
  end
93
-
105
+
94
106
  end
95
107
 
96
108
  # Checks equality by comparing each attribute.
@@ -5,6 +5,8 @@ require 'date'
5
5
  module OracleBMC
6
6
  class Core::Models::CreateVolumeBackupDetails
7
7
  # A user-friendly name for the volume backup. Does not have to be unique and it's changeable.
8
+ # Avoid entering confidential information.
9
+ #
8
10
  # @return [String]
9
11
  attr_accessor :display_name
10
12
 
@@ -21,15 +23,14 @@ module OracleBMC
21
23
  # convert string to symbol for hash key
22
24
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
23
25
 
24
-
25
26
  if attributes[:'displayName']
26
27
  self.display_name = attributes[:'displayName']
27
28
  end
28
-
29
+
29
30
  if attributes[:'volumeId']
30
31
  self.volume_id = attributes[:'volumeId']
31
32
  end
32
-
33
+
33
34
  end
34
35
 
35
36
  # Checks equality by comparing each attribute.
@@ -16,6 +16,7 @@ module OracleBMC
16
16
  attr_accessor :compartment_id
17
17
 
18
18
  # A user-friendly name. Does not have to be unique, and it's changeable.
19
+ # Avoid entering confidential information.
19
20
  #
20
21
  # @return [String]
21
22
  attr_accessor :display_name
@@ -38,27 +39,26 @@ module OracleBMC
38
39
  # convert string to symbol for hash key
39
40
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
40
41
 
41
-
42
42
  if attributes[:'availabilityDomain']
43
43
  self.availability_domain = attributes[:'availabilityDomain']
44
44
  end
45
-
45
+
46
46
  if attributes[:'compartmentId']
47
47
  self.compartment_id = attributes[:'compartmentId']
48
48
  end
49
-
49
+
50
50
  if attributes[:'displayName']
51
51
  self.display_name = attributes[:'displayName']
52
52
  end
53
-
53
+
54
54
  if attributes[:'sizeInMBs']
55
55
  self.size_in_m_bs = attributes[:'sizeInMBs']
56
56
  end
57
-
57
+
58
58
  if attributes[:'volumeBackupId']
59
59
  self.volume_backup_id = attributes[:'volumeBackupId']
60
60
  end
61
-
61
+
62
62
  end
63
63
 
64
64
  # Checks equality by comparing each attribute.
@@ -22,6 +22,8 @@ module OracleBMC
22
22
  attr_accessor :cross_connect_group_id
23
23
 
24
24
  # A user-friendly name. Does not have to be unique, and it's changeable.
25
+ # Avoid entering confidential information.
26
+ #
25
27
  # @return [String]
26
28
  attr_accessor :display_name
27
29
 
@@ -64,43 +66,42 @@ module OracleBMC
64
66
  # convert string to symbol for hash key
65
67
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
66
68
 
67
-
68
69
  if attributes[:'compartmentId']
69
70
  self.compartment_id = attributes[:'compartmentId']
70
71
  end
71
-
72
+
72
73
  if attributes[:'crossConnectGroupId']
73
74
  self.cross_connect_group_id = attributes[:'crossConnectGroupId']
74
75
  end
75
-
76
+
76
77
  if attributes[:'displayName']
77
78
  self.display_name = attributes[:'displayName']
78
79
  end
79
-
80
+
80
81
  if attributes[:'id']
81
82
  self.id = attributes[:'id']
82
83
  end
83
-
84
+
84
85
  if attributes[:'lifecycleState']
85
86
  self.lifecycle_state = attributes[:'lifecycleState']
86
87
  end
87
-
88
+
88
89
  if attributes[:'locationName']
89
90
  self.location_name = attributes[:'locationName']
90
91
  end
91
-
92
+
92
93
  if attributes[:'portName']
93
94
  self.port_name = attributes[:'portName']
94
95
  end
95
-
96
+
96
97
  if attributes[:'portSpeedShapeName']
97
98
  self.port_speed_shape_name = attributes[:'portSpeedShapeName']
98
99
  end
99
-
100
+
100
101
  if attributes[:'timeCreated']
101
102
  self.time_created = attributes[:'timeCreated']
102
103
  end
103
-
104
+
104
105
  end
105
106
 
106
107
  # Custom attribute writer method checking allowed values (enum).