fastly 8.8.0 → 8.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +23 -1
- data/Gemfile.lock +1 -1
- data/README.md +30 -3
- data/docs/AclsInComputeApi.md +284 -0
- data/docs/{OriginInspectorRealtimeEntryRecorded.md → ComputeAclCreateAclsRequest.md} +2 -1
- data/docs/ComputeAclCreateAclsResponse.md +11 -0
- data/docs/ComputeAclListEntries.md +11 -0
- data/docs/ComputeAclListEntriesItem.md +11 -0
- data/docs/ComputeAclListEntriesMeta.md +11 -0
- data/docs/ComputeAclLookup.md +12 -0
- data/docs/ComputeAclUpdateEntry.md +12 -0
- data/docs/ConfiguredProductResponse.md +13 -0
- data/docs/ConfiguredProductResponseConfiguration.md +11 -0
- data/docs/ConfiguredProductResponseLinks.md +11 -0
- data/docs/ConfiguredProductResponseProduct.md +11 -0
- data/docs/ContactApi.md +1 -1
- data/docs/CustomerAddress.md +16 -0
- data/docs/CustomerAddressesApi.md +127 -0
- data/docs/DomainInspector.md +1 -1
- data/docs/DomainInspectorRealtimeEntry.md +1 -1
- data/docs/EnabledProductsApi.md +93 -9
- data/docs/Environment.md +12 -0
- data/docs/{RecordedTimestamp.md → EnvironmentName.md} +1 -1
- data/docs/{OriginInspectorSubsequentRequestTimestamp.md → InlineResponse201.md} +2 -1
- data/docs/{SubsequentRequestTimestamp.md → ListCustomerAddressesResponse.md} +2 -1
- data/docs/OriginInspector.md +1 -1
- data/docs/OriginInspectorRealtimeEntry.md +1 -1
- data/docs/RealtimeEntryAggregated.md +1 -0
- data/docs/RealtimeMeasurements.md +1 -0
- data/docs/Results.md +1 -0
- data/docs/SchemasVersionResponse.md +1 -0
- data/docs/ServiceDetail.md +1 -0
- data/docs/ServiceListResponse.md +1 -0
- data/docs/ServiceListResponseAllOf.md +1 -0
- data/docs/ServiceResponse.md +1 -0
- data/docs/ServiceResponseAllOf.md +1 -0
- data/docs/ServiceVersionDetail.md +1 -0
- data/docs/ServiceVersionDetailOrNull.md +1 -0
- data/docs/SetConfiguration.md +11 -0
- data/docs/SetWorkspaceId.md +10 -0
- data/docs/TlsCertificatesApi.md +2 -2
- data/docs/TlsDomainsApi.md +2 -2
- data/docs/TlsSubscriptionsApi.md +2 -2
- data/docs/VersionApi.md +84 -0
- data/docs/VersionResponse.md +1 -0
- data/docs/VersionResponseAllOf.md +1 -0
- data/lib/fastly/api/acls_in_compute_api.rb +470 -0
- data/lib/fastly/api/contact_api.rb +1 -1
- data/lib/fastly/api/customer_addresses_api.rb +224 -0
- data/lib/fastly/api/enabled_products_api.rb +164 -10
- data/lib/fastly/api/tls_certificates_api.rb +7 -7
- data/lib/fastly/api/tls_domains_api.rb +7 -7
- data/lib/fastly/api/tls_subscriptions_api.rb +7 -7
- data/lib/fastly/api/version_api.rb +154 -0
- data/lib/fastly/configuration.rb +84 -0
- data/lib/fastly/models/billing_response_line_item.rb +10 -0
- data/lib/fastly/models/{origin_inspector_realtime_entry_recorded.rb → compute_acl_create_acls_request.rb} +15 -6
- data/lib/fastly/models/compute_acl_create_acls_response.rb +227 -0
- data/lib/fastly/models/compute_acl_list_entries.rb +228 -0
- data/lib/fastly/models/compute_acl_list_entries_item.rb +227 -0
- data/lib/fastly/models/compute_acl_list_entries_meta.rb +227 -0
- data/lib/fastly/models/compute_acl_lookup.rb +238 -0
- data/lib/fastly/models/compute_acl_update_entry.rb +238 -0
- data/lib/fastly/models/configured_product_response.rb +243 -0
- data/lib/fastly/models/configured_product_response_configuration.rb +227 -0
- data/lib/fastly/models/configured_product_response_links.rb +227 -0
- data/lib/fastly/models/configured_product_response_product.rb +227 -0
- data/lib/fastly/models/customer_address.rb +294 -0
- data/lib/fastly/models/domain_inspector.rb +2 -1
- data/lib/fastly/models/domain_inspector_realtime_entry.rb +2 -1
- data/lib/fastly/models/environment.rb +235 -0
- data/lib/fastly/models/environment_name.rb +34 -0
- data/lib/fastly/models/event_attributes.rb +2 -2
- data/lib/fastly/models/{recorded_timestamp.rb → inline_response201.rb} +15 -6
- data/lib/fastly/models/line_item_data.rb +10 -0
- data/lib/fastly/models/{origin_inspector_subsequent_request_timestamp.rb → list_customer_addresses_response.rb} +16 -6
- data/lib/fastly/models/origin_inspector.rb +2 -1
- data/lib/fastly/models/origin_inspector_realtime_entry.rb +2 -1
- data/lib/fastly/models/realtime_entry_aggregated.rb +14 -4
- data/lib/fastly/models/realtime_measurements.rb +14 -4
- data/lib/fastly/models/results.rb +11 -1
- data/lib/fastly/models/schemas_version_response.rb +16 -4
- data/lib/fastly/models/service_detail.rb +13 -1
- data/lib/fastly/models/service_list_response.rb +16 -4
- data/lib/fastly/models/service_list_response_all_of.rb +16 -4
- data/lib/fastly/models/service_response.rb +16 -4
- data/lib/fastly/models/service_response_all_of.rb +16 -4
- data/lib/fastly/models/service_version_detail.rb +13 -1
- data/lib/fastly/models/service_version_detail_or_null.rb +13 -1
- data/lib/fastly/models/set_configuration.rb +227 -0
- data/lib/fastly/models/{subsequent_request_timestamp.rb → set_workspace_id.rb} +15 -6
- data/lib/fastly/models/version_response.rb +16 -4
- data/lib/fastly/models/version_response_all_of.rb +16 -4
- data/lib/fastly/version.rb +1 -1
- data/lib/fastly.rb +20 -4
- data/sig.json +1 -1
- metadata +42 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 36719615afb31147f80fdf8ae0458fc51cb4f7b3b706bb0c7074d380be338ae3
|
4
|
+
data.tar.gz: 4427aeed5e8014aa837e7f5d35224815d75766c70e5577f1d514af92f0889752
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: becf384e316a1d9645dba86b0520e11148816358bfe949f99ed0a6664ddd2b501aadcae2cd8b8ce3c7b2669393ef6854a6285e93e208009cdbaf8d1c98a7068a
|
7
|
+
data.tar.gz: 2bb29c6991bd7f951be46c0caf9309f53ab364764b2b4c689355ae68005ee3ae36bacd1e506c4bd9bf609b6272bfe6f52d3035d5d4a00213f1b0053296ff49cf
|
data/CHANGELOG.md
CHANGED
@@ -1,10 +1,32 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [v8.9.0](https://github.com/fastly/fastly-ruby/releases/tag/release/v8.9.0) (2024-09-13)
|
4
|
+
|
5
|
+
**Bug fixes:**
|
6
|
+
|
7
|
+
- bugfix(rust): Implement std::fmt::Display instead of std::string::ToString for enum models.
|
8
|
+
- fix(contact): Corrected endpoint called by `delete-contact` operation
|
9
|
+
- fix(origin-inspector, domain-inspector): Use integer type for Timestamp.
|
10
|
+
- fix(billing): Make all fields on billing list item data nullable
|
11
|
+
|
12
|
+
**Enhancements:**
|
13
|
+
|
14
|
+
- feat(acls-in-compute): Add ACLs in Compute API
|
15
|
+
- feat(enabled-products): Updated to use `v1` versioned endpoints.
|
16
|
+
- feat(enabled-products): Added `get-product-configuration`, `set-product-configuration` operations.
|
17
|
+
- feat(realtime, historical): Added `request_denied_get_head_body` metric.
|
18
|
+
- feat(tls): Add definitions for values of sort parameter
|
19
|
+
- feat(staging): Add activate/deactivate endpoints for staging
|
20
|
+
- feat(customer-addresses): Add Customer Addresses API
|
21
|
+
|
22
|
+
**Documentation:**
|
23
|
+
|
24
|
+
- doc(enabled-products): Added support for product IDs `bot_management` and `ngwaf`.
|
25
|
+
|
3
26
|
## [v8.8.0](https://github.com/fastly/fastly-ruby/releases/tag/release/v8.8.0) (2024-08-21)
|
4
27
|
|
5
28
|
**Bug fixes:**
|
6
29
|
|
7
|
-
- bugfix(py): Add dependencies to pyproject.toml.
|
8
30
|
- fix(billing): make rate-per-unit nullable
|
9
31
|
|
10
32
|
## [v8.7.0](https://github.com/fastly/fastly-ruby/releases/tag/release/v8.7.0) (2024-08-08)
|
data/Gemfile.lock
CHANGED
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', '~> 8.
|
11
|
+
gem 'fastly', '~> 8.9.0'
|
12
12
|
```
|
13
13
|
|
14
14
|
Then run `bundle install`.
|
@@ -79,6 +79,13 @@ Class | Method | Description
|
|
79
79
|
[*Fastly::AclEntryApi*](docs/AclEntryApi.md) | [**get_acl_entry**](docs/AclEntryApi.md#get_acl_entry) | Describe an ACL entry
|
80
80
|
[*Fastly::AclEntryApi*](docs/AclEntryApi.md) | [**list_acl_entries**](docs/AclEntryApi.md#list_acl_entries) | List ACL entries
|
81
81
|
[*Fastly::AclEntryApi*](docs/AclEntryApi.md) | [**update_acl_entry**](docs/AclEntryApi.md#update_acl_entry) | Update an ACL entry
|
82
|
+
[*Fastly::AclsInComputeApi*](docs/AclsInComputeApi.md) | [**compute_acl_create_acls**](docs/AclsInComputeApi.md#compute_acl_create_acls) | Create a new ACL
|
83
|
+
[*Fastly::AclsInComputeApi*](docs/AclsInComputeApi.md) | [**compute_acl_delete_s_acl_id**](docs/AclsInComputeApi.md#compute_acl_delete_s_acl_id) | Delete an ACL
|
84
|
+
[*Fastly::AclsInComputeApi*](docs/AclsInComputeApi.md) | [**compute_acl_list_acl_entries**](docs/AclsInComputeApi.md#compute_acl_list_acl_entries) | List an ACL
|
85
|
+
[*Fastly::AclsInComputeApi*](docs/AclsInComputeApi.md) | [**compute_acl_list_acls**](docs/AclsInComputeApi.md#compute_acl_list_acls) | List ACLs
|
86
|
+
[*Fastly::AclsInComputeApi*](docs/AclsInComputeApi.md) | [**compute_acl_list_acls_s_acl_id**](docs/AclsInComputeApi.md#compute_acl_list_acls_s_acl_id) | Describe an ACL
|
87
|
+
[*Fastly::AclsInComputeApi*](docs/AclsInComputeApi.md) | [**compute_acl_lookup_acls**](docs/AclsInComputeApi.md#compute_acl_lookup_acls) | Lookup an ACL
|
88
|
+
[*Fastly::AclsInComputeApi*](docs/AclsInComputeApi.md) | [**compute_acl_update_acls**](docs/AclsInComputeApi.md#compute_acl_update_acls) | Update an ACL
|
82
89
|
[*Fastly::ApexRedirectApi*](docs/ApexRedirectApi.md) | [**create_apex_redirect**](docs/ApexRedirectApi.md#create_apex_redirect) | Create an apex redirect
|
83
90
|
[*Fastly::ApexRedirectApi*](docs/ApexRedirectApi.md) | [**delete_apex_redirect**](docs/ApexRedirectApi.md#delete_apex_redirect) | Delete an apex redirect
|
84
91
|
[*Fastly::ApexRedirectApi*](docs/ApexRedirectApi.md) | [**get_apex_redirect**](docs/ApexRedirectApi.md#get_apex_redirect) | Get an apex redirect
|
@@ -139,6 +146,9 @@ Class | Method | Description
|
|
139
146
|
[*Fastly::CustomerApi*](docs/CustomerApi.md) | [**get_logged_in_customer**](docs/CustomerApi.md#get_logged_in_customer) | Get the logged in customer
|
140
147
|
[*Fastly::CustomerApi*](docs/CustomerApi.md) | [**list_users**](docs/CustomerApi.md#list_users) | List users
|
141
148
|
[*Fastly::CustomerApi*](docs/CustomerApi.md) | [**update_customer**](docs/CustomerApi.md#update_customer) | Update a customer
|
149
|
+
[*Fastly::CustomerAddressesApi*](docs/CustomerAddressesApi.md) | [**create_customer_address**](docs/CustomerAddressesApi.md#create_customer_address) | Creates an address associated with a customer account.
|
150
|
+
[*Fastly::CustomerAddressesApi*](docs/CustomerAddressesApi.md) | [**list_customer_addresses**](docs/CustomerAddressesApi.md#list_customer_addresses) | Return the list of addresses associated with a customer account.
|
151
|
+
[*Fastly::CustomerAddressesApi*](docs/CustomerAddressesApi.md) | [**update_customer_address**](docs/CustomerAddressesApi.md#update_customer_address) | Updates an address associated with a customer account.
|
142
152
|
[*Fastly::DictionaryApi*](docs/DictionaryApi.md) | [**create_dictionary**](docs/DictionaryApi.md#create_dictionary) | Create an edge dictionary
|
143
153
|
[*Fastly::DictionaryApi*](docs/DictionaryApi.md) | [**delete_dictionary**](docs/DictionaryApi.md#delete_dictionary) | Delete an edge dictionary
|
144
154
|
[*Fastly::DictionaryApi*](docs/DictionaryApi.md) | [**get_dictionary**](docs/DictionaryApi.md#get_dictionary) | Get an edge dictionary
|
@@ -176,6 +186,8 @@ Class | Method | Description
|
|
176
186
|
[*Fastly::EnabledProductsApi*](docs/EnabledProductsApi.md) | [**disable_product**](docs/EnabledProductsApi.md#disable_product) | Disable a product
|
177
187
|
[*Fastly::EnabledProductsApi*](docs/EnabledProductsApi.md) | [**enable_product**](docs/EnabledProductsApi.md#enable_product) | Enable a product
|
178
188
|
[*Fastly::EnabledProductsApi*](docs/EnabledProductsApi.md) | [**get_enabled_product**](docs/EnabledProductsApi.md#get_enabled_product) | Get enabled product
|
189
|
+
[*Fastly::EnabledProductsApi*](docs/EnabledProductsApi.md) | [**get_product_configuration**](docs/EnabledProductsApi.md#get_product_configuration) | Get configuration for a product
|
190
|
+
[*Fastly::EnabledProductsApi*](docs/EnabledProductsApi.md) | [**set_product_configuration**](docs/EnabledProductsApi.md#set_product_configuration) | Update configuration for a product
|
179
191
|
[*Fastly::EventsApi*](docs/EventsApi.md) | [**get_event**](docs/EventsApi.md#get_event) | Get an event
|
180
192
|
[*Fastly::EventsApi*](docs/EventsApi.md) | [**list_events**](docs/EventsApi.md#list_events) | List events
|
181
193
|
[*Fastly::GzipApi*](docs/GzipApi.md) | [**create_gzip_config**](docs/GzipApi.md#create_gzip_config) | Create a gzip configuration
|
@@ -572,9 +584,11 @@ Class | Method | Description
|
|
572
584
|
[*Fastly::VclApi*](docs/VclApi.md) | [**update_custom_vcl**](docs/VclApi.md#update_custom_vcl) | Update a custom VCL file
|
573
585
|
[*Fastly::VclDiffApi*](docs/VclDiffApi.md) | [**vcl_diff_service_versions**](docs/VclDiffApi.md#vcl_diff_service_versions) | Get a comparison of the VCL changes between two service versions
|
574
586
|
[*Fastly::VersionApi*](docs/VersionApi.md) | [**activate_service_version**](docs/VersionApi.md#activate_service_version) | Activate a service version
|
587
|
+
[*Fastly::VersionApi*](docs/VersionApi.md) | [**activate_service_version_environment**](docs/VersionApi.md#activate_service_version_environment) | Activate a service version on the specified environment
|
575
588
|
[*Fastly::VersionApi*](docs/VersionApi.md) | [**clone_service_version**](docs/VersionApi.md#clone_service_version) | Clone a service version
|
576
589
|
[*Fastly::VersionApi*](docs/VersionApi.md) | [**create_service_version**](docs/VersionApi.md#create_service_version) | Create a service version
|
577
590
|
[*Fastly::VersionApi*](docs/VersionApi.md) | [**deactivate_service_version**](docs/VersionApi.md#deactivate_service_version) | Deactivate a service version
|
591
|
+
[*Fastly::VersionApi*](docs/VersionApi.md) | [**deactivate_service_version_environment**](docs/VersionApi.md#deactivate_service_version_environment) | Deactivate a service version on an environment
|
578
592
|
[*Fastly::VersionApi*](docs/VersionApi.md) | [**get_service_version**](docs/VersionApi.md#get_service_version) | Get a version of a service
|
579
593
|
[*Fastly::VersionApi*](docs/VersionApi.md) | [**list_service_versions**](docs/VersionApi.md#list_service_versions) | List versions of a service
|
580
594
|
[*Fastly::VersionApi*](docs/VersionApi.md) | [**lock_service_version**](docs/VersionApi.md#lock_service_version) | Lock a service version
|
@@ -623,6 +637,8 @@ The fastly-ruby API client currently does not support the following endpoints:
|
|
623
637
|
- [`/alerts/history`](https://www.fastly.com/documentation/reference/api/observability/alerts/history) (GET)
|
624
638
|
- [`/dns/configurations/{dns_configuration_id}`](https://www.fastly.com/documentation/reference/api/) (DELETE, GET, PATCH)
|
625
639
|
- [`/dns/configurations`](https://www.fastly.com/documentation/reference/api/) (GET, POST)
|
640
|
+
- [`/domains/{domain_id}`](https://www.fastly.com/documentation/reference/api/) (DELETE, GET, PATCH)
|
641
|
+
- [`/domains`](https://www.fastly.com/documentation/reference/api/) (GET, POST)
|
626
642
|
- [`/notifications/integration-types`](https://developer.fastly.com/reference/api/observability/notification) (GET)
|
627
643
|
- [`/notifications/integrations/{integration_id}/rotateSigningKey`](https://developer.fastly.com/reference/api/observability/notification) (POST)
|
628
644
|
- [`/notifications/integrations/{integration_id}/signingKey`](https://developer.fastly.com/reference/api/observability/notification) (GET)
|
@@ -630,12 +646,23 @@ The fastly-ruby API client currently does not support the following endpoints:
|
|
630
646
|
- [`/notifications/integrations`](https://developer.fastly.com/reference/api/observability/notification) (GET, POST)
|
631
647
|
- [`/notifications/mailinglist-confirmations`](https://developer.fastly.com/reference/api/observability/notification) (POST)
|
632
648
|
- [`/resources/stores/kv/{store_id}/batch`](https://www.fastly.com/documentation/reference/api/services/resources/kv-store-item) (PUT)
|
649
|
+
- [`/security/workspaces/{workspace_id}/events/{event_id}`](https://docs.fastly.com/en/ngwaf/) (GET, PATCH)
|
650
|
+
- [`/security/workspaces/{workspace_id}/events`](https://docs.fastly.com/en/ngwaf/) (GET)
|
651
|
+
- [`/security/workspaces/{workspace_id}/redactions/{redaction_id}`](https://docs.fastly.com/en/ngwaf/) (DELETE, GET, PATCH)
|
652
|
+
- [`/security/workspaces/{workspace_id}/redactions`](https://docs.fastly.com/en/ngwaf/) (GET, POST)
|
653
|
+
- [`/security/workspaces/{workspace_id}/requests/{request_id}`](https://docs.fastly.com/en/ngwaf/) (GET)
|
654
|
+
- [`/security/workspaces/{workspace_id}/requests`](https://docs.fastly.com/en/ngwaf/) (GET)
|
655
|
+
- [`/security/workspaces/{workspace_id}/rules/{rule_id}`](https://docs.fastly.com/en/ngwaf/) (DELETE, GET, PATCH)
|
656
|
+
- [`/security/workspaces/{workspace_id}/rules`](https://docs.fastly.com/en/ngwaf/) (GET, POST)
|
657
|
+
- [`/security/workspaces/{workspace_id}/timeseries`](https://docs.fastly.com/en/ngwaf/) (GET)
|
658
|
+
- [`/security/workspaces/{workspace_id}/virtual-patches/{virtual_patch_id}`](https://docs.fastly.com/en/ngwaf/) (GET, PATCH)
|
659
|
+
- [`/security/workspaces/{workspace_id}/virtual-patches`](https://docs.fastly.com/en/ngwaf/) (GET)
|
660
|
+
- [`/security/workspaces/{workspace_id}`](https://docs.fastly.com/en/ngwaf/) (DELETE, GET, PATCH)
|
661
|
+
- [`/security/workspaces`](https://docs.fastly.com/en/ngwaf/) (GET, POST)
|
633
662
|
- [`/tls/activations/{tls_activation_id}`](https://www.fastly.com/documentation/reference/api/tls/mutual-tls/activations) (GET, PATCH)
|
634
663
|
- [`/tls/activations`](https://www.fastly.com/documentation/reference/api/tls/mutual-tls/activations) (GET)
|
635
664
|
- [`/tls/configurations/{tls_configuration_id}`](https://www.fastly.com/documentation/reference/api/) (DELETE, GET, PATCH)
|
636
665
|
- [`/tls/configurations`](https://www.fastly.com/documentation/reference/api/) (GET, POST)
|
637
|
-
- [`/tls/preview/domains/{domain_id}`](https://www.fastly.com/documentation/reference/api/) (GET, PATCH)
|
638
|
-
- [`/tls/preview/domains`](https://www.fastly.com/documentation/reference/api/) (GET, POST)
|
639
666
|
- [`/v1/channel/{service_id}/ts/h/limit/{max_entries}`](https://www.fastly.com/documentation/reference/api/metrics-stats/origin-insights) (GET)
|
640
667
|
- [`/v1/channel/{service_id}/ts/h`](https://www.fastly.com/documentation/reference/api/metrics-stats/origin-insights) (GET)
|
641
668
|
- [`/v1/channel/{service_id}/ts/{start_timestamp}`](https://www.fastly.com/documentation/reference/api/metrics-stats/origin-insights) (GET)
|
@@ -0,0 +1,284 @@
|
|
1
|
+
# Fastly::AclsInComputeApi
|
2
|
+
|
3
|
+
|
4
|
+
```ruby
|
5
|
+
require 'fastly'
|
6
|
+
api_instance = Fastly::AclsInComputeApi.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
|
+
[**compute_acl_create_acls**](AclsInComputeApi.md#compute_acl_create_acls) | **POST** /resources/acls | Create a new ACL
|
17
|
+
[**compute_acl_delete_s_acl_id**](AclsInComputeApi.md#compute_acl_delete_s_acl_id) | **DELETE** /resources/acls/{acl_id} | Delete an ACL
|
18
|
+
[**compute_acl_list_acl_entries**](AclsInComputeApi.md#compute_acl_list_acl_entries) | **GET** /resources/acls/{acl_id}/entries | List an ACL
|
19
|
+
[**compute_acl_list_acls**](AclsInComputeApi.md#compute_acl_list_acls) | **GET** /resources/acls | List ACLs
|
20
|
+
[**compute_acl_list_acls_s_acl_id**](AclsInComputeApi.md#compute_acl_list_acls_s_acl_id) | **GET** /resources/acls/{acl_id} | Describe an ACL
|
21
|
+
[**compute_acl_lookup_acls**](AclsInComputeApi.md#compute_acl_lookup_acls) | **GET** /resources/acls/{acl_id}/entry/{acl_ip} | Lookup an ACL
|
22
|
+
[**compute_acl_update_acls**](AclsInComputeApi.md#compute_acl_update_acls) | **PATCH** /resources/acls/{acl_id}/entries | Update an ACL
|
23
|
+
|
24
|
+
|
25
|
+
## `compute_acl_create_acls()`
|
26
|
+
|
27
|
+
```ruby
|
28
|
+
compute_acl_create_acls(opts): <ComputeAclCreateAclsResponse> # Create a new ACL
|
29
|
+
```
|
30
|
+
|
31
|
+
Create a new ACL.
|
32
|
+
|
33
|
+
### Examples
|
34
|
+
|
35
|
+
```ruby
|
36
|
+
api_instance = Fastly::AclsInComputeApi.new
|
37
|
+
opts = {
|
38
|
+
compute_acl_create_acls_request: Fastly::ComputeAclCreateAclsRequest.new, # ComputeAclCreateAclsRequest |
|
39
|
+
}
|
40
|
+
|
41
|
+
begin
|
42
|
+
# Create a new ACL
|
43
|
+
result = api_instance.compute_acl_create_acls(opts)
|
44
|
+
p result
|
45
|
+
rescue Fastly::ApiError => e
|
46
|
+
puts "Error when calling AclsInComputeApi->compute_acl_create_acls: #{e}"
|
47
|
+
end
|
48
|
+
```
|
49
|
+
|
50
|
+
### Options
|
51
|
+
|
52
|
+
| Name | Type | Description | Notes |
|
53
|
+
| ---- | ---- | ----------- | ----- |
|
54
|
+
| **compute_acl_create_acls_request** | [**ComputeAclCreateAclsRequest**](ComputeAclCreateAclsRequest.md) | | [optional] |
|
55
|
+
|
56
|
+
### Return type
|
57
|
+
|
58
|
+
[**ComputeAclCreateAclsResponse**](ComputeAclCreateAclsResponse.md)
|
59
|
+
|
60
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
61
|
+
[[Back to README]](../../README.md)
|
62
|
+
## `compute_acl_delete_s_acl_id()`
|
63
|
+
|
64
|
+
```ruby
|
65
|
+
compute_acl_delete_s_acl_id(opts) # Delete an ACL
|
66
|
+
```
|
67
|
+
|
68
|
+
Delete an ACL.
|
69
|
+
|
70
|
+
### Examples
|
71
|
+
|
72
|
+
```ruby
|
73
|
+
api_instance = Fastly::AclsInComputeApi.new
|
74
|
+
opts = {
|
75
|
+
acl_id: 'acl_id_example', # String |
|
76
|
+
}
|
77
|
+
|
78
|
+
begin
|
79
|
+
# Delete an ACL
|
80
|
+
api_instance.compute_acl_delete_s_acl_id(opts)
|
81
|
+
rescue Fastly::ApiError => e
|
82
|
+
puts "Error when calling AclsInComputeApi->compute_acl_delete_s_acl_id: #{e}"
|
83
|
+
end
|
84
|
+
```
|
85
|
+
|
86
|
+
### Options
|
87
|
+
|
88
|
+
| Name | Type | Description | Notes |
|
89
|
+
| ---- | ---- | ----------- | ----- |
|
90
|
+
| **acl_id** | **String** | | |
|
91
|
+
|
92
|
+
### Return type
|
93
|
+
|
94
|
+
nil (empty response body)
|
95
|
+
|
96
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
97
|
+
[[Back to README]](../../README.md)
|
98
|
+
## `compute_acl_list_acl_entries()`
|
99
|
+
|
100
|
+
```ruby
|
101
|
+
compute_acl_list_acl_entries(opts): <ComputeAclListEntries> # List an ACL
|
102
|
+
```
|
103
|
+
|
104
|
+
List an ACL.
|
105
|
+
|
106
|
+
### Examples
|
107
|
+
|
108
|
+
```ruby
|
109
|
+
api_instance = Fastly::AclsInComputeApi.new
|
110
|
+
opts = {
|
111
|
+
acl_id: 'acl_id_example', # String |
|
112
|
+
cursor: 'cursor_example', # String |
|
113
|
+
limit: 56, # Integer |
|
114
|
+
}
|
115
|
+
|
116
|
+
begin
|
117
|
+
# List an ACL
|
118
|
+
result = api_instance.compute_acl_list_acl_entries(opts)
|
119
|
+
p result
|
120
|
+
rescue Fastly::ApiError => e
|
121
|
+
puts "Error when calling AclsInComputeApi->compute_acl_list_acl_entries: #{e}"
|
122
|
+
end
|
123
|
+
```
|
124
|
+
|
125
|
+
### Options
|
126
|
+
|
127
|
+
| Name | Type | Description | Notes |
|
128
|
+
| ---- | ---- | ----------- | ----- |
|
129
|
+
| **acl_id** | **String** | | |
|
130
|
+
| **cursor** | **String** | | [optional] |
|
131
|
+
| **limit** | **Integer** | | [optional][default to 100] |
|
132
|
+
|
133
|
+
### Return type
|
134
|
+
|
135
|
+
[**ComputeAclListEntries**](ComputeAclListEntries.md)
|
136
|
+
|
137
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
138
|
+
[[Back to README]](../../README.md)
|
139
|
+
## `compute_acl_list_acls()`
|
140
|
+
|
141
|
+
```ruby
|
142
|
+
compute_acl_list_acls: <Array<ComputeAclCreateAclsResponse>> # List ACLs
|
143
|
+
```
|
144
|
+
|
145
|
+
List all ACLs.
|
146
|
+
|
147
|
+
### Examples
|
148
|
+
|
149
|
+
```ruby
|
150
|
+
api_instance = Fastly::AclsInComputeApi.new
|
151
|
+
|
152
|
+
begin
|
153
|
+
# List ACLs
|
154
|
+
result = api_instance.compute_acl_list_acls
|
155
|
+
p result
|
156
|
+
rescue Fastly::ApiError => e
|
157
|
+
puts "Error when calling AclsInComputeApi->compute_acl_list_acls: #{e}"
|
158
|
+
end
|
159
|
+
```
|
160
|
+
|
161
|
+
### Options
|
162
|
+
|
163
|
+
This endpoint does not need any parameter.
|
164
|
+
|
165
|
+
### Return type
|
166
|
+
|
167
|
+
[**Array<ComputeAclCreateAclsResponse>**](ComputeAclCreateAclsResponse.md)
|
168
|
+
|
169
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
170
|
+
[[Back to README]](../../README.md)
|
171
|
+
## `compute_acl_list_acls_s_acl_id()`
|
172
|
+
|
173
|
+
```ruby
|
174
|
+
compute_acl_list_acls_s_acl_id(opts): <ComputeAclCreateAclsResponse> # Describe an ACL
|
175
|
+
```
|
176
|
+
|
177
|
+
Describe an ACL.
|
178
|
+
|
179
|
+
### Examples
|
180
|
+
|
181
|
+
```ruby
|
182
|
+
api_instance = Fastly::AclsInComputeApi.new
|
183
|
+
opts = {
|
184
|
+
acl_id: 'acl_id_example', # String |
|
185
|
+
}
|
186
|
+
|
187
|
+
begin
|
188
|
+
# Describe an ACL
|
189
|
+
result = api_instance.compute_acl_list_acls_s_acl_id(opts)
|
190
|
+
p result
|
191
|
+
rescue Fastly::ApiError => e
|
192
|
+
puts "Error when calling AclsInComputeApi->compute_acl_list_acls_s_acl_id: #{e}"
|
193
|
+
end
|
194
|
+
```
|
195
|
+
|
196
|
+
### Options
|
197
|
+
|
198
|
+
| Name | Type | Description | Notes |
|
199
|
+
| ---- | ---- | ----------- | ----- |
|
200
|
+
| **acl_id** | **String** | | |
|
201
|
+
|
202
|
+
### Return type
|
203
|
+
|
204
|
+
[**ComputeAclCreateAclsResponse**](ComputeAclCreateAclsResponse.md)
|
205
|
+
|
206
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
207
|
+
[[Back to README]](../../README.md)
|
208
|
+
## `compute_acl_lookup_acls()`
|
209
|
+
|
210
|
+
```ruby
|
211
|
+
compute_acl_lookup_acls(opts): <ComputeAclLookup> # Lookup an ACL
|
212
|
+
```
|
213
|
+
|
214
|
+
Find a matching ACL entry for an IP address.
|
215
|
+
|
216
|
+
### Examples
|
217
|
+
|
218
|
+
```ruby
|
219
|
+
api_instance = Fastly::AclsInComputeApi.new
|
220
|
+
opts = {
|
221
|
+
acl_id: 'acl_id_example', # String |
|
222
|
+
acl_ip: 'acl_ip_example', # String |
|
223
|
+
}
|
224
|
+
|
225
|
+
begin
|
226
|
+
# Lookup an ACL
|
227
|
+
result = api_instance.compute_acl_lookup_acls(opts)
|
228
|
+
p result
|
229
|
+
rescue Fastly::ApiError => e
|
230
|
+
puts "Error when calling AclsInComputeApi->compute_acl_lookup_acls: #{e}"
|
231
|
+
end
|
232
|
+
```
|
233
|
+
|
234
|
+
### Options
|
235
|
+
|
236
|
+
| Name | Type | Description | Notes |
|
237
|
+
| ---- | ---- | ----------- | ----- |
|
238
|
+
| **acl_id** | **String** | | |
|
239
|
+
| **acl_ip** | **String** | | |
|
240
|
+
|
241
|
+
### Return type
|
242
|
+
|
243
|
+
[**ComputeAclLookup**](ComputeAclLookup.md)
|
244
|
+
|
245
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
246
|
+
[[Back to README]](../../README.md)
|
247
|
+
## `compute_acl_update_acls()`
|
248
|
+
|
249
|
+
```ruby
|
250
|
+
compute_acl_update_acls(opts) # Update an ACL
|
251
|
+
```
|
252
|
+
|
253
|
+
Update an ACL.
|
254
|
+
|
255
|
+
### Examples
|
256
|
+
|
257
|
+
```ruby
|
258
|
+
api_instance = Fastly::AclsInComputeApi.new
|
259
|
+
opts = {
|
260
|
+
acl_id: 'acl_id_example', # String |
|
261
|
+
compute_acl_update_entry: [Fastly::ComputeAclUpdateEntry.new], # Array<ComputeAclUpdateEntry> |
|
262
|
+
}
|
263
|
+
|
264
|
+
begin
|
265
|
+
# Update an ACL
|
266
|
+
api_instance.compute_acl_update_acls(opts)
|
267
|
+
rescue Fastly::ApiError => e
|
268
|
+
puts "Error when calling AclsInComputeApi->compute_acl_update_acls: #{e}"
|
269
|
+
end
|
270
|
+
```
|
271
|
+
|
272
|
+
### Options
|
273
|
+
|
274
|
+
| Name | Type | Description | Notes |
|
275
|
+
| ---- | ---- | ----------- | ----- |
|
276
|
+
| **acl_id** | **String** | | |
|
277
|
+
| **compute_acl_update_entry** | [**Array<ComputeAclUpdateEntry>**](ComputeAclUpdateEntry.md) | | [optional] |
|
278
|
+
|
279
|
+
### Return type
|
280
|
+
|
281
|
+
nil (empty response body)
|
282
|
+
|
283
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
284
|
+
[[Back to README]](../../README.md)
|
@@ -1,9 +1,10 @@
|
|
1
|
-
# Fastly::
|
1
|
+
# Fastly::ComputeAclCreateAclsRequest
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **name** | **String** | Human readable name of store | [optional] |
|
7
8
|
|
8
9
|
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
9
10
|
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Fastly::ComputeAclCreateAclsResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **name** | **String** | Human readable name of store | [optional] |
|
8
|
+
| **id** | **String** | An example identifier (UUID). | [optional] |
|
9
|
+
|
10
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
11
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Fastly::ComputeAclListEntries
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **meta** | [**ComputeAclListEntriesMeta**](ComputeAclListEntriesMeta.md) | | [optional] |
|
8
|
+
| **entries** | [**Array<ComputeAclListEntriesItem>**](ComputeAclListEntriesItem.md) | | [optional] |
|
9
|
+
|
10
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
11
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Fastly::ComputeAclListEntriesItem
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **prefix** | **String** | An IP prefix defined in Classless Inter-Domain Routing (CIDR) format, i.e. a valid IP address (v4 or v6) followed by a forward slash (/) and a prefix length (0-32 or 0-128, depending on address family). | [optional] |
|
8
|
+
| **action** | **String** | One of \"ALLOW\" or \"BLOCK\". | [optional] |
|
9
|
+
|
10
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
11
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Fastly::ComputeAclListEntriesMeta
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **limit** | **String** | The maximum number of results shown in this response. | [optional] |
|
8
|
+
| **next_cursor** | **String** | Used for pagination, supply to the next request to get the next block of results. | [optional] |
|
9
|
+
|
10
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
11
|
+
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# Fastly::ComputeAclLookup
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **prefix** | **String** | A valid IPv4 or IPv6 address. | [optional] |
|
8
|
+
| **length** | **Integer** | The length of address in the IP addressing space. | [optional] |
|
9
|
+
| **action** | **String** | One of \"ALLOW\" or \"BLOCK\". | [optional] |
|
10
|
+
|
11
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
12
|
+
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# Fastly::ComputeAclUpdateEntry
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **op** | **String** | One of \"create\" or \"update\", indicating that the rest of this entry is to be added to/updated in the ACL. | [optional] |
|
8
|
+
| **prefix** | **String** | An IP prefix defined in Classless Inter-Domain Routing (CIDR) format, i.e. a valid IP address (v4 or v6) followed by a forward slash (/) and a prefix length (0-32 or 0-128, depending on address family). | [optional] |
|
9
|
+
| **action** | **String** | The action taken on the IP address, either \"block\" or \"allow\". | [optional] |
|
10
|
+
|
11
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
12
|
+
|
@@ -0,0 +1,13 @@
|
|
1
|
+
# Fastly::ConfiguredProductResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **product** | [**ConfiguredProductResponseProduct**](ConfiguredProductResponseProduct.md) | | [optional] |
|
8
|
+
| **service** | [**EnabledProductResponseService**](EnabledProductResponseService.md) | | [optional] |
|
9
|
+
| **configuration** | [**ConfiguredProductResponseConfiguration**](ConfiguredProductResponseConfiguration.md) | | [optional] |
|
10
|
+
| **_links** | [**ConfiguredProductResponseLinks**](ConfiguredProductResponseLinks.md) | | [optional] |
|
11
|
+
|
12
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
13
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Fastly::ConfiguredProductResponseConfiguration
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **workspace_id** | **String** | Workspace ID | [optional] |
|
8
|
+
| **traffic_ramp** | **String** | Traffic ramp | [optional] |
|
9
|
+
|
10
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
11
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Fastly::ConfiguredProductResponseLinks
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **_self** | **String** | Location of resource | [optional] |
|
8
|
+
| **service** | **String** | Location of the service resource | [optional] |
|
9
|
+
|
10
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
11
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Fastly::ConfiguredProductResponseProduct
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **id** | **String** | Product identifier | [optional] |
|
8
|
+
| **object** | **String** | Name of the object | [optional] |
|
9
|
+
|
10
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
11
|
+
|
data/docs/ContactApi.md
CHANGED
@@ -14,7 +14,7 @@ api_instance = Fastly::ContactApi.new
|
|
14
14
|
Method | HTTP request | Description
|
15
15
|
------ | ------------ | -----------
|
16
16
|
[**create_contacts**](ContactApi.md#create_contacts) | **POST** /customer/{customer_id}/contacts | Add a new customer contact
|
17
|
-
[**delete_contact**](ContactApi.md#delete_contact) | **DELETE** /customer/{customer_id}/
|
17
|
+
[**delete_contact**](ContactApi.md#delete_contact) | **DELETE** /customer/{customer_id}/contacts/{contact_id} | Delete a contact
|
18
18
|
[**list_contacts**](ContactApi.md#list_contacts) | **GET** /customer/{customer_id}/contacts | List contacts
|
19
19
|
|
20
20
|
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# Fastly::CustomerAddress
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **type** | **String** | The type of the address. | [optional] |
|
8
|
+
| **address_1** | **String** | The street number and name of the address. | [optional] |
|
9
|
+
| **address_2** | **String** | Additional address line for unit number, P.O. Box, etc. | [optional] |
|
10
|
+
| **locality** | **String** | City, town, or locality name the address is located. | [optional] |
|
11
|
+
| **region** | **String** | State, province, or region of the address. | [optional] |
|
12
|
+
| **country** | **String** | ISO 3166-1 alpha-2 country code (e.g., \"US\", \"CA\", \"NZ\") | [optional] |
|
13
|
+
| **postal_code** | **String** | Postal or Zip code of the address. | [optional] |
|
14
|
+
|
15
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
16
|
+
|