diff --git a/go.work b/go.work index 826b0f03..c899ec70 100644 --- a/go.work +++ b/go.work @@ -1,4 +1,4 @@ -go 1.26.0 +go 1.26.10 use ( ./provider diff --git a/go.work.sum b/go.work.sum index f8ad0280..59fdad4f 100644 --- a/go.work.sum +++ b/go.work.sum @@ -1267,6 +1267,8 @@ golang.org/x/telemetry v0.0.0-20260708182218-49f421fb7959 h1:RJhm5l6Fo4rmEIcndxD golang.org/x/telemetry v0.0.0-20260708182218-49f421fb7959/go.mod h1:LV7u5Oco+Z/g6XI7PqN+EUUUGGkEcmB1uj2ceI0fOVg= golang.org/x/telemetry v0.0.0-20260811182544-a038080d80e5 h1:ZUSxONxc981v7AW7QUg+I9WwZzSTTJ019ENBYr5pV/Q= golang.org/x/telemetry v0.0.0-20260811182544-a038080d80e5/go.mod h1:LVehoXe41cL5SCVQilsV7Gg6BNG+Js6P9PhSbYTIUkQ= +golang.org/x/telemetry v0.0.0-20260924152758-ed294f943157 h1:DftxASHKl6JolFPqoN+2WrFO53JvkHwRXvFqf8gsivA= +golang.org/x/telemetry v0.0.0-20260924152758-ed294f943157/go.mod h1:i+ivNqjDnTF3WTElsdk5g9V5DTSBYgdNo7xTU9SDwYA= golang.org/x/text v0.23.0/go.mod h1:/BLNzu4aZCJ1+kcD0DNRotWKage4q2rGVAg4o22unh4= golang.org/x/text v0.28.0/go.mod h1:U8nCwOR8jO/marOQ0QbDiOngZVEBB7MAiitBuMjXiNU= golang.org/x/text v0.31.0/go.mod h1:tKRAlv61yKIjGGHX/4tP1LTbc13YSec1pxVEWXzfoeM= diff --git a/provider/cmd/pulumi-resource-stackit/bridge-metadata.json b/provider/cmd/pulumi-resource-stackit/bridge-metadata.json index 8476b07b..31907056 100644 --- a/provider/cmd/pulumi-resource-stackit/bridge-metadata.json +++ b/provider/cmd/pulumi-resource-stackit/bridge-metadata.json @@ -189,6 +189,16 @@ "blocked_ips": { "maxItemsOne": false }, + "cache_config": { + "fields": { + "cache_key_headers": { + "maxItemsOne": false + }, + "query_string_vary_parameters": { + "maxItemsOne": false + } + } + }, "redirects": { "fields": { "rules": { @@ -1290,6 +1300,16 @@ "blocked_ips": { "maxItemsOne": false }, + "cache_config": { + "fields": { + "cache_key_headers": { + "maxItemsOne": false + }, + "query_string_vary_parameters": { + "maxItemsOne": false + } + } + }, "redirects": { "fields": { "rules": { @@ -1636,6 +1656,14 @@ } } }, + "stackit_networks": { + "current": "stackit:index/getNetworks:getNetworks", + "fields": { + "results": { + "maxItemsOne": false + } + } + }, "stackit_objectstorage_bucket": { "current": "stackit:index/getObjectstorageBucket:getObjectstorageBucket" }, diff --git a/provider/cmd/pulumi-resource-stackit/schema.json b/provider/cmd/pulumi-resource-stackit/schema.json index db85e3ec..c2d7262c 100644 --- a/provider/cmd/pulumi-resource-stackit/schema.json +++ b/provider/cmd/pulumi-resource-stackit/schema.json @@ -1039,6 +1039,10 @@ }, "description": "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. Note: once a value is set, removing the attribute from your configuration will retain the last known value in state; to clear it explicitly, set it to an empty list.\n" }, + "cacheConfig": { + "$ref": "#/types/stackit:index/CdnDistributionConfigCacheConfig:CdnDistributionConfigCacheConfig", + "description": "Groups the cache options that influence how the CDN builds its cache key. Warning: enabling query-string vary produces one cache entry per unique query-string combination (unbounded when query*string*vary*parameters is empty). Each entry in cache*key*headers multiplies the number of cache variants by the number of distinct values observed for that header. Use these settings sparingly.\n" + }, "defaultCacheDuration": { "type": "string", "description": "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). Note: once a value is set, removing the attribute from your configuration will retain the last known value in state.\n" @@ -1090,6 +1094,7 @@ "backend", "blockedCountries", "blockedIps", + "cacheConfig", "defaultCacheDuration", "forwardHostHeader", "monthlyLimitBytes", @@ -1166,6 +1171,38 @@ "secretAccessKey" ] }, + "stackit:index/CdnDistributionConfigCacheConfig:CdnDistributionConfigCacheConfig": { + "properties": { + "cacheKeyHeaders": { + "type": "array", + "items": { + "type": "string" + }, + "description": "HTTP request header names whose values participate in the cache key. Each entry multiplies the number of cache variants by the number of distinct values observed for that header.\n" + }, + "queryStringVaryEnabled": { + "type": "boolean", + "description": "When true, the CDN varies its cache by the request query string. If query*string*vary_parameters is empty, every unique query-string combination produces its own cache entry; if non-empty, only the listed parameters influence the cache key.\n" + }, + "queryStringVaryParameters": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Allowlist of query-string parameter names that participate in the cache key when query*string*vary*enabled is true. Ignored while query*string*vary*enabled is false, but still stored so it can be re-activated without losing the list.\n" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "cacheKeyHeaders", + "queryStringVaryEnabled", + "queryStringVaryParameters" + ] + } + } + }, "stackit:index/CdnDistributionConfigOptimizer:CdnDistributionConfigOptimizer": { "properties": { "enabled": { @@ -6083,6 +6120,10 @@ }, "description": "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. Note: once a value is set, removing the attribute from your configuration will retain the last known value in state; to clear it explicitly, set it to an empty list.\n" }, + "cacheConfig": { + "$ref": "#/types/stackit:index/getCdnDistributionConfigCacheConfig:getCdnDistributionConfigCacheConfig", + "description": "Groups the cache options that influence how the CDN builds its cache key. Warning: enabling query-string vary produces one cache entry per unique query-string combination (unbounded when query*string*vary*parameters is empty). Each entry in cache*key*headers multiplies the number of cache variants by the number of distinct values observed for that header. Use these settings sparingly.\n" + }, "defaultCacheDuration": { "type": "string", "description": "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). Note: once a value is set, removing the attribute from your configuration will retain the last known value in state.\n" @@ -6127,6 +6168,7 @@ "required": [ "backend", "blockedIps", + "cacheConfig", "defaultCacheDuration", "forwardHostHeader", "monthlyLimitBytes", @@ -6194,6 +6236,39 @@ } } }, + "stackit:index/getCdnDistributionConfigCacheConfig:getCdnDistributionConfigCacheConfig": { + "properties": { + "cacheKeyHeaders": { + "type": "array", + "items": { + "type": "string" + }, + "description": "HTTP request header names whose values participate in the cache key. Each entry multiplies the number of cache variants by the number of distinct values observed for that header.\n" + }, + "queryStringVaryEnabled": { + "type": "boolean", + "description": "When true, the CDN varies its cache by the request query string. If query*string*vary_parameters is empty, every unique query-string combination produces its own cache entry; if non-empty, only the listed parameters influence the cache key.\n" + }, + "queryStringVaryParameters": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Allowlist of query-string parameter names that participate in the cache key when query*string*vary*enabled is true. Ignored while query*string*vary*enabled is false, but still stored so it can be re-activated without losing the list.\n" + } + }, + "type": "object", + "required": [ + "cacheKeyHeaders", + "queryStringVaryEnabled", + "queryStringVaryParameters" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, "stackit:index/getCdnDistributionConfigOptimizer:getCdnDistributionConfigOptimizer": { "properties": { "enabled": { @@ -7932,6 +8007,28 @@ } } }, + "stackit:index/getNetworksResult:getNetworksResult": { + "properties": { + "name": { + "type": "string", + "description": "The name of the network.\n" + }, + "networkId": { + "type": "string", + "description": "The network ID.\n" + } + }, + "type": "object", + "required": [ + "name", + "networkId" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, "stackit:index/getObservabilityAlertgroupRule:getObservabilityAlertgroupRule": { "properties": { "alert": { @@ -13249,7 +13346,7 @@ } }, "stackit:index/cdnDistribution:CdnDistribution": { - "description": "CDN distribution data source schema.\n\n\u003e This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources.\n\n## Example Usage\n\n```terraform\nresource \"stackit_cdn_distribution\" \"example_distribution\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n config = {\n backend = {\n type = \"http\"\n origin_url = \"https://mybackend.onstackit.cloud\"\n geofencing = {\n \"https://mybackend.onstackit.cloud\" = [\"DE\"]\n }\n }\n regions = [\"EU\", \"US\", \"ASIA\", \"AF\", \"SA\"]\n blocked_countries = [\"DE\", \"AT\", \"CH\"]\n blocked_ips = [\"1.1.1.1\"]\n\n default_cache_duration = \"P1DT2H30M\"\n monthly_limit_bytes = 1048576\n\n optimizer = {\n enabled = true\n }\n }\n}\n\nresource \"stackit_cdn_distribution\" \"example_bucket_distribution\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n config = {\n backend = {\n type = \"bucket\"\n bucket_url = \"https://my-test.object.storage.eu01.onstackit.cloud\"\n region = \"eu01\"\n\n # Credentials are required for bucket backends\n # It is strongly recommended to use variables for secrets\n credentials = {\n access_key_id = var.bucket_access_key\n secret_access_key = var.bucket_secret_key\n }\n }\n regions = [\"EU\", \"US\"]\n blocked_countries = [\"CN\", \"RU\"]\n blocked_ips = [\"1.1.1.1\"]\n\n default_cache_duration = \"P1DT2H30M\"\n monthly_limit_bytes = 1048576\n\n optimizer = {\n enabled = false\n }\n\n redirects = {\n rules = [\n {\n description = \"test redirect\"\n enabled = true\n rule_match_condition = \"ANY\"\n status_code = 302\n target_url = \"https://stackit.de/\"\n matchers = [\n {\n values = [\"*/otherPath/\"]\n value_match_condition = \"ANY\"\n }\n ]\n }\n ]\n }\n\n tls = {\n enable_tls_10 = true\n enable_tls_11 = true\n }\n strip_response_cookies = true\n forward_host_header = true\n\n # WAF Configuration\n # \n # Precedence Hierarchy: Specific Rules \u003e Groups \u003e Collections\n # In this example, the entire \"@builtin/crs/request\" collection is ENABLED.\n # However, because specific Rule IDs have a higher precedence, the rule \n # \"@builtin/crs/request/942151\" is explicitly DISABLED, overriding the collection setting.\n # \n # To view all available collections, groups, and rules, consult the API documentation:\n # https://docs.api.eu01.stackit.cloud/documentation/cdn/version/v1#tag/WAF/operation/ListWafCollections\n waf = {\n mode = \"ENABLED\"\n type = \"PREMIUM\"\n paranoia_level = \"L1\"\n allowed_http_versions = [\"HTTP/1.0\", \"HTTP/1.1\"]\n allowed_http_methods = [\"GET\"]\n allowed_request_content_types = [\"text/plain\"]\n\n # Collections\n enabled_rule_collection_ids = [\"@builtin/crs/request\"]\n disabled_rule_collection_ids = []\n log_only_rule_collection_ids = [\"@builtin/crs/response\"]\n\n # Groups\n enabled_rule_group_ids = []\n disabled_rule_group_ids = []\n log_only_rule_group_ids = []\n\n # Specific Rules (Highest Precedence)\n enabled_rule_ids = [\"@builtin/crs/request/913100\"]\n disabled_rule_ids = [\"@builtin/crs/request/942151\"]\n log_only_rule_ids = [\"@builtin/crs/response/954120\"]\n }\n }\n}\n```\n\n## Import\n\nIn Terraform v1.5.0 and later, the ` + \"`\" + \u003cspan pulumi-lang-nodejs=\"`import`\" pulumi-lang-dotnet=\"`Import`\" pulumi-lang-go=\"`import`\" pulumi-lang-python=\"`import`\" pulumi-lang-yaml=\"`import`\" pulumi-lang-java=\"`import`\"\u003e`import`\u003c/span\u003e + \"`\" + ` block can be used with the ` + \"`\" + \u003cspan pulumi-lang-nodejs=\"`id`\" pulumi-lang-dotnet=\"`Id`\" pulumi-lang-go=\"`id`\" pulumi-lang-python=\"`id`\" pulumi-lang-yaml=\"`id`\" pulumi-lang-java=\"`id`\"\u003e`id`\u003c/span\u003e + \"`\" + ` attribute, for example:\n\n```terraform\n# Only use the import statement, if you want to import an existing cdn distribution\nimport {\n to = stackit_cdn_distribution.import-example\n id = \"${var.project_id},${var.distribution_id}\"\n}\n```\n\n", + "description": "CDN distribution data source schema.\n\n\u003e This resource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources.\n\n## Example Usage\n\n```terraform\nresource \"stackit_cdn_distribution\" \"example_distribution\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n config = {\n backend = {\n type = \"http\"\n origin_url = \"https://mybackend.onstackit.cloud\"\n geofencing = {\n \"https://mybackend.onstackit.cloud\" = [\"DE\"]\n }\n }\n regions = [\"EU\", \"US\", \"ASIA\", \"AF\", \"SA\"]\n blocked_countries = [\"DE\", \"AT\", \"CH\"]\n blocked_ips = [\"1.1.1.1\"]\n\n default_cache_duration = \"P1DT2H30M\"\n monthly_limit_bytes = 1048576\n\n optimizer = {\n enabled = true\n }\n\n cache_config = {\n cache_key_headers = [\"Accept-Language\"]\n query_string_vary_enabled = true\n query_string_vary_parameters = [\"page\", \"sort\"]\n }\n }\n}\n\nresource \"stackit_cdn_distribution\" \"example_bucket_distribution\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n config = {\n backend = {\n type = \"bucket\"\n bucket_url = \"https://my-test.object.storage.eu01.onstackit.cloud\"\n region = \"eu01\"\n\n # Credentials are required for bucket backends\n # It is strongly recommended to use variables for secrets\n credentials = {\n access_key_id = var.bucket_access_key\n secret_access_key = var.bucket_secret_key\n }\n }\n regions = [\"EU\", \"US\"]\n blocked_countries = [\"CN\", \"RU\"]\n blocked_ips = [\"1.1.1.1\"]\n\n default_cache_duration = \"P1DT2H30M\"\n monthly_limit_bytes = 1048576\n\n optimizer = {\n enabled = false\n }\n\n redirects = {\n rules = [\n {\n description = \"test redirect\"\n enabled = true\n rule_match_condition = \"ANY\"\n status_code = 302\n target_url = \"https://stackit.de/\"\n matchers = [\n {\n values = [\"*/otherPath/\"]\n value_match_condition = \"ANY\"\n }\n ]\n }\n ]\n }\n\n tls = {\n enable_tls_10 = true\n enable_tls_11 = true\n }\n strip_response_cookies = true\n forward_host_header = true\n\n # WAF Configuration\n # \n # Precedence Hierarchy: Specific Rules \u003e Groups \u003e Collections\n # In this example, the entire \"@builtin/crs/request\" collection is ENABLED.\n # However, because specific Rule IDs have a higher precedence, the rule \n # \"@builtin/crs/request/942151\" is explicitly DISABLED, overriding the collection setting.\n # \n # To view all available collections, groups, and rules, consult the API documentation:\n # https://docs.api.eu01.stackit.cloud/documentation/cdn/version/v1#tag/WAF/operation/ListWafCollections\n waf = {\n mode = \"ENABLED\"\n type = \"PREMIUM\"\n paranoia_level = \"L1\"\n allowed_http_versions = [\"HTTP/1.0\", \"HTTP/1.1\"]\n allowed_http_methods = [\"GET\"]\n allowed_request_content_types = [\"text/plain\"]\n\n # Collections\n enabled_rule_collection_ids = [\"@builtin/crs/request\"]\n disabled_rule_collection_ids = []\n log_only_rule_collection_ids = [\"@builtin/crs/response\"]\n\n # Groups\n enabled_rule_group_ids = []\n disabled_rule_group_ids = []\n log_only_rule_group_ids = []\n\n # Specific Rules (Highest Precedence)\n enabled_rule_ids = [\"@builtin/crs/request/913100\"]\n disabled_rule_ids = [\"@builtin/crs/request/942151\"]\n log_only_rule_ids = [\"@builtin/crs/response/954120\"]\n }\n }\n}\n```\n\n## Import\n\nIn Terraform v1.5.0 and later, the ` + \"`\" + \u003cspan pulumi-lang-nodejs=\"`import`\" pulumi-lang-dotnet=\"`Import`\" pulumi-lang-go=\"`import`\" pulumi-lang-python=\"`import`\" pulumi-lang-yaml=\"`import`\" pulumi-lang-java=\"`import`\"\u003e`import`\u003c/span\u003e + \"`\" + ` block can be used with the ` + \"`\" + \u003cspan pulumi-lang-nodejs=\"`id`\" pulumi-lang-dotnet=\"`Id`\" pulumi-lang-go=\"`id`\" pulumi-lang-python=\"`id`\" pulumi-lang-yaml=\"`id`\" pulumi-lang-java=\"`id`\"\u003e`id`\u003c/span\u003e + \"`\" + ` attribute, for example:\n\n```terraform\n# Only use the import statement, if you want to import an existing cdn distribution\nimport {\n to = stackit_cdn_distribution.import-example\n id = \"${var.project_id},${var.distribution_id}\"\n}\n```\n\n", "properties": { "config": { "$ref": "#/types/stackit:index/CdnDistributionConfig:CdnDistributionConfig", @@ -31059,6 +31156,56 @@ ] } }, + "stackit:index/getNetworks:getNetworks": { + "description": "Lists all IaaS networks in a project and region. Results are sorted by image ID.\n\n\u003e This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources.\n\n## Example Usage\n\n```terraform\ndata \"stackit_networks\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n}\n```\n", + "inputs": { + "description": "A collection of arguments for invoking getNetworks.\n", + "properties": { + "projectId": { + "type": "string", + "description": "STACKIT project ID to which the networks are associated.\n" + }, + "region": { + "type": "string", + "description": "The resource region. If not defined, the provider region is used.\n" + } + }, + "type": "object", + "required": [ + "projectId" + ] + }, + "outputs": { + "description": "A collection of values returned by getNetworks.\n", + "properties": { + "id": { + "type": "string", + "description": "Terraform's internal resource ID. It is structured as \"\u003cspan pulumi-lang-nodejs=\"`projectId`\" pulumi-lang-dotnet=\"`ProjectId`\" pulumi-lang-go=\"`projectId`\" pulumi-lang-python=\"`project_id`\" pulumi-lang-yaml=\"`projectId`\" pulumi-lang-java=\"`projectId`\"\u003e`projectId`\u003c/span\u003e,\u003cspan pulumi-lang-nodejs=\"`region`\" pulumi-lang-dotnet=\"`Region`\" pulumi-lang-go=\"`region`\" pulumi-lang-python=\"`region`\" pulumi-lang-yaml=\"`region`\" pulumi-lang-java=\"`region`\"\u003e`region`\u003c/span\u003e\".\n" + }, + "projectId": { + "type": "string", + "description": "STACKIT project ID to which the networks are associated.\n" + }, + "region": { + "type": "string", + "description": "The resource region. If not defined, the provider region is used.\n" + }, + "results": { + "type": "array", + "items": { + "$ref": "#/types/stackit:index/getNetworksResult:getNetworksResult" + }, + "description": "List of networks.\n" + } + }, + "type": "object", + "required": [ + "id", + "projectId", + "results" + ] + } + }, "stackit:index/getObjectstorageBucket:getObjectstorageBucket": { "description": "ObjectStorage bucket data source schema. Must have a \u003cspan pulumi-lang-nodejs=\"`region`\" pulumi-lang-dotnet=\"`Region`\" pulumi-lang-go=\"`region`\" pulumi-lang-python=\"`region`\" pulumi-lang-yaml=\"`region`\" pulumi-lang-java=\"`region`\"\u003e`region`\u003c/span\u003e specified in the provider configuration.\n\n## Example Usage\n\n```terraform\ndata \"stackit_objectstorage_bucket\" \"example\" {\n project_id = \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n name = \"example-name\"\n}\n```\n", "inputs": { diff --git a/provider/go.mod b/provider/go.mod index 888f9217..6b30618f 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -1,6 +1,6 @@ module github.com/stackitcloud/pulumi-stackit/provider -go 1.26.0 +go 1.26.10 replace github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20260318212141-5525259d096b @@ -198,20 +198,20 @@ require ( github.com/spf13/pflag v1.0.10 // indirect github.com/spiffe/go-spiffe/v2 v2.7.0 // indirect github.com/stackitcloud/stackit-sdk-go/core v0.27.1 // indirect - github.com/stackitcloud/stackit-sdk-go/services/alb v0.18.0 // indirect - github.com/stackitcloud/stackit-sdk-go/services/albwaf v0.13.4 // indirect + github.com/stackitcloud/stackit-sdk-go/services/alb v0.19.0 // indirect + github.com/stackitcloud/stackit-sdk-go/services/albwaf v0.13.5 // indirect github.com/stackitcloud/stackit-sdk-go/services/authorization v0.16.0 // indirect github.com/stackitcloud/stackit-sdk-go/services/automation v0.2.1 // indirect - github.com/stackitcloud/stackit-sdk-go/services/cdn v1.21.0 // indirect - github.com/stackitcloud/stackit-sdk-go/services/certificates v1.9.2 // indirect + github.com/stackitcloud/stackit-sdk-go/services/cdn v1.22.0 // indirect + github.com/stackitcloud/stackit-sdk-go/services/certificates v1.10.0 // indirect github.com/stackitcloud/stackit-sdk-go/services/dns v0.25.0 // indirect - github.com/stackitcloud/stackit-sdk-go/services/dremio v0.6.1 // indirect - github.com/stackitcloud/stackit-sdk-go/services/edge v0.13.2 // indirect + github.com/stackitcloud/stackit-sdk-go/services/dremio v0.7.0 // indirect + github.com/stackitcloud/stackit-sdk-go/services/edge v0.14.0 // indirect github.com/stackitcloud/stackit-sdk-go/services/git v0.15.0 // indirect - github.com/stackitcloud/stackit-sdk-go/services/iaas v1.15.0 // indirect + github.com/stackitcloud/stackit-sdk-go/services/iaas v1.15.1 // indirect github.com/stackitcloud/stackit-sdk-go/services/intake v0.12.0 // indirect github.com/stackitcloud/stackit-sdk-go/services/kms v1.14.0 // indirect - github.com/stackitcloud/stackit-sdk-go/services/loadbalancer v1.15.2 // indirect + github.com/stackitcloud/stackit-sdk-go/services/loadbalancer v1.16.0 // indirect github.com/stackitcloud/stackit-sdk-go/services/logme v1.5.0 // indirect github.com/stackitcloud/stackit-sdk-go/services/logs v0.11.0 // indirect github.com/stackitcloud/stackit-sdk-go/services/mariadb v1.4.0 // indirect @@ -221,24 +221,24 @@ require ( github.com/stackitcloud/stackit-sdk-go/services/objectstorage v1.12.0 // indirect github.com/stackitcloud/stackit-sdk-go/services/observability v0.26.0 // indirect github.com/stackitcloud/stackit-sdk-go/services/opensearch v1.5.0 // indirect - github.com/stackitcloud/stackit-sdk-go/services/postgresflex v1.15.0 // indirect + github.com/stackitcloud/stackit-sdk-go/services/postgresflex v1.16.0 // indirect github.com/stackitcloud/stackit-sdk-go/services/rabbitmq v1.5.0 // indirect github.com/stackitcloud/stackit-sdk-go/services/redis v1.6.0 // indirect - github.com/stackitcloud/stackit-sdk-go/services/resourcemanager v0.26.1 // indirect - github.com/stackitcloud/stackit-sdk-go/services/scf v0.10.2 // indirect + github.com/stackitcloud/stackit-sdk-go/services/resourcemanager v0.27.0 // indirect + github.com/stackitcloud/stackit-sdk-go/services/scf v0.11.0 // indirect github.com/stackitcloud/stackit-sdk-go/services/secretsmanager v0.20.0 // indirect github.com/stackitcloud/stackit-sdk-go/services/serverbackup v1.8.0 // indirect github.com/stackitcloud/stackit-sdk-go/services/serverupdate v1.6.0 // indirect - github.com/stackitcloud/stackit-sdk-go/services/serviceaccount v0.21.1 // indirect + github.com/stackitcloud/stackit-sdk-go/services/serviceaccount v0.22.0 // indirect github.com/stackitcloud/stackit-sdk-go/services/serviceenablement v1.8.0 // indirect - github.com/stackitcloud/stackit-sdk-go/services/sfs v0.12.0 // indirect - github.com/stackitcloud/stackit-sdk-go/services/ske v1.21.2 // indirect + github.com/stackitcloud/stackit-sdk-go/services/sfs v0.13.0 // indirect + github.com/stackitcloud/stackit-sdk-go/services/ske v1.22.0 // indirect github.com/stackitcloud/stackit-sdk-go/services/sqlserverflex v1.19.0 // indirect github.com/stackitcloud/stackit-sdk-go/services/telemetrylink v0.6.0 // indirect github.com/stackitcloud/stackit-sdk-go/services/telemetryrouter v0.6.1 // indirect github.com/stackitcloud/stackit-sdk-go/services/valkey v0.4.0 // indirect - github.com/stackitcloud/stackit-sdk-go/services/vpn v0.15.2 // indirect - github.com/stackitcloud/terraform-provider-stackit v0.120.0 // indirect + github.com/stackitcloud/stackit-sdk-go/services/vpn v0.15.3 // indirect + github.com/stackitcloud/terraform-provider-stackit v0.121.0 // indirect github.com/stretchr/objx v0.5.2 // indirect github.com/teambition/rrule-go v1.8.2 // indirect github.com/teekennedy/goldmark-markdown v0.3.0 // indirect @@ -270,17 +270,17 @@ require ( go.opentelemetry.io/proto/otlp v1.11.0 // indirect go.uber.org/atomic v1.11.0 // indirect go.uber.org/multierr v1.11.0 // indirect - golang.org/x/crypto v0.55.0 // indirect + golang.org/x/crypto v0.57.0 // indirect golang.org/x/exp v0.0.0-20260410095643-746e56fc9e2f // indirect - golang.org/x/mod v0.41.0 // indirect - golang.org/x/net v0.58.0 // indirect + golang.org/x/mod v0.42.0 // indirect + golang.org/x/net v0.59.0 // indirect golang.org/x/oauth2 v0.36.0 // indirect golang.org/x/sync v0.24.0 // indirect - golang.org/x/sys v0.47.0 // indirect - golang.org/x/term v0.45.0 // indirect - golang.org/x/text v0.41.0 // indirect + golang.org/x/sys v0.48.0 // indirect + golang.org/x/term v0.46.0 // indirect + golang.org/x/text v0.42.0 // indirect golang.org/x/time v0.15.0 // indirect - golang.org/x/tools v0.49.0 // indirect + golang.org/x/tools v0.51.0 // indirect google.golang.org/api v0.271.0 // indirect google.golang.org/appengine v1.6.8 // indirect google.golang.org/genproto v0.0.0-20260128011058-8636f8732409 // indirect diff --git a/provider/go.sum b/provider/go.sum index 6cefff6b..ff8dd71e 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -652,34 +652,34 @@ github.com/stackitcloud/pulumi-stackit/provider/shim v0.0.8 h1:mJgTVMpWaaRZ1lEnn github.com/stackitcloud/pulumi-stackit/provider/shim v0.0.8/go.mod h1:80RhA8fAxG5UXTc/r7A/WtBjM9uOzUjegjmepchPX0c= github.com/stackitcloud/stackit-sdk-go/core v0.27.1 h1:k7SrqqMoHjkvHbx6n6nV3Lt51itp8nNplht6vGHkPhw= github.com/stackitcloud/stackit-sdk-go/core v0.27.1/go.mod h1:WU1hhxnjXw2EV7CYa1nlEvNpMiRY6CvmIOaHuL3pOaA= -github.com/stackitcloud/stackit-sdk-go/services/alb v0.18.0 h1:xJJS4REIKMn31Agzsb7Tdmr0B/yg1cuetx8lKhzWdw8= -github.com/stackitcloud/stackit-sdk-go/services/alb v0.18.0/go.mod h1:zEx3JFbwg1VLB9uKa2P4BA2DdypghX1FT8mbJU+msjE= -github.com/stackitcloud/stackit-sdk-go/services/albwaf v0.13.4 h1:KNEcAPj66Asb00V7f6v3Ku2d6ybP8PL1IwFQubUuxc0= -github.com/stackitcloud/stackit-sdk-go/services/albwaf v0.13.4/go.mod h1:riXgEDfIjNdFjYk81zNnWt0npkv1+/P1iFRfFIt28Jo= +github.com/stackitcloud/stackit-sdk-go/services/alb v0.19.0 h1:+8CDG+6lWGoT0cLbjrBg4P2JMiZT+NymwaYFTxLsUTg= +github.com/stackitcloud/stackit-sdk-go/services/alb v0.19.0/go.mod h1:1BEa7Q0enW0oWZ3ibGdcYXOeadp0QUR8/A731mciQwU= +github.com/stackitcloud/stackit-sdk-go/services/albwaf v0.13.5 h1:/+dqndnOwG6sHYlUWShOfSoDjUX8iU+5DKIeFTKtCLQ= +github.com/stackitcloud/stackit-sdk-go/services/albwaf v0.13.5/go.mod h1:o6kIPueaI/+9K2XW5ENNkjGyu+euuLKlunr+xhXAS6Y= github.com/stackitcloud/stackit-sdk-go/services/authorization v0.16.0 h1:I4NJalm+y2hVk+NhK4nCW86U7i8kTkDqF89eFPReaxw= github.com/stackitcloud/stackit-sdk-go/services/authorization v0.16.0/go.mod h1:J8YJeYIUWqyAh7pFEjOCT/r/hIxQ5iLf9v4Wjr/f8mE= github.com/stackitcloud/stackit-sdk-go/services/automation v0.2.1 h1:VxYQ4fCkuZAnzsqKXTSMxG8KX/OlfOgKJ0heB0Rf9gw= github.com/stackitcloud/stackit-sdk-go/services/automation v0.2.1/go.mod h1:pDhpbmeDlthML6h4jyI7ZRGrG2C4Tx3aIGru5Ts6ISo= -github.com/stackitcloud/stackit-sdk-go/services/cdn v1.21.0 h1:lCs1eq/OOTdwGrrkxkJ8qCnS6yLM4XZhznpML3nd1NI= -github.com/stackitcloud/stackit-sdk-go/services/cdn v1.21.0/go.mod h1:NBgvZH5ekJ2hFCNI480C9MdJsa4989YGC1YgX5ELA48= -github.com/stackitcloud/stackit-sdk-go/services/certificates v1.9.2 h1:QEKzHzVwZ80mNdoEWEZxgynACnlPfXwIlVz9b7xceR4= -github.com/stackitcloud/stackit-sdk-go/services/certificates v1.9.2/go.mod h1:kKaS5zR+son/2J4PD05WFPDua3WtWii5tUAGHaXHE2E= +github.com/stackitcloud/stackit-sdk-go/services/cdn v1.22.0 h1:NyG5PvXB9+ldlKqbTfpp4YMb/Afg8LRDG5BIa+mBf+g= +github.com/stackitcloud/stackit-sdk-go/services/cdn v1.22.0/go.mod h1:sr7UP8YdI18bH+2mfpy9qjsDqcPQU/+YduqH1Zw2JgY= +github.com/stackitcloud/stackit-sdk-go/services/certificates v1.10.0 h1:tOEicEbpcGps3Qk0aIQjriaavVi2F3lfAYri6/bqYE8= +github.com/stackitcloud/stackit-sdk-go/services/certificates v1.10.0/go.mod h1:YWHyORsS+pcXi5u2ogjGLI+xzOmzK2aYNhHa6670ECQ= github.com/stackitcloud/stackit-sdk-go/services/dns v0.25.0 h1:Yn4etadrdEEPU8YcbvF7a/UExSqri+jUC62w62ic4N8= github.com/stackitcloud/stackit-sdk-go/services/dns v0.25.0/go.mod h1:D0iv6XBYkaEwTjbBeom0VTZnwQMfwb48FC8R2jRg80c= -github.com/stackitcloud/stackit-sdk-go/services/dremio v0.6.1 h1:F1ZQCctaRic4LFKcb+K0XkIlUm0a4Q+9Dd0WQbH2RYc= -github.com/stackitcloud/stackit-sdk-go/services/dremio v0.6.1/go.mod h1:pZThu6iKVN43NCoG5rHDPpDkct8EGlzfRtIh4oBxGVY= -github.com/stackitcloud/stackit-sdk-go/services/edge v0.13.2 h1:UDkXmgOAlP3y/u7FKp6/MaVxvSi38hNqnj1HytM6bU4= -github.com/stackitcloud/stackit-sdk-go/services/edge v0.13.2/go.mod h1:hlUcPvOgH/CzZqH7u4SwV81qiismCVAtvw5pTAf6si4= +github.com/stackitcloud/stackit-sdk-go/services/dremio v0.7.0 h1:jy1XL0Yzs/pd0rCeO3hIp17m2NBwpSeN9KCJEbuN25U= +github.com/stackitcloud/stackit-sdk-go/services/dremio v0.7.0/go.mod h1:ta3WjDUHzSeSJflD0O9S6OQIEFLWESLwifPGwrf1ST4= +github.com/stackitcloud/stackit-sdk-go/services/edge v0.14.0 h1:TTwlI34FUb0AisiApxKs5brGNP3Ma9cTvdmbxzNxs40= +github.com/stackitcloud/stackit-sdk-go/services/edge v0.14.0/go.mod h1:FBBnDsQns6SjJYQrox3YSY7ydOa4T8FR3sXNwFRTsPc= github.com/stackitcloud/stackit-sdk-go/services/git v0.15.0 h1:yQq0J3nhfQ2V9yLhkYFLQ7sH02WoZvwWnBsILpwinzI= github.com/stackitcloud/stackit-sdk-go/services/git v0.15.0/go.mod h1:om68OYj0xYfMuSLEP4v/bg/kgqcFS6xDVApZXHlWr5E= -github.com/stackitcloud/stackit-sdk-go/services/iaas v1.15.0 h1:DZEd4ORWEAu3/t92xLD7ah5gCshP+n5mOYxdOzdiZLc= -github.com/stackitcloud/stackit-sdk-go/services/iaas v1.15.0/go.mod h1:o6Mt/ZUB/3qvIwtu4B57m9IlyaUxAFS2Tu5XImiZxCE= +github.com/stackitcloud/stackit-sdk-go/services/iaas v1.15.1 h1:5D0ABveu3SZyB7DBkVJcCSS4fr1TiMmfdJA98TgDn/o= +github.com/stackitcloud/stackit-sdk-go/services/iaas v1.15.1/go.mod h1:o6Mt/ZUB/3qvIwtu4B57m9IlyaUxAFS2Tu5XImiZxCE= github.com/stackitcloud/stackit-sdk-go/services/intake v0.12.0 h1:1RDIGabA3U/kWrV0vkbkTof075liEHMdn39BsNwDI4k= github.com/stackitcloud/stackit-sdk-go/services/intake v0.12.0/go.mod h1:+v3VG6bXopAB2/uRz5yDXNFUwMSw0qJVRPxb3SDsACM= github.com/stackitcloud/stackit-sdk-go/services/kms v1.14.0 h1:6vZhGEIEqXUcs6pzpVNsHRAcskAVuKRq9lNMCMlYn+Q= github.com/stackitcloud/stackit-sdk-go/services/kms v1.14.0/go.mod h1:ZBXRYWP4Yz3Gn75VSFz2mfcLSOrDEbiCoGTIXonvXkA= -github.com/stackitcloud/stackit-sdk-go/services/loadbalancer v1.15.2 h1:a7zyn+0rRgaOTX+W9Ut037KckptGjNC978ArvsjKjfY= -github.com/stackitcloud/stackit-sdk-go/services/loadbalancer v1.15.2/go.mod h1:bG7b8OjvqSUf8MTjmkt/RW92YyYhkDgwZ0Z7Y6Evr+c= +github.com/stackitcloud/stackit-sdk-go/services/loadbalancer v1.16.0 h1:zcPGXu16E5NRp5ocF/0JTnm6AyAQmk61iqIlUpAbfgo= +github.com/stackitcloud/stackit-sdk-go/services/loadbalancer v1.16.0/go.mod h1:tVD3LmpowgML5U3imG9DdGAjhLmccibO92Ta7DPNfc0= github.com/stackitcloud/stackit-sdk-go/services/logme v1.5.0 h1:WFok0NMwTUTIZtClkYZW8M2mAkoQwyaIJD8hLltM+z8= github.com/stackitcloud/stackit-sdk-go/services/logme v1.5.0/go.mod h1:88EgGOZDYkw31BPtuQsqhh2yqzF9ZfoggsP/cYz7+O0= github.com/stackitcloud/stackit-sdk-go/services/logs v0.11.0 h1:EiBc3DCOuV/Wbnd1NBOCJlG9NuqODzWYsxXUFXjmLac= @@ -698,30 +698,30 @@ github.com/stackitcloud/stackit-sdk-go/services/observability v0.26.0 h1:Dh7vvXK github.com/stackitcloud/stackit-sdk-go/services/observability v0.26.0/go.mod h1:lj+MB0Etwg/ju8+I3otyU2b+qkghueCNdPuRd1DmBjc= github.com/stackitcloud/stackit-sdk-go/services/opensearch v1.5.0 h1:npcmkkVpOnEssjQoJ0yxwOXSNNtNA1+opxjuf8ZJ1DY= github.com/stackitcloud/stackit-sdk-go/services/opensearch v1.5.0/go.mod h1:MlGckwnH8wbYwGojF6lI5sEvjgz4PbRccfIS6YZf8wQ= -github.com/stackitcloud/stackit-sdk-go/services/postgresflex v1.15.0 h1:TSxUvRRMT8KsGatFGZsuqRWU05KDf2jmh5ZJ2MRsUXw= -github.com/stackitcloud/stackit-sdk-go/services/postgresflex v1.15.0/go.mod h1:7Ka8vrinx+DjCXv6lqCVZbIkDIbrzA4qrkNjXr6MUDM= +github.com/stackitcloud/stackit-sdk-go/services/postgresflex v1.16.0 h1:bWeC7GzQP/IddeO2FesXxRmRrkgVClU2YYaSz099nqk= +github.com/stackitcloud/stackit-sdk-go/services/postgresflex v1.16.0/go.mod h1:wOyEouBvYDu/5NMx//fJcRNlwWBspLod6aTVIRSj8jg= github.com/stackitcloud/stackit-sdk-go/services/rabbitmq v1.5.0 h1:SAro5TWVJDDyiqMwew9Ta1tMcItBmWrCRYErIQ9+UBI= github.com/stackitcloud/stackit-sdk-go/services/rabbitmq v1.5.0/go.mod h1:mjYkyr/A/+9rZnX5IOLEoAMFqHsRCIToZWpsYzYBwWo= github.com/stackitcloud/stackit-sdk-go/services/redis v1.6.0 h1:5UEPilI+RCuXEM8jm4ibREoZAsSAGI1+KnJ0oapye7Q= github.com/stackitcloud/stackit-sdk-go/services/redis v1.6.0/go.mod h1:/wE98YN+s1s1OcaEPt8Z2xO0Y46Gur3nXlg1AiiMNeY= -github.com/stackitcloud/stackit-sdk-go/services/resourcemanager v0.26.1 h1:6NHoXh6c/GQ7+CO03bszc09rnKCeP0dzMmyrnz6mkvs= -github.com/stackitcloud/stackit-sdk-go/services/resourcemanager v0.26.1/go.mod h1:IsId3wbkp5oaO0JEaHZpZnbVW6KFHlAptwB+1iG3v3w= -github.com/stackitcloud/stackit-sdk-go/services/scf v0.10.2 h1:I3e9uNohnuPExa2Sfd32nJs/yAfzDeiFwRuVG6z4YO8= -github.com/stackitcloud/stackit-sdk-go/services/scf v0.10.2/go.mod h1:94EZCBtxm85i/eS75GgdaQO0SDbM5bFWI6/EWBtSCQo= +github.com/stackitcloud/stackit-sdk-go/services/resourcemanager v0.27.0 h1:lZl9X/wl0tF+HufZiurUkYJmk4u6/Vz8/FkdgT3wA10= +github.com/stackitcloud/stackit-sdk-go/services/resourcemanager v0.27.0/go.mod h1:IsId3wbkp5oaO0JEaHZpZnbVW6KFHlAptwB+1iG3v3w= +github.com/stackitcloud/stackit-sdk-go/services/scf v0.11.0 h1:tdRyQFfGHFiXNhURdHSdesh7ym3y2R9A39B4ywj2Coc= +github.com/stackitcloud/stackit-sdk-go/services/scf v0.11.0/go.mod h1:SvwAqAKOa4ZSEsSypsFYb6KS9Kvuk8vL4DZw4mpY7b8= github.com/stackitcloud/stackit-sdk-go/services/secretsmanager v0.20.0 h1:D4/yjPk0GMbp5X96luY3wGEkFJ8RjfLJsIQhHh2ZdwI= github.com/stackitcloud/stackit-sdk-go/services/secretsmanager v0.20.0/go.mod h1:yV1dcbGaZfdzwcJqjsRNpZ4VVDsQETAAYj2/MCPr4RE= github.com/stackitcloud/stackit-sdk-go/services/serverbackup v1.8.0 h1:iFiKTlug6QfLtUAtPKcJe6NX4Jr9HZ84vJNgvra0Wew= github.com/stackitcloud/stackit-sdk-go/services/serverbackup v1.8.0/go.mod h1:VkF3N0fTP8zOztdeKEG0uoMuMp3larEqNB22fnvlA5M= github.com/stackitcloud/stackit-sdk-go/services/serverupdate v1.6.0 h1:X/LEJX8AfiOoKDf/pDLaZSzAxlDHzy+QIy4vD+TVeLc= github.com/stackitcloud/stackit-sdk-go/services/serverupdate v1.6.0/go.mod h1:z17c+hqIi6S5Op9Uk0FmxaeZIoN6and2AAV7P1viAqQ= -github.com/stackitcloud/stackit-sdk-go/services/serviceaccount v0.21.1 h1:GJn6tlJscVpdovN2lekb9R5dOZ1ynM9+gIVhEVsRCE0= -github.com/stackitcloud/stackit-sdk-go/services/serviceaccount v0.21.1/go.mod h1:f5RySI1PHkYlv2JWIfbTOBARwf/JR+iAs/qeoGiXAvU= +github.com/stackitcloud/stackit-sdk-go/services/serviceaccount v0.22.0 h1:rq1vDC6IXwRCDQI/XodL2KROn5YZxDoEBwKckVSVquY= +github.com/stackitcloud/stackit-sdk-go/services/serviceaccount v0.22.0/go.mod h1:f5RySI1PHkYlv2JWIfbTOBARwf/JR+iAs/qeoGiXAvU= github.com/stackitcloud/stackit-sdk-go/services/serviceenablement v1.8.0 h1:PsLXr7R/R/ceWIJOkist2B5chWm/Q34IgQd/dmhvWbQ= github.com/stackitcloud/stackit-sdk-go/services/serviceenablement v1.8.0/go.mod h1:izKsr/tJKDNPsgZ/LFQ2civLOICA75BKU06NNWgADIw= -github.com/stackitcloud/stackit-sdk-go/services/sfs v0.12.0 h1:mUiFjJfOGkqOl24v2+1D1NcJIq4f2EBztl7F/Yb4NcU= -github.com/stackitcloud/stackit-sdk-go/services/sfs v0.12.0/go.mod h1:QDhu6jIIgqgO7l/wAGlfUDHC4Q20vfyUifh3a0qT3W4= -github.com/stackitcloud/stackit-sdk-go/services/ske v1.21.2 h1:4ApmRQGkcf/G/h1s19QsqH/vqE3oqfrdG1J/3/40iEM= -github.com/stackitcloud/stackit-sdk-go/services/ske v1.21.2/go.mod h1:YYwFQNYrYUpa4FeT/6pxky8vp7E7pPy2F6+Ptf469hg= +github.com/stackitcloud/stackit-sdk-go/services/sfs v0.13.0 h1:vEgFb6+oSCg6pdUYWAGHsMwpSMeQd5cScBtIoAu6hJo= +github.com/stackitcloud/stackit-sdk-go/services/sfs v0.13.0/go.mod h1:QDhu6jIIgqgO7l/wAGlfUDHC4Q20vfyUifh3a0qT3W4= +github.com/stackitcloud/stackit-sdk-go/services/ske v1.22.0 h1:DNTwOlCLphNSr454IeqGo/eSIgxlajNzmx30gjyAdyk= +github.com/stackitcloud/stackit-sdk-go/services/ske v1.22.0/go.mod h1:MfP4FhM/g/2C1PREHFyB8oLPzZ9Lrewq9R7z70361F8= github.com/stackitcloud/stackit-sdk-go/services/sqlserverflex v1.19.0 h1:uw2dozjFotbbRa0hdp2zxxuou7H4mSowzew2VNbe7pw= github.com/stackitcloud/stackit-sdk-go/services/sqlserverflex v1.19.0/go.mod h1:chULz8M6OKvzWEMVH/3DWKDb1UQab87O1KLJfWV0Vp4= github.com/stackitcloud/stackit-sdk-go/services/telemetrylink v0.6.0 h1:glsamuWGVTwzBk3yoWYmq8gDcDkJncepHRn/tDwSwjA= @@ -730,10 +730,10 @@ github.com/stackitcloud/stackit-sdk-go/services/telemetryrouter v0.6.1 h1:RPMUjr github.com/stackitcloud/stackit-sdk-go/services/telemetryrouter v0.6.1/go.mod h1:e457u40HTJAVzw9YFP7Ri90otkJlgDqIphiDD5AZISI= github.com/stackitcloud/stackit-sdk-go/services/valkey v0.4.0 h1:75iJs+mZPnrGSlSoTZtKYYCyNqtqgx6JVChwJokcKVg= github.com/stackitcloud/stackit-sdk-go/services/valkey v0.4.0/go.mod h1:0crDO5v97ulHjVZVoFR2gJ4FCpEQeXGdM+V+AlZ6M6E= -github.com/stackitcloud/stackit-sdk-go/services/vpn v0.15.2 h1:82VZJaJPwcBKSj8WV8v0ujBvbkbMxFXIvvv0wU+0Be0= -github.com/stackitcloud/stackit-sdk-go/services/vpn v0.15.2/go.mod h1:3OHHiMoNDwI63Vtvf5B/2Hc2hLlaCyTvPwg8N6T957s= -github.com/stackitcloud/terraform-provider-stackit v0.120.0 h1:V0Ae2KgocW2UlwFRo4D97sEe2+Xb59GQvMivR6zJnaE= -github.com/stackitcloud/terraform-provider-stackit v0.120.0/go.mod h1:UJi5Q+6w56KeOLwmXnD93cw6X/jZizw8SVVUiL712Fg= +github.com/stackitcloud/stackit-sdk-go/services/vpn v0.15.3 h1:rtY3Pdup5W3ZNQFiNo6STnoKKxpfM4YWjMbaps3OZb4= +github.com/stackitcloud/stackit-sdk-go/services/vpn v0.15.3/go.mod h1:CQ2Mv18PiEDsJ9ENp7BB7hS5nnS6bZmfWoneCzH+IjQ= +github.com/stackitcloud/terraform-provider-stackit v0.121.0 h1:iBRa/f1ipZD6rH+4D0t0m9RqB1+YUUSY5Ng8bffxHBo= +github.com/stackitcloud/terraform-provider-stackit v0.121.0/go.mod h1:6No2aAKsJlwv9uUUTrS3hMK/vU6CuUNIRydFE9tgLG8= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY= github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA= @@ -859,8 +859,8 @@ golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a/go.mod h1:LzIPMQfyMNhhGPh golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.3.0/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4= -golang.org/x/crypto v0.55.0 h1:+KWHjbgOaAQ66dh/YlkZKHlz9ZUlq61AFirAR9ntP8M= -golang.org/x/crypto v0.55.0/go.mod h1:uq0V9dE/fzQuJtbnL+2EhWOE63vo164FY8xqEnV9xis= +golang.org/x/crypto v0.57.0 h1:3ZVCjf8Ggz7zneR/EHRVx68Ctf+2pmIMP2UFhh9cC6M= +golang.org/x/crypto v0.57.0/go.mod h1:Fdz0i5U6CoizGwLda9DttjSk6qlZo25zYNtR+ycvuZA= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= golang.org/x/exp v0.0.0-20260410095643-746e56fc9e2f h1:W3F4c+6OLc6H2lb//N1q4WpJkhzJCK5J6kUi1NTVXfM= @@ -877,8 +877,8 @@ golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzB golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= -golang.org/x/mod v0.41.0 h1:qJmnOUb4YB+FsEuM3HcWucdZASCPGhsX6uljO6pog0c= -golang.org/x/mod v0.41.0/go.mod h1:Ek9pY8RKWXwsWvd3rQiHYtMqkjSUV+s1Rj7j4H5Ur6o= +golang.org/x/mod v0.42.0 h1:ICeL3t2L30ljSPHHxDnR4fqVcBt/zR2zJAb9juavmQg= +golang.org/x/mod v0.42.0/go.mod h1:u5fzIrRInkL8MaO1cbRkUHT64v303YIT5KEqpNr7jRs= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180811021610-c39426892332/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -898,8 +898,8 @@ golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY= -golang.org/x/net v0.58.0 h1:ynWG7rqYi4ccpTEuPZ2QGWHktVEM9DMCj9yzDE0Q7To= -golang.org/x/net v0.58.0/go.mod h1:YwCddHnFlT7eLQqVprV19OnhLGtc5xOKgE0RyqgfWAU= +golang.org/x/net v0.59.0 h1:5zfYln+w5XCxwrnMMJPufRgNoXEaGxl0wo5GqPXyues= +golang.org/x/net v0.59.0/go.mod h1:2DA/G1UfVbCpQPeWTmMPGY7Cs2PkBkwu743bVX5PIVg= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -949,13 +949,13 @@ golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.47.0 h1:o7XGOvZQCADBQQ4Y7VNq2dRWQR7JmOUW8Kxx4ZsNgWs= -golang.org/x/sys v0.47.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw= +golang.org/x/sys v0.48.0 h1:bbX/i/6MgT9BVLM9RT1thmxL04yeTAhbEz4SyadbXoo= +golang.org/x/sys v0.48.0/go.mod h1:hNLxWAXmnKAxqDtdwIYC4bM9oQPEecfsnNMuSxOs3og= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc= -golang.org/x/term v0.45.0 h1:NwWyBmoJCbfTHpxrWoZ9C6/VxOf7ic219I8xZZFdrf0= -golang.org/x/term v0.45.0/go.mod h1:9aqxs0blBcrm/n0L9QW0aRVD+ktan8ssZromtqJC43w= +golang.org/x/term v0.46.0 h1:3+OXuTbaKDgwk8jTi3aSLHRlmWqHEUDUtxnbFigO4YE= +golang.org/x/term v0.46.0/go.mod h1:+K02xbkittuwc0Am4abfA3Fc+XRGXkvBXNO88NCXPoc= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= @@ -964,8 +964,8 @@ golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ= golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/text v0.41.0 h1:vz/seA0lnX87Othu2f/0L24RcgrXD9/YFTSuGjj3rH8= -golang.org/x/text v0.41.0/go.mod h1:jvf1O8ajNzZqhSrQBPbutR/EB83Cc0CFrezNQIwbb5M= +golang.org/x/text v0.42.0 h1:JbOZXgfeCPU9gacVtYliJqOhD+zhrEqK4LfdpmlUZqI= +golang.org/x/text v0.42.0/go.mod h1:ojzP1Z+2QtioaF8DTtO8K5q7JWVVYwZKenzujK0Zd0E= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.15.0 h1:bbrp8t3bGUeFOx08pvsMYRTCVSMk89u4tKbNOZbp88U= @@ -987,8 +987,8 @@ golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapK golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= -golang.org/x/tools v0.49.0 h1:3NI7VXzL9+1WZD52Dx2ttoPwD5DWrFGpl9mFZDlmisI= -golang.org/x/tools v0.49.0/go.mod h1:SJNXV9DBKT0UbdttsQjbfJlAE/q+y36++zo3uL3N0Oo= +golang.org/x/tools v0.51.0 h1:k4Xc/1Om9jwkBJBo4NVLMSARBoWtK10mx+W5BnXCeAI= +golang.org/x/tools v0.51.0/go.mod h1:9eEncMayCV6zRMGhR5eZEC2iBx98qWcF1HZ9Z7wJOoA= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= diff --git a/provider/shim/go.mod b/provider/shim/go.mod index 38da9fa8..90fdd922 100644 --- a/provider/shim/go.mod +++ b/provider/shim/go.mod @@ -1,32 +1,32 @@ module github.com/stackitcloud/pulumi-stackit/provider/shim -go 1.26.0 +go 1.26.10 require ( github.com/stackitcloud/pulumi-stackit/provider/pkg/version v0.0.6 - github.com/stackitcloud/terraform-provider-stackit v0.120.0 + github.com/stackitcloud/terraform-provider-stackit v0.121.0 ) require ( github.com/hashicorp/go-uuid v1.0.3 // indirect github.com/hashicorp/terraform-plugin-framework-jsontypes v0.2.0 // indirect github.com/hashicorp/terraform-plugin-framework-timeouts v0.7.0 // indirect - github.com/stackitcloud/stackit-sdk-go/services/alb v0.18.0 // indirect - github.com/stackitcloud/stackit-sdk-go/services/albwaf v0.13.4 // indirect + github.com/stackitcloud/stackit-sdk-go/services/alb v0.19.0 // indirect + github.com/stackitcloud/stackit-sdk-go/services/albwaf v0.13.5 // indirect github.com/stackitcloud/stackit-sdk-go/services/automation v0.2.1 // indirect - github.com/stackitcloud/stackit-sdk-go/services/certificates v1.9.2 // indirect - github.com/stackitcloud/stackit-sdk-go/services/dremio v0.6.1 // indirect - github.com/stackitcloud/stackit-sdk-go/services/edge v0.13.2 // indirect + github.com/stackitcloud/stackit-sdk-go/services/certificates v1.10.0 // indirect + github.com/stackitcloud/stackit-sdk-go/services/dremio v0.7.0 // indirect + github.com/stackitcloud/stackit-sdk-go/services/edge v0.14.0 // indirect github.com/stackitcloud/stackit-sdk-go/services/intake v0.12.0 // indirect github.com/stackitcloud/stackit-sdk-go/services/kms v1.14.0 // indirect github.com/stackitcloud/stackit-sdk-go/services/logs v0.11.0 // indirect github.com/stackitcloud/stackit-sdk-go/services/modelexperiments v0.3.2 // indirect - github.com/stackitcloud/stackit-sdk-go/services/scf v0.10.2 // indirect - github.com/stackitcloud/stackit-sdk-go/services/sfs v0.12.0 // indirect + github.com/stackitcloud/stackit-sdk-go/services/scf v0.11.0 // indirect + github.com/stackitcloud/stackit-sdk-go/services/sfs v0.13.0 // indirect github.com/stackitcloud/stackit-sdk-go/services/telemetrylink v0.6.0 // indirect github.com/stackitcloud/stackit-sdk-go/services/telemetryrouter v0.6.1 // indirect github.com/stackitcloud/stackit-sdk-go/services/valkey v0.4.0 // indirect - github.com/stackitcloud/stackit-sdk-go/services/vpn v0.15.2 // indirect + github.com/stackitcloud/stackit-sdk-go/services/vpn v0.15.3 // indirect golang.org/x/sync v0.24.0 // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20260803160001-6ac0973c030d // indirect ) @@ -46,11 +46,11 @@ require ( github.com/mitchellh/go-testing-interface v1.14.1 // indirect github.com/stackitcloud/stackit-sdk-go/core v0.27.1 // indirect github.com/stackitcloud/stackit-sdk-go/services/authorization v0.16.0 // indirect - github.com/stackitcloud/stackit-sdk-go/services/cdn v1.21.0 // indirect + github.com/stackitcloud/stackit-sdk-go/services/cdn v1.22.0 // indirect github.com/stackitcloud/stackit-sdk-go/services/dns v0.25.0 // indirect github.com/stackitcloud/stackit-sdk-go/services/git v0.15.0 // indirect - github.com/stackitcloud/stackit-sdk-go/services/iaas v1.15.0 // indirect - github.com/stackitcloud/stackit-sdk-go/services/loadbalancer v1.15.2 // indirect + github.com/stackitcloud/stackit-sdk-go/services/iaas v1.15.1 // indirect + github.com/stackitcloud/stackit-sdk-go/services/loadbalancer v1.16.0 // indirect github.com/stackitcloud/stackit-sdk-go/services/logme v1.5.0 // indirect github.com/stackitcloud/stackit-sdk-go/services/mariadb v1.4.0 // indirect github.com/stackitcloud/stackit-sdk-go/services/modelserving v0.14.0 // indirect @@ -58,20 +58,20 @@ require ( github.com/stackitcloud/stackit-sdk-go/services/objectstorage v1.12.0 // indirect github.com/stackitcloud/stackit-sdk-go/services/observability v0.26.0 // indirect github.com/stackitcloud/stackit-sdk-go/services/opensearch v1.5.0 // indirect - github.com/stackitcloud/stackit-sdk-go/services/postgresflex v1.15.0 // indirect + github.com/stackitcloud/stackit-sdk-go/services/postgresflex v1.16.0 // indirect github.com/stackitcloud/stackit-sdk-go/services/rabbitmq v1.5.0 // indirect github.com/stackitcloud/stackit-sdk-go/services/redis v1.6.0 // indirect - github.com/stackitcloud/stackit-sdk-go/services/resourcemanager v0.26.1 // indirect + github.com/stackitcloud/stackit-sdk-go/services/resourcemanager v0.27.0 // indirect github.com/stackitcloud/stackit-sdk-go/services/secretsmanager v0.20.0 // indirect github.com/stackitcloud/stackit-sdk-go/services/serverbackup v1.8.0 // indirect github.com/stackitcloud/stackit-sdk-go/services/serverupdate v1.6.0 // indirect - github.com/stackitcloud/stackit-sdk-go/services/serviceaccount v0.21.1 // indirect + github.com/stackitcloud/stackit-sdk-go/services/serviceaccount v0.22.0 // indirect github.com/stackitcloud/stackit-sdk-go/services/serviceenablement v1.8.0 // indirect - github.com/stackitcloud/stackit-sdk-go/services/ske v1.21.2 // indirect + github.com/stackitcloud/stackit-sdk-go/services/ske v1.22.0 // indirect github.com/stackitcloud/stackit-sdk-go/services/sqlserverflex v1.19.0 // indirect github.com/teambition/rrule-go v1.8.2 // indirect github.com/vmihailenco/msgpack/v5 v5.4.1 // indirect github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect - golang.org/x/mod v0.41.0 // indirect - golang.org/x/sys v0.47.0 // indirect + golang.org/x/mod v0.42.0 // indirect + golang.org/x/sys v0.48.0 // indirect ) diff --git a/provider/shim/go.sum b/provider/shim/go.sum index df0e4bf6..b8825786 100644 --- a/provider/shim/go.sum +++ b/provider/shim/go.sum @@ -101,34 +101,34 @@ github.com/stackitcloud/pulumi-stackit/provider/pkg/version v0.0.6 h1:65b+/u5WhB github.com/stackitcloud/pulumi-stackit/provider/pkg/version v0.0.6/go.mod h1:EZ5yZatO0uo7jmkG0p1U15gucMoaKJwvP73lmhTdBFc= github.com/stackitcloud/stackit-sdk-go/core v0.27.1 h1:k7SrqqMoHjkvHbx6n6nV3Lt51itp8nNplht6vGHkPhw= github.com/stackitcloud/stackit-sdk-go/core v0.27.1/go.mod h1:WU1hhxnjXw2EV7CYa1nlEvNpMiRY6CvmIOaHuL3pOaA= -github.com/stackitcloud/stackit-sdk-go/services/alb v0.18.0 h1:xJJS4REIKMn31Agzsb7Tdmr0B/yg1cuetx8lKhzWdw8= -github.com/stackitcloud/stackit-sdk-go/services/alb v0.18.0/go.mod h1:zEx3JFbwg1VLB9uKa2P4BA2DdypghX1FT8mbJU+msjE= -github.com/stackitcloud/stackit-sdk-go/services/albwaf v0.13.4 h1:KNEcAPj66Asb00V7f6v3Ku2d6ybP8PL1IwFQubUuxc0= -github.com/stackitcloud/stackit-sdk-go/services/albwaf v0.13.4/go.mod h1:riXgEDfIjNdFjYk81zNnWt0npkv1+/P1iFRfFIt28Jo= +github.com/stackitcloud/stackit-sdk-go/services/alb v0.19.0 h1:+8CDG+6lWGoT0cLbjrBg4P2JMiZT+NymwaYFTxLsUTg= +github.com/stackitcloud/stackit-sdk-go/services/alb v0.19.0/go.mod h1:1BEa7Q0enW0oWZ3ibGdcYXOeadp0QUR8/A731mciQwU= +github.com/stackitcloud/stackit-sdk-go/services/albwaf v0.13.5 h1:/+dqndnOwG6sHYlUWShOfSoDjUX8iU+5DKIeFTKtCLQ= +github.com/stackitcloud/stackit-sdk-go/services/albwaf v0.13.5/go.mod h1:o6kIPueaI/+9K2XW5ENNkjGyu+euuLKlunr+xhXAS6Y= github.com/stackitcloud/stackit-sdk-go/services/authorization v0.16.0 h1:I4NJalm+y2hVk+NhK4nCW86U7i8kTkDqF89eFPReaxw= github.com/stackitcloud/stackit-sdk-go/services/authorization v0.16.0/go.mod h1:J8YJeYIUWqyAh7pFEjOCT/r/hIxQ5iLf9v4Wjr/f8mE= github.com/stackitcloud/stackit-sdk-go/services/automation v0.2.1 h1:VxYQ4fCkuZAnzsqKXTSMxG8KX/OlfOgKJ0heB0Rf9gw= github.com/stackitcloud/stackit-sdk-go/services/automation v0.2.1/go.mod h1:pDhpbmeDlthML6h4jyI7ZRGrG2C4Tx3aIGru5Ts6ISo= -github.com/stackitcloud/stackit-sdk-go/services/cdn v1.21.0 h1:lCs1eq/OOTdwGrrkxkJ8qCnS6yLM4XZhznpML3nd1NI= -github.com/stackitcloud/stackit-sdk-go/services/cdn v1.21.0/go.mod h1:NBgvZH5ekJ2hFCNI480C9MdJsa4989YGC1YgX5ELA48= -github.com/stackitcloud/stackit-sdk-go/services/certificates v1.9.2 h1:QEKzHzVwZ80mNdoEWEZxgynACnlPfXwIlVz9b7xceR4= -github.com/stackitcloud/stackit-sdk-go/services/certificates v1.9.2/go.mod h1:kKaS5zR+son/2J4PD05WFPDua3WtWii5tUAGHaXHE2E= +github.com/stackitcloud/stackit-sdk-go/services/cdn v1.22.0 h1:NyG5PvXB9+ldlKqbTfpp4YMb/Afg8LRDG5BIa+mBf+g= +github.com/stackitcloud/stackit-sdk-go/services/cdn v1.22.0/go.mod h1:sr7UP8YdI18bH+2mfpy9qjsDqcPQU/+YduqH1Zw2JgY= +github.com/stackitcloud/stackit-sdk-go/services/certificates v1.10.0 h1:tOEicEbpcGps3Qk0aIQjriaavVi2F3lfAYri6/bqYE8= +github.com/stackitcloud/stackit-sdk-go/services/certificates v1.10.0/go.mod h1:YWHyORsS+pcXi5u2ogjGLI+xzOmzK2aYNhHa6670ECQ= github.com/stackitcloud/stackit-sdk-go/services/dns v0.25.0 h1:Yn4etadrdEEPU8YcbvF7a/UExSqri+jUC62w62ic4N8= github.com/stackitcloud/stackit-sdk-go/services/dns v0.25.0/go.mod h1:D0iv6XBYkaEwTjbBeom0VTZnwQMfwb48FC8R2jRg80c= -github.com/stackitcloud/stackit-sdk-go/services/dremio v0.6.1 h1:F1ZQCctaRic4LFKcb+K0XkIlUm0a4Q+9Dd0WQbH2RYc= -github.com/stackitcloud/stackit-sdk-go/services/dremio v0.6.1/go.mod h1:pZThu6iKVN43NCoG5rHDPpDkct8EGlzfRtIh4oBxGVY= -github.com/stackitcloud/stackit-sdk-go/services/edge v0.13.2 h1:UDkXmgOAlP3y/u7FKp6/MaVxvSi38hNqnj1HytM6bU4= -github.com/stackitcloud/stackit-sdk-go/services/edge v0.13.2/go.mod h1:hlUcPvOgH/CzZqH7u4SwV81qiismCVAtvw5pTAf6si4= +github.com/stackitcloud/stackit-sdk-go/services/dremio v0.7.0 h1:jy1XL0Yzs/pd0rCeO3hIp17m2NBwpSeN9KCJEbuN25U= +github.com/stackitcloud/stackit-sdk-go/services/dremio v0.7.0/go.mod h1:ta3WjDUHzSeSJflD0O9S6OQIEFLWESLwifPGwrf1ST4= +github.com/stackitcloud/stackit-sdk-go/services/edge v0.14.0 h1:TTwlI34FUb0AisiApxKs5brGNP3Ma9cTvdmbxzNxs40= +github.com/stackitcloud/stackit-sdk-go/services/edge v0.14.0/go.mod h1:FBBnDsQns6SjJYQrox3YSY7ydOa4T8FR3sXNwFRTsPc= github.com/stackitcloud/stackit-sdk-go/services/git v0.15.0 h1:yQq0J3nhfQ2V9yLhkYFLQ7sH02WoZvwWnBsILpwinzI= github.com/stackitcloud/stackit-sdk-go/services/git v0.15.0/go.mod h1:om68OYj0xYfMuSLEP4v/bg/kgqcFS6xDVApZXHlWr5E= -github.com/stackitcloud/stackit-sdk-go/services/iaas v1.15.0 h1:DZEd4ORWEAu3/t92xLD7ah5gCshP+n5mOYxdOzdiZLc= -github.com/stackitcloud/stackit-sdk-go/services/iaas v1.15.0/go.mod h1:o6Mt/ZUB/3qvIwtu4B57m9IlyaUxAFS2Tu5XImiZxCE= +github.com/stackitcloud/stackit-sdk-go/services/iaas v1.15.1 h1:5D0ABveu3SZyB7DBkVJcCSS4fr1TiMmfdJA98TgDn/o= +github.com/stackitcloud/stackit-sdk-go/services/iaas v1.15.1/go.mod h1:o6Mt/ZUB/3qvIwtu4B57m9IlyaUxAFS2Tu5XImiZxCE= github.com/stackitcloud/stackit-sdk-go/services/intake v0.12.0 h1:1RDIGabA3U/kWrV0vkbkTof075liEHMdn39BsNwDI4k= github.com/stackitcloud/stackit-sdk-go/services/intake v0.12.0/go.mod h1:+v3VG6bXopAB2/uRz5yDXNFUwMSw0qJVRPxb3SDsACM= github.com/stackitcloud/stackit-sdk-go/services/kms v1.14.0 h1:6vZhGEIEqXUcs6pzpVNsHRAcskAVuKRq9lNMCMlYn+Q= github.com/stackitcloud/stackit-sdk-go/services/kms v1.14.0/go.mod h1:ZBXRYWP4Yz3Gn75VSFz2mfcLSOrDEbiCoGTIXonvXkA= -github.com/stackitcloud/stackit-sdk-go/services/loadbalancer v1.15.2 h1:a7zyn+0rRgaOTX+W9Ut037KckptGjNC978ArvsjKjfY= -github.com/stackitcloud/stackit-sdk-go/services/loadbalancer v1.15.2/go.mod h1:bG7b8OjvqSUf8MTjmkt/RW92YyYhkDgwZ0Z7Y6Evr+c= +github.com/stackitcloud/stackit-sdk-go/services/loadbalancer v1.16.0 h1:zcPGXu16E5NRp5ocF/0JTnm6AyAQmk61iqIlUpAbfgo= +github.com/stackitcloud/stackit-sdk-go/services/loadbalancer v1.16.0/go.mod h1:tVD3LmpowgML5U3imG9DdGAjhLmccibO92Ta7DPNfc0= github.com/stackitcloud/stackit-sdk-go/services/logme v1.5.0 h1:WFok0NMwTUTIZtClkYZW8M2mAkoQwyaIJD8hLltM+z8= github.com/stackitcloud/stackit-sdk-go/services/logme v1.5.0/go.mod h1:88EgGOZDYkw31BPtuQsqhh2yqzF9ZfoggsP/cYz7+O0= github.com/stackitcloud/stackit-sdk-go/services/logs v0.11.0 h1:EiBc3DCOuV/Wbnd1NBOCJlG9NuqODzWYsxXUFXjmLac= @@ -147,30 +147,30 @@ github.com/stackitcloud/stackit-sdk-go/services/observability v0.26.0 h1:Dh7vvXK github.com/stackitcloud/stackit-sdk-go/services/observability v0.26.0/go.mod h1:lj+MB0Etwg/ju8+I3otyU2b+qkghueCNdPuRd1DmBjc= github.com/stackitcloud/stackit-sdk-go/services/opensearch v1.5.0 h1:npcmkkVpOnEssjQoJ0yxwOXSNNtNA1+opxjuf8ZJ1DY= github.com/stackitcloud/stackit-sdk-go/services/opensearch v1.5.0/go.mod h1:MlGckwnH8wbYwGojF6lI5sEvjgz4PbRccfIS6YZf8wQ= -github.com/stackitcloud/stackit-sdk-go/services/postgresflex v1.15.0 h1:TSxUvRRMT8KsGatFGZsuqRWU05KDf2jmh5ZJ2MRsUXw= -github.com/stackitcloud/stackit-sdk-go/services/postgresflex v1.15.0/go.mod h1:7Ka8vrinx+DjCXv6lqCVZbIkDIbrzA4qrkNjXr6MUDM= +github.com/stackitcloud/stackit-sdk-go/services/postgresflex v1.16.0 h1:bWeC7GzQP/IddeO2FesXxRmRrkgVClU2YYaSz099nqk= +github.com/stackitcloud/stackit-sdk-go/services/postgresflex v1.16.0/go.mod h1:wOyEouBvYDu/5NMx//fJcRNlwWBspLod6aTVIRSj8jg= github.com/stackitcloud/stackit-sdk-go/services/rabbitmq v1.5.0 h1:SAro5TWVJDDyiqMwew9Ta1tMcItBmWrCRYErIQ9+UBI= github.com/stackitcloud/stackit-sdk-go/services/rabbitmq v1.5.0/go.mod h1:mjYkyr/A/+9rZnX5IOLEoAMFqHsRCIToZWpsYzYBwWo= github.com/stackitcloud/stackit-sdk-go/services/redis v1.6.0 h1:5UEPilI+RCuXEM8jm4ibREoZAsSAGI1+KnJ0oapye7Q= github.com/stackitcloud/stackit-sdk-go/services/redis v1.6.0/go.mod h1:/wE98YN+s1s1OcaEPt8Z2xO0Y46Gur3nXlg1AiiMNeY= -github.com/stackitcloud/stackit-sdk-go/services/resourcemanager v0.26.1 h1:6NHoXh6c/GQ7+CO03bszc09rnKCeP0dzMmyrnz6mkvs= -github.com/stackitcloud/stackit-sdk-go/services/resourcemanager v0.26.1/go.mod h1:IsId3wbkp5oaO0JEaHZpZnbVW6KFHlAptwB+1iG3v3w= -github.com/stackitcloud/stackit-sdk-go/services/scf v0.10.2 h1:I3e9uNohnuPExa2Sfd32nJs/yAfzDeiFwRuVG6z4YO8= -github.com/stackitcloud/stackit-sdk-go/services/scf v0.10.2/go.mod h1:94EZCBtxm85i/eS75GgdaQO0SDbM5bFWI6/EWBtSCQo= +github.com/stackitcloud/stackit-sdk-go/services/resourcemanager v0.27.0 h1:lZl9X/wl0tF+HufZiurUkYJmk4u6/Vz8/FkdgT3wA10= +github.com/stackitcloud/stackit-sdk-go/services/resourcemanager v0.27.0/go.mod h1:IsId3wbkp5oaO0JEaHZpZnbVW6KFHlAptwB+1iG3v3w= +github.com/stackitcloud/stackit-sdk-go/services/scf v0.11.0 h1:tdRyQFfGHFiXNhURdHSdesh7ym3y2R9A39B4ywj2Coc= +github.com/stackitcloud/stackit-sdk-go/services/scf v0.11.0/go.mod h1:SvwAqAKOa4ZSEsSypsFYb6KS9Kvuk8vL4DZw4mpY7b8= github.com/stackitcloud/stackit-sdk-go/services/secretsmanager v0.20.0 h1:D4/yjPk0GMbp5X96luY3wGEkFJ8RjfLJsIQhHh2ZdwI= github.com/stackitcloud/stackit-sdk-go/services/secretsmanager v0.20.0/go.mod h1:yV1dcbGaZfdzwcJqjsRNpZ4VVDsQETAAYj2/MCPr4RE= github.com/stackitcloud/stackit-sdk-go/services/serverbackup v1.8.0 h1:iFiKTlug6QfLtUAtPKcJe6NX4Jr9HZ84vJNgvra0Wew= github.com/stackitcloud/stackit-sdk-go/services/serverbackup v1.8.0/go.mod h1:VkF3N0fTP8zOztdeKEG0uoMuMp3larEqNB22fnvlA5M= github.com/stackitcloud/stackit-sdk-go/services/serverupdate v1.6.0 h1:X/LEJX8AfiOoKDf/pDLaZSzAxlDHzy+QIy4vD+TVeLc= github.com/stackitcloud/stackit-sdk-go/services/serverupdate v1.6.0/go.mod h1:z17c+hqIi6S5Op9Uk0FmxaeZIoN6and2AAV7P1viAqQ= -github.com/stackitcloud/stackit-sdk-go/services/serviceaccount v0.21.1 h1:GJn6tlJscVpdovN2lekb9R5dOZ1ynM9+gIVhEVsRCE0= -github.com/stackitcloud/stackit-sdk-go/services/serviceaccount v0.21.1/go.mod h1:f5RySI1PHkYlv2JWIfbTOBARwf/JR+iAs/qeoGiXAvU= +github.com/stackitcloud/stackit-sdk-go/services/serviceaccount v0.22.0 h1:rq1vDC6IXwRCDQI/XodL2KROn5YZxDoEBwKckVSVquY= +github.com/stackitcloud/stackit-sdk-go/services/serviceaccount v0.22.0/go.mod h1:f5RySI1PHkYlv2JWIfbTOBARwf/JR+iAs/qeoGiXAvU= github.com/stackitcloud/stackit-sdk-go/services/serviceenablement v1.8.0 h1:PsLXr7R/R/ceWIJOkist2B5chWm/Q34IgQd/dmhvWbQ= github.com/stackitcloud/stackit-sdk-go/services/serviceenablement v1.8.0/go.mod h1:izKsr/tJKDNPsgZ/LFQ2civLOICA75BKU06NNWgADIw= -github.com/stackitcloud/stackit-sdk-go/services/sfs v0.12.0 h1:mUiFjJfOGkqOl24v2+1D1NcJIq4f2EBztl7F/Yb4NcU= -github.com/stackitcloud/stackit-sdk-go/services/sfs v0.12.0/go.mod h1:QDhu6jIIgqgO7l/wAGlfUDHC4Q20vfyUifh3a0qT3W4= -github.com/stackitcloud/stackit-sdk-go/services/ske v1.21.2 h1:4ApmRQGkcf/G/h1s19QsqH/vqE3oqfrdG1J/3/40iEM= -github.com/stackitcloud/stackit-sdk-go/services/ske v1.21.2/go.mod h1:YYwFQNYrYUpa4FeT/6pxky8vp7E7pPy2F6+Ptf469hg= +github.com/stackitcloud/stackit-sdk-go/services/sfs v0.13.0 h1:vEgFb6+oSCg6pdUYWAGHsMwpSMeQd5cScBtIoAu6hJo= +github.com/stackitcloud/stackit-sdk-go/services/sfs v0.13.0/go.mod h1:QDhu6jIIgqgO7l/wAGlfUDHC4Q20vfyUifh3a0qT3W4= +github.com/stackitcloud/stackit-sdk-go/services/ske v1.22.0 h1:DNTwOlCLphNSr454IeqGo/eSIgxlajNzmx30gjyAdyk= +github.com/stackitcloud/stackit-sdk-go/services/ske v1.22.0/go.mod h1:MfP4FhM/g/2C1PREHFyB8oLPzZ9Lrewq9R7z70361F8= github.com/stackitcloud/stackit-sdk-go/services/sqlserverflex v1.19.0 h1:uw2dozjFotbbRa0hdp2zxxuou7H4mSowzew2VNbe7pw= github.com/stackitcloud/stackit-sdk-go/services/sqlserverflex v1.19.0/go.mod h1:chULz8M6OKvzWEMVH/3DWKDb1UQab87O1KLJfWV0Vp4= github.com/stackitcloud/stackit-sdk-go/services/telemetrylink v0.6.0 h1:glsamuWGVTwzBk3yoWYmq8gDcDkJncepHRn/tDwSwjA= @@ -179,10 +179,10 @@ github.com/stackitcloud/stackit-sdk-go/services/telemetryrouter v0.6.1 h1:RPMUjr github.com/stackitcloud/stackit-sdk-go/services/telemetryrouter v0.6.1/go.mod h1:e457u40HTJAVzw9YFP7Ri90otkJlgDqIphiDD5AZISI= github.com/stackitcloud/stackit-sdk-go/services/valkey v0.4.0 h1:75iJs+mZPnrGSlSoTZtKYYCyNqtqgx6JVChwJokcKVg= github.com/stackitcloud/stackit-sdk-go/services/valkey v0.4.0/go.mod h1:0crDO5v97ulHjVZVoFR2gJ4FCpEQeXGdM+V+AlZ6M6E= -github.com/stackitcloud/stackit-sdk-go/services/vpn v0.15.2 h1:82VZJaJPwcBKSj8WV8v0ujBvbkbMxFXIvvv0wU+0Be0= -github.com/stackitcloud/stackit-sdk-go/services/vpn v0.15.2/go.mod h1:3OHHiMoNDwI63Vtvf5B/2Hc2hLlaCyTvPwg8N6T957s= -github.com/stackitcloud/terraform-provider-stackit v0.120.0 h1:V0Ae2KgocW2UlwFRo4D97sEe2+Xb59GQvMivR6zJnaE= -github.com/stackitcloud/terraform-provider-stackit v0.120.0/go.mod h1:UJi5Q+6w56KeOLwmXnD93cw6X/jZizw8SVVUiL712Fg= +github.com/stackitcloud/stackit-sdk-go/services/vpn v0.15.3 h1:rtY3Pdup5W3ZNQFiNo6STnoKKxpfM4YWjMbaps3OZb4= +github.com/stackitcloud/stackit-sdk-go/services/vpn v0.15.3/go.mod h1:CQ2Mv18PiEDsJ9ENp7BB7hS5nnS6bZmfWoneCzH+IjQ= +github.com/stackitcloud/terraform-provider-stackit v0.121.0 h1:iBRa/f1ipZD6rH+4D0t0m9RqB1+YUUSY5Ng8bffxHBo= +github.com/stackitcloud/terraform-provider-stackit v0.121.0/go.mod h1:6No2aAKsJlwv9uUUTrS3hMK/vU6CuUNIRydFE9tgLG8= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1FQKckRals= github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U= @@ -197,12 +197,11 @@ github.com/vmihailenco/tagparser/v2 v2.0.0 h1:y09buUbR+b5aycVFQs/g70pqKVZNBmxwAh github.com/vmihailenco/tagparser/v2 v2.0.0/go.mod h1:Wri+At7QHww0WTrCBeu4J6bNtoV6mEfg5OIWRZA9qds= github.com/zclconf/go-cty v1.18.1 h1:yEGE8M4iIZlyKQURZNb2SnEyZlZHUcBCnx6KF81KuwM= github.com/zclconf/go-cty v1.18.1/go.mod h1:qpnV6EDNgC1sns/AleL1fvatHw72j+S+nS+MJ+T2CSg= -golang.org/x/crypto v0.55.0 h1:+KWHjbgOaAQ66dh/YlkZKHlz9ZUlq61AFirAR9ntP8M= -golang.org/x/crypto v0.55.0/go.mod h1:uq0V9dE/fzQuJtbnL+2EhWOE63vo164FY8xqEnV9xis= -golang.org/x/mod v0.41.0 h1:qJmnOUb4YB+FsEuM3HcWucdZASCPGhsX6uljO6pog0c= -golang.org/x/mod v0.41.0/go.mod h1:Ek9pY8RKWXwsWvd3rQiHYtMqkjSUV+s1Rj7j4H5Ur6o= -golang.org/x/net v0.58.0 h1:ynWG7rqYi4ccpTEuPZ2QGWHktVEM9DMCj9yzDE0Q7To= -golang.org/x/net v0.58.0/go.mod h1:YwCddHnFlT7eLQqVprV19OnhLGtc5xOKgE0RyqgfWAU= +golang.org/x/crypto v0.57.0 h1:3ZVCjf8Ggz7zneR/EHRVx68Ctf+2pmIMP2UFhh9cC6M= +golang.org/x/mod v0.42.0 h1:ICeL3t2L30ljSPHHxDnR4fqVcBt/zR2zJAb9juavmQg= +golang.org/x/mod v0.42.0/go.mod h1:u5fzIrRInkL8MaO1cbRkUHT64v303YIT5KEqpNr7jRs= +golang.org/x/net v0.59.0 h1:5zfYln+w5XCxwrnMMJPufRgNoXEaGxl0wo5GqPXyues= +golang.org/x/net v0.59.0/go.mod h1:2DA/G1UfVbCpQPeWTmMPGY7Cs2PkBkwu743bVX5PIVg= golang.org/x/sync v0.24.0 h1:iqiDrGoDgyuvAKrhLQthUEzU/R378N78gXbBjxed7oA= golang.org/x/sync v0.24.0/go.mod h1:sUUOizhqBxiL6pEWpqNLUiaJn1ShEbZ6BBqskPbjZm0= golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -211,11 +210,11 @@ golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220503163025-988cb79eb6c6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.47.0 h1:o7XGOvZQCADBQQ4Y7VNq2dRWQR7JmOUW8Kxx4ZsNgWs= -golang.org/x/sys v0.47.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw= -golang.org/x/text v0.41.0 h1:vz/seA0lnX87Othu2f/0L24RcgrXD9/YFTSuGjj3rH8= -golang.org/x/text v0.41.0/go.mod h1:jvf1O8ajNzZqhSrQBPbutR/EB83Cc0CFrezNQIwbb5M= -golang.org/x/tools v0.49.0 h1:3NI7VXzL9+1WZD52Dx2ttoPwD5DWrFGpl9mFZDlmisI= +golang.org/x/sys v0.48.0 h1:bbX/i/6MgT9BVLM9RT1thmxL04yeTAhbEz4SyadbXoo= +golang.org/x/sys v0.48.0/go.mod h1:hNLxWAXmnKAxqDtdwIYC4bM9oQPEecfsnNMuSxOs3og= +golang.org/x/text v0.42.0 h1:JbOZXgfeCPU9gacVtYliJqOhD+zhrEqK4LfdpmlUZqI= +golang.org/x/text v0.42.0/go.mod h1:ojzP1Z+2QtioaF8DTtO8K5q7JWVVYwZKenzujK0Zd0E= +golang.org/x/tools v0.51.0 h1:k4Xc/1Om9jwkBJBo4NVLMSARBoWtK10mx+W5BnXCeAI= google.golang.org/appengine v1.6.8 h1:IhEN5q69dyKagZPYMSdIjS2HqprW324FRQZJcGqPAsM= google.golang.org/appengine v1.6.8/go.mod h1:1jJ3jBArFh5pcgW8gCtRJnepW8FzD1V44FJffLiz/Ds= google.golang.org/genproto/googleapis/rpc v0.0.0-20260803160001-6ac0973c030d h1:IL4hdHzcUv2l/gcg98/Rj3FbtE6axwqslOW8SW0C+S0= diff --git a/sdk/dotnet/GetNetworks.cs b/sdk/dotnet/GetNetworks.cs new file mode 100644 index 00000000..42809e5f --- /dev/null +++ b/sdk/dotnet/GetNetworks.cs @@ -0,0 +1,141 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Stackit +{ + public static class GetNetworks + { + /// + /// Lists all IaaS networks in a project and region. Results are sorted by image ID. + /// + /// > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + /// + /// ## Example Usage + /// + /// ```terraform + /// data "stackit_networks" "example" { + /// project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// } + /// ``` + /// + public static Task InvokeAsync(GetNetworksArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("stackit:index/getNetworks:getNetworks", args ?? new GetNetworksArgs(), options.WithDefaults()); + + /// + /// Lists all IaaS networks in a project and region. Results are sorted by image ID. + /// + /// > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + /// + /// ## Example Usage + /// + /// ```terraform + /// data "stackit_networks" "example" { + /// project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// } + /// ``` + /// + public static Output Invoke(GetNetworksInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("stackit:index/getNetworks:getNetworks", args ?? new GetNetworksInvokeArgs(), options.WithDefaults()); + + /// + /// Lists all IaaS networks in a project and region. Results are sorted by image ID. + /// + /// > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + /// + /// ## Example Usage + /// + /// ```terraform + /// data "stackit_networks" "example" { + /// project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + /// } + /// ``` + /// + public static Output Invoke(GetNetworksInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("stackit:index/getNetworks:getNetworks", args ?? new GetNetworksInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetNetworksArgs : global::Pulumi.InvokeArgs + { + /// + /// STACKIT project ID to which the networks are associated. + /// + [Input("projectId", required: true)] + public string ProjectId { get; set; } = null!; + + /// + /// The resource region. If not defined, the provider region is used. + /// + [Input("region")] + public string? Region { get; set; } + + public GetNetworksArgs() + { + } + public static new GetNetworksArgs Empty => new GetNetworksArgs(); + } + + public sealed class GetNetworksInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// STACKIT project ID to which the networks are associated. + /// + [Input("projectId", required: true)] + public Input ProjectId { get; set; } = null!; + + /// + /// The resource region. If not defined, the provider region is used. + /// + [Input("region")] + public Input? Region { get; set; } + + public GetNetworksInvokeArgs() + { + } + public static new GetNetworksInvokeArgs Empty => new GetNetworksInvokeArgs(); + } + + + [OutputType] + public sealed class GetNetworksResult + { + /// + /// Terraform's internal resource ID. It is structured as "`ProjectId`,`Region`". + /// + public readonly string Id; + /// + /// STACKIT project ID to which the networks are associated. + /// + public readonly string ProjectId; + /// + /// The resource region. If not defined, the provider region is used. + /// + public readonly string? Region; + /// + /// List of networks. + /// + public readonly ImmutableArray Results; + + [OutputConstructor] + private GetNetworksResult( + string id, + + string projectId, + + string? region, + + ImmutableArray results) + { + Id = id; + ProjectId = projectId; + Region = region; + Results = results; + } + } +} diff --git a/sdk/dotnet/Inputs/CdnDistributionConfigArgs.cs b/sdk/dotnet/Inputs/CdnDistributionConfigArgs.cs index f17c1e80..a5fbbbc2 100644 --- a/sdk/dotnet/Inputs/CdnDistributionConfigArgs.cs +++ b/sdk/dotnet/Inputs/CdnDistributionConfigArgs.cs @@ -42,6 +42,12 @@ public InputList BlockedIps set => _blockedIps = value; } + /// + /// Groups the cache options that influence how the CDN builds its cache key. Warning: enabling query-string vary produces one cache entry per unique query-string combination (unbounded when query*string*vary*parameters is empty). Each entry in cache*key*headers multiplies the number of cache variants by the number of distinct values observed for that header. Use these settings sparingly. + /// + [Input("cacheConfig")] + public Input? CacheConfig { get; set; } + /// /// 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). Note: once a value is set, removing the attribute from your configuration will retain the last known value in state. /// diff --git a/sdk/dotnet/Inputs/CdnDistributionConfigCacheConfigArgs.cs b/sdk/dotnet/Inputs/CdnDistributionConfigCacheConfigArgs.cs new file mode 100644 index 00000000..b230a916 --- /dev/null +++ b/sdk/dotnet/Inputs/CdnDistributionConfigCacheConfigArgs.cs @@ -0,0 +1,50 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Stackit.Inputs +{ + + public sealed class CdnDistributionConfigCacheConfigArgs : global::Pulumi.ResourceArgs + { + [Input("cacheKeyHeaders")] + private InputList? _cacheKeyHeaders; + + /// + /// HTTP request header names whose values participate in the cache key. Each entry multiplies the number of cache variants by the number of distinct values observed for that header. + /// + public InputList CacheKeyHeaders + { + get => _cacheKeyHeaders ?? (_cacheKeyHeaders = new InputList()); + set => _cacheKeyHeaders = value; + } + + /// + /// When true, the CDN varies its cache by the request query string. If query*string*vary_parameters is empty, every unique query-string combination produces its own cache entry; if non-empty, only the listed parameters influence the cache key. + /// + [Input("queryStringVaryEnabled")] + public Input? QueryStringVaryEnabled { get; set; } + + [Input("queryStringVaryParameters")] + private InputList? _queryStringVaryParameters; + + /// + /// Allowlist of query-string parameter names that participate in the cache key when query*string*vary*enabled is true. Ignored while query*string*vary*enabled is false, but still stored so it can be re-activated without losing the list. + /// + public InputList QueryStringVaryParameters + { + get => _queryStringVaryParameters ?? (_queryStringVaryParameters = new InputList()); + set => _queryStringVaryParameters = value; + } + + public CdnDistributionConfigCacheConfigArgs() + { + } + public static new CdnDistributionConfigCacheConfigArgs Empty => new CdnDistributionConfigCacheConfigArgs(); + } +} diff --git a/sdk/dotnet/Inputs/CdnDistributionConfigCacheConfigGetArgs.cs b/sdk/dotnet/Inputs/CdnDistributionConfigCacheConfigGetArgs.cs new file mode 100644 index 00000000..81861e9b --- /dev/null +++ b/sdk/dotnet/Inputs/CdnDistributionConfigCacheConfigGetArgs.cs @@ -0,0 +1,50 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Stackit.Inputs +{ + + public sealed class CdnDistributionConfigCacheConfigGetArgs : global::Pulumi.ResourceArgs + { + [Input("cacheKeyHeaders")] + private InputList? _cacheKeyHeaders; + + /// + /// HTTP request header names whose values participate in the cache key. Each entry multiplies the number of cache variants by the number of distinct values observed for that header. + /// + public InputList CacheKeyHeaders + { + get => _cacheKeyHeaders ?? (_cacheKeyHeaders = new InputList()); + set => _cacheKeyHeaders = value; + } + + /// + /// When true, the CDN varies its cache by the request query string. If query*string*vary_parameters is empty, every unique query-string combination produces its own cache entry; if non-empty, only the listed parameters influence the cache key. + /// + [Input("queryStringVaryEnabled")] + public Input? QueryStringVaryEnabled { get; set; } + + [Input("queryStringVaryParameters")] + private InputList? _queryStringVaryParameters; + + /// + /// Allowlist of query-string parameter names that participate in the cache key when query*string*vary*enabled is true. Ignored while query*string*vary*enabled is false, but still stored so it can be re-activated without losing the list. + /// + public InputList QueryStringVaryParameters + { + get => _queryStringVaryParameters ?? (_queryStringVaryParameters = new InputList()); + set => _queryStringVaryParameters = value; + } + + public CdnDistributionConfigCacheConfigGetArgs() + { + } + public static new CdnDistributionConfigCacheConfigGetArgs Empty => new CdnDistributionConfigCacheConfigGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/CdnDistributionConfigGetArgs.cs b/sdk/dotnet/Inputs/CdnDistributionConfigGetArgs.cs index 96de4358..e6ca7c0e 100644 --- a/sdk/dotnet/Inputs/CdnDistributionConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/CdnDistributionConfigGetArgs.cs @@ -42,6 +42,12 @@ public InputList BlockedIps set => _blockedIps = value; } + /// + /// Groups the cache options that influence how the CDN builds its cache key. Warning: enabling query-string vary produces one cache entry per unique query-string combination (unbounded when query*string*vary*parameters is empty). Each entry in cache*key*headers multiplies the number of cache variants by the number of distinct values observed for that header. Use these settings sparingly. + /// + [Input("cacheConfig")] + public Input? CacheConfig { get; set; } + /// /// 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). Note: once a value is set, removing the attribute from your configuration will retain the last known value in state. /// diff --git a/sdk/dotnet/Outputs/CdnDistributionConfig.cs b/sdk/dotnet/Outputs/CdnDistributionConfig.cs index b6635b97..acbee02a 100644 --- a/sdk/dotnet/Outputs/CdnDistributionConfig.cs +++ b/sdk/dotnet/Outputs/CdnDistributionConfig.cs @@ -26,6 +26,10 @@ public sealed class CdnDistributionConfig /// public readonly ImmutableArray BlockedIps; /// + /// Groups the cache options that influence how the CDN builds its cache key. Warning: enabling query-string vary produces one cache entry per unique query-string combination (unbounded when query*string*vary*parameters is empty). Each entry in cache*key*headers multiplies the number of cache variants by the number of distinct values observed for that header. Use these settings sparingly. + /// + public readonly Outputs.CdnDistributionConfigCacheConfig? CacheConfig; + /// /// 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). Note: once a value is set, removing the attribute from your configuration will retain the last known value in state. /// public readonly string? DefaultCacheDuration; @@ -70,6 +74,8 @@ private CdnDistributionConfig( ImmutableArray blockedIps, + Outputs.CdnDistributionConfigCacheConfig? cacheConfig, + string? defaultCacheDuration, bool? forwardHostHeader, @@ -91,6 +97,7 @@ private CdnDistributionConfig( Backend = backend; BlockedCountries = blockedCountries; BlockedIps = blockedIps; + CacheConfig = cacheConfig; DefaultCacheDuration = defaultCacheDuration; ForwardHostHeader = forwardHostHeader; MonthlyLimitBytes = monthlyLimitBytes; diff --git a/sdk/dotnet/Outputs/CdnDistributionConfigCacheConfig.cs b/sdk/dotnet/Outputs/CdnDistributionConfigCacheConfig.cs new file mode 100644 index 00000000..94c584d9 --- /dev/null +++ b/sdk/dotnet/Outputs/CdnDistributionConfigCacheConfig.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Stackit.Outputs +{ + + [OutputType] + public sealed class CdnDistributionConfigCacheConfig + { + /// + /// HTTP request header names whose values participate in the cache key. Each entry multiplies the number of cache variants by the number of distinct values observed for that header. + /// + public readonly ImmutableArray CacheKeyHeaders; + /// + /// When true, the CDN varies its cache by the request query string. If query*string*vary_parameters is empty, every unique query-string combination produces its own cache entry; if non-empty, only the listed parameters influence the cache key. + /// + public readonly bool? QueryStringVaryEnabled; + /// + /// Allowlist of query-string parameter names that participate in the cache key when query*string*vary*enabled is true. Ignored while query*string*vary*enabled is false, but still stored so it can be re-activated without losing the list. + /// + public readonly ImmutableArray QueryStringVaryParameters; + + [OutputConstructor] + private CdnDistributionConfigCacheConfig( + ImmutableArray cacheKeyHeaders, + + bool? queryStringVaryEnabled, + + ImmutableArray queryStringVaryParameters) + { + CacheKeyHeaders = cacheKeyHeaders; + QueryStringVaryEnabled = queryStringVaryEnabled; + QueryStringVaryParameters = queryStringVaryParameters; + } + } +} diff --git a/sdk/dotnet/Outputs/GetCdnDistributionConfigCacheConfigResult.cs b/sdk/dotnet/Outputs/GetCdnDistributionConfigCacheConfigResult.cs new file mode 100644 index 00000000..e5f7e763 --- /dev/null +++ b/sdk/dotnet/Outputs/GetCdnDistributionConfigCacheConfigResult.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Stackit.Outputs +{ + + [OutputType] + public sealed class GetCdnDistributionConfigCacheConfigResult + { + /// + /// HTTP request header names whose values participate in the cache key. Each entry multiplies the number of cache variants by the number of distinct values observed for that header. + /// + public readonly ImmutableArray CacheKeyHeaders; + /// + /// When true, the CDN varies its cache by the request query string. If query*string*vary_parameters is empty, every unique query-string combination produces its own cache entry; if non-empty, only the listed parameters influence the cache key. + /// + public readonly bool QueryStringVaryEnabled; + /// + /// Allowlist of query-string parameter names that participate in the cache key when query*string*vary*enabled is true. Ignored while query*string*vary*enabled is false, but still stored so it can be re-activated without losing the list. + /// + public readonly ImmutableArray QueryStringVaryParameters; + + [OutputConstructor] + private GetCdnDistributionConfigCacheConfigResult( + ImmutableArray cacheKeyHeaders, + + bool queryStringVaryEnabled, + + ImmutableArray queryStringVaryParameters) + { + CacheKeyHeaders = cacheKeyHeaders; + QueryStringVaryEnabled = queryStringVaryEnabled; + QueryStringVaryParameters = queryStringVaryParameters; + } + } +} diff --git a/sdk/dotnet/Outputs/GetCdnDistributionConfigResult.cs b/sdk/dotnet/Outputs/GetCdnDistributionConfigResult.cs index 98493150..e627f8a4 100644 --- a/sdk/dotnet/Outputs/GetCdnDistributionConfigResult.cs +++ b/sdk/dotnet/Outputs/GetCdnDistributionConfigResult.cs @@ -26,6 +26,10 @@ public sealed class GetCdnDistributionConfigResult /// public readonly ImmutableArray BlockedIps; /// + /// Groups the cache options that influence how the CDN builds its cache key. Warning: enabling query-string vary produces one cache entry per unique query-string combination (unbounded when query*string*vary*parameters is empty). Each entry in cache*key*headers multiplies the number of cache variants by the number of distinct values observed for that header. Use these settings sparingly. + /// + public readonly Outputs.GetCdnDistributionConfigCacheConfigResult CacheConfig; + /// /// 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). Note: once a value is set, removing the attribute from your configuration will retain the last known value in state. /// public readonly string DefaultCacheDuration; @@ -70,6 +74,8 @@ private GetCdnDistributionConfigResult( ImmutableArray blockedIps, + Outputs.GetCdnDistributionConfigCacheConfigResult cacheConfig, + string defaultCacheDuration, bool forwardHostHeader, @@ -91,6 +97,7 @@ private GetCdnDistributionConfigResult( Backend = backend; BlockedCountries = blockedCountries; BlockedIps = blockedIps; + CacheConfig = cacheConfig; DefaultCacheDuration = defaultCacheDuration; ForwardHostHeader = forwardHostHeader; MonthlyLimitBytes = monthlyLimitBytes; diff --git a/sdk/dotnet/Outputs/GetNetworksResultResult.cs b/sdk/dotnet/Outputs/GetNetworksResultResult.cs new file mode 100644 index 00000000..35351d53 --- /dev/null +++ b/sdk/dotnet/Outputs/GetNetworksResultResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Stackit.Outputs +{ + + [OutputType] + public sealed class GetNetworksResultResult + { + /// + /// The name of the network. + /// + public readonly string Name; + /// + /// The network ID. + /// + public readonly string NetworkId; + + [OutputConstructor] + private GetNetworksResultResult( + string name, + + string networkId) + { + Name = name; + NetworkId = networkId; + } + } +} diff --git a/sdk/go/stackit/getNetworks.go b/sdk/go/stackit/getNetworks.go new file mode 100644 index 00000000..c192a2dc --- /dev/null +++ b/sdk/go/stackit/getNetworks.go @@ -0,0 +1,103 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package stackit + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/stackitcloud/pulumi-stackit/sdk/go/stackit/internal" +) + +// Lists all IaaS networks in a project and region. Results are sorted by image ID. +// +// > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. +// +// ## Example Usage +func LookupNetworks(ctx *pulumi.Context, args *LookupNetworksArgs, opts ...pulumi.InvokeOption) (*LookupNetworksResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupNetworksResult + err := ctx.Invoke("stackit:index/getNetworks:getNetworks", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getNetworks. +type LookupNetworksArgs struct { + // STACKIT project ID to which the networks are associated. + ProjectId string `pulumi:"projectId"` + // The resource region. If not defined, the provider region is used. + Region *string `pulumi:"region"` +} + +// A collection of values returned by getNetworks. +type LookupNetworksResult struct { + // Terraform's internal resource ID. It is structured as "`projectId`,`region`". + Id string `pulumi:"id"` + // STACKIT project ID to which the networks are associated. + ProjectId string `pulumi:"projectId"` + // The resource region. If not defined, the provider region is used. + Region *string `pulumi:"region"` + // List of networks. + Results []GetNetworksResult `pulumi:"results"` +} + +func LookupNetworksOutput(ctx *pulumi.Context, args LookupNetworksOutputArgs, opts ...pulumi.InvokeOption) LookupNetworksResultOutput { + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("stackit:index/getNetworks:getNetworks", args, LookupNetworksResultOutput{}, options).(LookupNetworksResultOutput) +} + +// A collection of arguments for invoking getNetworks. +type LookupNetworksOutputArgs struct { + // STACKIT project ID to which the networks are associated. + ProjectId pulumi.StringInput `pulumi:"projectId"` + // The resource region. If not defined, the provider region is used. + Region pulumi.StringPtrInput `pulumi:"region"` +} + +func (LookupNetworksOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupNetworksArgs)(nil)).Elem() +} + +// A collection of values returned by getNetworks. +type LookupNetworksResultOutput struct{ *pulumi.OutputState } + +func (LookupNetworksResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupNetworksResult)(nil)).Elem() +} + +func (o LookupNetworksResultOutput) ToLookupNetworksResultOutput() LookupNetworksResultOutput { + return o +} + +func (o LookupNetworksResultOutput) ToLookupNetworksResultOutputWithContext(ctx context.Context) LookupNetworksResultOutput { + return o +} + +// Terraform's internal resource ID. It is structured as "`projectId`,`region`". +func (o LookupNetworksResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupNetworksResult) string { return v.Id }).(pulumi.StringOutput) +} + +// STACKIT project ID to which the networks are associated. +func (o LookupNetworksResultOutput) ProjectId() pulumi.StringOutput { + return o.ApplyT(func(v LookupNetworksResult) string { return v.ProjectId }).(pulumi.StringOutput) +} + +// The resource region. If not defined, the provider region is used. +func (o LookupNetworksResultOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupNetworksResult) *string { return v.Region }).(pulumi.StringPtrOutput) +} + +// List of networks. +func (o LookupNetworksResultOutput) Results() GetNetworksResultArrayOutput { + return o.ApplyT(func(v LookupNetworksResult) []GetNetworksResult { return v.Results }).(GetNetworksResultArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupNetworksResultOutput{}) +} diff --git a/sdk/go/stackit/pulumiTypes.go b/sdk/go/stackit/pulumiTypes.go index 4810c330..35453498 100644 --- a/sdk/go/stackit/pulumiTypes.go +++ b/sdk/go/stackit/pulumiTypes.go @@ -4291,6 +4291,8 @@ type CdnDistributionConfig struct { BlockedCountries []string `pulumi:"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. Note: once a value is set, removing the attribute from your configuration will retain the last known value in state; to clear it explicitly, set it to an empty list. BlockedIps []string `pulumi:"blockedIps"` + // Groups the cache options that influence how the CDN builds its cache key. Warning: enabling query-string vary produces one cache entry per unique query-string combination (unbounded when query*string*vary*parameters is empty). Each entry in cache*key*headers multiplies the number of cache variants by the number of distinct values observed for that header. Use these settings sparingly. + CacheConfig *CdnDistributionConfigCacheConfig `pulumi:"cacheConfig"` // 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). Note: once a value is set, removing the attribute from your configuration will retain the last known value in state. DefaultCacheDuration *string `pulumi:"defaultCacheDuration"` // Enable this allows the 'Host' header to be passed through to the origin. @@ -4329,6 +4331,8 @@ type CdnDistributionConfigArgs struct { BlockedCountries pulumi.StringArrayInput `pulumi:"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. Note: once a value is set, removing the attribute from your configuration will retain the last known value in state; to clear it explicitly, set it to an empty list. BlockedIps pulumi.StringArrayInput `pulumi:"blockedIps"` + // Groups the cache options that influence how the CDN builds its cache key. Warning: enabling query-string vary produces one cache entry per unique query-string combination (unbounded when query*string*vary*parameters is empty). Each entry in cache*key*headers multiplies the number of cache variants by the number of distinct values observed for that header. Use these settings sparingly. + CacheConfig CdnDistributionConfigCacheConfigPtrInput `pulumi:"cacheConfig"` // 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). Note: once a value is set, removing the attribute from your configuration will retain the last known value in state. DefaultCacheDuration pulumi.StringPtrInput `pulumi:"defaultCacheDuration"` // Enable this allows the 'Host' header to be passed through to the origin. @@ -4441,6 +4445,11 @@ func (o CdnDistributionConfigOutput) BlockedIps() pulumi.StringArrayOutput { return o.ApplyT(func(v CdnDistributionConfig) []string { return v.BlockedIps }).(pulumi.StringArrayOutput) } +// Groups the cache options that influence how the CDN builds its cache key. Warning: enabling query-string vary produces one cache entry per unique query-string combination (unbounded when query*string*vary*parameters is empty). Each entry in cache*key*headers multiplies the number of cache variants by the number of distinct values observed for that header. Use these settings sparingly. +func (o CdnDistributionConfigOutput) CacheConfig() CdnDistributionConfigCacheConfigPtrOutput { + return o.ApplyT(func(v CdnDistributionConfig) *CdnDistributionConfigCacheConfig { return v.CacheConfig }).(CdnDistributionConfigCacheConfigPtrOutput) +} + // 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). Note: once a value is set, removing the attribute from your configuration will retain the last known value in state. func (o CdnDistributionConfigOutput) DefaultCacheDuration() pulumi.StringPtrOutput { return o.ApplyT(func(v CdnDistributionConfig) *string { return v.DefaultCacheDuration }).(pulumi.StringPtrOutput) @@ -4540,6 +4549,16 @@ func (o CdnDistributionConfigPtrOutput) BlockedIps() pulumi.StringArrayOutput { }).(pulumi.StringArrayOutput) } +// Groups the cache options that influence how the CDN builds its cache key. Warning: enabling query-string vary produces one cache entry per unique query-string combination (unbounded when query*string*vary*parameters is empty). Each entry in cache*key*headers multiplies the number of cache variants by the number of distinct values observed for that header. Use these settings sparingly. +func (o CdnDistributionConfigPtrOutput) CacheConfig() CdnDistributionConfigCacheConfigPtrOutput { + return o.ApplyT(func(v *CdnDistributionConfig) *CdnDistributionConfigCacheConfig { + if v == nil { + return nil + } + return v.CacheConfig + }).(CdnDistributionConfigCacheConfigPtrOutput) +} + // 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). Note: once a value is set, removing the attribute from your configuration will retain the last known value in state. func (o CdnDistributionConfigPtrOutput) DefaultCacheDuration() pulumi.StringPtrOutput { return o.ApplyT(func(v *CdnDistributionConfig) *string { @@ -5037,6 +5056,181 @@ func (o CdnDistributionConfigBackendCredentialsPtrOutput) SecretAccessKey() pulu }).(pulumi.StringPtrOutput) } +type CdnDistributionConfigCacheConfig struct { + // HTTP request header names whose values participate in the cache key. Each entry multiplies the number of cache variants by the number of distinct values observed for that header. + CacheKeyHeaders []string `pulumi:"cacheKeyHeaders"` + // When true, the CDN varies its cache by the request query string. If query*string*vary_parameters is empty, every unique query-string combination produces its own cache entry; if non-empty, only the listed parameters influence the cache key. + QueryStringVaryEnabled *bool `pulumi:"queryStringVaryEnabled"` + // Allowlist of query-string parameter names that participate in the cache key when query*string*vary*enabled is true. Ignored while query*string*vary*enabled is false, but still stored so it can be re-activated without losing the list. + QueryStringVaryParameters []string `pulumi:"queryStringVaryParameters"` +} + +// CdnDistributionConfigCacheConfigInput is an input type that accepts CdnDistributionConfigCacheConfigArgs and CdnDistributionConfigCacheConfigOutput values. +// You can construct a concrete instance of `CdnDistributionConfigCacheConfigInput` via: +// +// CdnDistributionConfigCacheConfigArgs{...} +type CdnDistributionConfigCacheConfigInput interface { + pulumi.Input + + ToCdnDistributionConfigCacheConfigOutput() CdnDistributionConfigCacheConfigOutput + ToCdnDistributionConfigCacheConfigOutputWithContext(context.Context) CdnDistributionConfigCacheConfigOutput +} + +type CdnDistributionConfigCacheConfigArgs struct { + // HTTP request header names whose values participate in the cache key. Each entry multiplies the number of cache variants by the number of distinct values observed for that header. + CacheKeyHeaders pulumi.StringArrayInput `pulumi:"cacheKeyHeaders"` + // When true, the CDN varies its cache by the request query string. If query*string*vary_parameters is empty, every unique query-string combination produces its own cache entry; if non-empty, only the listed parameters influence the cache key. + QueryStringVaryEnabled pulumi.BoolPtrInput `pulumi:"queryStringVaryEnabled"` + // Allowlist of query-string parameter names that participate in the cache key when query*string*vary*enabled is true. Ignored while query*string*vary*enabled is false, but still stored so it can be re-activated without losing the list. + QueryStringVaryParameters pulumi.StringArrayInput `pulumi:"queryStringVaryParameters"` +} + +func (CdnDistributionConfigCacheConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CdnDistributionConfigCacheConfig)(nil)).Elem() +} + +func (i CdnDistributionConfigCacheConfigArgs) ToCdnDistributionConfigCacheConfigOutput() CdnDistributionConfigCacheConfigOutput { + return i.ToCdnDistributionConfigCacheConfigOutputWithContext(context.Background()) +} + +func (i CdnDistributionConfigCacheConfigArgs) ToCdnDistributionConfigCacheConfigOutputWithContext(ctx context.Context) CdnDistributionConfigCacheConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(CdnDistributionConfigCacheConfigOutput) +} + +func (i CdnDistributionConfigCacheConfigArgs) ToCdnDistributionConfigCacheConfigPtrOutput() CdnDistributionConfigCacheConfigPtrOutput { + return i.ToCdnDistributionConfigCacheConfigPtrOutputWithContext(context.Background()) +} + +func (i CdnDistributionConfigCacheConfigArgs) ToCdnDistributionConfigCacheConfigPtrOutputWithContext(ctx context.Context) CdnDistributionConfigCacheConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CdnDistributionConfigCacheConfigOutput).ToCdnDistributionConfigCacheConfigPtrOutputWithContext(ctx) +} + +// CdnDistributionConfigCacheConfigPtrInput is an input type that accepts CdnDistributionConfigCacheConfigArgs, CdnDistributionConfigCacheConfigPtr and CdnDistributionConfigCacheConfigPtrOutput values. +// You can construct a concrete instance of `CdnDistributionConfigCacheConfigPtrInput` via: +// +// CdnDistributionConfigCacheConfigArgs{...} +// +// or: +// +// nil +type CdnDistributionConfigCacheConfigPtrInput interface { + pulumi.Input + + ToCdnDistributionConfigCacheConfigPtrOutput() CdnDistributionConfigCacheConfigPtrOutput + ToCdnDistributionConfigCacheConfigPtrOutputWithContext(context.Context) CdnDistributionConfigCacheConfigPtrOutput +} + +type cdnDistributionConfigCacheConfigPtrType CdnDistributionConfigCacheConfigArgs + +func CdnDistributionConfigCacheConfigPtr(v *CdnDistributionConfigCacheConfigArgs) CdnDistributionConfigCacheConfigPtrInput { + return (*cdnDistributionConfigCacheConfigPtrType)(v) +} + +func (*cdnDistributionConfigCacheConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CdnDistributionConfigCacheConfig)(nil)).Elem() +} + +func (i *cdnDistributionConfigCacheConfigPtrType) ToCdnDistributionConfigCacheConfigPtrOutput() CdnDistributionConfigCacheConfigPtrOutput { + return i.ToCdnDistributionConfigCacheConfigPtrOutputWithContext(context.Background()) +} + +func (i *cdnDistributionConfigCacheConfigPtrType) ToCdnDistributionConfigCacheConfigPtrOutputWithContext(ctx context.Context) CdnDistributionConfigCacheConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CdnDistributionConfigCacheConfigPtrOutput) +} + +type CdnDistributionConfigCacheConfigOutput struct{ *pulumi.OutputState } + +func (CdnDistributionConfigCacheConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CdnDistributionConfigCacheConfig)(nil)).Elem() +} + +func (o CdnDistributionConfigCacheConfigOutput) ToCdnDistributionConfigCacheConfigOutput() CdnDistributionConfigCacheConfigOutput { + return o +} + +func (o CdnDistributionConfigCacheConfigOutput) ToCdnDistributionConfigCacheConfigOutputWithContext(ctx context.Context) CdnDistributionConfigCacheConfigOutput { + return o +} + +func (o CdnDistributionConfigCacheConfigOutput) ToCdnDistributionConfigCacheConfigPtrOutput() CdnDistributionConfigCacheConfigPtrOutput { + return o.ToCdnDistributionConfigCacheConfigPtrOutputWithContext(context.Background()) +} + +func (o CdnDistributionConfigCacheConfigOutput) ToCdnDistributionConfigCacheConfigPtrOutputWithContext(ctx context.Context) CdnDistributionConfigCacheConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CdnDistributionConfigCacheConfig) *CdnDistributionConfigCacheConfig { + return &v + }).(CdnDistributionConfigCacheConfigPtrOutput) +} + +// HTTP request header names whose values participate in the cache key. Each entry multiplies the number of cache variants by the number of distinct values observed for that header. +func (o CdnDistributionConfigCacheConfigOutput) CacheKeyHeaders() pulumi.StringArrayOutput { + return o.ApplyT(func(v CdnDistributionConfigCacheConfig) []string { return v.CacheKeyHeaders }).(pulumi.StringArrayOutput) +} + +// When true, the CDN varies its cache by the request query string. If query*string*vary_parameters is empty, every unique query-string combination produces its own cache entry; if non-empty, only the listed parameters influence the cache key. +func (o CdnDistributionConfigCacheConfigOutput) QueryStringVaryEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v CdnDistributionConfigCacheConfig) *bool { return v.QueryStringVaryEnabled }).(pulumi.BoolPtrOutput) +} + +// Allowlist of query-string parameter names that participate in the cache key when query*string*vary*enabled is true. Ignored while query*string*vary*enabled is false, but still stored so it can be re-activated without losing the list. +func (o CdnDistributionConfigCacheConfigOutput) QueryStringVaryParameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v CdnDistributionConfigCacheConfig) []string { return v.QueryStringVaryParameters }).(pulumi.StringArrayOutput) +} + +type CdnDistributionConfigCacheConfigPtrOutput struct{ *pulumi.OutputState } + +func (CdnDistributionConfigCacheConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CdnDistributionConfigCacheConfig)(nil)).Elem() +} + +func (o CdnDistributionConfigCacheConfigPtrOutput) ToCdnDistributionConfigCacheConfigPtrOutput() CdnDistributionConfigCacheConfigPtrOutput { + return o +} + +func (o CdnDistributionConfigCacheConfigPtrOutput) ToCdnDistributionConfigCacheConfigPtrOutputWithContext(ctx context.Context) CdnDistributionConfigCacheConfigPtrOutput { + return o +} + +func (o CdnDistributionConfigCacheConfigPtrOutput) Elem() CdnDistributionConfigCacheConfigOutput { + return o.ApplyT(func(v *CdnDistributionConfigCacheConfig) CdnDistributionConfigCacheConfig { + if v != nil { + return *v + } + var ret CdnDistributionConfigCacheConfig + return ret + }).(CdnDistributionConfigCacheConfigOutput) +} + +// HTTP request header names whose values participate in the cache key. Each entry multiplies the number of cache variants by the number of distinct values observed for that header. +func (o CdnDistributionConfigCacheConfigPtrOutput) CacheKeyHeaders() pulumi.StringArrayOutput { + return o.ApplyT(func(v *CdnDistributionConfigCacheConfig) []string { + if v == nil { + return nil + } + return v.CacheKeyHeaders + }).(pulumi.StringArrayOutput) +} + +// When true, the CDN varies its cache by the request query string. If query*string*vary_parameters is empty, every unique query-string combination produces its own cache entry; if non-empty, only the listed parameters influence the cache key. +func (o CdnDistributionConfigCacheConfigPtrOutput) QueryStringVaryEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *CdnDistributionConfigCacheConfig) *bool { + if v == nil { + return nil + } + return v.QueryStringVaryEnabled + }).(pulumi.BoolPtrOutput) +} + +// Allowlist of query-string parameter names that participate in the cache key when query*string*vary*enabled is true. Ignored while query*string*vary*enabled is false, but still stored so it can be re-activated without losing the list. +func (o CdnDistributionConfigCacheConfigPtrOutput) QueryStringVaryParameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *CdnDistributionConfigCacheConfig) []string { + if v == nil { + return nil + } + return v.QueryStringVaryParameters + }).(pulumi.StringArrayOutput) +} + type CdnDistributionConfigOptimizer struct { Enabled *bool `pulumi:"enabled"` } @@ -31675,6 +31869,8 @@ type GetCdnDistributionConfig struct { BlockedCountries []string `pulumi:"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. Note: once a value is set, removing the attribute from your configuration will retain the last known value in state; to clear it explicitly, set it to an empty list. BlockedIps []string `pulumi:"blockedIps"` + // Groups the cache options that influence how the CDN builds its cache key. Warning: enabling query-string vary produces one cache entry per unique query-string combination (unbounded when query*string*vary*parameters is empty). Each entry in cache*key*headers multiplies the number of cache variants by the number of distinct values observed for that header. Use these settings sparingly. + CacheConfig GetCdnDistributionConfigCacheConfig `pulumi:"cacheConfig"` // 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). Note: once a value is set, removing the attribute from your configuration will retain the last known value in state. DefaultCacheDuration string `pulumi:"defaultCacheDuration"` // Enable this allows the 'Host' header to be passed through to the origin. @@ -31713,6 +31909,8 @@ type GetCdnDistributionConfigArgs struct { BlockedCountries pulumi.StringArrayInput `pulumi:"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. Note: once a value is set, removing the attribute from your configuration will retain the last known value in state; to clear it explicitly, set it to an empty list. BlockedIps pulumi.StringArrayInput `pulumi:"blockedIps"` + // Groups the cache options that influence how the CDN builds its cache key. Warning: enabling query-string vary produces one cache entry per unique query-string combination (unbounded when query*string*vary*parameters is empty). Each entry in cache*key*headers multiplies the number of cache variants by the number of distinct values observed for that header. Use these settings sparingly. + CacheConfig GetCdnDistributionConfigCacheConfigInput `pulumi:"cacheConfig"` // 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). Note: once a value is set, removing the attribute from your configuration will retain the last known value in state. DefaultCacheDuration pulumi.StringInput `pulumi:"defaultCacheDuration"` // Enable this allows the 'Host' header to be passed through to the origin. @@ -31774,6 +31972,11 @@ func (o GetCdnDistributionConfigOutput) BlockedIps() pulumi.StringArrayOutput { return o.ApplyT(func(v GetCdnDistributionConfig) []string { return v.BlockedIps }).(pulumi.StringArrayOutput) } +// Groups the cache options that influence how the CDN builds its cache key. Warning: enabling query-string vary produces one cache entry per unique query-string combination (unbounded when query*string*vary*parameters is empty). Each entry in cache*key*headers multiplies the number of cache variants by the number of distinct values observed for that header. Use these settings sparingly. +func (o GetCdnDistributionConfigOutput) CacheConfig() GetCdnDistributionConfigCacheConfigOutput { + return o.ApplyT(func(v GetCdnDistributionConfig) GetCdnDistributionConfigCacheConfig { return v.CacheConfig }).(GetCdnDistributionConfigCacheConfigOutput) +} + // 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). Note: once a value is set, removing the attribute from your configuration will retain the last known value in state. func (o GetCdnDistributionConfigOutput) DefaultCacheDuration() pulumi.StringOutput { return o.ApplyT(func(v GetCdnDistributionConfig) string { return v.DefaultCacheDuration }).(pulumi.StringOutput) @@ -31916,6 +32119,76 @@ func (o GetCdnDistributionConfigBackendOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v GetCdnDistributionConfigBackend) string { return v.Type }).(pulumi.StringOutput) } +type GetCdnDistributionConfigCacheConfig struct { + // HTTP request header names whose values participate in the cache key. Each entry multiplies the number of cache variants by the number of distinct values observed for that header. + CacheKeyHeaders []string `pulumi:"cacheKeyHeaders"` + // When true, the CDN varies its cache by the request query string. If query*string*vary_parameters is empty, every unique query-string combination produces its own cache entry; if non-empty, only the listed parameters influence the cache key. + QueryStringVaryEnabled bool `pulumi:"queryStringVaryEnabled"` + // Allowlist of query-string parameter names that participate in the cache key when query*string*vary*enabled is true. Ignored while query*string*vary*enabled is false, but still stored so it can be re-activated without losing the list. + QueryStringVaryParameters []string `pulumi:"queryStringVaryParameters"` +} + +// GetCdnDistributionConfigCacheConfigInput is an input type that accepts GetCdnDistributionConfigCacheConfigArgs and GetCdnDistributionConfigCacheConfigOutput values. +// You can construct a concrete instance of `GetCdnDistributionConfigCacheConfigInput` via: +// +// GetCdnDistributionConfigCacheConfigArgs{...} +type GetCdnDistributionConfigCacheConfigInput interface { + pulumi.Input + + ToGetCdnDistributionConfigCacheConfigOutput() GetCdnDistributionConfigCacheConfigOutput + ToGetCdnDistributionConfigCacheConfigOutputWithContext(context.Context) GetCdnDistributionConfigCacheConfigOutput +} + +type GetCdnDistributionConfigCacheConfigArgs struct { + // HTTP request header names whose values participate in the cache key. Each entry multiplies the number of cache variants by the number of distinct values observed for that header. + CacheKeyHeaders pulumi.StringArrayInput `pulumi:"cacheKeyHeaders"` + // When true, the CDN varies its cache by the request query string. If query*string*vary_parameters is empty, every unique query-string combination produces its own cache entry; if non-empty, only the listed parameters influence the cache key. + QueryStringVaryEnabled pulumi.BoolInput `pulumi:"queryStringVaryEnabled"` + // Allowlist of query-string parameter names that participate in the cache key when query*string*vary*enabled is true. Ignored while query*string*vary*enabled is false, but still stored so it can be re-activated without losing the list. + QueryStringVaryParameters pulumi.StringArrayInput `pulumi:"queryStringVaryParameters"` +} + +func (GetCdnDistributionConfigCacheConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCdnDistributionConfigCacheConfig)(nil)).Elem() +} + +func (i GetCdnDistributionConfigCacheConfigArgs) ToGetCdnDistributionConfigCacheConfigOutput() GetCdnDistributionConfigCacheConfigOutput { + return i.ToGetCdnDistributionConfigCacheConfigOutputWithContext(context.Background()) +} + +func (i GetCdnDistributionConfigCacheConfigArgs) ToGetCdnDistributionConfigCacheConfigOutputWithContext(ctx context.Context) GetCdnDistributionConfigCacheConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCdnDistributionConfigCacheConfigOutput) +} + +type GetCdnDistributionConfigCacheConfigOutput struct{ *pulumi.OutputState } + +func (GetCdnDistributionConfigCacheConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCdnDistributionConfigCacheConfig)(nil)).Elem() +} + +func (o GetCdnDistributionConfigCacheConfigOutput) ToGetCdnDistributionConfigCacheConfigOutput() GetCdnDistributionConfigCacheConfigOutput { + return o +} + +func (o GetCdnDistributionConfigCacheConfigOutput) ToGetCdnDistributionConfigCacheConfigOutputWithContext(ctx context.Context) GetCdnDistributionConfigCacheConfigOutput { + return o +} + +// HTTP request header names whose values participate in the cache key. Each entry multiplies the number of cache variants by the number of distinct values observed for that header. +func (o GetCdnDistributionConfigCacheConfigOutput) CacheKeyHeaders() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetCdnDistributionConfigCacheConfig) []string { return v.CacheKeyHeaders }).(pulumi.StringArrayOutput) +} + +// When true, the CDN varies its cache by the request query string. If query*string*vary_parameters is empty, every unique query-string combination produces its own cache entry; if non-empty, only the listed parameters influence the cache key. +func (o GetCdnDistributionConfigCacheConfigOutput) QueryStringVaryEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetCdnDistributionConfigCacheConfig) bool { return v.QueryStringVaryEnabled }).(pulumi.BoolOutput) +} + +// Allowlist of query-string parameter names that participate in the cache key when query*string*vary*enabled is true. Ignored while query*string*vary*enabled is false, but still stored so it can be re-activated without losing the list. +func (o GetCdnDistributionConfigCacheConfigOutput) QueryStringVaryParameters() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetCdnDistributionConfigCacheConfig) []string { return v.QueryStringVaryParameters }).(pulumi.StringArrayOutput) +} + type GetCdnDistributionConfigOptimizer struct { Enabled bool `pulumi:"enabled"` } @@ -37412,6 +37685,112 @@ func (o GetNetworkAreaRouteNextHopOutput) Value() pulumi.StringOutput { return o.ApplyT(func(v GetNetworkAreaRouteNextHop) string { return v.Value }).(pulumi.StringOutput) } +type GetNetworksResult struct { + // The name of the network. + Name string `pulumi:"name"` + // The network ID. + NetworkId string `pulumi:"networkId"` +} + +// GetNetworksResultInput is an input type that accepts GetNetworksResultArgs and GetNetworksResultOutput values. +// You can construct a concrete instance of `GetNetworksResultInput` via: +// +// GetNetworksResultArgs{...} +type GetNetworksResultInput interface { + pulumi.Input + + ToGetNetworksResultOutput() GetNetworksResultOutput + ToGetNetworksResultOutputWithContext(context.Context) GetNetworksResultOutput +} + +type GetNetworksResultArgs struct { + // The name of the network. + Name pulumi.StringInput `pulumi:"name"` + // The network ID. + NetworkId pulumi.StringInput `pulumi:"networkId"` +} + +func (GetNetworksResultArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetNetworksResult)(nil)).Elem() +} + +func (i GetNetworksResultArgs) ToGetNetworksResultOutput() GetNetworksResultOutput { + return i.ToGetNetworksResultOutputWithContext(context.Background()) +} + +func (i GetNetworksResultArgs) ToGetNetworksResultOutputWithContext(ctx context.Context) GetNetworksResultOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetNetworksResultOutput) +} + +// GetNetworksResultArrayInput is an input type that accepts GetNetworksResultArray and GetNetworksResultArrayOutput values. +// You can construct a concrete instance of `GetNetworksResultArrayInput` via: +// +// GetNetworksResultArray{ GetNetworksResultArgs{...} } +type GetNetworksResultArrayInput interface { + pulumi.Input + + ToGetNetworksResultArrayOutput() GetNetworksResultArrayOutput + ToGetNetworksResultArrayOutputWithContext(context.Context) GetNetworksResultArrayOutput +} + +type GetNetworksResultArray []GetNetworksResultInput + +func (GetNetworksResultArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetNetworksResult)(nil)).Elem() +} + +func (i GetNetworksResultArray) ToGetNetworksResultArrayOutput() GetNetworksResultArrayOutput { + return i.ToGetNetworksResultArrayOutputWithContext(context.Background()) +} + +func (i GetNetworksResultArray) ToGetNetworksResultArrayOutputWithContext(ctx context.Context) GetNetworksResultArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetNetworksResultArrayOutput) +} + +type GetNetworksResultOutput struct{ *pulumi.OutputState } + +func (GetNetworksResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetNetworksResult)(nil)).Elem() +} + +func (o GetNetworksResultOutput) ToGetNetworksResultOutput() GetNetworksResultOutput { + return o +} + +func (o GetNetworksResultOutput) ToGetNetworksResultOutputWithContext(ctx context.Context) GetNetworksResultOutput { + return o +} + +// The name of the network. +func (o GetNetworksResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetNetworksResult) string { return v.Name }).(pulumi.StringOutput) +} + +// The network ID. +func (o GetNetworksResultOutput) NetworkId() pulumi.StringOutput { + return o.ApplyT(func(v GetNetworksResult) string { return v.NetworkId }).(pulumi.StringOutput) +} + +type GetNetworksResultArrayOutput struct{ *pulumi.OutputState } + +func (GetNetworksResultArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetNetworksResult)(nil)).Elem() +} + +func (o GetNetworksResultArrayOutput) ToGetNetworksResultArrayOutput() GetNetworksResultArrayOutput { + return o +} + +func (o GetNetworksResultArrayOutput) ToGetNetworksResultArrayOutputWithContext(ctx context.Context) GetNetworksResultArrayOutput { + return o +} + +func (o GetNetworksResultArrayOutput) Index(i pulumi.IntInput) GetNetworksResultOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetNetworksResult { + return vs[0].([]GetNetworksResult)[vs[1].(int)] + }).(GetNetworksResultOutput) +} + type GetObservabilityAlertgroupRule struct { // The name of the alert rule. Is the identifier and must be unique in the group. Alert string `pulumi:"alert"` @@ -48345,6 +48724,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*CdnDistributionConfigBackendPtrInput)(nil)).Elem(), CdnDistributionConfigBackendArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*CdnDistributionConfigBackendCredentialsInput)(nil)).Elem(), CdnDistributionConfigBackendCredentialsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*CdnDistributionConfigBackendCredentialsPtrInput)(nil)).Elem(), CdnDistributionConfigBackendCredentialsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CdnDistributionConfigCacheConfigInput)(nil)).Elem(), CdnDistributionConfigCacheConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CdnDistributionConfigCacheConfigPtrInput)(nil)).Elem(), CdnDistributionConfigCacheConfigArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*CdnDistributionConfigOptimizerInput)(nil)).Elem(), CdnDistributionConfigOptimizerArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*CdnDistributionConfigOptimizerPtrInput)(nil)).Elem(), CdnDistributionConfigOptimizerArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*CdnDistributionConfigRedirectsInput)(nil)).Elem(), CdnDistributionConfigRedirectsArgs{}) @@ -48655,6 +49036,7 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetCdnCustomDomainCertificatePtrInput)(nil)).Elem(), GetCdnCustomDomainCertificateArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetCdnDistributionConfigInput)(nil)).Elem(), GetCdnDistributionConfigArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetCdnDistributionConfigBackendInput)(nil)).Elem(), GetCdnDistributionConfigBackendArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCdnDistributionConfigCacheConfigInput)(nil)).Elem(), GetCdnDistributionConfigCacheConfigArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetCdnDistributionConfigOptimizerInput)(nil)).Elem(), GetCdnDistributionConfigOptimizerArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetCdnDistributionConfigRedirectsInput)(nil)).Elem(), GetCdnDistributionConfigRedirectsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetCdnDistributionConfigRedirectsRuleInput)(nil)).Elem(), GetCdnDistributionConfigRedirectsRuleArgs{}) @@ -48728,6 +49110,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetNetworkAreaRegionIpv4NetworkRangeArrayInput)(nil)).Elem(), GetNetworkAreaRegionIpv4NetworkRangeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetNetworkAreaRouteDestinationInput)(nil)).Elem(), GetNetworkAreaRouteDestinationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetNetworkAreaRouteNextHopInput)(nil)).Elem(), GetNetworkAreaRouteNextHopArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetNetworksResultInput)(nil)).Elem(), GetNetworksResultArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetNetworksResultArrayInput)(nil)).Elem(), GetNetworksResultArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetObservabilityAlertgroupRuleInput)(nil)).Elem(), GetObservabilityAlertgroupRuleArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetObservabilityAlertgroupRuleArrayInput)(nil)).Elem(), GetObservabilityAlertgroupRuleArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetObservabilityInstanceAlertConfigInput)(nil)).Elem(), GetObservabilityInstanceAlertConfigArgs{}) @@ -48949,6 +49333,8 @@ func init() { pulumi.RegisterOutputType(CdnDistributionConfigBackendPtrOutput{}) pulumi.RegisterOutputType(CdnDistributionConfigBackendCredentialsOutput{}) pulumi.RegisterOutputType(CdnDistributionConfigBackendCredentialsPtrOutput{}) + pulumi.RegisterOutputType(CdnDistributionConfigCacheConfigOutput{}) + pulumi.RegisterOutputType(CdnDistributionConfigCacheConfigPtrOutput{}) pulumi.RegisterOutputType(CdnDistributionConfigOptimizerOutput{}) pulumi.RegisterOutputType(CdnDistributionConfigOptimizerPtrOutput{}) pulumi.RegisterOutputType(CdnDistributionConfigRedirectsOutput{}) @@ -49259,6 +49645,7 @@ func init() { pulumi.RegisterOutputType(GetCdnCustomDomainCertificatePtrOutput{}) pulumi.RegisterOutputType(GetCdnDistributionConfigOutput{}) pulumi.RegisterOutputType(GetCdnDistributionConfigBackendOutput{}) + pulumi.RegisterOutputType(GetCdnDistributionConfigCacheConfigOutput{}) pulumi.RegisterOutputType(GetCdnDistributionConfigOptimizerOutput{}) pulumi.RegisterOutputType(GetCdnDistributionConfigRedirectsOutput{}) pulumi.RegisterOutputType(GetCdnDistributionConfigRedirectsRuleOutput{}) @@ -49332,6 +49719,8 @@ func init() { pulumi.RegisterOutputType(GetNetworkAreaRegionIpv4NetworkRangeArrayOutput{}) pulumi.RegisterOutputType(GetNetworkAreaRouteDestinationOutput{}) pulumi.RegisterOutputType(GetNetworkAreaRouteNextHopOutput{}) + pulumi.RegisterOutputType(GetNetworksResultOutput{}) + pulumi.RegisterOutputType(GetNetworksResultArrayOutput{}) pulumi.RegisterOutputType(GetObservabilityAlertgroupRuleOutput{}) pulumi.RegisterOutputType(GetObservabilityAlertgroupRuleArrayOutput{}) pulumi.RegisterOutputType(GetObservabilityInstanceAlertConfigOutput{}) diff --git a/sdk/nodejs/getNetworks.ts b/sdk/nodejs/getNetworks.ts new file mode 100644 index 00000000..bbbc2a61 --- /dev/null +++ b/sdk/nodejs/getNetworks.ts @@ -0,0 +1,86 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; +import * as utilities from "./utilities"; + +/** + * Lists all IaaS networks in a project and region. Results are sorted by image ID. + * + * > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + * + * ## Example Usage + */ +export function getNetworks(args: GetNetworksArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("stackit:index/getNetworks:getNetworks", { + "projectId": args.projectId, + "region": args.region, + }, opts); +} + +/** + * A collection of arguments for invoking getNetworks. + */ +export interface GetNetworksArgs { + /** + * STACKIT project ID to which the networks are associated. + */ + projectId: string; + /** + * The resource region. If not defined, the provider region is used. + */ + region?: string; +} + +/** + * A collection of values returned by getNetworks. + */ +export interface GetNetworksResult { + /** + * Terraform's internal resource ID. It is structured as "`projectId`,`region`". + */ + readonly id: string; + /** + * STACKIT project ID to which the networks are associated. + */ + readonly projectId: string; + /** + * The resource region. If not defined, the provider region is used. + */ + readonly region?: string; + /** + * List of networks. + */ + readonly results: outputs.GetNetworksResult[]; +} +/** + * Lists all IaaS networks in a project and region. Results are sorted by image ID. + * + * > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + * + * ## Example Usage + */ +export function getNetworksOutput(args: GetNetworksOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("stackit:index/getNetworks:getNetworks", { + "projectId": args.projectId, + "region": args.region, + }, opts); +} + +/** + * A collection of arguments for invoking getNetworks. + */ +export interface GetNetworksOutputArgs { + /** + * STACKIT project ID to which the networks are associated. + */ + projectId: pulumi.Input; + /** + * The resource region. If not defined, the provider region is used. + */ + region?: pulumi.Input; +} diff --git a/sdk/nodejs/index.ts b/sdk/nodejs/index.ts index 0ef93d6f..06dfc23b 100644 --- a/sdk/nodejs/index.ts +++ b/sdk/nodejs/index.ts @@ -345,6 +345,11 @@ export const getNetworkInterface: typeof import("./getNetworkInterface").getNetw export const getNetworkInterfaceOutput: typeof import("./getNetworkInterface").getNetworkInterfaceOutput = null as any; utilities.lazyLoad(exports, ["getNetworkInterface","getNetworkInterfaceOutput"], () => require("./getNetworkInterface")); +export { GetNetworksArgs, GetNetworksResult, GetNetworksOutputArgs } from "./getNetworks"; +export const getNetworks: typeof import("./getNetworks").getNetworks = null as any; +export const getNetworksOutput: typeof import("./getNetworks").getNetworksOutput = null as any; +utilities.lazyLoad(exports, ["getNetworks","getNetworksOutput"], () => require("./getNetworks")); + export { GetObjectstorageBucketArgs, GetObjectstorageBucketResult, GetObjectstorageBucketOutputArgs } from "./getObjectstorageBucket"; export const getObjectstorageBucket: typeof import("./getObjectstorageBucket").getObjectstorageBucket = null as any; export const getObjectstorageBucketOutput: typeof import("./getObjectstorageBucket").getObjectstorageBucketOutput = null as any; diff --git a/sdk/nodejs/tsconfig.json b/sdk/nodejs/tsconfig.json index 73669b08..6650bca1 100644 --- a/sdk/nodejs/tsconfig.json +++ b/sdk/nodejs/tsconfig.json @@ -89,6 +89,7 @@ "getNetworkAreaRegion.ts", "getNetworkAreaRoute.ts", "getNetworkInterface.ts", + "getNetworks.ts", "getObjectstorageBucket.ts", "getObjectstorageComplianceLock.ts", "getObjectstorageCredential.ts", diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index d474ab19..78f92e14 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -457,6 +457,10 @@ export interface CdnDistributionConfig { * 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. Note: once a value is set, removing the attribute from your configuration will retain the last known value in state; to clear it explicitly, set it to an empty list. */ blockedIps?: pulumi.Input[] | undefined>; + /** + * Groups the cache options that influence how the CDN builds its cache key. Warning: enabling query-string vary produces one cache entry per unique query-string combination (unbounded when query*string*vary*parameters is empty). Each entry in cache*key*headers multiplies the number of cache variants by the number of distinct values observed for that header. Use these settings sparingly. + */ + cacheConfig?: pulumi.Input; /** * 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). Note: once a value is set, removing the attribute from your configuration will retain the last known value in state. */ @@ -537,6 +541,21 @@ export interface CdnDistributionConfigBackendCredentials { secretAccessKey: pulumi.Input; } +export interface CdnDistributionConfigCacheConfig { + /** + * HTTP request header names whose values participate in the cache key. Each entry multiplies the number of cache variants by the number of distinct values observed for that header. + */ + cacheKeyHeaders?: pulumi.Input[] | undefined>; + /** + * When true, the CDN varies its cache by the request query string. If query*string*vary_parameters is empty, every unique query-string combination produces its own cache entry; if non-empty, only the listed parameters influence the cache key. + */ + queryStringVaryEnabled?: pulumi.Input; + /** + * Allowlist of query-string parameter names that participate in the cache key when query*string*vary*enabled is true. Ignored while query*string*vary*enabled is false, but still stored so it can be re-activated without losing the list. + */ + queryStringVaryParameters?: pulumi.Input[] | undefined>; +} + export interface CdnDistributionConfigOptimizer { enabled?: pulumi.Input; } diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index 6d3fc469..a3b1041e 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -457,6 +457,10 @@ export interface CdnDistributionConfig { * 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. Note: once a value is set, removing the attribute from your configuration will retain the last known value in state; to clear it explicitly, set it to an empty list. */ blockedIps: string[]; + /** + * Groups the cache options that influence how the CDN builds its cache key. Warning: enabling query-string vary produces one cache entry per unique query-string combination (unbounded when query*string*vary*parameters is empty). Each entry in cache*key*headers multiplies the number of cache variants by the number of distinct values observed for that header. Use these settings sparingly. + */ + cacheConfig: outputs.CdnDistributionConfigCacheConfig; /** * 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). Note: once a value is set, removing the attribute from your configuration will retain the last known value in state. */ @@ -537,6 +541,21 @@ export interface CdnDistributionConfigBackendCredentials { secretAccessKey: string; } +export interface CdnDistributionConfigCacheConfig { + /** + * HTTP request header names whose values participate in the cache key. Each entry multiplies the number of cache variants by the number of distinct values observed for that header. + */ + cacheKeyHeaders: string[]; + /** + * When true, the CDN varies its cache by the request query string. If query*string*vary_parameters is empty, every unique query-string combination produces its own cache entry; if non-empty, only the listed parameters influence the cache key. + */ + queryStringVaryEnabled: boolean; + /** + * Allowlist of query-string parameter names that participate in the cache key when query*string*vary*enabled is true. Ignored while query*string*vary*enabled is false, but still stored so it can be re-activated without losing the list. + */ + queryStringVaryParameters: string[]; +} + export interface CdnDistributionConfigOptimizer { enabled: boolean; } @@ -1316,6 +1335,10 @@ export interface GetCdnDistributionConfig { * 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. Note: once a value is set, removing the attribute from your configuration will retain the last known value in state; to clear it explicitly, set it to an empty list. */ blockedIps: string[]; + /** + * Groups the cache options that influence how the CDN builds its cache key. Warning: enabling query-string vary produces one cache entry per unique query-string combination (unbounded when query*string*vary*parameters is empty). Each entry in cache*key*headers multiplies the number of cache variants by the number of distinct values observed for that header. Use these settings sparingly. + */ + cacheConfig: outputs.GetCdnDistributionConfigCacheConfig; /** * 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). Note: once a value is set, removing the attribute from your configuration will retain the last known value in state. */ @@ -1381,6 +1404,21 @@ export interface GetCdnDistributionConfigBackend { type: string; } +export interface GetCdnDistributionConfigCacheConfig { + /** + * HTTP request header names whose values participate in the cache key. Each entry multiplies the number of cache variants by the number of distinct values observed for that header. + */ + cacheKeyHeaders: string[]; + /** + * When true, the CDN varies its cache by the request query string. If query*string*vary_parameters is empty, every unique query-string combination produces its own cache entry; if non-empty, only the listed parameters influence the cache key. + */ + queryStringVaryEnabled: boolean; + /** + * Allowlist of query-string parameter names that participate in the cache key when query*string*vary*enabled is true. Ignored while query*string*vary*enabled is false, but still stored so it can be re-activated without losing the list. + */ + queryStringVaryParameters: string[]; +} + export interface GetCdnDistributionConfigOptimizer { enabled: boolean; } @@ -2339,6 +2377,17 @@ export interface GetNetworkAreaRouteNextHop { value: string; } +export interface GetNetworksResult { + /** + * The name of the network. + */ + name: string; + /** + * The network ID. + */ + networkId: string; +} + export interface GetObservabilityAlertgroupRule { /** * The name of the alert rule. Is the identifier and must be unique in the group. diff --git a/sdk/python/pulumi_stackit/__init__.py b/sdk/python/pulumi_stackit/__init__.py index 5c3fba69..b136274b 100644 --- a/sdk/python/pulumi_stackit/__init__.py +++ b/sdk/python/pulumi_stackit/__init__.py @@ -74,6 +74,7 @@ from .get_network_area_region import * from .get_network_area_route import * from .get_network_interface import * +from .get_networks import * from .get_objectstorage_bucket import * from .get_objectstorage_compliance_lock import * from .get_objectstorage_credential import * diff --git a/sdk/python/pulumi_stackit/_inputs.py b/sdk/python/pulumi_stackit/_inputs.py index 41466ed3..f3780651 100644 --- a/sdk/python/pulumi_stackit/_inputs.py +++ b/sdk/python/pulumi_stackit/_inputs.py @@ -85,6 +85,8 @@ 'CdnDistributionConfigBackendArgsDict', 'CdnDistributionConfigBackendCredentialsArgs', 'CdnDistributionConfigBackendCredentialsArgsDict', + 'CdnDistributionConfigCacheConfigArgs', + 'CdnDistributionConfigCacheConfigArgsDict', 'CdnDistributionConfigOptimizerArgs', 'CdnDistributionConfigOptimizerArgsDict', 'CdnDistributionConfigRedirectsArgs', @@ -2386,6 +2388,10 @@ class CdnDistributionConfigArgsDict(TypedDict): """ 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. Note: once a value is set, removing the attribute from your configuration will retain the last known value in state; to clear it explicitly, set it to an empty list. """ + cache_config: NotRequired[pulumi.Input[Optional['CdnDistributionConfigCacheConfigArgsDict']]] + """ + Groups the cache options that influence how the CDN builds its cache key. Warning: enabling query-string vary produces one cache entry per unique query-string combination (unbounded when query*string*vary*parameters is empty). Each entry in cache*key*headers multiplies the number of cache variants by the number of distinct values observed for that header. Use these settings sparingly. + """ default_cache_duration: NotRequired[pulumi.Input[Optional[_builtins.str]]] """ 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). Note: once a value is set, removing the attribute from your configuration will retain the last known value in state. @@ -2426,6 +2432,7 @@ def __init__(__self__, *, regions: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]], blocked_countries: pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]] = None, blocked_ips: pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]] = None, + cache_config: pulumi.Input[Optional['CdnDistributionConfigCacheConfigArgs']] = None, default_cache_duration: pulumi.Input[Optional[_builtins.str]] = None, forward_host_header: pulumi.Input[Optional[_builtins.bool]] = None, monthly_limit_bytes: pulumi.Input[Optional[_builtins.int]] = None, @@ -2439,6 +2446,7 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] regions: The configured regions where content will be hosted :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] blocked_countries: The configured countries where distribution of content is blocked :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] blocked_ips: 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. Note: once a value is set, removing the attribute from your configuration will retain the last known value in state; to clear it explicitly, set it to an empty list. + :param pulumi.Input['CdnDistributionConfigCacheConfigArgs'] cache_config: Groups the cache options that influence how the CDN builds its cache key. Warning: enabling query-string vary produces one cache entry per unique query-string combination (unbounded when query*string*vary*parameters is empty). Each entry in cache*key*headers multiplies the number of cache variants by the number of distinct values observed for that header. Use these settings sparingly. :param pulumi.Input[_builtins.str] default_cache_duration: 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). Note: once a value is set, removing the attribute from your configuration will retain the last known value in state. :param pulumi.Input[_builtins.bool] forward_host_header: Enable this allows the 'Host' header to be passed through to the origin. :param pulumi.Input[_builtins.int] monthly_limit_bytes: Sets the monthly limit of bandwidth in bytes that the pullzone is allowed to use. Note: once a value is set, removing the attribute from your configuration will retain the last known value in state. @@ -2454,6 +2462,8 @@ def __init__(__self__, *, pulumi.set(__self__, "blocked_countries", blocked_countries) if blocked_ips is not None: pulumi.set(__self__, "blocked_ips", blocked_ips) + if cache_config is not None: + pulumi.set(__self__, "cache_config", cache_config) if default_cache_duration is not None: pulumi.set(__self__, "default_cache_duration", default_cache_duration) if forward_host_header is not None: @@ -2519,6 +2529,18 @@ def blocked_ips(self) -> pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.s def blocked_ips(self, value: pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]]): pulumi.set(self, "blocked_ips", value) + @_builtins.property + @pulumi.getter(name="cacheConfig") + def cache_config(self) -> pulumi.Input[Optional['CdnDistributionConfigCacheConfigArgs']]: + """ + Groups the cache options that influence how the CDN builds its cache key. Warning: enabling query-string vary produces one cache entry per unique query-string combination (unbounded when query*string*vary*parameters is empty). Each entry in cache*key*headers multiplies the number of cache variants by the number of distinct values observed for that header. Use these settings sparingly. + """ + return pulumi.get(self, "cache_config") + + @cache_config.setter + def cache_config(self, value: pulumi.Input[Optional['CdnDistributionConfigCacheConfigArgs']]): + pulumi.set(self, "cache_config", value) + @_builtins.property @pulumi.getter(name="defaultCacheDuration") def default_cache_duration(self) -> pulumi.Input[Optional[_builtins.str]]: @@ -2811,6 +2833,75 @@ def secret_access_key(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "secret_access_key", value) +class CdnDistributionConfigCacheConfigArgsDict(TypedDict): + cache_key_headers: NotRequired[pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]]] + """ + HTTP request header names whose values participate in the cache key. Each entry multiplies the number of cache variants by the number of distinct values observed for that header. + """ + query_string_vary_enabled: NotRequired[pulumi.Input[Optional[_builtins.bool]]] + """ + When true, the CDN varies its cache by the request query string. If query*string*vary_parameters is empty, every unique query-string combination produces its own cache entry; if non-empty, only the listed parameters influence the cache key. + """ + query_string_vary_parameters: NotRequired[pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]]] + """ + Allowlist of query-string parameter names that participate in the cache key when query*string*vary*enabled is true. Ignored while query*string*vary*enabled is false, but still stored so it can be re-activated without losing the list. + """ + +@pulumi.input_type +class CdnDistributionConfigCacheConfigArgs: + def __init__(__self__, *, + cache_key_headers: pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]] = None, + query_string_vary_enabled: pulumi.Input[Optional[_builtins.bool]] = None, + query_string_vary_parameters: pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]] = None): + """ + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] cache_key_headers: HTTP request header names whose values participate in the cache key. Each entry multiplies the number of cache variants by the number of distinct values observed for that header. + :param pulumi.Input[_builtins.bool] query_string_vary_enabled: When true, the CDN varies its cache by the request query string. If query*string*vary_parameters is empty, every unique query-string combination produces its own cache entry; if non-empty, only the listed parameters influence the cache key. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] query_string_vary_parameters: Allowlist of query-string parameter names that participate in the cache key when query*string*vary*enabled is true. Ignored while query*string*vary*enabled is false, but still stored so it can be re-activated without losing the list. + """ + if cache_key_headers is not None: + pulumi.set(__self__, "cache_key_headers", cache_key_headers) + if query_string_vary_enabled is not None: + pulumi.set(__self__, "query_string_vary_enabled", query_string_vary_enabled) + if query_string_vary_parameters is not None: + pulumi.set(__self__, "query_string_vary_parameters", query_string_vary_parameters) + + @_builtins.property + @pulumi.getter(name="cacheKeyHeaders") + def cache_key_headers(self) -> pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]]: + """ + HTTP request header names whose values participate in the cache key. Each entry multiplies the number of cache variants by the number of distinct values observed for that header. + """ + return pulumi.get(self, "cache_key_headers") + + @cache_key_headers.setter + def cache_key_headers(self, value: pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]]): + pulumi.set(self, "cache_key_headers", value) + + @_builtins.property + @pulumi.getter(name="queryStringVaryEnabled") + def query_string_vary_enabled(self) -> pulumi.Input[Optional[_builtins.bool]]: + """ + When true, the CDN varies its cache by the request query string. If query*string*vary_parameters is empty, every unique query-string combination produces its own cache entry; if non-empty, only the listed parameters influence the cache key. + """ + return pulumi.get(self, "query_string_vary_enabled") + + @query_string_vary_enabled.setter + def query_string_vary_enabled(self, value: pulumi.Input[Optional[_builtins.bool]]): + pulumi.set(self, "query_string_vary_enabled", value) + + @_builtins.property + @pulumi.getter(name="queryStringVaryParameters") + def query_string_vary_parameters(self) -> pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]]: + """ + Allowlist of query-string parameter names that participate in the cache key when query*string*vary*enabled is true. Ignored while query*string*vary*enabled is false, but still stored so it can be re-activated without losing the list. + """ + return pulumi.get(self, "query_string_vary_parameters") + + @query_string_vary_parameters.setter + def query_string_vary_parameters(self, value: pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]]): + pulumi.set(self, "query_string_vary_parameters", value) + + class CdnDistributionConfigOptimizerArgsDict(TypedDict): enabled: NotRequired[pulumi.Input[Optional[_builtins.bool]]] diff --git a/sdk/python/pulumi_stackit/get_networks.py b/sdk/python/pulumi_stackit/get_networks.py new file mode 100644 index 00000000..021d61aa --- /dev/null +++ b/sdk/python/pulumi_stackit/get_networks.py @@ -0,0 +1,137 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import builtins as _builtins +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from . import _utilities +from . import outputs + +__all__ = [ + 'GetNetworksResult', + 'AwaitableGetNetworksResult', + 'get_networks', + 'get_networks_output', +] + +@pulumi.output_type +class GetNetworksResult: + """ + A collection of values returned by getNetworks. + """ + def __init__(__self__, id=None, project_id=None, region=None, results=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if project_id and not isinstance(project_id, str): + raise TypeError("Expected argument 'project_id' to be a str") + pulumi.set(__self__, "project_id", project_id) + if region and not isinstance(region, str): + raise TypeError("Expected argument 'region' to be a str") + pulumi.set(__self__, "region", region) + if results and not isinstance(results, list): + raise TypeError("Expected argument 'results' to be a list") + pulumi.set(__self__, "results", results) + + @_builtins.property + @pulumi.getter + def id(self) -> _builtins.str: + """ + Terraform's internal resource ID. It is structured as "`project_id`,`region`". + """ + return pulumi.get(self, "id") + + @_builtins.property + @pulumi.getter(name="projectId") + def project_id(self) -> _builtins.str: + """ + STACKIT project ID to which the networks are associated. + """ + return pulumi.get(self, "project_id") + + @_builtins.property + @pulumi.getter + def region(self) -> Optional[_builtins.str]: + """ + The resource region. If not defined, the provider region is used. + """ + return pulumi.get(self, "region") + + @_builtins.property + @pulumi.getter + def results(self) -> Sequence['outputs.GetNetworksResultResult']: + """ + List of networks. + """ + return pulumi.get(self, "results") + + +class AwaitableGetNetworksResult(GetNetworksResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetNetworksResult( + id=self.id, + project_id=self.project_id, + region=self.region, + results=self.results) + + +def get_networks(project_id: Optional[_builtins.str] = None, + region: Optional[_builtins.str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNetworksResult: + """ + Lists all IaaS networks in a project and region. Results are sorted by image ID. + + > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + + ## Example Usage + + + :param _builtins.str project_id: STACKIT project ID to which the networks are associated. + :param _builtins.str region: The resource region. If not defined, the provider region is used. + """ + __args__ = dict() + __args__['projectId'] = project_id + __args__['region'] = region + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('stackit:index/getNetworks:getNetworks', __args__, opts=opts, typ=GetNetworksResult).value + + return AwaitableGetNetworksResult( + id=pulumi.get(__ret__, 'id'), + project_id=pulumi.get(__ret__, 'project_id'), + region=pulumi.get(__ret__, 'region'), + results=pulumi.get(__ret__, 'results')) +def get_networks_output(project_id: pulumi.Input[Optional[_builtins.str]] = None, + region: pulumi.Input[Optional[Optional[_builtins.str]]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNetworksResult]: + """ + Lists all IaaS networks in a project and region. Results are sorted by image ID. + + > This datasource is in beta and may be subject to breaking changes in the future. Use with caution. See our guide for how to opt-in to use beta resources. + + ## Example Usage + + + :param _builtins.str project_id: STACKIT project ID to which the networks are associated. + :param _builtins.str region: The resource region. If not defined, the provider region is used. + """ + __args__ = dict() + __args__['projectId'] = project_id + __args__['region'] = region + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('stackit:index/getNetworks:getNetworks', __args__, opts=opts, typ=GetNetworksResult) + return __ret__.apply(lambda __response__: GetNetworksResult( + id=pulumi.get(__response__, 'id'), + project_id=pulumi.get(__response__, 'project_id'), + region=pulumi.get(__response__, 'region'), + results=pulumi.get(__response__, 'results'))) diff --git a/sdk/python/pulumi_stackit/outputs.py b/sdk/python/pulumi_stackit/outputs.py index 88540773..f1450727 100644 --- a/sdk/python/pulumi_stackit/outputs.py +++ b/sdk/python/pulumi_stackit/outputs.py @@ -51,6 +51,7 @@ 'CdnDistributionConfig', 'CdnDistributionConfigBackend', 'CdnDistributionConfigBackendCredentials', + 'CdnDistributionConfigCacheConfig', 'CdnDistributionConfigOptimizer', 'CdnDistributionConfigRedirects', 'CdnDistributionConfigRedirectsRule', @@ -216,6 +217,7 @@ 'GetCdnCustomDomainCertificateResult', 'GetCdnDistributionConfigResult', 'GetCdnDistributionConfigBackendResult', + 'GetCdnDistributionConfigCacheConfigResult', 'GetCdnDistributionConfigOptimizerResult', 'GetCdnDistributionConfigRedirectsResult', 'GetCdnDistributionConfigRedirectsRuleResult', @@ -268,6 +270,7 @@ 'GetNetworkAreaRegionIpv4NetworkRangeResult', 'GetNetworkAreaRouteDestinationResult', 'GetNetworkAreaRouteNextHopResult', + 'GetNetworksResultResult', 'GetObservabilityAlertgroupRuleResult', 'GetObservabilityInstanceAlertConfigResult', 'GetObservabilityInstanceAlertConfigGlobalResult', @@ -1989,6 +1992,8 @@ def __key_warning(key: str): suggest = "blocked_countries" elif key == "blockedIps": suggest = "blocked_ips" + elif key == "cacheConfig": + suggest = "cache_config" elif key == "defaultCacheDuration": suggest = "default_cache_duration" elif key == "forwardHostHeader": @@ -2014,6 +2019,7 @@ def __init__(__self__, *, regions: Sequence[_builtins.str], blocked_countries: Optional[Sequence[_builtins.str]] = None, blocked_ips: Optional[Sequence[_builtins.str]] = None, + cache_config: Optional['outputs.CdnDistributionConfigCacheConfig'] = None, default_cache_duration: Optional[_builtins.str] = None, forward_host_header: Optional[_builtins.bool] = None, monthly_limit_bytes: Optional[_builtins.int] = None, @@ -2027,6 +2033,7 @@ def __init__(__self__, *, :param Sequence[_builtins.str] regions: The configured regions where content will be hosted :param Sequence[_builtins.str] blocked_countries: The configured countries where distribution of content is blocked :param Sequence[_builtins.str] blocked_ips: 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. Note: once a value is set, removing the attribute from your configuration will retain the last known value in state; to clear it explicitly, set it to an empty list. + :param 'CdnDistributionConfigCacheConfigArgs' cache_config: Groups the cache options that influence how the CDN builds its cache key. Warning: enabling query-string vary produces one cache entry per unique query-string combination (unbounded when query*string*vary*parameters is empty). Each entry in cache*key*headers multiplies the number of cache variants by the number of distinct values observed for that header. Use these settings sparingly. :param _builtins.str default_cache_duration: 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). Note: once a value is set, removing the attribute from your configuration will retain the last known value in state. :param _builtins.bool forward_host_header: Enable this allows the 'Host' header to be passed through to the origin. :param _builtins.int monthly_limit_bytes: Sets the monthly limit of bandwidth in bytes that the pullzone is allowed to use. Note: once a value is set, removing the attribute from your configuration will retain the last known value in state. @@ -2042,6 +2049,8 @@ def __init__(__self__, *, pulumi.set(__self__, "blocked_countries", blocked_countries) if blocked_ips is not None: pulumi.set(__self__, "blocked_ips", blocked_ips) + if cache_config is not None: + pulumi.set(__self__, "cache_config", cache_config) if default_cache_duration is not None: pulumi.set(__self__, "default_cache_duration", default_cache_duration) if forward_host_header is not None: @@ -2091,6 +2100,14 @@ def blocked_ips(self) -> Optional[Sequence[_builtins.str]]: """ return pulumi.get(self, "blocked_ips") + @_builtins.property + @pulumi.getter(name="cacheConfig") + def cache_config(self) -> Optional['outputs.CdnDistributionConfigCacheConfig']: + """ + Groups the cache options that influence how the CDN builds its cache key. Warning: enabling query-string vary produces one cache entry per unique query-string combination (unbounded when query*string*vary*parameters is empty). Each entry in cache*key*headers multiplies the number of cache variants by the number of distinct values observed for that header. Use these settings sparingly. + """ + return pulumi.get(self, "cache_config") + @_builtins.property @pulumi.getter(name="defaultCacheDuration") def default_cache_duration(self) -> Optional[_builtins.str]: @@ -2315,6 +2332,70 @@ def secret_access_key(self) -> _builtins.str: return pulumi.get(self, "secret_access_key") +@pulumi.output_type +class CdnDistributionConfigCacheConfig(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "cacheKeyHeaders": + suggest = "cache_key_headers" + elif key == "queryStringVaryEnabled": + suggest = "query_string_vary_enabled" + elif key == "queryStringVaryParameters": + suggest = "query_string_vary_parameters" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in CdnDistributionConfigCacheConfig. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + CdnDistributionConfigCacheConfig.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + CdnDistributionConfigCacheConfig.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + cache_key_headers: Optional[Sequence[_builtins.str]] = None, + query_string_vary_enabled: Optional[_builtins.bool] = None, + query_string_vary_parameters: Optional[Sequence[_builtins.str]] = None): + """ + :param Sequence[_builtins.str] cache_key_headers: HTTP request header names whose values participate in the cache key. Each entry multiplies the number of cache variants by the number of distinct values observed for that header. + :param _builtins.bool query_string_vary_enabled: When true, the CDN varies its cache by the request query string. If query*string*vary_parameters is empty, every unique query-string combination produces its own cache entry; if non-empty, only the listed parameters influence the cache key. + :param Sequence[_builtins.str] query_string_vary_parameters: Allowlist of query-string parameter names that participate in the cache key when query*string*vary*enabled is true. Ignored while query*string*vary*enabled is false, but still stored so it can be re-activated without losing the list. + """ + if cache_key_headers is not None: + pulumi.set(__self__, "cache_key_headers", cache_key_headers) + if query_string_vary_enabled is not None: + pulumi.set(__self__, "query_string_vary_enabled", query_string_vary_enabled) + if query_string_vary_parameters is not None: + pulumi.set(__self__, "query_string_vary_parameters", query_string_vary_parameters) + + @_builtins.property + @pulumi.getter(name="cacheKeyHeaders") + def cache_key_headers(self) -> Optional[Sequence[_builtins.str]]: + """ + HTTP request header names whose values participate in the cache key. Each entry multiplies the number of cache variants by the number of distinct values observed for that header. + """ + return pulumi.get(self, "cache_key_headers") + + @_builtins.property + @pulumi.getter(name="queryStringVaryEnabled") + def query_string_vary_enabled(self) -> Optional[_builtins.bool]: + """ + When true, the CDN varies its cache by the request query string. If query*string*vary_parameters is empty, every unique query-string combination produces its own cache entry; if non-empty, only the listed parameters influence the cache key. + """ + return pulumi.get(self, "query_string_vary_enabled") + + @_builtins.property + @pulumi.getter(name="queryStringVaryParameters") + def query_string_vary_parameters(self) -> Optional[Sequence[_builtins.str]]: + """ + Allowlist of query-string parameter names that participate in the cache key when query*string*vary*enabled is true. Ignored while query*string*vary*enabled is false, but still stored so it can be re-activated without losing the list. + """ + return pulumi.get(self, "query_string_vary_parameters") + + @pulumi.output_type class CdnDistributionConfigOptimizer(dict): def __init__(__self__, *, @@ -12374,6 +12455,7 @@ class GetCdnDistributionConfigResult(dict): def __init__(__self__, *, backend: 'outputs.GetCdnDistributionConfigBackendResult', blocked_ips: Sequence[_builtins.str], + cache_config: 'outputs.GetCdnDistributionConfigCacheConfigResult', default_cache_duration: _builtins.str, forward_host_header: _builtins.bool, monthly_limit_bytes: _builtins.int, @@ -12387,6 +12469,7 @@ def __init__(__self__, *, """ :param 'GetCdnDistributionConfigBackendArgs' backend: The configured backend for the distribution :param Sequence[_builtins.str] blocked_ips: 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. Note: once a value is set, removing the attribute from your configuration will retain the last known value in state; to clear it explicitly, set it to an empty list. + :param 'GetCdnDistributionConfigCacheConfigArgs' cache_config: Groups the cache options that influence how the CDN builds its cache key. Warning: enabling query-string vary produces one cache entry per unique query-string combination (unbounded when query*string*vary*parameters is empty). Each entry in cache*key*headers multiplies the number of cache variants by the number of distinct values observed for that header. Use these settings sparingly. :param _builtins.str default_cache_duration: 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). Note: once a value is set, removing the attribute from your configuration will retain the last known value in state. :param _builtins.bool forward_host_header: Enable this allows the 'Host' header to be passed through to the origin. :param _builtins.int monthly_limit_bytes: Sets the monthly limit of bandwidth in bytes that the pullzone is allowed to use. Note: once a value is set, removing the attribute from your configuration will retain the last known value in state. @@ -12400,6 +12483,7 @@ def __init__(__self__, *, """ pulumi.set(__self__, "backend", backend) pulumi.set(__self__, "blocked_ips", blocked_ips) + pulumi.set(__self__, "cache_config", cache_config) pulumi.set(__self__, "default_cache_duration", default_cache_duration) pulumi.set(__self__, "forward_host_header", forward_host_header) pulumi.set(__self__, "monthly_limit_bytes", monthly_limit_bytes) @@ -12428,6 +12512,14 @@ def blocked_ips(self) -> Sequence[_builtins.str]: """ return pulumi.get(self, "blocked_ips") + @_builtins.property + @pulumi.getter(name="cacheConfig") + def cache_config(self) -> 'outputs.GetCdnDistributionConfigCacheConfigResult': + """ + Groups the cache options that influence how the CDN builds its cache key. Warning: enabling query-string vary produces one cache entry per unique query-string combination (unbounded when query*string*vary*parameters is empty). Each entry in cache*key*headers multiplies the number of cache variants by the number of distinct values observed for that header. Use these settings sparingly. + """ + return pulumi.get(self, "cache_config") + @_builtins.property @pulumi.getter(name="defaultCacheDuration") def default_cache_duration(self) -> _builtins.str: @@ -12582,6 +12674,46 @@ def type(self) -> _builtins.str: return pulumi.get(self, "type") +@pulumi.output_type +class GetCdnDistributionConfigCacheConfigResult(dict): + def __init__(__self__, *, + cache_key_headers: Sequence[_builtins.str], + query_string_vary_enabled: _builtins.bool, + query_string_vary_parameters: Sequence[_builtins.str]): + """ + :param Sequence[_builtins.str] cache_key_headers: HTTP request header names whose values participate in the cache key. Each entry multiplies the number of cache variants by the number of distinct values observed for that header. + :param _builtins.bool query_string_vary_enabled: When true, the CDN varies its cache by the request query string. If query*string*vary_parameters is empty, every unique query-string combination produces its own cache entry; if non-empty, only the listed parameters influence the cache key. + :param Sequence[_builtins.str] query_string_vary_parameters: Allowlist of query-string parameter names that participate in the cache key when query*string*vary*enabled is true. Ignored while query*string*vary*enabled is false, but still stored so it can be re-activated without losing the list. + """ + pulumi.set(__self__, "cache_key_headers", cache_key_headers) + pulumi.set(__self__, "query_string_vary_enabled", query_string_vary_enabled) + pulumi.set(__self__, "query_string_vary_parameters", query_string_vary_parameters) + + @_builtins.property + @pulumi.getter(name="cacheKeyHeaders") + def cache_key_headers(self) -> Sequence[_builtins.str]: + """ + HTTP request header names whose values participate in the cache key. Each entry multiplies the number of cache variants by the number of distinct values observed for that header. + """ + return pulumi.get(self, "cache_key_headers") + + @_builtins.property + @pulumi.getter(name="queryStringVaryEnabled") + def query_string_vary_enabled(self) -> _builtins.bool: + """ + When true, the CDN varies its cache by the request query string. If query*string*vary_parameters is empty, every unique query-string combination produces its own cache entry; if non-empty, only the listed parameters influence the cache key. + """ + return pulumi.get(self, "query_string_vary_enabled") + + @_builtins.property + @pulumi.getter(name="queryStringVaryParameters") + def query_string_vary_parameters(self) -> Sequence[_builtins.str]: + """ + Allowlist of query-string parameter names that participate in the cache key when query*string*vary*enabled is true. Ignored while query*string*vary*enabled is false, but still stored so it can be re-activated without losing the list. + """ + return pulumi.get(self, "query_string_vary_parameters") + + @pulumi.output_type class GetCdnDistributionConfigOptimizerResult(dict): def __init__(__self__, *, @@ -15307,6 +15439,35 @@ def value(self) -> _builtins.str: return pulumi.get(self, "value") +@pulumi.output_type +class GetNetworksResultResult(dict): + def __init__(__self__, *, + name: _builtins.str, + network_id: _builtins.str): + """ + :param _builtins.str name: The name of the network. + :param _builtins.str network_id: The network ID. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "network_id", network_id) + + @_builtins.property + @pulumi.getter + def name(self) -> _builtins.str: + """ + The name of the network. + """ + return pulumi.get(self, "name") + + @_builtins.property + @pulumi.getter(name="networkId") + def network_id(self) -> _builtins.str: + """ + The network ID. + """ + return pulumi.get(self, "network_id") + + @pulumi.output_type class GetObservabilityAlertgroupRuleResult(dict): def __init__(__self__, *,