Skip to content

Generator: Update SDK /services/cdn#4944

Merged
cgoetz-inovex merged 4 commits intomainfrom
oas-bot-22053715448/cdn
Feb 16, 2026
Merged

Generator: Update SDK /services/cdn#4944
cgoetz-inovex merged 4 commits intomainfrom
oas-bot-22053715448/cdn

Conversation

@stackit-pipeline
Copy link
Contributor

@stackit-pipeline stackit-pipeline commented Feb 16, 2026

Generated from GitHub run 22053715448
spec comparison:

Comparing cdn-pr/main & cdn-pr/oas-bot-22053715448/cdn

file list

@@ -46,25 +46,29 @@
 model_http_backend_patch.go
 model_list_distributions_response.go
 model_list_waf_collections_response.go
 model_loki_log_sink.go
 model_loki_log_sink_create.go
 model_loki_log_sink_credentials.go
 model_loki_log_sink_patch.go
+model_match_condition.go
+model_matcher.go
 model_optimizer.go
 model_optimizer_patch.go
 model_patch_distribution_payload.go
 model_patch_distribution_response.go
 model_purge_cache_payload.go
 model_put_custom_domain_custom_certificate.go
 model_put_custom_domain_managed_certificate.go
 model_put_custom_domain_payload.go
 model_put_custom_domain_payload_certificate.go
 model_put_custom_domain_response.go
 model_put_custom_domain_response_certificate.go
+model_redirect_config.go
+model_redirect_rule.go
 model_region.go
 model_status_error.go
 model_waf_config.go
 model_waf_config_patch.go
 model_waf_mode.go
 model_waf_paranoia_level.go
 model_waf_rule.go

Comparing cdn-pr/main/model_config.go & cdn-pr/oas-bot-22053715448/cdn/model_config.go

@@ -9,12 +9,13 @@
 	BlockedIps ConfigGetBlockedIpsAttributeType `json:"blockedIps" required:"true"`
 	// 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 ConfigGetDefaultCacheDurationAttributeType `json:"defaultCacheDuration,omitempty"`
 	LogSink              ConfigGetLogSinkAttributeType              `json:"logSink,omitempty"`
 	// Sets the monthly limit of bandwidth in bytes that the pullzone is allowed to use.
 	MonthlyLimitBytes ConfigGetMonthlyLimitBytesAttributeType `json:"monthlyLimitBytes,omitempty"`
 	Optimizer         ConfigGetOptimizerAttributeType         `json:"optimizer,omitempty"`
+	Redirects         ConfigGetRedirectsAttributeType         `json:"redirects,omitempty"`
 	// REQUIRED
 	Regions ConfigGetRegionsAttributeType `json:"regions" required:"true"`
 	// REQUIRED
 	Waf ConfigGetWafAttributeType `json:"waf" required:"true"`
 }

services/cdn/model_config.go:type ConfigGetRedirectsAttributeType = *RedirectConfig

Comparing cdn-pr/main/model_config_patch.go & cdn-pr/oas-bot-22053715448/cdn/model_config_patch.go

@@ -6,10 +6,11 @@
 	BlockedIps ConfigPatchGetBlockedIpsAttributeType `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)
 	DefaultCacheDuration ConfigPatchGetDefaultCacheDurationAttributeType `json:"defaultCacheDuration,omitempty"`
 	LogSink              ConfigPatchGetLogSinkAttributeType              `json:"logSink,omitempty"`
 	// Sets the monthly limit of bandwidth in bytes that the pullzone is allowed to use.
 	MonthlyLimitBytes ConfigPatchGetMonthlyLimitBytesAttributeType `json:"monthlyLimitBytes,omitempty"`
 	Optimizer         ConfigPatchGetOptimizerAttributeType         `json:"optimizer,omitempty"`
+	Redirects         ConfigPatchGetRedirectsAttributeType         `json:"redirects,omitempty"`
 	Regions           ConfigPatchGetRegionsAttributeType           `json:"regions,omitempty"`
 	Waf               ConfigPatchGetWafAttributeType               `json:"waf,omitempty"`
 }

services/cdn/model_config_patch.go:type ConfigPatchGetRedirectsAttributeType = *RedirectConfig

Comparing cdn-pr/main/model_create_distribution_payload.go & cdn-pr/oas-bot-22053715448/cdn/model_create_distribution_payload.go

@@ -9,12 +9,13 @@[type_aliases.txt](oas-bot-22053715448/cdn/type_aliases.txt)
 	DefaultCacheDuration CreateDistributionPayloadGetDefaultCacheDurationAttributeType `json:"defaultCacheDuration,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.
 	IntentId CreateDistributionPayloadGetIntentIdAttributeType `json:"intentId,omitempty"`
 	LogSink  CreateDistributionPayloadGetLogSinkAttributeType  `json:"logSink,omitempty"`
 	// Sets the monthly limit of bandwidth in bytes that the pullzone is allowed to use.
 	MonthlyLimitBytes CreateDistributionPayloadGetMonthlyLimitBytesAttributeType `json:"monthlyLimitBytes,omitempty"`
 	Optimizer         CreateDistributionPayloadGetOptimizerAttributeType         `json:"optimizer,omitempty"`
+	Redirects         CreateDistributionPayloadGetRedirectsAttributeType         `json:"redirects,omitempty"`
 	// Define in which regions you would like your content to be cached.
 	// REQUIRED
 	Regions CreateDistributionPayloadGetRegionsAttributeType `json:"regions" required:"true"`
 	Waf     CreateDistributionPayloadGetWafAttributeType     `json:"waf,omitempty"`
 }

services/cdn/model_create_distribution_payload.go:type CreateDistributionPayloadGetRedirectsAttributeType = *RedirectConfig

Comparing /dev/null & cdn-pr/oas-bot-22053715448/cdn/model_match_condition.go

@@ -0,0 +1 @@
+type MatchCondition string

Comparing /dev/null & cdn-pr/oas-bot-22053715448/cdn/model_matcher.go

@@ -0,0 +1,6 @@
+type Matcher struct {
+	ValueMatchCondition MatcherGetValueMatchConditionAttributeType `json:"valueMatchCondition,omitempty"`
+	// A list of glob patterns to match against the request path. At least one value is required. Examples: \"/shop/_*\" or \"*_/img/_*\"
+	// REQUIRED
+	Values MatcherGetValuesAttributeType `json:"values" required:"true"`
+}

services/cdn/model_matcher.go:type MatcherGetValueMatchConditionAttributeType = *MatchCondition

Comparing /dev/null & cdn-pr/oas-bot-22053715448/cdn/model_redirect_config.go

@@ -0,0 +1,4 @@
+type RedirectConfig struct {
+	// A list of redirect rules. The order of rules matters for evaluation.
+	Rules RedirectConfigGetRulesAttributeType `json:"rules,omitempty"`
+}

services/cdn/model_redirect_config.go:type RedirectConfigGetRulesAttributeType = *[]RedirectRule

Comparing /dev/null & cdn-pr/oas-bot-22053715448/cdn/model_redirect_rule.go

@@ -0,0 +1,17 @@
+type RedirectRule struct {
+	// An optional description for the redirect rule.
+	Description RedirectRuleGetDescriptionAttributeType `json:"description,omitempty"`
+	// A toggle to enable or disable the redirect rule.
+	Enabled RedirectRulegetEnabledAttributeType `json:"enabled,omitempty"`
+	// A list of matchers that define when this rule should apply. At least one matcher is required.
+	// REQUIRED
+	Matchers           RedirectRuleGetMatchersAttributeType           `json:"matchers" required:"true"`
+	RuleMatchCondition RedirectRuleGetRuleMatchConditionAttributeType `json:"ruleMatchCondition,omitempty"`
+	// The HTTP status code for the redirect. Must be one of 301, 302, 303, 307, or 308.
+	// Can be cast to int32 without loss of precision.
+	// REQUIRED
+	StatusCode RedirectRuleGetStatusCodeAttributeType `json:"statusCode" required:"true"`
+	// The target URL to redirect to. Must be a valid URI.
+	// REQUIRED
+	TargetUrl RedirectRuleGetTargetUrlAttributeType `json:"targetUrl" required:"true"`
+}

services/cdn/model_redirect_rule.go:type RedirectRuleGetMatchersAttributeType = *[]Matcher

@stackit-pipeline stackit-pipeline requested a review from a team as a code owner February 16, 2026 07:26
@cgoetz-inovex cgoetz-inovex enabled auto-merge (squash) February 16, 2026 13:35
@cgoetz-inovex cgoetz-inovex merged commit 43d553f into main Feb 16, 2026
12 checks passed
@cgoetz-inovex cgoetz-inovex deleted the oas-bot-22053715448/cdn branch February 16, 2026 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants