oci 2.5.10 → 2.5.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -1
- data/lib/oci.rb +3 -0
- data/lib/oci/budget/budget.rb +1 -0
- data/lib/oci/budget/budget_client.rb +21 -1
- data/lib/oci/budget/models/budget.rb +52 -2
- data/lib/oci/budget/models/budget_summary.rb +52 -2
- data/lib/oci/budget/models/create_budget_details.rb +55 -2
- data/lib/oci/budget/models/target_type.rb +10 -0
- data/lib/oci/core/blockstorage_client.rb +18 -6
- data/lib/oci/core/compute_client.rb +75 -0
- data/lib/oci/core/compute_management_client.rb +4 -1
- data/lib/oci/core/core.rb +12 -0
- data/lib/oci/core/models/add_security_rule_details.rb +2 -2
- data/lib/oci/core/models/boot_volume_backup.rb +19 -1
- data/lib/oci/core/models/change_boot_volume_backup_compartment_details.rb +2 -2
- data/lib/oci/core/models/change_boot_volume_compartment_details.rb +2 -2
- data/lib/oci/core/models/change_cpe_compartment_details.rb +155 -0
- data/lib/oci/core/models/change_cross_connect_compartment_details.rb +155 -0
- data/lib/oci/core/models/change_cross_connect_group_compartment_details.rb +155 -0
- data/lib/oci/core/models/change_instance_compartment_details.rb +154 -0
- data/lib/oci/core/models/change_ip_sec_connection_compartment_details.rb +155 -0
- data/lib/oci/core/models/change_remote_peering_connection_compartment_details.rb +155 -0
- data/lib/oci/core/models/change_virtual_circuit_compartment_details.rb +155 -0
- data/lib/oci/core/models/change_volume_backup_compartment_details.rb +2 -2
- data/lib/oci/core/models/change_volume_compartment_details.rb +2 -2
- data/lib/oci/core/models/change_volume_group_backup_compartment_details.rb +2 -2
- data/lib/oci/core/models/change_volume_group_compartment_details.rb +2 -2
- data/lib/oci/core/models/copy_volume_backup_details.rb +27 -4
- data/lib/oci/core/models/create_cross_connect_details.rb +37 -1
- data/lib/oci/core/models/create_cross_connect_group_details.rb +40 -4
- data/lib/oci/core/models/create_instance_configuration_base.rb +250 -0
- data/lib/oci/core/models/create_instance_configuration_details.rb +15 -57
- data/lib/oci/core/models/create_instance_configuration_from_instance_details.rb +179 -0
- data/lib/oci/core/models/create_ipv6_details.rb +249 -0
- data/lib/oci/core/models/create_remote_peering_connection_details.rb +40 -4
- data/lib/oci/core/models/create_service_gateway_details.rb +23 -1
- data/lib/oci/core/models/create_subnet_details.rb +24 -1
- data/lib/oci/core/models/create_vcn_details.rb +56 -4
- data/lib/oci/core/models/create_virtual_circuit_details.rb +38 -2
- data/lib/oci/core/models/cross_connect.rb +37 -1
- data/lib/oci/core/models/cross_connect_group.rb +37 -1
- data/lib/oci/core/models/cross_connect_mapping.rb +50 -1
- data/lib/oci/core/models/egress_security_rule.rb +10 -7
- data/lib/oci/core/models/ingress_security_rule.rb +10 -7
- data/lib/oci/core/models/instance.rb +1 -0
- data/lib/oci/core/models/ipv6.rb +375 -0
- data/lib/oci/core/models/private_ip.rb +1 -0
- data/lib/oci/core/models/remote_peering_connection.rb +37 -1
- data/lib/oci/core/models/route_rule.rb +4 -1
- data/lib/oci/core/models/security_rule.rb +2 -2
- data/lib/oci/core/models/service_gateway.rb +18 -1
- data/lib/oci/core/models/subnet.rb +56 -1
- data/lib/oci/core/models/update_cross_connect_details.rb +37 -1
- data/lib/oci/core/models/update_cross_connect_group_details.rb +40 -4
- data/lib/oci/core/models/update_ipv6_details.rb +229 -0
- data/lib/oci/core/models/update_remote_peering_connection_details.rb +40 -4
- data/lib/oci/core/models/update_security_rule_details.rb +2 -2
- data/lib/oci/core/models/update_service_gateway_details.rb +18 -1
- data/lib/oci/core/models/update_virtual_circuit_details.rb +37 -1
- data/lib/oci/core/models/vcn.rb +42 -1
- data/lib/oci/core/models/virtual_circuit.rb +37 -1
- data/lib/oci/core/models/volume_backup.rb +19 -1
- data/lib/oci/core/virtual_network_client.rb +744 -10
- data/lib/oci/core/virtual_network_client_composite_operations.rb +119 -0
- data/lib/oci/database/database.rb +3 -0
- data/lib/oci/database/database_client.rb +320 -36
- data/lib/oci/database/models/autonomous_data_warehouse.rb +1 -0
- data/lib/oci/database/models/autonomous_data_warehouse_console_token_details.rb +164 -0
- data/lib/oci/database/models/autonomous_data_warehouse_summary.rb +1 -0
- data/lib/oci/database/models/autonomous_database.rb +5 -3
- data/lib/oci/database/models/autonomous_database_connection_urls.rb +1 -1
- data/lib/oci/database/models/autonomous_database_console_token_details.rb +163 -0
- data/lib/oci/database/models/autonomous_database_summary.rb +5 -3
- data/lib/oci/database/models/autonomous_db_preview_version_summary.rb +1 -3
- data/lib/oci/database/models/change_compartment_details.rb +155 -0
- data/lib/oci/database/models/create_autonomous_database_base.rb +5 -4
- data/lib/oci/database/models/create_data_guard_association_with_new_db_system_details.rb +2 -5
- data/lib/oci/database/models/create_database_details.rb +1 -1
- data/lib/oci/database/models/create_db_home_with_db_system_id_details.rb +2 -1
- data/lib/oci/database/models/create_db_home_with_db_system_id_from_backup_details.rb +2 -1
- data/lib/oci/database/models/db_system.rb +2 -5
- data/lib/oci/database/models/db_system_summary.rb +2 -5
- data/lib/oci/database/models/launch_db_system_base.rb +3 -5
- data/lib/oci/database/models/maintenance_window.rb +2 -1
- data/lib/oci/database/models/update_autonomous_database_details.rb +5 -3
- data/lib/oci/database/models/update_db_system_details.rb +2 -5
- data/lib/oci/dns/dns.rb +2 -0
- data/lib/oci/dns/dns_client.rb +138 -1
- data/lib/oci/dns/models/change_steering_policy_compartment_details.rb +155 -0
- data/lib/oci/dns/models/change_zone_compartment_details.rb +155 -0
- data/lib/oci/events/events.rb +34 -0
- data/lib/oci/events/events_client.rb +537 -0
- data/lib/oci/events/events_client_composite_operations.rb +145 -0
- data/lib/oci/events/models/action.rb +275 -0
- data/lib/oci/events/models/action_details.rb +222 -0
- data/lib/oci/events/models/action_details_list.rb +150 -0
- data/lib/oci/events/models/action_list.rb +151 -0
- data/lib/oci/events/models/change_rule_compartment_details.rb +156 -0
- data/lib/oci/events/models/create_faa_s_action_details.rb +170 -0
- data/lib/oci/events/models/create_notification_service_action_details.rb +170 -0
- data/lib/oci/events/models/create_rule_details.rb +284 -0
- data/lib/oci/events/models/create_streaming_service_action_details.rb +170 -0
- data/lib/oci/events/models/faa_s_action.rb +178 -0
- data/lib/oci/events/models/notification_service_action.rb +179 -0
- data/lib/oci/events/models/rule.rb +372 -0
- data/lib/oci/events/models/rule_summary.rb +321 -0
- data/lib/oci/events/models/streaming_service_action.rb +178 -0
- data/lib/oci/events/models/update_rule_details.rb +266 -0
- data/lib/oci/events/util.rb +2 -0
- data/lib/oci/functions/functions.rb +29 -0
- data/lib/oci/functions/functions_invoke_client.rb +237 -0
- data/lib/oci/functions/functions_invoke_client_composite_operations.rb +24 -0
- data/lib/oci/functions/functions_management_client.rb +851 -0
- data/lib/oci/functions/functions_management_client_composite_operations.rb +266 -0
- data/lib/oci/functions/models/application.rb +322 -0
- data/lib/oci/functions/models/application_summary.rb +281 -0
- data/lib/oci/functions/models/change_application_compartment_details.rb +156 -0
- data/lib/oci/functions/models/create_application_details.rb +236 -0
- data/lib/oci/functions/models/create_function_details.rb +280 -0
- data/lib/oci/functions/models/function.rb +397 -0
- data/lib/oci/functions/models/function_summary.rb +381 -0
- data/lib/oci/functions/models/update_application_details.rb +191 -0
- data/lib/oci/functions/models/update_function_details.rb +250 -0
- data/lib/oci/functions/util.rb +2 -0
- data/lib/oci/healthchecks/health_checks_client.rb +147 -1
- data/lib/oci/healthchecks/healthchecks.rb +2 -0
- data/lib/oci/healthchecks/models/change_http_monitor_compartment_details.rb +155 -0
- data/lib/oci/healthchecks/models/change_ping_monitor_compartment_details.rb +155 -0
- data/lib/oci/healthchecks/models/create_http_monitor_details.rb +2 -1
- data/lib/oci/healthchecks/models/create_on_demand_http_probe_details.rb +2 -1
- data/lib/oci/healthchecks/models/create_on_demand_ping_probe_details.rb +2 -1
- data/lib/oci/healthchecks/models/create_ping_monitor_details.rb +2 -1
- data/lib/oci/healthchecks/models/http_monitor.rb +2 -0
- data/lib/oci/healthchecks/models/http_probe.rb +2 -0
- data/lib/oci/healthchecks/models/ping_monitor.rb +2 -0
- data/lib/oci/healthchecks/models/ping_probe.rb +2 -0
- data/lib/oci/healthchecks/models/update_http_monitor_details.rb +2 -0
- data/lib/oci/healthchecks/models/update_ping_monitor_details.rb +2 -0
- data/lib/oci/identity/identity.rb +1 -0
- data/lib/oci/identity/identity_client.rb +70 -0
- data/lib/oci/identity/identity_client_composite_operations.rb +50 -0
- data/lib/oci/identity/models/move_compartment_details.rb +155 -0
- data/lib/oci/key_management/key_management.rb +2 -0
- data/lib/oci/key_management/kms_management_client.rb +73 -0
- data/lib/oci/key_management/kms_vault_client.rb +73 -0
- data/lib/oci/key_management/models/change_key_compartment_details.rb +153 -0
- data/lib/oci/key_management/models/change_vault_compartment_details.rb +153 -0
- data/lib/oci/key_management/models/key.rb +1 -0
- data/lib/oci/key_management/models/key_summary.rb +1 -0
- data/lib/oci/key_management/models/vault.rb +1 -0
- data/lib/oci/key_management/models/vault_summary.rb +1 -0
- data/lib/oci/limits/limits.rb +23 -0
- data/lib/oci/limits/models/create_quota_details.rb +220 -0
- data/lib/oci/limits/models/quota.rb +287 -0
- data/lib/oci/limits/models/quota_summary.rb +273 -0
- data/lib/oci/limits/models/update_quota_details.rb +194 -0
- data/lib/oci/limits/quotas_client.rb +439 -0
- data/lib/oci/limits/quotas_client_composite_operations.rb +143 -0
- data/lib/oci/limits/util.rb +2 -0
- data/lib/oci/load_balancer/load_balancer.rb +9 -0
- data/lib/oci/load_balancer/load_balancer_client.rb +139 -0
- data/lib/oci/load_balancer/load_balancer_client_composite_operations.rb +50 -0
- data/lib/oci/load_balancer/models/allow_rule.rb +181 -0
- data/lib/oci/load_balancer/models/backend_set.rb +21 -4
- data/lib/oci/load_balancer/models/backend_set_details.rb +21 -4
- data/lib/oci/load_balancer/models/change_load_balancer_compartment_details.rb +156 -0
- data/lib/oci/load_balancer/models/control_access_using_http_methods_rule.rb +205 -0
- data/lib/oci/load_balancer/models/create_backend_set_details.rb +21 -4
- data/lib/oci/load_balancer/models/create_load_balancer_details.rb +37 -1
- data/lib/oci/load_balancer/models/lb_cookie_session_persistence_configuration_details.rb +334 -0
- data/lib/oci/load_balancer/models/listener_rule_summary.rb +166 -0
- data/lib/oci/load_balancer/models/rule.rb +4 -0
- data/lib/oci/load_balancer/models/rule_condition.rb +192 -0
- data/lib/oci/load_balancer/models/session_persistence_configuration_details.rb +6 -0
- data/lib/oci/load_balancer/models/source_ip_address_condition.rb +167 -0
- data/lib/oci/load_balancer/models/source_vcn_id_condition.rb +169 -0
- data/lib/oci/load_balancer/models/source_vcn_ip_address_condition.rb +171 -0
- data/lib/oci/load_balancer/models/update_backend_set_details.rb +21 -4
- data/lib/oci/monitoring/models/alarm.rb +4 -3
- data/lib/oci/monitoring/models/alarm_summary.rb +4 -3
- data/lib/oci/monitoring/models/change_alarm_compartment_details.rb +155 -0
- data/lib/oci/monitoring/models/create_alarm_details.rb +4 -3
- data/lib/oci/monitoring/models/datapoint.rb +1 -1
- data/lib/oci/monitoring/models/list_metrics_details.rb +4 -4
- data/lib/oci/monitoring/models/metric_data.rb +14 -0
- data/lib/oci/monitoring/models/metric_data_details.rb +6 -4
- data/lib/oci/monitoring/models/summarize_metrics_data_details.rb +3 -0
- data/lib/oci/monitoring/models/update_alarm_details.rb +4 -3
- data/lib/oci/monitoring/monitoring.rb +1 -0
- data/lib/oci/monitoring/monitoring_client.rb +140 -5
- data/lib/oci/ons/models/backoff_retry_policy.rb +2 -2
- data/lib/oci/ons/models/change_compartment_details.rb +156 -0
- data/lib/oci/ons/models/confirmation_result.rb +5 -6
- data/lib/oci/ons/models/create_topic_details.rb +1 -1
- data/lib/oci/ons/models/notification_topic.rb +2 -2
- data/lib/oci/ons/models/notification_topic_summary.rb +2 -2
- data/lib/oci/ons/models/subscription.rb +47 -4
- data/lib/oci/ons/models/subscription_summary.rb +19 -3
- data/lib/oci/ons/notification_control_plane_client.rb +95 -8
- data/lib/oci/ons/notification_data_plane_client.rb +109 -8
- data/lib/oci/ons/ons.rb +1 -0
- data/lib/oci/regions.rb +3 -0
- data/lib/oci/streaming/models/change_stream_compartment_details.rb +155 -0
- data/lib/oci/streaming/stream_admin_client.rb +58 -0
- data/lib/oci/streaming/streaming.rb +1 -0
- data/lib/oci/version.rb +1 -1
- data/lib/oci/waas/models/access_rule_criteria.rb +14 -2
- data/lib/oci/waas/models/change_certificate_compartment_details.rb +154 -0
- data/lib/oci/waas/models/change_waas_policy_compartment_details.rb +154 -0
- data/lib/oci/waas/models/create_certificate_details.rb +2 -2
- data/lib/oci/waas/models/protection_rule_exclusion.rb +16 -1
- data/lib/oci/waas/models/protection_settings.rb +9 -5
- data/lib/oci/waas/models/waas_policy.rb +1 -1
- data/lib/oci/waas/models/waf_config_details.rb +8 -8
- data/lib/oci/waas/models/waf_log.rb +40 -19
- data/lib/oci/waas/waas.rb +2 -0
- data/lib/oci/waas/waas_client.rb +155 -27
- data/lib/oci/work_requests/models/work_request.rb +14 -8
- data/lib/oci/work_requests/models/work_request_error.rb +3 -3
- data/lib/oci/work_requests/models/work_request_log_entry.rb +2 -2
- data/lib/oci/work_requests/models/work_request_resource.rb +9 -7
- data/lib/oci/work_requests/models/work_request_summary.rb +12 -6
- data/lib/oci/work_requests/work_request_client.rb +33 -16
- metadata +81 -2
@@ -4,13 +4,15 @@ require 'date'
|
|
4
4
|
|
5
5
|
# rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
6
6
|
module OCI
|
7
|
-
# A list of Web Application Firewall log entries. Each entry is a JSON object
|
7
|
+
# A list of Web Application Firewall log entries. Each entry is a JSON object, including a timestamp property and other fields varying based on log type. Logs record what rules and countermeasures are triggered by requests and are used as a basis to move request handling into block mode. For more information about WAF logs, see [WAF Logs](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/waflogs.htm).
|
8
8
|
class Waas::Models::WafLog
|
9
|
-
# The action taken on the request
|
9
|
+
# The action taken on the request, either `ALLOW`, `DETECT`, or `BLOCK`.
|
10
10
|
# @return [String]
|
11
11
|
attr_accessor :action
|
12
12
|
|
13
|
-
# The CAPTCHA action taken on the request
|
13
|
+
# The CAPTCHA action taken on the request, `ALLOW` or `BLOCK`. For more information about
|
14
|
+
# CAPTCHAs, see `UpdateCaptchas`.
|
15
|
+
#
|
14
16
|
# @return [String]
|
15
17
|
attr_accessor :captcha_action
|
16
18
|
|
@@ -30,19 +32,23 @@ module OCI
|
|
30
32
|
# @return [String]
|
31
33
|
attr_accessor :client_address
|
32
34
|
|
33
|
-
# The name of the country where the request
|
35
|
+
# The name of the country where the request originated.
|
34
36
|
# @return [String]
|
35
37
|
attr_accessor :country_name
|
36
38
|
|
37
|
-
# The `User-Agent` header
|
39
|
+
# The value of the request's `User-Agent` header field.
|
38
40
|
# @return [String]
|
39
41
|
attr_accessor :user_agent
|
40
42
|
|
41
|
-
# The
|
43
|
+
# The `Host` header data of the request.
|
44
|
+
#
|
42
45
|
# @return [String]
|
43
46
|
attr_accessor :domain
|
44
47
|
|
45
|
-
# A map of protection rule keys to detection message details.
|
48
|
+
# A map of protection rule keys to detection message details. Detections are
|
49
|
+
# requests that matched the criteria of a protection rule but the rule's
|
50
|
+
# action was set to `DETECT`.
|
51
|
+
#
|
46
52
|
# @return [Hash<String, String>]
|
47
53
|
attr_accessor :protection_rule_detections
|
48
54
|
|
@@ -54,7 +60,7 @@ module OCI
|
|
54
60
|
# @return [String]
|
55
61
|
attr_accessor :request_url
|
56
62
|
|
57
|
-
# The map of header names to
|
63
|
+
# The map of the request's header names to their respective values.
|
58
64
|
# @return [Hash<String, String>]
|
59
65
|
attr_accessor :http_headers
|
60
66
|
|
@@ -70,11 +76,15 @@ module OCI
|
|
70
76
|
# @return [Integer]
|
71
77
|
attr_accessor :response_size
|
72
78
|
|
73
|
-
# The incident key
|
79
|
+
# The incident key of a request. An incident key is generated for
|
80
|
+
# each request processed by the Web Application Firewall and is used to
|
81
|
+
# idenitfy blocked requests in applicable logs.
|
82
|
+
#
|
74
83
|
# @return [String]
|
75
84
|
attr_accessor :incident_key
|
76
85
|
|
77
|
-
#
|
86
|
+
# The hashed signature of the device's fingerprint. For more information,
|
87
|
+
# see `DeviceFingerPrintChallenge`.
|
78
88
|
#
|
79
89
|
# @return [String]
|
80
90
|
attr_accessor :fingerprint
|
@@ -83,31 +93,43 @@ module OCI
|
|
83
93
|
# @return [String]
|
84
94
|
attr_accessor :device
|
85
95
|
|
86
|
-
#
|
96
|
+
# ISO 3166-1 alpha-2 code of the country from which the request originated.
|
97
|
+
# For a list of codes, see [ISO's website](https://www.iso.org/obp/ui/#search/code/).
|
98
|
+
#
|
87
99
|
# @return [String]
|
88
100
|
attr_accessor :country_code
|
89
101
|
|
90
|
-
# A map of header names to values of the
|
102
|
+
# A map of header names to values of the request sent to the origin, including any headers
|
103
|
+
# appended by the Web Application Firewall.
|
104
|
+
#
|
91
105
|
# @return [Hash<String, String>]
|
92
106
|
attr_accessor :request_headers
|
93
107
|
|
94
|
-
# The `ThreatFeed` key that matched the request.
|
108
|
+
# The `ThreatFeed` key that matched the request. For more information about
|
109
|
+
# threat feeds, see `UpdateThreatFeeds`.
|
110
|
+
#
|
95
111
|
# @return [String]
|
96
112
|
attr_accessor :threat_feed_key
|
97
113
|
|
98
|
-
# The `AccessRule` key that matched the request.
|
114
|
+
# The `AccessRule` key that matched the request. For more information about
|
115
|
+
# access rules, see `UpdateAccessRules`.
|
116
|
+
#
|
99
117
|
# @return [String]
|
100
118
|
attr_accessor :access_rule_key
|
101
119
|
|
102
|
-
# The `AddressRateLimiting` key that matched the request.
|
120
|
+
# The `AddressRateLimiting` key that matched the request. For more information
|
121
|
+
# about address rate limiting, see `UpdateWafAddressRateLimiting`.
|
122
|
+
#
|
103
123
|
# @return [String]
|
104
124
|
attr_accessor :address_rate_limiting_key
|
105
125
|
|
106
|
-
# The
|
126
|
+
# The date and time the Web Application Firewall processed the request and logged it.
|
127
|
+
#
|
107
128
|
# @return [String]
|
108
129
|
attr_accessor :timestamp
|
109
130
|
|
110
|
-
# The type of log of the request.
|
131
|
+
# The type of log of the request. For more about log types, see [WAF Logs](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/waflogs.htm).
|
132
|
+
#
|
111
133
|
# @return [String]
|
112
134
|
attr_accessor :log_type
|
113
135
|
|
@@ -115,8 +137,7 @@ module OCI
|
|
115
137
|
# @return [String]
|
116
138
|
attr_accessor :origin_address
|
117
139
|
|
118
|
-
# The amount of time it took the origin server to respond to the request.
|
119
|
-
# TODO: determine unit of time and example
|
140
|
+
# The amount of time it took the origin server to respond to the request, in seconds.
|
120
141
|
#
|
121
142
|
# @return [String]
|
122
143
|
attr_accessor :origin_response_time
|
data/lib/oci/waas/waas.rb
CHANGED
@@ -20,6 +20,8 @@ require 'oci/waas/models/certificate_extensions'
|
|
20
20
|
require 'oci/waas/models/certificate_public_key_info'
|
21
21
|
require 'oci/waas/models/certificate_subject_name'
|
22
22
|
require 'oci/waas/models/certificate_summary'
|
23
|
+
require 'oci/waas/models/change_certificate_compartment_details'
|
24
|
+
require 'oci/waas/models/change_waas_policy_compartment_details'
|
23
25
|
require 'oci/waas/models/create_certificate_details'
|
24
26
|
require 'oci/waas/models/create_waas_policy_details'
|
25
27
|
require 'oci/waas/models/device_fingerprint_challenge'
|
data/lib/oci/waas/waas_client.rb
CHANGED
@@ -224,6 +224,126 @@ module OCI
|
|
224
224
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
225
225
|
|
226
226
|
|
227
|
+
# Moves certificate into a different compartment. When provided, If-Match is checked against ETag values of the certificate.
|
228
|
+
# @param [String] certificate_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the SSL certificate used in the WAAS policy. This number is generated when the certificate is added to the policy.
|
229
|
+
# @param [OCI::Waas::Models::ChangeCertificateCompartmentDetails] change_certificate_compartment_details
|
230
|
+
# @param [Hash] opts the optional parameters
|
231
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
232
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
233
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the `PUT` or `DELETE` call for a resource, set the `if-match` parameter to the value of the etag from a previous `GET` or `POST` response for that resource. The resource will be updated or deleted only if the etag provided matches the resource's current etag value.
|
234
|
+
# @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
235
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations
|
236
|
+
# *Example:* If a resource has been deleted and purged from the system, then a retry of the original delete request may be rejected.
|
237
|
+
# @return [Response] A Response object with data of type nil
|
238
|
+
def change_certificate_compartment(certificate_id, change_certificate_compartment_details, opts = {})
|
239
|
+
logger.debug 'Calling operation WaasClient#change_certificate_compartment.' if logger
|
240
|
+
|
241
|
+
raise "Missing the required parameter 'certificate_id' when calling change_certificate_compartment." if certificate_id.nil?
|
242
|
+
raise "Missing the required parameter 'change_certificate_compartment_details' when calling change_certificate_compartment." if change_certificate_compartment_details.nil?
|
243
|
+
raise "Parameter value for 'certificate_id' must not be blank" if OCI::Internal::Util.blank_string?(certificate_id)
|
244
|
+
|
245
|
+
path = '/certificates/{certificateId}/actions/changeCompartment'.sub('{certificateId}', certificate_id.to_s)
|
246
|
+
operation_signing_strategy = :standard
|
247
|
+
|
248
|
+
# rubocop:disable Style/NegatedIf
|
249
|
+
# Query Params
|
250
|
+
query_params = {}
|
251
|
+
|
252
|
+
# Header Params
|
253
|
+
header_params = {}
|
254
|
+
header_params[:accept] = 'application/json'
|
255
|
+
header_params[:'content-type'] = 'application/json'
|
256
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
257
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
258
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
259
|
+
# rubocop:enable Style/NegatedIf
|
260
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
261
|
+
|
262
|
+
post_body = @api_client.object_to_http_body(change_certificate_compartment_details)
|
263
|
+
|
264
|
+
# rubocop:disable Metrics/BlockLength
|
265
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'WaasClient#change_certificate_compartment') do
|
266
|
+
@api_client.call_api(
|
267
|
+
:POST,
|
268
|
+
path,
|
269
|
+
endpoint,
|
270
|
+
header_params: header_params,
|
271
|
+
query_params: query_params,
|
272
|
+
operation_signing_strategy: operation_signing_strategy,
|
273
|
+
body: post_body
|
274
|
+
)
|
275
|
+
end
|
276
|
+
# rubocop:enable Metrics/BlockLength
|
277
|
+
end
|
278
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
279
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
280
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
281
|
+
|
282
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
283
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
284
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
285
|
+
|
286
|
+
|
287
|
+
# Moves WAAS policy into a different compartment. When provided, If-Match is checked against ETag values of the WAAS policy.
|
288
|
+
# @param [String] waas_policy_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
|
289
|
+
# @param [OCI::Waas::Models::ChangeWaasPolicyCompartmentDetails] change_waas_policy_compartment_details
|
290
|
+
# @param [Hash] opts the optional parameters
|
291
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
292
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
293
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the `PUT` or `DELETE` call for a resource, set the `if-match` parameter to the value of the etag from a previous `GET` or `POST` response for that resource. The resource will be updated or deleted only if the etag provided matches the resource's current etag value.
|
294
|
+
# @option opts [String] :opc_request_id The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
295
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations
|
296
|
+
# *Example:* If a resource has been deleted and purged from the system, then a retry of the original delete request may be rejected.
|
297
|
+
# @return [Response] A Response object with data of type nil
|
298
|
+
def change_waas_policy_compartment(waas_policy_id, change_waas_policy_compartment_details, opts = {})
|
299
|
+
logger.debug 'Calling operation WaasClient#change_waas_policy_compartment.' if logger
|
300
|
+
|
301
|
+
raise "Missing the required parameter 'waas_policy_id' when calling change_waas_policy_compartment." if waas_policy_id.nil?
|
302
|
+
raise "Missing the required parameter 'change_waas_policy_compartment_details' when calling change_waas_policy_compartment." if change_waas_policy_compartment_details.nil?
|
303
|
+
raise "Parameter value for 'waas_policy_id' must not be blank" if OCI::Internal::Util.blank_string?(waas_policy_id)
|
304
|
+
|
305
|
+
path = '/waasPolicies/{waasPolicyId}/actions/changeCompartment'.sub('{waasPolicyId}', waas_policy_id.to_s)
|
306
|
+
operation_signing_strategy = :standard
|
307
|
+
|
308
|
+
# rubocop:disable Style/NegatedIf
|
309
|
+
# Query Params
|
310
|
+
query_params = {}
|
311
|
+
|
312
|
+
# Header Params
|
313
|
+
header_params = {}
|
314
|
+
header_params[:accept] = 'application/json'
|
315
|
+
header_params[:'content-type'] = 'application/json'
|
316
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
317
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
318
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
319
|
+
# rubocop:enable Style/NegatedIf
|
320
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
321
|
+
|
322
|
+
post_body = @api_client.object_to_http_body(change_waas_policy_compartment_details)
|
323
|
+
|
324
|
+
# rubocop:disable Metrics/BlockLength
|
325
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'WaasClient#change_waas_policy_compartment') do
|
326
|
+
@api_client.call_api(
|
327
|
+
:POST,
|
328
|
+
path,
|
329
|
+
endpoint,
|
330
|
+
header_params: header_params,
|
331
|
+
query_params: query_params,
|
332
|
+
operation_signing_strategy: operation_signing_strategy,
|
333
|
+
body: post_body
|
334
|
+
)
|
335
|
+
end
|
336
|
+
# rubocop:enable Metrics/BlockLength
|
337
|
+
end
|
338
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
339
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
340
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
341
|
+
|
342
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
343
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
344
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
345
|
+
|
346
|
+
|
227
347
|
# Allows an SSL certificate to be added to a WAAS policy. The Web Application Firewall terminates SSL connections to inspect requests in runtime, and then re-encrypts requests before sending them to the origin for fulfillment.
|
228
348
|
#
|
229
349
|
# For more information, see [WAF Settings](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/wafsettings.htm).
|
@@ -1322,7 +1442,7 @@ module OCI
|
|
1322
1442
|
|
1323
1443
|
# Gets the list of good bots defined in the Web Application Firewall configuration for a WAAS policy.
|
1324
1444
|
#
|
1325
|
-
# The list is sorted
|
1445
|
+
# The list is sorted by `key`, in ascending order.
|
1326
1446
|
#
|
1327
1447
|
# @param [String] waas_policy_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
|
1328
1448
|
# @param [Hash] opts the optional parameters
|
@@ -1380,8 +1500,8 @@ module OCI
|
|
1380
1500
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1381
1501
|
|
1382
1502
|
|
1383
|
-
# Gets the list of protection rules
|
1384
|
-
# The list is sorted
|
1503
|
+
# Gets the list of available protection rules for a WAAS policy. Use the `GetWafConfig` operation to view a list of currently configured protection rules for the Web Application Firewall, or use the `ListRecommendations` operation to get a list of recommended protection rules for the Web Application Firewall.
|
1504
|
+
# The list is sorted by `key`, in ascending order.
|
1385
1505
|
# @param [String] waas_policy_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
|
1386
1506
|
# @param [Hash] opts the optional parameters
|
1387
1507
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
@@ -1456,7 +1576,7 @@ module OCI
|
|
1456
1576
|
# Gets the list of recommended Web Application Firewall protection rules.
|
1457
1577
|
#
|
1458
1578
|
# Use the `POST /waasPolicies/{waasPolicyId}/actions/acceptWafConfigRecommendations` method to accept recommended Web Application Firewall protection rules. For more information, see [WAF Protection Rules](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/wafprotectionrules.htm).
|
1459
|
-
# The list is sorted
|
1579
|
+
# The list is sorted by `key`, in ascending order.
|
1460
1580
|
# @param [String] waas_policy_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
|
1461
1581
|
# @param [Hash] opts the optional parameters
|
1462
1582
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
@@ -1521,8 +1641,8 @@ module OCI
|
|
1521
1641
|
|
1522
1642
|
|
1523
1643
|
# Gets the list of available web application threat intelligence feeds
|
1524
|
-
# and the actions set for each feed. The list is sorted
|
1525
|
-
#
|
1644
|
+
# and the actions set for each feed. The list is sorted by `key`,
|
1645
|
+
# in ascending order.
|
1526
1646
|
#
|
1527
1647
|
# @param [String] waas_policy_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
|
1528
1648
|
# @param [Hash] opts the optional parameters
|
@@ -1661,7 +1781,7 @@ module OCI
|
|
1661
1781
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
1662
1782
|
|
1663
1783
|
|
1664
|
-
# Gets the number of blocked requests by a Web Application Firewall feature in five minute blocks, in ascending order
|
1784
|
+
# Gets the number of blocked requests by a Web Application Firewall feature in five minute blocks, sorted by `timeObserved` in ascending order (starting from oldest data).
|
1665
1785
|
# @param [String] waas_policy_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
|
1666
1786
|
# @param [Hash] opts the optional parameters
|
1667
1787
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
@@ -1736,8 +1856,8 @@ module OCI
|
|
1736
1856
|
|
1737
1857
|
|
1738
1858
|
# Gets structured Web Application Firewall event logs for a WAAS
|
1739
|
-
# policy.
|
1740
|
-
# oldest recorded event
|
1859
|
+
# policy. Sorted by the `timeObserved` in ascending order (starting from the
|
1860
|
+
# oldest recorded event).
|
1741
1861
|
#
|
1742
1862
|
# @param [String] waas_policy_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
|
1743
1863
|
# @param [Hash] opts the optional parameters
|
@@ -1868,7 +1988,7 @@ module OCI
|
|
1868
1988
|
|
1869
1989
|
# Gets the number of requests managed by a Web Application Firewall
|
1870
1990
|
# over a specified period of time, including blocked requests. Sorted
|
1871
|
-
# by `timeObserved`
|
1991
|
+
# by `timeObserved` in ascending order (starting from oldest requests).
|
1872
1992
|
#
|
1873
1993
|
# @param [String] waas_policy_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
|
1874
1994
|
# @param [Hash] opts the optional parameters
|
@@ -1931,7 +2051,7 @@ module OCI
|
|
1931
2051
|
|
1932
2052
|
|
1933
2053
|
# Gets the Web Application Firewall traffic data for a WAAS policy.
|
1934
|
-
# Sorted by `timeObserved`
|
2054
|
+
# Sorted by `timeObserved` in ascending order (starting from oldest data).
|
1935
2055
|
#
|
1936
2056
|
# @param [String] waas_policy_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
|
1937
2057
|
# @param [Hash] opts the optional parameters
|
@@ -2125,11 +2245,14 @@ module OCI
|
|
2125
2245
|
|
2126
2246
|
|
2127
2247
|
# Updates the list of access rules in the Web Application Firewall configuration for a specified WAAS policy. Access rules allow explicit actions to be defined and executed for requests that meet various conditions. A rule action can be set to allow, detect, or block requests. The detect setting allows the request to pass through the Web Application Firewall and is tagged with a `DETECT` flag in the Web Application Firewall's log.
|
2248
|
+
#
|
2128
2249
|
# This operation can create, delete, update, and/or reorder access rules depending on the structure of the request body.
|
2129
|
-
#
|
2130
|
-
#
|
2131
|
-
#
|
2132
|
-
#
|
2250
|
+
#
|
2251
|
+
# Access rules can be updated by changing the properties of the access rule object with the rule's key specified in the key field. Access rules can be reordered by changing the order of the access rules in the list when updating.
|
2252
|
+
#
|
2253
|
+
# Access rules can be created by adding a new access rule object to the list without a `key` property specified. A `key` will be generated for the new access rule upon update.
|
2254
|
+
#
|
2255
|
+
# Any existing access rules that are not specified with a `key` in the list of access rules will be deleted upon update.
|
2133
2256
|
# @param [String] waas_policy_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
|
2134
2257
|
# @param [Array<OCI::Waas::Models::OCI::Waas::Models::AccessRule>] access_rules
|
2135
2258
|
# @param [Hash] opts the optional parameters
|
@@ -2191,9 +2314,11 @@ module OCI
|
|
2191
2314
|
|
2192
2315
|
# Updates the list of CAPTCHA challenges in the Web Application Firewall configuration for a WAAS policy.
|
2193
2316
|
# This operation can create, update, or delete CAPTCHAs depending on the structure of the request body.
|
2194
|
-
#
|
2195
|
-
#
|
2196
|
-
#
|
2317
|
+
# CAPTCHA challenges can be updated by changing the properties of the CAPTCHA object with the rule's key specified in the key field. CAPTCHA challenges can be reordered by changing the order of the CAPTCHA challenges in the list when updating.
|
2318
|
+
#
|
2319
|
+
# CAPTCHA challenges can be created by adding a new access rule object to the list without a `key` property specified. A `key` will be generated for the new CAPTCHA challenges upon update.
|
2320
|
+
#
|
2321
|
+
# Any existing CAPTCHA challenges that are not specified with a `key` in the list of CAPTCHA challenges will be deleted upon update.
|
2197
2322
|
# @param [String] waas_policy_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
|
2198
2323
|
# @param [Array<OCI::Waas::Models::OCI::Waas::Models::Captcha>] captchas A list of CAPTCHA details.
|
2199
2324
|
# @param [Hash] opts the optional parameters
|
@@ -2375,7 +2500,7 @@ module OCI
|
|
2375
2500
|
|
2376
2501
|
# Updates the list of good bots in the Web Application Firewall configuration for a policy. Only the fields specified in the request body will be updated, all other configuration properties will remain unchanged.
|
2377
2502
|
#
|
2378
|
-
# Good bots allows you to manage access for bots from known providers, such as Google or Baidu. For more information about good bots,
|
2503
|
+
# Good bots allows you to manage access for bots from known providers, such as Google or Baidu. For more information about good bots, see [Bot Management](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/botmanagement.htm).
|
2379
2504
|
# @param [String] waas_policy_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
|
2380
2505
|
# @param [Array<OCI::Waas::Models::OCI::Waas::Models::GoodBot>] good_bots
|
2381
2506
|
# @param [Hash] opts the optional parameters
|
@@ -2617,7 +2742,7 @@ module OCI
|
|
2617
2742
|
|
2618
2743
|
# Updates the action for each specified protection rule. Requests can either be allowed, blocked, or trigger an alert if they meet the parameters of an applied rule. For more information on protection rules, see [WAF Protection Rules](https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/wafprotectionrules.htm).
|
2619
2744
|
# This operation can update or disable protection rules depending on the structure of the request body.
|
2620
|
-
#
|
2745
|
+
# Protection rules can be updated by changing the properties of the protection rule object with the rule's key specified in the key field.
|
2621
2746
|
# @param [String] waas_policy_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
|
2622
2747
|
# @param [Array<OCI::Waas::Models::OCI::Waas::Models::ProtectionRuleAction>] protection_rules
|
2623
2748
|
# @param [Hash] opts the optional parameters
|
@@ -2790,7 +2915,7 @@ module OCI
|
|
2790
2915
|
|
2791
2916
|
|
2792
2917
|
# Updates the details of a WAAS policy, including origins and tags. Only the fields specified in the request body will be updated; all other properties will remain unchanged.
|
2793
|
-
# To update platform provided resources such as `GoodBots`, `ProtectionRules`, and `ThreatFeeds
|
2918
|
+
# To update platform provided resources such as `GoodBots`, `ProtectionRules`, and `ThreatFeeds`, first retrieve the list of available resources with the related list operation such as `GetThreatFeeds` or `GetProtectionRules`.
|
2794
2919
|
# The returned list will contain objects with `key` properties that can be used to update the resource during the `UpdateWaasPolicy` request.
|
2795
2920
|
# @param [String] waas_policy_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
|
2796
2921
|
# @param [OCI::Waas::Models::UpdateWaasPolicyDetails] update_waas_policy_details The details of the WAAS policy to update.
|
@@ -2913,8 +3038,8 @@ module OCI
|
|
2913
3038
|
|
2914
3039
|
# Updates the Web Application Firewall configuration for a specified WAAS policy.
|
2915
3040
|
#
|
2916
|
-
# To update platform provided resources such as `GoodBots`, `ProtectionRules`, and `ThreatFeeds
|
2917
|
-
# first retrieve the list of available resources with the related list operation such as
|
3041
|
+
# To update platform provided resources such as `GoodBots`, `ProtectionRules`, and `ThreatFeeds`,
|
3042
|
+
# first retrieve the list of available resources with the related list operation, such as
|
2918
3043
|
# `GetThreatFeeds` or `GetProtectionRules`.
|
2919
3044
|
#
|
2920
3045
|
# The returned list will contain objects with `key` properties that can be used to update the
|
@@ -2980,11 +3105,14 @@ module OCI
|
|
2980
3105
|
|
2981
3106
|
|
2982
3107
|
# Updates the list of IP addresses that bypass the Web Application Firewall for a WAAS policy. Supports both single IP addresses or subnet masks (CIDR notation).
|
3108
|
+
#
|
2983
3109
|
# This operation can create, delete, update, and/or reorder whitelists depending on the structure of the request body.
|
2984
|
-
#
|
2985
|
-
#
|
2986
|
-
#
|
2987
|
-
#
|
3110
|
+
#
|
3111
|
+
# Whitelists can be updated by changing the properties of the whitelist object with the rule's key specified in the `key` field. Whitelists can be reordered by changing the order of the whitelists in the list of objects when updating.
|
3112
|
+
#
|
3113
|
+
# Whitelists can be created by adding a new whitelist object to the list without a `key` property specified. A `key` will be generated for the new whitelist upon update.
|
3114
|
+
#
|
3115
|
+
# Whitelists can be deleted by removing the existing whitelist object from the list. Any existing whitelists that are not specified with a `key` in the list of access rules will be deleted upon update.
|
2988
3116
|
# @param [String] waas_policy_id The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
|
2989
3117
|
# @param [Array<OCI::Waas::Models::OCI::Waas::Models::Whitelist>] whitelists
|
2990
3118
|
# @param [Hash] opts the optional parameters
|
@@ -5,7 +5,7 @@ require 'logger'
|
|
5
5
|
|
6
6
|
# rubocop:disable Lint/UnneededCopDisableDirective, Metrics/LineLength
|
7
7
|
module OCI
|
8
|
-
#
|
8
|
+
# An asynchronous work request.
|
9
9
|
class WorkRequests::Models::WorkRequest
|
10
10
|
STATUS_ENUM = [
|
11
11
|
STATUS_ACCEPTED = 'ACCEPTED'.freeze,
|
@@ -25,31 +25,37 @@ module OCI
|
|
25
25
|
# @return [String]
|
26
26
|
attr_reader :status
|
27
27
|
|
28
|
-
# **[Required]** OCID
|
28
|
+
# **[Required]** The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
|
29
29
|
# @return [String]
|
30
30
|
attr_accessor :id
|
31
31
|
|
32
|
-
# **[Required]** The OCID of the compartment
|
32
|
+
# **[Required]** The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment
|
33
|
+
# that contains the work request.
|
34
|
+
#
|
33
35
|
# @return [String]
|
34
36
|
attr_accessor :compartment_id
|
35
37
|
|
36
|
-
# **[Required]** The resources affected by this work request.
|
38
|
+
# **[Required]** The resources that are affected by this work request.
|
37
39
|
# @return [Array<OCI::WorkRequests::Models::WorkRequestResource>]
|
38
40
|
attr_accessor :resources
|
39
41
|
|
40
|
-
# **[Required]** The
|
42
|
+
# **[Required]** The percentage complete of the operation tracked by this work request.
|
41
43
|
# @return [Float]
|
42
44
|
attr_accessor :percent_complete
|
43
45
|
|
44
|
-
# **[Required]**
|
46
|
+
# **[Required]** The date and time the work request was created, in the format defined by RFC3339.
|
45
47
|
# @return [DateTime]
|
46
48
|
attr_accessor :time_accepted
|
47
49
|
|
48
|
-
#
|
50
|
+
# The date and time the work request transitioned from `ACCEPTED` to `IN_PROGRESS`,
|
51
|
+
# in the format defined by RFC3339.
|
52
|
+
#
|
49
53
|
# @return [DateTime]
|
50
54
|
attr_accessor :time_started
|
51
55
|
|
52
|
-
#
|
56
|
+
# The date and time the work request reached a terminal state, either `FAILED` or `SUCCEEDED`.
|
57
|
+
# Format is defined by RFC3339.
|
58
|
+
#
|
53
59
|
# @return [DateTime]
|
54
60
|
attr_accessor :time_finished
|
55
61
|
|