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
@@ -21,13 +21,31 @@ module OracleBMC
21
21
  # @return [String]
22
22
  attr_reader :request_id
23
23
 
24
+ # The error message
25
+ #
26
+ # @return [String]
27
+ attr_reader :message
28
+
24
29
  def initialize(statusCode, serviceCode, request_id, message)
25
- super message
30
+ # We need to mask the message attribute here as otherwise we use StandardError's implementation,
31
+ # which calls to_s and so referencing "message" in our to_s in this class would go into an
32
+ # infinite loop
33
+ if message.nil? || message.strip.empty?
34
+ @message = "The service returned error code #{statusCode}"
35
+ else
36
+ @message = message.strip
37
+ end
38
+
39
+ super @message
26
40
 
27
41
  @statusCode = statusCode
28
42
  @serviceCode = serviceCode
29
43
  @request_id = request_id
30
44
  end
45
+
46
+ def to_s
47
+ return "{ 'message': '#{message}', 'status': #{statusCode}, 'code': '#{serviceCode}', 'opc-request-id': '#{request_id}'}"
48
+ end
31
49
  end
32
50
 
33
51
  # The base error for all network issues (that is, requests that do not reach the server)
@@ -588,11 +588,11 @@ module OracleBMC
588
588
  # a key for any user, including themselves.
589
589
  #
590
590
  # @param [String] user_id The OCID of the user.
591
- # @param [String] fingerprint The key's fingerprint.
591
+ # @param [String] fingerprint The key's fingerprint.
592
592
  # @param [Hash] opts the optional parameters
593
593
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
594
594
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
595
- # will be updated or deleted only if the etag you provide matches the resource's current etag value.
595
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
596
596
  #
597
597
  # @return [Response] A Response object with data of type nil
598
598
  def delete_api_key(user_id, fingerprint, opts = {})
@@ -629,7 +629,7 @@ module OracleBMC
629
629
  # @param [Hash] opts the optional parameters
630
630
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
631
631
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
632
- # will be updated or deleted only if the etag you provide matches the resource's current etag value.
632
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
633
633
  #
634
634
  # @return [Response] A Response object with data of type nil
635
635
  def delete_group(group_id, opts = {})
@@ -666,7 +666,7 @@ module OracleBMC
666
666
  # @param [Hash] opts the optional parameters
667
667
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
668
668
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
669
- # will be updated or deleted only if the etag you provide matches the resource's current etag value.
669
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
670
670
  #
671
671
  # @return [Response] A Response object with data of type nil
672
672
  def delete_identity_provider(identity_provider_id, opts = {})
@@ -702,7 +702,7 @@ module OracleBMC
702
702
  # @param [Hash] opts the optional parameters
703
703
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
704
704
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
705
- # will be updated or deleted only if the etag you provide matches the resource's current etag value.
705
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
706
706
  #
707
707
  # @return [Response] A Response object with data of type nil
708
708
  def delete_idp_group_mapping(identity_provider_id, mapping_id, opts = {})
@@ -738,7 +738,7 @@ module OracleBMC
738
738
  # @param [Hash] opts the optional parameters
739
739
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
740
740
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
741
- # will be updated or deleted only if the etag you provide matches the resource's current etag value.
741
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
742
742
  #
743
743
  # @return [Response] A Response object with data of type nil
744
744
  def delete_policy(policy_id, opts = {})
@@ -775,7 +775,7 @@ module OracleBMC
775
775
  # @param [Hash] opts the optional parameters
776
776
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
777
777
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
778
- # will be updated or deleted only if the etag you provide matches the resource's current etag value.
778
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
779
779
  #
780
780
  # @return [Response] A Response object with data of type nil
781
781
  def delete_swift_password(user_id, swift_password_id, opts = {})
@@ -811,7 +811,7 @@ module OracleBMC
811
811
  # @param [Hash] opts the optional parameters
812
812
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
813
813
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
814
- # will be updated or deleted only if the etag you provide matches the resource's current etag value.
814
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
815
815
  #
816
816
  # @return [Response] A Response object with data of type nil
817
817
  def delete_user(user_id, opts = {})
@@ -1182,9 +1182,9 @@ module OracleBMC
1182
1182
  # @param [String] compartment_id The OCID of the compartment (remember that the tenancy is simply the root compartment).
1183
1183
  #
1184
1184
  # @param [Hash] opts the optional parameters
1185
- # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
1185
+ # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
1186
1186
  #
1187
- # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
1187
+ # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
1188
1188
  #
1189
1189
  # @return [Response] A Response object with data of type Array<OracleBMC::Identity::Models::Compartment>
1190
1190
  def list_compartments(compartment_id, opts = {})
@@ -1224,9 +1224,9 @@ module OracleBMC
1224
1224
  # @param [String] compartment_id The OCID of the compartment (remember that the tenancy is simply the root compartment).
1225
1225
  #
1226
1226
  # @param [Hash] opts the optional parameters
1227
- # @option opts [String] :page The value of the `opc-next-page` response header from the previous \&quot;List\&quot; call.
1227
+ # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
1228
1228
  #
1229
- # @option opts [Integer] :limit The maximum number of items to return in a paginated \&quot;List\&quot; call.
1229
+ # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
1230
1230
  #
1231
1231
  # @return [Response] A Response object with data of type Array<OracleBMC::Identity::Models::Group>
1232
1232
  def list_groups(compartment_id, opts = {})
@@ -1268,9 +1268,9 @@ module OracleBMC
1268
1268
  # @param [String] compartment_id The OCID of the compartment (remember that the tenancy is simply the root compartment).
1269
1269
  #
1270
1270
  # @param [Hash] opts the optional parameters
1271
- # @option opts [String] :page The value of the `opc-next-page` response header from the previous \&quot;List\&quot; call.
1271
+ # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
1272
1272
  #
1273
- # @option opts [Integer] :limit The maximum number of items to return in a paginated \&quot;List\&quot; call.
1273
+ # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
1274
1274
  #
1275
1275
  # @return [Response] A Response object with data of type Array<OracleBMC::Identity::Models::IdentityProvider>
1276
1276
  def list_identity_providers(protocol, compartment_id, opts = {})
@@ -1312,9 +1312,9 @@ module OracleBMC
1312
1312
  #
1313
1313
  # @param [String] identity_provider_id The OCID of the identity provider.
1314
1314
  # @param [Hash] opts the optional parameters
1315
- # @option opts [String] :page The value of the `opc-next-page` response header from the previous \&quot;List\&quot; call.
1315
+ # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
1316
1316
  #
1317
- # @option opts [Integer] :limit The maximum number of items to return in a paginated \&quot;List\&quot; call.
1317
+ # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
1318
1318
  #
1319
1319
  # @return [Response] A Response object with data of type Array<OracleBMC::Identity::Models::IdpGroupMapping>
1320
1320
  def list_idp_group_mappings(identity_provider_id, opts = {})
@@ -1355,9 +1355,9 @@ module OracleBMC
1355
1355
  # @param [String] compartment_id The OCID of the compartment (remember that the tenancy is simply the root compartment).
1356
1356
  #
1357
1357
  # @param [Hash] opts the optional parameters
1358
- # @option opts [String] :page The value of the `opc-next-page` response header from the previous \&quot;List\&quot; call.
1358
+ # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
1359
1359
  #
1360
- # @option opts [Integer] :limit The maximum number of items to return in a paginated \&quot;List\&quot; call.
1360
+ # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
1361
1361
  #
1362
1362
  # @return [Response] A Response object with data of type Array<OracleBMC::Identity::Models::Policy>
1363
1363
  def list_policies(compartment_id, opts = {})
@@ -1498,9 +1498,9 @@ module OracleBMC
1498
1498
  # @param [Hash] opts the optional parameters
1499
1499
  # @option opts [String] :user_id The OCID of the user.
1500
1500
  # @option opts [String] :group_id The OCID of the group.
1501
- # @option opts [String] :page The value of the `opc-next-page` response header from the previous \&quot;List\&quot; call.
1501
+ # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
1502
1502
  #
1503
- # @option opts [Integer] :limit The maximum number of items to return in a paginated \&quot;List\&quot; call.
1503
+ # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
1504
1504
  #
1505
1505
  # @return [Response] A Response object with data of type Array<OracleBMC::Identity::Models::UserGroupMembership>
1506
1506
  def list_user_group_memberships(compartment_id, opts = {})
@@ -1542,9 +1542,9 @@ module OracleBMC
1542
1542
  # @param [String] compartment_id The OCID of the compartment (remember that the tenancy is simply the root compartment).
1543
1543
  #
1544
1544
  # @param [Hash] opts the optional parameters
1545
- # @option opts [String] :page The value of the `opc-next-page` response header from the previous \&quot;List\&quot; call.
1545
+ # @option opts [String] :page The value of the `opc-next-page` response header from the previous \"List\" call.
1546
1546
  #
1547
- # @option opts [Integer] :limit The maximum number of items to return in a paginated \&quot;List\&quot; call.
1547
+ # @option opts [Integer] :limit The maximum number of items to return in a paginated \"List\" call.
1548
1548
  #
1549
1549
  # @return [Response] A Response object with data of type Array<OracleBMC::Identity::Models::User>
1550
1550
  def list_users(compartment_id, opts = {})
@@ -1582,7 +1582,7 @@ module OracleBMC
1582
1582
  # @param [Hash] opts the optional parameters
1583
1583
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
1584
1584
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
1585
- # will be updated or deleted only if the etag you provide matches the resource&#39;s current etag value.
1585
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
1586
1586
  #
1587
1587
  # @return [Response] A Response object with data of type nil
1588
1588
  def remove_user_from_group(user_group_membership_id, opts = {})
@@ -1618,7 +1618,7 @@ module OracleBMC
1618
1618
  # @param [Hash] opts the optional parameters
1619
1619
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
1620
1620
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
1621
- # will be updated or deleted only if the etag you provide matches the resource&#39;s current etag value.
1621
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
1622
1622
  #
1623
1623
  # @return [Response] A Response object with data of type OracleBMC::Identity::Models::Compartment
1624
1624
  def update_compartment(compartment_id, update_compartment_details, opts = {})
@@ -1656,7 +1656,7 @@ module OracleBMC
1656
1656
  # @param [Hash] opts the optional parameters
1657
1657
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
1658
1658
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
1659
- # will be updated or deleted only if the etag you provide matches the resource&#39;s current etag value.
1659
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
1660
1660
  #
1661
1661
  # @return [Response] A Response object with data of type OracleBMC::Identity::Models::Group
1662
1662
  def update_group(group_id, update_group_details, opts = {})
@@ -1694,7 +1694,7 @@ module OracleBMC
1694
1694
  # @param [Hash] opts the optional parameters
1695
1695
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
1696
1696
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
1697
- # will be updated or deleted only if the etag you provide matches the resource&#39;s current etag value.
1697
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
1698
1698
  #
1699
1699
  # @return [Response] A Response object with data of type OracleBMC::Identity::Models::IdentityProvider
1700
1700
  def update_identity_provider(identity_provider_id, update_identity_provider_details, opts = {})
@@ -1733,7 +1733,7 @@ module OracleBMC
1733
1733
  # @param [Hash] opts the optional parameters
1734
1734
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
1735
1735
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
1736
- # will be updated or deleted only if the etag you provide matches the resource&#39;s current etag value.
1736
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
1737
1737
  #
1738
1738
  # @return [Response] A Response object with data of type OracleBMC::Identity::Models::IdpGroupMapping
1739
1739
  def update_idp_group_mapping(identity_provider_id, mapping_id, update_idp_group_mapping_details, opts = {})
@@ -1775,7 +1775,7 @@ module OracleBMC
1775
1775
  # @param [Hash] opts the optional parameters
1776
1776
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
1777
1777
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
1778
- # will be updated or deleted only if the etag you provide matches the resource&#39;s current etag value.
1778
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
1779
1779
  #
1780
1780
  # @return [Response] A Response object with data of type OracleBMC::Identity::Models::Policy
1781
1781
  def update_policy(policy_id, update_policy_details, opts = {})
@@ -1815,7 +1815,7 @@ module OracleBMC
1815
1815
  # @param [Hash] opts the optional parameters
1816
1816
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
1817
1817
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
1818
- # will be updated or deleted only if the etag you provide matches the resource&#39;s current etag value.
1818
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
1819
1819
  #
1820
1820
  # @return [Response] A Response object with data of type OracleBMC::Identity::Models::SwiftPassword
1821
1821
  def update_swift_password(user_id, swift_password_id, update_swift_password_details, opts = {})
@@ -1854,7 +1854,7 @@ module OracleBMC
1854
1854
  # @param [Hash] opts the optional parameters
1855
1855
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
1856
1856
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
1857
- # will be updated or deleted only if the etag you provide matches the resource&#39;s current etag value.
1857
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
1858
1858
  #
1859
1859
  # @return [Response] A Response object with data of type OracleBMC::Identity::Models::User
1860
1860
  def update_user(user_id, update_user_details, opts = {})
@@ -1893,7 +1893,7 @@ module OracleBMC
1893
1893
  # @param [Hash] opts the optional parameters
1894
1894
  # @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
1895
1895
  # parameter to the value of the etag from a previous GET or POST response for that resource. The resource
1896
- # will be updated or deleted only if the etag you provide matches the resource&#39;s current etag value.
1896
+ # will be updated or deleted only if the etag you provide matches the resource's current etag value.
1897
1897
  #
1898
1898
  # @return [Response] A Response object with data of type OracleBMC::Identity::Models::User
1899
1899
  def update_user_state(user_id, update_state_details, opts = {})
@@ -21,15 +21,14 @@ module OracleBMC
21
21
  # convert string to symbol for hash key
22
22
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
23
23
 
24
-
25
24
  if attributes[:'userId']
26
25
  self.user_id = attributes[:'userId']
27
26
  end
28
-
27
+
29
28
  if attributes[:'groupId']
30
29
  self.group_id = attributes[:'groupId']
31
30
  end
32
-
31
+
33
32
  end
34
33
 
35
34
  # Checks equality by comparing each attribute.
@@ -56,35 +56,34 @@ module OracleBMC
56
56
  # convert string to symbol for hash key
57
57
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
58
58
 
59
-
60
59
  if attributes[:'keyId']
61
60
  self.key_id = attributes[:'keyId']
62
61
  end
63
-
62
+
64
63
  if attributes[:'keyValue']
65
64
  self.key_value = attributes[:'keyValue']
66
65
  end
67
-
66
+
68
67
  if attributes[:'fingerprint']
69
68
  self.fingerprint = attributes[:'fingerprint']
70
69
  end
71
-
70
+
72
71
  if attributes[:'userId']
73
72
  self.user_id = attributes[:'userId']
74
73
  end
75
-
74
+
76
75
  if attributes[:'timeCreated']
77
76
  self.time_created = attributes[:'timeCreated']
78
77
  end
79
-
78
+
80
79
  if attributes[:'lifecycleState']
81
80
  self.lifecycle_state = attributes[:'lifecycleState']
82
81
  end
83
-
82
+
84
83
  if attributes[:'inactiveStatus']
85
84
  self.inactive_status = attributes[:'inactiveStatus']
86
85
  end
87
-
86
+
88
87
  end
89
88
 
90
89
  # Custom attribute writer method checking allowed values (enum).
@@ -21,15 +21,14 @@ module OracleBMC
21
21
  # convert string to symbol for hash key
22
22
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
23
23
 
24
-
25
24
  if attributes[:'name']
26
25
  self.name = attributes[:'name']
27
26
  end
28
-
27
+
29
28
  if attributes[:'compartmentId']
30
29
  self.compartment_id = attributes[:'compartmentId']
31
30
  end
32
-
31
+
33
32
  end
34
33
 
35
34
  # Checks equality by comparing each attribute.
@@ -56,35 +56,34 @@ module OracleBMC
56
56
  # convert string to symbol for hash key
57
57
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
58
58
 
59
-
60
59
  if attributes[:'id']
61
60
  self.id = attributes[:'id']
62
61
  end
63
-
62
+
64
63
  if attributes[:'compartmentId']
65
64
  self.compartment_id = attributes[:'compartmentId']
66
65
  end
67
-
66
+
68
67
  if attributes[:'name']
69
68
  self.name = attributes[:'name']
70
69
  end
71
-
70
+
72
71
  if attributes[:'description']
73
72
  self.description = attributes[:'description']
74
73
  end
75
-
74
+
76
75
  if attributes[:'timeCreated']
77
76
  self.time_created = attributes[:'timeCreated']
78
77
  end
79
-
78
+
80
79
  if attributes[:'lifecycleState']
81
80
  self.lifecycle_state = attributes[:'lifecycleState']
82
81
  end
83
-
82
+
84
83
  if attributes[:'inactiveStatus']
85
84
  self.inactive_status = attributes[:'inactiveStatus']
86
85
  end
87
-
86
+
88
87
  end
89
88
 
90
89
  # Custom attribute writer method checking allowed values (enum).
@@ -17,11 +17,10 @@ module OracleBMC
17
17
  # convert string to symbol for hash key
18
18
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
19
19
 
20
-
21
20
  if attributes[:'key']
22
21
  self.key = attributes[:'key']
23
22
  end
24
-
23
+
25
24
  end
26
25
 
27
26
  # Checks equality by comparing each attribute.
@@ -28,19 +28,18 @@ module OracleBMC
28
28
  # convert string to symbol for hash key
29
29
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
30
30
 
31
-
32
31
  if attributes[:'compartmentId']
33
32
  self.compartment_id = attributes[:'compartmentId']
34
33
  end
35
-
34
+
36
35
  if attributes[:'name']
37
36
  self.name = attributes[:'name']
38
37
  end
39
-
38
+
40
39
  if attributes[:'description']
41
40
  self.description = attributes[:'description']
42
41
  end
43
-
42
+
44
43
  end
45
44
 
46
45
  # Checks equality by comparing each attribute.
@@ -27,19 +27,18 @@ module OracleBMC
27
27
  # convert string to symbol for hash key
28
28
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
29
29
 
30
-
31
30
  if attributes[:'compartmentId']
32
31
  self.compartment_id = attributes[:'compartmentId']
33
32
  end
34
-
33
+
35
34
  if attributes[:'name']
36
35
  self.name = attributes[:'name']
37
36
  end
38
-
37
+
39
38
  if attributes[:'description']
40
39
  self.description = attributes[:'description']
41
40
  end
42
-
41
+
43
42
  end
44
43
 
45
44
  # Checks equality by comparing each attribute.
@@ -61,27 +61,26 @@ module OracleBMC
61
61
  # convert string to symbol for hash key
62
62
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
63
63
 
64
-
65
64
  if attributes[:'compartmentId']
66
65
  self.compartment_id = attributes[:'compartmentId']
67
66
  end
68
-
67
+
69
68
  if attributes[:'name']
70
69
  self.name = attributes[:'name']
71
70
  end
72
-
71
+
73
72
  if attributes[:'description']
74
73
  self.description = attributes[:'description']
75
74
  end
76
-
75
+
77
76
  if attributes[:'productType']
78
77
  self.product_type = attributes[:'productType']
79
78
  end
80
-
79
+
81
80
  if attributes[:'protocol']
82
81
  self.protocol = attributes[:'protocol']
83
82
  end
84
-
83
+
85
84
  end
86
85
 
87
86
  # Custom attribute writer method checking allowed values (enum).