fastly 15.0.0 → 16.0.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/CHANGELOG.md +40 -1
- data/Gemfile.lock +3 -3
- data/README.md +32 -3
- data/docs/ApisecurityOperationsApi.md +465 -0
- data/docs/AutomationTokensApi.md +2 -2
- data/docs/Backend.md +1 -0
- data/docs/BackendApi.md +4 -0
- data/docs/BackendResponse.md +1 -0
- data/docs/DdosProtectionApi.md +4 -4
- data/docs/DdosProtectionEvent.md +2 -0
- data/docs/DdosProtectionEventAllOf.md +2 -0
- data/docs/DdosProtectionRequestEnableMode.md +10 -0
- data/docs/DiscoveredOperationBase.md +12 -0
- data/docs/DiscoveredOperationGet.md +15 -0
- data/docs/DiscoveredOperationGetExtra.md +12 -0
- data/docs/DmDomainsApi.md +2 -2
- data/docs/DomainInspectorHistoricalApi.md +1 -1
- data/docs/DomainInspectorMeasurements.md +63 -0
- data/docs/DomainOwnershipsApi.md +2 -2
- data/docs/DomainResearchApi.md +103 -0
- data/docs/DomainResearchResponseBodyEnable.md +12 -0
- data/docs/DomainResearchResponseCustomer.md +10 -0
- data/docs/DomainResearchResponseLinks.md +10 -0
- data/docs/DomainResearchResponseLinksLinks.md +10 -0
- data/docs/DomainResearchResponseProduct.md +10 -0
- data/docs/DomainResearchResponseProductProduct.md +11 -0
- data/docs/HistoricalApi.md +8 -0
- data/docs/HistoricalMeta.md +1 -0
- data/docs/IamV1RoleResponse.md +1 -0
- data/docs/InlineResponse2001.md +2 -1
- data/docs/InlineResponse20010.md +2 -1
- data/docs/InlineResponse20011.md +11 -0
- data/docs/InlineResponse20012.md +11 -0
- data/docs/InlineResponse20013.md +11 -0
- data/docs/InlineResponse20014.md +10 -0
- data/docs/InlineResponse2002.md +2 -2
- data/docs/InlineResponse2003.md +2 -2
- data/docs/InlineResponse2004.md +1 -2
- data/docs/InlineResponse2005.md +2 -1
- data/docs/InlineResponse2006.md +2 -2
- data/docs/InlineResponse2007.md +2 -2
- data/docs/InlineResponse2008.md +1 -2
- data/docs/InlineResponse2009.md +1 -2
- data/docs/InsightsApi.md +3 -3
- data/docs/KvStoreApi.md +43 -4
- data/docs/KvStoreDetails.md +2 -0
- data/docs/KvStoreItemApi.md +2 -2
- data/docs/{KvStoreRequestCreate.md → KvStoreRequestCreateOrUpdate.md} +1 -1
- data/docs/LogInsights.md +1 -1
- data/docs/Meta.md +11 -0
- data/docs/MetricsPlatformApi.md +75 -0
- data/docs/NgwafRequestEnable.md +1 -0
- data/docs/Offer.md +12 -0
- data/docs/OfferAllOf.md +12 -0
- data/docs/OperationBase.md +14 -0
- data/docs/OperationCreate.md +14 -0
- data/docs/OperationGet.md +18 -0
- data/docs/OperationGetExtra.md +13 -0
- data/docs/OperationUpdate.md +14 -0
- data/docs/OriginInspectorHistoricalApi.md +1 -1
- data/docs/PackageMetadata.md +2 -2
- data/docs/PlatformMetadata.md +14 -0
- data/docs/PlatformMetricsResponse.md +11 -0
- data/docs/PlatformValues.md +25 -0
- data/docs/ProductDdosProtectionApi.md +3 -1
- data/docs/ProductDomainResearchApi.md +115 -0
- data/docs/RealtimeEntryAggregated.md +25 -0
- data/docs/RealtimeMeasurements.md +25 -0
- data/docs/Results.md +25 -0
- data/docs/SecretStoreApi.md +2 -2
- data/docs/SecretStoreItemApi.md +2 -2
- data/docs/ServiceAuthorizationsApi.md +2 -2
- data/docs/Status.md +15 -0
- data/docs/StatusAllOf.md +15 -0
- data/docs/Suggestion.md +13 -0
- data/docs/SuggestionAllOf.md +13 -0
- data/docs/TagBase.md +11 -0
- data/docs/TagCreate.md +11 -0
- data/docs/TagGet.md +15 -0
- data/docs/TagGetExtra.md +13 -0
- data/docs/Values.md +63 -0
- data/lib/fastly/api/apisecurity_operations_api.rb +829 -0
- data/lib/fastly/api/automation_tokens_api.rb +3 -3
- data/lib/fastly/api/backend_api.rb +6 -0
- data/lib/fastly/api/ddos_protection_api.rb +6 -6
- data/lib/fastly/api/dm_domains_api.rb +3 -3
- data/lib/fastly/api/domain_inspector_historical_api.rb +1 -1
- data/lib/fastly/api/domain_ownerships_api.rb +3 -3
- data/lib/fastly/api/domain_research_api.rb +163 -0
- data/lib/fastly/api/historical_api.rb +12 -0
- data/lib/fastly/api/kv_store_api.rb +74 -6
- data/lib/fastly/api/kv_store_item_api.rb +3 -3
- data/lib/fastly/api/metrics_platform_api.rb +134 -0
- data/lib/fastly/api/origin_inspector_historical_api.rb +1 -1
- data/lib/fastly/api/product_ddos_protection_api.rb +10 -3
- data/lib/fastly/api/product_domain_research_api.rb +186 -0
- data/lib/fastly/api/secret_store_api.rb +3 -3
- data/lib/fastly/api/secret_store_item_api.rb +3 -3
- data/lib/fastly/api/service_authorizations_api.rb +3 -3
- data/lib/fastly/configuration.rb +108 -0
- data/lib/fastly/models/backend.rb +11 -1
- data/lib/fastly/models/backend_response.rb +11 -1
- data/lib/fastly/models/ddos_protection_event.rb +21 -1
- data/lib/fastly/models/ddos_protection_event_all_of.rb +21 -1
- data/lib/fastly/models/ddos_protection_request_enable_mode.rb +251 -0
- data/lib/fastly/models/discovered_operation_base.rb +271 -0
- data/lib/fastly/models/discovered_operation_get.rb +336 -0
- data/lib/fastly/models/discovered_operation_get_extra.rb +271 -0
- data/lib/fastly/models/domain_inspector_measurements.rb +634 -4
- data/lib/fastly/models/domain_research_response_body_enable.rb +243 -0
- data/lib/fastly/models/domain_research_response_customer.rb +216 -0
- data/lib/fastly/models/domain_research_response_links.rb +216 -0
- data/lib/fastly/models/domain_research_response_links_links.rb +217 -0
- data/lib/fastly/models/domain_research_response_product.rb +216 -0
- data/lib/fastly/models/domain_research_response_product_product.rb +227 -0
- data/lib/fastly/models/historical_meta.rb +13 -4
- data/lib/fastly/models/iam_v1_role_response.rb +10 -1
- data/lib/fastly/models/inline_response2001.rb +12 -3
- data/lib/fastly/models/inline_response20010.rb +13 -4
- data/lib/fastly/models/inline_response20011.rb +227 -0
- data/lib/fastly/models/inline_response20012.rb +227 -0
- data/lib/fastly/models/inline_response20013.rb +227 -0
- data/lib/fastly/models/inline_response20014.rb +218 -0
- data/lib/fastly/models/inline_response2002.rb +14 -13
- data/lib/fastly/models/inline_response2003.rb +14 -23
- data/lib/fastly/models/inline_response2004.rb +5 -15
- data/lib/fastly/models/inline_response2005.rb +18 -8
- data/lib/fastly/models/inline_response2006.rb +11 -1
- data/lib/fastly/models/inline_response2007.rb +4 -2
- data/lib/fastly/models/inline_response2008.rb +8 -18
- data/lib/fastly/models/inline_response2009.rb +8 -17
- data/lib/fastly/models/kv_store_details.rb +24 -4
- data/lib/fastly/models/{kv_store_request_create.rb → kv_store_request_create_or_update.rb} +3 -3
- data/lib/fastly/models/log_insights.rb +4 -2
- data/lib/fastly/models/meta.rb +266 -0
- data/lib/fastly/models/ngwaf_request_enable.rb +14 -4
- data/lib/fastly/models/offer.rb +245 -0
- data/lib/fastly/models/offer_all_of.rb +237 -0
- data/lib/fastly/models/operation_base.rb +308 -0
- data/lib/fastly/models/operation_create.rb +315 -0
- data/lib/fastly/models/operation_get.rb +381 -0
- data/lib/fastly/models/operation_get_extra.rb +257 -0
- data/lib/fastly/models/operation_update.rb +308 -0
- data/lib/fastly/models/package_metadata.rb +2 -2
- data/lib/fastly/models/platform_metadata.rb +258 -0
- data/lib/fastly/models/platform_metrics_response.rb +228 -0
- data/lib/fastly/models/platform_values.rb +368 -0
- data/lib/fastly/models/realtime_entry_aggregated.rb +254 -4
- data/lib/fastly/models/realtime_measurements.rb +254 -4
- data/lib/fastly/models/results.rb +251 -1
- data/lib/fastly/models/status.rb +276 -0
- data/lib/fastly/models/status_all_of.rb +268 -0
- data/lib/fastly/models/suggestion.rb +255 -0
- data/lib/fastly/models/suggestion_all_of.rb +247 -0
- data/lib/fastly/models/tag_base.rb +275 -0
- data/lib/fastly/models/tag_create.rb +282 -0
- data/lib/fastly/models/tag_get.rb +352 -0
- data/lib/fastly/models/tag_get_extra.rb +267 -0
- data/lib/fastly/models/values.rb +634 -4
- data/lib/fastly/version.rb +1 -1
- data/lib/fastly.rb +38 -1
- data/sig.json +1 -1
- metadata +78 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5747a8dba105a312d1eda323915e9024845dfcb5a82f6d4abc87232cb28d7046
|
|
4
|
+
data.tar.gz: 85563d9e2d9af21fdb09a6e1b80d388e76e031b20fcc02c80f993e94226ed2b6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a4d498eeb35b771652fee94bc8bcd044079bdf3e5c8c3c614f80cc903c035ebbac2f184700740b09985cdd1bf5794f24584977f1f64533c6615081bdb9324066
|
|
7
|
+
data.tar.gz: 5249c08557566a2b935608247c4069e6e514eeb02ff35bf95408aa9320521fc40130f3193ab1bc3fd829d6ac0ac4c9b9cc91bb0c43d40aa6c96ce8b3b66228ca
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,44 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [v16.0.0](https://github.com/fastly/fastly-ruby/releases/tag/release/v16.0.0) (2026-02-16)
|
|
4
|
+
|
|
5
|
+
**Breaking Changes:**
|
|
6
|
+
|
|
7
|
+
- deprecated(user): The Compute package metadata model `hashsum` and `size` fields have been deprecated.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
**Enhancements:**
|
|
11
|
+
|
|
12
|
+
- feat(apisecurity-operations): Add new API Security Operations API.
|
|
13
|
+
- feat(domain-inspector-realtime, domain-inspector-historical): Add new metrics `compute_*`.
|
|
14
|
+
- feat(realtime, historical): Add new metrics `compute_resp_status_*`.
|
|
15
|
+
- feat(realtime, historical): Add new metric `ngwaf_bot_analysis_request_count`.
|
|
16
|
+
- feat(backend): Add support for `fetch_timeout` field.
|
|
17
|
+
- feat(historical): Add support for `datacenter` query.
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
## [v15.1.0](https://github.com/fastly/fastly-ruby/releases/tag/release/v15.1.0) (2025-12-09)
|
|
21
|
+
|
|
22
|
+
**Enhancements:**
|
|
23
|
+
|
|
24
|
+
- feat(realtime, historical): Add new metrics `imgopto_compute_requests`, `dns_billable_responses_count`,
|
|
25
|
+
`dns_nonbillable_responses_count`, and `upgrade`.
|
|
26
|
+
- feat(products[ngwaf]): Add new parameter `traffic_ramp` to `enable-product-ngwaf`.
|
|
27
|
+
- feat(products[ddos_protection]): Add new parameter `mode` to `enable-product-ddos-protection`.
|
|
28
|
+
- feat(kv_store): Add `kv-store-put` operation.
|
|
29
|
+
- feat(iam_roles): Add `DisplayName` field to model.
|
|
30
|
+
- feat(domain_research): Add new Domain Research API.
|
|
31
|
+
- feat(ddos_protection): Add `requests_allowed` and `requests_detected` fields to DDoS Protection event API.
|
|
32
|
+
|
|
33
|
+
- feat(products): Add `domain_research` product to enablement API.
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
**Documentation:**
|
|
38
|
+
|
|
39
|
+
- doc(enabled-products): Add support for optional enablement parameters for some products.
|
|
40
|
+
|
|
41
|
+
|
|
3
42
|
## [v15.0.0](https://github.com/fastly/fastly-ruby/releases/tag/release/v15.0.0) (2025-10-31)
|
|
4
43
|
|
|
5
44
|
**Bug fixes:**
|
|
@@ -1182,4 +1221,4 @@ Add Healthchecks and Syslog endpoint streaming
|
|
|
1182
1221
|
|
|
1183
1222
|
## 2011-11-02 v0.5
|
|
1184
1223
|
|
|
1185
|
-
Initial releasee
|
|
1224
|
+
Initial releasee
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
fastly (
|
|
4
|
+
fastly (16.0.0)
|
|
5
5
|
typhoeus (~> 1.0, >= 1.0.1)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
@@ -12,8 +12,8 @@ GEM
|
|
|
12
12
|
coderay (1.1.3)
|
|
13
13
|
ethon (0.15.0)
|
|
14
14
|
ffi (>= 1.15.0)
|
|
15
|
-
ffi (1.17.
|
|
16
|
-
ffi (1.17.
|
|
15
|
+
ffi (1.17.3-arm64-darwin)
|
|
16
|
+
ffi (1.17.3-x86_64-linux-gnu)
|
|
17
17
|
jaro_winkler (1.5.4)
|
|
18
18
|
method_source (1.0.0)
|
|
19
19
|
parallel (1.21.0)
|
data/README.md
CHANGED
|
@@ -8,7 +8,7 @@ A Ruby client library for interacting with most facets of the [Fastly API](https
|
|
|
8
8
|
To install via RubyGems, add the following to your project's `Gemfile`:
|
|
9
9
|
|
|
10
10
|
```ruby
|
|
11
|
-
gem 'fastly', '~>
|
|
11
|
+
gem 'fastly', '~> 16.0.0'
|
|
12
12
|
```
|
|
13
13
|
|
|
14
14
|
Then run `bundle install`.
|
|
@@ -91,6 +91,17 @@ Class | Method | Description
|
|
|
91
91
|
[*Fastly::ApexRedirectApi*](docs/ApexRedirectApi.md) | [**get_apex_redirect**](docs/ApexRedirectApi.md#get_apex_redirect) | Get an apex redirect
|
|
92
92
|
[*Fastly::ApexRedirectApi*](docs/ApexRedirectApi.md) | [**list_apex_redirects**](docs/ApexRedirectApi.md#list_apex_redirects) | List apex redirects
|
|
93
93
|
[*Fastly::ApexRedirectApi*](docs/ApexRedirectApi.md) | [**update_apex_redirect**](docs/ApexRedirectApi.md#update_apex_redirect) | Update an apex redirect
|
|
94
|
+
[*Fastly::ApisecurityOperationsApi*](docs/ApisecurityOperationsApi.md) | [**api_security_create_operation**](docs/ApisecurityOperationsApi.md#api_security_create_operation) | Create operation
|
|
95
|
+
[*Fastly::ApisecurityOperationsApi*](docs/ApisecurityOperationsApi.md) | [**api_security_create_operation_tag**](docs/ApisecurityOperationsApi.md#api_security_create_operation_tag) | Create operation tag
|
|
96
|
+
[*Fastly::ApisecurityOperationsApi*](docs/ApisecurityOperationsApi.md) | [**api_security_delete_operation**](docs/ApisecurityOperationsApi.md#api_security_delete_operation) | Delete operation
|
|
97
|
+
[*Fastly::ApisecurityOperationsApi*](docs/ApisecurityOperationsApi.md) | [**api_security_delete_operation_tag**](docs/ApisecurityOperationsApi.md#api_security_delete_operation_tag) | Delete operation tag
|
|
98
|
+
[*Fastly::ApisecurityOperationsApi*](docs/ApisecurityOperationsApi.md) | [**api_security_get_operation**](docs/ApisecurityOperationsApi.md#api_security_get_operation) | Retrieve operation
|
|
99
|
+
[*Fastly::ApisecurityOperationsApi*](docs/ApisecurityOperationsApi.md) | [**api_security_get_operation_tag**](docs/ApisecurityOperationsApi.md#api_security_get_operation_tag) | Retrieve operation tag
|
|
100
|
+
[*Fastly::ApisecurityOperationsApi*](docs/ApisecurityOperationsApi.md) | [**api_security_list_discovered_operations**](docs/ApisecurityOperationsApi.md#api_security_list_discovered_operations) | List discovered operations
|
|
101
|
+
[*Fastly::ApisecurityOperationsApi*](docs/ApisecurityOperationsApi.md) | [**api_security_list_operation_tags**](docs/ApisecurityOperationsApi.md#api_security_list_operation_tags) | List operation tags
|
|
102
|
+
[*Fastly::ApisecurityOperationsApi*](docs/ApisecurityOperationsApi.md) | [**api_security_list_operations**](docs/ApisecurityOperationsApi.md#api_security_list_operations) | List operations
|
|
103
|
+
[*Fastly::ApisecurityOperationsApi*](docs/ApisecurityOperationsApi.md) | [**api_security_update_operation**](docs/ApisecurityOperationsApi.md#api_security_update_operation) | Update operation
|
|
104
|
+
[*Fastly::ApisecurityOperationsApi*](docs/ApisecurityOperationsApi.md) | [**api_security_update_operation_tag**](docs/ApisecurityOperationsApi.md#api_security_update_operation_tag) | Update operation tag
|
|
94
105
|
[*Fastly::AutomationTokensApi*](docs/AutomationTokensApi.md) | [**create_automation_token**](docs/AutomationTokensApi.md#create_automation_token) | Create Automation Token
|
|
95
106
|
[*Fastly::AutomationTokensApi*](docs/AutomationTokensApi.md) | [**get_automation_token_id**](docs/AutomationTokensApi.md#get_automation_token_id) | Retrieve an Automation Token by ID
|
|
96
107
|
[*Fastly::AutomationTokensApi*](docs/AutomationTokensApi.md) | [**get_automation_tokens_id_services**](docs/AutomationTokensApi.md#get_automation_tokens_id_services) | List Automation Token Services
|
|
@@ -191,6 +202,8 @@ Class | Method | Description
|
|
|
191
202
|
[*Fastly::DomainInspectorRealtimeApi*](docs/DomainInspectorRealtimeApi.md) | [**get_domain_inspector_last_max_entries**](docs/DomainInspectorRealtimeApi.md#get_domain_inspector_last_max_entries) | Get a limited number of real-time domain data entries
|
|
192
203
|
[*Fastly::DomainInspectorRealtimeApi*](docs/DomainInspectorRealtimeApi.md) | [**get_domain_inspector_last_second**](docs/DomainInspectorRealtimeApi.md#get_domain_inspector_last_second) | Get real-time domain data from a specified time
|
|
193
204
|
[*Fastly::DomainOwnershipsApi*](docs/DomainOwnershipsApi.md) | [**list_domain_ownerships**](docs/DomainOwnershipsApi.md#list_domain_ownerships) | List domain-ownerships
|
|
205
|
+
[*Fastly::DomainResearchApi*](docs/DomainResearchApi.md) | [**domain_status**](docs/DomainResearchApi.md#domain_status) | Domain status
|
|
206
|
+
[*Fastly::DomainResearchApi*](docs/DomainResearchApi.md) | [**suggest_domains**](docs/DomainResearchApi.md#suggest_domains) | Suggest domains
|
|
194
207
|
[*Fastly::EventsApi*](docs/EventsApi.md) | [**get_event**](docs/EventsApi.md#get_event) | Get an event
|
|
195
208
|
[*Fastly::EventsApi*](docs/EventsApi.md) | [**list_events**](docs/EventsApi.md#list_events) | List events
|
|
196
209
|
[*Fastly::GzipApi*](docs/GzipApi.md) | [**create_gzip_config**](docs/GzipApi.md#create_gzip_config) | Create a gzip configuration
|
|
@@ -255,6 +268,7 @@ Class | Method | Description
|
|
|
255
268
|
[*Fastly::KvStoreApi*](docs/KvStoreApi.md) | [**kv_store_delete**](docs/KvStoreApi.md#kv_store_delete) | Delete a KV store.
|
|
256
269
|
[*Fastly::KvStoreApi*](docs/KvStoreApi.md) | [**kv_store_get**](docs/KvStoreApi.md#kv_store_get) | Describe a KV store.
|
|
257
270
|
[*Fastly::KvStoreApi*](docs/KvStoreApi.md) | [**kv_store_list**](docs/KvStoreApi.md#kv_store_list) | List all KV stores.
|
|
271
|
+
[*Fastly::KvStoreApi*](docs/KvStoreApi.md) | [**kv_store_put**](docs/KvStoreApi.md#kv_store_put) | Update a KV store.
|
|
258
272
|
[*Fastly::KvStoreItemApi*](docs/KvStoreItemApi.md) | [**kv_store_delete_item**](docs/KvStoreItemApi.md#kv_store_delete_item) | Delete an item.
|
|
259
273
|
[*Fastly::KvStoreItemApi*](docs/KvStoreItemApi.md) | [**kv_store_get_item**](docs/KvStoreItemApi.md#kv_store_get_item) | Get an item.
|
|
260
274
|
[*Fastly::KvStoreItemApi*](docs/KvStoreItemApi.md) | [**kv_store_list_item_keys**](docs/KvStoreItemApi.md#kv_store_list_item_keys) | List item keys.
|
|
@@ -400,6 +414,7 @@ Class | Method | Description
|
|
|
400
414
|
[*Fastly::LoggingSyslogApi*](docs/LoggingSyslogApi.md) | [**get_log_syslog**](docs/LoggingSyslogApi.md#get_log_syslog) | Get a syslog log endpoint
|
|
401
415
|
[*Fastly::LoggingSyslogApi*](docs/LoggingSyslogApi.md) | [**list_log_syslog**](docs/LoggingSyslogApi.md#list_log_syslog) | List Syslog log endpoints
|
|
402
416
|
[*Fastly::LoggingSyslogApi*](docs/LoggingSyslogApi.md) | [**update_log_syslog**](docs/LoggingSyslogApi.md#update_log_syslog) | Update a syslog log endpoint
|
|
417
|
+
[*Fastly::MetricsPlatformApi*](docs/MetricsPlatformApi.md) | [**get_platform_metrics_service_historical**](docs/MetricsPlatformApi.md#get_platform_metrics_service_historical) | Get historical time series metrics for a single service
|
|
403
418
|
[*Fastly::MutualAuthenticationApi*](docs/MutualAuthenticationApi.md) | [**create_mutual_tls_authentication**](docs/MutualAuthenticationApi.md#create_mutual_tls_authentication) | Create a Mutual Authentication
|
|
404
419
|
[*Fastly::MutualAuthenticationApi*](docs/MutualAuthenticationApi.md) | [**delete_mutual_tls**](docs/MutualAuthenticationApi.md#delete_mutual_tls) | Delete a Mutual TLS
|
|
405
420
|
[*Fastly::MutualAuthenticationApi*](docs/MutualAuthenticationApi.md) | [**get_mutual_authentication**](docs/MutualAuthenticationApi.md#get_mutual_authentication) | Get a Mutual Authentication
|
|
@@ -455,6 +470,9 @@ Class | Method | Description
|
|
|
455
470
|
[*Fastly::ProductDomainInspectorApi*](docs/ProductDomainInspectorApi.md) | [**enable_product_domain_inspector**](docs/ProductDomainInspectorApi.md#enable_product_domain_inspector) | Enable product
|
|
456
471
|
[*Fastly::ProductDomainInspectorApi*](docs/ProductDomainInspectorApi.md) | [**get_product_domain_inspector**](docs/ProductDomainInspectorApi.md#get_product_domain_inspector) | Get product enablement status
|
|
457
472
|
[*Fastly::ProductDomainInspectorApi*](docs/ProductDomainInspectorApi.md) | [**get_services_product_domain_inspector**](docs/ProductDomainInspectorApi.md#get_services_product_domain_inspector) | Get services with product enabled
|
|
473
|
+
[*Fastly::ProductDomainResearchApi*](docs/ProductDomainResearchApi.md) | [**disable_product_domain_research**](docs/ProductDomainResearchApi.md#disable_product_domain_research) | Disable product
|
|
474
|
+
[*Fastly::ProductDomainResearchApi*](docs/ProductDomainResearchApi.md) | [**enable_domain_research**](docs/ProductDomainResearchApi.md#enable_domain_research) | Enable product
|
|
475
|
+
[*Fastly::ProductDomainResearchApi*](docs/ProductDomainResearchApi.md) | [**get_domain_research**](docs/ProductDomainResearchApi.md#get_domain_research) | Get product enablement status
|
|
458
476
|
[*Fastly::ProductFanoutApi*](docs/ProductFanoutApi.md) | [**disable_product_fanout**](docs/ProductFanoutApi.md#disable_product_fanout) | Disable product
|
|
459
477
|
[*Fastly::ProductFanoutApi*](docs/ProductFanoutApi.md) | [**enable_product_fanout**](docs/ProductFanoutApi.md#enable_product_fanout) | Enable product
|
|
460
478
|
[*Fastly::ProductFanoutApi*](docs/ProductFanoutApi.md) | [**get_product_fanout**](docs/ProductFanoutApi.md#get_product_fanout) | Get product enablement status
|
|
@@ -646,8 +664,11 @@ The fastly-ruby API client currently does not support the following endpoints:
|
|
|
646
664
|
- [`/alerts/history`](https://www.fastly.com/documentation/reference/api/observability/alerts/history) (GET)
|
|
647
665
|
- [`/dns/configurations/{dns_configuration_id}`](https://www.fastly.com/documentation/reference/api/) (DELETE, GET, PATCH)
|
|
648
666
|
- [`/dns/configurations`](https://www.fastly.com/documentation/reference/api/) (GET, POST)
|
|
649
|
-
- [`/
|
|
650
|
-
- [`/
|
|
667
|
+
- [`/dns/v1/tsig-keys/{tsig_key_id}`](https://www.fastly.com/documentation/reference/api/) (DELETE, GET, PATCH)
|
|
668
|
+
- [`/dns/v1/tsig-keys`](https://www.fastly.com/documentation/reference/api/) (GET, POST)
|
|
669
|
+
- [`/dns/v1/zones/{zone_id}`](https://www.fastly.com/documentation/reference/api/) (DELETE, GET, PATCH)
|
|
670
|
+
- [`/dns/v1/zones`](https://www.fastly.com/documentation/reference/api/) (GET, POST)
|
|
671
|
+
- [`/ngwaf/v1/default-dashboards`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/custom-dashboards) (GET)
|
|
651
672
|
- [`/ngwaf/v1/lists/{listId}`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/lists) (DELETE, GET, PATCH)
|
|
652
673
|
- [`/ngwaf/v1/lists`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/lists) (GET, POST)
|
|
653
674
|
- [`/ngwaf/v1/signals/{signal_id}`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/signals) (DELETE, GET, PATCH)
|
|
@@ -658,8 +679,13 @@ The fastly-ruby API client currently does not support the following endpoints:
|
|
|
658
679
|
- [`/ngwaf/v1/workspaces/{workspace_id}/alerts/{alert_id}/signing-key`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/workspace_alerts) (GET, POST)
|
|
659
680
|
- [`/ngwaf/v1/workspaces/{workspace_id}/alerts/{alert_id}`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/workspace_alerts) (DELETE, GET, PATCH)
|
|
660
681
|
- [`/ngwaf/v1/workspaces/{workspace_id}/alerts`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/workspace_alerts) (GET, POST)
|
|
682
|
+
- [`/ngwaf/v1/workspaces/{workspace_id}/dashboards/{dashboard_id}`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/custom-dashboards) (DELETE, GET, PATCH)
|
|
683
|
+
- [`/ngwaf/v1/workspaces/{workspace_id}/dashboards`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/custom-dashboards) (GET, POST)
|
|
684
|
+
- [`/ngwaf/v1/workspaces/{workspace_id}/default-dashboard`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/custom-dashboards) (GET, PUT)
|
|
661
685
|
- [`/ngwaf/v1/workspaces/{workspace_id}/events/{event_id}`](https://www.fastly.com/documentation/reference/api/ngwaf/events) (GET, PATCH)
|
|
662
686
|
- [`/ngwaf/v1/workspaces/{workspace_id}/events`](https://www.fastly.com/documentation/reference/api/ngwaf/events) (GET)
|
|
687
|
+
- [`/ngwaf/v1/workspaces/{workspace_id}/header-links/{header_link_id}`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/header-links) (DELETE, GET, PUT)
|
|
688
|
+
- [`/ngwaf/v1/workspaces/{workspace_id}/header-links`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/header-links) (GET, POST)
|
|
663
689
|
- [`/ngwaf/v1/workspaces/{workspace_id}/redactions/{redaction_id}`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/redactions) (DELETE, GET, PATCH)
|
|
664
690
|
- [`/ngwaf/v1/workspaces/{workspace_id}/redactions`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/redactions) (GET, POST)
|
|
665
691
|
- [`/ngwaf/v1/workspaces/{workspace_id}/requests/{request_id}/report`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/requests) (POST)
|
|
@@ -667,7 +693,10 @@ The fastly-ruby API client currently does not support the following endpoints:
|
|
|
667
693
|
- [`/ngwaf/v1/workspaces/{workspace_id}/requests`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/requests) (GET)
|
|
668
694
|
- [`/ngwaf/v1/workspaces/{workspace_id}/rules/{rule_id}`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/rules) (DELETE, GET, PATCH)
|
|
669
695
|
- [`/ngwaf/v1/workspaces/{workspace_id}/rules`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/rules) (GET, POST)
|
|
696
|
+
- [`/ngwaf/v1/workspaces/{workspace_id}/thresholds/{threshold_id}`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/thresholds) (DELETE, GET, PATCH)
|
|
697
|
+
- [`/ngwaf/v1/workspaces/{workspace_id}/thresholds`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/thresholds) (GET, POST)
|
|
670
698
|
- [`/ngwaf/v1/workspaces/{workspace_id}/timeseries`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/timeseries) (GET)
|
|
699
|
+
- [`/ngwaf/v1/workspaces/{workspace_id}/top-attacks`](https://www.fastly.com/documentation/reference/api/ngwaf/workspaces) (GET)
|
|
671
700
|
- [`/ngwaf/v1/workspaces/{workspace_id}/virtual-patches/{virtual_patch_id}`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/virtual-patches) (GET, PATCH)
|
|
672
701
|
- [`/ngwaf/v1/workspaces/{workspace_id}/virtual-patches`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/virtual-patches) (GET)
|
|
673
702
|
- [`/ngwaf/v1/workspaces/{workspace_id}`](https://www.fastly.com/documentation/reference/api/ngwaf/workspaces) (DELETE, GET, PATCH)
|
|
@@ -0,0 +1,465 @@
|
|
|
1
|
+
# Fastly::ApisecurityOperationsApi
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
```ruby
|
|
5
|
+
require 'fastly'
|
|
6
|
+
api_instance = Fastly::ApisecurityOperationsApi.new
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
## Methods
|
|
10
|
+
|
|
11
|
+
> [!NOTE]
|
|
12
|
+
> All URIs are relative to `https://api.fastly.com`
|
|
13
|
+
|
|
14
|
+
Method | HTTP request | Description
|
|
15
|
+
------ | ------------ | -----------
|
|
16
|
+
[**api_security_create_operation**](ApisecurityOperationsApi.md#api_security_create_operation) | **POST** /api-security/v1/services/{service_id}/operations | Create operation
|
|
17
|
+
[**api_security_create_operation_tag**](ApisecurityOperationsApi.md#api_security_create_operation_tag) | **POST** /api-security/v1/services/{service_id}/tags | Create operation tag
|
|
18
|
+
[**api_security_delete_operation**](ApisecurityOperationsApi.md#api_security_delete_operation) | **DELETE** /api-security/v1/services/{service_id}/operations/{operation_id} | Delete operation
|
|
19
|
+
[**api_security_delete_operation_tag**](ApisecurityOperationsApi.md#api_security_delete_operation_tag) | **DELETE** /api-security/v1/services/{service_id}/tags/{tag_id} | Delete operation tag
|
|
20
|
+
[**api_security_get_operation**](ApisecurityOperationsApi.md#api_security_get_operation) | **GET** /api-security/v1/services/{service_id}/operations/{operation_id} | Retrieve operation
|
|
21
|
+
[**api_security_get_operation_tag**](ApisecurityOperationsApi.md#api_security_get_operation_tag) | **GET** /api-security/v1/services/{service_id}/tags/{tag_id} | Retrieve operation tag
|
|
22
|
+
[**api_security_list_discovered_operations**](ApisecurityOperationsApi.md#api_security_list_discovered_operations) | **GET** /api-security/v1/services/{service_id}/discovered-operations | List discovered operations
|
|
23
|
+
[**api_security_list_operation_tags**](ApisecurityOperationsApi.md#api_security_list_operation_tags) | **GET** /api-security/v1/services/{service_id}/tags | List operation tags
|
|
24
|
+
[**api_security_list_operations**](ApisecurityOperationsApi.md#api_security_list_operations) | **GET** /api-security/v1/services/{service_id}/operations | List operations
|
|
25
|
+
[**api_security_update_operation**](ApisecurityOperationsApi.md#api_security_update_operation) | **PATCH** /api-security/v1/services/{service_id}/operations/{operation_id} | Update operation
|
|
26
|
+
[**api_security_update_operation_tag**](ApisecurityOperationsApi.md#api_security_update_operation_tag) | **PATCH** /api-security/v1/services/{service_id}/tags/{tag_id} | Update operation tag
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
## `api_security_create_operation()`
|
|
30
|
+
|
|
31
|
+
```ruby
|
|
32
|
+
api_security_create_operation(opts): <OperationGet> # Create operation
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Create a new operation associated with a specific service.
|
|
36
|
+
|
|
37
|
+
### Examples
|
|
38
|
+
|
|
39
|
+
```ruby
|
|
40
|
+
api_instance = Fastly::ApisecurityOperationsApi.new
|
|
41
|
+
opts = {
|
|
42
|
+
service_id: '3NeCFuZNP1v0iyJ2vmYQI6', # String | The unique identifier of the service.
|
|
43
|
+
operation_create: Fastly::OperationCreate.new, # OperationCreate |
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
begin
|
|
47
|
+
# Create operation
|
|
48
|
+
result = api_instance.api_security_create_operation(opts)
|
|
49
|
+
p result
|
|
50
|
+
rescue Fastly::ApiError => e
|
|
51
|
+
puts "Error when calling ApisecurityOperationsApi->api_security_create_operation: #{e}"
|
|
52
|
+
end
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
### Options
|
|
56
|
+
|
|
57
|
+
| Name | Type | Description | Notes |
|
|
58
|
+
| ---- | ---- | ----------- | ----- |
|
|
59
|
+
| **service_id** | **String** | The unique identifier of the service. | |
|
|
60
|
+
| **operation_create** | [**OperationCreate**](OperationCreate.md) | | [optional] |
|
|
61
|
+
|
|
62
|
+
### Return type
|
|
63
|
+
|
|
64
|
+
[**OperationGet**](OperationGet.md)
|
|
65
|
+
|
|
66
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
|
67
|
+
[[Back to README]](../../README.md)
|
|
68
|
+
## `api_security_create_operation_tag()`
|
|
69
|
+
|
|
70
|
+
```ruby
|
|
71
|
+
api_security_create_operation_tag(opts): <TagGet> # Create operation tag
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
Create a new operation tag associated with a specific service.
|
|
75
|
+
|
|
76
|
+
### Examples
|
|
77
|
+
|
|
78
|
+
```ruby
|
|
79
|
+
api_instance = Fastly::ApisecurityOperationsApi.new
|
|
80
|
+
opts = {
|
|
81
|
+
service_id: '3NeCFuZNP1v0iyJ2vmYQI6', # String | The unique identifier of the service.
|
|
82
|
+
tag_create: Fastly::TagCreate.new, # TagCreate |
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
begin
|
|
86
|
+
# Create operation tag
|
|
87
|
+
result = api_instance.api_security_create_operation_tag(opts)
|
|
88
|
+
p result
|
|
89
|
+
rescue Fastly::ApiError => e
|
|
90
|
+
puts "Error when calling ApisecurityOperationsApi->api_security_create_operation_tag: #{e}"
|
|
91
|
+
end
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
### Options
|
|
95
|
+
|
|
96
|
+
| Name | Type | Description | Notes |
|
|
97
|
+
| ---- | ---- | ----------- | ----- |
|
|
98
|
+
| **service_id** | **String** | The unique identifier of the service. | |
|
|
99
|
+
| **tag_create** | [**TagCreate**](TagCreate.md) | | [optional] |
|
|
100
|
+
|
|
101
|
+
### Return type
|
|
102
|
+
|
|
103
|
+
[**TagGet**](TagGet.md)
|
|
104
|
+
|
|
105
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
|
106
|
+
[[Back to README]](../../README.md)
|
|
107
|
+
## `api_security_delete_operation()`
|
|
108
|
+
|
|
109
|
+
```ruby
|
|
110
|
+
api_security_delete_operation(opts) # Delete operation
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
Delete an existing operation associated with a specific service.
|
|
114
|
+
|
|
115
|
+
### Examples
|
|
116
|
+
|
|
117
|
+
```ruby
|
|
118
|
+
api_instance = Fastly::ApisecurityOperationsApi.new
|
|
119
|
+
opts = {
|
|
120
|
+
service_id: '3NeCFuZNP1v0iyJ2vmYQI6', # String | The unique identifier of the service.
|
|
121
|
+
operation_id: 'op_abc123def456', # String | The unique identifier of the operation.
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
begin
|
|
125
|
+
# Delete operation
|
|
126
|
+
api_instance.api_security_delete_operation(opts)
|
|
127
|
+
rescue Fastly::ApiError => e
|
|
128
|
+
puts "Error when calling ApisecurityOperationsApi->api_security_delete_operation: #{e}"
|
|
129
|
+
end
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
### Options
|
|
133
|
+
|
|
134
|
+
| Name | Type | Description | Notes |
|
|
135
|
+
| ---- | ---- | ----------- | ----- |
|
|
136
|
+
| **service_id** | **String** | The unique identifier of the service. | |
|
|
137
|
+
| **operation_id** | **String** | The unique identifier of the operation. | |
|
|
138
|
+
|
|
139
|
+
### Return type
|
|
140
|
+
|
|
141
|
+
nil (empty response body)
|
|
142
|
+
|
|
143
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
|
144
|
+
[[Back to README]](../../README.md)
|
|
145
|
+
## `api_security_delete_operation_tag()`
|
|
146
|
+
|
|
147
|
+
```ruby
|
|
148
|
+
api_security_delete_operation_tag(opts) # Delete operation tag
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
Delete an existing operation tag.
|
|
152
|
+
|
|
153
|
+
### Examples
|
|
154
|
+
|
|
155
|
+
```ruby
|
|
156
|
+
api_instance = Fastly::ApisecurityOperationsApi.new
|
|
157
|
+
opts = {
|
|
158
|
+
service_id: '3NeCFuZNP1v0iyJ2vmYQI6', # String | The unique identifier of the service.
|
|
159
|
+
tag_id: 'tag_abc123def456', # String | The unique identifier of the operation tag.
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
begin
|
|
163
|
+
# Delete operation tag
|
|
164
|
+
api_instance.api_security_delete_operation_tag(opts)
|
|
165
|
+
rescue Fastly::ApiError => e
|
|
166
|
+
puts "Error when calling ApisecurityOperationsApi->api_security_delete_operation_tag: #{e}"
|
|
167
|
+
end
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
### Options
|
|
171
|
+
|
|
172
|
+
| Name | Type | Description | Notes |
|
|
173
|
+
| ---- | ---- | ----------- | ----- |
|
|
174
|
+
| **service_id** | **String** | The unique identifier of the service. | |
|
|
175
|
+
| **tag_id** | **String** | The unique identifier of the operation tag. | |
|
|
176
|
+
|
|
177
|
+
### Return type
|
|
178
|
+
|
|
179
|
+
nil (empty response body)
|
|
180
|
+
|
|
181
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
|
182
|
+
[[Back to README]](../../README.md)
|
|
183
|
+
## `api_security_get_operation()`
|
|
184
|
+
|
|
185
|
+
```ruby
|
|
186
|
+
api_security_get_operation(opts): <OperationGet> # Retrieve operation
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
Get a specific operation associated with a service.
|
|
190
|
+
|
|
191
|
+
### Examples
|
|
192
|
+
|
|
193
|
+
```ruby
|
|
194
|
+
api_instance = Fastly::ApisecurityOperationsApi.new
|
|
195
|
+
opts = {
|
|
196
|
+
service_id: '3NeCFuZNP1v0iyJ2vmYQI6', # String | The unique identifier of the service.
|
|
197
|
+
operation_id: 'op_abc123def456', # String | The unique identifier of the operation.
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
begin
|
|
201
|
+
# Retrieve operation
|
|
202
|
+
result = api_instance.api_security_get_operation(opts)
|
|
203
|
+
p result
|
|
204
|
+
rescue Fastly::ApiError => e
|
|
205
|
+
puts "Error when calling ApisecurityOperationsApi->api_security_get_operation: #{e}"
|
|
206
|
+
end
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
### Options
|
|
210
|
+
|
|
211
|
+
| Name | Type | Description | Notes |
|
|
212
|
+
| ---- | ---- | ----------- | ----- |
|
|
213
|
+
| **service_id** | **String** | The unique identifier of the service. | |
|
|
214
|
+
| **operation_id** | **String** | The unique identifier of the operation. | |
|
|
215
|
+
|
|
216
|
+
### Return type
|
|
217
|
+
|
|
218
|
+
[**OperationGet**](OperationGet.md)
|
|
219
|
+
|
|
220
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
|
221
|
+
[[Back to README]](../../README.md)
|
|
222
|
+
## `api_security_get_operation_tag()`
|
|
223
|
+
|
|
224
|
+
```ruby
|
|
225
|
+
api_security_get_operation_tag(opts): <TagGet> # Retrieve operation tag
|
|
226
|
+
```
|
|
227
|
+
|
|
228
|
+
Get a specific operation tag by its unique identifier.
|
|
229
|
+
|
|
230
|
+
### Examples
|
|
231
|
+
|
|
232
|
+
```ruby
|
|
233
|
+
api_instance = Fastly::ApisecurityOperationsApi.new
|
|
234
|
+
opts = {
|
|
235
|
+
service_id: '3NeCFuZNP1v0iyJ2vmYQI6', # String | The unique identifier of the service.
|
|
236
|
+
tag_id: 'tag_abc123def456', # String | The unique identifier of the operation tag.
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
begin
|
|
240
|
+
# Retrieve operation tag
|
|
241
|
+
result = api_instance.api_security_get_operation_tag(opts)
|
|
242
|
+
p result
|
|
243
|
+
rescue Fastly::ApiError => e
|
|
244
|
+
puts "Error when calling ApisecurityOperationsApi->api_security_get_operation_tag: #{e}"
|
|
245
|
+
end
|
|
246
|
+
```
|
|
247
|
+
|
|
248
|
+
### Options
|
|
249
|
+
|
|
250
|
+
| Name | Type | Description | Notes |
|
|
251
|
+
| ---- | ---- | ----------- | ----- |
|
|
252
|
+
| **service_id** | **String** | The unique identifier of the service. | |
|
|
253
|
+
| **tag_id** | **String** | The unique identifier of the operation tag. | |
|
|
254
|
+
|
|
255
|
+
### Return type
|
|
256
|
+
|
|
257
|
+
[**TagGet**](TagGet.md)
|
|
258
|
+
|
|
259
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
|
260
|
+
[[Back to README]](../../README.md)
|
|
261
|
+
## `api_security_list_discovered_operations()`
|
|
262
|
+
|
|
263
|
+
```ruby
|
|
264
|
+
api_security_list_discovered_operations(opts): <InlineResponse2001> # List discovered operations
|
|
265
|
+
```
|
|
266
|
+
|
|
267
|
+
List all discovered operations associated with a specific service. Optionally filter operations by status.
|
|
268
|
+
|
|
269
|
+
### Examples
|
|
270
|
+
|
|
271
|
+
```ruby
|
|
272
|
+
api_instance = Fastly::ApisecurityOperationsApi.new
|
|
273
|
+
opts = {
|
|
274
|
+
service_id: '3NeCFuZNP1v0iyJ2vmYQI6', # String | The unique identifier of the service.
|
|
275
|
+
status: 'DISCOVERED', # String | Filter operations by status. Only operations with this status will be returned.
|
|
276
|
+
limit: 100, # Integer | The maximum number of operations to return per page.
|
|
277
|
+
page: 1, # Integer | The page number to return.
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
begin
|
|
281
|
+
# List discovered operations
|
|
282
|
+
result = api_instance.api_security_list_discovered_operations(opts)
|
|
283
|
+
p result
|
|
284
|
+
rescue Fastly::ApiError => e
|
|
285
|
+
puts "Error when calling ApisecurityOperationsApi->api_security_list_discovered_operations: #{e}"
|
|
286
|
+
end
|
|
287
|
+
```
|
|
288
|
+
|
|
289
|
+
### Options
|
|
290
|
+
|
|
291
|
+
| Name | Type | Description | Notes |
|
|
292
|
+
| ---- | ---- | ----------- | ----- |
|
|
293
|
+
| **service_id** | **String** | The unique identifier of the service. | |
|
|
294
|
+
| **status** | **String** | Filter operations by status. Only operations with this status will be returned. | [optional] |
|
|
295
|
+
| **limit** | **Integer** | The maximum number of operations to return per page. | [optional][default to 100] |
|
|
296
|
+
| **page** | **Integer** | The page number to return. | [optional][default to 0] |
|
|
297
|
+
|
|
298
|
+
### Return type
|
|
299
|
+
|
|
300
|
+
[**InlineResponse2001**](InlineResponse2001.md)
|
|
301
|
+
|
|
302
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
|
303
|
+
[[Back to README]](../../README.md)
|
|
304
|
+
## `api_security_list_operation_tags()`
|
|
305
|
+
|
|
306
|
+
```ruby
|
|
307
|
+
api_security_list_operation_tags(opts): <InlineResponse2003> # List operation tags
|
|
308
|
+
```
|
|
309
|
+
|
|
310
|
+
List all operation tags associated with a specific service.
|
|
311
|
+
|
|
312
|
+
### Examples
|
|
313
|
+
|
|
314
|
+
```ruby
|
|
315
|
+
api_instance = Fastly::ApisecurityOperationsApi.new
|
|
316
|
+
opts = {
|
|
317
|
+
service_id: '3NeCFuZNP1v0iyJ2vmYQI6', # String | The unique identifier of the service.
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
begin
|
|
321
|
+
# List operation tags
|
|
322
|
+
result = api_instance.api_security_list_operation_tags(opts)
|
|
323
|
+
p result
|
|
324
|
+
rescue Fastly::ApiError => e
|
|
325
|
+
puts "Error when calling ApisecurityOperationsApi->api_security_list_operation_tags: #{e}"
|
|
326
|
+
end
|
|
327
|
+
```
|
|
328
|
+
|
|
329
|
+
### Options
|
|
330
|
+
|
|
331
|
+
| Name | Type | Description | Notes |
|
|
332
|
+
| ---- | ---- | ----------- | ----- |
|
|
333
|
+
| **service_id** | **String** | The unique identifier of the service. | |
|
|
334
|
+
|
|
335
|
+
### Return type
|
|
336
|
+
|
|
337
|
+
[**InlineResponse2003**](InlineResponse2003.md)
|
|
338
|
+
|
|
339
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
|
340
|
+
[[Back to README]](../../README.md)
|
|
341
|
+
## `api_security_list_operations()`
|
|
342
|
+
|
|
343
|
+
```ruby
|
|
344
|
+
api_security_list_operations(opts): <InlineResponse2002> # List operations
|
|
345
|
+
```
|
|
346
|
+
|
|
347
|
+
List all operations associated with a specific service. Optionally filter operations by tag ID.
|
|
348
|
+
|
|
349
|
+
### Examples
|
|
350
|
+
|
|
351
|
+
```ruby
|
|
352
|
+
api_instance = Fastly::ApisecurityOperationsApi.new
|
|
353
|
+
opts = {
|
|
354
|
+
service_id: '3NeCFuZNP1v0iyJ2vmYQI6', # String | The unique identifier of the service.
|
|
355
|
+
tag_id: 'tag_abc123def456', # String | Filter operations by operation tag ID. Only operations associated with this operation tag will be returned.
|
|
356
|
+
limit: 100, # Integer | The maximum number of operations to return per page.
|
|
357
|
+
page: 1, # Integer | The page number to return.
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
begin
|
|
361
|
+
# List operations
|
|
362
|
+
result = api_instance.api_security_list_operations(opts)
|
|
363
|
+
p result
|
|
364
|
+
rescue Fastly::ApiError => e
|
|
365
|
+
puts "Error when calling ApisecurityOperationsApi->api_security_list_operations: #{e}"
|
|
366
|
+
end
|
|
367
|
+
```
|
|
368
|
+
|
|
369
|
+
### Options
|
|
370
|
+
|
|
371
|
+
| Name | Type | Description | Notes |
|
|
372
|
+
| ---- | ---- | ----------- | ----- |
|
|
373
|
+
| **service_id** | **String** | The unique identifier of the service. | |
|
|
374
|
+
| **tag_id** | **String** | Filter operations by operation tag ID. Only operations associated with this operation tag will be returned. | [optional] |
|
|
375
|
+
| **limit** | **Integer** | The maximum number of operations to return per page. | [optional][default to 100] |
|
|
376
|
+
| **page** | **Integer** | The page number to return. | [optional][default to 0] |
|
|
377
|
+
|
|
378
|
+
### Return type
|
|
379
|
+
|
|
380
|
+
[**InlineResponse2002**](InlineResponse2002.md)
|
|
381
|
+
|
|
382
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
|
383
|
+
[[Back to README]](../../README.md)
|
|
384
|
+
## `api_security_update_operation()`
|
|
385
|
+
|
|
386
|
+
```ruby
|
|
387
|
+
api_security_update_operation(opts): <OperationGet> # Update operation
|
|
388
|
+
```
|
|
389
|
+
|
|
390
|
+
Partially update an existing operation associated with a specific service.
|
|
391
|
+
|
|
392
|
+
### Examples
|
|
393
|
+
|
|
394
|
+
```ruby
|
|
395
|
+
api_instance = Fastly::ApisecurityOperationsApi.new
|
|
396
|
+
opts = {
|
|
397
|
+
service_id: '3NeCFuZNP1v0iyJ2vmYQI6', # String | The unique identifier of the service.
|
|
398
|
+
operation_id: 'op_abc123def456', # String | The unique identifier of the operation.
|
|
399
|
+
operation_update: Fastly::OperationUpdate.new, # OperationUpdate |
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
begin
|
|
403
|
+
# Update operation
|
|
404
|
+
result = api_instance.api_security_update_operation(opts)
|
|
405
|
+
p result
|
|
406
|
+
rescue Fastly::ApiError => e
|
|
407
|
+
puts "Error when calling ApisecurityOperationsApi->api_security_update_operation: #{e}"
|
|
408
|
+
end
|
|
409
|
+
```
|
|
410
|
+
|
|
411
|
+
### Options
|
|
412
|
+
|
|
413
|
+
| Name | Type | Description | Notes |
|
|
414
|
+
| ---- | ---- | ----------- | ----- |
|
|
415
|
+
| **service_id** | **String** | The unique identifier of the service. | |
|
|
416
|
+
| **operation_id** | **String** | The unique identifier of the operation. | |
|
|
417
|
+
| **operation_update** | [**OperationUpdate**](OperationUpdate.md) | | [optional] |
|
|
418
|
+
|
|
419
|
+
### Return type
|
|
420
|
+
|
|
421
|
+
[**OperationGet**](OperationGet.md)
|
|
422
|
+
|
|
423
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
|
424
|
+
[[Back to README]](../../README.md)
|
|
425
|
+
## `api_security_update_operation_tag()`
|
|
426
|
+
|
|
427
|
+
```ruby
|
|
428
|
+
api_security_update_operation_tag(opts): <TagGet> # Update operation tag
|
|
429
|
+
```
|
|
430
|
+
|
|
431
|
+
Partially update an existing operation tag.
|
|
432
|
+
|
|
433
|
+
### Examples
|
|
434
|
+
|
|
435
|
+
```ruby
|
|
436
|
+
api_instance = Fastly::ApisecurityOperationsApi.new
|
|
437
|
+
opts = {
|
|
438
|
+
service_id: '3NeCFuZNP1v0iyJ2vmYQI6', # String | The unique identifier of the service.
|
|
439
|
+
tag_id: 'tag_abc123def456', # String | The unique identifier of the operation tag.
|
|
440
|
+
body: 3.56, # TagBase |
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
begin
|
|
444
|
+
# Update operation tag
|
|
445
|
+
result = api_instance.api_security_update_operation_tag(opts)
|
|
446
|
+
p result
|
|
447
|
+
rescue Fastly::ApiError => e
|
|
448
|
+
puts "Error when calling ApisecurityOperationsApi->api_security_update_operation_tag: #{e}"
|
|
449
|
+
end
|
|
450
|
+
```
|
|
451
|
+
|
|
452
|
+
### Options
|
|
453
|
+
|
|
454
|
+
| Name | Type | Description | Notes |
|
|
455
|
+
| ---- | ---- | ----------- | ----- |
|
|
456
|
+
| **service_id** | **String** | The unique identifier of the service. | |
|
|
457
|
+
| **tag_id** | **String** | The unique identifier of the operation tag. | |
|
|
458
|
+
| **body** | **TagBase** | | [optional] |
|
|
459
|
+
|
|
460
|
+
### Return type
|
|
461
|
+
|
|
462
|
+
[**TagGet**](TagGet.md)
|
|
463
|
+
|
|
464
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
|
465
|
+
[[Back to README]](../../README.md)
|
data/docs/AutomationTokensApi.md
CHANGED
|
@@ -97,7 +97,7 @@ end
|
|
|
97
97
|
## `get_automation_tokens_id_services()`
|
|
98
98
|
|
|
99
99
|
```ruby
|
|
100
|
-
get_automation_tokens_id_services(opts): <
|
|
100
|
+
get_automation_tokens_id_services(opts): <InlineResponse2004> # List Automation Token Services
|
|
101
101
|
```
|
|
102
102
|
|
|
103
103
|
List of services associated with the automation token.
|
|
@@ -131,7 +131,7 @@ end
|
|
|
131
131
|
|
|
132
132
|
### Return type
|
|
133
133
|
|
|
134
|
-
[**
|
|
134
|
+
[**InlineResponse2004**](InlineResponse2004.md)
|
|
135
135
|
|
|
136
136
|
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
|
137
137
|
[[Back to README]](../../README.md)
|