oci 2.0.4 → 2.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (296) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.txt +3 -3
  3. data/README.md +72 -6
  4. data/lib/oci.rb +1 -1
  5. data/lib/oci/api_client.rb +1 -1
  6. data/lib/oci/audit/audit.rb +1 -1
  7. data/lib/oci/audit/audit_client.rb +1 -1
  8. data/lib/oci/audit/models/audit_event.rb +4 -4
  9. data/lib/oci/audit/models/configuration.rb +4 -4
  10. data/lib/oci/audit/models/update_configuration_details.rb +4 -4
  11. data/lib/oci/audit/util.rb +2 -1
  12. data/lib/oci/config.rb +1 -1
  13. data/lib/oci/config_file_loader.rb +1 -1
  14. data/lib/oci/core/blockstorage_client.rb +1 -1
  15. data/lib/oci/core/compute_client.rb +4 -2
  16. data/lib/oci/core/core.rb +2 -1
  17. data/lib/oci/core/models/attach_boot_volume_details.rb +4 -4
  18. data/lib/oci/core/models/attach_i_scsi_volume_details.rb +4 -4
  19. data/lib/oci/core/models/attach_vnic_details.rb +4 -4
  20. data/lib/oci/core/models/attach_volume_details.rb +4 -4
  21. data/lib/oci/core/models/boot_volume.rb +4 -4
  22. data/lib/oci/core/models/boot_volume_attachment.rb +4 -4
  23. data/lib/oci/core/models/bulk_add_virtual_circuit_public_prefixes_details.rb +4 -4
  24. data/lib/oci/core/models/bulk_delete_virtual_circuit_public_prefixes_details.rb +4 -4
  25. data/lib/oci/core/models/capture_console_history_details.rb +36 -5
  26. data/lib/oci/core/models/connect_local_peering_gateways_details.rb +4 -4
  27. data/lib/oci/core/models/console_history.rb +36 -6
  28. data/lib/oci/core/models/cpe.rb +4 -4
  29. data/lib/oci/core/models/create_cpe_details.rb +4 -4
  30. data/lib/oci/core/models/create_cross_connect_details.rb +4 -4
  31. data/lib/oci/core/models/create_cross_connect_group_details.rb +4 -4
  32. data/lib/oci/core/models/create_dhcp_details.rb +36 -5
  33. data/lib/oci/core/models/create_drg_attachment_details.rb +4 -4
  34. data/lib/oci/core/models/create_drg_details.rb +4 -4
  35. data/lib/oci/core/models/create_image_details.rb +69 -8
  36. data/lib/oci/core/models/create_instance_console_connection_details.rb +36 -5
  37. data/lib/oci/core/models/create_internet_gateway_details.rb +4 -4
  38. data/lib/oci/core/models/create_ip_sec_connection_details.rb +4 -4
  39. data/lib/oci/core/models/create_local_peering_gateway_details.rb +4 -4
  40. data/lib/oci/core/models/create_private_ip_details.rb +36 -5
  41. data/lib/oci/core/models/create_route_table_details.rb +36 -5
  42. data/lib/oci/core/models/create_security_list_details.rb +36 -5
  43. data/lib/oci/core/models/create_subnet_details.rb +36 -5
  44. data/lib/oci/core/models/create_vcn_details.rb +39 -8
  45. data/lib/oci/core/models/create_virtual_circuit_details.rb +4 -4
  46. data/lib/oci/core/models/create_virtual_circuit_public_prefix_details.rb +4 -4
  47. data/lib/oci/core/models/create_vnic_details.rb +4 -4
  48. data/lib/oci/core/models/create_volume_backup_details.rb +36 -5
  49. data/lib/oci/core/models/create_volume_details.rb +36 -5
  50. data/lib/oci/core/models/cross_connect.rb +4 -4
  51. data/lib/oci/core/models/cross_connect_group.rb +4 -4
  52. data/lib/oci/core/models/cross_connect_location.rb +4 -4
  53. data/lib/oci/core/models/cross_connect_mapping.rb +4 -4
  54. data/lib/oci/core/models/cross_connect_port_speed_shape.rb +4 -4
  55. data/lib/oci/core/models/cross_connect_status.rb +4 -4
  56. data/lib/oci/core/models/delete_virtual_circuit_public_prefix_details.rb +4 -4
  57. data/lib/oci/core/models/dhcp_dns_option.rb +4 -4
  58. data/lib/oci/core/models/dhcp_option.rb +4 -4
  59. data/lib/oci/core/models/dhcp_options.rb +36 -5
  60. data/lib/oci/core/models/dhcp_search_domain_option.rb +4 -4
  61. data/lib/oci/core/models/drg.rb +4 -4
  62. data/lib/oci/core/models/drg_attachment.rb +4 -4
  63. data/lib/oci/core/models/egress_security_rule.rb +4 -4
  64. data/lib/oci/core/models/export_image_details.rb +4 -4
  65. data/lib/oci/core/models/export_image_via_object_storage_tuple_details.rb +4 -4
  66. data/lib/oci/core/models/export_image_via_object_storage_uri_details.rb +4 -4
  67. data/lib/oci/core/models/fast_connect_provider_service.rb +4 -4
  68. data/lib/oci/core/models/i_scsi_volume_attachment.rb +4 -4
  69. data/lib/oci/core/models/icmp_options.rb +4 -4
  70. data/lib/oci/core/models/image.rb +77 -6
  71. data/lib/oci/core/models/image_source_details.rb +32 -5
  72. data/lib/oci/core/models/image_source_via_object_storage_tuple_details.rb +8 -5
  73. data/lib/oci/core/models/image_source_via_object_storage_uri_details.rb +8 -5
  74. data/lib/oci/core/models/ingress_security_rule.rb +4 -4
  75. data/lib/oci/core/models/instance.rb +77 -5
  76. data/lib/oci/core/models/instance_console_connection.rb +52 -8
  77. data/lib/oci/core/models/instance_credentials.rb +4 -4
  78. data/lib/oci/core/models/instance_source_details.rb +4 -4
  79. data/lib/oci/core/models/instance_source_via_boot_volume_details.rb +4 -4
  80. data/lib/oci/core/models/instance_source_via_image_details.rb +4 -4
  81. data/lib/oci/core/models/internet_gateway.rb +4 -4
  82. data/lib/oci/core/models/ip_sec_connection.rb +4 -4
  83. data/lib/oci/core/models/ip_sec_connection_device_config.rb +4 -4
  84. data/lib/oci/core/models/ip_sec_connection_device_status.rb +4 -4
  85. data/lib/oci/core/models/launch_instance_details.rb +39 -6
  86. data/lib/oci/core/models/launch_options.rb +239 -0
  87. data/lib/oci/core/models/letter_of_authority.rb +4 -4
  88. data/lib/oci/core/models/local_peering_gateway.rb +4 -4
  89. data/lib/oci/core/models/port_range.rb +4 -4
  90. data/lib/oci/core/models/private_ip.rb +36 -5
  91. data/lib/oci/core/models/route_rule.rb +4 -4
  92. data/lib/oci/core/models/route_table.rb +36 -5
  93. data/lib/oci/core/models/security_list.rb +36 -5
  94. data/lib/oci/core/models/shape.rb +4 -4
  95. data/lib/oci/core/models/subnet.rb +36 -5
  96. data/lib/oci/core/models/tcp_options.rb +4 -4
  97. data/lib/oci/core/models/tunnel_config.rb +4 -4
  98. data/lib/oci/core/models/tunnel_status.rb +4 -4
  99. data/lib/oci/core/models/udp_options.rb +4 -4
  100. data/lib/oci/core/models/update_boot_volume_details.rb +4 -4
  101. data/lib/oci/core/models/update_console_history_details.rb +39 -8
  102. data/lib/oci/core/models/update_cpe_details.rb +4 -4
  103. data/lib/oci/core/models/update_cross_connect_details.rb +4 -4
  104. data/lib/oci/core/models/update_cross_connect_group_details.rb +4 -4
  105. data/lib/oci/core/models/update_dhcp_details.rb +36 -5
  106. data/lib/oci/core/models/update_drg_attachment_details.rb +4 -4
  107. data/lib/oci/core/models/update_drg_details.rb +4 -4
  108. data/lib/oci/core/models/update_image_details.rb +39 -8
  109. data/lib/oci/core/models/update_instance_details.rb +39 -8
  110. data/lib/oci/core/models/update_internet_gateway_details.rb +4 -4
  111. data/lib/oci/core/models/update_ip_sec_connection_details.rb +4 -4
  112. data/lib/oci/core/models/update_local_peering_gateway_details.rb +4 -4
  113. data/lib/oci/core/models/update_private_ip_details.rb +36 -5
  114. data/lib/oci/core/models/update_route_table_details.rb +36 -5
  115. data/lib/oci/core/models/update_security_list_details.rb +36 -5
  116. data/lib/oci/core/models/update_subnet_details.rb +39 -8
  117. data/lib/oci/core/models/update_vcn_details.rb +39 -8
  118. data/lib/oci/core/models/update_virtual_circuit_details.rb +4 -4
  119. data/lib/oci/core/models/update_vnic_details.rb +4 -4
  120. data/lib/oci/core/models/update_volume_backup_details.rb +39 -8
  121. data/lib/oci/core/models/update_volume_details.rb +39 -8
  122. data/lib/oci/core/models/vcn.rb +36 -5
  123. data/lib/oci/core/models/virtual_circuit.rb +4 -4
  124. data/lib/oci/core/models/virtual_circuit_bandwidth_shape.rb +4 -4
  125. data/lib/oci/core/models/virtual_circuit_public_prefix.rb +4 -4
  126. data/lib/oci/core/models/vnic.rb +4 -4
  127. data/lib/oci/core/models/vnic_attachment.rb +4 -4
  128. data/lib/oci/core/models/volume.rb +36 -5
  129. data/lib/oci/core/models/volume_attachment.rb +4 -4
  130. data/lib/oci/core/models/volume_backup.rb +36 -5
  131. data/lib/oci/core/models/volume_source_details.rb +4 -4
  132. data/lib/oci/core/models/volume_source_from_volume_backup_details.rb +4 -4
  133. data/lib/oci/core/models/volume_source_from_volume_details.rb +4 -4
  134. data/lib/oci/core/util.rb +2 -1
  135. data/lib/oci/core/virtual_network_client.rb +1 -1
  136. data/lib/oci/database/database.rb +1 -1
  137. data/lib/oci/database/database_client.rb +1 -1
  138. data/lib/oci/database/models/backup.rb +4 -4
  139. data/lib/oci/database/models/backup_summary.rb +4 -4
  140. data/lib/oci/database/models/create_backup_details.rb +4 -4
  141. data/lib/oci/database/models/create_data_guard_association_details.rb +4 -4
  142. data/lib/oci/database/models/create_data_guard_association_to_existing_db_system_details.rb +4 -4
  143. data/lib/oci/database/models/create_database_details.rb +4 -4
  144. data/lib/oci/database/models/create_database_from_backup_details.rb +4 -4
  145. data/lib/oci/database/models/create_db_home_details.rb +4 -4
  146. data/lib/oci/database/models/create_db_home_with_db_system_id_base.rb +4 -4
  147. data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +4 -4
  148. data/lib/oci/database/models/create_db_home_with_db_system_id_from_backup_details.rb +4 -4
  149. data/lib/oci/database/models/data_guard_association.rb +4 -4
  150. data/lib/oci/database/models/data_guard_association_summary.rb +4 -4
  151. data/lib/oci/database/models/database.rb +4 -4
  152. data/lib/oci/database/models/database_summary.rb +4 -4
  153. data/lib/oci/database/models/db_backup_config.rb +4 -4
  154. data/lib/oci/database/models/db_home.rb +4 -4
  155. data/lib/oci/database/models/db_home_summary.rb +4 -4
  156. data/lib/oci/database/models/db_node.rb +4 -4
  157. data/lib/oci/database/models/db_node_summary.rb +4 -4
  158. data/lib/oci/database/models/db_system.rb +4 -4
  159. data/lib/oci/database/models/db_system_shape_summary.rb +4 -4
  160. data/lib/oci/database/models/db_system_summary.rb +4 -4
  161. data/lib/oci/database/models/db_version_summary.rb +4 -4
  162. data/lib/oci/database/models/failover_data_guard_association_details.rb +4 -4
  163. data/lib/oci/database/models/launch_db_system_details.rb +4 -4
  164. data/lib/oci/database/models/patch.rb +4 -4
  165. data/lib/oci/database/models/patch_details.rb +4 -4
  166. data/lib/oci/database/models/patch_history_entry.rb +4 -4
  167. data/lib/oci/database/models/patch_history_entry_summary.rb +4 -4
  168. data/lib/oci/database/models/patch_summary.rb +4 -4
  169. data/lib/oci/database/models/reinstate_data_guard_association_details.rb +4 -4
  170. data/lib/oci/database/models/restore_database_details.rb +4 -4
  171. data/lib/oci/database/models/switchover_data_guard_association_details.rb +4 -4
  172. data/lib/oci/database/models/update_database_details.rb +4 -4
  173. data/lib/oci/database/models/update_db_home_details.rb +4 -4
  174. data/lib/oci/database/models/update_db_system_details.rb +4 -4
  175. data/lib/oci/database/util.rb +2 -1
  176. data/lib/oci/errors.rb +1 -1
  177. data/lib/oci/global_context.rb +1 -1
  178. data/lib/oci/identity/identity.rb +9 -1
  179. data/lib/oci/identity/identity_client.rb +339 -1
  180. data/lib/oci/identity/models/add_user_to_group_details.rb +4 -4
  181. data/lib/oci/identity/models/api_key.rb +4 -4
  182. data/lib/oci/identity/models/availability_domain.rb +4 -4
  183. data/lib/oci/identity/models/compartment.rb +34 -8
  184. data/lib/oci/identity/models/create_api_key_details.rb +4 -4
  185. data/lib/oci/identity/models/create_compartment_details.rb +34 -8
  186. data/lib/oci/identity/models/create_customer_secret_key_details.rb +4 -4
  187. data/lib/oci/identity/models/create_group_details.rb +34 -8
  188. data/lib/oci/identity/models/create_identity_provider_details.rb +34 -8
  189. data/lib/oci/identity/models/create_idp_group_mapping_details.rb +4 -4
  190. data/lib/oci/identity/models/create_policy_details.rb +34 -8
  191. data/lib/oci/identity/models/create_region_subscription_details.rb +4 -4
  192. data/lib/oci/identity/models/create_saml2_identity_provider_details.rb +11 -5
  193. data/lib/oci/identity/models/create_swift_password_details.rb +4 -4
  194. data/lib/oci/identity/models/create_tag_details.rb +158 -0
  195. data/lib/oci/identity/models/create_tag_namespace_details.rb +169 -0
  196. data/lib/oci/identity/models/create_user_details.rb +34 -8
  197. data/lib/oci/identity/models/customer_secret_key.rb +4 -4
  198. data/lib/oci/identity/models/customer_secret_key_summary.rb +4 -4
  199. data/lib/oci/identity/models/group.rb +35 -8
  200. data/lib/oci/identity/models/identity_provider.rb +34 -8
  201. data/lib/oci/identity/models/idp_group_mapping.rb +4 -4
  202. data/lib/oci/identity/models/policy.rb +34 -8
  203. data/lib/oci/identity/models/region.rb +4 -4
  204. data/lib/oci/identity/models/region_subscription.rb +4 -4
  205. data/lib/oci/identity/models/saml2_identity_provider.rb +11 -5
  206. data/lib/oci/identity/models/swift_password.rb +4 -4
  207. data/lib/oci/identity/models/tag.rb +228 -0
  208. data/lib/oci/identity/models/tag_namespace.rb +205 -0
  209. data/lib/oci/identity/models/tag_namespace_summary.rb +205 -0
  210. data/lib/oci/identity/models/tag_summary.rb +205 -0
  211. data/lib/oci/identity/models/tenancy.rb +34 -8
  212. data/lib/oci/identity/models/ui_password.rb +4 -4
  213. data/lib/oci/identity/models/update_compartment_details.rb +34 -8
  214. data/lib/oci/identity/models/update_customer_secret_key_details.rb +4 -4
  215. data/lib/oci/identity/models/update_group_details.rb +34 -8
  216. data/lib/oci/identity/models/update_identity_provider_details.rb +34 -8
  217. data/lib/oci/identity/models/update_idp_group_mapping_details.rb +4 -4
  218. data/lib/oci/identity/models/update_policy_details.rb +34 -8
  219. data/lib/oci/identity/models/update_saml2_identity_provider_details.rb +11 -5
  220. data/lib/oci/identity/models/update_state_details.rb +4 -4
  221. data/lib/oci/identity/models/update_swift_password_details.rb +4 -4
  222. data/lib/oci/identity/models/update_tag_details.rb +157 -0
  223. data/lib/oci/identity/models/update_tag_namespace_details.rb +157 -0
  224. data/lib/oci/identity/models/update_user_details.rb +34 -8
  225. data/lib/oci/identity/models/user.rb +35 -8
  226. data/lib/oci/identity/models/user_group_membership.rb +4 -4
  227. data/lib/oci/identity/util.rb +2 -1
  228. data/lib/oci/internal/internal.rb +1 -1
  229. data/lib/oci/internal/util.rb +2 -2
  230. data/lib/oci/load_balancer/load_balancer.rb +1 -1
  231. data/lib/oci/load_balancer/load_balancer_client.rb +1 -1
  232. data/lib/oci/load_balancer/models/backend.rb +4 -4
  233. data/lib/oci/load_balancer/models/backend_details.rb +4 -4
  234. data/lib/oci/load_balancer/models/backend_health.rb +4 -4
  235. data/lib/oci/load_balancer/models/backend_set.rb +4 -4
  236. data/lib/oci/load_balancer/models/backend_set_details.rb +4 -4
  237. data/lib/oci/load_balancer/models/backend_set_health.rb +4 -4
  238. data/lib/oci/load_balancer/models/certificate.rb +4 -4
  239. data/lib/oci/load_balancer/models/certificate_details.rb +4 -4
  240. data/lib/oci/load_balancer/models/create_backend_details.rb +4 -4
  241. data/lib/oci/load_balancer/models/create_backend_set_details.rb +4 -4
  242. data/lib/oci/load_balancer/models/create_certificate_details.rb +4 -4
  243. data/lib/oci/load_balancer/models/create_listener_details.rb +4 -4
  244. data/lib/oci/load_balancer/models/create_load_balancer_details.rb +4 -4
  245. data/lib/oci/load_balancer/models/health_check_result.rb +4 -4
  246. data/lib/oci/load_balancer/models/health_checker.rb +4 -4
  247. data/lib/oci/load_balancer/models/health_checker_details.rb +4 -4
  248. data/lib/oci/load_balancer/models/ip_address.rb +4 -4
  249. data/lib/oci/load_balancer/models/listener.rb +4 -4
  250. data/lib/oci/load_balancer/models/listener_details.rb +4 -4
  251. data/lib/oci/load_balancer/models/load_balancer.rb +4 -4
  252. data/lib/oci/load_balancer/models/load_balancer_health.rb +4 -4
  253. data/lib/oci/load_balancer/models/load_balancer_health_summary.rb +4 -4
  254. data/lib/oci/load_balancer/models/load_balancer_policy.rb +4 -4
  255. data/lib/oci/load_balancer/models/load_balancer_protocol.rb +4 -4
  256. data/lib/oci/load_balancer/models/load_balancer_shape.rb +4 -4
  257. data/lib/oci/load_balancer/models/session_persistence_configuration_details.rb +4 -4
  258. data/lib/oci/load_balancer/models/ssl_configuration.rb +4 -4
  259. data/lib/oci/load_balancer/models/ssl_configuration_details.rb +4 -4
  260. data/lib/oci/load_balancer/models/update_backend_details.rb +4 -4
  261. data/lib/oci/load_balancer/models/update_backend_set_details.rb +4 -4
  262. data/lib/oci/load_balancer/models/update_health_checker_details.rb +4 -4
  263. data/lib/oci/load_balancer/models/update_listener_details.rb +4 -4
  264. data/lib/oci/load_balancer/models/update_load_balancer_details.rb +4 -4
  265. data/lib/oci/load_balancer/models/work_request.rb +4 -4
  266. data/lib/oci/load_balancer/models/work_request_error.rb +4 -4
  267. data/lib/oci/load_balancer/util.rb +1 -1
  268. data/lib/oci/object_storage/models/bucket.rb +4 -4
  269. data/lib/oci/object_storage/models/bucket_summary.rb +4 -4
  270. data/lib/oci/object_storage/models/commit_multipart_upload_details.rb +4 -4
  271. data/lib/oci/object_storage/models/commit_multipart_upload_part_details.rb +4 -4
  272. data/lib/oci/object_storage/models/create_bucket_details.rb +4 -4
  273. data/lib/oci/object_storage/models/create_multipart_upload_details.rb +4 -4
  274. data/lib/oci/object_storage/models/create_preauthenticated_request_details.rb +4 -4
  275. data/lib/oci/object_storage/models/list_objects.rb +4 -4
  276. data/lib/oci/object_storage/models/multipart_upload.rb +4 -4
  277. data/lib/oci/object_storage/models/multipart_upload_part_summary.rb +4 -4
  278. data/lib/oci/object_storage/models/namespace_metadata.rb +4 -4
  279. data/lib/oci/object_storage/models/object_summary.rb +4 -4
  280. data/lib/oci/object_storage/models/preauthenticated_request.rb +4 -4
  281. data/lib/oci/object_storage/models/preauthenticated_request_summary.rb +4 -4
  282. data/lib/oci/object_storage/models/rename_object_details.rb +4 -4
  283. data/lib/oci/object_storage/models/restore_objects_details.rb +4 -4
  284. data/lib/oci/object_storage/models/update_bucket_details.rb +4 -4
  285. data/lib/oci/object_storage/models/update_namespace_metadata_details.rb +4 -4
  286. data/lib/oci/object_storage/object_storage.rb +1 -1
  287. data/lib/oci/object_storage/object_storage_client.rb +1 -1
  288. data/lib/oci/object_storage/util.rb +2 -1
  289. data/lib/oci/regions.rb +1 -1
  290. data/lib/oci/response.rb +1 -1
  291. data/lib/oci/response_headers.rb +1 -1
  292. data/lib/oci/signer.rb +1 -1
  293. data/lib/oci/version.rb +2 -2
  294. data/lib/oci/waiter.rb +21 -5
  295. data/lib/oraclebmc.rb +1 -1
  296. metadata +11 -2
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
1
+ # Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
2
2
 
3
3
  require 'date'
4
4
 
@@ -93,10 +93,10 @@ module OCI
93
93
  # check to ensure the input is an array given that the the attribute
94
94
  # is documented as an array but the input is not
95
95
  if attributes[self.class.attribute_map[key]].is_a?(Array)
96
- self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
96
+ self.public_method("#{key}=").call(attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
97
97
  end
98
98
  elsif !attributes[self.class.attribute_map[key]].nil?
99
- self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
99
+ self.public_method("#{key}=").call(OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
100
100
  end # or else data not found in attributes(hash), not an issue as the data can be optional
101
101
  end
102
102
 
@@ -114,7 +114,7 @@ module OCI
114
114
  def to_hash
115
115
  hash = {}
116
116
  self.class.attribute_map.each_pair do |attr, param|
117
- value = public_send(attr)
117
+ value = public_method(attr).call
118
118
  next if value.nil? && !instance_variable_defined?("@#{attr}")
119
119
  hash[param] = _to_hash(value)
120
120
  end
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
1
+ # Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
2
2
 
3
3
  require 'date'
4
4
 
@@ -73,10 +73,10 @@ module OCI
73
73
  # check to ensure the input is an array given that the the attribute
74
74
  # is documented as an array but the input is not
75
75
  if attributes[self.class.attribute_map[key]].is_a?(Array)
76
- self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
76
+ self.public_method("#{key}=").call(attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
77
77
  end
78
78
  elsif !attributes[self.class.attribute_map[key]].nil?
79
- self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
79
+ self.public_method("#{key}=").call(OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
80
80
  end # or else data not found in attributes(hash), not an issue as the data can be optional
81
81
  end
82
82
 
@@ -94,7 +94,7 @@ module OCI
94
94
  def to_hash
95
95
  hash = {}
96
96
  self.class.attribute_map.each_pair do |attr, param|
97
- value = public_send(attr)
97
+ value = public_method(attr).call
98
98
  next if value.nil? && !instance_variable_defined?("@#{attr}")
99
99
  hash[param] = _to_hash(value)
100
100
  end
@@ -1,15 +1,32 @@
1
- # Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
1
+ # Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
2
2
 
3
3
  require 'date'
4
4
 
5
5
  module OCI
6
6
  class Core::Models::CreatePrivateIpDetails
7
+ # Defined tags for this resource. Each key is predefined and scoped to a namespace.
8
+ # For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
9
+ #
10
+ # Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
11
+ #
12
+ # @return [Hash<String, Hash<String, Object>>]
13
+ attr_accessor :defined_tags
14
+
7
15
  # A user-friendly name. Does not have to be unique, and it's changeable. Avoid
8
16
  # entering confidential information.
9
17
  #
10
18
  # @return [String]
11
19
  attr_accessor :display_name
12
20
 
21
+ # Free-form tags for this resource. Each tag is a simple key-value pair with no
22
+ # predefined name, type, or namespace. For more information, see
23
+ # [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
24
+ #
25
+ # Example: `{\"Department\": \"Finance\"}`
26
+ #
27
+ # @return [Hash<String, String>]
28
+ attr_accessor :freeform_tags
29
+
13
30
  # The hostname for the private IP. Used for DNS. The value
14
31
  # is the hostname portion of the private IP's fully qualified domain name (FQDN)
15
32
  # (for example, `bminstance-1` in FQDN `bminstance-1.subnet123.vcn1.oraclevcn.com`).
@@ -49,10 +66,18 @@ module OCI
49
66
  # convert string to symbol for hash key
50
67
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
51
68
 
69
+ if attributes[:'definedTags']
70
+ self.defined_tags = attributes[:'definedTags']
71
+ end
72
+
52
73
  if attributes[:'displayName']
53
74
  self.display_name = attributes[:'displayName']
54
75
  end
55
76
 
77
+ if attributes[:'freeformTags']
78
+ self.freeform_tags = attributes[:'freeformTags']
79
+ end
80
+
56
81
  if attributes[:'hostnameLabel']
57
82
  self.hostname_label = attributes[:'hostnameLabel']
58
83
  end
@@ -72,7 +97,9 @@ module OCI
72
97
  def ==(other_object)
73
98
  return true if self.equal?(other_object)
74
99
  self.class == other_object.class &&
100
+ defined_tags == other_object.defined_tags &&
75
101
  display_name == other_object.display_name &&
102
+ freeform_tags == other_object.freeform_tags &&
76
103
  hostname_label == other_object.hostname_label &&
77
104
  ip_address == other_object.ip_address &&
78
105
  vnic_id == other_object.vnic_id
@@ -87,7 +114,7 @@ module OCI
87
114
  # Calculates hash code according to all attributes.
88
115
  # @return [Fixnum] Hash code
89
116
  def hash
90
- [display_name, hostname_label, ip_address, vnic_id].hash
117
+ [defined_tags, display_name, freeform_tags, hostname_label, ip_address, vnic_id].hash
91
118
  end
92
119
 
93
120
  # Builds the object from hash
@@ -100,10 +127,10 @@ module OCI
100
127
  # check to ensure the input is an array given that the the attribute
101
128
  # is documented as an array but the input is not
102
129
  if attributes[self.class.attribute_map[key]].is_a?(Array)
103
- self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
130
+ self.public_method("#{key}=").call(attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
104
131
  end
105
132
  elsif !attributes[self.class.attribute_map[key]].nil?
106
- self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
133
+ self.public_method("#{key}=").call(OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
107
134
  end # or else data not found in attributes(hash), not an issue as the data can be optional
108
135
  end
109
136
 
@@ -121,7 +148,7 @@ module OCI
121
148
  def to_hash
122
149
  hash = {}
123
150
  self.class.attribute_map.each_pair do |attr, param|
124
- value = public_send(attr)
151
+ value = public_method(attr).call
125
152
  next if value.nil? && !instance_variable_defined?("@#{attr}")
126
153
  hash[param] = _to_hash(value)
127
154
  end
@@ -153,7 +180,9 @@ module OCI
153
180
  # Attribute mapping from ruby-style variable name to JSON key.
154
181
  def self.attribute_map
155
182
  {
183
+ :'defined_tags' => :'definedTags',
156
184
  :'display_name' => :'displayName',
185
+ :'freeform_tags' => :'freeformTags',
157
186
  :'hostname_label' => :'hostnameLabel',
158
187
  :'ip_address' => :'ipAddress',
159
188
  :'vnic_id' => :'vnicId'
@@ -163,7 +192,9 @@ module OCI
163
192
  # Attribute type mapping.
164
193
  def self.swagger_types
165
194
  {
195
+ :'defined_tags' => :'Hash<String, Hash<String, Object>>',
166
196
  :'display_name' => :'String',
197
+ :'freeform_tags' => :'Hash<String, String>',
167
198
  :'hostname_label' => :'String',
168
199
  :'ip_address' => :'String',
169
200
  :'vnic_id' => :'String'
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
1
+ # Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
2
2
 
3
3
  require 'date'
4
4
 
@@ -8,10 +8,27 @@ module OCI
8
8
  # @return [String]
9
9
  attr_accessor :compartment_id
10
10
 
11
+ # Defined tags for this resource. Each key is predefined and scoped to a namespace.
12
+ # For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
13
+ #
14
+ # Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
15
+ #
16
+ # @return [Hash<String, Hash<String, Object>>]
17
+ attr_accessor :defined_tags
18
+
11
19
  # A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
12
20
  # @return [String]
13
21
  attr_accessor :display_name
14
22
 
23
+ # Free-form tags for this resource. Each tag is a simple key-value pair with no
24
+ # predefined name, type, or namespace. For more information, see
25
+ # [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
26
+ #
27
+ # Example: `{\"Department\": \"Finance\"}`
28
+ #
29
+ # @return [Hash<String, String>]
30
+ attr_accessor :freeform_tags
31
+
15
32
  # The collection of rules used for routing destination IPs to network devices.
16
33
  # @return [Array<OCI::Core::Models::RouteRule>]
17
34
  attr_accessor :route_rules
@@ -33,10 +50,18 @@ module OCI
33
50
  self.compartment_id = attributes[:'compartmentId']
34
51
  end
35
52
 
53
+ if attributes[:'definedTags']
54
+ self.defined_tags = attributes[:'definedTags']
55
+ end
56
+
36
57
  if attributes[:'displayName']
37
58
  self.display_name = attributes[:'displayName']
38
59
  end
39
60
 
61
+ if attributes[:'freeformTags']
62
+ self.freeform_tags = attributes[:'freeformTags']
63
+ end
64
+
40
65
  if attributes[:'routeRules']
41
66
  self.route_rules = attributes[:'routeRules']
42
67
  end
@@ -53,7 +78,9 @@ module OCI
53
78
  return true if self.equal?(other_object)
54
79
  self.class == other_object.class &&
55
80
  compartment_id == other_object.compartment_id &&
81
+ defined_tags == other_object.defined_tags &&
56
82
  display_name == other_object.display_name &&
83
+ freeform_tags == other_object.freeform_tags &&
57
84
  route_rules == other_object.route_rules &&
58
85
  vcn_id == other_object.vcn_id
59
86
  end
@@ -67,7 +94,7 @@ module OCI
67
94
  # Calculates hash code according to all attributes.
68
95
  # @return [Fixnum] Hash code
69
96
  def hash
70
- [compartment_id, display_name, route_rules, vcn_id].hash
97
+ [compartment_id, defined_tags, display_name, freeform_tags, route_rules, vcn_id].hash
71
98
  end
72
99
 
73
100
  # Builds the object from hash
@@ -80,10 +107,10 @@ module OCI
80
107
  # check to ensure the input is an array given that the the attribute
81
108
  # is documented as an array but the input is not
82
109
  if attributes[self.class.attribute_map[key]].is_a?(Array)
83
- self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
110
+ self.public_method("#{key}=").call(attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
84
111
  end
85
112
  elsif !attributes[self.class.attribute_map[key]].nil?
86
- self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
113
+ self.public_method("#{key}=").call(OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
87
114
  end # or else data not found in attributes(hash), not an issue as the data can be optional
88
115
  end
89
116
 
@@ -101,7 +128,7 @@ module OCI
101
128
  def to_hash
102
129
  hash = {}
103
130
  self.class.attribute_map.each_pair do |attr, param|
104
- value = public_send(attr)
131
+ value = public_method(attr).call
105
132
  next if value.nil? && !instance_variable_defined?("@#{attr}")
106
133
  hash[param] = _to_hash(value)
107
134
  end
@@ -134,7 +161,9 @@ module OCI
134
161
  def self.attribute_map
135
162
  {
136
163
  :'compartment_id' => :'compartmentId',
164
+ :'defined_tags' => :'definedTags',
137
165
  :'display_name' => :'displayName',
166
+ :'freeform_tags' => :'freeformTags',
138
167
  :'route_rules' => :'routeRules',
139
168
  :'vcn_id' => :'vcnId'
140
169
  }
@@ -144,7 +173,9 @@ module OCI
144
173
  def self.swagger_types
145
174
  {
146
175
  :'compartment_id' => :'String',
176
+ :'defined_tags' => :'Hash<String, Hash<String, Object>>',
147
177
  :'display_name' => :'String',
178
+ :'freeform_tags' => :'Hash<String, String>',
148
179
  :'route_rules' => :'Array<OCI::Core::Models::RouteRule>',
149
180
  :'vcn_id' => :'String'
150
181
  }
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
1
+ # Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
2
2
 
3
3
  require 'date'
4
4
 
@@ -8,6 +8,14 @@ module OCI
8
8
  # @return [String]
9
9
  attr_accessor :compartment_id
10
10
 
11
+ # Defined tags for this resource. Each key is predefined and scoped to a namespace.
12
+ # For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
13
+ #
14
+ # Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
15
+ #
16
+ # @return [Hash<String, Hash<String, Object>>]
17
+ attr_accessor :defined_tags
18
+
11
19
  # A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
12
20
  # @return [String]
13
21
  attr_accessor :display_name
@@ -16,6 +24,15 @@ module OCI
16
24
  # @return [Array<OCI::Core::Models::EgressSecurityRule>]
17
25
  attr_accessor :egress_security_rules
18
26
 
27
+ # Free-form tags for this resource. Each tag is a simple key-value pair with no
28
+ # predefined name, type, or namespace. For more information, see
29
+ # [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
30
+ #
31
+ # Example: `{\"Department\": \"Finance\"}`
32
+ #
33
+ # @return [Hash<String, String>]
34
+ attr_accessor :freeform_tags
35
+
19
36
  # Rules for allowing ingress IP packets.
20
37
  # @return [Array<OCI::Core::Models::IngressSecurityRule>]
21
38
  attr_accessor :ingress_security_rules
@@ -37,6 +54,10 @@ module OCI
37
54
  self.compartment_id = attributes[:'compartmentId']
38
55
  end
39
56
 
57
+ if attributes[:'definedTags']
58
+ self.defined_tags = attributes[:'definedTags']
59
+ end
60
+
40
61
  if attributes[:'displayName']
41
62
  self.display_name = attributes[:'displayName']
42
63
  end
@@ -45,6 +66,10 @@ module OCI
45
66
  self.egress_security_rules = attributes[:'egressSecurityRules']
46
67
  end
47
68
 
69
+ if attributes[:'freeformTags']
70
+ self.freeform_tags = attributes[:'freeformTags']
71
+ end
72
+
48
73
  if attributes[:'ingressSecurityRules']
49
74
  self.ingress_security_rules = attributes[:'ingressSecurityRules']
50
75
  end
@@ -61,8 +86,10 @@ module OCI
61
86
  return true if self.equal?(other_object)
62
87
  self.class == other_object.class &&
63
88
  compartment_id == other_object.compartment_id &&
89
+ defined_tags == other_object.defined_tags &&
64
90
  display_name == other_object.display_name &&
65
91
  egress_security_rules == other_object.egress_security_rules &&
92
+ freeform_tags == other_object.freeform_tags &&
66
93
  ingress_security_rules == other_object.ingress_security_rules &&
67
94
  vcn_id == other_object.vcn_id
68
95
  end
@@ -76,7 +103,7 @@ module OCI
76
103
  # Calculates hash code according to all attributes.
77
104
  # @return [Fixnum] Hash code
78
105
  def hash
79
- [compartment_id, display_name, egress_security_rules, ingress_security_rules, vcn_id].hash
106
+ [compartment_id, defined_tags, display_name, egress_security_rules, freeform_tags, ingress_security_rules, vcn_id].hash
80
107
  end
81
108
 
82
109
  # Builds the object from hash
@@ -89,10 +116,10 @@ module OCI
89
116
  # check to ensure the input is an array given that the the attribute
90
117
  # is documented as an array but the input is not
91
118
  if attributes[self.class.attribute_map[key]].is_a?(Array)
92
- self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
119
+ self.public_method("#{key}=").call(attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
93
120
  end
94
121
  elsif !attributes[self.class.attribute_map[key]].nil?
95
- self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
122
+ self.public_method("#{key}=").call(OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
96
123
  end # or else data not found in attributes(hash), not an issue as the data can be optional
97
124
  end
98
125
 
@@ -110,7 +137,7 @@ module OCI
110
137
  def to_hash
111
138
  hash = {}
112
139
  self.class.attribute_map.each_pair do |attr, param|
113
- value = public_send(attr)
140
+ value = public_method(attr).call
114
141
  next if value.nil? && !instance_variable_defined?("@#{attr}")
115
142
  hash[param] = _to_hash(value)
116
143
  end
@@ -143,8 +170,10 @@ module OCI
143
170
  def self.attribute_map
144
171
  {
145
172
  :'compartment_id' => :'compartmentId',
173
+ :'defined_tags' => :'definedTags',
146
174
  :'display_name' => :'displayName',
147
175
  :'egress_security_rules' => :'egressSecurityRules',
176
+ :'freeform_tags' => :'freeformTags',
148
177
  :'ingress_security_rules' => :'ingressSecurityRules',
149
178
  :'vcn_id' => :'vcnId'
150
179
  }
@@ -154,8 +183,10 @@ module OCI
154
183
  def self.swagger_types
155
184
  {
156
185
  :'compartment_id' => :'String',
186
+ :'defined_tags' => :'Hash<String, Hash<String, Object>>',
157
187
  :'display_name' => :'String',
158
188
  :'egress_security_rules' => :'Array<OCI::Core::Models::EgressSecurityRule>',
189
+ :'freeform_tags' => :'Hash<String, String>',
159
190
  :'ingress_security_rules' => :'Array<OCI::Core::Models::IngressSecurityRule>',
160
191
  :'vcn_id' => :'String'
161
192
  }
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
1
+ # Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
2
2
 
3
3
  require 'date'
4
4
 
@@ -22,6 +22,14 @@ module OCI
22
22
  # @return [String]
23
23
  attr_accessor :compartment_id
24
24
 
25
+ # Defined tags for this resource. Each key is predefined and scoped to a namespace.
26
+ # For more information, see [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
27
+ #
28
+ # Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
29
+ #
30
+ # @return [Hash<String, Hash<String, Object>>]
31
+ attr_accessor :defined_tags
32
+
25
33
  # The OCID of the set of DHCP options the subnet will use. If you don't
26
34
  # provide a value, the subnet will use the VCN's default set of DHCP options.
27
35
  #
@@ -50,6 +58,15 @@ module OCI
50
58
  # @return [String]
51
59
  attr_accessor :dns_label
52
60
 
61
+ # Free-form tags for this resource. Each tag is a simple key-value pair with no
62
+ # predefined name, type, or namespace. For more information, see
63
+ # [Resource Tags](https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm).
64
+ #
65
+ # Example: `{\"Department\": \"Finance\"}`
66
+ #
67
+ # @return [Hash<String, String>]
68
+ attr_accessor :freeform_tags
69
+
53
70
  # Whether VNICs within this subnet can have public IP addresses.
54
71
  # Defaults to false, which means VNICs created in this subnet will
55
72
  # automatically be assigned public IP addresses unless specified
@@ -103,6 +120,10 @@ module OCI
103
120
  self.compartment_id = attributes[:'compartmentId']
104
121
  end
105
122
 
123
+ if attributes[:'definedTags']
124
+ self.defined_tags = attributes[:'definedTags']
125
+ end
126
+
106
127
  if attributes[:'dhcpOptionsId']
107
128
  self.dhcp_options_id = attributes[:'dhcpOptionsId']
108
129
  end
@@ -115,6 +136,10 @@ module OCI
115
136
  self.dns_label = attributes[:'dnsLabel']
116
137
  end
117
138
 
139
+ if attributes[:'freeformTags']
140
+ self.freeform_tags = attributes[:'freeformTags']
141
+ end
142
+
118
143
  if attributes[:'prohibitPublicIpOnVnic']
119
144
  self.prohibit_public_ip_on_vnic = attributes[:'prohibitPublicIpOnVnic']
120
145
  end
@@ -141,9 +166,11 @@ module OCI
141
166
  availability_domain == other_object.availability_domain &&
142
167
  cidr_block == other_object.cidr_block &&
143
168
  compartment_id == other_object.compartment_id &&
169
+ defined_tags == other_object.defined_tags &&
144
170
  dhcp_options_id == other_object.dhcp_options_id &&
145
171
  display_name == other_object.display_name &&
146
172
  dns_label == other_object.dns_label &&
173
+ freeform_tags == other_object.freeform_tags &&
147
174
  prohibit_public_ip_on_vnic == other_object.prohibit_public_ip_on_vnic &&
148
175
  route_table_id == other_object.route_table_id &&
149
176
  security_list_ids == other_object.security_list_ids &&
@@ -159,7 +186,7 @@ module OCI
159
186
  # Calculates hash code according to all attributes.
160
187
  # @return [Fixnum] Hash code
161
188
  def hash
162
- [availability_domain, cidr_block, compartment_id, dhcp_options_id, display_name, dns_label, prohibit_public_ip_on_vnic, route_table_id, security_list_ids, vcn_id].hash
189
+ [availability_domain, cidr_block, compartment_id, defined_tags, dhcp_options_id, display_name, dns_label, freeform_tags, prohibit_public_ip_on_vnic, route_table_id, security_list_ids, vcn_id].hash
163
190
  end
164
191
 
165
192
  # Builds the object from hash
@@ -172,10 +199,10 @@ module OCI
172
199
  # check to ensure the input is an array given that the the attribute
173
200
  # is documented as an array but the input is not
174
201
  if attributes[self.class.attribute_map[key]].is_a?(Array)
175
- self.public_send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
202
+ self.public_method("#{key}=").call(attributes[self.class.attribute_map[key]].map{ |v| OCI::Internal::Util.convert_to_type($1, v) } )
176
203
  end
177
204
  elsif !attributes[self.class.attribute_map[key]].nil?
178
- self.public_send("#{key}=", OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
205
+ self.public_method("#{key}=").call(OCI::Internal::Util.convert_to_type(type, attributes[self.class.attribute_map[key]]))
179
206
  end # or else data not found in attributes(hash), not an issue as the data can be optional
180
207
  end
181
208
 
@@ -193,7 +220,7 @@ module OCI
193
220
  def to_hash
194
221
  hash = {}
195
222
  self.class.attribute_map.each_pair do |attr, param|
196
- value = public_send(attr)
223
+ value = public_method(attr).call
197
224
  next if value.nil? && !instance_variable_defined?("@#{attr}")
198
225
  hash[param] = _to_hash(value)
199
226
  end
@@ -228,9 +255,11 @@ module OCI
228
255
  :'availability_domain' => :'availabilityDomain',
229
256
  :'cidr_block' => :'cidrBlock',
230
257
  :'compartment_id' => :'compartmentId',
258
+ :'defined_tags' => :'definedTags',
231
259
  :'dhcp_options_id' => :'dhcpOptionsId',
232
260
  :'display_name' => :'displayName',
233
261
  :'dns_label' => :'dnsLabel',
262
+ :'freeform_tags' => :'freeformTags',
234
263
  :'prohibit_public_ip_on_vnic' => :'prohibitPublicIpOnVnic',
235
264
  :'route_table_id' => :'routeTableId',
236
265
  :'security_list_ids' => :'securityListIds',
@@ -244,9 +273,11 @@ module OCI
244
273
  :'availability_domain' => :'String',
245
274
  :'cidr_block' => :'String',
246
275
  :'compartment_id' => :'String',
276
+ :'defined_tags' => :'Hash<String, Hash<String, Object>>',
247
277
  :'dhcp_options_id' => :'String',
248
278
  :'display_name' => :'String',
249
279
  :'dns_label' => :'String',
280
+ :'freeform_tags' => :'Hash<String, String>',
250
281
  :'prohibit_public_ip_on_vnic' => :'BOOLEAN',
251
282
  :'route_table_id' => :'String',
252
283
  :'security_list_ids' => :'Array<String>',