Note
All URIs are relative to https://api.fastly.com
Method | HTTP request | Description |
---|---|---|
create_tls_activation | POST /tls/activations | Enable TLS for a domain using a custom certificate |
delete_tls_activation | DELETE /tls/activations/{tls_activation_id} | Disable TLS on a domain |
get_tls_activation | GET /tls/activations/{tls_activation_id} | Get a TLS activation |
list_tls_activations | GET /tls/activations | List TLS activations |
update_tls_activation | PATCH /tls/activations/{tls_activation_id} | Update a certificate |
Enable TLS for a particular TLS domain and certificate combination. These relationships must be specified to create the TLS activation.
let cfg = &Configuration::default();
let params = CreateTlsActivationParams {
// parameters
};
create_tls_activation(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
tls_activation | Option<TlsActivation> |
crate::models::TlsActivationResponse
- Content-Type: application/vnd.api+json
- Accept: application/vnd.api+json
[Back to top] [Back to API list] [Back to README]
Disable TLS on the domain associated with this TLS activation.
let cfg = &Configuration::default();
let params = DeleteTlsActivationParams {
// parameters
};
delete_tls_activation(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
tls_activation_id | String | Alphanumeric string identifying a TLS activation. | [required] |
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to README]
Show a TLS activation.
let cfg = &Configuration::default();
let params = GetTlsActivationParams {
// parameters
};
get_tls_activation(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
tls_activation_id | String | Alphanumeric string identifying a TLS activation. | [required] | |
include | Option<String> | Include related objects. Optional, comma-separated values. Permitted values: tls_certificate , tls_configuration , and tls_domain . |
crate::models::TlsActivationResponse
- Content-Type: Not defined
- Accept: application/vnd.api+json
[Back to top] [Back to API list] [Back to README]
List all TLS activations.
let cfg = &Configuration::default();
let params = ListTlsActivationsParams {
// parameters
};
list_tls_activations(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
filter_tls_certificate_id | Option<String> | Limit the returned activations to a specific certificate. | ||
filter_tls_configuration_id | Option<String> | Limit the returned activations to a specific TLS configuration. | ||
filter_tls_domain_id | Option<String> | Limit the returned rules to a specific domain name. | ||
include | Option<String> | Include related objects. Optional, comma-separated values. Permitted values: tls_certificate , tls_configuration , and tls_domain . |
||
page_number | Option<i32> | Current page. | ||
page_size | Option<i32> | Number of records per page. | [default to 20] |
crate::models::TlsActivationsResponse
- Content-Type: Not defined
- Accept: application/vnd.api+json
[Back to top] [Back to API list] [Back to README]
Update the certificate used to terminate TLS traffic for the domain associated with this TLS activation.
let cfg = &Configuration::default();
let params = UpdateTlsActivationParams {
// parameters
};
update_tls_activation(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
tls_activation_id | String | Alphanumeric string identifying a TLS activation. | [required] | |
tls_activation | Option<TlsActivation> |
crate::models::TlsActivationResponse
- Content-Type: application/vnd.api+json
- Accept: application/vnd.api+json