lib/fastly/api/tls_certificates_api.rb in fastly-4.4.0 vs lib/fastly/api/tls_certificates_api.rb in fastly-5.0.0
- old
+ new
@@ -204,10 +204,11 @@
return data, status_code, headers
end
# List TLS certificates
# List all TLS certificates.
+ # @option opts [String] :filter_in_use Optional. Limit the returned certificates to those currently using Fastly to terminate TLS (that is, certificates associated with an activation). Permitted values: true, false.
# @option opts [String] :filter_not_after Limit the returned certificates to those that expire prior to the specified date in UTC. Accepts parameters: lte (e.g., filter[not_after][lte]=2020-05-05).
# @option opts [String] :filter_tls_domains_id Limit the returned certificates to those that include the specific domain.
# @option opts [String] :include Include related objects. Optional, comma-separated values. Permitted values: `tls_activations`.
# @option opts [Integer] :page_number Current page.
# @option opts [Integer] :page_size Number of records per page. (default to 20)
@@ -218,10 +219,11 @@
data
end
# List TLS certificates
# List all TLS certificates.
+ # @option opts [String] :filter_in_use Optional. Limit the returned certificates to those currently using Fastly to terminate TLS (that is, certificates associated with an activation). Permitted values: true, false.
# @option opts [String] :filter_not_after Limit the returned certificates to those that expire prior to the specified date in UTC. Accepts parameters: lte (e.g., filter[not_after][lte]=2020-05-05).
# @option opts [String] :filter_tls_domains_id Limit the returned certificates to those that include the specific domain.
# @option opts [String] :include Include related objects. Optional, comma-separated values. Permitted values: `tls_activations`.
# @option opts [Integer] :page_number Current page.
# @option opts [Integer] :page_size Number of records per page. (default to 20)
@@ -247,9 +249,10 @@
# resource path
local_var_path = '/tls/certificates'
# query parameters
query_params = opts[:query_params] || {}
+ query_params[:'filter[in_use]'] = opts[:'filter_in_use'] if !opts[:'filter_in_use'].nil?
query_params[:'filter[not_after]'] = opts[:'filter_not_after'] if !opts[:'filter_not_after'].nil?
query_params[:'filter[tls_domains.id]'] = opts[:'filter_tls_domains_id'] if !opts[:'filter_tls_domains_id'].nil?
query_params[:'include'] = opts[:'include'] if !opts[:'include'].nil?
query_params[:'page[number]'] = opts[:'page_number'] if !opts[:'page_number'].nil?
query_params[:'page[size]'] = opts[:'page_size'] if !opts[:'page_size'].nil?