Note
All URIs are relative to https://api.fastly.com
Method | HTTP request | Description |
---|---|---|
get_tls_config | GET /tls/configurations/{tls_configuration_id} | Get a TLS configuration |
list_tls_configs | GET /tls/configurations | List TLS configurations |
update_tls_config | PATCH /tls/configurations/{tls_configuration_id} | Update a TLS configuration |
Show a TLS configuration.
let cfg = &Configuration::default();
let params = GetTlsConfigParams {
// parameters
};
get_tls_config(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
tls_configuration_id | String | Alphanumeric string identifying a TLS configuration. | [required] | |
include | Option<String> | Include related objects. Optional, comma-separated values. Permitted values: dns_records . |
crate::models::TlsConfigurationResponse
- Content-Type: Not defined
- Accept: application/vnd.api+json
[Back to top] [Back to API list] [Back to README]
List all TLS configurations.
let cfg = &Configuration::default();
let params = ListTlsConfigsParams {
// parameters
};
list_tls_configs(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
filter_bulk | Option<String> | Optionally filters by the bulk attribute. | ||
include | Option<String> | Include related objects. Optional, comma-separated values. Permitted values: dns_records . |
||
page_number | Option<i32> | Current page. | ||
page_size | Option<i32> | Number of records per page. | [default to 20] |
crate::models::TlsConfigurationsResponse
- Content-Type: Not defined
- Accept: application/vnd.api+json
[Back to top] [Back to API list] [Back to README]
Update a TLS configuration.
let cfg = &Configuration::default();
let params = UpdateTlsConfigParams {
// parameters
};
update_tls_config(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
tls_configuration_id | String | Alphanumeric string identifying a TLS configuration. | [required] | |
tls_configuration | Option<TlsConfiguration> |
crate::models::TlsConfigurationResponse
- Content-Type: application/vnd.api+json
- Accept: application/vnd.api+json