oci 2.5.11 → 2.6.0
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.
- checksums.yaml +4 -4
- data/README.md +3 -1
- data/lib/oci.rb +1 -0
- data/lib/oci/auth/federation_client.rb +2 -1
- data/lib/oci/auth/signers/instance_principals_security_token_signer.rb +6 -1
- data/lib/oci/auth/url_based_certificate_retriever.rb +6 -2
- data/lib/oci/auth/util.rb +18 -0
- data/lib/oci/core/compute_client.rb +730 -48
- data/lib/oci/core/compute_client_composite_operations.rb +119 -0
- data/lib/oci/core/compute_management_client.rb +11 -4
- data/lib/oci/core/core.rb +13 -0
- data/lib/oci/core/models/add_security_rule_details.rb +4 -2
- data/lib/oci/core/models/attach_vnic_details.rb +1 -0
- data/lib/oci/core/models/capture_console_history_details.rb +1 -0
- data/lib/oci/core/models/change_dedicated_vm_host_compartment_details.rb +155 -0
- data/lib/oci/core/models/change_dhcp_options_compartment_details.rb +155 -0
- data/lib/oci/core/models/change_internet_gateway_compartment_details.rb +155 -0
- data/lib/oci/core/models/change_local_peering_gateway_compartment_details.rb +155 -0
- data/lib/oci/core/models/change_network_security_group_compartment_details.rb +155 -0
- data/lib/oci/core/models/change_public_ip_compartment_details.rb +155 -0
- data/lib/oci/core/models/create_dedicated_vm_host_details.rb +262 -0
- data/lib/oci/core/models/create_drg_attachment_details.rb +4 -2
- data/lib/oci/core/models/create_image_details.rb +1 -1
- data/lib/oci/core/models/create_instance_configuration_base.rb +16 -6
- data/lib/oci/core/models/create_instance_configuration_details.rb +1 -1
- data/lib/oci/core/models/create_instance_configuration_from_instance_details.rb +3 -2
- data/lib/oci/core/models/create_instance_pool_details.rb +3 -1
- data/lib/oci/core/models/create_local_peering_gateway_details.rb +1 -1
- data/lib/oci/core/models/create_service_gateway_details.rb +1 -1
- data/lib/oci/core/models/create_volume_group_backup_details.rb +3 -1
- data/lib/oci/core/models/create_volume_group_details.rb +1 -1
- data/lib/oci/core/models/cross_connect_mapping.rb +4 -0
- data/lib/oci/core/models/dedicated_vm_host.rb +359 -0
- data/lib/oci/core/models/dedicated_vm_host_instance_shape_summary.rb +170 -0
- data/lib/oci/core/models/dedicated_vm_host_instance_summary.rb +215 -0
- data/lib/oci/core/models/dedicated_vm_host_shape_summary.rb +171 -0
- data/lib/oci/core/models/dedicated_vm_host_summary.rb +325 -0
- data/lib/oci/core/models/drg_attachment.rb +6 -3
- data/lib/oci/core/models/egress_security_rule.rb +1 -0
- data/lib/oci/core/models/image.rb +2 -0
- data/lib/oci/core/models/ingress_security_rule.rb +2 -1
- data/lib/oci/core/models/instance.rb +16 -1
- data/lib/oci/core/models/instance_configuration.rb +10 -7
- data/lib/oci/core/models/ipv6.rb +2 -0
- data/lib/oci/core/models/launch_instance_details.rb +16 -1
- data/lib/oci/core/models/launch_options.rb +3 -2
- data/lib/oci/core/models/local_peering_gateway.rb +4 -3
- data/lib/oci/core/models/route_rule.rb +2 -1
- data/lib/oci/core/models/security_rule.rb +3 -1
- data/lib/oci/core/models/service_gateway.rb +4 -3
- data/lib/oci/core/models/subnet.rb +2 -1
- data/lib/oci/core/models/update_console_history_details.rb +1 -0
- data/lib/oci/core/models/update_dedicated_vm_host_details.rb +194 -0
- data/lib/oci/core/models/update_drg_attachment_details.rb +6 -3
- data/lib/oci/core/models/update_instance_pool_details.rb +3 -1
- data/lib/oci/core/models/update_local_peering_gateway_details.rb +4 -3
- data/lib/oci/core/models/update_network_security_group_details.rb +2 -0
- data/lib/oci/core/models/update_security_rule_details.rb +4 -2
- data/lib/oci/core/models/update_service_gateway_details.rb +4 -3
- data/lib/oci/core/models/update_vnic_details.rb +2 -0
- data/lib/oci/core/models/update_volume_backup_details.rb +1 -1
- data/lib/oci/core/models/update_volume_group_backup_details.rb +2 -1
- data/lib/oci/core/models/update_volume_group_details.rb +2 -1
- data/lib/oci/core/models/vcn.rb +2 -1
- data/lib/oci/core/models/volume_backup_schedule.rb +1 -1
- data/lib/oci/core/virtual_network_client.rb +396 -59
- data/lib/oci/dts/dts.rb +57 -0
- data/lib/oci/dts/models/attach_devices_details.rb +153 -0
- data/lib/oci/dts/models/change_transfer_job_compartment_details.rb +154 -0
- data/lib/oci/dts/models/create_transfer_appliance_details.rb +152 -0
- data/lib/oci/dts/models/create_transfer_appliance_entitlement_details.rb +178 -0
- data/lib/oci/dts/models/create_transfer_device_details.rb +165 -0
- data/lib/oci/dts/models/create_transfer_job_details.rb +238 -0
- data/lib/oci/dts/models/create_transfer_package_details.rb +178 -0
- data/lib/oci/dts/models/detach_devices_details.rb +153 -0
- data/lib/oci/dts/models/multiple_transfer_appliances.rb +153 -0
- data/lib/oci/dts/models/multiple_transfer_devices.rb +153 -0
- data/lib/oci/dts/models/multiple_transfer_packages.rb +153 -0
- data/lib/oci/dts/models/new_transfer_device.rb +246 -0
- data/lib/oci/dts/models/shipping_address.rb +263 -0
- data/lib/oci/dts/models/shipping_vendors.rb +149 -0
- data/lib/oci/dts/models/transfer_appliance.rb +367 -0
- data/lib/oci/dts/models/transfer_appliance_certificate.rb +148 -0
- data/lib/oci/dts/models/transfer_appliance_encryption_passphrase.rb +152 -0
- data/lib/oci/dts/models/transfer_appliance_entitlement.rb +240 -0
- data/lib/oci/dts/models/transfer_appliance_public_key.rb +152 -0
- data/lib/oci/dts/models/transfer_appliance_summary.rb +223 -0
- data/lib/oci/dts/models/transfer_device.rb +268 -0
- data/lib/oci/dts/models/transfer_device_summary.rb +254 -0
- data/lib/oci/dts/models/transfer_job.rb +356 -0
- data/lib/oci/dts/models/transfer_job_summary.rb +296 -0
- data/lib/oci/dts/models/transfer_package.rb +281 -0
- data/lib/oci/dts/models/transfer_package_summary.rb +201 -0
- data/lib/oci/dts/models/update_transfer_appliance_details.rb +180 -0
- data/lib/oci/dts/models/update_transfer_device_details.rb +166 -0
- data/lib/oci/dts/models/update_transfer_job_details.rb +237 -0
- data/lib/oci/dts/models/update_transfer_package_details.rb +204 -0
- data/lib/oci/dts/shipping_vendors_client.rb +165 -0
- data/lib/oci/dts/shipping_vendors_client_composite_operations.rb +24 -0
- data/lib/oci/dts/transfer_appliance_client.rb +569 -0
- data/lib/oci/dts/transfer_appliance_client_composite_operations.rb +104 -0
- data/lib/oci/dts/transfer_appliance_entitlement_client.rb +223 -0
- data/lib/oci/dts/transfer_appliance_entitlement_client_composite_operations.rb +24 -0
- data/lib/oci/dts/transfer_device_client.rb +402 -0
- data/lib/oci/dts/transfer_device_client_composite_operations.rb +65 -0
- data/lib/oci/dts/transfer_job_client.rb +458 -0
- data/lib/oci/dts/transfer_job_client_composite_operations.rb +143 -0
- data/lib/oci/dts/transfer_package_client.rb +515 -0
- data/lib/oci/dts/transfer_package_client_composite_operations.rb +104 -0
- data/lib/oci/dts/util.rb +2 -0
- data/lib/oci/file_storage/models/create_file_system_details.rb +19 -4
- data/lib/oci/file_storage/models/file_system.rb +19 -4
- data/lib/oci/file_storage/models/file_system_summary.rb +19 -4
- data/lib/oci/file_storage/models/update_file_system_details.rb +22 -4
- data/lib/oci/limits/limits.rb +5 -0
- data/lib/oci/limits/limits_client.rb +444 -0
- data/lib/oci/limits/limits_client_composite_operations.rb +24 -0
- data/lib/oci/limits/models/create_quota_details.rb +1 -1
- data/lib/oci/limits/models/limit_definition_summary.rb +241 -0
- data/lib/oci/limits/models/limit_value_summary.rb +210 -0
- data/lib/oci/limits/models/quota.rb +1 -1
- data/lib/oci/limits/models/resource_availability.rb +163 -0
- data/lib/oci/limits/models/service_summary.rb +159 -0
- data/lib/oci/limits/models/update_quota_details.rb +1 -1
- data/lib/oci/limits/quotas_client.rb +12 -11
- data/lib/oci/monitoring/models/alarm.rb +20 -1
- data/lib/oci/monitoring/models/create_alarm_details.rb +20 -1
- data/lib/oci/monitoring/models/list_metrics_details.rb +23 -3
- data/lib/oci/monitoring/models/metric.rb +20 -1
- data/lib/oci/monitoring/models/metric_data.rb +20 -1
- data/lib/oci/monitoring/models/metric_data_details.rb +20 -1
- data/lib/oci/monitoring/models/summarize_metrics_data_details.rb +20 -1
- data/lib/oci/monitoring/models/update_alarm_details.rb +20 -1
- data/lib/oci/regions.rb +14 -8
- data/lib/oci/streaming/models/archiver.rb +291 -0
- data/lib/oci/streaming/models/archiver_error.rb +159 -0
- data/lib/oci/streaming/models/archiver_lifecycle_state.rb +14 -0
- data/lib/oci/streaming/models/archiver_start_position.rb +10 -0
- data/lib/oci/streaming/models/create_archiver_details.rb +223 -0
- data/lib/oci/streaming/models/update_archiver_details.rb +222 -0
- data/lib/oci/streaming/stream_admin_client.rb +304 -0
- data/lib/oci/streaming/stream_admin_client_composite_operations.rb +162 -0
- data/lib/oci/streaming/streaming.rb +6 -0
- data/lib/oci/version.rb +1 -1
- data/lib/oci/waas/models/access_rule.rb +121 -4
- data/lib/oci/waas/models/access_rule_criteria.rb +12 -0
- data/lib/oci/waas/models/address_list.rb +289 -0
- data/lib/oci/waas/models/address_list_summary.rb +279 -0
- data/lib/oci/waas/models/caching_rule.rb +243 -0
- data/lib/oci/waas/models/caching_rule_criteria.rb +194 -0
- data/lib/oci/waas/models/caching_rule_summary.rb +246 -0
- data/lib/oci/waas/models/certificate.rb +22 -9
- data/lib/oci/waas/models/certificate_extensions.rb +3 -0
- data/lib/oci/waas/models/certificate_issuer_name.rb +225 -0
- data/lib/oci/waas/models/certificate_public_key_info.rb +4 -1
- data/lib/oci/waas/models/certificate_subject_name.rb +8 -1
- data/lib/oci/waas/models/certificate_summary.rb +10 -2
- data/lib/oci/waas/models/change_address_list_compartment_details.rb +154 -0
- data/lib/oci/waas/models/change_custom_protection_rule_compartment_details.rb +154 -0
- data/lib/oci/waas/models/create_address_list_details.rb +213 -0
- data/lib/oci/waas/models/create_certificate_details.rb +22 -3
- data/lib/oci/waas/models/create_custom_protection_rule_details.rb +251 -0
- data/lib/oci/waas/models/create_waas_policy_details.rb +26 -4
- data/lib/oci/waas/models/custom_protection_rule.rb +326 -0
- data/lib/oci/waas/models/custom_protection_rule_setting.rb +180 -0
- data/lib/oci/waas/models/custom_protection_rule_summary.rb +279 -0
- data/lib/oci/waas/models/origin_group.rb +149 -0
- data/lib/oci/waas/models/origin_group_origins.rb +159 -0
- data/lib/oci/waas/models/policy_config.rb +201 -4
- data/lib/oci/waas/models/protection_rule_exclusion.rb +2 -2
- data/lib/oci/waas/models/purge_cache.rb +149 -0
- data/lib/oci/waas/models/update_address_list_details.rb +199 -0
- data/lib/oci/waas/models/update_certificate_details.rb +10 -2
- data/lib/oci/waas/models/update_custom_protection_rule_details.rb +237 -0
- data/lib/oci/waas/models/update_waas_policy_details.rb +26 -4
- data/lib/oci/waas/models/waas_policy.rb +25 -3
- data/lib/oci/waas/models/waas_policy_custom_protection_rule_summary.rb +207 -0
- data/lib/oci/waas/models/waas_policy_summary.rb +10 -2
- data/lib/oci/waas/models/waf_config.rb +43 -1
- data/lib/oci/waas/models/waf_config_details.rb +43 -1
- data/lib/oci/waas/models/waf_log.rb +3 -3
- data/lib/oci/waas/models/work_request.rb +4 -1
- data/lib/oci/waas/models/work_request_operation_types.rb +4 -1
- data/lib/oci/waas/models/work_request_summary.rb +4 -1
- data/lib/oci/waas/waas.rb +19 -0
- data/lib/oci/waas/waas_client.rb +1147 -61
- data/lib/oci/waas/waas_client_composite_operations.rb +386 -0
- metadata +90 -2
|
@@ -74,6 +74,45 @@ module OCI
|
|
|
74
74
|
# rubocop:disable Layout/EmptyLines
|
|
75
75
|
|
|
76
76
|
|
|
77
|
+
# Calls {OCI::Waas::WaasClient#create_address_list} and then waits for the {OCI::Waas::Models::AddressList} acted upon
|
|
78
|
+
# to enter the given state(s).
|
|
79
|
+
#
|
|
80
|
+
# @param [OCI::Waas::Models::CreateAddressListDetails] create_address_list_details The details of the address list resource to create.
|
|
81
|
+
# @param [Array<String>] wait_for_states An array of states to wait on. These should be valid values for {OCI::Waas::Models::AddressList#lifecycle_state}
|
|
82
|
+
# @param [Hash] base_operation_opts Any optional arguments accepted by {OCI::Waas::WaasClient#create_address_list}
|
|
83
|
+
# @param [Hash] waiter_opts Optional arguments for the waiter. Keys should be symbols, and the following keys are supported:
|
|
84
|
+
# * max_interval_seconds: The maximum interval between queries, in seconds.
|
|
85
|
+
# * max_wait_seconds The maximum time to wait, in seconds
|
|
86
|
+
#
|
|
87
|
+
# @return [OCI::Response] A {OCI::Response} object with data of type {OCI::Waas::Models::AddressList}
|
|
88
|
+
def create_address_list_and_wait_for_state(create_address_list_details, wait_for_states = [], base_operation_opts = {}, waiter_opts = {})
|
|
89
|
+
operation_result = @service_client.create_address_list(create_address_list_details, base_operation_opts)
|
|
90
|
+
|
|
91
|
+
return operation_result if wait_for_states.empty?
|
|
92
|
+
|
|
93
|
+
lowered_wait_for_states = wait_for_states.map(&:downcase)
|
|
94
|
+
wait_for_resource_id = operation_result.data.id
|
|
95
|
+
|
|
96
|
+
begin
|
|
97
|
+
waiter_result = @service_client.get_address_list(wait_for_resource_id).wait_until(
|
|
98
|
+
eval_proc: ->(response) { response.data.respond_to?(:lifecycle_state) && lowered_wait_for_states.include?(response.data.lifecycle_state.downcase) },
|
|
99
|
+
max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
|
|
100
|
+
max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200
|
|
101
|
+
)
|
|
102
|
+
result_to_return = waiter_result
|
|
103
|
+
|
|
104
|
+
return result_to_return
|
|
105
|
+
rescue StandardError
|
|
106
|
+
raise OCI::Errors::CompositeOperationError.new(partial_results: [operation_result])
|
|
107
|
+
end
|
|
108
|
+
end
|
|
109
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
|
110
|
+
# rubocop:enable Layout/EmptyLines
|
|
111
|
+
|
|
112
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
|
113
|
+
# rubocop:disable Layout/EmptyLines
|
|
114
|
+
|
|
115
|
+
|
|
77
116
|
# Calls {OCI::Waas::WaasClient#create_certificate} and then waits for the {OCI::Waas::Models::Certificate} acted upon
|
|
78
117
|
# to enter the given state(s).
|
|
79
118
|
#
|
|
@@ -113,6 +152,45 @@ module OCI
|
|
|
113
152
|
# rubocop:disable Layout/EmptyLines
|
|
114
153
|
|
|
115
154
|
|
|
155
|
+
# Calls {OCI::Waas::WaasClient#create_custom_protection_rule} and then waits for the {OCI::Waas::Models::CustomProtectionRule} acted upon
|
|
156
|
+
# to enter the given state(s).
|
|
157
|
+
#
|
|
158
|
+
# @param [OCI::Waas::Models::CreateCustomProtectionRuleDetails] create_custom_protection_rule_details The details of the Custom Protection rule.
|
|
159
|
+
# @param [Array<String>] wait_for_states An array of states to wait on. These should be valid values for {OCI::Waas::Models::CustomProtectionRule#lifecycle_state}
|
|
160
|
+
# @param [Hash] base_operation_opts Any optional arguments accepted by {OCI::Waas::WaasClient#create_custom_protection_rule}
|
|
161
|
+
# @param [Hash] waiter_opts Optional arguments for the waiter. Keys should be symbols, and the following keys are supported:
|
|
162
|
+
# * max_interval_seconds: The maximum interval between queries, in seconds.
|
|
163
|
+
# * max_wait_seconds The maximum time to wait, in seconds
|
|
164
|
+
#
|
|
165
|
+
# @return [OCI::Response] A {OCI::Response} object with data of type {OCI::Waas::Models::CustomProtectionRule}
|
|
166
|
+
def create_custom_protection_rule_and_wait_for_state(create_custom_protection_rule_details, wait_for_states = [], base_operation_opts = {}, waiter_opts = {})
|
|
167
|
+
operation_result = @service_client.create_custom_protection_rule(create_custom_protection_rule_details, base_operation_opts)
|
|
168
|
+
|
|
169
|
+
return operation_result if wait_for_states.empty?
|
|
170
|
+
|
|
171
|
+
lowered_wait_for_states = wait_for_states.map(&:downcase)
|
|
172
|
+
wait_for_resource_id = operation_result.data.id
|
|
173
|
+
|
|
174
|
+
begin
|
|
175
|
+
waiter_result = @service_client.get_custom_protection_rule(wait_for_resource_id).wait_until(
|
|
176
|
+
eval_proc: ->(response) { response.data.respond_to?(:lifecycle_state) && lowered_wait_for_states.include?(response.data.lifecycle_state.downcase) },
|
|
177
|
+
max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
|
|
178
|
+
max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200
|
|
179
|
+
)
|
|
180
|
+
result_to_return = waiter_result
|
|
181
|
+
|
|
182
|
+
return result_to_return
|
|
183
|
+
rescue StandardError
|
|
184
|
+
raise OCI::Errors::CompositeOperationError.new(partial_results: [operation_result])
|
|
185
|
+
end
|
|
186
|
+
end
|
|
187
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
|
188
|
+
# rubocop:enable Layout/EmptyLines
|
|
189
|
+
|
|
190
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
|
191
|
+
# rubocop:disable Layout/EmptyLines
|
|
192
|
+
|
|
193
|
+
|
|
116
194
|
# Calls {OCI::Waas::WaasClient#create_waas_policy} and then waits for the {OCI::Waas::Models::WorkRequest}
|
|
117
195
|
# to enter the given state(s).
|
|
118
196
|
#
|
|
@@ -162,6 +240,46 @@ module OCI
|
|
|
162
240
|
# rubocop:disable Layout/EmptyLines
|
|
163
241
|
|
|
164
242
|
|
|
243
|
+
# Calls {OCI::Waas::WaasClient#delete_address_list} and then waits for the {OCI::Waas::Models::AddressList} acted upon
|
|
244
|
+
# to enter the given state(s).
|
|
245
|
+
#
|
|
246
|
+
# @param [String] address_list_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address list. This number is generated when the address list is added to the compartment.
|
|
247
|
+
# @param [Array<String>] wait_for_states An array of states to wait on. These should be valid values for {OCI::Waas::Models::AddressList#lifecycle_state}
|
|
248
|
+
# @param [Hash] base_operation_opts Any optional arguments accepted by {OCI::Waas::WaasClient#delete_address_list}
|
|
249
|
+
# @param [Hash] waiter_opts Optional arguments for the waiter. Keys should be symbols, and the following keys are supported:
|
|
250
|
+
# * max_interval_seconds: The maximum interval between queries, in seconds.
|
|
251
|
+
# * max_wait_seconds The maximum time to wait, in seconds
|
|
252
|
+
#
|
|
253
|
+
# @return [OCI::Response] A {OCI::Response} object with data of type nil
|
|
254
|
+
def delete_address_list_and_wait_for_state(address_list_id, wait_for_states = [], base_operation_opts = {}, waiter_opts = {})
|
|
255
|
+
initial_get_result = @service_client.get_address_list(address_list_id)
|
|
256
|
+
operation_result = @service_client.delete_address_list(address_list_id, base_operation_opts)
|
|
257
|
+
|
|
258
|
+
return operation_result if wait_for_states.empty?
|
|
259
|
+
|
|
260
|
+
lowered_wait_for_states = wait_for_states.map(&:downcase)
|
|
261
|
+
|
|
262
|
+
begin
|
|
263
|
+
waiter_result = initial_get_result.wait_until(
|
|
264
|
+
eval_proc: ->(response) { response.data.respond_to?(:lifecycle_state) && lowered_wait_for_states.include?(response.data.lifecycle_state.downcase) },
|
|
265
|
+
max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
|
|
266
|
+
max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200,
|
|
267
|
+
succeed_on_not_found: true
|
|
268
|
+
)
|
|
269
|
+
result_to_return = waiter_result
|
|
270
|
+
|
|
271
|
+
return result_to_return
|
|
272
|
+
rescue StandardError
|
|
273
|
+
raise OCI::Errors::CompositeOperationError.new(partial_results: [operation_result])
|
|
274
|
+
end
|
|
275
|
+
end
|
|
276
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
|
277
|
+
# rubocop:enable Layout/EmptyLines
|
|
278
|
+
|
|
279
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
|
280
|
+
# rubocop:disable Layout/EmptyLines
|
|
281
|
+
|
|
282
|
+
|
|
165
283
|
# Calls {OCI::Waas::WaasClient#delete_certificate} and then waits for the {OCI::Waas::Models::Certificate} acted upon
|
|
166
284
|
# to enter the given state(s).
|
|
167
285
|
#
|
|
@@ -202,6 +320,46 @@ module OCI
|
|
|
202
320
|
# rubocop:disable Layout/EmptyLines
|
|
203
321
|
|
|
204
322
|
|
|
323
|
+
# Calls {OCI::Waas::WaasClient#delete_custom_protection_rule} and then waits for the {OCI::Waas::Models::CustomProtectionRule} acted upon
|
|
324
|
+
# to enter the given state(s).
|
|
325
|
+
#
|
|
326
|
+
# @param [String] custom_protection_rule_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Custom Protection rule. This number is generated when the Custom Protection rule is added to the compartment.
|
|
327
|
+
# @param [Array<String>] wait_for_states An array of states to wait on. These should be valid values for {OCI::Waas::Models::CustomProtectionRule#lifecycle_state}
|
|
328
|
+
# @param [Hash] base_operation_opts Any optional arguments accepted by {OCI::Waas::WaasClient#delete_custom_protection_rule}
|
|
329
|
+
# @param [Hash] waiter_opts Optional arguments for the waiter. Keys should be symbols, and the following keys are supported:
|
|
330
|
+
# * max_interval_seconds: The maximum interval between queries, in seconds.
|
|
331
|
+
# * max_wait_seconds The maximum time to wait, in seconds
|
|
332
|
+
#
|
|
333
|
+
# @return [OCI::Response] A {OCI::Response} object with data of type nil
|
|
334
|
+
def delete_custom_protection_rule_and_wait_for_state(custom_protection_rule_id, wait_for_states = [], base_operation_opts = {}, waiter_opts = {})
|
|
335
|
+
initial_get_result = @service_client.get_custom_protection_rule(custom_protection_rule_id)
|
|
336
|
+
operation_result = @service_client.delete_custom_protection_rule(custom_protection_rule_id, base_operation_opts)
|
|
337
|
+
|
|
338
|
+
return operation_result if wait_for_states.empty?
|
|
339
|
+
|
|
340
|
+
lowered_wait_for_states = wait_for_states.map(&:downcase)
|
|
341
|
+
|
|
342
|
+
begin
|
|
343
|
+
waiter_result = initial_get_result.wait_until(
|
|
344
|
+
eval_proc: ->(response) { response.data.respond_to?(:lifecycle_state) && lowered_wait_for_states.include?(response.data.lifecycle_state.downcase) },
|
|
345
|
+
max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
|
|
346
|
+
max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200,
|
|
347
|
+
succeed_on_not_found: true
|
|
348
|
+
)
|
|
349
|
+
result_to_return = waiter_result
|
|
350
|
+
|
|
351
|
+
return result_to_return
|
|
352
|
+
rescue StandardError
|
|
353
|
+
raise OCI::Errors::CompositeOperationError.new(partial_results: [operation_result])
|
|
354
|
+
end
|
|
355
|
+
end
|
|
356
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
|
357
|
+
# rubocop:enable Layout/EmptyLines
|
|
358
|
+
|
|
359
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
|
360
|
+
# rubocop:disable Layout/EmptyLines
|
|
361
|
+
|
|
362
|
+
|
|
205
363
|
# Calls {OCI::Waas::WaasClient#delete_waas_policy} and then waits for the {OCI::Waas::Models::WorkRequest}
|
|
206
364
|
# to enter the given state(s).
|
|
207
365
|
#
|
|
@@ -251,6 +409,55 @@ module OCI
|
|
|
251
409
|
# rubocop:disable Layout/EmptyLines
|
|
252
410
|
|
|
253
411
|
|
|
412
|
+
# Calls {OCI::Waas::WaasClient#purge_cache} and then waits for the {OCI::Waas::Models::WorkRequest}
|
|
413
|
+
# to enter the given state(s).
|
|
414
|
+
#
|
|
415
|
+
# @param [String] waas_policy_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
|
|
416
|
+
# @param [Array<String>] wait_for_states An array of states to wait on. These should be valid values for {OCI::Waas::Models::WorkRequest#status}
|
|
417
|
+
# @param [Hash] base_operation_opts Any optional arguments accepted by {OCI::Waas::WaasClient#purge_cache}
|
|
418
|
+
# @param [Hash] waiter_opts Optional arguments for the waiter. Keys should be symbols, and the following keys are supported:
|
|
419
|
+
# * max_interval_seconds: The maximum interval between queries, in seconds.
|
|
420
|
+
# * max_wait_seconds The maximum time to wait, in seconds
|
|
421
|
+
#
|
|
422
|
+
# @return [OCI::Response] A {OCI::Response} object containing the completed {OCI::Waas::Models::WorkRequest}
|
|
423
|
+
def purge_cache_and_wait_for_state(waas_policy_id, wait_for_states = [], base_operation_opts = {}, waiter_opts = {})
|
|
424
|
+
operation_result = @service_client.purge_cache(waas_policy_id, base_operation_opts)
|
|
425
|
+
use_util = OCI::Waas::Util.respond_to?(:wait_on_work_request)
|
|
426
|
+
|
|
427
|
+
return operation_result if wait_for_states.empty? && !use_util
|
|
428
|
+
|
|
429
|
+
lowered_wait_for_states = wait_for_states.map(&:downcase)
|
|
430
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
|
431
|
+
|
|
432
|
+
begin
|
|
433
|
+
if use_util
|
|
434
|
+
waiter_result = OCI::Waas::Util.wait_on_work_request(
|
|
435
|
+
@service_client,
|
|
436
|
+
wait_for_resource_id,
|
|
437
|
+
max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
|
|
438
|
+
max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200
|
|
439
|
+
)
|
|
440
|
+
else
|
|
441
|
+
waiter_result = @service_client.get_work_request(wait_for_resource_id).wait_until(
|
|
442
|
+
eval_proc: ->(response) { response.data.respond_to?(:status) && lowered_wait_for_states.include?(response.data.status.downcase) },
|
|
443
|
+
max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
|
|
444
|
+
max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200
|
|
445
|
+
)
|
|
446
|
+
end
|
|
447
|
+
result_to_return = waiter_result
|
|
448
|
+
|
|
449
|
+
return result_to_return
|
|
450
|
+
rescue StandardError
|
|
451
|
+
raise OCI::Errors::CompositeOperationError.new(partial_results: [operation_result])
|
|
452
|
+
end
|
|
453
|
+
end
|
|
454
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
|
455
|
+
# rubocop:enable Layout/EmptyLines
|
|
456
|
+
|
|
457
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
|
458
|
+
# rubocop:disable Layout/EmptyLines
|
|
459
|
+
|
|
460
|
+
|
|
254
461
|
# Calls {OCI::Waas::WaasClient#update_access_rules} and then waits for the {OCI::Waas::Models::WorkRequest}
|
|
255
462
|
# to enter the given state(s).
|
|
256
463
|
#
|
|
@@ -301,6 +508,95 @@ module OCI
|
|
|
301
508
|
# rubocop:disable Layout/EmptyLines
|
|
302
509
|
|
|
303
510
|
|
|
511
|
+
# Calls {OCI::Waas::WaasClient#update_address_list} and then waits for the {OCI::Waas::Models::AddressList} acted upon
|
|
512
|
+
# to enter the given state(s).
|
|
513
|
+
#
|
|
514
|
+
# @param [String] address_list_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address list. This number is generated when the address list is added to the compartment.
|
|
515
|
+
# @param [Array<String>] wait_for_states An array of states to wait on. These should be valid values for {OCI::Waas::Models::AddressList#lifecycle_state}
|
|
516
|
+
# @param [Hash] base_operation_opts Any optional arguments accepted by {OCI::Waas::WaasClient#update_address_list}
|
|
517
|
+
# @param [Hash] waiter_opts Optional arguments for the waiter. Keys should be symbols, and the following keys are supported:
|
|
518
|
+
# * max_interval_seconds: The maximum interval between queries, in seconds.
|
|
519
|
+
# * max_wait_seconds The maximum time to wait, in seconds
|
|
520
|
+
#
|
|
521
|
+
# @return [OCI::Response] A {OCI::Response} object with data of type {OCI::Waas::Models::AddressList}
|
|
522
|
+
def update_address_list_and_wait_for_state(address_list_id, wait_for_states = [], base_operation_opts = {}, waiter_opts = {})
|
|
523
|
+
operation_result = @service_client.update_address_list(address_list_id, base_operation_opts)
|
|
524
|
+
|
|
525
|
+
return operation_result if wait_for_states.empty?
|
|
526
|
+
|
|
527
|
+
lowered_wait_for_states = wait_for_states.map(&:downcase)
|
|
528
|
+
wait_for_resource_id = operation_result.data.id
|
|
529
|
+
|
|
530
|
+
begin
|
|
531
|
+
waiter_result = @service_client.get_address_list(wait_for_resource_id).wait_until(
|
|
532
|
+
eval_proc: ->(response) { response.data.respond_to?(:lifecycle_state) && lowered_wait_for_states.include?(response.data.lifecycle_state.downcase) },
|
|
533
|
+
max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
|
|
534
|
+
max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200
|
|
535
|
+
)
|
|
536
|
+
result_to_return = waiter_result
|
|
537
|
+
|
|
538
|
+
return result_to_return
|
|
539
|
+
rescue StandardError
|
|
540
|
+
raise OCI::Errors::CompositeOperationError.new(partial_results: [operation_result])
|
|
541
|
+
end
|
|
542
|
+
end
|
|
543
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
|
544
|
+
# rubocop:enable Layout/EmptyLines
|
|
545
|
+
|
|
546
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
|
547
|
+
# rubocop:disable Layout/EmptyLines
|
|
548
|
+
|
|
549
|
+
|
|
550
|
+
# Calls {OCI::Waas::WaasClient#update_caching_rules} and then waits for the {OCI::Waas::Models::WorkRequest}
|
|
551
|
+
# to enter the given state(s).
|
|
552
|
+
#
|
|
553
|
+
# @param [String] waas_policy_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
|
|
554
|
+
# @param [Array<OCI::Waas::Models::OCI::Waas::Models::CachingRule>] caching_rules_details
|
|
555
|
+
# @param [Array<String>] wait_for_states An array of states to wait on. These should be valid values for {OCI::Waas::Models::WorkRequest#status}
|
|
556
|
+
# @param [Hash] base_operation_opts Any optional arguments accepted by {OCI::Waas::WaasClient#update_caching_rules}
|
|
557
|
+
# @param [Hash] waiter_opts Optional arguments for the waiter. Keys should be symbols, and the following keys are supported:
|
|
558
|
+
# * max_interval_seconds: The maximum interval between queries, in seconds.
|
|
559
|
+
# * max_wait_seconds The maximum time to wait, in seconds
|
|
560
|
+
#
|
|
561
|
+
# @return [OCI::Response] A {OCI::Response} object containing the completed {OCI::Waas::Models::WorkRequest}
|
|
562
|
+
def update_caching_rules_and_wait_for_state(waas_policy_id, caching_rules_details, wait_for_states = [], base_operation_opts = {}, waiter_opts = {})
|
|
563
|
+
operation_result = @service_client.update_caching_rules(waas_policy_id, caching_rules_details, base_operation_opts)
|
|
564
|
+
use_util = OCI::Waas::Util.respond_to?(:wait_on_work_request)
|
|
565
|
+
|
|
566
|
+
return operation_result if wait_for_states.empty? && !use_util
|
|
567
|
+
|
|
568
|
+
lowered_wait_for_states = wait_for_states.map(&:downcase)
|
|
569
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
|
570
|
+
|
|
571
|
+
begin
|
|
572
|
+
if use_util
|
|
573
|
+
waiter_result = OCI::Waas::Util.wait_on_work_request(
|
|
574
|
+
@service_client,
|
|
575
|
+
wait_for_resource_id,
|
|
576
|
+
max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
|
|
577
|
+
max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200
|
|
578
|
+
)
|
|
579
|
+
else
|
|
580
|
+
waiter_result = @service_client.get_work_request(wait_for_resource_id).wait_until(
|
|
581
|
+
eval_proc: ->(response) { response.data.respond_to?(:status) && lowered_wait_for_states.include?(response.data.status.downcase) },
|
|
582
|
+
max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
|
|
583
|
+
max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200
|
|
584
|
+
)
|
|
585
|
+
end
|
|
586
|
+
result_to_return = waiter_result
|
|
587
|
+
|
|
588
|
+
return result_to_return
|
|
589
|
+
rescue StandardError
|
|
590
|
+
raise OCI::Errors::CompositeOperationError.new(partial_results: [operation_result])
|
|
591
|
+
end
|
|
592
|
+
end
|
|
593
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
|
594
|
+
# rubocop:enable Layout/EmptyLines
|
|
595
|
+
|
|
596
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
|
597
|
+
# rubocop:disable Layout/EmptyLines
|
|
598
|
+
|
|
599
|
+
|
|
304
600
|
# Calls {OCI::Waas::WaasClient#update_captchas} and then waits for the {OCI::Waas::Models::WorkRequest}
|
|
305
601
|
# to enter the given state(s).
|
|
306
602
|
#
|
|
@@ -390,6 +686,46 @@ module OCI
|
|
|
390
686
|
# rubocop:disable Layout/EmptyLines
|
|
391
687
|
|
|
392
688
|
|
|
689
|
+
# Calls {OCI::Waas::WaasClient#update_custom_protection_rule} and then waits for the {OCI::Waas::Models::CustomProtectionRule} acted upon
|
|
690
|
+
# to enter the given state(s).
|
|
691
|
+
#
|
|
692
|
+
# @param [String] custom_protection_rule_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Custom Protection rule. This number is generated when the Custom Protection rule is added to the compartment.
|
|
693
|
+
# @param [OCI::Waas::Models::UpdateCustomProtectionRuleDetails] update_custom_protection_rule_details The details of the Custom Protection rule to update.
|
|
694
|
+
# @param [Array<String>] wait_for_states An array of states to wait on. These should be valid values for {OCI::Waas::Models::CustomProtectionRule#lifecycle_state}
|
|
695
|
+
# @param [Hash] base_operation_opts Any optional arguments accepted by {OCI::Waas::WaasClient#update_custom_protection_rule}
|
|
696
|
+
# @param [Hash] waiter_opts Optional arguments for the waiter. Keys should be symbols, and the following keys are supported:
|
|
697
|
+
# * max_interval_seconds: The maximum interval between queries, in seconds.
|
|
698
|
+
# * max_wait_seconds The maximum time to wait, in seconds
|
|
699
|
+
#
|
|
700
|
+
# @return [OCI::Response] A {OCI::Response} object with data of type {OCI::Waas::Models::CustomProtectionRule}
|
|
701
|
+
def update_custom_protection_rule_and_wait_for_state(custom_protection_rule_id, update_custom_protection_rule_details, wait_for_states = [], base_operation_opts = {}, waiter_opts = {})
|
|
702
|
+
operation_result = @service_client.update_custom_protection_rule(custom_protection_rule_id, update_custom_protection_rule_details, base_operation_opts)
|
|
703
|
+
|
|
704
|
+
return operation_result if wait_for_states.empty?
|
|
705
|
+
|
|
706
|
+
lowered_wait_for_states = wait_for_states.map(&:downcase)
|
|
707
|
+
wait_for_resource_id = operation_result.data.id
|
|
708
|
+
|
|
709
|
+
begin
|
|
710
|
+
waiter_result = @service_client.get_custom_protection_rule(wait_for_resource_id).wait_until(
|
|
711
|
+
eval_proc: ->(response) { response.data.respond_to?(:lifecycle_state) && lowered_wait_for_states.include?(response.data.lifecycle_state.downcase) },
|
|
712
|
+
max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
|
|
713
|
+
max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200
|
|
714
|
+
)
|
|
715
|
+
result_to_return = waiter_result
|
|
716
|
+
|
|
717
|
+
return result_to_return
|
|
718
|
+
rescue StandardError
|
|
719
|
+
raise OCI::Errors::CompositeOperationError.new(partial_results: [operation_result])
|
|
720
|
+
end
|
|
721
|
+
end
|
|
722
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
|
723
|
+
# rubocop:enable Layout/EmptyLines
|
|
724
|
+
|
|
725
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
|
726
|
+
# rubocop:disable Layout/EmptyLines
|
|
727
|
+
|
|
728
|
+
|
|
393
729
|
# Calls {OCI::Waas::WaasClient#update_device_fingerprint_challenge} and then waits for the {OCI::Waas::Models::WorkRequest}
|
|
394
730
|
# to enter the given state(s).
|
|
395
731
|
#
|
|
@@ -840,6 +1176,56 @@ module OCI
|
|
|
840
1176
|
# rubocop:disable Layout/EmptyLines
|
|
841
1177
|
|
|
842
1178
|
|
|
1179
|
+
# Calls {OCI::Waas::WaasClient#update_waas_policy_custom_protection_rules} and then waits for the {OCI::Waas::Models::WorkRequest}
|
|
1180
|
+
# to enter the given state(s).
|
|
1181
|
+
#
|
|
1182
|
+
# @param [String] waas_policy_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
|
|
1183
|
+
# @param [Array<OCI::Waas::Models::OCI::Waas::Models::CustomProtectionRuleSetting>] update_custom_protection_rules_details
|
|
1184
|
+
# @param [Array<String>] wait_for_states An array of states to wait on. These should be valid values for {OCI::Waas::Models::WorkRequest#status}
|
|
1185
|
+
# @param [Hash] base_operation_opts Any optional arguments accepted by {OCI::Waas::WaasClient#update_waas_policy_custom_protection_rules}
|
|
1186
|
+
# @param [Hash] waiter_opts Optional arguments for the waiter. Keys should be symbols, and the following keys are supported:
|
|
1187
|
+
# * max_interval_seconds: The maximum interval between queries, in seconds.
|
|
1188
|
+
# * max_wait_seconds The maximum time to wait, in seconds
|
|
1189
|
+
#
|
|
1190
|
+
# @return [OCI::Response] A {OCI::Response} object containing the completed {OCI::Waas::Models::WorkRequest}
|
|
1191
|
+
def update_waas_policy_custom_protection_rules_and_wait_for_state(waas_policy_id, update_custom_protection_rules_details, wait_for_states = [], base_operation_opts = {}, waiter_opts = {})
|
|
1192
|
+
operation_result = @service_client.update_waas_policy_custom_protection_rules(waas_policy_id, update_custom_protection_rules_details, base_operation_opts)
|
|
1193
|
+
use_util = OCI::Waas::Util.respond_to?(:wait_on_work_request)
|
|
1194
|
+
|
|
1195
|
+
return operation_result if wait_for_states.empty? && !use_util
|
|
1196
|
+
|
|
1197
|
+
lowered_wait_for_states = wait_for_states.map(&:downcase)
|
|
1198
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
|
1199
|
+
|
|
1200
|
+
begin
|
|
1201
|
+
if use_util
|
|
1202
|
+
waiter_result = OCI::Waas::Util.wait_on_work_request(
|
|
1203
|
+
@service_client,
|
|
1204
|
+
wait_for_resource_id,
|
|
1205
|
+
max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
|
|
1206
|
+
max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200
|
|
1207
|
+
)
|
|
1208
|
+
else
|
|
1209
|
+
waiter_result = @service_client.get_work_request(wait_for_resource_id).wait_until(
|
|
1210
|
+
eval_proc: ->(response) { response.data.respond_to?(:status) && lowered_wait_for_states.include?(response.data.status.downcase) },
|
|
1211
|
+
max_interval_seconds: waiter_opts.key?(:max_interval_seconds) ? waiter_opts[:max_interval_seconds] : 30,
|
|
1212
|
+
max_wait_seconds: waiter_opts.key?(:max_wait_seconds) ? waiter_opts[:max_wait_seconds] : 1200
|
|
1213
|
+
)
|
|
1214
|
+
end
|
|
1215
|
+
result_to_return = waiter_result
|
|
1216
|
+
|
|
1217
|
+
return result_to_return
|
|
1218
|
+
rescue StandardError
|
|
1219
|
+
raise OCI::Errors::CompositeOperationError.new(partial_results: [operation_result])
|
|
1220
|
+
end
|
|
1221
|
+
end
|
|
1222
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
|
1223
|
+
# rubocop:enable Layout/EmptyLines
|
|
1224
|
+
|
|
1225
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/ParameterLists, Metrics/PerceivedComplexity
|
|
1226
|
+
# rubocop:disable Layout/EmptyLines
|
|
1227
|
+
|
|
1228
|
+
|
|
843
1229
|
# Calls {OCI::Waas::WaasClient#update_waf_address_rate_limiting} and then waits for the {OCI::Waas::Models::WorkRequest}
|
|
844
1230
|
# to enter the given state(s).
|
|
845
1231
|
#
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: oci
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Oracle
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-08-
|
|
11
|
+
date: 2019-08-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: json
|
|
@@ -365,12 +365,18 @@ files:
|
|
|
365
365
|
- "./lib/oci/core/models/change_cpe_compartment_details.rb"
|
|
366
366
|
- "./lib/oci/core/models/change_cross_connect_compartment_details.rb"
|
|
367
367
|
- "./lib/oci/core/models/change_cross_connect_group_compartment_details.rb"
|
|
368
|
+
- "./lib/oci/core/models/change_dedicated_vm_host_compartment_details.rb"
|
|
369
|
+
- "./lib/oci/core/models/change_dhcp_options_compartment_details.rb"
|
|
368
370
|
- "./lib/oci/core/models/change_image_compartment_details.rb"
|
|
369
371
|
- "./lib/oci/core/models/change_instance_compartment_details.rb"
|
|
370
372
|
- "./lib/oci/core/models/change_instance_configuration_compartment_details.rb"
|
|
371
373
|
- "./lib/oci/core/models/change_instance_pool_compartment_details.rb"
|
|
374
|
+
- "./lib/oci/core/models/change_internet_gateway_compartment_details.rb"
|
|
372
375
|
- "./lib/oci/core/models/change_ip_sec_connection_compartment_details.rb"
|
|
376
|
+
- "./lib/oci/core/models/change_local_peering_gateway_compartment_details.rb"
|
|
373
377
|
- "./lib/oci/core/models/change_nat_gateway_compartment_details.rb"
|
|
378
|
+
- "./lib/oci/core/models/change_network_security_group_compartment_details.rb"
|
|
379
|
+
- "./lib/oci/core/models/change_public_ip_compartment_details.rb"
|
|
374
380
|
- "./lib/oci/core/models/change_remote_peering_connection_compartment_details.rb"
|
|
375
381
|
- "./lib/oci/core/models/change_route_table_compartment_details.rb"
|
|
376
382
|
- "./lib/oci/core/models/change_security_list_compartment_details.rb"
|
|
@@ -394,6 +400,7 @@ files:
|
|
|
394
400
|
- "./lib/oci/core/models/create_cpe_details.rb"
|
|
395
401
|
- "./lib/oci/core/models/create_cross_connect_details.rb"
|
|
396
402
|
- "./lib/oci/core/models/create_cross_connect_group_details.rb"
|
|
403
|
+
- "./lib/oci/core/models/create_dedicated_vm_host_details.rb"
|
|
397
404
|
- "./lib/oci/core/models/create_dhcp_details.rb"
|
|
398
405
|
- "./lib/oci/core/models/create_drg_attachment_details.rb"
|
|
399
406
|
- "./lib/oci/core/models/create_drg_details.rb"
|
|
@@ -434,6 +441,11 @@ files:
|
|
|
434
441
|
- "./lib/oci/core/models/cross_connect_mapping.rb"
|
|
435
442
|
- "./lib/oci/core/models/cross_connect_port_speed_shape.rb"
|
|
436
443
|
- "./lib/oci/core/models/cross_connect_status.rb"
|
|
444
|
+
- "./lib/oci/core/models/dedicated_vm_host.rb"
|
|
445
|
+
- "./lib/oci/core/models/dedicated_vm_host_instance_shape_summary.rb"
|
|
446
|
+
- "./lib/oci/core/models/dedicated_vm_host_instance_summary.rb"
|
|
447
|
+
- "./lib/oci/core/models/dedicated_vm_host_shape_summary.rb"
|
|
448
|
+
- "./lib/oci/core/models/dedicated_vm_host_summary.rb"
|
|
437
449
|
- "./lib/oci/core/models/delete_virtual_circuit_public_prefix_details.rb"
|
|
438
450
|
- "./lib/oci/core/models/detach_load_balancer_details.rb"
|
|
439
451
|
- "./lib/oci/core/models/device.rb"
|
|
@@ -534,6 +546,7 @@ files:
|
|
|
534
546
|
- "./lib/oci/core/models/update_cpe_details.rb"
|
|
535
547
|
- "./lib/oci/core/models/update_cross_connect_details.rb"
|
|
536
548
|
- "./lib/oci/core/models/update_cross_connect_group_details.rb"
|
|
549
|
+
- "./lib/oci/core/models/update_dedicated_vm_host_details.rb"
|
|
537
550
|
- "./lib/oci/core/models/update_dhcp_details.rb"
|
|
538
551
|
- "./lib/oci/core/models/update_drg_attachment_details.rb"
|
|
539
552
|
- "./lib/oci/core/models/update_drg_details.rb"
|
|
@@ -740,6 +753,50 @@ files:
|
|
|
740
753
|
- "./lib/oci/dns/models/zone.rb"
|
|
741
754
|
- "./lib/oci/dns/models/zone_summary.rb"
|
|
742
755
|
- "./lib/oci/dns/util.rb"
|
|
756
|
+
- "./lib/oci/dts/dts.rb"
|
|
757
|
+
- "./lib/oci/dts/models/attach_devices_details.rb"
|
|
758
|
+
- "./lib/oci/dts/models/change_transfer_job_compartment_details.rb"
|
|
759
|
+
- "./lib/oci/dts/models/create_transfer_appliance_details.rb"
|
|
760
|
+
- "./lib/oci/dts/models/create_transfer_appliance_entitlement_details.rb"
|
|
761
|
+
- "./lib/oci/dts/models/create_transfer_device_details.rb"
|
|
762
|
+
- "./lib/oci/dts/models/create_transfer_job_details.rb"
|
|
763
|
+
- "./lib/oci/dts/models/create_transfer_package_details.rb"
|
|
764
|
+
- "./lib/oci/dts/models/detach_devices_details.rb"
|
|
765
|
+
- "./lib/oci/dts/models/multiple_transfer_appliances.rb"
|
|
766
|
+
- "./lib/oci/dts/models/multiple_transfer_devices.rb"
|
|
767
|
+
- "./lib/oci/dts/models/multiple_transfer_packages.rb"
|
|
768
|
+
- "./lib/oci/dts/models/new_transfer_device.rb"
|
|
769
|
+
- "./lib/oci/dts/models/shipping_address.rb"
|
|
770
|
+
- "./lib/oci/dts/models/shipping_vendors.rb"
|
|
771
|
+
- "./lib/oci/dts/models/transfer_appliance.rb"
|
|
772
|
+
- "./lib/oci/dts/models/transfer_appliance_certificate.rb"
|
|
773
|
+
- "./lib/oci/dts/models/transfer_appliance_encryption_passphrase.rb"
|
|
774
|
+
- "./lib/oci/dts/models/transfer_appliance_entitlement.rb"
|
|
775
|
+
- "./lib/oci/dts/models/transfer_appliance_public_key.rb"
|
|
776
|
+
- "./lib/oci/dts/models/transfer_appliance_summary.rb"
|
|
777
|
+
- "./lib/oci/dts/models/transfer_device.rb"
|
|
778
|
+
- "./lib/oci/dts/models/transfer_device_summary.rb"
|
|
779
|
+
- "./lib/oci/dts/models/transfer_job.rb"
|
|
780
|
+
- "./lib/oci/dts/models/transfer_job_summary.rb"
|
|
781
|
+
- "./lib/oci/dts/models/transfer_package.rb"
|
|
782
|
+
- "./lib/oci/dts/models/transfer_package_summary.rb"
|
|
783
|
+
- "./lib/oci/dts/models/update_transfer_appliance_details.rb"
|
|
784
|
+
- "./lib/oci/dts/models/update_transfer_device_details.rb"
|
|
785
|
+
- "./lib/oci/dts/models/update_transfer_job_details.rb"
|
|
786
|
+
- "./lib/oci/dts/models/update_transfer_package_details.rb"
|
|
787
|
+
- "./lib/oci/dts/shipping_vendors_client.rb"
|
|
788
|
+
- "./lib/oci/dts/shipping_vendors_client_composite_operations.rb"
|
|
789
|
+
- "./lib/oci/dts/transfer_appliance_client.rb"
|
|
790
|
+
- "./lib/oci/dts/transfer_appliance_client_composite_operations.rb"
|
|
791
|
+
- "./lib/oci/dts/transfer_appliance_entitlement_client.rb"
|
|
792
|
+
- "./lib/oci/dts/transfer_appliance_entitlement_client_composite_operations.rb"
|
|
793
|
+
- "./lib/oci/dts/transfer_device_client.rb"
|
|
794
|
+
- "./lib/oci/dts/transfer_device_client_composite_operations.rb"
|
|
795
|
+
- "./lib/oci/dts/transfer_job_client.rb"
|
|
796
|
+
- "./lib/oci/dts/transfer_job_client_composite_operations.rb"
|
|
797
|
+
- "./lib/oci/dts/transfer_package_client.rb"
|
|
798
|
+
- "./lib/oci/dts/transfer_package_client_composite_operations.rb"
|
|
799
|
+
- "./lib/oci/dts/util.rb"
|
|
743
800
|
- "./lib/oci/email/email.rb"
|
|
744
801
|
- "./lib/oci/email/email_client.rb"
|
|
745
802
|
- "./lib/oci/email/email_client_composite_operations.rb"
|
|
@@ -959,9 +1016,15 @@ files:
|
|
|
959
1016
|
- "./lib/oci/key_management/models/vault_summary.rb"
|
|
960
1017
|
- "./lib/oci/key_management/util.rb"
|
|
961
1018
|
- "./lib/oci/limits/limits.rb"
|
|
1019
|
+
- "./lib/oci/limits/limits_client.rb"
|
|
1020
|
+
- "./lib/oci/limits/limits_client_composite_operations.rb"
|
|
962
1021
|
- "./lib/oci/limits/models/create_quota_details.rb"
|
|
1022
|
+
- "./lib/oci/limits/models/limit_definition_summary.rb"
|
|
1023
|
+
- "./lib/oci/limits/models/limit_value_summary.rb"
|
|
963
1024
|
- "./lib/oci/limits/models/quota.rb"
|
|
964
1025
|
- "./lib/oci/limits/models/quota_summary.rb"
|
|
1026
|
+
- "./lib/oci/limits/models/resource_availability.rb"
|
|
1027
|
+
- "./lib/oci/limits/models/service_summary.rb"
|
|
965
1028
|
- "./lib/oci/limits/models/update_quota_details.rb"
|
|
966
1029
|
- "./lib/oci/limits/quotas_client.rb"
|
|
967
1030
|
- "./lib/oci/limits/quotas_client_composite_operations.rb"
|
|
@@ -1170,7 +1233,12 @@ files:
|
|
|
1170
1233
|
- "./lib/oci/retry/retry.rb"
|
|
1171
1234
|
- "./lib/oci/retry/retry_config.rb"
|
|
1172
1235
|
- "./lib/oci/signer.rb"
|
|
1236
|
+
- "./lib/oci/streaming/models/archiver.rb"
|
|
1237
|
+
- "./lib/oci/streaming/models/archiver_error.rb"
|
|
1238
|
+
- "./lib/oci/streaming/models/archiver_lifecycle_state.rb"
|
|
1239
|
+
- "./lib/oci/streaming/models/archiver_start_position.rb"
|
|
1173
1240
|
- "./lib/oci/streaming/models/change_stream_compartment_details.rb"
|
|
1241
|
+
- "./lib/oci/streaming/models/create_archiver_details.rb"
|
|
1174
1242
|
- "./lib/oci/streaming/models/create_cursor_details.rb"
|
|
1175
1243
|
- "./lib/oci/streaming/models/create_group_cursor_details.rb"
|
|
1176
1244
|
- "./lib/oci/streaming/models/create_stream_details.rb"
|
|
@@ -1184,6 +1252,7 @@ files:
|
|
|
1184
1252
|
- "./lib/oci/streaming/models/put_messages_result_entry.rb"
|
|
1185
1253
|
- "./lib/oci/streaming/models/stream.rb"
|
|
1186
1254
|
- "./lib/oci/streaming/models/stream_summary.rb"
|
|
1255
|
+
- "./lib/oci/streaming/models/update_archiver_details.rb"
|
|
1187
1256
|
- "./lib/oci/streaming/models/update_group_details.rb"
|
|
1188
1257
|
- "./lib/oci/streaming/models/update_stream_details.rb"
|
|
1189
1258
|
- "./lib/oci/streaming/stream_admin_client.rb"
|
|
@@ -1195,18 +1264,31 @@ files:
|
|
|
1195
1264
|
- "./lib/oci/version.rb"
|
|
1196
1265
|
- "./lib/oci/waas/models/access_rule.rb"
|
|
1197
1266
|
- "./lib/oci/waas/models/access_rule_criteria.rb"
|
|
1267
|
+
- "./lib/oci/waas/models/address_list.rb"
|
|
1268
|
+
- "./lib/oci/waas/models/address_list_summary.rb"
|
|
1198
1269
|
- "./lib/oci/waas/models/address_rate_limiting.rb"
|
|
1199
1270
|
- "./lib/oci/waas/models/block_challenge_settings.rb"
|
|
1271
|
+
- "./lib/oci/waas/models/caching_rule.rb"
|
|
1272
|
+
- "./lib/oci/waas/models/caching_rule_criteria.rb"
|
|
1273
|
+
- "./lib/oci/waas/models/caching_rule_summary.rb"
|
|
1200
1274
|
- "./lib/oci/waas/models/captcha.rb"
|
|
1201
1275
|
- "./lib/oci/waas/models/certificate.rb"
|
|
1202
1276
|
- "./lib/oci/waas/models/certificate_extensions.rb"
|
|
1277
|
+
- "./lib/oci/waas/models/certificate_issuer_name.rb"
|
|
1203
1278
|
- "./lib/oci/waas/models/certificate_public_key_info.rb"
|
|
1204
1279
|
- "./lib/oci/waas/models/certificate_subject_name.rb"
|
|
1205
1280
|
- "./lib/oci/waas/models/certificate_summary.rb"
|
|
1281
|
+
- "./lib/oci/waas/models/change_address_list_compartment_details.rb"
|
|
1206
1282
|
- "./lib/oci/waas/models/change_certificate_compartment_details.rb"
|
|
1283
|
+
- "./lib/oci/waas/models/change_custom_protection_rule_compartment_details.rb"
|
|
1207
1284
|
- "./lib/oci/waas/models/change_waas_policy_compartment_details.rb"
|
|
1285
|
+
- "./lib/oci/waas/models/create_address_list_details.rb"
|
|
1208
1286
|
- "./lib/oci/waas/models/create_certificate_details.rb"
|
|
1287
|
+
- "./lib/oci/waas/models/create_custom_protection_rule_details.rb"
|
|
1209
1288
|
- "./lib/oci/waas/models/create_waas_policy_details.rb"
|
|
1289
|
+
- "./lib/oci/waas/models/custom_protection_rule.rb"
|
|
1290
|
+
- "./lib/oci/waas/models/custom_protection_rule_setting.rb"
|
|
1291
|
+
- "./lib/oci/waas/models/custom_protection_rule_summary.rb"
|
|
1210
1292
|
- "./lib/oci/waas/models/device_fingerprint_challenge.rb"
|
|
1211
1293
|
- "./lib/oci/waas/models/edge_subnet.rb"
|
|
1212
1294
|
- "./lib/oci/waas/models/good_bot.rb"
|
|
@@ -1215,17 +1297,23 @@ files:
|
|
|
1215
1297
|
- "./lib/oci/waas/models/js_challenge.rb"
|
|
1216
1298
|
- "./lib/oci/waas/models/lifecycle_states.rb"
|
|
1217
1299
|
- "./lib/oci/waas/models/origin.rb"
|
|
1300
|
+
- "./lib/oci/waas/models/origin_group.rb"
|
|
1301
|
+
- "./lib/oci/waas/models/origin_group_origins.rb"
|
|
1218
1302
|
- "./lib/oci/waas/models/policy_config.rb"
|
|
1219
1303
|
- "./lib/oci/waas/models/protection_rule.rb"
|
|
1220
1304
|
- "./lib/oci/waas/models/protection_rule_action.rb"
|
|
1221
1305
|
- "./lib/oci/waas/models/protection_rule_exclusion.rb"
|
|
1222
1306
|
- "./lib/oci/waas/models/protection_settings.rb"
|
|
1307
|
+
- "./lib/oci/waas/models/purge_cache.rb"
|
|
1223
1308
|
- "./lib/oci/waas/models/recommendation.rb"
|
|
1224
1309
|
- "./lib/oci/waas/models/threat_feed.rb"
|
|
1225
1310
|
- "./lib/oci/waas/models/threat_feed_action.rb"
|
|
1311
|
+
- "./lib/oci/waas/models/update_address_list_details.rb"
|
|
1226
1312
|
- "./lib/oci/waas/models/update_certificate_details.rb"
|
|
1313
|
+
- "./lib/oci/waas/models/update_custom_protection_rule_details.rb"
|
|
1227
1314
|
- "./lib/oci/waas/models/update_waas_policy_details.rb"
|
|
1228
1315
|
- "./lib/oci/waas/models/waas_policy.rb"
|
|
1316
|
+
- "./lib/oci/waas/models/waas_policy_custom_protection_rule_summary.rb"
|
|
1229
1317
|
- "./lib/oci/waas/models/waas_policy_summary.rb"
|
|
1230
1318
|
- "./lib/oci/waas/models/waf_blocked_request.rb"
|
|
1231
1319
|
- "./lib/oci/waas/models/waf_config.rb"
|