diff --git a/examples/go.mod b/examples/go.mod index afe3ab9eb..9e4a484e5 100644 --- a/examples/go.mod +++ b/examples/go.mod @@ -2,7 +2,7 @@ module github.com/pulumi/pulumi-cloudflare/examples/v4 go 1.21 -require github.com/pulumi/pulumi/pkg/v3 v3.108.1 +require github.com/pulumi/pulumi/pkg/v3 v3.111.1 replace github.com/Sirupsen/logrus => github.com/sirupsen/logrus v1.9.2 @@ -137,7 +137,7 @@ require ( github.com/pmezard/go-difflib v1.0.0 // indirect github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 // indirect github.com/pulumi/esc v0.6.2 // indirect - github.com/pulumi/pulumi/sdk/v3 v3.108.1 // indirect + github.com/pulumi/pulumi/sdk/v3 v3.111.1 // indirect github.com/rivo/uniseg v0.4.4 // indirect github.com/rogpeppe/go-internal v1.11.0 // indirect github.com/ryanuber/go-glob v1.0.0 // indirect diff --git a/examples/go.sum b/examples/go.sum index e3010fb19..7aaf2c125 100644 --- a/examples/go.sum +++ b/examples/go.sum @@ -1467,10 +1467,10 @@ github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 h1:vkHw5I/plNdTr435 github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231/go.mod h1:murToZ2N9hNJzewjHBgfFdXhZKjY3z5cYC1VXk+lbFE= github.com/pulumi/esc v0.6.2 h1:+z+l8cuwIauLSwXQS0uoI3rqB+YG4SzsZYtHfNoXBvw= github.com/pulumi/esc v0.6.2/go.mod h1:jNnYNjzsOgVTjCp0LL24NsCk8ZJxq4IoLQdCT0X7l8k= -github.com/pulumi/pulumi/pkg/v3 v3.108.1 h1:K1UK40v5IpEPIaJ2un3WNOTBbLQaKR26HbLLh5EmMHY= -github.com/pulumi/pulumi/pkg/v3 v3.108.1/go.mod h1:48uCfxkPXUq/XTBqei9VuR0CRWObnSVlqcLkD6DhII8= -github.com/pulumi/pulumi/sdk/v3 v3.108.1 h1:5idjc3JmzToYVizRPbFyjJ5UU4AbExd04pcSP9AhPEc= -github.com/pulumi/pulumi/sdk/v3 v3.108.1/go.mod h1:5A6GHUwAJlRY1SSLZh84aDIbsBShcrfcmHzI50ecSBg= +github.com/pulumi/pulumi/pkg/v3 v3.111.1 h1:SrVgQE96T7YlZx/AZoFSlXYwur7ZmQUHyjbPI8sH96Q= +github.com/pulumi/pulumi/pkg/v3 v3.111.1/go.mod h1:ZWsq8Y0EMHZ5E2ju92jC+POz97TEXs3BbQ6r2o0U4SA= +github.com/pulumi/pulumi/sdk/v3 v3.111.1 h1:uOeG/b6YxBuL59xHtmFPspMa8BB6ovjHelL7sVCGJZw= +github.com/pulumi/pulumi/sdk/v3 v3.111.1/go.mod h1:5A6GHUwAJlRY1SSLZh84aDIbsBShcrfcmHzI50ecSBg= github.com/rakyll/embedmd v0.0.0-20171029212350-c8060a0752a2/go.mod h1:7jOTMgqac46PZcF54q6l2hkLEG8op93fZu61KmxWDV4= github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= diff --git a/provider/cmd/pulumi-resource-cloudflare/schema.json b/provider/cmd/pulumi-resource-cloudflare/schema.json index a47475f75..514706395 100644 --- a/provider/cmd/pulumi-resource-cloudflare/schema.json +++ b/provider/cmd/pulumi-resource-cloudflare/schema.json @@ -11182,7 +11182,7 @@ "tieredCaching": { "type": "string", "description": "Whether tiered caching is enabled. Available values: `on`, `off`.\n", - "deprecationMessage": "tiered_caching has been deprecated in favour of using `cloudflare_tiered_cache` resource instead." + "deprecationMessage": "tiered_caching has been deprecated in favour of using `cloudflare.TieredCache` resource instead." }, "zoneId": { "type": "string", @@ -11200,7 +11200,7 @@ "tieredCaching": { "type": "string", "description": "Whether tiered caching is enabled. Available values: `on`, `off`.\n", - "deprecationMessage": "tiered_caching has been deprecated in favour of using `cloudflare_tiered_cache` resource instead." + "deprecationMessage": "tiered_caching has been deprecated in favour of using `cloudflare.TieredCache` resource instead." }, "zoneId": { "type": "string", @@ -11220,7 +11220,7 @@ "tieredCaching": { "type": "string", "description": "Whether tiered caching is enabled. Available values: `on`, `off`.\n", - "deprecationMessage": "tiered_caching has been deprecated in favour of using `cloudflare_tiered_cache` resource instead." + "deprecationMessage": "tiered_caching has been deprecated in favour of using `cloudflare.TieredCache` resource instead." }, "zoneId": { "type": "string", @@ -22384,7 +22384,7 @@ } }, "cloudflare:index/getAccessIdentityProvider:getAccessIdentityProvider": { - "description": "Use this data source to lookup a single [Access Identity Provider](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration) by name.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as cloudflare from \"@pulumi/cloudflare\";\n\nconst exampleAccessIdentityProvider = cloudflare.getAccessIdentityProvider({\n name: \"Google SSO\",\n accountId: \"f037e56e89293a057740de681ac9abbe\",\n});\nconst exampleAccessApplication = new cloudflare.AccessApplication(\"exampleAccessApplication\", {\n zoneId: \"0da42c8d2132a9ddaf714f9e7c920711\",\n name: \"name\",\n domain: \"name.example.com\",\n type: \"self_hosted\",\n sessionDuration: \"24h\",\n allowedIdps: [exampleAccessIdentityProvider.then(exampleAccessIdentityProvider =\u003e exampleAccessIdentityProvider.id)],\n autoRedirectToIdentity: true,\n});\n```\n```python\nimport pulumi\nimport pulumi_cloudflare as cloudflare\n\nexample_access_identity_provider = cloudflare.get_access_identity_provider(name=\"Google SSO\",\n account_id=\"f037e56e89293a057740de681ac9abbe\")\nexample_access_application = cloudflare.AccessApplication(\"exampleAccessApplication\",\n zone_id=\"0da42c8d2132a9ddaf714f9e7c920711\",\n name=\"name\",\n domain=\"name.example.com\",\n type=\"self_hosted\",\n session_duration=\"24h\",\n allowed_idps=[example_access_identity_provider.id],\n auto_redirect_to_identity=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Cloudflare = Pulumi.Cloudflare;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleAccessIdentityProvider = Cloudflare.GetAccessIdentityProvider.Invoke(new()\n {\n Name = \"Google SSO\",\n AccountId = \"f037e56e89293a057740de681ac9abbe\",\n });\n\n var exampleAccessApplication = new Cloudflare.AccessApplication(\"exampleAccessApplication\", new()\n {\n ZoneId = \"0da42c8d2132a9ddaf714f9e7c920711\",\n Name = \"name\",\n Domain = \"name.example.com\",\n Type = \"self_hosted\",\n SessionDuration = \"24h\",\n AllowedIdps = new[]\n {\n exampleAccessIdentityProvider.Apply(getAccessIdentityProviderResult =\u003e getAccessIdentityProviderResult.Id),\n },\n AutoRedirectToIdentity = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-cloudflare/sdk/v5/go/cloudflare\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleAccessIdentityProvider, err := cloudflare.LookupAccessIdentityProvider(ctx, \u0026cloudflare.LookupAccessIdentityProviderArgs{\n\t\t\tName: \"Google SSO\",\n\t\t\tAccountId: pulumi.StringRef(\"f037e56e89293a057740de681ac9abbe\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = cloudflare.NewAccessApplication(ctx, \"exampleAccessApplication\", \u0026cloudflare.AccessApplicationArgs{\n\t\t\tZoneId: pulumi.String(\"0da42c8d2132a9ddaf714f9e7c920711\"),\n\t\t\tName: pulumi.String(\"name\"),\n\t\t\tDomain: pulumi.String(\"name.example.com\"),\n\t\t\tType: pulumi.String(\"self_hosted\"),\n\t\t\tSessionDuration: pulumi.String(\"24h\"),\n\t\t\tAllowedIdps: pulumi.StringArray{\n\t\t\t\t*pulumi.String(exampleAccessIdentityProvider.Id),\n\t\t\t},\n\t\t\tAutoRedirectToIdentity: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.cloudflare.CloudflareFunctions;\nimport com.pulumi.cloudflare.inputs.GetAccessIdentityProviderArgs;\nimport com.pulumi.cloudflare.AccessApplication;\nimport com.pulumi.cloudflare.AccessApplicationArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var exampleAccessIdentityProvider = CloudflareFunctions.getAccessIdentityProvider(GetAccessIdentityProviderArgs.builder()\n .name(\"Google SSO\")\n .accountId(\"f037e56e89293a057740de681ac9abbe\")\n .build());\n\n var exampleAccessApplication = new AccessApplication(\"exampleAccessApplication\", AccessApplicationArgs.builder() \n .zoneId(\"0da42c8d2132a9ddaf714f9e7c920711\")\n .name(\"name\")\n .domain(\"name.example.com\")\n .type(\"self_hosted\")\n .sessionDuration(\"24h\")\n .allowedIdps(exampleAccessIdentityProvider.applyValue(getAccessIdentityProviderResult -\u003e getAccessIdentityProviderResult.id()))\n .autoRedirectToIdentity(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n exampleAccessApplication:\n type: cloudflare:AccessApplication\n properties:\n zoneId: 0da42c8d2132a9ddaf714f9e7c920711\n name: name\n domain: name.example.com\n type: self_hosted\n sessionDuration: 24h\n allowedIdps:\n - ${exampleAccessIdentityProvider.id}\n autoRedirectToIdentity: true\nvariables:\n exampleAccessIdentityProvider:\n fn::invoke:\n Function: cloudflare:getAccessIdentityProvider\n Arguments:\n name: Google SSO\n accountId: f037e56e89293a057740de681ac9abbe\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Use this data source to lookup a single [Access Identity Provider](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration) by name.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as cloudflare from \"@pulumi/cloudflare\";\n\nconst exampleAccessIdentityProvider = cloudflare.getAccessIdentityProvider({\n name: \"Google SSO\",\n accountId: \"f037e56e89293a057740de681ac9abbe\",\n});\nconst exampleAccessApplication = new cloudflare.AccessApplication(\"exampleAccessApplication\", {\n zoneId: \"0da42c8d2132a9ddaf714f9e7c920711\",\n name: \"name\",\n domain: \"name.example.com\",\n type: \"self_hosted\",\n sessionDuration: \"24h\",\n allowedIdps: [exampleAccessIdentityProvider.then(exampleAccessIdentityProvider =\u003e exampleAccessIdentityProvider.id)],\n autoRedirectToIdentity: true,\n});\n```\n```python\nimport pulumi\nimport pulumi_cloudflare as cloudflare\n\nexample_access_identity_provider = cloudflare.get_access_identity_provider(name=\"Google SSO\",\n account_id=\"f037e56e89293a057740de681ac9abbe\")\nexample_access_application = cloudflare.AccessApplication(\"exampleAccessApplication\",\n zone_id=\"0da42c8d2132a9ddaf714f9e7c920711\",\n name=\"name\",\n domain=\"name.example.com\",\n type=\"self_hosted\",\n session_duration=\"24h\",\n allowed_idps=[example_access_identity_provider.id],\n auto_redirect_to_identity=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Cloudflare = Pulumi.Cloudflare;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleAccessIdentityProvider = Cloudflare.GetAccessIdentityProvider.Invoke(new()\n {\n Name = \"Google SSO\",\n AccountId = \"f037e56e89293a057740de681ac9abbe\",\n });\n\n var exampleAccessApplication = new Cloudflare.AccessApplication(\"exampleAccessApplication\", new()\n {\n ZoneId = \"0da42c8d2132a9ddaf714f9e7c920711\",\n Name = \"name\",\n Domain = \"name.example.com\",\n Type = \"self_hosted\",\n SessionDuration = \"24h\",\n AllowedIdps = new[]\n {\n exampleAccessIdentityProvider.Apply(getAccessIdentityProviderResult =\u003e getAccessIdentityProviderResult.Id),\n },\n AutoRedirectToIdentity = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-cloudflare/sdk/v5/go/cloudflare\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleAccessIdentityProvider, err := cloudflare.LookupAccessIdentityProvider(ctx, \u0026cloudflare.LookupAccessIdentityProviderArgs{\n\t\t\tName: \"Google SSO\",\n\t\t\tAccountId: pulumi.StringRef(\"f037e56e89293a057740de681ac9abbe\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = cloudflare.NewAccessApplication(ctx, \"exampleAccessApplication\", \u0026cloudflare.AccessApplicationArgs{\n\t\t\tZoneId: pulumi.String(\"0da42c8d2132a9ddaf714f9e7c920711\"),\n\t\t\tName: pulumi.String(\"name\"),\n\t\t\tDomain: pulumi.String(\"name.example.com\"),\n\t\t\tType: pulumi.String(\"self_hosted\"),\n\t\t\tSessionDuration: pulumi.String(\"24h\"),\n\t\t\tAllowedIdps: pulumi.StringArray{\n\t\t\t\tpulumi.String(exampleAccessIdentityProvider.Id),\n\t\t\t},\n\t\t\tAutoRedirectToIdentity: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.cloudflare.CloudflareFunctions;\nimport com.pulumi.cloudflare.inputs.GetAccessIdentityProviderArgs;\nimport com.pulumi.cloudflare.AccessApplication;\nimport com.pulumi.cloudflare.AccessApplicationArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var exampleAccessIdentityProvider = CloudflareFunctions.getAccessIdentityProvider(GetAccessIdentityProviderArgs.builder()\n .name(\"Google SSO\")\n .accountId(\"f037e56e89293a057740de681ac9abbe\")\n .build());\n\n var exampleAccessApplication = new AccessApplication(\"exampleAccessApplication\", AccessApplicationArgs.builder() \n .zoneId(\"0da42c8d2132a9ddaf714f9e7c920711\")\n .name(\"name\")\n .domain(\"name.example.com\")\n .type(\"self_hosted\")\n .sessionDuration(\"24h\")\n .allowedIdps(exampleAccessIdentityProvider.applyValue(getAccessIdentityProviderResult -\u003e getAccessIdentityProviderResult.id()))\n .autoRedirectToIdentity(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n exampleAccessApplication:\n type: cloudflare:AccessApplication\n properties:\n zoneId: 0da42c8d2132a9ddaf714f9e7c920711\n name: name\n domain: name.example.com\n type: self_hosted\n sessionDuration: 24h\n allowedIdps:\n - ${exampleAccessIdentityProvider.id}\n autoRedirectToIdentity: true\nvariables:\n exampleAccessIdentityProvider:\n fn::invoke:\n Function: cloudflare:getAccessIdentityProvider\n Arguments:\n name: Google SSO\n accountId: f037e56e89293a057740de681ac9abbe\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getAccessIdentityProvider.\n", "properties": { @@ -23294,7 +23294,7 @@ } }, "cloudflare:index/getUser:getUser": { - "description": "Use this data source to retrieve information about the currently authenticated user.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as cloudflare from \"@pulumi/cloudflare\";\n\nconst me = cloudflare.getUser({});\nconst all = cloudflare.getApiTokenPermissionGroups({});\nconst example = new cloudflare.ApiToken(\"example\", {\n name: \"Terraform Cloud (Terraform)\",\n policies: [{\n permissionGroups: [all.then(all =\u003e all.user?.[\"User Details Read\"])],\n resources: me.then(me =\u003e {\n [`com.cloudflare.api.user.${me.id}`]: \"*\",\n }),\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_cloudflare as cloudflare\n\nme = cloudflare.get_user()\nall = cloudflare.get_api_token_permission_groups()\nexample = cloudflare.ApiToken(\"example\",\n name=\"Terraform Cloud (Terraform)\",\n policies=[cloudflare.ApiTokenPolicyArgs(\n permission_groups=[all.user[\"User Details Read\"]],\n resources={\n f\"com.cloudflare.api.user.{me.id}\": \"*\",\n },\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Cloudflare = Pulumi.Cloudflare;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var me = Cloudflare.GetUser.Invoke();\n\n var all = Cloudflare.GetApiTokenPermissionGroups.Invoke();\n\n var example = new Cloudflare.ApiToken(\"example\", new()\n {\n Name = \"Terraform Cloud (Terraform)\",\n Policies = new[]\n {\n new Cloudflare.Inputs.ApiTokenPolicyArgs\n {\n PermissionGroups = new[]\n {\n all.Apply(getApiTokenPermissionGroupsResult =\u003e getApiTokenPermissionGroupsResult.User?.User_Details_Read),\n },\n Resources = \n {\n { $\"com.cloudflare.api.user.{me.Apply(getUserResult =\u003e getUserResult.Id)}\", \"*\" },\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-cloudflare/sdk/v5/go/cloudflare\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\nfunc main() {\npulumi.Run(func(ctx *pulumi.Context) error {\nme, err := cloudflare.GetUser(ctx, nil, nil);\nif err != nil {\nreturn err\n}\nall, err := cloudflare.GetApiTokenPermissionGroups(ctx, nil, nil);\nif err != nil {\nreturn err\n}\n_, err = cloudflare.NewApiToken(ctx, \"example\", \u0026cloudflare.ApiTokenArgs{\nName: pulumi.String(\"Terraform Cloud (Terraform)\"),\nPolicies: cloudflare.ApiTokenPolicyArray{\n\u0026cloudflare.ApiTokenPolicyArgs{\nPermissionGroups: pulumi.StringArray{\n*pulumi.String(all.User.User Details Read),\n},\nResources: pulumi.StringMap{\nfmt.Sprintf(\"com.cloudflare.api.user.%v\", me.Id): pulumi.String(\"*\"),\n},\n},\n},\n})\nif err != nil {\nreturn err\n}\nreturn nil\n})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.cloudflare.CloudflareFunctions;\nimport com.pulumi.cloudflare.ApiToken;\nimport com.pulumi.cloudflare.ApiTokenArgs;\nimport com.pulumi.cloudflare.inputs.ApiTokenPolicyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var me = CloudflareFunctions.getUser();\n\n final var all = CloudflareFunctions.getApiTokenPermissionGroups();\n\n var example = new ApiToken(\"example\", ApiTokenArgs.builder() \n .name(\"Terraform Cloud (Terraform)\")\n .policies(ApiTokenPolicyArgs.builder()\n .permissionGroups(all.applyValue(getApiTokenPermissionGroupsResult -\u003e getApiTokenPermissionGroupsResult.user().User Details Read()))\n .resources(Map.of(String.format(\"com.cloudflare.api.user.%s\", me.applyValue(getUserResult -\u003e getUserResult.id())), \"*\"))\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: cloudflare:ApiToken\n properties:\n name: Terraform Cloud (Terraform)\n policies:\n - permissionGroups:\n - ${all.user\"User Details Read\"[%!s(MISSING)]}\n resources:\n com.cloudflare.api.user.${me.id}: '*'\nvariables:\n me:\n fn::invoke:\n Function: cloudflare:getUser\n Arguments: {}\n all:\n fn::invoke:\n Function: cloudflare:getApiTokenPermissionGroups\n Arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Use this data source to retrieve information about the currently authenticated user.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as cloudflare from \"@pulumi/cloudflare\";\n\nconst me = cloudflare.getUser({});\nconst all = cloudflare.getApiTokenPermissionGroups({});\nconst example = new cloudflare.ApiToken(\"example\", {\n name: \"Terraform Cloud (Terraform)\",\n policies: [{\n permissionGroups: [all.then(all =\u003e all.user?.[\"User Details Read\"])],\n resources: me.then(me =\u003e {\n [`com.cloudflare.api.user.${me.id}`]: \"*\",\n }),\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_cloudflare as cloudflare\n\nme = cloudflare.get_user()\nall = cloudflare.get_api_token_permission_groups()\nexample = cloudflare.ApiToken(\"example\",\n name=\"Terraform Cloud (Terraform)\",\n policies=[cloudflare.ApiTokenPolicyArgs(\n permission_groups=[all.user[\"User Details Read\"]],\n resources={\n f\"com.cloudflare.api.user.{me.id}\": \"*\",\n },\n )])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Cloudflare = Pulumi.Cloudflare;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var me = Cloudflare.GetUser.Invoke();\n\n var all = Cloudflare.GetApiTokenPermissionGroups.Invoke();\n\n var example = new Cloudflare.ApiToken(\"example\", new()\n {\n Name = \"Terraform Cloud (Terraform)\",\n Policies = new[]\n {\n new Cloudflare.Inputs.ApiTokenPolicyArgs\n {\n PermissionGroups = new[]\n {\n all.Apply(getApiTokenPermissionGroupsResult =\u003e getApiTokenPermissionGroupsResult.User?.User_Details_Read),\n },\n Resources = \n {\n { $\"com.cloudflare.api.user.{me.Apply(getUserResult =\u003e getUserResult.Id)}\", \"*\" },\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pulumi/pulumi-cloudflare/sdk/v5/go/cloudflare\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\nfunc main() {\npulumi.Run(func(ctx *pulumi.Context) error {\nme, err := cloudflare.GetUser(ctx, nil, nil);\nif err != nil {\nreturn err\n}\nall, err := cloudflare.GetApiTokenPermissionGroups(ctx, nil, nil);\nif err != nil {\nreturn err\n}\n_, err = cloudflare.NewApiToken(ctx, \"example\", \u0026cloudflare.ApiTokenArgs{\nName: pulumi.String(\"Terraform Cloud (Terraform)\"),\nPolicies: cloudflare.ApiTokenPolicyArray{\n\u0026cloudflare.ApiTokenPolicyArgs{\nPermissionGroups: pulumi.StringArray{\npulumi.String(all.User.User Details Read),\n},\nResources: pulumi.StringMap{\nfmt.Sprintf(\"com.cloudflare.api.user.%v\", me.Id): pulumi.String(\"*\"),\n},\n},\n},\n})\nif err != nil {\nreturn err\n}\nreturn nil\n})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.cloudflare.CloudflareFunctions;\nimport com.pulumi.cloudflare.ApiToken;\nimport com.pulumi.cloudflare.ApiTokenArgs;\nimport com.pulumi.cloudflare.inputs.ApiTokenPolicyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var me = CloudflareFunctions.getUser();\n\n final var all = CloudflareFunctions.getApiTokenPermissionGroups();\n\n var example = new ApiToken(\"example\", ApiTokenArgs.builder() \n .name(\"Terraform Cloud (Terraform)\")\n .policies(ApiTokenPolicyArgs.builder()\n .permissionGroups(all.applyValue(getApiTokenPermissionGroupsResult -\u003e getApiTokenPermissionGroupsResult.user().User Details Read()))\n .resources(Map.of(String.format(\"com.cloudflare.api.user.%s\", me.applyValue(getUserResult -\u003e getUserResult.id())), \"*\"))\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: cloudflare:ApiToken\n properties:\n name: Terraform Cloud (Terraform)\n policies:\n - permissionGroups:\n - ${all.user\"User Details Read\"[%!s(MISSING)]}\n resources:\n com.cloudflare.api.user.${me.id}: '*'\nvariables:\n me:\n fn::invoke:\n Function: cloudflare:getUser\n Arguments: {}\n all:\n fn::invoke:\n Function: cloudflare:getApiTokenPermissionGroups\n Arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "outputs": { "description": "A collection of values returned by getUser.\n", "properties": { @@ -23320,7 +23320,7 @@ } }, "cloudflare:index/getZone:getZone": { - "description": "Use this data source to look up [zone](https://api.cloudflare.com/#zone-properties)\ninfo. This is the singular alternative to `cloudflare.getZones`.\n\n\u003e **Note** Cloudflare zone names **are not unique**. It is possible for multiple\naccounts to have the same zone created but in different states. If you are\nusing this setup, it is advised to use the `account_id` attribute on this\nresource or swap to `cloudflare.getZones` to further filter the results.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as cloudflare from \"@pulumi/cloudflare\";\n\nconst exampleZone = cloudflare.getZone({\n name: \"example.com\",\n});\nconst exampleRecord = new cloudflare.Record(\"exampleRecord\", {\n zoneId: exampleZone.then(exampleZone =\u003e exampleZone.id),\n name: \"www\",\n value: \"203.0.113.1\",\n type: \"A\",\n proxied: true,\n});\n```\n```python\nimport pulumi\nimport pulumi_cloudflare as cloudflare\n\nexample_zone = cloudflare.get_zone(name=\"example.com\")\nexample_record = cloudflare.Record(\"exampleRecord\",\n zone_id=example_zone.id,\n name=\"www\",\n value=\"203.0.113.1\",\n type=\"A\",\n proxied=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Cloudflare = Pulumi.Cloudflare;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleZone = Cloudflare.GetZone.Invoke(new()\n {\n Name = \"example.com\",\n });\n\n var exampleRecord = new Cloudflare.Record(\"exampleRecord\", new()\n {\n ZoneId = exampleZone.Apply(getZoneResult =\u003e getZoneResult.Id),\n Name = \"www\",\n Value = \"203.0.113.1\",\n Type = \"A\",\n Proxied = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-cloudflare/sdk/v5/go/cloudflare\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleZone, err := cloudflare.LookupZone(ctx, \u0026cloudflare.LookupZoneArgs{\n\t\t\tName: pulumi.StringRef(\"example.com\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = cloudflare.NewRecord(ctx, \"exampleRecord\", \u0026cloudflare.RecordArgs{\n\t\t\tZoneId: *pulumi.String(exampleZone.Id),\n\t\t\tName: pulumi.String(\"www\"),\n\t\t\tValue: pulumi.String(\"203.0.113.1\"),\n\t\t\tType: pulumi.String(\"A\"),\n\t\t\tProxied: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.cloudflare.CloudflareFunctions;\nimport com.pulumi.cloudflare.inputs.GetZoneArgs;\nimport com.pulumi.cloudflare.Record;\nimport com.pulumi.cloudflare.RecordArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var exampleZone = CloudflareFunctions.getZone(GetZoneArgs.builder()\n .name(\"example.com\")\n .build());\n\n var exampleRecord = new Record(\"exampleRecord\", RecordArgs.builder() \n .zoneId(exampleZone.applyValue(getZoneResult -\u003e getZoneResult.id()))\n .name(\"www\")\n .value(\"203.0.113.1\")\n .type(\"A\")\n .proxied(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n exampleRecord:\n type: cloudflare:Record\n properties:\n zoneId: ${exampleZone.id}\n name: www\n value: 203.0.113.1\n type: A\n proxied: true\nvariables:\n exampleZone:\n fn::invoke:\n Function: cloudflare:getZone\n Arguments:\n name: example.com\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Use this data source to look up [zone](https://api.cloudflare.com/#zone-properties)\ninfo. This is the singular alternative to `cloudflare.getZones`.\n\n\u003e **Note** Cloudflare zone names **are not unique**. It is possible for multiple\naccounts to have the same zone created but in different states. If you are\nusing this setup, it is advised to use the `account_id` attribute on this\nresource or swap to `cloudflare.getZones` to further filter the results.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as cloudflare from \"@pulumi/cloudflare\";\n\nconst exampleZone = cloudflare.getZone({\n name: \"example.com\",\n});\nconst exampleRecord = new cloudflare.Record(\"exampleRecord\", {\n zoneId: exampleZone.then(exampleZone =\u003e exampleZone.id),\n name: \"www\",\n value: \"203.0.113.1\",\n type: \"A\",\n proxied: true,\n});\n```\n```python\nimport pulumi\nimport pulumi_cloudflare as cloudflare\n\nexample_zone = cloudflare.get_zone(name=\"example.com\")\nexample_record = cloudflare.Record(\"exampleRecord\",\n zone_id=example_zone.id,\n name=\"www\",\n value=\"203.0.113.1\",\n type=\"A\",\n proxied=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Cloudflare = Pulumi.Cloudflare;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleZone = Cloudflare.GetZone.Invoke(new()\n {\n Name = \"example.com\",\n });\n\n var exampleRecord = new Cloudflare.Record(\"exampleRecord\", new()\n {\n ZoneId = exampleZone.Apply(getZoneResult =\u003e getZoneResult.Id),\n Name = \"www\",\n Value = \"203.0.113.1\",\n Type = \"A\",\n Proxied = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-cloudflare/sdk/v5/go/cloudflare\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleZone, err := cloudflare.LookupZone(ctx, \u0026cloudflare.LookupZoneArgs{\n\t\t\tName: pulumi.StringRef(\"example.com\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = cloudflare.NewRecord(ctx, \"exampleRecord\", \u0026cloudflare.RecordArgs{\n\t\t\tZoneId: pulumi.String(exampleZone.Id),\n\t\t\tName: pulumi.String(\"www\"),\n\t\t\tValue: pulumi.String(\"203.0.113.1\"),\n\t\t\tType: pulumi.String(\"A\"),\n\t\t\tProxied: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.cloudflare.CloudflareFunctions;\nimport com.pulumi.cloudflare.inputs.GetZoneArgs;\nimport com.pulumi.cloudflare.Record;\nimport com.pulumi.cloudflare.RecordArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var exampleZone = CloudflareFunctions.getZone(GetZoneArgs.builder()\n .name(\"example.com\")\n .build());\n\n var exampleRecord = new Record(\"exampleRecord\", RecordArgs.builder() \n .zoneId(exampleZone.applyValue(getZoneResult -\u003e getZoneResult.id()))\n .name(\"www\")\n .value(\"203.0.113.1\")\n .type(\"A\")\n .proxied(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n exampleRecord:\n type: cloudflare:Record\n properties:\n zoneId: ${exampleZone.id}\n name: www\n value: 203.0.113.1\n type: A\n proxied: true\nvariables:\n exampleZone:\n fn::invoke:\n Function: cloudflare:getZone\n Arguments:\n name: example.com\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getZone.\n", "properties": { diff --git a/provider/go.mod b/provider/go.mod index 7a5eb2605..b18b832ab 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -4,8 +4,8 @@ go 1.21 require ( github.com/cloudflare/terraform-provider-cloudflare v1.18.2-0.20220823222840-b2cee3be8c57 - github.com/pulumi/pulumi-terraform-bridge/pf v0.30.0 - github.com/pulumi/pulumi-terraform-bridge/v3 v3.77.0 + github.com/pulumi/pulumi-terraform-bridge/pf v0.31.0 + github.com/pulumi/pulumi-terraform-bridge/v3 v3.78.0 ) replace github.com/cloudflare/terraform-provider-cloudflare => ../upstream @@ -182,9 +182,9 @@ require ( github.com/pulumi/esc v0.6.2 // indirect github.com/pulumi/pulumi-java/pkg v0.9.9 // indirect github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.8 // indirect - github.com/pulumi/pulumi-yaml v1.5.0 // indirect - github.com/pulumi/pulumi/pkg/v3 v3.108.1 // indirect - github.com/pulumi/pulumi/sdk/v3 v3.108.1 // indirect + github.com/pulumi/pulumi-yaml v1.6.0 // indirect + github.com/pulumi/pulumi/pkg/v3 v3.111.1 // indirect + github.com/pulumi/pulumi/sdk/v3 v3.111.1 // indirect github.com/pulumi/schema-tools v0.1.2 // indirect github.com/pulumi/terraform-diff-reader v0.0.2 // indirect github.com/rivo/uniseg v0.4.4 // indirect diff --git a/provider/go.sum b/provider/go.sum index 5730f4e28..c872c47e9 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -2840,18 +2840,18 @@ github.com/pulumi/providertest v0.0.11 h1:mg8MQ7Cq7+9XlHIkBD+aCqQO4mwAJEISngZgVd github.com/pulumi/providertest v0.0.11/go.mod h1:HsxjVsytcMIuNj19w1lT2W0QXY0oReXl1+h6eD2JXP8= github.com/pulumi/pulumi-java/pkg v0.9.9 h1:F3xJUtMFDVrTGCxb7Rh2Q8s6tj7gMfM5pcoUthz7vFY= github.com/pulumi/pulumi-java/pkg v0.9.9/go.mod h1:LVF1zeg3UkToHWxb67V+zEIxQc3EdMnlot5NWSt+FpA= -github.com/pulumi/pulumi-terraform-bridge/pf v0.30.0 h1:2Jn0lXcfid0E2gbbpPwtRBWkJxGmOiUenTYP07A8b+U= -github.com/pulumi/pulumi-terraform-bridge/pf v0.30.0/go.mod h1:6MjVHzJy4MVmb/19nbRv7p9VkcKcpjl8a8uEp1CDKwo= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.77.0 h1:BZhD7yNZz7O5MWeM4WofY6XBLjtiA3qH2UJJTg8+Nts= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.77.0/go.mod h1:OCfjEGPU2fbBlda8UZhN/N3FljW6R08SK6lXPXzahwA= +github.com/pulumi/pulumi-terraform-bridge/pf v0.31.0 h1:KnVMjyTmkqjUDBVoQNODPMH0VpPmRmu7JHMruBF+Fvs= +github.com/pulumi/pulumi-terraform-bridge/pf v0.31.0/go.mod h1:kdaazbdv0Hn6/innKvWcPfRRn/0YeNYI/oWA4j8lV3k= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.78.0 h1:zl1nXrx02X7u/w5kNjIVGVUzccEILcMWsIpg4QQanCI= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.78.0/go.mod h1:WpkN/lgtBrDYGrMyG9cmncy5pN95lnowbmjILHWcm0M= github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.8 h1:mav2tSitA9BPJPLLahKgepHyYsMzwaTm4cvp0dcTMYw= github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.8/go.mod h1:qUYk2c9i/yqMGNj9/bQyXpS39BxNDSXYjVN1njnq0zY= -github.com/pulumi/pulumi-yaml v1.5.0 h1:HfXu+WSFNpycref9CK935cViYJzXwSgHGWM/RepyrW0= -github.com/pulumi/pulumi-yaml v1.5.0/go.mod h1:AvKSmEQv2EkPbpvAQroR1eP1LkJGC8z5NDM34rVWOtg= -github.com/pulumi/pulumi/pkg/v3 v3.108.1 h1:K1UK40v5IpEPIaJ2un3WNOTBbLQaKR26HbLLh5EmMHY= -github.com/pulumi/pulumi/pkg/v3 v3.108.1/go.mod h1:48uCfxkPXUq/XTBqei9VuR0CRWObnSVlqcLkD6DhII8= -github.com/pulumi/pulumi/sdk/v3 v3.108.1 h1:5idjc3JmzToYVizRPbFyjJ5UU4AbExd04pcSP9AhPEc= -github.com/pulumi/pulumi/sdk/v3 v3.108.1/go.mod h1:5A6GHUwAJlRY1SSLZh84aDIbsBShcrfcmHzI50ecSBg= +github.com/pulumi/pulumi-yaml v1.6.0 h1:mb/QkebWXTa1fR+P3ZkCCHGXOYC6iTN8X8By9eNz8xM= +github.com/pulumi/pulumi-yaml v1.6.0/go.mod h1:RyEPo4MhL363sbAiFMVKRsQmXpQPDCY1S8pGv3E6Ij0= +github.com/pulumi/pulumi/pkg/v3 v3.111.1 h1:SrVgQE96T7YlZx/AZoFSlXYwur7ZmQUHyjbPI8sH96Q= +github.com/pulumi/pulumi/pkg/v3 v3.111.1/go.mod h1:ZWsq8Y0EMHZ5E2ju92jC+POz97TEXs3BbQ6r2o0U4SA= +github.com/pulumi/pulumi/sdk/v3 v3.111.1 h1:uOeG/b6YxBuL59xHtmFPspMa8BB6ovjHelL7sVCGJZw= +github.com/pulumi/pulumi/sdk/v3 v3.111.1/go.mod h1:5A6GHUwAJlRY1SSLZh84aDIbsBShcrfcmHzI50ecSBg= github.com/pulumi/schema-tools v0.1.2 h1:Fd9xvUjgck4NA+7/jSk7InqCUT4Kj940+EcnbQKpfZo= github.com/pulumi/schema-tools v0.1.2/go.mod h1:62lgj52Tzq11eqWTIaKd+EVyYAu5dEcDJxMhTjvMO/k= github.com/pulumi/terraform-diff-reader v0.0.2 h1:kTE4nEXU3/SYXESvAIem+wyHMI3abqkI3OhJ0G04LLI= diff --git a/sdk/go.mod b/sdk/go.mod index 14125750a..382296804 100644 --- a/sdk/go.mod +++ b/sdk/go.mod @@ -4,7 +4,7 @@ go 1.21 require ( github.com/blang/semver v3.5.1+incompatible - github.com/pulumi/pulumi/sdk/v3 v3.108.1 + github.com/pulumi/pulumi/sdk/v3 v3.111.1 ) require ( diff --git a/sdk/go.sum b/sdk/go.sum index 69dbe19d1..2160100e8 100644 --- a/sdk/go.sum +++ b/sdk/go.sum @@ -150,8 +150,8 @@ github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 h1:vkHw5I/plNdTr435 github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231/go.mod h1:murToZ2N9hNJzewjHBgfFdXhZKjY3z5cYC1VXk+lbFE= github.com/pulumi/esc v0.6.2 h1:+z+l8cuwIauLSwXQS0uoI3rqB+YG4SzsZYtHfNoXBvw= github.com/pulumi/esc v0.6.2/go.mod h1:jNnYNjzsOgVTjCp0LL24NsCk8ZJxq4IoLQdCT0X7l8k= -github.com/pulumi/pulumi/sdk/v3 v3.108.1 h1:5idjc3JmzToYVizRPbFyjJ5UU4AbExd04pcSP9AhPEc= -github.com/pulumi/pulumi/sdk/v3 v3.108.1/go.mod h1:5A6GHUwAJlRY1SSLZh84aDIbsBShcrfcmHzI50ecSBg= +github.com/pulumi/pulumi/sdk/v3 v3.111.1 h1:uOeG/b6YxBuL59xHtmFPspMa8BB6ovjHelL7sVCGJZw= +github.com/pulumi/pulumi/sdk/v3 v3.111.1/go.mod h1:5A6GHUwAJlRY1SSLZh84aDIbsBShcrfcmHzI50ecSBg= github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis= diff --git a/sdk/go/cloudflare/argo.go b/sdk/go/cloudflare/argo.go index 213ae4f20..eded83cdd 100644 --- a/sdk/go/cloudflare/argo.go +++ b/sdk/go/cloudflare/argo.go @@ -57,7 +57,7 @@ type Argo struct { SmartRouting pulumi.StringPtrOutput `pulumi:"smartRouting"` // Whether tiered caching is enabled. Available values: `on`, `off`. // - // Deprecated: tiered_caching has been deprecated in favour of using `cloudflare_tiered_cache` resource instead. + // Deprecated: tiered_caching has been deprecated in favour of using `TieredCache` resource instead. TieredCaching pulumi.StringPtrOutput `pulumi:"tieredCaching"` // The zone identifier to target for the resource. ZoneId pulumi.StringOutput `pulumi:"zoneId"` @@ -100,7 +100,7 @@ type argoState struct { SmartRouting *string `pulumi:"smartRouting"` // Whether tiered caching is enabled. Available values: `on`, `off`. // - // Deprecated: tiered_caching has been deprecated in favour of using `cloudflare_tiered_cache` resource instead. + // Deprecated: tiered_caching has been deprecated in favour of using `TieredCache` resource instead. TieredCaching *string `pulumi:"tieredCaching"` // The zone identifier to target for the resource. ZoneId *string `pulumi:"zoneId"` @@ -111,7 +111,7 @@ type ArgoState struct { SmartRouting pulumi.StringPtrInput // Whether tiered caching is enabled. Available values: `on`, `off`. // - // Deprecated: tiered_caching has been deprecated in favour of using `cloudflare_tiered_cache` resource instead. + // Deprecated: tiered_caching has been deprecated in favour of using `TieredCache` resource instead. TieredCaching pulumi.StringPtrInput // The zone identifier to target for the resource. ZoneId pulumi.StringPtrInput @@ -126,7 +126,7 @@ type argoArgs struct { SmartRouting *string `pulumi:"smartRouting"` // Whether tiered caching is enabled. Available values: `on`, `off`. // - // Deprecated: tiered_caching has been deprecated in favour of using `cloudflare_tiered_cache` resource instead. + // Deprecated: tiered_caching has been deprecated in favour of using `TieredCache` resource instead. TieredCaching *string `pulumi:"tieredCaching"` // The zone identifier to target for the resource. ZoneId string `pulumi:"zoneId"` @@ -138,7 +138,7 @@ type ArgoArgs struct { SmartRouting pulumi.StringPtrInput // Whether tiered caching is enabled. Available values: `on`, `off`. // - // Deprecated: tiered_caching has been deprecated in favour of using `cloudflare_tiered_cache` resource instead. + // Deprecated: tiered_caching has been deprecated in favour of using `TieredCache` resource instead. TieredCaching pulumi.StringPtrInput // The zone identifier to target for the resource. ZoneId pulumi.StringInput @@ -238,7 +238,7 @@ func (o ArgoOutput) SmartRouting() pulumi.StringPtrOutput { // Whether tiered caching is enabled. Available values: `on`, `off`. // -// Deprecated: tiered_caching has been deprecated in favour of using `cloudflare_tiered_cache` resource instead. +// Deprecated: tiered_caching has been deprecated in favour of using `TieredCache` resource instead. func (o ArgoOutput) TieredCaching() pulumi.StringPtrOutput { return o.ApplyT(func(v *Argo) pulumi.StringPtrOutput { return v.TieredCaching }).(pulumi.StringPtrOutput) } diff --git a/sdk/go/cloudflare/getAccessIdentityProvider.go b/sdk/go/cloudflare/getAccessIdentityProvider.go index 1094d0f70..709e1c9a0 100644 --- a/sdk/go/cloudflare/getAccessIdentityProvider.go +++ b/sdk/go/cloudflare/getAccessIdentityProvider.go @@ -42,7 +42,7 @@ import ( // Type: pulumi.String("self_hosted"), // SessionDuration: pulumi.String("24h"), // AllowedIdps: pulumi.StringArray{ -// *pulumi.String(exampleAccessIdentityProvider.Id), +// pulumi.String(exampleAccessIdentityProvider.Id), // }, // AutoRedirectToIdentity: pulumi.Bool(true), // }) diff --git a/sdk/go/cloudflare/getUser.go b/sdk/go/cloudflare/getUser.go index 38583414c..12bbd33f6 100644 --- a/sdk/go/cloudflare/getUser.go +++ b/sdk/go/cloudflare/getUser.go @@ -42,7 +42,7 @@ import ( // Policies: cloudflare.ApiTokenPolicyArray{ // &cloudflare.ApiTokenPolicyArgs{ // PermissionGroups: pulumi.StringArray{ -// *pulumi.String(all.User.User Details Read), +// pulumi.String(all.User.User Details Read), // }, // Resources: pulumi.StringMap{ // fmt.Sprintf("com.cloudflare.api.user.%v", me.Id): pulumi.String("*"), diff --git a/sdk/go/cloudflare/getZone.go b/sdk/go/cloudflare/getZone.go index 14ad5a41b..b52691469 100644 --- a/sdk/go/cloudflare/getZone.go +++ b/sdk/go/cloudflare/getZone.go @@ -41,7 +41,7 @@ import ( // return err // } // _, err = cloudflare.NewRecord(ctx, "exampleRecord", &cloudflare.RecordArgs{ -// ZoneId: *pulumi.String(exampleZone.Id), +// ZoneId: pulumi.String(exampleZone.Id), // Name: pulumi.String("www"), // Value: pulumi.String("203.0.113.1"), // Type: pulumi.String("A"), diff --git a/sdk/go/cloudflare/pulumiTypes.go b/sdk/go/cloudflare/pulumiTypes.go index 63be0bd2d..f1e82002b 100644 --- a/sdk/go/cloudflare/pulumiTypes.go +++ b/sdk/go/cloudflare/pulumiTypes.go @@ -37149,7 +37149,7 @@ type ZoneSettingsOverrideInitialSetting struct { ServerSideExclude *string `pulumi:"serverSideExclude"` SortQueryStringForCache *string `pulumi:"sortQueryStringForCache"` Ssl *string `pulumi:"ssl"` - // Deprecated: tls_1_2_only has been deprecated in favour of using `min_tls_version = "1.2"` instead. + // Deprecated: tls_1_2_only has been deprecated in favour of using `minTlsVersion = "1.2"` instead. Tls12Only *string `pulumi:"tls12Only"` Tls13 *string `pulumi:"tls13"` TlsClientAuth *string `pulumi:"tlsClientAuth"` @@ -37220,7 +37220,7 @@ type ZoneSettingsOverrideInitialSettingArgs struct { ServerSideExclude pulumi.StringPtrInput `pulumi:"serverSideExclude"` SortQueryStringForCache pulumi.StringPtrInput `pulumi:"sortQueryStringForCache"` Ssl pulumi.StringPtrInput `pulumi:"ssl"` - // Deprecated: tls_1_2_only has been deprecated in favour of using `min_tls_version = "1.2"` instead. + // Deprecated: tls_1_2_only has been deprecated in favour of using `minTlsVersion = "1.2"` instead. Tls12Only pulumi.StringPtrInput `pulumi:"tls12Only"` Tls13 pulumi.StringPtrInput `pulumi:"tls13"` TlsClientAuth pulumi.StringPtrInput `pulumi:"tlsClientAuth"` @@ -37472,7 +37472,7 @@ func (o ZoneSettingsOverrideInitialSettingOutput) Ssl() pulumi.StringPtrOutput { return o.ApplyT(func(v ZoneSettingsOverrideInitialSetting) *string { return v.Ssl }).(pulumi.StringPtrOutput) } -// Deprecated: tls_1_2_only has been deprecated in favour of using `min_tls_version = "1.2"` instead. +// Deprecated: tls_1_2_only has been deprecated in favour of using `minTlsVersion = "1.2"` instead. func (o ZoneSettingsOverrideInitialSettingOutput) Tls12Only() pulumi.StringPtrOutput { return o.ApplyT(func(v ZoneSettingsOverrideInitialSetting) *string { return v.Tls12Only }).(pulumi.StringPtrOutput) } @@ -38099,7 +38099,7 @@ type ZoneSettingsOverrideSettings struct { ServerSideExclude *string `pulumi:"serverSideExclude"` SortQueryStringForCache *string `pulumi:"sortQueryStringForCache"` Ssl *string `pulumi:"ssl"` - // Deprecated: tls_1_2_only has been deprecated in favour of using `min_tls_version = "1.2"` instead. + // Deprecated: tls_1_2_only has been deprecated in favour of using `minTlsVersion = "1.2"` instead. Tls12Only *string `pulumi:"tls12Only"` Tls13 *string `pulumi:"tls13"` TlsClientAuth *string `pulumi:"tlsClientAuth"` @@ -38170,7 +38170,7 @@ type ZoneSettingsOverrideSettingsArgs struct { ServerSideExclude pulumi.StringPtrInput `pulumi:"serverSideExclude"` SortQueryStringForCache pulumi.StringPtrInput `pulumi:"sortQueryStringForCache"` Ssl pulumi.StringPtrInput `pulumi:"ssl"` - // Deprecated: tls_1_2_only has been deprecated in favour of using `min_tls_version = "1.2"` instead. + // Deprecated: tls_1_2_only has been deprecated in favour of using `minTlsVersion = "1.2"` instead. Tls12Only pulumi.StringPtrInput `pulumi:"tls12Only"` Tls13 pulumi.StringPtrInput `pulumi:"tls13"` TlsClientAuth pulumi.StringPtrInput `pulumi:"tlsClientAuth"` @@ -38448,7 +38448,7 @@ func (o ZoneSettingsOverrideSettingsOutput) Ssl() pulumi.StringPtrOutput { return o.ApplyT(func(v ZoneSettingsOverrideSettings) *string { return v.Ssl }).(pulumi.StringPtrOutput) } -// Deprecated: tls_1_2_only has been deprecated in favour of using `min_tls_version = "1.2"` instead. +// Deprecated: tls_1_2_only has been deprecated in favour of using `minTlsVersion = "1.2"` instead. func (o ZoneSettingsOverrideSettingsOutput) Tls12Only() pulumi.StringPtrOutput { return o.ApplyT(func(v ZoneSettingsOverrideSettings) *string { return v.Tls12Only }).(pulumi.StringPtrOutput) } @@ -38927,7 +38927,7 @@ func (o ZoneSettingsOverrideSettingsPtrOutput) Ssl() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } -// Deprecated: tls_1_2_only has been deprecated in favour of using `min_tls_version = "1.2"` instead. +// Deprecated: tls_1_2_only has been deprecated in favour of using `minTlsVersion = "1.2"` instead. func (o ZoneSettingsOverrideSettingsPtrOutput) Tls12Only() pulumi.StringPtrOutput { return o.ApplyT(func(v *ZoneSettingsOverrideSettings) *string { if v == nil { diff --git a/sdk/java/src/main/java/com/pulumi/cloudflare/Argo.java b/sdk/java/src/main/java/com/pulumi/cloudflare/Argo.java index 1f7df0972..20766f6dc 100644 --- a/sdk/java/src/main/java/com/pulumi/cloudflare/Argo.java +++ b/sdk/java/src/main/java/com/pulumi/cloudflare/Argo.java @@ -80,10 +80,10 @@ public Output> smartRouting() { * Whether tiered caching is enabled. Available values: `on`, `off`. * * @deprecated - * tiered_caching has been deprecated in favour of using `cloudflare_tiered_cache` resource instead. + * tiered_caching has been deprecated in favour of using `cloudflare.TieredCache` resource instead. * */ - @Deprecated /* tiered_caching has been deprecated in favour of using `cloudflare_tiered_cache` resource instead. */ + @Deprecated /* tiered_caching has been deprecated in favour of using `cloudflare.TieredCache` resource instead. */ @Export(name="tieredCaching", refs={String.class}, tree="[0]") private Output tieredCaching; diff --git a/sdk/java/src/main/java/com/pulumi/cloudflare/ArgoArgs.java b/sdk/java/src/main/java/com/pulumi/cloudflare/ArgoArgs.java index 023a79230..56634b773 100644 --- a/sdk/java/src/main/java/com/pulumi/cloudflare/ArgoArgs.java +++ b/sdk/java/src/main/java/com/pulumi/cloudflare/ArgoArgs.java @@ -35,10 +35,10 @@ public Optional> smartRouting() { * Whether tiered caching is enabled. Available values: `on`, `off`. * * @deprecated - * tiered_caching has been deprecated in favour of using `cloudflare_tiered_cache` resource instead. + * tiered_caching has been deprecated in favour of using `cloudflare.TieredCache` resource instead. * */ - @Deprecated /* tiered_caching has been deprecated in favour of using `cloudflare_tiered_cache` resource instead. */ + @Deprecated /* tiered_caching has been deprecated in favour of using `cloudflare.TieredCache` resource instead. */ @Import(name="tieredCaching") private @Nullable Output tieredCaching; @@ -46,10 +46,10 @@ public Optional> smartRouting() { * @return Whether tiered caching is enabled. Available values: `on`, `off`. * * @deprecated - * tiered_caching has been deprecated in favour of using `cloudflare_tiered_cache` resource instead. + * tiered_caching has been deprecated in favour of using `cloudflare.TieredCache` resource instead. * */ - @Deprecated /* tiered_caching has been deprecated in favour of using `cloudflare_tiered_cache` resource instead. */ + @Deprecated /* tiered_caching has been deprecated in favour of using `cloudflare.TieredCache` resource instead. */ public Optional> tieredCaching() { return Optional.ofNullable(this.tieredCaching); } @@ -122,10 +122,10 @@ public Builder smartRouting(String smartRouting) { * @return builder * * @deprecated - * tiered_caching has been deprecated in favour of using `cloudflare_tiered_cache` resource instead. + * tiered_caching has been deprecated in favour of using `cloudflare.TieredCache` resource instead. * */ - @Deprecated /* tiered_caching has been deprecated in favour of using `cloudflare_tiered_cache` resource instead. */ + @Deprecated /* tiered_caching has been deprecated in favour of using `cloudflare.TieredCache` resource instead. */ public Builder tieredCaching(@Nullable Output tieredCaching) { $.tieredCaching = tieredCaching; return this; @@ -137,10 +137,10 @@ public Builder tieredCaching(@Nullable Output tieredCaching) { * @return builder * * @deprecated - * tiered_caching has been deprecated in favour of using `cloudflare_tiered_cache` resource instead. + * tiered_caching has been deprecated in favour of using `cloudflare.TieredCache` resource instead. * */ - @Deprecated /* tiered_caching has been deprecated in favour of using `cloudflare_tiered_cache` resource instead. */ + @Deprecated /* tiered_caching has been deprecated in favour of using `cloudflare.TieredCache` resource instead. */ public Builder tieredCaching(String tieredCaching) { return tieredCaching(Output.of(tieredCaching)); } diff --git a/sdk/java/src/main/java/com/pulumi/cloudflare/inputs/ArgoState.java b/sdk/java/src/main/java/com/pulumi/cloudflare/inputs/ArgoState.java index 23a4c8028..072699ef7 100644 --- a/sdk/java/src/main/java/com/pulumi/cloudflare/inputs/ArgoState.java +++ b/sdk/java/src/main/java/com/pulumi/cloudflare/inputs/ArgoState.java @@ -34,10 +34,10 @@ public Optional> smartRouting() { * Whether tiered caching is enabled. Available values: `on`, `off`. * * @deprecated - * tiered_caching has been deprecated in favour of using `cloudflare_tiered_cache` resource instead. + * tiered_caching has been deprecated in favour of using `cloudflare.TieredCache` resource instead. * */ - @Deprecated /* tiered_caching has been deprecated in favour of using `cloudflare_tiered_cache` resource instead. */ + @Deprecated /* tiered_caching has been deprecated in favour of using `cloudflare.TieredCache` resource instead. */ @Import(name="tieredCaching") private @Nullable Output tieredCaching; @@ -45,10 +45,10 @@ public Optional> smartRouting() { * @return Whether tiered caching is enabled. Available values: `on`, `off`. * * @deprecated - * tiered_caching has been deprecated in favour of using `cloudflare_tiered_cache` resource instead. + * tiered_caching has been deprecated in favour of using `cloudflare.TieredCache` resource instead. * */ - @Deprecated /* tiered_caching has been deprecated in favour of using `cloudflare_tiered_cache` resource instead. */ + @Deprecated /* tiered_caching has been deprecated in favour of using `cloudflare.TieredCache` resource instead. */ public Optional> tieredCaching() { return Optional.ofNullable(this.tieredCaching); } @@ -121,10 +121,10 @@ public Builder smartRouting(String smartRouting) { * @return builder * * @deprecated - * tiered_caching has been deprecated in favour of using `cloudflare_tiered_cache` resource instead. + * tiered_caching has been deprecated in favour of using `cloudflare.TieredCache` resource instead. * */ - @Deprecated /* tiered_caching has been deprecated in favour of using `cloudflare_tiered_cache` resource instead. */ + @Deprecated /* tiered_caching has been deprecated in favour of using `cloudflare.TieredCache` resource instead. */ public Builder tieredCaching(@Nullable Output tieredCaching) { $.tieredCaching = tieredCaching; return this; @@ -136,10 +136,10 @@ public Builder tieredCaching(@Nullable Output tieredCaching) { * @return builder * * @deprecated - * tiered_caching has been deprecated in favour of using `cloudflare_tiered_cache` resource instead. + * tiered_caching has been deprecated in favour of using `cloudflare.TieredCache` resource instead. * */ - @Deprecated /* tiered_caching has been deprecated in favour of using `cloudflare_tiered_cache` resource instead. */ + @Deprecated /* tiered_caching has been deprecated in favour of using `cloudflare.TieredCache` resource instead. */ public Builder tieredCaching(String tieredCaching) { return tieredCaching(Output.of(tieredCaching)); } diff --git a/sdk/nodejs/argo.ts b/sdk/nodejs/argo.ts index 62c1e52e2..9d55eb412 100644 --- a/sdk/nodejs/argo.ts +++ b/sdk/nodejs/argo.ts @@ -64,7 +64,7 @@ export class Argo extends pulumi.CustomResource { /** * Whether tiered caching is enabled. Available values: `on`, `off`. * - * @deprecated tiered_caching has been deprecated in favour of using `cloudflare_tiered_cache` resource instead. + * @deprecated tiered_caching has been deprecated in favour of using `cloudflare.TieredCache` resource instead. */ public readonly tieredCaching!: pulumi.Output; /** @@ -113,7 +113,7 @@ export interface ArgoState { /** * Whether tiered caching is enabled. Available values: `on`, `off`. * - * @deprecated tiered_caching has been deprecated in favour of using `cloudflare_tiered_cache` resource instead. + * @deprecated tiered_caching has been deprecated in favour of using `cloudflare.TieredCache` resource instead. */ tieredCaching?: pulumi.Input; /** @@ -133,7 +133,7 @@ export interface ArgoArgs { /** * Whether tiered caching is enabled. Available values: `on`, `off`. * - * @deprecated tiered_caching has been deprecated in favour of using `cloudflare_tiered_cache` resource instead. + * @deprecated tiered_caching has been deprecated in favour of using `cloudflare.TieredCache` resource instead. */ tieredCaching?: pulumi.Input; /** diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index 653c859bc..e0f812511 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -4486,7 +4486,7 @@ export interface ZoneSettingsOverrideInitialSetting { sortQueryStringForCache?: pulumi.Input; ssl?: pulumi.Input; /** - * @deprecated tls_1_2_only has been deprecated in favour of using `min_tls_version = "1.2"` instead. + * @deprecated tls_1_2_only has been deprecated in favour of using `minTlsVersion = "1.2"` instead. */ tls12Only?: pulumi.Input; tls13?: pulumi.Input; @@ -4568,7 +4568,7 @@ export interface ZoneSettingsOverrideSettings { sortQueryStringForCache?: pulumi.Input; ssl?: pulumi.Input; /** - * @deprecated tls_1_2_only has been deprecated in favour of using `min_tls_version = "1.2"` instead. + * @deprecated tls_1_2_only has been deprecated in favour of using `minTlsVersion = "1.2"` instead. */ tls12Only?: pulumi.Input; tls13?: pulumi.Input; diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index b179e832a..311c94a77 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -5229,7 +5229,7 @@ export interface ZoneSettingsOverrideInitialSetting { sortQueryStringForCache: string; ssl: string; /** - * @deprecated tls_1_2_only has been deprecated in favour of using `min_tls_version = "1.2"` instead. + * @deprecated tls_1_2_only has been deprecated in favour of using `minTlsVersion = "1.2"` instead. */ tls12Only: string; tls13: string; @@ -5311,7 +5311,7 @@ export interface ZoneSettingsOverrideSettings { sortQueryStringForCache: string; ssl: string; /** - * @deprecated tls_1_2_only has been deprecated in favour of using `min_tls_version = "1.2"` instead. + * @deprecated tls_1_2_only has been deprecated in favour of using `minTlsVersion = "1.2"` instead. */ tls12Only: string; tls13: string; diff --git a/sdk/python/pulumi_cloudflare/argo.py b/sdk/python/pulumi_cloudflare/argo.py index 10b98aae1..90366cb40 100644 --- a/sdk/python/pulumi_cloudflare/argo.py +++ b/sdk/python/pulumi_cloudflare/argo.py @@ -27,8 +27,8 @@ def __init__(__self__, *, if smart_routing is not None: pulumi.set(__self__, "smart_routing", smart_routing) if tiered_caching is not None: - warnings.warn("""tiered_caching has been deprecated in favour of using `cloudflare_tiered_cache` resource instead.""", DeprecationWarning) - pulumi.log.warn("""tiered_caching is deprecated: tiered_caching has been deprecated in favour of using `cloudflare_tiered_cache` resource instead.""") + warnings.warn("""tiered_caching has been deprecated in favour of using `TieredCache` resource instead.""", DeprecationWarning) + pulumi.log.warn("""tiered_caching is deprecated: tiered_caching has been deprecated in favour of using `TieredCache` resource instead.""") if tiered_caching is not None: pulumi.set(__self__, "tiered_caching", tiered_caching) @@ -62,8 +62,8 @@ def tiered_caching(self) -> Optional[pulumi.Input[str]]: """ Whether tiered caching is enabled. Available values: `on`, `off`. """ - warnings.warn("""tiered_caching has been deprecated in favour of using `cloudflare_tiered_cache` resource instead.""", DeprecationWarning) - pulumi.log.warn("""tiered_caching is deprecated: tiered_caching has been deprecated in favour of using `cloudflare_tiered_cache` resource instead.""") + warnings.warn("""tiered_caching has been deprecated in favour of using `TieredCache` resource instead.""", DeprecationWarning) + pulumi.log.warn("""tiered_caching is deprecated: tiered_caching has been deprecated in favour of using `TieredCache` resource instead.""") return pulumi.get(self, "tiered_caching") @@ -87,8 +87,8 @@ def __init__(__self__, *, if smart_routing is not None: pulumi.set(__self__, "smart_routing", smart_routing) if tiered_caching is not None: - warnings.warn("""tiered_caching has been deprecated in favour of using `cloudflare_tiered_cache` resource instead.""", DeprecationWarning) - pulumi.log.warn("""tiered_caching is deprecated: tiered_caching has been deprecated in favour of using `cloudflare_tiered_cache` resource instead.""") + warnings.warn("""tiered_caching has been deprecated in favour of using `TieredCache` resource instead.""", DeprecationWarning) + pulumi.log.warn("""tiered_caching is deprecated: tiered_caching has been deprecated in favour of using `TieredCache` resource instead.""") if tiered_caching is not None: pulumi.set(__self__, "tiered_caching", tiered_caching) if zone_id is not None: @@ -112,8 +112,8 @@ def tiered_caching(self) -> Optional[pulumi.Input[str]]: """ Whether tiered caching is enabled. Available values: `on`, `off`. """ - warnings.warn("""tiered_caching has been deprecated in favour of using `cloudflare_tiered_cache` resource instead.""", DeprecationWarning) - pulumi.log.warn("""tiered_caching is deprecated: tiered_caching has been deprecated in favour of using `cloudflare_tiered_cache` resource instead.""") + warnings.warn("""tiered_caching has been deprecated in favour of using `TieredCache` resource instead.""", DeprecationWarning) + pulumi.log.warn("""tiered_caching is deprecated: tiered_caching has been deprecated in favour of using `TieredCache` resource instead.""") return pulumi.get(self, "tiered_caching") @@ -282,8 +282,8 @@ def tiered_caching(self) -> pulumi.Output[Optional[str]]: """ Whether tiered caching is enabled. Available values: `on`, `off`. """ - warnings.warn("""tiered_caching has been deprecated in favour of using `cloudflare_tiered_cache` resource instead.""", DeprecationWarning) - pulumi.log.warn("""tiered_caching is deprecated: tiered_caching has been deprecated in favour of using `cloudflare_tiered_cache` resource instead.""") + warnings.warn("""tiered_caching has been deprecated in favour of using `TieredCache` resource instead.""", DeprecationWarning) + pulumi.log.warn("""tiered_caching is deprecated: tiered_caching has been deprecated in favour of using `TieredCache` resource instead.""") return pulumi.get(self, "tiered_caching")