fastly 5.3.1 → 6.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +63 -0
- data/Gemfile.lock +1 -1
- data/README.md +85 -63
- data/docs/AclEntry.md +1 -1
- data/docs/AclEntryApi.md +176 -0
- data/docs/AclEntryResponse.md +1 -1
- data/docs/ApexRedirectApi.md +56 -0
- data/docs/{BillingEstimateResponseAllOfLines.md → BillingEstimateLines.md} +2 -2
- data/docs/{BillingEstimateResponseAllOfLine.md → BillingEstimateLinesLineItems.md} +1 -1
- data/docs/BillingEstimateResponse.md +1 -1
- data/docs/{BillingResponseAllOf.md → BillingResponseItemItemsData.md} +1 -1
- data/docs/BillingResponseLineItem.md +1 -1
- data/docs/BillingStatus.md +1 -1
- data/docs/BulkUpdateAclEntry.md +1 -1
- data/docs/ClientKey.md +12 -0
- data/docs/ContactApi.md +50 -0
- data/docs/Content.md +2 -2
- data/docs/ContentApi.md +52 -0
- data/docs/DirectorApi.md +42 -0
- data/docs/DomainInspector.md +12 -0
- data/docs/DomainInspectorEntry.md +11 -0
- data/docs/DomainInspectorEntryDimensions.md +12 -0
- data/docs/DomainInspectorHistoricalApi.md +72 -0
- data/docs/DomainInspectorMeasurements.md +71 -0
- data/docs/DomainInspectorRealtimeApi.md +132 -0
- data/docs/DomainInspectorRealtimeEntry.md +12 -0
- data/docs/EventAttributes.md +1 -1
- data/docs/{EventsResponseAllOf.md → EventData.md} +1 -1
- data/docs/HistoricalDomains.md +13 -0
- data/docs/HistoricalDomainsData.md +11 -0
- data/docs/HistoricalDomainsMeta.md +18 -0
- data/docs/HistoricalDomainsMetaFilters.md +12 -0
- data/docs/HistoricalDomainsResponse.md +13 -0
- data/docs/HistoricalDomainsResponseAllOf.md +10 -0
- data/docs/{HistoricalFieldResultsAttributesAllOf.md → HistoricalFieldResultsAttributesAdditional.md} +1 -1
- data/docs/HistoricalOriginsResponse.md +13 -0
- data/docs/HistoricalOriginsResponseAllOf.md +10 -0
- data/docs/IamRolesApi.md +157 -0
- data/docs/IamServiceGroupsApi.md +157 -0
- data/docs/IamUserGroupsApi.md +315 -0
- data/docs/InlineResponse2005.md +11 -0
- data/docs/InlineResponse2006.md +11 -0
- data/docs/{BillingEstimateResponseAllOf.md → InlineResponse2007.md} +2 -2
- data/docs/InlineResponse400.md +10 -0
- data/docs/LegacyWafConfigurationSet.md +11 -0
- data/docs/LegacyWafConfigurationSetsApi.md +125 -0
- data/docs/LegacyWafFirewall.md +18 -0
- data/docs/LegacyWafFirewallApi.md +352 -0
- data/docs/LegacyWafOwasp.md +38 -0
- data/docs/LegacyWafOwaspApi.md +138 -0
- data/docs/LegacyWafRule.md +14 -0
- data/docs/LegacyWafRuleApi.md +184 -0
- data/docs/LegacyWafRuleStatus.md +12 -0
- data/docs/LegacyWafRuleStatusApi.md +202 -0
- data/docs/LegacyWafRuleset.md +11 -0
- data/docs/LegacyWafRulesetApi.md +136 -0
- data/docs/LegacyWafTag.md +10 -0
- data/docs/LegacyWafTagApi.md +58 -0
- data/docs/LegacyWafUpdateStatus.md +15 -0
- data/docs/LegacyWafUpdateStatusApi.md +102 -0
- data/docs/{BillingResponseLineItemAllOf.md → LineItemData.md} +2 -2
- data/docs/LineItemDataReadOnlyInvoiceId.md +9 -0
- data/docs/LoggingKafkaApi.md +42 -0
- data/docs/LoggingKinesisApi.md +42 -0
- data/docs/OriginInspector.md +12 -0
- data/docs/OriginInspectorDimensions.md +12 -0
- data/docs/OriginInspectorEntry.md +11 -0
- data/docs/OriginInspectorHistorical.md +13 -0
- data/docs/OriginInspectorHistoricalApi.md +72 -0
- data/docs/OriginInspectorHistoricalData.md +11 -0
- data/docs/OriginInspectorHistoricalMeta.md +18 -0
- data/docs/OriginInspectorHistoricalMetaFilters.md +12 -0
- data/docs/OriginInspectorMeasurements.md +161 -0
- data/docs/OriginInspectorRealtimeApi.md +132 -0
- data/docs/OriginInspectorRealtimeEntry.md +12 -0
- data/docs/OriginInspectorRealtimeEntryRecorded.md +9 -0
- data/docs/OriginInspectorSubsequentRequestTimestamp.md +9 -0
- data/docs/OriginInspectorValues.md +161 -0
- data/docs/PaginationCursorMeta.md +11 -0
- data/docs/ReadOnlyServiceId.md +9 -0
- data/docs/ReadOnlyVersion.md +9 -0
- data/docs/RealtimeEntry.md +2 -2
- data/docs/RealtimeEntryAggregated.md +227 -0
- data/docs/RealtimeEntryRecorded.md +9 -0
- data/docs/RealtimeMeasurements.md +1 -1
- data/docs/RecordedTimestamp.md +9 -0
- data/docs/RequestSettingsApi.md +40 -0
- data/docs/ResponseObjectApi.md +82 -0
- data/docs/SchemasUserResponseReadOnly.md +12 -0
- data/docs/Secret.md +12 -0
- data/docs/SecretResponse.md +13 -0
- data/docs/SecretStore.md +10 -0
- data/docs/SecretStoreApi.md +233 -0
- data/docs/SecretStoreItemApi.md +255 -0
- data/docs/SecretStoreResponse.md +12 -0
- data/docs/ServiceAuthorizationsApi.md +76 -0
- data/docs/SigningKey.md +10 -0
- data/docs/SnippetApi.md +42 -0
- data/docs/SubsequentRequestTimestamp.md +9 -0
- data/docs/SudoApi.md +52 -0
- data/docs/SudoGenericTokenError.md +10 -0
- data/docs/SudoRequest.md +12 -0
- data/docs/SudoResponse.md +10 -0
- data/docs/TokensApi.md +70 -0
- data/docs/{UserResponseAllOf.md → UserResponseReadOnly.md} +1 -1
- data/docs/Values.md +71 -0
- data/docs/WafActiveRulesApi.md +41 -0
- data/lib/fastly/api/acl_entry_api.rb +332 -0
- data/lib/fastly/api/apex_redirect_api.rb +111 -0
- data/lib/fastly/api/contact_api.rb +90 -0
- data/lib/fastly/api/content_api.rb +79 -0
- data/lib/fastly/api/director_api.rb +82 -0
- data/lib/fastly/api/domain_inspector_historical_api.rb +125 -0
- data/lib/fastly/api/domain_inspector_realtime_api.rb +223 -0
- data/lib/fastly/api/iam_roles_api.rb +271 -0
- data/lib/fastly/api/iam_service_groups_api.rb +271 -0
- data/lib/fastly/api/iam_user_groups_api.rb +547 -0
- data/lib/fastly/api/legacy_waf_configuration_sets_api.rb +209 -0
- data/lib/fastly/api/legacy_waf_firewall_api.rb +627 -0
- data/lib/fastly/api/legacy_waf_owasp_api.rb +244 -0
- data/lib/fastly/api/legacy_waf_rule_api.rb +307 -0
- data/lib/fastly/api/legacy_waf_rule_status_api.rb +366 -0
- data/lib/fastly/api/legacy_waf_ruleset_api.rb +237 -0
- data/lib/fastly/api/legacy_waf_tag_api.rb +96 -0
- data/lib/fastly/api/legacy_waf_update_status_api.rb +184 -0
- data/lib/fastly/api/logging_kafka_api.rb +82 -0
- data/lib/fastly/api/logging_kinesis_api.rb +82 -0
- data/lib/fastly/api/origin_inspector_historical_api.rb +125 -0
- data/lib/fastly/api/origin_inspector_realtime_api.rb +223 -0
- data/lib/fastly/api/request_settings_api.rb +75 -0
- data/lib/fastly/api/response_object_api.rb +157 -0
- data/lib/fastly/api/secret_store_api.rb +381 -0
- data/lib/fastly/api/secret_store_item_api.rb +437 -0
- data/lib/fastly/api/service_authorizations_api.rb +126 -0
- data/lib/fastly/api/snippet_api.rb +82 -0
- data/lib/fastly/api/sudo_api.rb +83 -0
- data/lib/fastly/api/tokens_api.rb +122 -0
- data/lib/fastly/api/waf_active_rules_api.rb +75 -0
- data/lib/fastly/configuration.rb +504 -0
- data/lib/fastly/models/acl_entry.rb +1 -1
- data/lib/fastly/models/acl_entry_response.rb +1 -1
- data/lib/fastly/models/{billing_response_all_of.rb → billing_estimate_lines.rb} +4 -4
- data/lib/fastly/models/{billing_estimate_response_all_of_line.rb → billing_estimate_lines_line_items.rb} +3 -3
- data/lib/fastly/models/billing_estimate_response.rb +9 -9
- data/lib/fastly/models/billing_response.rb +1 -1
- data/lib/fastly/models/{billing_estimate_response_all_of.rb → billing_response_item_items_data.rb} +11 -11
- data/lib/fastly/models/billing_response_line_item.rb +2 -2
- data/lib/fastly/models/billing_status.rb +2 -0
- data/lib/fastly/models/bulk_update_acl_entry.rb +1 -1
- data/lib/fastly/models/client_key.rb +239 -0
- data/lib/fastly/models/content.rb +8 -4
- data/lib/fastly/models/domain.rb +1 -0
- data/lib/fastly/models/domain_inspector.rb +238 -0
- data/lib/fastly/models/domain_inspector_entry.rb +228 -0
- data/lib/fastly/models/domain_inspector_entry_dimensions.rb +238 -0
- data/lib/fastly/models/domain_inspector_measurements.rb +828 -0
- data/lib/fastly/models/domain_inspector_realtime_entry.rb +241 -0
- data/lib/fastly/models/event_attributes.rb +4 -2
- data/lib/fastly/models/{events_response_all_of.rb → event_data.rb} +3 -3
- data/lib/fastly/models/events_response.rb +1 -1
- data/lib/fastly/models/historical_domains.rb +249 -0
- data/lib/fastly/models/historical_domains_data.rb +228 -0
- data/lib/fastly/models/historical_domains_meta.rb +297 -0
- data/lib/fastly/models/historical_domains_meta_filters.rb +235 -0
- data/lib/fastly/models/historical_domains_response.rb +257 -0
- data/lib/fastly/models/historical_domains_response_all_of.rb +219 -0
- data/lib/fastly/models/historical_field_results_attributes.rb +1 -1
- data/lib/fastly/models/{historical_field_results_attributes_all_of.rb → historical_field_results_attributes_additional.rb} +3 -3
- data/lib/fastly/models/historical_origins_response.rb +257 -0
- data/lib/fastly/models/historical_origins_response_all_of.rb +219 -0
- data/lib/fastly/models/inline_response2005.rb +227 -0
- data/lib/fastly/models/inline_response2006.rb +227 -0
- data/lib/fastly/models/inline_response2007.rb +218 -0
- data/lib/fastly/models/inline_response400.rb +250 -0
- data/lib/fastly/models/legacy_waf_configuration_set.rb +227 -0
- data/lib/fastly/models/legacy_waf_firewall.rb +297 -0
- data/lib/fastly/models/legacy_waf_owasp.rb +527 -0
- data/lib/fastly/models/legacy_waf_rule.rb +257 -0
- data/lib/fastly/models/legacy_waf_rule_status.rb +237 -0
- data/lib/fastly/models/legacy_waf_ruleset.rb +227 -0
- data/lib/fastly/models/{billing_estimate_response_all_of_lines.rb → legacy_waf_tag.rb} +11 -10
- data/lib/fastly/models/legacy_waf_update_status.rb +267 -0
- data/lib/fastly/models/{billing_response_line_item_all_of.rb → line_item_data.rb} +4 -4
- data/lib/fastly/models/line_item_data_read_only_invoice_id.rb +207 -0
- data/lib/fastly/models/origin_inspector.rb +238 -0
- data/lib/fastly/models/origin_inspector_dimensions.rb +238 -0
- data/lib/fastly/models/origin_inspector_entry.rb +228 -0
- data/lib/fastly/models/origin_inspector_historical.rb +249 -0
- data/lib/fastly/models/origin_inspector_historical_data.rb +225 -0
- data/lib/fastly/models/origin_inspector_historical_meta.rb +297 -0
- data/lib/fastly/models/origin_inspector_historical_meta_filters.rb +235 -0
- data/lib/fastly/models/origin_inspector_measurements.rb +1728 -0
- data/lib/fastly/models/origin_inspector_realtime_entry.rb +241 -0
- data/lib/fastly/models/origin_inspector_realtime_entry_recorded.rb +208 -0
- data/lib/fastly/models/origin_inspector_subsequent_request_timestamp.rb +208 -0
- data/lib/fastly/models/origin_inspector_values.rb +1728 -0
- data/lib/fastly/models/pagination_cursor_meta.rb +227 -0
- data/lib/fastly/models/read_only_service_id.rb +207 -0
- data/lib/fastly/models/read_only_version.rb +207 -0
- data/lib/fastly/models/realtime_entry.rb +2 -7
- data/lib/fastly/models/realtime_entry_aggregated.rb +2397 -0
- data/lib/fastly/models/realtime_entry_recorded.rb +208 -0
- data/lib/fastly/models/realtime_measurements.rb +4 -2
- data/lib/fastly/models/recorded_timestamp.rb +208 -0
- data/lib/fastly/models/schemas_user_response.rb +5 -2
- data/lib/fastly/models/schemas_user_response_read_only.rb +235 -0
- data/lib/fastly/models/secret.rb +238 -0
- data/lib/fastly/models/secret_response.rb +249 -0
- data/lib/fastly/models/secret_store.rb +217 -0
- data/lib/fastly/models/secret_store_response.rb +238 -0
- data/lib/fastly/models/signing_key.rb +218 -0
- data/lib/fastly/models/subsequent_request_timestamp.rb +208 -0
- data/lib/fastly/models/sudo_generic_token_error.rb +216 -0
- data/lib/fastly/models/sudo_request.rb +244 -0
- data/lib/fastly/models/sudo_response.rb +217 -0
- data/lib/fastly/models/user.rb +3 -0
- data/lib/fastly/models/user_response.rb +4 -1
- data/lib/fastly/models/{user_response_all_of.rb → user_response_read_only.rb} +3 -3
- data/lib/fastly/models/values.rb +828 -0
- data/lib/fastly/version.rb +1 -1
- data/lib/fastly.rb +79 -8
- data/sig.json +1 -1
- metadata +160 -18
data/docs/IamUserGroupsApi.md
CHANGED
@@ -10,14 +10,176 @@ api_instance = Fastly::IamUserGroupsApi.new
|
|
10
10
|
|
11
11
|
| Method | HTTP request | Description |
|
12
12
|
| ------ | ------------ | ----------- |
|
13
|
+
| [**add_user_group_members**](IamUserGroupsApi.md#add_user_group_members) | **POST** /user-groups/{user_group_id}/members | Add members to a user group |
|
14
|
+
| [**add_user_group_roles**](IamUserGroupsApi.md#add_user_group_roles) | **POST** /user-groups/{user_group_id}/roles | Add roles to a user group |
|
15
|
+
| [**add_user_group_service_groups**](IamUserGroupsApi.md#add_user_group_service_groups) | **POST** /user-groups/{user_group_id}/service-groups | Add service groups to a user group |
|
16
|
+
| [**create_a_user_group**](IamUserGroupsApi.md#create_a_user_group) | **POST** /user-groups | Create a user group |
|
13
17
|
| [**delete_a_user_group**](IamUserGroupsApi.md#delete_a_user_group) | **DELETE** /user-groups/{user_group_id} | Delete a user group |
|
14
18
|
| [**get_a_user_group**](IamUserGroupsApi.md#get_a_user_group) | **GET** /user-groups/{user_group_id} | Get a user group |
|
15
19
|
| [**list_user_group_members**](IamUserGroupsApi.md#list_user_group_members) | **GET** /user-groups/{user_group_id}/members | List members of a user group |
|
16
20
|
| [**list_user_group_roles**](IamUserGroupsApi.md#list_user_group_roles) | **GET** /user-groups/{user_group_id}/roles | List roles in a user group |
|
17
21
|
| [**list_user_group_service_groups**](IamUserGroupsApi.md#list_user_group_service_groups) | **GET** /user-groups/{user_group_id}/service-groups | List service groups in a user group |
|
18
22
|
| [**list_user_groups**](IamUserGroupsApi.md#list_user_groups) | **GET** /user-groups | List user groups |
|
23
|
+
| [**remove_user_group_members**](IamUserGroupsApi.md#remove_user_group_members) | **DELETE** /user-groups/{user_group_id}/members | Remove members of a user group |
|
24
|
+
| [**remove_user_group_roles**](IamUserGroupsApi.md#remove_user_group_roles) | **DELETE** /user-groups/{user_group_id}/roles | Remove roles from a user group |
|
25
|
+
| [**remove_user_group_service_groups**](IamUserGroupsApi.md#remove_user_group_service_groups) | **DELETE** /user-groups/{user_group_id}/service-groups | Remove service groups from a user group |
|
26
|
+
| [**update_a_user_group**](IamUserGroupsApi.md#update_a_user_group) | **PATCH** /user-groups/{user_group_id} | Update a user group |
|
19
27
|
|
20
28
|
|
29
|
+
## `add_user_group_members()`
|
30
|
+
|
31
|
+
```ruby
|
32
|
+
add_user_group_members(opts): Object # Add members to a user group
|
33
|
+
```
|
34
|
+
|
35
|
+
Add members to a user group.
|
36
|
+
|
37
|
+
### Examples
|
38
|
+
|
39
|
+
```ruby
|
40
|
+
api_instance = Fastly::IamUserGroupsApi.new
|
41
|
+
opts = {
|
42
|
+
user_group_id: 'user_group_id_example', # String | Alphanumeric string identifying the user group.
|
43
|
+
request_body: { key: 3.56}, # Hash<String, Object> |
|
44
|
+
}
|
45
|
+
|
46
|
+
begin
|
47
|
+
# Add members to a user group
|
48
|
+
result = api_instance.add_user_group_members(opts)
|
49
|
+
p result
|
50
|
+
rescue Fastly::ApiError => e
|
51
|
+
puts "Error when calling IamUserGroupsApi->add_user_group_members: #{e}"
|
52
|
+
end
|
53
|
+
```
|
54
|
+
|
55
|
+
### Options
|
56
|
+
|
57
|
+
| Name | Type | Description | Notes |
|
58
|
+
| ---- | ---- | ----------- | ----- |
|
59
|
+
| **user_group_id** | **String** | Alphanumeric string identifying the user group. | |
|
60
|
+
| **request_body** | [**Hash<String, Object>**](Object.md) | | [optional] |
|
61
|
+
|
62
|
+
### Return type
|
63
|
+
|
64
|
+
**Object**
|
65
|
+
|
66
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
67
|
+
[[Back to README]](../../README.md)
|
68
|
+
## `add_user_group_roles()`
|
69
|
+
|
70
|
+
```ruby
|
71
|
+
add_user_group_roles(opts): Object # Add roles to a user group
|
72
|
+
```
|
73
|
+
|
74
|
+
Add roles to a user group.
|
75
|
+
|
76
|
+
### Examples
|
77
|
+
|
78
|
+
```ruby
|
79
|
+
api_instance = Fastly::IamUserGroupsApi.new
|
80
|
+
opts = {
|
81
|
+
user_group_id: 'user_group_id_example', # String | Alphanumeric string identifying the user group.
|
82
|
+
request_body: { key: 3.56}, # Hash<String, Object> |
|
83
|
+
}
|
84
|
+
|
85
|
+
begin
|
86
|
+
# Add roles to a user group
|
87
|
+
result = api_instance.add_user_group_roles(opts)
|
88
|
+
p result
|
89
|
+
rescue Fastly::ApiError => e
|
90
|
+
puts "Error when calling IamUserGroupsApi->add_user_group_roles: #{e}"
|
91
|
+
end
|
92
|
+
```
|
93
|
+
|
94
|
+
### Options
|
95
|
+
|
96
|
+
| Name | Type | Description | Notes |
|
97
|
+
| ---- | ---- | ----------- | ----- |
|
98
|
+
| **user_group_id** | **String** | Alphanumeric string identifying the user group. | |
|
99
|
+
| **request_body** | [**Hash<String, Object>**](Object.md) | | [optional] |
|
100
|
+
|
101
|
+
### Return type
|
102
|
+
|
103
|
+
**Object**
|
104
|
+
|
105
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
106
|
+
[[Back to README]](../../README.md)
|
107
|
+
## `add_user_group_service_groups()`
|
108
|
+
|
109
|
+
```ruby
|
110
|
+
add_user_group_service_groups(opts): Object # Add service groups to a user group
|
111
|
+
```
|
112
|
+
|
113
|
+
Add service groups to a user group.
|
114
|
+
|
115
|
+
### Examples
|
116
|
+
|
117
|
+
```ruby
|
118
|
+
api_instance = Fastly::IamUserGroupsApi.new
|
119
|
+
opts = {
|
120
|
+
user_group_id: 'user_group_id_example', # String | Alphanumeric string identifying the user group.
|
121
|
+
request_body: { key: 3.56}, # Hash<String, Object> |
|
122
|
+
}
|
123
|
+
|
124
|
+
begin
|
125
|
+
# Add service groups to a user group
|
126
|
+
result = api_instance.add_user_group_service_groups(opts)
|
127
|
+
p result
|
128
|
+
rescue Fastly::ApiError => e
|
129
|
+
puts "Error when calling IamUserGroupsApi->add_user_group_service_groups: #{e}"
|
130
|
+
end
|
131
|
+
```
|
132
|
+
|
133
|
+
### Options
|
134
|
+
|
135
|
+
| Name | Type | Description | Notes |
|
136
|
+
| ---- | ---- | ----------- | ----- |
|
137
|
+
| **user_group_id** | **String** | Alphanumeric string identifying the user group. | |
|
138
|
+
| **request_body** | [**Hash<String, Object>**](Object.md) | | [optional] |
|
139
|
+
|
140
|
+
### Return type
|
141
|
+
|
142
|
+
**Object**
|
143
|
+
|
144
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
145
|
+
[[Back to README]](../../README.md)
|
146
|
+
## `create_a_user_group()`
|
147
|
+
|
148
|
+
```ruby
|
149
|
+
create_a_user_group(opts): Object # Create a user group
|
150
|
+
```
|
151
|
+
|
152
|
+
Create a user group.
|
153
|
+
|
154
|
+
### Examples
|
155
|
+
|
156
|
+
```ruby
|
157
|
+
api_instance = Fastly::IamUserGroupsApi.new
|
158
|
+
opts = {
|
159
|
+
request_body: { key: 3.56}, # Hash<String, Object> |
|
160
|
+
}
|
161
|
+
|
162
|
+
begin
|
163
|
+
# Create a user group
|
164
|
+
result = api_instance.create_a_user_group(opts)
|
165
|
+
p result
|
166
|
+
rescue Fastly::ApiError => e
|
167
|
+
puts "Error when calling IamUserGroupsApi->create_a_user_group: #{e}"
|
168
|
+
end
|
169
|
+
```
|
170
|
+
|
171
|
+
### Options
|
172
|
+
|
173
|
+
| Name | Type | Description | Notes |
|
174
|
+
| ---- | ---- | ----------- | ----- |
|
175
|
+
| **request_body** | [**Hash<String, Object>**](Object.md) | | [optional] |
|
176
|
+
|
177
|
+
### Return type
|
178
|
+
|
179
|
+
**Object**
|
180
|
+
|
181
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
182
|
+
[[Back to README]](../../README.md)
|
21
183
|
## `delete_a_user_group()`
|
22
184
|
|
23
185
|
```ruby
|
@@ -253,3 +415,156 @@ end
|
|
253
415
|
|
254
416
|
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
255
417
|
[[Back to README]](../../README.md)
|
418
|
+
## `remove_user_group_members()`
|
419
|
+
|
420
|
+
```ruby
|
421
|
+
remove_user_group_members(opts) # Remove members of a user group
|
422
|
+
```
|
423
|
+
|
424
|
+
Remove members of a user group
|
425
|
+
|
426
|
+
### Examples
|
427
|
+
|
428
|
+
```ruby
|
429
|
+
api_instance = Fastly::IamUserGroupsApi.new
|
430
|
+
opts = {
|
431
|
+
user_group_id: 'user_group_id_example', # String | Alphanumeric string identifying the user group.
|
432
|
+
request_body: { key: 3.56}, # Hash<String, Object> |
|
433
|
+
}
|
434
|
+
|
435
|
+
begin
|
436
|
+
# Remove members of a user group
|
437
|
+
api_instance.remove_user_group_members(opts)
|
438
|
+
rescue Fastly::ApiError => e
|
439
|
+
puts "Error when calling IamUserGroupsApi->remove_user_group_members: #{e}"
|
440
|
+
end
|
441
|
+
```
|
442
|
+
|
443
|
+
### Options
|
444
|
+
|
445
|
+
| Name | Type | Description | Notes |
|
446
|
+
| ---- | ---- | ----------- | ----- |
|
447
|
+
| **user_group_id** | **String** | Alphanumeric string identifying the user group. | |
|
448
|
+
| **request_body** | [**Hash<String, Object>**](Object.md) | | [optional] |
|
449
|
+
|
450
|
+
### Return type
|
451
|
+
|
452
|
+
nil (empty response body)
|
453
|
+
|
454
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
455
|
+
[[Back to README]](../../README.md)
|
456
|
+
## `remove_user_group_roles()`
|
457
|
+
|
458
|
+
```ruby
|
459
|
+
remove_user_group_roles(opts) # Remove roles from a user group
|
460
|
+
```
|
461
|
+
|
462
|
+
Remove roles from a user group.
|
463
|
+
|
464
|
+
### Examples
|
465
|
+
|
466
|
+
```ruby
|
467
|
+
api_instance = Fastly::IamUserGroupsApi.new
|
468
|
+
opts = {
|
469
|
+
user_group_id: 'user_group_id_example', # String | Alphanumeric string identifying the user group.
|
470
|
+
request_body: { key: 3.56}, # Hash<String, Object> |
|
471
|
+
}
|
472
|
+
|
473
|
+
begin
|
474
|
+
# Remove roles from a user group
|
475
|
+
api_instance.remove_user_group_roles(opts)
|
476
|
+
rescue Fastly::ApiError => e
|
477
|
+
puts "Error when calling IamUserGroupsApi->remove_user_group_roles: #{e}"
|
478
|
+
end
|
479
|
+
```
|
480
|
+
|
481
|
+
### Options
|
482
|
+
|
483
|
+
| Name | Type | Description | Notes |
|
484
|
+
| ---- | ---- | ----------- | ----- |
|
485
|
+
| **user_group_id** | **String** | Alphanumeric string identifying the user group. | |
|
486
|
+
| **request_body** | [**Hash<String, Object>**](Object.md) | | [optional] |
|
487
|
+
|
488
|
+
### Return type
|
489
|
+
|
490
|
+
nil (empty response body)
|
491
|
+
|
492
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
493
|
+
[[Back to README]](../../README.md)
|
494
|
+
## `remove_user_group_service_groups()`
|
495
|
+
|
496
|
+
```ruby
|
497
|
+
remove_user_group_service_groups(opts) # Remove service groups from a user group
|
498
|
+
```
|
499
|
+
|
500
|
+
Remove service groups from a user group.
|
501
|
+
|
502
|
+
### Examples
|
503
|
+
|
504
|
+
```ruby
|
505
|
+
api_instance = Fastly::IamUserGroupsApi.new
|
506
|
+
opts = {
|
507
|
+
user_group_id: 'user_group_id_example', # String | Alphanumeric string identifying the user group.
|
508
|
+
request_body: { key: 3.56}, # Hash<String, Object> |
|
509
|
+
}
|
510
|
+
|
511
|
+
begin
|
512
|
+
# Remove service groups from a user group
|
513
|
+
api_instance.remove_user_group_service_groups(opts)
|
514
|
+
rescue Fastly::ApiError => e
|
515
|
+
puts "Error when calling IamUserGroupsApi->remove_user_group_service_groups: #{e}"
|
516
|
+
end
|
517
|
+
```
|
518
|
+
|
519
|
+
### Options
|
520
|
+
|
521
|
+
| Name | Type | Description | Notes |
|
522
|
+
| ---- | ---- | ----------- | ----- |
|
523
|
+
| **user_group_id** | **String** | Alphanumeric string identifying the user group. | |
|
524
|
+
| **request_body** | [**Hash<String, Object>**](Object.md) | | [optional] |
|
525
|
+
|
526
|
+
### Return type
|
527
|
+
|
528
|
+
nil (empty response body)
|
529
|
+
|
530
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
531
|
+
[[Back to README]](../../README.md)
|
532
|
+
## `update_a_user_group()`
|
533
|
+
|
534
|
+
```ruby
|
535
|
+
update_a_user_group(opts): Object # Update a user group
|
536
|
+
```
|
537
|
+
|
538
|
+
Update a user group.
|
539
|
+
|
540
|
+
### Examples
|
541
|
+
|
542
|
+
```ruby
|
543
|
+
api_instance = Fastly::IamUserGroupsApi.new
|
544
|
+
opts = {
|
545
|
+
user_group_id: 'user_group_id_example', # String | Alphanumeric string identifying the user group.
|
546
|
+
request_body: { key: 3.56}, # Hash<String, Object> |
|
547
|
+
}
|
548
|
+
|
549
|
+
begin
|
550
|
+
# Update a user group
|
551
|
+
result = api_instance.update_a_user_group(opts)
|
552
|
+
p result
|
553
|
+
rescue Fastly::ApiError => e
|
554
|
+
puts "Error when calling IamUserGroupsApi->update_a_user_group: #{e}"
|
555
|
+
end
|
556
|
+
```
|
557
|
+
|
558
|
+
### Options
|
559
|
+
|
560
|
+
| Name | Type | Description | Notes |
|
561
|
+
| ---- | ---- | ----------- | ----- |
|
562
|
+
| **user_group_id** | **String** | Alphanumeric string identifying the user group. | |
|
563
|
+
| **request_body** | [**Hash<String, Object>**](Object.md) | | [optional] |
|
564
|
+
|
565
|
+
### Return type
|
566
|
+
|
567
|
+
**Object**
|
568
|
+
|
569
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
570
|
+
[[Back to README]](../../README.md)
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Fastly::InlineResponse2005
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **data** | [**Array<SecretStoreResponse>**](SecretStoreResponse.md) | | [optional] |
|
8
|
+
| **meta** | [**PaginationCursorMeta**](PaginationCursorMeta.md) | | [optional] |
|
9
|
+
|
10
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
11
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Fastly::InlineResponse2006
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **data** | [**Array<SecretResponse>**](SecretResponse.md) | | [optional] |
|
8
|
+
| **meta** | [**PaginationCursorMeta**](PaginationCursorMeta.md) | | [optional] |
|
9
|
+
|
10
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
11
|
+
|
@@ -1,10 +1,10 @@
|
|
1
|
-
# Fastly::
|
1
|
+
# Fastly::InlineResponse2007
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **
|
7
|
+
| **data** | [**Array<ServiceAuthorizationResponseData>**](ServiceAuthorizationResponseData.md) | | [optional] |
|
8
8
|
|
9
9
|
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
10
10
|
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# Fastly::InlineResponse400
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **code** | **String** | | [optional] |
|
8
|
+
|
9
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
10
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Fastly::LegacyWafConfigurationSet
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **active** | **Boolean** | The active configuration set is the default configuration set when creating a new WAF. When Fastly adds configuration sets, the new versions become the default (active). | [optional] |
|
8
|
+
| **name** | **String** | The name of the configuration set. | [optional] |
|
9
|
+
|
10
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
11
|
+
|
@@ -0,0 +1,125 @@
|
|
1
|
+
# Fastly::LegacyWafConfigurationSetsApi
|
2
|
+
|
3
|
+
|
4
|
+
```ruby
|
5
|
+
require 'fastly'
|
6
|
+
api_instance = Fastly::LegacyWafConfigurationSetsApi.new
|
7
|
+
```
|
8
|
+
|
9
|
+
## Methods
|
10
|
+
|
11
|
+
| Method | HTTP request | Description |
|
12
|
+
| ------ | ------------ | ----------- |
|
13
|
+
| [**list_waf_config_sets**](LegacyWafConfigurationSetsApi.md#list_waf_config_sets) | **GET** /wafs/configuration_sets | List configuration sets |
|
14
|
+
| [**list_wafs_config_set**](LegacyWafConfigurationSetsApi.md#list_wafs_config_set) | **GET** /wafs/configuration_sets/{configuration_set_id}/relationships/wafs | List WAFs currently using a configuration set |
|
15
|
+
| [**use_waf_config_set**](LegacyWafConfigurationSetsApi.md#use_waf_config_set) | **PATCH** /wafs/configuration_sets/{configuration_set_id}/relationships/wafs | Apply a configuration set to a WAF |
|
16
|
+
|
17
|
+
|
18
|
+
## `list_waf_config_sets()`
|
19
|
+
|
20
|
+
```ruby
|
21
|
+
list_waf_config_sets: Object # List configuration sets
|
22
|
+
```
|
23
|
+
|
24
|
+
List all Configuration sets.
|
25
|
+
|
26
|
+
### Examples
|
27
|
+
|
28
|
+
```ruby
|
29
|
+
api_instance = Fastly::LegacyWafConfigurationSetsApi.new
|
30
|
+
|
31
|
+
begin
|
32
|
+
# List configuration sets
|
33
|
+
result = api_instance.list_waf_config_sets
|
34
|
+
p result
|
35
|
+
rescue Fastly::ApiError => e
|
36
|
+
puts "Error when calling LegacyWafConfigurationSetsApi->list_waf_config_sets: #{e}"
|
37
|
+
end
|
38
|
+
```
|
39
|
+
|
40
|
+
### Options
|
41
|
+
|
42
|
+
This endpoint does not need any parameter.
|
43
|
+
|
44
|
+
### Return type
|
45
|
+
|
46
|
+
**Object**
|
47
|
+
|
48
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
49
|
+
[[Back to README]](../../README.md)
|
50
|
+
## `list_wafs_config_set()`
|
51
|
+
|
52
|
+
```ruby
|
53
|
+
list_wafs_config_set(opts): Object # List WAFs currently using a configuration set
|
54
|
+
```
|
55
|
+
|
56
|
+
List the WAF objects currently using the specified configuration set.
|
57
|
+
|
58
|
+
### Examples
|
59
|
+
|
60
|
+
```ruby
|
61
|
+
api_instance = Fastly::LegacyWafConfigurationSetsApi.new
|
62
|
+
opts = {
|
63
|
+
configuration_set_id: 'configuration_set_id_example', # String | Alphanumeric string identifying a WAF configuration set.
|
64
|
+
}
|
65
|
+
|
66
|
+
begin
|
67
|
+
# List WAFs currently using a configuration set
|
68
|
+
result = api_instance.list_wafs_config_set(opts)
|
69
|
+
p result
|
70
|
+
rescue Fastly::ApiError => e
|
71
|
+
puts "Error when calling LegacyWafConfigurationSetsApi->list_wafs_config_set: #{e}"
|
72
|
+
end
|
73
|
+
```
|
74
|
+
|
75
|
+
### Options
|
76
|
+
|
77
|
+
| Name | Type | Description | Notes |
|
78
|
+
| ---- | ---- | ----------- | ----- |
|
79
|
+
| **configuration_set_id** | **String** | Alphanumeric string identifying a WAF configuration set. | |
|
80
|
+
|
81
|
+
### Return type
|
82
|
+
|
83
|
+
**Object**
|
84
|
+
|
85
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
86
|
+
[[Back to README]](../../README.md)
|
87
|
+
## `use_waf_config_set()`
|
88
|
+
|
89
|
+
```ruby
|
90
|
+
use_waf_config_set(opts): Object # Apply a configuration set to a WAF
|
91
|
+
```
|
92
|
+
|
93
|
+
Update one or more WAF objects to use the specified configuration set.
|
94
|
+
|
95
|
+
### Examples
|
96
|
+
|
97
|
+
```ruby
|
98
|
+
api_instance = Fastly::LegacyWafConfigurationSetsApi.new
|
99
|
+
opts = {
|
100
|
+
configuration_set_id: 'configuration_set_id_example', # String | Alphanumeric string identifying a WAF configuration set.
|
101
|
+
request_body: { key: 3.56}, # Hash<String, Object> |
|
102
|
+
}
|
103
|
+
|
104
|
+
begin
|
105
|
+
# Apply a configuration set to a WAF
|
106
|
+
result = api_instance.use_waf_config_set(opts)
|
107
|
+
p result
|
108
|
+
rescue Fastly::ApiError => e
|
109
|
+
puts "Error when calling LegacyWafConfigurationSetsApi->use_waf_config_set: #{e}"
|
110
|
+
end
|
111
|
+
```
|
112
|
+
|
113
|
+
### Options
|
114
|
+
|
115
|
+
| Name | Type | Description | Notes |
|
116
|
+
| ---- | ---- | ----------- | ----- |
|
117
|
+
| **configuration_set_id** | **String** | Alphanumeric string identifying a WAF configuration set. | |
|
118
|
+
| **request_body** | [**Hash<String, Object>**](Object.md) | | [optional] |
|
119
|
+
|
120
|
+
### Return type
|
121
|
+
|
122
|
+
**Object**
|
123
|
+
|
124
|
+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
125
|
+
[[Back to README]](../../README.md)
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# Fastly::LegacyWafFirewall
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **last_push** | **String** | Date and time that VCL was last pushed to cache nodes. | [optional] |
|
8
|
+
| **prefetch_condition** | **String** | Name of the corresponding condition object. | [optional] |
|
9
|
+
| **response** | **String** | Name of the corresponding response object. | [optional] |
|
10
|
+
| **version** | [**ReadOnlyVersion**](ReadOnlyVersion.md) | | [optional] |
|
11
|
+
| **service_id** | [**ReadOnlyServiceId**](ReadOnlyServiceId.md) | | [optional] |
|
12
|
+
| **disabled** | **Boolean** | The status of the firewall. | [optional][default to false] |
|
13
|
+
| **rule_statuses_log_count** | **Integer** | The number of rule statuses set to log. | [optional] |
|
14
|
+
| **rule_statuses_block_count** | **Integer** | The number of rule statuses set to block. | [optional] |
|
15
|
+
| **rule_statuses_disabled_count** | **Integer** | The number of rule statuses set to disabled. | [optional] |
|
16
|
+
|
17
|
+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
18
|
+
|