Note
All URIs are relative to https://api.fastly.com
Method | HTTP request | Description |
---|---|---|
compute_acl_create_acls | POST /resources/acls | Create a new ACL |
compute_acl_delete_s_acl_id | DELETE /resources/acls/{acl_id} | Delete an ACL |
compute_acl_list_acl_entries | GET /resources/acls/{acl_id}/entries | List an ACL |
compute_acl_list_acls | GET /resources/acls | List ACLs |
compute_acl_list_acls_s_acl_id | GET /resources/acls/{acl_id} | Describe an ACL |
compute_acl_lookup_acls | GET /resources/acls/{acl_id}/entry/{acl_ip} | Lookup an ACL |
compute_acl_update_acls | PATCH /resources/acls/{acl_id}/entries | Update an ACL |
Create a new ACL.
let cfg = &Configuration::default();
let params = ComputeAclCreateAclsParams {
// parameters
};
compute_acl_create_acls(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
compute_acl_create_acls_request | Option<ComputeAclCreateAclsRequest> |
crate::models::ComputeAclCreateAclsResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to README]
Delete an ACL.
let cfg = &Configuration::default();
let params = ComputeAclDeleteSAclIdParams {
// parameters
};
compute_acl_delete_s_acl_id(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
acl_id | String | [required] |
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to README]
List an ACL.
let cfg = &Configuration::default();
let params = ComputeAclListAclEntriesParams {
// parameters
};
compute_acl_list_acl_entries(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
acl_id | String | [required] | ||
cursor | Option<String> | |||
limit | Option<i32> | [default to 100] |
crate::models::ComputeAclListEntries
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to README]
List all ACLs.
let cfg = &Configuration::default();
let params = ComputeAclListAclsParams {
// parameters
};
compute_acl_list_acls(cfg, params)
This endpoint does not need any parameter.
Vec<crate::models::ComputeAclCreateAclsResponse>
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to README]
Describe an ACL.
let cfg = &Configuration::default();
let params = ComputeAclListAclsSAclIdParams {
// parameters
};
compute_acl_list_acls_s_acl_id(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
acl_id | String | [required] |
crate::models::ComputeAclCreateAclsResponse
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to README]
Find a matching ACL entry for an IP address.
let cfg = &Configuration::default();
let params = ComputeAclLookupAclsParams {
// parameters
};
compute_acl_lookup_acls(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
acl_id | String | [required] | ||
acl_ip | String | [required] |
crate::models::ComputeAclLookup
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to README]
Update an ACL.
let cfg = &Configuration::default();
let params = ComputeAclUpdateAclsParams {
// parameters
};
compute_acl_update_acls(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
acl_id | String | [required] | ||
compute_acl_update_entry | Option<Vec<crate::models::ComputeAclUpdateEntry>> |
(empty response body)
- Content-Type: application/json
- Accept: Not defined