Note
All URIs are relative to https://api.fastly.com
Method | HTTP request | Description |
---|---|---|
create_config_store | POST /resources/stores/config | Create a config store |
delete_config_store | DELETE /resources/stores/config/{config_store_id} | Delete a config store |
get_config_store | GET /resources/stores/config/{config_store_id} | Describe a config store |
get_config_store_info | GET /resources/stores/config/{config_store_id}/info | Get config store metadata |
list_config_store_services | GET /resources/stores/config/{config_store_id}/services | List linked services |
list_config_stores | GET /resources/stores/config | List config stores |
update_config_store | PUT /resources/stores/config/{config_store_id} | Update a config store |
Create a config store.
let cfg = &Configuration::default();
let params = CreateConfigStoreParams {
// parameters
};
create_config_store(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
name | Option<String> | The name of the config store. |
crate::models::ConfigStoreResponse
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to README]
Delete a config store.
let cfg = &Configuration::default();
let params = DeleteConfigStoreParams {
// parameters
};
delete_config_store(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
config_store_id | String | An alphanumeric string identifying the config store. | [required] |
crate::models::InlineResponse200
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to README]
Describe a config store by its identifier.
let cfg = &Configuration::default();
let params = GetConfigStoreParams {
// parameters
};
get_config_store(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
config_store_id | String | An alphanumeric string identifying the config store. | [required] |
crate::models::ConfigStoreResponse
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to README]
Retrieve metadata for a single config store.
let cfg = &Configuration::default();
let params = GetConfigStoreInfoParams {
// parameters
};
get_config_store_info(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
config_store_id | String | An alphanumeric string identifying the config store. | [required] |
crate::models::ConfigStoreInfoResponse
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to README]
List services linked to a config store
let cfg = &Configuration::default();
let params = ListConfigStoreServicesParams {
// parameters
};
list_config_store_services(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
config_store_id | String | An alphanumeric string identifying the config store. | [required] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to README]
List config stores.
let cfg = &Configuration::default();
let params = ListConfigStoresParams {
// parameters
};
list_config_stores(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
name | Option<String> | Returns a one-element array containing the details for the named config store. |
Vec<crate::models::ConfigStoreResponse>
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to README]
Update a config store.
let cfg = &Configuration::default();
let params = UpdateConfigStoreParams {
// parameters
};
update_config_store(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
config_store_id | String | An alphanumeric string identifying the config store. | [required] | |
name | Option<String> | The name of the config store. |
crate::models::ConfigStoreResponse
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json