lib/fastly/api/tls_subscriptions_api.rb in fastly-4.1.0 vs lib/fastly/api/tls_subscriptions_api.rb in fastly-4.2.0
- old
+ new
@@ -362,11 +362,11 @@
return data, status_code, headers
end
# List TLS subscriptions
# List all TLS subscriptions.
- # @option opts [String] :filter_state Limit the returned subscriptions by state. Valid values are `pending`, `processing`, `issued`, and `renewing`. Accepts parameters: `not` (e.g., `filter[state][not]=renewing`).
+ # @option opts [String] :filter_state Limit the returned subscriptions by state. Valid values are `pending`, `processing`, `issued`, `renewing`, and `failed`. Accepts parameters: `not` (e.g., `filter[state][not]=renewing`).
# @option opts [String] :filter_tls_domains_id Limit the returned subscriptions to those that include the specific domain.
# @option opts [Boolean] :filter_has_active_order Limit the returned subscriptions to those that have currently active orders. Permitted values: `true`.
# @option opts [String] :include Include related objects. Optional, comma-separated values. Permitted values: `tls_authorizations` and `tls_authorizations.globalsign_email_challenge`.
# @option opts [Integer] :page_number Current page.
# @option opts [Integer] :page_size Number of records per page. (default to 20)
@@ -377,11 +377,11 @@
data
end
# List TLS subscriptions
# List all TLS subscriptions.
- # @option opts [String] :filter_state Limit the returned subscriptions by state. Valid values are `pending`, `processing`, `issued`, and `renewing`. Accepts parameters: `not` (e.g., `filter[state][not]=renewing`).
+ # @option opts [String] :filter_state Limit the returned subscriptions by state. Valid values are `pending`, `processing`, `issued`, `renewing`, and `failed`. Accepts parameters: `not` (e.g., `filter[state][not]=renewing`).
# @option opts [String] :filter_tls_domains_id Limit the returned subscriptions to those that include the specific domain.
# @option opts [Boolean] :filter_has_active_order Limit the returned subscriptions to those that have currently active orders. Permitted values: `true`.
# @option opts [String] :include Include related objects. Optional, comma-separated values. Permitted values: `tls_authorizations` and `tls_authorizations.globalsign_email_challenge`.
# @option opts [Integer] :page_number Current page.
# @option opts [Integer] :page_size Number of records per page. (default to 20)
@@ -450,21 +450,21 @@
end
return data, status_code, headers
end
# Update a TLS subscription
- # Change the TLS domains or common name associated with this subscription, or update the TLS configuration for this set of domains.
+ # Change the TLS domains or common name associated with this subscription, update the TLS configuration for this set of domains, or retry a subscription with state `failed` by setting the state to `retry`.
# @option opts [String] :tls_subscription_id Alphanumeric string identifying a TLS subscription. (required)
# @option opts [Boolean] :force A flag that allows you to edit and delete a subscription with active domains. Valid to use on PATCH and DELETE actions. As a warning, removing an active domain from a subscription or forcing the deletion of a subscription may result in breaking TLS termination to that domain.
# @option opts [TlsSubscription] :tls_subscription
# @return [TlsSubscriptionResponse]
def patch_tls_sub(opts = {})
data, _status_code, _headers = patch_tls_sub_with_http_info(opts)
data
end
# Update a TLS subscription
- # Change the TLS domains or common name associated with this subscription, or update the TLS configuration for this set of domains.
+ # Change the TLS domains or common name associated with this subscription, update the TLS configuration for this set of domains, or retry a subscription with state `failed` by setting the state to `retry`.
# @option opts [String] :tls_subscription_id Alphanumeric string identifying a TLS subscription. (required)
# @option opts [Boolean] :force A flag that allows you to edit and delete a subscription with active domains. Valid to use on PATCH and DELETE actions. As a warning, removing an active domain from a subscription or forcing the deletion of a subscription may result in breaking TLS termination to that domain.
# @option opts [TlsSubscription] :tls_subscription
# @return [Array<(TlsSubscriptionResponse, Integer, Hash)>] TlsSubscriptionResponse data, response status code and response headers
def patch_tls_sub_with_http_info(opts = {})