fastly 8.0.1 → 8.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (125) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +198 -130
  3. data/Gemfile.lock +1 -1
  4. data/README.md +13 -7
  5. data/docs/{ErrorResponse.md → AutomationTokenErrorResponse.md} +1 -1
  6. data/docs/AutomationTokensApi.md +2 -2
  7. data/docs/Backend.md +1 -1
  8. data/docs/BackendApi.md +4 -4
  9. data/docs/BackendResponse.md +1 -1
  10. data/docs/BillingInvoicesApi.md +96 -0
  11. data/docs/Director.md +1 -1
  12. data/docs/DirectorApi.md +2 -2
  13. data/docs/DirectorResponse.md +1 -1
  14. data/docs/DomainInspectorHistoricalApi.md +4 -4
  15. data/docs/DomainInspectorRealtimeEntry.md +1 -1
  16. data/docs/Error.md +13 -0
  17. data/docs/ErrorResponseData.md +11 -0
  18. data/docs/Invoice.md +18 -0
  19. data/docs/InvoiceResponse.md +18 -0
  20. data/docs/Invoicelineitems.md +18 -0
  21. data/docs/KvStoreApi.md +1 -1
  22. data/docs/ListInvoicesResponse.md +11 -0
  23. data/docs/Listinvoices.md +11 -0
  24. data/docs/LoggingScalyrAdditional.md +1 -1
  25. data/docs/LoggingScalyrApi.md +4 -4
  26. data/docs/LoggingScalyrResponse.md +1 -1
  27. data/docs/Metadata.md +13 -0
  28. data/docs/OriginInspectorHistoricalApi.md +4 -4
  29. data/docs/OriginInspectorRealtimeEntry.md +1 -1
  30. data/docs/PoolAdditional.md +1 -1
  31. data/docs/PoolApi.md +4 -4
  32. data/docs/PoolResponse.md +1 -1
  33. data/docs/PoolResponsePost.md +1 -1
  34. data/docs/Pop.md +2 -2
  35. data/docs/PublishApi.md +1 -1
  36. data/docs/RealtimeEntry.md +1 -1
  37. data/docs/Results.md +2 -0
  38. data/docs/SecretStoreApi.md +4 -2
  39. data/docs/SecretStoreItemApi.md +2 -2
  40. data/docs/ServiceDetail.md +1 -1
  41. data/docs/ServiceListResponse.md +2 -2
  42. data/docs/ServiceListResponseAllOf.md +2 -2
  43. data/docs/ServiceResponse.md +1 -1
  44. data/docs/ServiceResponseAllOf.md +1 -1
  45. data/docs/TlsConfigurationResponseAttributes.md +1 -1
  46. data/docs/TlsConfigurationResponseAttributesAllOf.md +1 -1
  47. data/docs/TlsCsr.md +10 -0
  48. data/docs/TlsCsrData.md +12 -0
  49. data/docs/TlsCsrDataAttributes.md +20 -0
  50. data/docs/TlsCsrErrorResponse.md +10 -0
  51. data/docs/TlsCsrResponse.md +10 -0
  52. data/docs/TlsCsrResponseAttributes.md +10 -0
  53. data/docs/TlsCsrResponseData.md +13 -0
  54. data/docs/TlsCsrsApi.md +52 -0
  55. data/docs/TlsSubscriptionResponseAttributes.md +1 -0
  56. data/docs/TlsSubscriptionResponseAttributesAllOf.md +1 -0
  57. data/docs/TokensApi.md +1 -1
  58. data/docs/TypeTlsCsr.md +9 -0
  59. data/docs/VclApi.md +1 -1
  60. data/docs/WafActiveRulesApi.md +1 -1
  61. data/lib/fastly/api/automation_tokens_api.rb +3 -3
  62. data/lib/fastly/api/backend_api.rb +4 -4
  63. data/lib/fastly/api/billing_invoices_api.rb +151 -0
  64. data/lib/fastly/api/director_api.rb +2 -2
  65. data/lib/fastly/api/domain_inspector_historical_api.rb +4 -4
  66. data/lib/fastly/api/kv_store_api.rb +2 -2
  67. data/lib/fastly/api/logging_scalyr_api.rb +4 -4
  68. data/lib/fastly/api/origin_inspector_historical_api.rb +4 -4
  69. data/lib/fastly/api/pool_api.rb +4 -4
  70. data/lib/fastly/api/publish_api.rb +2 -2
  71. data/lib/fastly/api/secret_store_api.rb +5 -2
  72. data/lib/fastly/api/secret_store_item_api.rb +2 -2
  73. data/lib/fastly/api/tls_csrs_api.rb +83 -0
  74. data/lib/fastly/api/tokens_api.rb +2 -2
  75. data/lib/fastly/api/vcl_api.rb +2 -2
  76. data/lib/fastly/api/waf_active_rules_api.rb +2 -2
  77. data/lib/fastly/configuration.rb +18 -0
  78. data/lib/fastly/models/{error_response.rb → automation_token_error_response.rb} +3 -3
  79. data/lib/fastly/models/backend.rb +1 -1
  80. data/lib/fastly/models/backend_response.rb +1 -1
  81. data/lib/fastly/models/director.rb +1 -1
  82. data/lib/fastly/models/director_response.rb +1 -1
  83. data/lib/fastly/models/domain_inspector_realtime_entry.rb +1 -1
  84. data/lib/fastly/models/error.rb +243 -0
  85. data/lib/fastly/models/error_response_data.rb +225 -0
  86. data/lib/fastly/models/event_attributes.rb +2 -2
  87. data/lib/fastly/models/invoice.rb +298 -0
  88. data/lib/fastly/models/invoice_response.rb +305 -0
  89. data/lib/fastly/models/invoicelineitems.rb +297 -0
  90. data/lib/fastly/models/list_invoices_response.rb +234 -0
  91. data/lib/fastly/models/listinvoices.rb +227 -0
  92. data/lib/fastly/models/logging_scalyr_additional.rb +1 -1
  93. data/lib/fastly/models/logging_scalyr_response.rb +1 -1
  94. data/lib/fastly/models/metadata.rb +250 -0
  95. data/lib/fastly/models/origin_inspector_realtime_entry.rb +1 -1
  96. data/lib/fastly/models/pool_additional.rb +1 -1
  97. data/lib/fastly/models/pool_response.rb +1 -1
  98. data/lib/fastly/models/pool_response_post.rb +1 -1
  99. data/lib/fastly/models/pop.rb +2 -2
  100. data/lib/fastly/models/realtime_entry.rb +1 -1
  101. data/lib/fastly/models/relationship_tls_certificate.rb +1 -1
  102. data/lib/fastly/models/relationship_tls_configuration.rb +1 -1
  103. data/lib/fastly/models/results.rb +21 -1
  104. data/lib/fastly/models/service_detail.rb +1 -1
  105. data/lib/fastly/models/service_list_response.rb +2 -2
  106. data/lib/fastly/models/service_list_response_all_of.rb +2 -2
  107. data/lib/fastly/models/service_response.rb +1 -1
  108. data/lib/fastly/models/service_response_all_of.rb +1 -1
  109. data/lib/fastly/models/tls_configuration_response_attributes.rb +1 -1
  110. data/lib/fastly/models/tls_configuration_response_attributes_all_of.rb +1 -1
  111. data/lib/fastly/models/tls_csr.rb +216 -0
  112. data/lib/fastly/models/tls_csr_data.rb +236 -0
  113. data/lib/fastly/models/tls_csr_data_attributes.rb +358 -0
  114. data/lib/fastly/models/tls_csr_error_response.rb +218 -0
  115. data/lib/fastly/models/tls_csr_response.rb +216 -0
  116. data/lib/fastly/models/tls_csr_response_attributes.rb +217 -0
  117. data/lib/fastly/models/tls_csr_response_data.rb +245 -0
  118. data/lib/fastly/models/tls_subscription_data_attributes.rb +2 -2
  119. data/lib/fastly/models/tls_subscription_response_attributes.rb +14 -4
  120. data/lib/fastly/models/tls_subscription_response_attributes_all_of.rb +14 -4
  121. data/lib/fastly/models/type_tls_csr.rb +34 -0
  122. data/lib/fastly/version.rb +1 -1
  123. data/lib/fastly.rb +19 -1
  124. data/sig.json +1 -1
  125. metadata +40 -4
data/docs/PoolApi.md CHANGED
@@ -43,7 +43,7 @@ opts = {
43
43
  service_id: 'service_id_example', # String |
44
44
  version: 'version_example', # String |
45
45
  name: 'name_example', # String | Name for the Pool.
46
- shield: 'shield_example', # String | Selected POP to serve as a shield for the servers. Defaults to `null` meaning no origin shielding if not set. Refer to the [POPs API endpoint](/reference/api/utils/pops/) to get a list of available POPs used for shielding.
46
+ shield: 'shield_example', # String | Selected POP to serve as a shield for the servers. Defaults to `null` meaning no origin shielding if not set. Refer to the [POPs API endpoint](https://www.fastly.com/documentation/reference/api/utils/pops/) to get a list of available POPs used for shielding.
47
47
  request_condition: 'request_condition_example', # String | Condition which, if met, will select this configuration during a request. Optional.
48
48
  tls_ciphers: 'tls_ciphers_example', # String | List of OpenSSL ciphers (see the [openssl.org manpages](https://www.openssl.org/docs/man1.1.1/man1/ciphers.html) for details). Optional.
49
49
  tls_sni_hostname: 'tls_sni_hostname_example', # String | SNI hostname. Optional.
@@ -87,7 +87,7 @@ end
87
87
  | **service_id** | **String** | | [optional] |
88
88
  | **version** | **String** | | [optional] |
89
89
  | **name** | **String** | Name for the Pool. | [optional] |
90
- | **shield** | **String** | Selected POP to serve as a shield for the servers. Defaults to `null` meaning no origin shielding if not set. Refer to the [POPs API endpoint](/reference/api/utils/pops/) to get a list of available POPs used for shielding. | [optional][default to 'null'] |
90
+ | **shield** | **String** | Selected POP to serve as a shield for the servers. Defaults to `null` meaning no origin shielding if not set. Refer to the [POPs API endpoint](https://www.fastly.com/documentation/reference/api/utils/pops/) to get a list of available POPs used for shielding. | [optional][default to 'null'] |
91
91
  | **request_condition** | **String** | Condition which, if met, will select this configuration during a request. Optional. | [optional] |
92
92
  | **tls_ciphers** | **String** | List of OpenSSL ciphers (see the [openssl.org manpages](https://www.openssl.org/docs/man1.1.1/man1/ciphers.html) for details). Optional. | [optional] |
93
93
  | **tls_sni_hostname** | **String** | SNI hostname. Optional. | [optional] |
@@ -258,7 +258,7 @@ opts = {
258
258
  service_id: 'service_id_example', # String |
259
259
  version: 'version_example', # String |
260
260
  name: 'name_example', # String | Name for the Pool.
261
- shield: 'shield_example', # String | Selected POP to serve as a shield for the servers. Defaults to `null` meaning no origin shielding if not set. Refer to the [POPs API endpoint](/reference/api/utils/pops/) to get a list of available POPs used for shielding.
261
+ shield: 'shield_example', # String | Selected POP to serve as a shield for the servers. Defaults to `null` meaning no origin shielding if not set. Refer to the [POPs API endpoint](https://www.fastly.com/documentation/reference/api/utils/pops/) to get a list of available POPs used for shielding.
262
262
  request_condition: 'request_condition_example', # String | Condition which, if met, will select this configuration during a request. Optional.
263
263
  tls_ciphers: 'tls_ciphers_example', # String | List of OpenSSL ciphers (see the [openssl.org manpages](https://www.openssl.org/docs/man1.1.1/man1/ciphers.html) for details). Optional.
264
264
  tls_sni_hostname: 'tls_sni_hostname_example', # String | SNI hostname. Optional.
@@ -303,7 +303,7 @@ end
303
303
  | **service_id** | **String** | | [optional] |
304
304
  | **version** | **String** | | [optional] |
305
305
  | **name** | **String** | Name for the Pool. | [optional] |
306
- | **shield** | **String** | Selected POP to serve as a shield for the servers. Defaults to `null` meaning no origin shielding if not set. Refer to the [POPs API endpoint](/reference/api/utils/pops/) to get a list of available POPs used for shielding. | [optional][default to 'null'] |
306
+ | **shield** | **String** | Selected POP to serve as a shield for the servers. Defaults to `null` meaning no origin shielding if not set. Refer to the [POPs API endpoint](https://www.fastly.com/documentation/reference/api/utils/pops/) to get a list of available POPs used for shielding. | [optional][default to 'null'] |
307
307
  | **request_condition** | **String** | Condition which, if met, will select this configuration during a request. Optional. | [optional] |
308
308
  | **tls_ciphers** | **String** | List of OpenSSL ciphers (see the [openssl.org manpages](https://www.openssl.org/docs/man1.1.1/man1/ciphers.html) for details). Optional. | [optional] |
309
309
  | **tls_sni_hostname** | **String** | SNI hostname. Optional. | [optional] |
data/docs/PoolResponse.md CHANGED
@@ -15,7 +15,7 @@
15
15
  | **service_id** | **String** | | [optional][readonly] |
16
16
  | **version** | **String** | | [optional][readonly] |
17
17
  | **name** | **String** | Name for the Pool. | [optional] |
18
- | **shield** | **String** | Selected POP to serve as a shield for the servers. Defaults to `null` meaning no origin shielding if not set. Refer to the [POPs API endpoint](/reference/api/utils/pops/) to get a list of available POPs used for shielding. | [optional][default to 'null'] |
18
+ | **shield** | **String** | Selected POP to serve as a shield for the servers. Defaults to `null` meaning no origin shielding if not set. Refer to the [POPs API endpoint](https://www.fastly.com/documentation/reference/api/utils/pops/) to get a list of available POPs used for shielding. | [optional][default to 'null'] |
19
19
  | **request_condition** | **String** | Condition which, if met, will select this configuration during a request. Optional. | [optional] |
20
20
  | **tls_ciphers** | **String** | List of OpenSSL ciphers (see the [openssl.org manpages](https://www.openssl.org/docs/man1.1.1/man1/ciphers.html) for details). Optional. | [optional] |
21
21
  | **tls_sni_hostname** | **String** | SNI hostname. Optional. | [optional] |
@@ -15,7 +15,7 @@
15
15
  | **service_id** | **String** | | [optional][readonly] |
16
16
  | **version** | **String** | | [optional][readonly] |
17
17
  | **name** | **String** | Name for the Pool. | [optional] |
18
- | **shield** | **String** | Selected POP to serve as a shield for the servers. Defaults to `null` meaning no origin shielding if not set. Refer to the [POPs API endpoint](/reference/api/utils/pops/) to get a list of available POPs used for shielding. | [optional][default to 'null'] |
18
+ | **shield** | **String** | Selected POP to serve as a shield for the servers. Defaults to `null` meaning no origin shielding if not set. Refer to the [POPs API endpoint](https://www.fastly.com/documentation/reference/api/utils/pops/) to get a list of available POPs used for shielding. | [optional][default to 'null'] |
19
19
  | **request_condition** | **String** | Condition which, if met, will select this configuration during a request. Optional. | [optional] |
20
20
  | **tls_ciphers** | **String** | List of OpenSSL ciphers (see the [openssl.org manpages](https://www.openssl.org/docs/man1.1.1/man1/ciphers.html) for details). Optional. | [optional] |
21
21
  | **tls_sni_hostname** | **String** | SNI hostname. Optional. | [optional] |
data/docs/Pop.md CHANGED
@@ -4,14 +4,14 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **code** | **String** | the three-letter code for the [POP](https://developer.fastly.com/learning/concepts/pop/) | |
7
+ | **code** | **String** | the three-letter code for the [POP](https://www.fastly.com/documentation/learning/concepts/pop/) | |
8
8
  | **name** | **String** | the name of the POP | |
9
9
  | **group** | **String** | | |
10
10
  | **region** | **String** | | |
11
11
  | **stats_region** | **String** | the region used for stats reporting | |
12
12
  | **billing_region** | **String** | the region used for billing | |
13
13
  | **coordinates** | [**PopCoordinates**](PopCoordinates.md) | | [optional] |
14
- | **shield** | **String** | the name of the [shield code](https://developer.fastly.com/learning/concepts/shielding/#choosing-a-shield-location) if this POP is suitable for shielding | [optional] |
14
+ | **shield** | **String** | the name of the [shield code](https://www.fastly.com/documentation/learning/concepts/shielding/#choosing-a-shield-location) if this POP is suitable for shielding | [optional] |
15
15
 
16
16
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
17
17
 
data/docs/PublishApi.md CHANGED
@@ -19,7 +19,7 @@ api_instance = Fastly::PublishApi.new
19
19
  publish(opts): String # Send messages to Fanout subscribers
20
20
  ```
21
21
 
22
- Send one or more messages to [Fanout](https://developer.fastly.com/learning/concepts/real-time-messaging/fanout) subscribers. Each message specifies a channel, and Fanout will deliver the message to all subscribers of its channel. > **IMPORTANT:** For compatibility with GRIP, this endpoint requires a trailing slash, and the API token may be provided in the `Authorization` header (instead of the `Fastly-Key` header) using the `Bearer` scheme.
22
+ Send one or more messages to [Fanout](https://www.fastly.com/documentation/learning/concepts/real-time-messaging/fanout) subscribers. Each message specifies a channel, and Fanout will deliver the message to all subscribers of its channel. > **IMPORTANT:** For compatibility with GRIP, this endpoint requires a trailing slash, and the API token may be provided in the `Authorization` header (instead of the `Fastly-Key` header) using the `Bearer` scheme.
23
23
 
24
24
  ### Examples
25
25
 
@@ -6,7 +6,7 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **recorded** | [**RealtimeEntryRecorded**](RealtimeEntryRecorded.md) | | [optional] |
8
8
  | **aggregated** | [**RealtimeEntryAggregated**](RealtimeEntryAggregated.md) | | [optional] |
9
- | **datacenter** | [**Hash<String, RealtimeMeasurements>**](RealtimeMeasurements.md) | Groups [measurements](#measurements-data-model) by POP. See the [POPs API](/reference/api/utils/pops/) for details of POP identifiers. | [optional] |
9
+ | **datacenter** | [**Hash<String, RealtimeMeasurements>**](RealtimeMeasurements.md) | Groups [measurements](#measurements-data-model) by POP. See the [POPs API](https://www.fastly.com/documentation/reference/api/utils/pops/) for details of POP identifiers. | [optional] |
10
10
 
11
11
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
12
12
 
data/docs/Results.md CHANGED
@@ -83,8 +83,10 @@
83
83
  | **imgopto** | **Integer** | Number of responses that came from the Fastly Image Optimizer service. If the service receives 10 requests for an image, this stat will be 10 regardless of how many times the image was transformed. | [optional] |
84
84
  | **imgopto_resp_body_bytes** | **Integer** | Total body bytes delivered from the Fastly Image Optimizer service, including shield traffic. | [optional] |
85
85
  | **imgopto_resp_header_bytes** | **Integer** | Total header bytes delivered from the Fastly Image Optimizer service, including shield traffic. | [optional] |
86
+ | **imgopto_shield** | **Integer** | Number of responses that came from the Fastly Image Optimizer service via a shield. | [optional] |
86
87
  | **imgopto_shield_resp_body_bytes** | **Integer** | Total body bytes delivered via a shield from the Fastly Image Optimizer service. | [optional] |
87
88
  | **imgopto_shield_resp_header_bytes** | **Integer** | Total header bytes delivered via a shield from the Fastly Image Optimizer service. | [optional] |
89
+ | **imgopto_transforms** | **Integer** | Number of transforms performed by the Fastly Image Optimizer service. | [optional] |
88
90
  | **imgvideo** | **Integer** | Number of video responses that came from the Fastly Image Optimizer service. | [optional] |
89
91
  | **imgvideo_frames** | **Integer** | Number of video frames that came from the Fastly Image Optimizer service. A video frame is an individual image within a sequence of video. | [optional] |
90
92
  | **imgvideo_resp_header_bytes** | **Integer** | Total header bytes of video delivered from the Fastly Image Optimizer service. | [optional] |
@@ -173,8 +173,9 @@ Get all secret stores.
173
173
  ```ruby
174
174
  api_instance = Fastly::SecretStoreApi.new
175
175
  opts = {
176
- cursor: 'cursor_example', # String | Cursor value from a previous response to retrieve the next page. To request the first page, this should be empty.
176
+ cursor: 'cursor_example', # String | Cursor value from the `next_cursor` field of a previous response, used to retrieve the next page. To request the first page, this should be empty.
177
177
  limit: 'limit_example', # String | Number of results per page. The maximum is 200.
178
+ name: 'name_example', # String | Returns a one-element array containing the details for the named secret store.
178
179
  }
179
180
 
180
181
  begin
@@ -190,8 +191,9 @@ end
190
191
 
191
192
  | Name | Type | Description | Notes |
192
193
  | ---- | ---- | ----------- | ----- |
193
- | **cursor** | **String** | Cursor value from a previous response to retrieve the next page. To request the first page, this should be empty. | [optional] |
194
+ | **cursor** | **String** | Cursor value from the `next_cursor` field of a previous response, used to retrieve the next page. To request the first page, this should be empty. | [optional] |
194
195
  | **limit** | **String** | Number of results per page. The maximum is 200. | [optional][default to '100'] |
196
+ | **name** | **String** | Returns a one-element array containing the details for the named secret store. | [optional] |
195
197
 
196
198
  ### Return type
197
199
 
@@ -148,7 +148,7 @@ List all secrets within a store.
148
148
  api_instance = Fastly::SecretStoreItemApi.new
149
149
  opts = {
150
150
  store_id: 'store_id_example', # String |
151
- cursor: 'cursor_example', # String | Cursor value from a previous response to retrieve the next page. To request the first page, this should be empty.
151
+ cursor: 'cursor_example', # String | Cursor value from the `next_cursor` field of a previous response, used to retrieve the next page. To request the first page, this should be empty.
152
152
  limit: 'limit_example', # String | Number of results per page. The maximum is 200.
153
153
  }
154
154
 
@@ -166,7 +166,7 @@ end
166
166
  | Name | Type | Description | Notes |
167
167
  | ---- | ---- | ----------- | ----- |
168
168
  | **store_id** | **String** | | |
169
- | **cursor** | **String** | Cursor value from a previous response to retrieve the next page. To request the first page, this should be empty. | [optional] |
169
+ | **cursor** | **String** | Cursor value from the `next_cursor` field of a previous response, used to retrieve the next page. To request the first page, this should be empty. | [optional] |
170
170
  | **limit** | **String** | Number of results per page. The maximum is 200. | [optional][default to '100'] |
171
171
 
172
172
  ### Return type
@@ -14,7 +14,7 @@
14
14
  | **id** | **String** | | [optional][readonly] |
15
15
  | **publish_key** | **String** | Unused at this time. | [optional] |
16
16
  | **paused** | **Boolean** | Whether the service is paused. Services are paused due to a lack of traffic for an extended period of time. Services are resumed either when a draft version is activated or a locked version is cloned and reactivated. | [optional] |
17
- | **versions** | [**Array<SchemasVersionResponse>**](SchemasVersionResponse.md) | A list of [versions](/reference/api/services/version/) associated with the service. | [optional] |
17
+ | **versions** | [**Array<SchemasVersionResponse>**](SchemasVersionResponse.md) | A list of [versions](https://www.fastly.com/documentation/reference/api/services/version/) associated with the service. | [optional] |
18
18
  | **active_version** | [**ServiceVersionDetailOrNull**](ServiceVersionDetailOrNull.md) | | [optional] |
19
19
  | **version** | [**ServiceVersionDetail**](ServiceVersionDetail.md) | | [optional] |
20
20
 
@@ -12,8 +12,8 @@
12
12
  | **customer_id** | **String** | Alphanumeric string identifying the customer. | [optional] |
13
13
  | **type** | **String** | The type of this service. | [optional] |
14
14
  | **id** | **String** | | [optional][readonly] |
15
- | **version** | **Integer** | Current [version](/reference/api/services/version/) of the service. | [optional] |
16
- | **versions** | [**Array<SchemasVersionResponse>**](SchemasVersionResponse.md) | A list of [versions](/reference/api/services/version/) associated with the service. | [optional] |
15
+ | **version** | **Integer** | Current [version](https://www.fastly.com/documentation/reference/api/services/version/) of the service. | [optional] |
16
+ | **versions** | [**Array<SchemasVersionResponse>**](SchemasVersionResponse.md) | A list of [versions](https://www.fastly.com/documentation/reference/api/services/version/) associated with the service. | [optional] |
17
17
 
18
18
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
19
19
 
@@ -5,8 +5,8 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **id** | **String** | | [optional][readonly] |
8
- | **version** | **Integer** | Current [version](/reference/api/services/version/) of the service. | [optional] |
9
- | **versions** | [**Array<SchemasVersionResponse>**](SchemasVersionResponse.md) | A list of [versions](/reference/api/services/version/) associated with the service. | [optional] |
8
+ | **version** | **Integer** | Current [version](https://www.fastly.com/documentation/reference/api/services/version/) of the service. | [optional] |
9
+ | **versions** | [**Array<SchemasVersionResponse>**](SchemasVersionResponse.md) | A list of [versions](https://www.fastly.com/documentation/reference/api/services/version/) associated with the service. | [optional] |
10
10
 
11
11
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
12
12
 
@@ -14,7 +14,7 @@
14
14
  | **id** | **String** | | [optional][readonly] |
15
15
  | **publish_key** | **String** | Unused at this time. | [optional] |
16
16
  | **paused** | **Boolean** | Whether the service is paused. Services are paused due to a lack of traffic for an extended period of time. Services are resumed either when a draft version is activated or a locked version is cloned and reactivated. | [optional] |
17
- | **versions** | [**Array<SchemasVersionResponse>**](SchemasVersionResponse.md) | A list of [versions](/reference/api/services/version/) associated with the service. | [optional] |
17
+ | **versions** | [**Array<SchemasVersionResponse>**](SchemasVersionResponse.md) | A list of [versions](https://www.fastly.com/documentation/reference/api/services/version/) associated with the service. | [optional] |
18
18
 
19
19
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
20
20
 
@@ -7,7 +7,7 @@
7
7
  | **id** | **String** | | [optional][readonly] |
8
8
  | **publish_key** | **String** | Unused at this time. | [optional] |
9
9
  | **paused** | **Boolean** | Whether the service is paused. Services are paused due to a lack of traffic for an extended period of time. Services are resumed either when a draft version is activated or a locked version is cloned and reactivated. | [optional] |
10
- | **versions** | [**Array<SchemasVersionResponse>**](SchemasVersionResponse.md) | A list of [versions](/reference/api/services/version/) associated with the service. | [optional] |
10
+ | **versions** | [**Array<SchemasVersionResponse>**](SchemasVersionResponse.md) | A list of [versions](https://www.fastly.com/documentation/reference/api/services/version/) associated with the service. | [optional] |
11
11
 
12
12
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
13
13
 
@@ -7,7 +7,7 @@
7
7
  | **created_at** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
8
8
  | **deleted_at** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
9
9
  | **updated_at** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
10
- | **default** | **Boolean** | Signifies whether or not Fastly will use this configuration as a default when creating a new [TLS Activation](/reference/api/tls/custom-certs/activations/). | [optional][readonly] |
10
+ | **default** | **Boolean** | Signifies whether or not Fastly will use this configuration as a default when creating a new [TLS Activation](https://www.fastly.com/documentation/reference/api/tls/custom-certs/activations/). | [optional][readonly] |
11
11
  | **http_protocols** | **Array<String>** | HTTP protocols available on your configuration. | [optional][readonly] |
12
12
  | **tls_protocols** | **Array<String>** | TLS protocols available on your configuration. | [optional][readonly] |
13
13
  | **bulk** | **Boolean** | Signifies whether the configuration is used for Platform TLS or not. | [optional][readonly] |
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **default** | **Boolean** | Signifies whether or not Fastly will use this configuration as a default when creating a new [TLS Activation](/reference/api/tls/custom-certs/activations/). | [optional][readonly] |
7
+ | **default** | **Boolean** | Signifies whether or not Fastly will use this configuration as a default when creating a new [TLS Activation](https://www.fastly.com/documentation/reference/api/tls/custom-certs/activations/). | [optional][readonly] |
8
8
  | **http_protocols** | **Array<String>** | HTTP protocols available on your configuration. | [optional][readonly] |
9
9
  | **tls_protocols** | **Array<String>** | TLS protocols available on your configuration. | [optional][readonly] |
10
10
  | **bulk** | **Boolean** | Signifies whether the configuration is used for Platform TLS or not. | [optional][readonly] |
data/docs/TlsCsr.md ADDED
@@ -0,0 +1,10 @@
1
+ # Fastly::TlsCsr
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**TlsCsrData**](TlsCsrData.md) | | [optional] |
8
+
9
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
10
+
@@ -0,0 +1,12 @@
1
+ # Fastly::TlsCsrData
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | [**TypeTlsCsr**](TypeTlsCsr.md) | | [optional][default to 'csr'] |
8
+ | **attributes** | [**TlsCsrDataAttributes**](TlsCsrDataAttributes.md) | | [optional] |
9
+ | **relationships** | [**RelationshipTlsPrivateKey**](RelationshipTlsPrivateKey.md) | | [optional] |
10
+
11
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
12
+
@@ -0,0 +1,20 @@
1
+ # Fastly::TlsCsrDataAttributes
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **sans** | **Array<String>** | Subject Alternate Names - An array of one or more fully qualified domain names or public IP addresses to be secured by this certificate. Required. | |
8
+ | **common_name** | **String** | Common Name (CN) - The fully qualified domain name (FQDN) to be secured by this certificate. The common name should be one of the entries in the SANs parameter. | [optional] |
9
+ | **country** | **String** | Country (C) - The two-letter ISO country code where the organization is located. | [optional] |
10
+ | **state** | **String** | State (S) - The state, province, region, or county where the organization is located. This should not be abbreviated. | [optional] |
11
+ | **city** | **String** | Locality (L) - The locality, city, town, or village where the organization is located. | [optional] |
12
+ | **postal_code** | **String** | Postal Code - The postal code where the organization is located. | [optional] |
13
+ | **street_address** | **String** | Street Address - The street address where the organization is located. | [optional] |
14
+ | **organization** | **String** | Organization (O) - The legal name of the organization, including any suffixes. This should not be abbreviated. | [optional] |
15
+ | **organizational_unit** | **String** | Organizational Unit (OU) - The internal division of the organization managing the certificate. | [optional] |
16
+ | **email** | **String** | Email Address (EMAIL) - The organizational contact for this. | [optional] |
17
+ | **key_type** | **String** | CSR Key Type. | [optional] |
18
+
19
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
20
+
@@ -0,0 +1,10 @@
1
+ # Fastly::TlsCsrErrorResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **errors** | [**Array<ErrorResponseData>**](ErrorResponseData.md) | | [optional] |
8
+
9
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
10
+
@@ -0,0 +1,10 @@
1
+ # Fastly::TlsCsrResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**TlsCsrResponseData**](TlsCsrResponseData.md) | | [optional] |
8
+
9
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
10
+
@@ -0,0 +1,10 @@
1
+ # Fastly::TlsCsrResponseAttributes
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **content** | **String** | The PEM encoded CSR. | [optional] |
8
+
9
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
10
+
@@ -0,0 +1,13 @@
1
+ # Fastly::TlsCsrResponseData
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | | [optional] |
8
+ | **type** | [**TypeTlsCsr**](TypeTlsCsr.md) | | [optional][default to 'csr'] |
9
+ | **attributes** | [**TlsCsrResponseAttributes**](TlsCsrResponseAttributes.md) | | [optional] |
10
+ | **relationships** | [**RelationshipTlsPrivateKey**](RelationshipTlsPrivateKey.md) | | [optional] |
11
+
12
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
13
+
@@ -0,0 +1,52 @@
1
+ # Fastly::TlsCsrsApi
2
+
3
+
4
+ ```ruby
5
+ require 'fastly'
6
+ api_instance = Fastly::TlsCsrsApi.new
7
+ ```
8
+
9
+ ## Methods
10
+
11
+ | Method | HTTP request | Description |
12
+ | ------ | ------------ | ----------- |
13
+ | [**create_csr**](TlsCsrsApi.md#create_csr) | **POST** /tls/certificate_signing_requests | Create CSR |
14
+
15
+
16
+ ## `create_csr()`
17
+
18
+ ```ruby
19
+ create_csr(opts): <TlsCsrResponse> # Create CSR
20
+ ```
21
+
22
+ Creates a certificate signing request (CSR).
23
+
24
+ ### Examples
25
+
26
+ ```ruby
27
+ api_instance = Fastly::TlsCsrsApi.new
28
+ opts = {
29
+ tls_csr: Fastly::TlsCsr.new, # TlsCsr |
30
+ }
31
+
32
+ begin
33
+ # Create CSR
34
+ result = api_instance.create_csr(opts)
35
+ p result
36
+ rescue Fastly::ApiError => e
37
+ puts "Error when calling TlsCsrsApi->create_csr: #{e}"
38
+ end
39
+ ```
40
+
41
+ ### Options
42
+
43
+ | Name | Type | Description | Notes |
44
+ | ---- | ---- | ----------- | ----- |
45
+ | **tls_csr** | [**TlsCsr**](TlsCsr.md) | | [optional] |
46
+
47
+ ### Return type
48
+
49
+ [**TlsCsrResponse**](TlsCsrResponse.md)
50
+
51
+ [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
52
+ [[Back to README]](../../README.md)
@@ -8,6 +8,7 @@
8
8
  | **deleted_at** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
9
9
  | **updated_at** | **Time** | Date and time in ISO 8601 format. | [optional][readonly] |
10
10
  | **state** | **String** | The current state of your subscription. | [optional] |
11
+ | **has_active_order** | **Boolean** | Subscription has an active order | [optional] |
11
12
 
12
13
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
13
14
 
@@ -5,6 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **state** | **String** | The current state of your subscription. | [optional] |
8
+ | **has_active_order** | **Boolean** | Subscription has an active order | [optional] |
8
9
 
9
10
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
10
11
 
data/docs/TokensApi.md CHANGED
@@ -62,7 +62,7 @@ nil (empty response body)
62
62
  create_token: <TokenCreatedResponse> # Create a token
63
63
  ```
64
64
 
65
- Create an API token. If two-factor authentication is enabled for your account, review [the instructions](/reference/api/auth-tokens/user/) for including a one-time password in the request.
65
+ Create an API token. If two-factor authentication is enabled for your account, review [the instructions](https://www.fastly.com/documentation/reference/api/auth-tokens/user/) for including a one-time password in the request.
66
66
 
67
67
  ### Examples
68
68
 
@@ -0,0 +1,9 @@
1
+ # Fastly::TypeTlsCsr
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+
8
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
9
+
data/docs/VclApi.md CHANGED
@@ -160,7 +160,7 @@ end
160
160
  get_custom_vcl_boilerplate(opts): String # Get boilerplate VCL
161
161
  ```
162
162
 
163
- Return boilerplate VCL with the service's TTL from the [settings](/reference/api/vcl-services/settings/).
163
+ Return boilerplate VCL with the service's TTL from the [settings](https://www.fastly.com/documentation/reference/api/vcl-services/settings/).
164
164
 
165
165
  ### Examples
166
166
 
@@ -66,7 +66,7 @@ nil (empty response body)
66
66
  bulk_update_waf_active_rules(opts) # Update multiple active rules
67
67
  ```
68
68
 
69
- Bulk update all active rules on a [firewall version](https://developer.fastly.com/reference/api/waf/firewall-version/). This endpoint will not add new active rules, only update existing active rules.
69
+ Bulk update all active rules on a [firewall version](https://www.fastly.com/documentation/reference/api/waf/firewall-version/). This endpoint will not add new active rules, only update existing active rules.
70
70
 
71
71
  ### Examples
72
72
 
@@ -277,7 +277,7 @@ module Fastly
277
277
  # Revoke an Automation Token by ID
278
278
  # Revoke an automation token by ID.
279
279
  # @option opts [String] :id (required)
280
- # @return [ErrorResponse]
280
+ # @return [AutomationTokenErrorResponse]
281
281
  def revoke_automation_token_id(opts = {})
282
282
  data, _status_code, _headers = revoke_automation_token_id_with_http_info(opts)
283
283
  data
@@ -286,7 +286,7 @@ module Fastly
286
286
  # Revoke an Automation Token by ID
287
287
  # Revoke an automation token by ID.
288
288
  # @option opts [String] :id (required)
289
- # @return [Array<(ErrorResponse, Integer, Hash)>] ErrorResponse data, response status code and response headers
289
+ # @return [Array<(AutomationTokenErrorResponse, Integer, Hash)>] AutomationTokenErrorResponse data, response status code and response headers
290
290
  def revoke_automation_token_id_with_http_info(opts = {})
291
291
  if @api_client.config.debugging
292
292
  @api_client.config.logger.debug 'Calling API: AutomationTokensApi.revoke_automation_token_id ...'
@@ -315,7 +315,7 @@ module Fastly
315
315
  post_body = opts[:debug_body]
316
316
 
317
317
  # return_type
318
- return_type = opts[:debug_return_type] || 'ErrorResponse'
318
+ return_type = opts[:debug_return_type] || 'AutomationTokenErrorResponse'
319
319
 
320
320
  # auth_names
321
321
  auth_names = opts[:debug_auth_names] || ['token']
@@ -45,7 +45,7 @@ module Fastly
45
45
  # @option opts [String] :ssl_ca_cert CA certificate attached to origin.
46
46
  # @option opts [String] :ssl_cert_hostname Overrides &#x60;ssl_hostname&#x60;, but only for cert verification. Does not affect SNI at all.
47
47
  # @option opts [Boolean] :ssl_check_cert Be strict on checking SSL certs. (default to true)
48
- # @option opts [String] :ssl_ciphers List of [OpenSSL ciphers](https://www.openssl.org/docs/manmaster/man1/ciphers.html) to support for connections to this origin. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic &#x60;503&#x60; error response will be generated.
48
+ # @option opts [String] :ssl_ciphers List of [OpenSSL ciphers](https://www.openssl.org/docs/man1.1.1/man1/ciphers.html) to support for connections to this origin. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic &#x60;503&#x60; error response will be generated.
49
49
  # @option opts [String] :ssl_client_cert Client certificate attached to origin.
50
50
  # @option opts [String] :ssl_client_key Client key attached to origin.
51
51
  # @option opts [String] :ssl_hostname Use &#x60;ssl_cert_hostname&#x60; and &#x60;ssl_sni_hostname&#x60; to configure certificate validation.
@@ -86,7 +86,7 @@ module Fastly
86
86
  # @option opts [String] :ssl_ca_cert CA certificate attached to origin.
87
87
  # @option opts [String] :ssl_cert_hostname Overrides &#x60;ssl_hostname&#x60;, but only for cert verification. Does not affect SNI at all.
88
88
  # @option opts [Boolean] :ssl_check_cert Be strict on checking SSL certs. (default to true)
89
- # @option opts [String] :ssl_ciphers List of [OpenSSL ciphers](https://www.openssl.org/docs/manmaster/man1/ciphers.html) to support for connections to this origin. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic &#x60;503&#x60; error response will be generated.
89
+ # @option opts [String] :ssl_ciphers List of [OpenSSL ciphers](https://www.openssl.org/docs/man1.1.1/man1/ciphers.html) to support for connections to this origin. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic &#x60;503&#x60; error response will be generated.
90
90
  # @option opts [String] :ssl_client_cert Client certificate attached to origin.
91
91
  # @option opts [String] :ssl_client_key Client key attached to origin.
92
92
  # @option opts [String] :ssl_hostname Use &#x60;ssl_cert_hostname&#x60; and &#x60;ssl_sni_hostname&#x60; to configure certificate validation.
@@ -443,7 +443,7 @@ module Fastly
443
443
  # @option opts [String] :ssl_ca_cert CA certificate attached to origin.
444
444
  # @option opts [String] :ssl_cert_hostname Overrides &#x60;ssl_hostname&#x60;, but only for cert verification. Does not affect SNI at all.
445
445
  # @option opts [Boolean] :ssl_check_cert Be strict on checking SSL certs. (default to true)
446
- # @option opts [String] :ssl_ciphers List of [OpenSSL ciphers](https://www.openssl.org/docs/manmaster/man1/ciphers.html) to support for connections to this origin. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic &#x60;503&#x60; error response will be generated.
446
+ # @option opts [String] :ssl_ciphers List of [OpenSSL ciphers](https://www.openssl.org/docs/man1.1.1/man1/ciphers.html) to support for connections to this origin. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic &#x60;503&#x60; error response will be generated.
447
447
  # @option opts [String] :ssl_client_cert Client certificate attached to origin.
448
448
  # @option opts [String] :ssl_client_key Client key attached to origin.
449
449
  # @option opts [String] :ssl_hostname Use &#x60;ssl_cert_hostname&#x60; and &#x60;ssl_sni_hostname&#x60; to configure certificate validation.
@@ -485,7 +485,7 @@ module Fastly
485
485
  # @option opts [String] :ssl_ca_cert CA certificate attached to origin.
486
486
  # @option opts [String] :ssl_cert_hostname Overrides &#x60;ssl_hostname&#x60;, but only for cert verification. Does not affect SNI at all.
487
487
  # @option opts [Boolean] :ssl_check_cert Be strict on checking SSL certs. (default to true)
488
- # @option opts [String] :ssl_ciphers List of [OpenSSL ciphers](https://www.openssl.org/docs/manmaster/man1/ciphers.html) to support for connections to this origin. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic &#x60;503&#x60; error response will be generated.
488
+ # @option opts [String] :ssl_ciphers List of [OpenSSL ciphers](https://www.openssl.org/docs/man1.1.1/man1/ciphers.html) to support for connections to this origin. If your backend server is not able to negotiate a connection meeting this constraint, a synthetic &#x60;503&#x60; error response will be generated.
489
489
  # @option opts [String] :ssl_client_cert Client certificate attached to origin.
490
490
  # @option opts [String] :ssl_client_key Client key attached to origin.
491
491
  # @option opts [String] :ssl_hostname Use &#x60;ssl_cert_hostname&#x60; and &#x60;ssl_sni_hostname&#x60; to configure certificate validation.