Skip to content

Latest commit

 

History

History
122 lines (76 loc) · 3.37 KB

TlsConfigurationsApi.md

File metadata and controls

122 lines (76 loc) · 3.37 KB

TlsConfigurationsApi

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

get_tls_config

Show a TLS configuration.

let cfg = &Configuration::default();
let params = GetTlsConfigParams {
    // parameters
};
get_tls_config(cfg, params)

Parameters

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.

Return type

crate::models::TlsConfigurationResponse

Authorization

token

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/vnd.api+json

[Back to top] [Back to API list] [Back to README]

list_tls_configs

List all TLS configurations.

let cfg = &Configuration::default();
let params = ListTlsConfigsParams {
    // parameters
};
list_tls_configs(cfg, params)

Parameters

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]

Return type

crate::models::TlsConfigurationsResponse

Authorization

token

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/vnd.api+json

[Back to top] [Back to API list] [Back to README]

update_tls_config

Update a TLS configuration.

let cfg = &Configuration::default();
let params = UpdateTlsConfigParams {
    // parameters
};
update_tls_config(cfg, params)

Parameters

Name Type Description Required Notes
tls_configuration_id String Alphanumeric string identifying a TLS configuration. [required]
tls_configuration Option<TlsConfiguration>

Return type

crate::models::TlsConfigurationResponse

Authorization

token

HTTP request headers

  • Content-Type: application/vnd.api+json
  • Accept: application/vnd.api+json

[Back to top] [Back to API list] [Back to README]