diff --git a/services/cdn/oas_commit b/services/cdn/oas_commit index 6ffe07488..e75d2f952 100644 --- a/services/cdn/oas_commit +++ b/services/cdn/oas_commit @@ -1 +1 @@ -f133408fd6686f12ba34f400ba631124b063f5cc +72d47a2198185c6d4f2147bcec2314e27db74935 diff --git a/services/cdn/v1betaapi/api_default.go b/services/cdn/v1betaapi/api_default.go index eff9a023b..95387c2c9 100644 --- a/services/cdn/v1betaapi/api_default.go +++ b/services/cdn/v1betaapi/api_default.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ @@ -32,11 +32,14 @@ type DefaultAPI interface { @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Your STACKIT Project ID @return ApiCreateDistributionRequest + + Deprecated */ CreateDistribution(ctx context.Context, projectId string) ApiCreateDistributionRequest // CreateDistributionExecute executes the request // @return CreateDistributionResponse + // Deprecated CreateDistributionExecute(r ApiCreateDistributionRequest) (*CreateDistributionResponse, error) /* @@ -50,11 +53,14 @@ type DefaultAPI interface { @param distributionId @param domain @return ApiDeleteCustomDomainRequest + + Deprecated */ DeleteCustomDomain(ctx context.Context, projectId string, distributionId string, domain string) ApiDeleteCustomDomainRequest // DeleteCustomDomainExecute executes the request // @return DeleteCustomDomainResponse + // Deprecated DeleteCustomDomainExecute(r ApiDeleteCustomDomainRequest) (*DeleteCustomDomainResponse, error) /* @@ -67,11 +73,14 @@ type DefaultAPI interface { @param projectId Your STACKIT Project ID @param distributionId @return ApiDeleteDistributionRequest + + Deprecated */ DeleteDistribution(ctx context.Context, projectId string, distributionId string) ApiDeleteDistributionRequest // DeleteDistributionExecute executes the request // @return DeleteDistributionResponse + // Deprecated DeleteDistributionExecute(r ApiDeleteDistributionRequest) (*DeleteDistributionResponse, error) /* @@ -97,11 +106,14 @@ type DefaultAPI interface { @param projectId Your STACKIT Project ID @param distributionId @return ApiFindCachePathsRequest + + Deprecated */ FindCachePaths(ctx context.Context, projectId string, distributionId string) ApiFindCachePathsRequest // FindCachePathsExecute executes the request // @return FindCachePathsResponse + // Deprecated FindCachePathsExecute(r ApiFindCachePathsRequest) (*FindCachePathsResponse, error) /* @@ -117,11 +129,14 @@ type DefaultAPI interface { @param projectId Your STACKIT Project ID @param distributionId @return ApiGetCacheInfoRequest + + Deprecated */ GetCacheInfo(ctx context.Context, projectId string, distributionId string) ApiGetCacheInfoRequest // GetCacheInfoExecute executes the request // @return GetCacheInfoResponse + // Deprecated GetCacheInfoExecute(r ApiGetCacheInfoRequest) (*GetCacheInfoResponse, error) /* @@ -135,11 +150,14 @@ type DefaultAPI interface { @param distributionId @param domain @return ApiGetCustomDomainRequest + + Deprecated */ GetCustomDomain(ctx context.Context, projectId string, distributionId string, domain string) ApiGetCustomDomainRequest // GetCustomDomainExecute executes the request // @return GetCustomDomainResponse + // Deprecated GetCustomDomainExecute(r ApiGetCustomDomainRequest) (*GetCustomDomainResponse, error) /* @@ -151,11 +169,14 @@ type DefaultAPI interface { @param projectId Your STACKIT Project ID @param distributionId @return ApiGetDistributionRequest + + Deprecated */ GetDistribution(ctx context.Context, projectId string, distributionId string) ApiGetDistributionRequest // GetDistributionExecute executes the request // @return GetDistributionResponse + // Deprecated GetDistributionExecute(r ApiGetDistributionRequest) (*GetDistributionResponse, error) /* @@ -165,11 +186,14 @@ type DefaultAPI interface { @param projectId Your STACKIT Project ID @param distributionId Your CDN distribution ID @return ApiGetLogsRequest + + Deprecated */ GetLogs(ctx context.Context, projectId string, distributionId string) ApiGetLogsRequest // GetLogsExecute executes the request // @return GetLogsResponse + // Deprecated GetLogsExecute(r ApiGetLogsRequest) (*GetLogsResponse, error) /* @@ -179,11 +203,14 @@ type DefaultAPI interface { @param projectId Your STACKIT Project ID @param distributionId Your CDN distribution ID @return ApiGetLogsSearchFiltersRequest + + Deprecated */ GetLogsSearchFilters(ctx context.Context, projectId string, distributionId string) ApiGetLogsSearchFiltersRequest // GetLogsSearchFiltersExecute executes the request // @return GetLogsSearchFiltersResponse + // Deprecated GetLogsSearchFiltersExecute(r ApiGetLogsSearchFiltersRequest) (*GetLogsSearchFiltersResponse, error) /* @@ -206,11 +233,14 @@ type DefaultAPI interface { @param projectId Your STACKIT Project ID @param distributionId @return ApiGetStatisticsRequest + + Deprecated */ GetStatistics(ctx context.Context, projectId string, distributionId string) ApiGetStatisticsRequest // GetStatisticsExecute executes the request // @return GetStatisticsResponse + // Deprecated GetStatisticsExecute(r ApiGetStatisticsRequest) (*GetStatisticsResponse, error) /* @@ -223,11 +253,14 @@ type DefaultAPI interface { @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Your STACKIT Project ID @return ApiListDistributionsRequest + + Deprecated */ ListDistributions(ctx context.Context, projectId string) ApiListDistributionsRequest // ListDistributionsExecute executes the request // @return ListDistributionsResponse + // Deprecated ListDistributionsExecute(r ApiListDistributionsRequest) (*ListDistributionsResponse, error) /* @@ -238,11 +271,14 @@ type DefaultAPI interface { @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Your STACKIT Project ID @return ApiListWAFCollectionsRequest + + Deprecated */ ListWAFCollections(ctx context.Context, projectId string) ApiListWAFCollectionsRequest // ListWAFCollectionsExecute executes the request // @return ListWAFCollectionsResponse + // Deprecated ListWAFCollectionsExecute(r ApiListWAFCollectionsRequest) (*ListWAFCollectionsResponse, error) /* @@ -254,11 +290,14 @@ type DefaultAPI interface { @param projectId Your STACKIT Project ID @param distributionId @return ApiPatchDistributionRequest + + Deprecated */ PatchDistribution(ctx context.Context, projectId string, distributionId string) ApiPatchDistributionRequest // PatchDistributionExecute executes the request // @return PatchDistributionResponse + // Deprecated PatchDistributionExecute(r ApiPatchDistributionRequest) (*PatchDistributionResponse, error) /* @@ -272,11 +311,14 @@ type DefaultAPI interface { @param projectId Your STACKIT Project ID @param distributionId @return ApiPurgeCacheRequest + + Deprecated */ PurgeCache(ctx context.Context, projectId string, distributionId string) ApiPurgeCacheRequest // PurgeCacheExecute executes the request // @return map[string]interface{} + // Deprecated PurgeCacheExecute(r ApiPurgeCacheRequest) (map[string]interface{}, error) /* @@ -290,11 +332,14 @@ type DefaultAPI interface { @param distributionId @param domain @return ApiPutCustomDomainRequest + + Deprecated */ PutCustomDomain(ctx context.Context, projectId string, distributionId string, domain string) ApiPutCustomDomainRequest // PutCustomDomainExecute executes the request // @return PutCustomDomainResponse + // Deprecated PutCustomDomainExecute(r ApiPutCustomDomainRequest) (*PutCustomDomainResponse, error) } @@ -325,6 +370,8 @@ CreateDistribution will create a new CDN distribution @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Your STACKIT Project ID @return ApiCreateDistributionRequest + +Deprecated */ func (a *DefaultAPIService) CreateDistribution(ctx context.Context, projectId string) ApiCreateDistributionRequest { return ApiCreateDistributionRequest{ @@ -337,6 +384,8 @@ func (a *DefaultAPIService) CreateDistribution(ctx context.Context, projectId st // Execute executes the request // // @return CreateDistributionResponse +// +// Deprecated func (a *DefaultAPIService) CreateDistributionExecute(r ApiCreateDistributionRequest) (*CreateDistributionResponse, error) { var ( localVarHTTPMethod = http.MethodPost @@ -512,6 +561,8 @@ DeleteCustomDomain Delete a custom domain @param distributionId @param domain @return ApiDeleteCustomDomainRequest + +Deprecated */ func (a *DefaultAPIService) DeleteCustomDomain(ctx context.Context, projectId string, distributionId string, domain string) ApiDeleteCustomDomainRequest { return ApiDeleteCustomDomainRequest{ @@ -526,6 +577,8 @@ func (a *DefaultAPIService) DeleteCustomDomain(ctx context.Context, projectId st // Execute executes the request // // @return DeleteCustomDomainResponse +// +// Deprecated func (a *DefaultAPIService) DeleteCustomDomainExecute(r ApiDeleteCustomDomainRequest) (*DeleteCustomDomainResponse, error) { var ( localVarHTTPMethod = http.MethodDelete @@ -672,7 +725,7 @@ type ApiDeleteDistributionRequest struct { intentId *string } -// While optional, it is greatly encouraged to provide an `intentId`. This is used to deduplicate requests. If multiple DELETE-Requests with the same `intentId` are received, all but the first request are dropped. +// While optional, it is greatly encouraged to provide an `intentId`. This is used to deduplicate requests. If multiple DELETE-Requests with the same `intentId` are received, all but the first request are dropped. func (r ApiDeleteDistributionRequest) IntentId(intentId string) ApiDeleteDistributionRequest { r.intentId = &intentId return r @@ -691,6 +744,8 @@ DeleteDistribution accepts a project- and distribution-ID and will delete a dist @param projectId Your STACKIT Project ID @param distributionId @return ApiDeleteDistributionRequest + +Deprecated */ func (a *DefaultAPIService) DeleteDistribution(ctx context.Context, projectId string, distributionId string) ApiDeleteDistributionRequest { return ApiDeleteDistributionRequest{ @@ -704,6 +759,8 @@ func (a *DefaultAPIService) DeleteDistribution(ctx context.Context, projectId st // Execute executes the request // // @return DeleteDistributionResponse +// +// Deprecated func (a *DefaultAPIService) DeleteDistributionExecute(r ApiDeleteDistributionRequest) (*DeleteDistributionResponse, error) { var ( localVarHTTPMethod = http.MethodDelete @@ -878,6 +935,8 @@ this would return the following paths, in the following order, assuming `/te` wa @param projectId Your STACKIT Project ID @param distributionId @return ApiFindCachePathsRequest + +Deprecated */ func (a *DefaultAPIService) FindCachePaths(ctx context.Context, projectId string, distributionId string) ApiFindCachePathsRequest { return ApiFindCachePathsRequest{ @@ -891,6 +950,8 @@ func (a *DefaultAPIService) FindCachePaths(ctx context.Context, projectId string // Execute executes the request // // @return FindCachePathsResponse +// +// Deprecated func (a *DefaultAPIService) FindCachePathsExecute(r ApiFindCachePathsRequest) (*FindCachePathsResponse, error) { var ( localVarHTTPMethod = http.MethodGet @@ -1055,6 +1116,8 @@ The request will not fail if no data about a path is found. @param projectId Your STACKIT Project ID @param distributionId @return ApiGetCacheInfoRequest + +Deprecated */ func (a *DefaultAPIService) GetCacheInfo(ctx context.Context, projectId string, distributionId string) ApiGetCacheInfoRequest { return ApiGetCacheInfoRequest{ @@ -1068,6 +1131,8 @@ func (a *DefaultAPIService) GetCacheInfo(ctx context.Context, projectId string, // Execute executes the request // // @return GetCacheInfoResponse +// +// Deprecated func (a *DefaultAPIService) GetCacheInfoExecute(r ApiGetCacheInfoRequest) (*GetCacheInfoResponse, error) { var ( localVarHTTPMethod = http.MethodGet @@ -1224,6 +1289,8 @@ GetCustomDomain Retrieve a specific custom domain @param distributionId @param domain @return ApiGetCustomDomainRequest + +Deprecated */ func (a *DefaultAPIService) GetCustomDomain(ctx context.Context, projectId string, distributionId string, domain string) ApiGetCustomDomainRequest { return ApiGetCustomDomainRequest{ @@ -1238,6 +1305,8 @@ func (a *DefaultAPIService) GetCustomDomain(ctx context.Context, projectId strin // Execute executes the request // // @return GetCustomDomainResponse +// +// Deprecated func (a *DefaultAPIService) GetCustomDomainExecute(r ApiGetCustomDomainRequest) (*GetCustomDomainResponse, error) { var ( localVarHTTPMethod = http.MethodGet @@ -1412,6 +1481,8 @@ This returns a specific distribution by its ID. If no distribution with the give @param projectId Your STACKIT Project ID @param distributionId @return ApiGetDistributionRequest + +Deprecated */ func (a *DefaultAPIService) GetDistribution(ctx context.Context, projectId string, distributionId string) ApiGetDistributionRequest { return ApiGetDistributionRequest{ @@ -1425,6 +1496,8 @@ func (a *DefaultAPIService) GetDistribution(ctx context.Context, projectId strin // Execute executes the request // // @return GetDistributionResponse +// +// Deprecated func (a *DefaultAPIService) GetDistributionExecute(r ApiGetDistributionRequest) (*GetDistributionResponse, error) { var ( localVarHTTPMethod = http.MethodGet @@ -1599,25 +1672,25 @@ func (r ApiGetLogsRequest) From(from time.Time) ApiGetLogsRequest { return r } -// the end of the time range for which logs should be returned. If not specified, \"now\" is used. +// the end of the time range for which logs should be returned. If not specified, \"now\" is used. func (r ApiGetLogsRequest) To(to time.Time) ApiGetLogsRequest { r.to = &to return r } -// If this is set then only log entries with the chosen WAF rule action/outcome are returned. Specifically, if `ALLOWED` then all requests with no violation are returned. If `BLOCKED` then those where a WAF rule blocked a request and if `LOGGED` then only those requests where the WAF violation was only logged but the request not blocked +// If this is set then only log entries with the chosen WAF rule action/outcome are returned. Specifically, if `ALLOWED` then all requests with no violation are returned. If `BLOCKED` then those where a WAF rule blocked a request and if `LOGGED` then only those requests where the WAF violation was only logged but the request not blocked func (r ApiGetLogsRequest) WafAction(wafAction WAFRuleAction) ApiGetLogsRequest { r.wafAction = &wafAction return r } -// Quantifies how many log entries should be returned on this page. Must be a natural number between 1 and 1000 (inclusive) +// Quantifies how many log entries should be returned on this page. Must be a natural number between 1 and 1000 (inclusive) func (r ApiGetLogsRequest) PageSize(pageSize int32) ApiGetLogsRequest { r.pageSize = &pageSize return r } -// Identifier is returned by the previous response and is used to request the next page. As the `pageIdentifier` encodes an element, inserts during pagination will *not* shift the result. So a scenario like: - Start listing first page - Insert new element - Start listing second page will *never* result in an element from the first page to get \"pushed\" to the second page, like it could occur with basic limit + offset pagination. The identifier should be treated as an opaque string and never modified. Only pass values returned by the API. +// Identifier is returned by the previous response and is used to request the next page. As the `pageIdentifier` encodes an element, inserts during pagination will *not* shift the result. So a scenario like: - Start listing first page - Insert new element - Start listing second page will *never* result in an element from the first page to get \"pushed\" to the second page, like it could occur with basic limit + offset pagination. The identifier should be treated as an opaque string and never modified. Only pass values returned by the API. func (r ApiGetLogsRequest) PageIdentifier(pageIdentifier string) ApiGetLogsRequest { r.pageIdentifier = &pageIdentifier return r @@ -1669,6 +1742,8 @@ GetLogs Retrieve distribution logs @param projectId Your STACKIT Project ID @param distributionId Your CDN distribution ID @return ApiGetLogsRequest + +Deprecated */ func (a *DefaultAPIService) GetLogs(ctx context.Context, projectId string, distributionId string) ApiGetLogsRequest { return ApiGetLogsRequest{ @@ -1682,6 +1757,8 @@ func (a *DefaultAPIService) GetLogs(ctx context.Context, projectId string, distr // Execute executes the request // // @return GetLogsResponse +// +// Deprecated func (a *DefaultAPIService) GetLogsExecute(r ApiGetLogsRequest) (*GetLogsResponse, error) { var ( localVarHTTPMethod = http.MethodGet @@ -1879,6 +1956,8 @@ GetLogsSearchFilters Get relevant search filters for this distribution based on @param projectId Your STACKIT Project ID @param distributionId Your CDN distribution ID @return ApiGetLogsSearchFiltersRequest + +Deprecated */ func (a *DefaultAPIService) GetLogsSearchFilters(ctx context.Context, projectId string, distributionId string) ApiGetLogsSearchFiltersRequest { return ApiGetLogsSearchFiltersRequest{ @@ -1892,6 +1971,8 @@ func (a *DefaultAPIService) GetLogsSearchFilters(ctx context.Context, projectId // Execute executes the request // // @return GetLogsSearchFiltersResponse +// +// Deprecated func (a *DefaultAPIService) GetLogsSearchFiltersExecute(r ApiGetLogsSearchFiltersRequest) (*GetLogsSearchFiltersResponse, error) { var ( localVarHTTPMethod = http.MethodGet @@ -2055,13 +2136,13 @@ func (r ApiGetStatisticsRequest) From(from time.Time) ApiGetStatisticsRequest { return r } -// the end of the time range for which statistics should be returned. If not specified, the end of the current time interval is used, e.g. next day for daily, next month for monthly, and so on. +// the end of the time range for which statistics should be returned. If not specified, the end of the current time interval is used, e.g. next day for daily, next month for monthly, and so on. func (r ApiGetStatisticsRequest) To(to time.Time) ApiGetStatisticsRequest { r.to = &to return r } -// Over which interval should statistics be aggregated? defaults to hourly resolution **NOTE**: Intervals are grouped in buckets that start and end based on a day in UTC+0 time. So for the `daily` interval, the group starts (inclusive) and ends (exclusive) at `00:00Z` +// Over which interval should statistics be aggregated? defaults to hourly resolution **NOTE**: Intervals are grouped in buckets that start and end based on a day in UTC+0 time. So for the `daily` interval, the group starts (inclusive) and ends (exclusive) at `00:00Z` func (r ApiGetStatisticsRequest) Interval(interval string) ApiGetStatisticsRequest { r.interval = &interval return r @@ -2090,6 +2171,8 @@ Example: if `interval` is `hourly`, `from` would default to the start of the nex @param projectId Your STACKIT Project ID @param distributionId @return ApiGetStatisticsRequest + +Deprecated */ func (a *DefaultAPIService) GetStatistics(ctx context.Context, projectId string, distributionId string) ApiGetStatisticsRequest { return ApiGetStatisticsRequest{ @@ -2103,6 +2186,8 @@ func (a *DefaultAPIService) GetStatistics(ctx context.Context, projectId string, // Execute executes the request // // @return GetStatisticsResponse +// +// Deprecated func (a *DefaultAPIService) GetStatisticsExecute(r ApiGetStatisticsRequest) (*GetStatisticsResponse, error) { var ( localVarHTTPMethod = http.MethodGet @@ -2255,7 +2340,7 @@ type ApiListDistributionsRequest struct { sortOrder *string } -// Quantifies how many distributions should be returned on this page. Must be a natural number between 1 and 100 (inclusive) +// Quantifies how many distributions should be returned on this page. Must be a natural number between 1 and 100 (inclusive) func (r ApiListDistributionsRequest) PageSize(pageSize int32) ApiListDistributionsRequest { r.pageSize = &pageSize return r @@ -2267,13 +2352,13 @@ func (r ApiListDistributionsRequest) WithWafStatus(withWafStatus bool) ApiListDi return r } -// Identifier is returned by the previous response and is used to request the next page. As the `pageIdentifier` encodes an element, inserts during pagination will *not* shift the result. So a scenario like: - Start listing first page - Insert new element - Start listing second page will *never* result in an element from the first page to get \"pushed\" to the second page, like it could occur with basic limit + offset pagination. The identifier should be treated as an opaque string and never modified. Only pass values returned by the API. +// Identifier is returned by the previous response and is used to request the next page. As the `pageIdentifier` encodes an element, inserts during pagination will *not* shift the result. So a scenario like: - Start listing first page - Insert new element - Start listing second page will *never* result in an element from the first page to get \"pushed\" to the second page, like it could occur with basic limit + offset pagination. The identifier should be treated as an opaque string and never modified. Only pass values returned by the API. func (r ApiListDistributionsRequest) PageIdentifier(pageIdentifier string) ApiListDistributionsRequest { r.pageIdentifier = &pageIdentifier return r } -// The following sort options exist. We default to `createdAt` - `id` - Sort by distribution ID using String comparison - `updatedAt` - Sort by when the distribution configuration was last modified, for example by changing the regions or response headers - `createdAt` - Sort by when the distribution was initially created. - `originUrl` - Sort by originURL using String comparison - `status` - Sort by distribution status, using String comparison - `originUrlRelated` - The origin URL is segmented and reversed before sorting. E.g. `www.example.com` is converted to `com.example.www` for sorting. This way, distributions pointing to the same domain trees are grouped next to each other. +// The following sort options exist. We default to `createdAt` - `id` - Sort by distribution ID using String comparison - `updatedAt` - Sort by when the distribution configuration was last modified, for example by changing the regions or response headers - `createdAt` - Sort by when the distribution was initially created. - `originUrl` - Sort by originURL using String comparison - `status` - Sort by distribution status, using String comparison - `originUrlRelated` - The origin URL is segmented and reversed before sorting. E.g. `www.example.com` is converted to `com.example.www` for sorting. This way, distributions pointing to the same domain trees are grouped next to each other. func (r ApiListDistributionsRequest) SortBy(sortBy string) ApiListDistributionsRequest { r.sortBy = &sortBy return r @@ -2297,6 +2382,8 @@ a given project, ordered by their distribution ID. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Your STACKIT Project ID @return ApiListDistributionsRequest + +Deprecated */ func (a *DefaultAPIService) ListDistributions(ctx context.Context, projectId string) ApiListDistributionsRequest { return ApiListDistributionsRequest{ @@ -2309,6 +2396,8 @@ func (a *DefaultAPIService) ListDistributions(ctx context.Context, projectId str // Execute executes the request // // @return ListDistributionsResponse +// +// Deprecated func (a *DefaultAPIService) ListDistributionsExecute(r ApiListDistributionsRequest) (*ListDistributionsResponse, error) { var ( localVarHTTPMethod = http.MethodGet @@ -2484,6 +2573,8 @@ Returns all WAF rule collections available to the project @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Your STACKIT Project ID @return ApiListWAFCollectionsRequest + +Deprecated */ func (a *DefaultAPIService) ListWAFCollections(ctx context.Context, projectId string) ApiListWAFCollectionsRequest { return ApiListWAFCollectionsRequest{ @@ -2496,6 +2587,8 @@ func (a *DefaultAPIService) ListWAFCollections(ctx context.Context, projectId st // Execute executes the request // // @return ListWAFCollectionsResponse +// +// Deprecated func (a *DefaultAPIService) ListWAFCollectionsExecute(r ApiListWAFCollectionsRequest) (*ListWAFCollectionsResponse, error) { var ( localVarHTTPMethod = http.MethodGet @@ -2652,6 +2745,8 @@ Modify a CDN distribution with a partial update. Only the fields specified in th @param projectId Your STACKIT Project ID @param distributionId @return ApiPatchDistributionRequest + +Deprecated */ func (a *DefaultAPIService) PatchDistribution(ctx context.Context, projectId string, distributionId string) ApiPatchDistributionRequest { return ApiPatchDistributionRequest{ @@ -2665,6 +2760,8 @@ func (a *DefaultAPIService) PatchDistribution(ctx context.Context, projectId str // Execute executes the request // // @return PatchDistributionResponse +// +// Deprecated func (a *DefaultAPIService) PatchDistributionExecute(r ApiPatchDistributionRequest) (*PatchDistributionResponse, error) { var ( localVarHTTPMethod = http.MethodPatch @@ -2825,6 +2922,8 @@ All content, regardless of its staleness, will get refetched from the host. @param projectId Your STACKIT Project ID @param distributionId @return ApiPurgeCacheRequest + +Deprecated */ func (a *DefaultAPIService) PurgeCache(ctx context.Context, projectId string, distributionId string) ApiPurgeCacheRequest { return ApiPurgeCacheRequest{ @@ -2838,6 +2937,8 @@ func (a *DefaultAPIService) PurgeCache(ctx context.Context, projectId string, di // Execute executes the request // // @return map[string]interface{} +// +// Deprecated func (a *DefaultAPIService) PurgeCacheExecute(r ApiPurgeCacheRequest) (map[string]interface{}, error) { var ( localVarHTTPMethod = http.MethodPost @@ -2999,6 +3100,8 @@ Creates a new custom domain. If it already exists, this will overwrite the previ @param distributionId @param domain @return ApiPutCustomDomainRequest + +Deprecated */ func (a *DefaultAPIService) PutCustomDomain(ctx context.Context, projectId string, distributionId string, domain string) ApiPutCustomDomainRequest { return ApiPutCustomDomainRequest{ @@ -3013,6 +3116,8 @@ func (a *DefaultAPIService) PutCustomDomain(ctx context.Context, projectId strin // Execute executes the request // // @return PutCustomDomainResponse +// +// Deprecated func (a *DefaultAPIService) PutCustomDomainExecute(r ApiPutCustomDomainRequest) (*PutCustomDomainResponse, error) { var ( localVarHTTPMethod = http.MethodPut diff --git a/services/cdn/v1betaapi/api_default_mock.go b/services/cdn/v1betaapi/api_default_mock.go index 410333ef2..4205b742e 100644 --- a/services/cdn/v1betaapi/api_default_mock.go +++ b/services/cdn/v1betaapi/api_default_mock.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ @@ -20,38 +20,39 @@ var _ DefaultAPI = &DefaultAPIServiceMock{} // DefaultAPIServiceMock is meant to be used for testing only as a replacement for DefaultAPIService. // By default all FooExecute() implementations are a no-op. Behavior of the mock can be customized by populating the callbacks in this struct. type DefaultAPIServiceMock struct { - // CreateDistributionExecuteMock can be populated to implement the behavior of the CreateDistributionExecute function of this mock + // Deprecated: CreateDistributionExecuteMock can be populated to implement the behavior of the CreateDistributionExecute function of this mock CreateDistributionExecuteMock *func(r ApiCreateDistributionRequest) (*CreateDistributionResponse, error) - // DeleteCustomDomainExecuteMock can be populated to implement the behavior of the DeleteCustomDomainExecute function of this mock + // Deprecated: DeleteCustomDomainExecuteMock can be populated to implement the behavior of the DeleteCustomDomainExecute function of this mock DeleteCustomDomainExecuteMock *func(r ApiDeleteCustomDomainRequest) (*DeleteCustomDomainResponse, error) - // DeleteDistributionExecuteMock can be populated to implement the behavior of the DeleteDistributionExecute function of this mock + // Deprecated: DeleteDistributionExecuteMock can be populated to implement the behavior of the DeleteDistributionExecute function of this mock DeleteDistributionExecuteMock *func(r ApiDeleteDistributionRequest) (*DeleteDistributionResponse, error) - // FindCachePathsExecuteMock can be populated to implement the behavior of the FindCachePathsExecute function of this mock + // Deprecated: FindCachePathsExecuteMock can be populated to implement the behavior of the FindCachePathsExecute function of this mock FindCachePathsExecuteMock *func(r ApiFindCachePathsRequest) (*FindCachePathsResponse, error) - // GetCacheInfoExecuteMock can be populated to implement the behavior of the GetCacheInfoExecute function of this mock + // Deprecated: GetCacheInfoExecuteMock can be populated to implement the behavior of the GetCacheInfoExecute function of this mock GetCacheInfoExecuteMock *func(r ApiGetCacheInfoRequest) (*GetCacheInfoResponse, error) - // GetCustomDomainExecuteMock can be populated to implement the behavior of the GetCustomDomainExecute function of this mock + // Deprecated: GetCustomDomainExecuteMock can be populated to implement the behavior of the GetCustomDomainExecute function of this mock GetCustomDomainExecuteMock *func(r ApiGetCustomDomainRequest) (*GetCustomDomainResponse, error) - // GetDistributionExecuteMock can be populated to implement the behavior of the GetDistributionExecute function of this mock + // Deprecated: GetDistributionExecuteMock can be populated to implement the behavior of the GetDistributionExecute function of this mock GetDistributionExecuteMock *func(r ApiGetDistributionRequest) (*GetDistributionResponse, error) - // GetLogsExecuteMock can be populated to implement the behavior of the GetLogsExecute function of this mock + // Deprecated: GetLogsExecuteMock can be populated to implement the behavior of the GetLogsExecute function of this mock GetLogsExecuteMock *func(r ApiGetLogsRequest) (*GetLogsResponse, error) - // GetLogsSearchFiltersExecuteMock can be populated to implement the behavior of the GetLogsSearchFiltersExecute function of this mock + // Deprecated: GetLogsSearchFiltersExecuteMock can be populated to implement the behavior of the GetLogsSearchFiltersExecute function of this mock GetLogsSearchFiltersExecuteMock *func(r ApiGetLogsSearchFiltersRequest) (*GetLogsSearchFiltersResponse, error) - // GetStatisticsExecuteMock can be populated to implement the behavior of the GetStatisticsExecute function of this mock + // Deprecated: GetStatisticsExecuteMock can be populated to implement the behavior of the GetStatisticsExecute function of this mock GetStatisticsExecuteMock *func(r ApiGetStatisticsRequest) (*GetStatisticsResponse, error) - // ListDistributionsExecuteMock can be populated to implement the behavior of the ListDistributionsExecute function of this mock + // Deprecated: ListDistributionsExecuteMock can be populated to implement the behavior of the ListDistributionsExecute function of this mock ListDistributionsExecuteMock *func(r ApiListDistributionsRequest) (*ListDistributionsResponse, error) - // ListWAFCollectionsExecuteMock can be populated to implement the behavior of the ListWAFCollectionsExecute function of this mock + // Deprecated: ListWAFCollectionsExecuteMock can be populated to implement the behavior of the ListWAFCollectionsExecute function of this mock ListWAFCollectionsExecuteMock *func(r ApiListWAFCollectionsRequest) (*ListWAFCollectionsResponse, error) - // PatchDistributionExecuteMock can be populated to implement the behavior of the PatchDistributionExecute function of this mock + // Deprecated: PatchDistributionExecuteMock can be populated to implement the behavior of the PatchDistributionExecute function of this mock PatchDistributionExecuteMock *func(r ApiPatchDistributionRequest) (*PatchDistributionResponse, error) - // PurgeCacheExecuteMock can be populated to implement the behavior of the PurgeCacheExecute function of this mock + // Deprecated: PurgeCacheExecuteMock can be populated to implement the behavior of the PurgeCacheExecute function of this mock PurgeCacheExecuteMock *func(r ApiPurgeCacheRequest) (map[string]interface{}, error) - // PutCustomDomainExecuteMock can be populated to implement the behavior of the PutCustomDomainExecute function of this mock + // Deprecated: PutCustomDomainExecuteMock can be populated to implement the behavior of the PutCustomDomainExecute function of this mock PutCustomDomainExecuteMock *func(r ApiPutCustomDomainRequest) (*PutCustomDomainResponse, error) } +// Deprecated func (a DefaultAPIServiceMock) CreateDistribution(ctx context.Context, projectId string) ApiCreateDistributionRequest { return ApiCreateDistributionRequest{ ApiService: a, @@ -60,7 +61,7 @@ func (a DefaultAPIServiceMock) CreateDistribution(ctx context.Context, projectId } } -// CreateDistributionExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateDistributionExecuteMock field in the DefaultAPIServiceMock struct. +// Deprecated: CreateDistributionExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateDistributionExecuteMock field in the DefaultAPIServiceMock struct. func (a DefaultAPIServiceMock) CreateDistributionExecute(r ApiCreateDistributionRequest) (*CreateDistributionResponse, error) { if a.CreateDistributionExecuteMock == nil { var localVarReturnValue *CreateDistributionResponse @@ -70,6 +71,7 @@ func (a DefaultAPIServiceMock) CreateDistributionExecute(r ApiCreateDistribution return (*a.CreateDistributionExecuteMock)(r) } +// Deprecated func (a DefaultAPIServiceMock) DeleteCustomDomain(ctx context.Context, projectId string, distributionId string, domain string) ApiDeleteCustomDomainRequest { return ApiDeleteCustomDomainRequest{ ApiService: a, @@ -80,7 +82,7 @@ func (a DefaultAPIServiceMock) DeleteCustomDomain(ctx context.Context, projectId } } -// DeleteCustomDomainExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteCustomDomainExecuteMock field in the DefaultAPIServiceMock struct. +// Deprecated: DeleteCustomDomainExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteCustomDomainExecuteMock field in the DefaultAPIServiceMock struct. func (a DefaultAPIServiceMock) DeleteCustomDomainExecute(r ApiDeleteCustomDomainRequest) (*DeleteCustomDomainResponse, error) { if a.DeleteCustomDomainExecuteMock == nil { var localVarReturnValue *DeleteCustomDomainResponse @@ -90,6 +92,7 @@ func (a DefaultAPIServiceMock) DeleteCustomDomainExecute(r ApiDeleteCustomDomain return (*a.DeleteCustomDomainExecuteMock)(r) } +// Deprecated func (a DefaultAPIServiceMock) DeleteDistribution(ctx context.Context, projectId string, distributionId string) ApiDeleteDistributionRequest { return ApiDeleteDistributionRequest{ ApiService: a, @@ -99,7 +102,7 @@ func (a DefaultAPIServiceMock) DeleteDistribution(ctx context.Context, projectId } } -// DeleteDistributionExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteDistributionExecuteMock field in the DefaultAPIServiceMock struct. +// Deprecated: DeleteDistributionExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteDistributionExecuteMock field in the DefaultAPIServiceMock struct. func (a DefaultAPIServiceMock) DeleteDistributionExecute(r ApiDeleteDistributionRequest) (*DeleteDistributionResponse, error) { if a.DeleteDistributionExecuteMock == nil { var localVarReturnValue *DeleteDistributionResponse @@ -109,6 +112,7 @@ func (a DefaultAPIServiceMock) DeleteDistributionExecute(r ApiDeleteDistribution return (*a.DeleteDistributionExecuteMock)(r) } +// Deprecated func (a DefaultAPIServiceMock) FindCachePaths(ctx context.Context, projectId string, distributionId string) ApiFindCachePathsRequest { return ApiFindCachePathsRequest{ ApiService: a, @@ -118,7 +122,7 @@ func (a DefaultAPIServiceMock) FindCachePaths(ctx context.Context, projectId str } } -// FindCachePathsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the FindCachePathsExecuteMock field in the DefaultAPIServiceMock struct. +// Deprecated: FindCachePathsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the FindCachePathsExecuteMock field in the DefaultAPIServiceMock struct. func (a DefaultAPIServiceMock) FindCachePathsExecute(r ApiFindCachePathsRequest) (*FindCachePathsResponse, error) { if a.FindCachePathsExecuteMock == nil { var localVarReturnValue *FindCachePathsResponse @@ -128,6 +132,7 @@ func (a DefaultAPIServiceMock) FindCachePathsExecute(r ApiFindCachePathsRequest) return (*a.FindCachePathsExecuteMock)(r) } +// Deprecated func (a DefaultAPIServiceMock) GetCacheInfo(ctx context.Context, projectId string, distributionId string) ApiGetCacheInfoRequest { return ApiGetCacheInfoRequest{ ApiService: a, @@ -137,7 +142,7 @@ func (a DefaultAPIServiceMock) GetCacheInfo(ctx context.Context, projectId strin } } -// GetCacheInfoExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetCacheInfoExecuteMock field in the DefaultAPIServiceMock struct. +// Deprecated: GetCacheInfoExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetCacheInfoExecuteMock field in the DefaultAPIServiceMock struct. func (a DefaultAPIServiceMock) GetCacheInfoExecute(r ApiGetCacheInfoRequest) (*GetCacheInfoResponse, error) { if a.GetCacheInfoExecuteMock == nil { var localVarReturnValue *GetCacheInfoResponse @@ -147,6 +152,7 @@ func (a DefaultAPIServiceMock) GetCacheInfoExecute(r ApiGetCacheInfoRequest) (*G return (*a.GetCacheInfoExecuteMock)(r) } +// Deprecated func (a DefaultAPIServiceMock) GetCustomDomain(ctx context.Context, projectId string, distributionId string, domain string) ApiGetCustomDomainRequest { return ApiGetCustomDomainRequest{ ApiService: a, @@ -157,7 +163,7 @@ func (a DefaultAPIServiceMock) GetCustomDomain(ctx context.Context, projectId st } } -// GetCustomDomainExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetCustomDomainExecuteMock field in the DefaultAPIServiceMock struct. +// Deprecated: GetCustomDomainExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetCustomDomainExecuteMock field in the DefaultAPIServiceMock struct. func (a DefaultAPIServiceMock) GetCustomDomainExecute(r ApiGetCustomDomainRequest) (*GetCustomDomainResponse, error) { if a.GetCustomDomainExecuteMock == nil { var localVarReturnValue *GetCustomDomainResponse @@ -167,6 +173,7 @@ func (a DefaultAPIServiceMock) GetCustomDomainExecute(r ApiGetCustomDomainReques return (*a.GetCustomDomainExecuteMock)(r) } +// Deprecated func (a DefaultAPIServiceMock) GetDistribution(ctx context.Context, projectId string, distributionId string) ApiGetDistributionRequest { return ApiGetDistributionRequest{ ApiService: a, @@ -176,7 +183,7 @@ func (a DefaultAPIServiceMock) GetDistribution(ctx context.Context, projectId st } } -// GetDistributionExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetDistributionExecuteMock field in the DefaultAPIServiceMock struct. +// Deprecated: GetDistributionExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetDistributionExecuteMock field in the DefaultAPIServiceMock struct. func (a DefaultAPIServiceMock) GetDistributionExecute(r ApiGetDistributionRequest) (*GetDistributionResponse, error) { if a.GetDistributionExecuteMock == nil { var localVarReturnValue *GetDistributionResponse @@ -186,6 +193,7 @@ func (a DefaultAPIServiceMock) GetDistributionExecute(r ApiGetDistributionReques return (*a.GetDistributionExecuteMock)(r) } +// Deprecated func (a DefaultAPIServiceMock) GetLogs(ctx context.Context, projectId string, distributionId string) ApiGetLogsRequest { return ApiGetLogsRequest{ ApiService: a, @@ -195,7 +203,7 @@ func (a DefaultAPIServiceMock) GetLogs(ctx context.Context, projectId string, di } } -// GetLogsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetLogsExecuteMock field in the DefaultAPIServiceMock struct. +// Deprecated: GetLogsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetLogsExecuteMock field in the DefaultAPIServiceMock struct. func (a DefaultAPIServiceMock) GetLogsExecute(r ApiGetLogsRequest) (*GetLogsResponse, error) { if a.GetLogsExecuteMock == nil { var localVarReturnValue *GetLogsResponse @@ -205,6 +213,7 @@ func (a DefaultAPIServiceMock) GetLogsExecute(r ApiGetLogsRequest) (*GetLogsResp return (*a.GetLogsExecuteMock)(r) } +// Deprecated func (a DefaultAPIServiceMock) GetLogsSearchFilters(ctx context.Context, projectId string, distributionId string) ApiGetLogsSearchFiltersRequest { return ApiGetLogsSearchFiltersRequest{ ApiService: a, @@ -214,7 +223,7 @@ func (a DefaultAPIServiceMock) GetLogsSearchFilters(ctx context.Context, project } } -// GetLogsSearchFiltersExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetLogsSearchFiltersExecuteMock field in the DefaultAPIServiceMock struct. +// Deprecated: GetLogsSearchFiltersExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetLogsSearchFiltersExecuteMock field in the DefaultAPIServiceMock struct. func (a DefaultAPIServiceMock) GetLogsSearchFiltersExecute(r ApiGetLogsSearchFiltersRequest) (*GetLogsSearchFiltersResponse, error) { if a.GetLogsSearchFiltersExecuteMock == nil { var localVarReturnValue *GetLogsSearchFiltersResponse @@ -224,6 +233,7 @@ func (a DefaultAPIServiceMock) GetLogsSearchFiltersExecute(r ApiGetLogsSearchFil return (*a.GetLogsSearchFiltersExecuteMock)(r) } +// Deprecated func (a DefaultAPIServiceMock) GetStatistics(ctx context.Context, projectId string, distributionId string) ApiGetStatisticsRequest { return ApiGetStatisticsRequest{ ApiService: a, @@ -233,7 +243,7 @@ func (a DefaultAPIServiceMock) GetStatistics(ctx context.Context, projectId stri } } -// GetStatisticsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetStatisticsExecuteMock field in the DefaultAPIServiceMock struct. +// Deprecated: GetStatisticsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetStatisticsExecuteMock field in the DefaultAPIServiceMock struct. func (a DefaultAPIServiceMock) GetStatisticsExecute(r ApiGetStatisticsRequest) (*GetStatisticsResponse, error) { if a.GetStatisticsExecuteMock == nil { var localVarReturnValue *GetStatisticsResponse @@ -243,6 +253,7 @@ func (a DefaultAPIServiceMock) GetStatisticsExecute(r ApiGetStatisticsRequest) ( return (*a.GetStatisticsExecuteMock)(r) } +// Deprecated func (a DefaultAPIServiceMock) ListDistributions(ctx context.Context, projectId string) ApiListDistributionsRequest { return ApiListDistributionsRequest{ ApiService: a, @@ -251,7 +262,7 @@ func (a DefaultAPIServiceMock) ListDistributions(ctx context.Context, projectId } } -// ListDistributionsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListDistributionsExecuteMock field in the DefaultAPIServiceMock struct. +// Deprecated: ListDistributionsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListDistributionsExecuteMock field in the DefaultAPIServiceMock struct. func (a DefaultAPIServiceMock) ListDistributionsExecute(r ApiListDistributionsRequest) (*ListDistributionsResponse, error) { if a.ListDistributionsExecuteMock == nil { var localVarReturnValue *ListDistributionsResponse @@ -261,6 +272,7 @@ func (a DefaultAPIServiceMock) ListDistributionsExecute(r ApiListDistributionsRe return (*a.ListDistributionsExecuteMock)(r) } +// Deprecated func (a DefaultAPIServiceMock) ListWAFCollections(ctx context.Context, projectId string) ApiListWAFCollectionsRequest { return ApiListWAFCollectionsRequest{ ApiService: a, @@ -269,7 +281,7 @@ func (a DefaultAPIServiceMock) ListWAFCollections(ctx context.Context, projectId } } -// ListWAFCollectionsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListWAFCollectionsExecuteMock field in the DefaultAPIServiceMock struct. +// Deprecated: ListWAFCollectionsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListWAFCollectionsExecuteMock field in the DefaultAPIServiceMock struct. func (a DefaultAPIServiceMock) ListWAFCollectionsExecute(r ApiListWAFCollectionsRequest) (*ListWAFCollectionsResponse, error) { if a.ListWAFCollectionsExecuteMock == nil { var localVarReturnValue *ListWAFCollectionsResponse @@ -279,6 +291,7 @@ func (a DefaultAPIServiceMock) ListWAFCollectionsExecute(r ApiListWAFCollections return (*a.ListWAFCollectionsExecuteMock)(r) } +// Deprecated func (a DefaultAPIServiceMock) PatchDistribution(ctx context.Context, projectId string, distributionId string) ApiPatchDistributionRequest { return ApiPatchDistributionRequest{ ApiService: a, @@ -288,7 +301,7 @@ func (a DefaultAPIServiceMock) PatchDistribution(ctx context.Context, projectId } } -// PatchDistributionExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the PatchDistributionExecuteMock field in the DefaultAPIServiceMock struct. +// Deprecated: PatchDistributionExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the PatchDistributionExecuteMock field in the DefaultAPIServiceMock struct. func (a DefaultAPIServiceMock) PatchDistributionExecute(r ApiPatchDistributionRequest) (*PatchDistributionResponse, error) { if a.PatchDistributionExecuteMock == nil { var localVarReturnValue *PatchDistributionResponse @@ -298,6 +311,7 @@ func (a DefaultAPIServiceMock) PatchDistributionExecute(r ApiPatchDistributionRe return (*a.PatchDistributionExecuteMock)(r) } +// Deprecated func (a DefaultAPIServiceMock) PurgeCache(ctx context.Context, projectId string, distributionId string) ApiPurgeCacheRequest { return ApiPurgeCacheRequest{ ApiService: a, @@ -307,7 +321,7 @@ func (a DefaultAPIServiceMock) PurgeCache(ctx context.Context, projectId string, } } -// PurgeCacheExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the PurgeCacheExecuteMock field in the DefaultAPIServiceMock struct. +// Deprecated: PurgeCacheExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the PurgeCacheExecuteMock field in the DefaultAPIServiceMock struct. func (a DefaultAPIServiceMock) PurgeCacheExecute(r ApiPurgeCacheRequest) (map[string]interface{}, error) { if a.PurgeCacheExecuteMock == nil { var localVarReturnValue map[string]interface{} @@ -317,6 +331,7 @@ func (a DefaultAPIServiceMock) PurgeCacheExecute(r ApiPurgeCacheRequest) (map[st return (*a.PurgeCacheExecuteMock)(r) } +// Deprecated func (a DefaultAPIServiceMock) PutCustomDomain(ctx context.Context, projectId string, distributionId string, domain string) ApiPutCustomDomainRequest { return ApiPutCustomDomainRequest{ ApiService: a, @@ -327,7 +342,7 @@ func (a DefaultAPIServiceMock) PutCustomDomain(ctx context.Context, projectId st } } -// PutCustomDomainExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the PutCustomDomainExecuteMock field in the DefaultAPIServiceMock struct. +// Deprecated: PutCustomDomainExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the PutCustomDomainExecuteMock field in the DefaultAPIServiceMock struct. func (a DefaultAPIServiceMock) PutCustomDomainExecute(r ApiPutCustomDomainRequest) (*PutCustomDomainResponse, error) { if a.PutCustomDomainExecuteMock == nil { var localVarReturnValue *PutCustomDomainResponse diff --git a/services/cdn/v1betaapi/client.go b/services/cdn/v1betaapi/client.go index cebeaa65e..c077f64d1 100644 --- a/services/cdn/v1betaapi/client.go +++ b/services/cdn/v1betaapi/client.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ @@ -42,7 +42,7 @@ var ( queryDescape = strings.NewReplacer("%5B", "[", "%5D", "]") ) -// APIClient manages communication with the STACKIT CDN API API v1beta.0.0 +// APIClient manages communication with the STACKIT CDN API (DEPRECATED) API v1beta.0.0 // In most cases there should be only one, shared, APIClient. type APIClient struct { cfg *config.Configuration diff --git a/services/cdn/v1betaapi/configuration.go b/services/cdn/v1betaapi/configuration.go index 9b967125d..16965e3ca 100644 --- a/services/cdn/v1betaapi/configuration.go +++ b/services/cdn/v1betaapi/configuration.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ diff --git a/services/cdn/v1betaapi/model_config.go b/services/cdn/v1betaapi/model_config.go index abf8e1eb2..cd8046c10 100644 --- a/services/cdn/v1betaapi/model_config.go +++ b/services/cdn/v1betaapi/model_config.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ @@ -21,11 +21,11 @@ var _ MappedNullable = &Config{} // Config struct for Config type Config struct { Backend HttpBackend `json:"backend"` - // Restricts access to your content based on country. We use the ISO 3166-1 alpha-2 standard for country codes (e.g., DE, ES, GB). This setting blocks users from the specified countries. + // Restricts access to your content based on country. We use the ISO 3166-1 alpha-2 standard for country codes (e.g., DE, ES, GB). This setting blocks users from the specified countries. BlockedCountries []string `json:"blockedCountries"` - // Restricts access to your content by specifying a list of blocked IPv4 addresses. This feature enhances security and privacy by preventing these addresses from accessing your distribution. + // Restricts access to your content by specifying a list of blocked IPv4 addresses. This feature enhances security and privacy by preventing these addresses from accessing your distribution. BlockedIPs []string `json:"blockedIPs"` - // Sets the default cache duration for the distribution. The default cache duration is applied when a 'Cache-Control' header is not presented in the origin's response. We use ISO8601 duration format for cache duration (e.g. P1DT2H30M) + // Sets the default cache duration for the distribution. The default cache duration is applied when a 'Cache-Control' header is not presented in the origin's response. We use ISO8601 duration format for cache duration (e.g. P1DT2H30M) DefaultCacheDuration NullableString `json:"defaultCacheDuration,omitempty"` LogSink *LokiLogSink `json:"logSink,omitempty"` // Sets the monthly limit of bandwidth in bytes that the pullzone is allowed to use. diff --git a/services/cdn/v1betaapi/model_config_patch.go b/services/cdn/v1betaapi/model_config_patch.go index 8e75c7d7e..6f25693d0 100644 --- a/services/cdn/v1betaapi/model_config_patch.go +++ b/services/cdn/v1betaapi/model_config_patch.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ @@ -20,11 +20,11 @@ var _ MappedNullable = &ConfigPatch{} // ConfigPatch struct for ConfigPatch type ConfigPatch struct { Backend *HttpBackendPatch `json:"backend,omitempty"` - // Restricts access to your content based on country. We use the ISO 3166-1 alpha-2 standard for country codes (e.g., DE, ES, GB). This setting blocks users from the specified countries. + // Restricts access to your content based on country. We use the ISO 3166-1 alpha-2 standard for country codes (e.g., DE, ES, GB). This setting blocks users from the specified countries. BlockedCountries []string `json:"blockedCountries,omitempty"` - // Restricts access to your content by specifying a list of blocked IPv4 addresses. This feature enhances security and privacy by preventing these addresses from accessing your distribution. + // Restricts access to your content by specifying a list of blocked IPv4 addresses. This feature enhances security and privacy by preventing these addresses from accessing your distribution. BlockedIPs []string `json:"blockedIPs,omitempty"` - // Sets the default cache duration for the distribution. The default cache duration is applied when a 'Cache-Control' header is not presented in the origin's response. We use ISO8601 duration format for cache duration (e.g. P1DT2H30M) + // Sets the default cache duration for the distribution. The default cache duration is applied when a 'Cache-Control' header is not presented in the origin's response. We use ISO8601 duration format for cache duration (e.g. P1DT2H30M) DefaultCacheDuration NullableString `json:"defaultCacheDuration,omitempty"` LogSink NullablePatchLokiLogSink `json:"logSink,omitempty"` // Sets the monthly limit of bandwidth in bytes that the pullzone is allowed to use. diff --git a/services/cdn/v1betaapi/model_create_distribution_payload.go b/services/cdn/v1betaapi/model_create_distribution_payload.go index b9258929f..90f5a2e2e 100644 --- a/services/cdn/v1betaapi/model_create_distribution_payload.go +++ b/services/cdn/v1betaapi/model_create_distribution_payload.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ @@ -20,15 +20,15 @@ var _ MappedNullable = &CreateDistributionPayload{} // CreateDistributionPayload struct for CreateDistributionPayload type CreateDistributionPayload struct { - // Restricts access to your content based on country. We use the ISO 3166-1 alpha-2 standard for country codes (e.g., DE, ES, GB). This setting blocks users from the specified countries. + // Restricts access to your content based on country. We use the ISO 3166-1 alpha-2 standard for country codes (e.g., DE, ES, GB). This setting blocks users from the specified countries. BlockedCountries []string `json:"blockedCountries,omitempty"` - // Restricts access to your content by specifying a list of blocked IPv4 addresses. This feature enhances security and privacy by preventing these addresses from accessing your distribution. + // Restricts access to your content by specifying a list of blocked IPv4 addresses. This feature enhances security and privacy by preventing these addresses from accessing your distribution. BlockedIPs []string `json:"blockedIPs,omitempty"` - // Sets the default cache duration for the distribution. The default cache duration is applied when a 'Cache-Control' header is not presented in the origin's response. We use ISO8601 duration format for cache duration (e.g. P1DT2H30M) + // Sets the default cache duration for the distribution. The default cache duration is applied when a 'Cache-Control' header is not presented in the origin's response. We use ISO8601 duration format for cache duration (e.g. P1DT2H30M) DefaultCacheDuration *string `json:"defaultCacheDuration,omitempty"` // An object mapping multiple alternative origins to country codes. Any request from one of those country codes will route to the alternative origin. Do note that country codes may only be used once. You can not have a country be assigned to multiple alternative origins. Geofencing *map[string][]string `json:"geofencing,omitempty"` - // While optional, it is greatly encouraged to provide an `intentId`. This is used to deduplicate requests. If multiple POST-Requests with the same `intentId` for a given `projectId` are received, all but the first request are dropped. + // While optional, it is greatly encouraged to provide an `intentId`. This is used to deduplicate requests. If multiple POST-Requests with the same `intentId` for a given `projectId` are received, all but the first request are dropped. IntentId *string `json:"intentId,omitempty"` LogSink *PatchLokiLogSink `json:"logSink,omitempty"` // Sets the monthly limit of bandwidth in bytes that the pullzone is allowed to use. @@ -36,7 +36,7 @@ type CreateDistributionPayload struct { Optimizer *Optimizer `json:"optimizer,omitempty"` // Headers that will be sent with every request to the configured origin. WARNING: Do not store sensitive values in the headers. The data is stores as plain text. OriginRequestHeaders *map[string]string `json:"originRequestHeaders,omitempty"` - // The origin of the content that should be made available through the CDN. Note that the path and query parameters are ignored. Ports are allowed. If no protocol is provided, `https` is assumed. So `www.example.com:1234/somePath?q=123` is normalized to `https://www.example.com:1234` + // The origin of the content that should be made available through the CDN. Note that the path and query parameters are ignored. Ports are allowed. If no protocol is provided, `https` is assumed. So `www.example.com:1234/somePath?q=123` is normalized to `https://www.example.com:1234` OriginUrl string `json:"originUrl"` // Define in which regions you would like your content to be cached. Regions []Region `json:"regions"` diff --git a/services/cdn/v1betaapi/model_create_distribution_response.go b/services/cdn/v1betaapi/model_create_distribution_response.go index 9bb3250fe..4bff3481d 100644 --- a/services/cdn/v1betaapi/model_create_distribution_response.go +++ b/services/cdn/v1betaapi/model_create_distribution_response.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ diff --git a/services/cdn/v1betaapi/model_custom_domain.go b/services/cdn/v1betaapi/model_custom_domain.go index c6a8406fd..ccf21e8db 100644 --- a/services/cdn/v1betaapi/model_custom_domain.go +++ b/services/cdn/v1betaapi/model_custom_domain.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ diff --git a/services/cdn/v1betaapi/model_delete_custom_domain_response.go b/services/cdn/v1betaapi/model_delete_custom_domain_response.go index eeacbe615..38ac9b3eb 100644 --- a/services/cdn/v1betaapi/model_delete_custom_domain_response.go +++ b/services/cdn/v1betaapi/model_delete_custom_domain_response.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ diff --git a/services/cdn/v1betaapi/model_delete_distribution_response.go b/services/cdn/v1betaapi/model_delete_distribution_response.go index 09e2ff41d..3f627e2ac 100644 --- a/services/cdn/v1betaapi/model_delete_distribution_response.go +++ b/services/cdn/v1betaapi/model_delete_distribution_response.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ diff --git a/services/cdn/v1betaapi/model_distribution.go b/services/cdn/v1betaapi/model_distribution.go index ab88974b8..f8aefbbdb 100644 --- a/services/cdn/v1betaapi/model_distribution.go +++ b/services/cdn/v1betaapi/model_distribution.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ @@ -29,7 +29,7 @@ type Distribution struct { Errors []StatusError `json:"errors,omitempty"` Id string `json:"id"` ProjectId string `json:"projectId"` - // - `CREATING`: The distribution was just created. All the relevant resources are created in the background. Once fully reconciled, this switches to `ACTIVE`. If there are any issues, the status changes to `ERROR`. You can look at the `errors` array to get more infos. - `ACTIVE`: The usual state. The desired configuration is synced, there are no errors - `UPDATING`: The state when there is a discrepancy between the desired and actual configuration state. This occurs right after an update. Will switch to `ACTIVE` or `ERROR`, depending on if synchronizing succeeds or not. - `DELETING`: The state right after a delete request was received. The distribution will stay in this status until all resources have been successfully removed, or until we encounter an `ERROR` state. **NOTE:** You can keep fetching the distribution while it is deleting. After successful deletion, trying to get a distribution will return a 404 Not Found response - `ERROR`: The error state. Look at the `errors` array for more info. + // - `CREATING`: The distribution was just created. All the relevant resources are created in the background. Once fully reconciled, this switches to `ACTIVE`. If there are any issues, the status changes to `ERROR`. You can look at the `errors` array to get more infos. - `ACTIVE`: The usual state. The desired configuration is synced, there are no errors - `UPDATING`: The state when there is a discrepancy between the desired and actual configuration state. This occurs right after an update. Will switch to `ACTIVE` or `ERROR`, depending on if synchronizing succeeds or not. - `DELETING`: The state right after a delete request was received. The distribution will stay in this status until all resources have been successfully removed, or until we encounter an `ERROR` state. **NOTE:** You can keep fetching the distribution while it is deleting. After successful deletion, trying to get a distribution will return a 404 Not Found response - `ERROR`: The error state. Look at the `errors` array for more info. Status string `json:"status"` // RFC3339 string which returns the last time the distribution configuration was modified. UpdatedAt time.Time `json:"updatedAt"` diff --git a/services/cdn/v1betaapi/model_distribution_logs_record.go b/services/cdn/v1betaapi/model_distribution_logs_record.go index 19d2c4797..19bf01aa1 100644 --- a/services/cdn/v1betaapi/model_distribution_logs_record.go +++ b/services/cdn/v1betaapi/model_distribution_logs_record.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ diff --git a/services/cdn/v1betaapi/model_distribution_statistics_record.go b/services/cdn/v1betaapi/model_distribution_statistics_record.go index dd79e51e6..d9ce2e728 100644 --- a/services/cdn/v1betaapi/model_distribution_statistics_record.go +++ b/services/cdn/v1betaapi/model_distribution_statistics_record.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ diff --git a/services/cdn/v1betaapi/model_distribution_statistics_record_entry.go b/services/cdn/v1betaapi/model_distribution_statistics_record_entry.go index b49de3669..a7bff7064 100644 --- a/services/cdn/v1betaapi/model_distribution_statistics_record_entry.go +++ b/services/cdn/v1betaapi/model_distribution_statistics_record_entry.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ diff --git a/services/cdn/v1betaapi/model_distribution_statistics_record_regions.go b/services/cdn/v1betaapi/model_distribution_statistics_record_regions.go index 6bf27ff3d..df7a1f57a 100644 --- a/services/cdn/v1betaapi/model_distribution_statistics_record_regions.go +++ b/services/cdn/v1betaapi/model_distribution_statistics_record_regions.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ @@ -18,7 +18,7 @@ import ( // checks if the DistributionStatisticsRecordRegions type satisfies the MappedNullable interface at compile time var _ MappedNullable = &DistributionStatisticsRecordRegions{} -// DistributionStatisticsRecordRegions Mapping of regions to the metrics for this region for the defined time interval All regions are always present. If no traffic was reported for a region, it will still contain 0-filled properties +// DistributionStatisticsRecordRegions Mapping of regions to the metrics for this region for the defined time interval All regions are always present. If no traffic was reported for a region, it will still contain 0-filled properties type DistributionStatisticsRecordRegions struct { AF DistributionStatisticsRecordEntry `json:"AF"` ASIA DistributionStatisticsRecordEntry `json:"ASIA"` diff --git a/services/cdn/v1betaapi/model_distribution_waf.go b/services/cdn/v1betaapi/model_distribution_waf.go index 20cbf035f..c4fa22891 100644 --- a/services/cdn/v1betaapi/model_distribution_waf.go +++ b/services/cdn/v1betaapi/model_distribution_waf.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ @@ -18,7 +18,7 @@ import ( // checks if the DistributionWaf type satisfies the MappedNullable interface at compile time var _ MappedNullable = &DistributionWaf{} -// DistributionWaf For this property to be present two pre-conditions must be met: - the WAF was enabled at least once - the query parameter ?withWafStatus is truthy This property contains the waf Status. At this point in time, this contains all resolved rules. Rules are split into 3 groups: - enabledRules - logOnlyRules - disabledRules **Do note that the global waf mode (Disabled, LogOnly, Enabled) is *NOT* reflected in this list!** +// DistributionWaf For this property to be present two pre-conditions must be met: - the WAF was enabled at least once - the query parameter ?withWafStatus is truthy This property contains the waf Status. At this point in time, this contains all resolved rules. Rules are split into 3 groups: - enabledRules - logOnlyRules - disabledRules **Do note that the global waf mode (Disabled, LogOnly, Enabled) is *NOT* reflected in this list!** type DistributionWaf struct { DisabledRules []WAFStatusRuleBlock `json:"disabledRules"` EnabledRules []WAFStatusRuleBlock `json:"enabledRules"` diff --git a/services/cdn/v1betaapi/model_domain.go b/services/cdn/v1betaapi/model_domain.go index 6960eb43a..384d08e61 100644 --- a/services/cdn/v1betaapi/model_domain.go +++ b/services/cdn/v1betaapi/model_domain.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ diff --git a/services/cdn/v1betaapi/model_domain_status.go b/services/cdn/v1betaapi/model_domain_status.go index 5743563b8..f404b4937 100644 --- a/services/cdn/v1betaapi/model_domain_status.go +++ b/services/cdn/v1betaapi/model_domain_status.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ diff --git a/services/cdn/v1betaapi/model_error_details.go b/services/cdn/v1betaapi/model_error_details.go index 2003b36b7..dfe0c26c7 100644 --- a/services/cdn/v1betaapi/model_error_details.go +++ b/services/cdn/v1betaapi/model_error_details.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ diff --git a/services/cdn/v1betaapi/model_find_cache_paths_response.go b/services/cdn/v1betaapi/model_find_cache_paths_response.go index 0847fe8e7..c405f2eeb 100644 --- a/services/cdn/v1betaapi/model_find_cache_paths_response.go +++ b/services/cdn/v1betaapi/model_find_cache_paths_response.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ diff --git a/services/cdn/v1betaapi/model_find_cache_paths_response_entry.go b/services/cdn/v1betaapi/model_find_cache_paths_response_entry.go index 0f73f81cb..e84961023 100644 --- a/services/cdn/v1betaapi/model_find_cache_paths_response_entry.go +++ b/services/cdn/v1betaapi/model_find_cache_paths_response_entry.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ diff --git a/services/cdn/v1betaapi/model_generic_json_response.go b/services/cdn/v1betaapi/model_generic_json_response.go index 90493e256..2e48a371f 100644 --- a/services/cdn/v1betaapi/model_generic_json_response.go +++ b/services/cdn/v1betaapi/model_generic_json_response.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ diff --git a/services/cdn/v1betaapi/model_get_cache_info_response.go b/services/cdn/v1betaapi/model_get_cache_info_response.go index 58467be8c..0d0971465 100644 --- a/services/cdn/v1betaapi/model_get_cache_info_response.go +++ b/services/cdn/v1betaapi/model_get_cache_info_response.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ @@ -22,7 +22,7 @@ var _ MappedNullable = &GetCacheInfoResponse{} // GetCacheInfoResponse struct for GetCacheInfoResponse type GetCacheInfoResponse struct { History []GetCacheInfoResponseHistoryEntry `json:"history"` - // Returns the last time the cache was purged by calling the PurgeCache endpoint. Time represented as RFC3339 compliant string. If the cache was never purged, this returns `null` + // Returns the last time the cache was purged by calling the PurgeCache endpoint. Time represented as RFC3339 compliant string. If the cache was never purged, this returns `null` LastPurgeTime NullableTime `json:"lastPurgeTime"` AdditionalProperties map[string]interface{} } diff --git a/services/cdn/v1betaapi/model_get_cache_info_response_history_entry.go b/services/cdn/v1betaapi/model_get_cache_info_response_history_entry.go index 2823d81ad..d132265ea 100644 --- a/services/cdn/v1betaapi/model_get_cache_info_response_history_entry.go +++ b/services/cdn/v1betaapi/model_get_cache_info_response_history_entry.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ diff --git a/services/cdn/v1betaapi/model_get_custom_domain_custom_certificate.go b/services/cdn/v1betaapi/model_get_custom_domain_custom_certificate.go index 808e2ff4c..f709bed5b 100644 --- a/services/cdn/v1betaapi/model_get_custom_domain_custom_certificate.go +++ b/services/cdn/v1betaapi/model_get_custom_domain_custom_certificate.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ diff --git a/services/cdn/v1betaapi/model_get_custom_domain_managed_certificate.go b/services/cdn/v1betaapi/model_get_custom_domain_managed_certificate.go index eba650865..64104e634 100644 --- a/services/cdn/v1betaapi/model_get_custom_domain_managed_certificate.go +++ b/services/cdn/v1betaapi/model_get_custom_domain_managed_certificate.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ diff --git a/services/cdn/v1betaapi/model_get_custom_domain_response.go b/services/cdn/v1betaapi/model_get_custom_domain_response.go index c83c91def..d02f6df03 100644 --- a/services/cdn/v1betaapi/model_get_custom_domain_response.go +++ b/services/cdn/v1betaapi/model_get_custom_domain_response.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ diff --git a/services/cdn/v1betaapi/model_get_custom_domain_response_certificate.go b/services/cdn/v1betaapi/model_get_custom_domain_response_certificate.go index 149178e72..9b502d23a 100644 --- a/services/cdn/v1betaapi/model_get_custom_domain_response_certificate.go +++ b/services/cdn/v1betaapi/model_get_custom_domain_response_certificate.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ diff --git a/services/cdn/v1betaapi/model_get_distribution_response.go b/services/cdn/v1betaapi/model_get_distribution_response.go index 479238999..8334d9f9c 100644 --- a/services/cdn/v1betaapi/model_get_distribution_response.go +++ b/services/cdn/v1betaapi/model_get_distribution_response.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ diff --git a/services/cdn/v1betaapi/model_get_logs_response.go b/services/cdn/v1betaapi/model_get_logs_response.go index 181aef7b5..250210e39 100644 --- a/services/cdn/v1betaapi/model_get_logs_response.go +++ b/services/cdn/v1betaapi/model_get_logs_response.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ diff --git a/services/cdn/v1betaapi/model_get_logs_search_filters_response.go b/services/cdn/v1betaapi/model_get_logs_search_filters_response.go index 5e83ec410..156978897 100644 --- a/services/cdn/v1betaapi/model_get_logs_search_filters_response.go +++ b/services/cdn/v1betaapi/model_get_logs_search_filters_response.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ diff --git a/services/cdn/v1betaapi/model_get_statistics_response.go b/services/cdn/v1betaapi/model_get_statistics_response.go index 0c1e68431..dae0247b9 100644 --- a/services/cdn/v1betaapi/model_get_statistics_response.go +++ b/services/cdn/v1betaapi/model_get_statistics_response.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ diff --git a/services/cdn/v1betaapi/model_http_backend.go b/services/cdn/v1betaapi/model_http_backend.go index fc367943d..0f02ea847 100644 --- a/services/cdn/v1betaapi/model_http_backend.go +++ b/services/cdn/v1betaapi/model_http_backend.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ @@ -22,7 +22,7 @@ var _ MappedNullable = &HttpBackend{} type HttpBackend struct { // An object mapping multiple alternative origins to country codes. Any request from one of those country codes will route to the alternative origin. Do note that country codes may only be used once. You cannot have a country be assigned to multiple alternative origins. Geofencing map[string][]string `json:"geofencing"` - // Headers that will be sent with every request to the configured origin. **WARNING**: Do not store sensitive values in the headers. The configuration is stored as plain text. + // Headers that will be sent with every request to the configured origin. **WARNING**: Do not store sensitive values in the headers. The configuration is stored as plain text. OriginRequestHeaders map[string]string `json:"originRequestHeaders"` OriginUrl string `json:"originUrl"` Type string `json:"type"` diff --git a/services/cdn/v1betaapi/model_http_backend_patch.go b/services/cdn/v1betaapi/model_http_backend_patch.go index f1c74d94c..135d04ef4 100644 --- a/services/cdn/v1betaapi/model_http_backend_patch.go +++ b/services/cdn/v1betaapi/model_http_backend_patch.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ @@ -22,7 +22,7 @@ var _ MappedNullable = &HttpBackendPatch{} type HttpBackendPatch struct { // An object mapping multiple alternative origins to country codes. Any request from one of those country codes will route to the alternative origin. Do note that country codes may only be used once. You cannot have a country be assigned to multiple alternative origins. Geofencing *map[string][]string `json:"geofencing,omitempty"` - // Headers that will be sent with every request to the configured origin. **WARNING**: Do not store sensitive values in the headers. The configuration is stored as plain text. + // Headers that will be sent with every request to the configured origin. **WARNING**: Do not store sensitive values in the headers. The configuration is stored as plain text. OriginRequestHeaders *map[string]string `json:"originRequestHeaders,omitempty"` OriginUrl *string `json:"originUrl,omitempty"` // This property is required to determine the used backend type. diff --git a/services/cdn/v1betaapi/model_list_distributions_response.go b/services/cdn/v1betaapi/model_list_distributions_response.go index ba45cdc57..303dcee75 100644 --- a/services/cdn/v1betaapi/model_list_distributions_response.go +++ b/services/cdn/v1betaapi/model_list_distributions_response.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ diff --git a/services/cdn/v1betaapi/model_list_waf_collections_response.go b/services/cdn/v1betaapi/model_list_waf_collections_response.go index cee2634d6..07bd35cdb 100644 --- a/services/cdn/v1betaapi/model_list_waf_collections_response.go +++ b/services/cdn/v1betaapi/model_list_waf_collections_response.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ diff --git a/services/cdn/v1betaapi/model_loki_log_sink.go b/services/cdn/v1betaapi/model_loki_log_sink.go index 5bde6bc98..fea33bd4d 100644 --- a/services/cdn/v1betaapi/model_loki_log_sink.go +++ b/services/cdn/v1betaapi/model_loki_log_sink.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ diff --git a/services/cdn/v1betaapi/model_optimizer.go b/services/cdn/v1betaapi/model_optimizer.go index ba480d80d..bc9e0e4a9 100644 --- a/services/cdn/v1betaapi/model_optimizer.go +++ b/services/cdn/v1betaapi/model_optimizer.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ diff --git a/services/cdn/v1betaapi/model_optimizer_patch.go b/services/cdn/v1betaapi/model_optimizer_patch.go index 1f96e283a..50566f2e2 100644 --- a/services/cdn/v1betaapi/model_optimizer_patch.go +++ b/services/cdn/v1betaapi/model_optimizer_patch.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ diff --git a/services/cdn/v1betaapi/model_patch_distribution_payload.go b/services/cdn/v1betaapi/model_patch_distribution_payload.go index 172dc73cb..6f11c4dad 100644 --- a/services/cdn/v1betaapi/model_patch_distribution_payload.go +++ b/services/cdn/v1betaapi/model_patch_distribution_payload.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ @@ -20,7 +20,7 @@ var _ MappedNullable = &PatchDistributionPayload{} // PatchDistributionPayload Defines a partial distribution. Set values type PatchDistributionPayload struct { Config *ConfigPatch `json:"config,omitempty"` - // While optional, it is greatly encouraged to provide an `intentId`. This is used to deduplicate requests. If multiple modifying requests with the same `intentId` for a given `projectId` are received, all but the first request are dropped. + // While optional, it is greatly encouraged to provide an `intentId`. This is used to deduplicate requests. If multiple modifying requests with the same `intentId` for a given `projectId` are received, all but the first request are dropped. IntentId *string `json:"intentId,omitempty"` AdditionalProperties map[string]interface{} } diff --git a/services/cdn/v1betaapi/model_patch_distribution_response.go b/services/cdn/v1betaapi/model_patch_distribution_response.go index a60e4bc60..aab403b2e 100644 --- a/services/cdn/v1betaapi/model_patch_distribution_response.go +++ b/services/cdn/v1betaapi/model_patch_distribution_response.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ diff --git a/services/cdn/v1betaapi/model_patch_loki_log_sink.go b/services/cdn/v1betaapi/model_patch_loki_log_sink.go index 6898cac1d..7a1d71eb0 100644 --- a/services/cdn/v1betaapi/model_patch_loki_log_sink.go +++ b/services/cdn/v1betaapi/model_patch_loki_log_sink.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ diff --git a/services/cdn/v1betaapi/model_purge_cache_payload.go b/services/cdn/v1betaapi/model_purge_cache_payload.go index cc2f2a1e0..6bc115381 100644 --- a/services/cdn/v1betaapi/model_purge_cache_payload.go +++ b/services/cdn/v1betaapi/model_purge_cache_payload.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ @@ -19,7 +19,7 @@ var _ MappedNullable = &PurgeCachePayload{} // PurgeCachePayload struct for PurgeCachePayload type PurgeCachePayload struct { - // Defines an optional path. If this is set, a granular purge is done. If missing, the entire cache is invalidated. During a granular cache purge, only the provided path is purged. Please do not that for example `/some/path` and `/some/path.txt` are considered different paths. + // Defines an optional path. If this is set, a granular purge is done. If missing, the entire cache is invalidated. During a granular cache purge, only the provided path is purged. Please do not that for example `/some/path` and `/some/path.txt` are considered different paths. Path *string `json:"path,omitempty"` AdditionalProperties map[string]interface{} } diff --git a/services/cdn/v1betaapi/model_put_custom_domain_custom_certificate.go b/services/cdn/v1betaapi/model_put_custom_domain_custom_certificate.go index 2c8f84fba..d1f47d768 100644 --- a/services/cdn/v1betaapi/model_put_custom_domain_custom_certificate.go +++ b/services/cdn/v1betaapi/model_put_custom_domain_custom_certificate.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ diff --git a/services/cdn/v1betaapi/model_put_custom_domain_managed_certificate.go b/services/cdn/v1betaapi/model_put_custom_domain_managed_certificate.go index 75ef8018a..7fae94c96 100644 --- a/services/cdn/v1betaapi/model_put_custom_domain_managed_certificate.go +++ b/services/cdn/v1betaapi/model_put_custom_domain_managed_certificate.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ diff --git a/services/cdn/v1betaapi/model_put_custom_domain_payload.go b/services/cdn/v1betaapi/model_put_custom_domain_payload.go index 1514d4fbb..c4c6c291c 100644 --- a/services/cdn/v1betaapi/model_put_custom_domain_payload.go +++ b/services/cdn/v1betaapi/model_put_custom_domain_payload.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ @@ -20,7 +20,7 @@ var _ MappedNullable = &PutCustomDomainPayload{} // PutCustomDomainPayload struct for PutCustomDomainPayload type PutCustomDomainPayload struct { Certificate *PutCustomDomainPayloadCertificate `json:"certificate,omitempty"` - // While optional, it is greatly encouraged to provide an `intentId`. This is used to deduplicate requests. If multiple modifying Requests with the same `intentId` for a given `projectId` are received, all but the first request are dropped. + // While optional, it is greatly encouraged to provide an `intentId`. This is used to deduplicate requests. If multiple modifying Requests with the same `intentId` for a given `projectId` are received, all but the first request are dropped. IntentId *string `json:"intentId,omitempty"` AdditionalProperties map[string]interface{} } diff --git a/services/cdn/v1betaapi/model_put_custom_domain_payload_certificate.go b/services/cdn/v1betaapi/model_put_custom_domain_payload_certificate.go index a647a6dc4..1319c4b9e 100644 --- a/services/cdn/v1betaapi/model_put_custom_domain_payload_certificate.go +++ b/services/cdn/v1betaapi/model_put_custom_domain_payload_certificate.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ diff --git a/services/cdn/v1betaapi/model_put_custom_domain_response.go b/services/cdn/v1betaapi/model_put_custom_domain_response.go index eb77c8ea9..18960cc65 100644 --- a/services/cdn/v1betaapi/model_put_custom_domain_response.go +++ b/services/cdn/v1betaapi/model_put_custom_domain_response.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ diff --git a/services/cdn/v1betaapi/model_put_custom_domain_response_certificate.go b/services/cdn/v1betaapi/model_put_custom_domain_response_certificate.go index 5ee25644d..adf15c2f5 100644 --- a/services/cdn/v1betaapi/model_put_custom_domain_response_certificate.go +++ b/services/cdn/v1betaapi/model_put_custom_domain_response_certificate.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ diff --git a/services/cdn/v1betaapi/model_region.go b/services/cdn/v1betaapi/model_region.go index b44f64032..929679bd6 100644 --- a/services/cdn/v1betaapi/model_region.go +++ b/services/cdn/v1betaapi/model_region.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ diff --git a/services/cdn/v1betaapi/model_status_error.go b/services/cdn/v1betaapi/model_status_error.go index 8d9ec2726..c92e72406 100644 --- a/services/cdn/v1betaapi/model_status_error.go +++ b/services/cdn/v1betaapi/model_status_error.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ diff --git a/services/cdn/v1betaapi/model_waf_config.go b/services/cdn/v1betaapi/model_waf_config.go index 43952c523..9985edb92 100644 --- a/services/cdn/v1betaapi/model_waf_config.go +++ b/services/cdn/v1betaapi/model_waf_config.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ @@ -23,7 +23,7 @@ type WafConfig struct { AllowedHttpMethods []string `json:"allowedHttpMethods,omitempty"` AllowedHttpVersions []string `json:"allowedHttpVersions,omitempty"` AllowedRequestContentTypes []string `json:"allowedRequestContentTypes,omitempty"` - // IDs of the WAF rules that are **explicitly** enabled for this distribution. If this rule is in a disabled / log Only RuleGroup or Collection, it will be enabled regardless as `enabledRuleIds` overrides those in specificity. Do note that rules can also be enabled because a Rulegroup or Collection is enabled. **DO NOT** use this property to find all active rules. Instead, pass `?withWafStatus=true` as a query parameter to `GetDistribution` or `ListDistributions`. This will expose the `waf` Property on distribution Level. From there you can `$.waf.enabledRules.map(e => e.id)` to get a list of all enabled rules. + // IDs of the WAF rules that are **explicitly** enabled for this distribution. If this rule is in a disabled / log Only RuleGroup or Collection, it will be enabled regardless as `enabledRuleIds` overrides those in specificity. Do note that rules can also be enabled because a Rulegroup or Collection is enabled. **DO NOT** use this property to find all active rules. Instead, pass `?withWafStatus=true` as a query parameter to `GetDistribution` or `ListDistributions`. This will expose the `waf` Property on distribution Level. From there you can `$.waf.enabledRules.map(e => e.id)` to get a list of all enabled rules. EnabledRuleIds []string `json:"enabledRuleIds"` Mode WafMode `json:"mode"` ParanoiaLevel *WafParanoiaLevel `json:"paranoiaLevel,omitempty"` diff --git a/services/cdn/v1betaapi/model_waf_config_patch.go b/services/cdn/v1betaapi/model_waf_config_patch.go index 735cc3bcb..510cdd3ce 100644 --- a/services/cdn/v1betaapi/model_waf_config_patch.go +++ b/services/cdn/v1betaapi/model_waf_config_patch.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ diff --git a/services/cdn/v1betaapi/model_waf_mode.go b/services/cdn/v1betaapi/model_waf_mode.go index e5f810644..05a4a33f7 100644 --- a/services/cdn/v1betaapi/model_waf_mode.go +++ b/services/cdn/v1betaapi/model_waf_mode.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ diff --git a/services/cdn/v1betaapi/model_waf_paranoia_level.go b/services/cdn/v1betaapi/model_waf_paranoia_level.go index 966a78ef5..b24ac68bf 100644 --- a/services/cdn/v1betaapi/model_waf_paranoia_level.go +++ b/services/cdn/v1betaapi/model_waf_paranoia_level.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ @@ -15,7 +15,7 @@ import ( "fmt" ) -// WafParanoiaLevel The paranoia level defines how aggressively the WAF should action on requests. It ranges from `L1` (least strict, lowest chance of false positives) to `L4` (most strict, highest chance of false positives). A higher paranoia level is more effective at catching attacks but can also block legitimate traffic. +// WafParanoiaLevel The paranoia level defines how aggressively the WAF should action on requests. It ranges from `L1` (least strict, lowest chance of false positives) to `L4` (most strict, highest chance of false positives). A higher paranoia level is more effective at catching attacks but can also block legitimate traffic. type WafParanoiaLevel string // List of WafParanoiaLevel diff --git a/services/cdn/v1betaapi/model_waf_rule.go b/services/cdn/v1betaapi/model_waf_rule.go index 7f170c356..18fc6e700 100644 --- a/services/cdn/v1betaapi/model_waf_rule.go +++ b/services/cdn/v1betaapi/model_waf_rule.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ diff --git a/services/cdn/v1betaapi/model_waf_rule_action.go b/services/cdn/v1betaapi/model_waf_rule_action.go index dd6bfdb05..fa521673e 100644 --- a/services/cdn/v1betaapi/model_waf_rule_action.go +++ b/services/cdn/v1betaapi/model_waf_rule_action.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ diff --git a/services/cdn/v1betaapi/model_waf_rule_collection.go b/services/cdn/v1betaapi/model_waf_rule_collection.go index 5f9fe52c3..5b22ae79b 100644 --- a/services/cdn/v1betaapi/model_waf_rule_collection.go +++ b/services/cdn/v1betaapi/model_waf_rule_collection.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ diff --git a/services/cdn/v1betaapi/model_waf_rule_group.go b/services/cdn/v1betaapi/model_waf_rule_group.go index 85fb211bf..b7b0d0bb6 100644 --- a/services/cdn/v1betaapi/model_waf_rule_group.go +++ b/services/cdn/v1betaapi/model_waf_rule_group.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ diff --git a/services/cdn/v1betaapi/model_waf_status_rule_block.go b/services/cdn/v1betaapi/model_waf_status_rule_block.go index a6d27f183..fcbc7322c 100644 --- a/services/cdn/v1betaapi/model_waf_status_rule_block.go +++ b/services/cdn/v1betaapi/model_waf_status_rule_block.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ diff --git a/services/cdn/v1betaapi/model_waf_type.go b/services/cdn/v1betaapi/model_waf_type.go index 69e1b903f..540a1842b 100644 --- a/services/cdn/v1betaapi/model_waf_type.go +++ b/services/cdn/v1betaapi/model_waf_type.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ @@ -15,7 +15,7 @@ import ( "fmt" ) -// WafType Enable or disable the Premium WAF. Do note that enabling the Premium WAF will cause additional fees. Some features are gated behind the Premium WAF, like additional, **premium-only rules** and the ability to create **custom rules** (not yet implemented) +// WafType Enable or disable the Premium WAF. Do note that enabling the Premium WAF will cause additional fees. Some features are gated behind the Premium WAF, like additional, **premium-only rules** and the ability to create **custom rules** (not yet implemented) type WafType string // List of WafType diff --git a/services/cdn/v1betaapi/model_waf_violation.go b/services/cdn/v1betaapi/model_waf_violation.go index 9c0e42aeb..95614b340 100644 --- a/services/cdn/v1betaapi/model_waf_violation.go +++ b/services/cdn/v1betaapi/model_waf_violation.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ diff --git a/services/cdn/v1betaapi/response.go b/services/cdn/v1betaapi/response.go index 10fa31dfb..17dd8739d 100644 --- a/services/cdn/v1betaapi/response.go +++ b/services/cdn/v1betaapi/response.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */ diff --git a/services/cdn/v1betaapi/utils.go b/services/cdn/v1betaapi/utils.go index 9d34cb8b0..0f093c23f 100644 --- a/services/cdn/v1betaapi/utils.go +++ b/services/cdn/v1betaapi/utils.go @@ -1,7 +1,7 @@ /* -STACKIT CDN API +STACKIT CDN API (DEPRECATED) -API used to create and manage your CDN distributions. +**DEPRECATED:** This API version (1beta.0.0) is deprecated. Please migrate to the version (v1). API used to create and manage your CDN distributions. API version: 1beta.0.0 */