diff --git a/.ci-mgmt.yaml b/.ci-mgmt.yaml index 278139a1..1d3367f8 100644 --- a/.ci-mgmt.yaml +++ b/.ci-mgmt.yaml @@ -9,3 +9,4 @@ plugins: - name: tls version: "4.0.0" team: ecosystem +javaGenVersion: "v0.9.8" diff --git a/.upgrade-config.yml b/.upgrade-config.yml index 6d1bdc12..5b879d19 100644 --- a/.upgrade-config.yml +++ b/.upgrade-config.yml @@ -5,4 +5,4 @@ upstream-provider-name: terraform-provider-fastly pulumi-infer-version: true remove-plugins: true pr-reviewers: pulumi/Providers,lukehoban -javaVersion: "v0.5.4" +javaVersion: "v0.9.8" diff --git a/Makefile b/Makefile index 46d3195f..01987392 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ TFGEN := pulumi-tfgen-$(PACK) PROVIDER := pulumi-resource-$(PACK) VERSION := $(shell pulumictl get version) JAVA_GEN := pulumi-java-gen -JAVA_GEN_VERSION := v0.5.4 +JAVA_GEN_VERSION := v0.9.8 TESTPARALLELISM := 10 WORKING_DIR := $(shell pwd) PULUMI_CONVERT := 0 diff --git a/provider/cmd/pulumi-resource-fastly/schema.json b/provider/cmd/pulumi-resource-fastly/schema.json index dc46d34f..e4b46e09 100644 --- a/provider/cmd/pulumi-resource-fastly/schema.json +++ b/provider/cmd/pulumi-resource-fastly/schema.json @@ -1440,21 +1440,14 @@ }, "name": { "type": "string", - "description": "Used internally by the provider to identify modified settings\n" + "description": "Used by the provider to identify modified settings (changing this value will force the entire block to be deleted, then recreated)\n" }, "websockets": { "type": "boolean", "description": "Enable WebSockets support\n" } }, - "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "name" - ] - } - } + "type": "object" }, "fastly:index/ServiceComputeResourceLink:ServiceComputeResourceLink": { "properties": { @@ -3545,7 +3538,7 @@ }, "name": { "type": "string", - "description": "Used internally by the provider to identify modified settings\n" + "description": "Used by the provider to identify modified settings (changing this value will force the entire block to be deleted, then recreated)\n" }, "originInspector": { "type": "boolean", @@ -3556,14 +3549,7 @@ "description": "Enable WebSockets support\n" } }, - "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "name" - ] - } - } + "type": "object" }, "fastly:index/ServiceVclRateLimiter:ServiceVclRateLimiter": { "properties": { @@ -4207,7 +4193,7 @@ }, "resources": { "fastly:index/configstore:Configstore": { - "description": "Provides a container that lets you store data in key-value pairs that are accessible to Compute@Edge services during request processing.\n\nIn order for a Config Store (`fastly.Configstore`) to be accessible to a [Compute@Edge](https://developer.fastly.com/learning/compute/) service you'll first need to define a Compute service (`fastly.ServiceCompute`) in your configuration, and then create a link to the Config Store from within the service using the `resource_link` block (shown in the below examples).\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nBasic usage:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as fastly from \"@pulumi/fastly\";\n\n// IMPORTANT: Deleting a Config Store requires first deleting its resource_link.\n// This requires a two-step `pulumi up` as we can't guarantee deletion order.\n// e.g. resource_link deletion within fastly_service_compute might not finish first.\nconst exampleConfigstore = new fastly.Configstore(\"exampleConfigstore\", {});\nconst examplePackageHash = fastly.getPackageHash({\n filename: \"package.tar.gz\",\n});\nconst exampleServiceCompute = new fastly.ServiceCompute(\"exampleServiceCompute\", {\n domains: [{\n name: \"demo.example.com\",\n }],\n \"package\": {\n filename: \"package.tar.gz\",\n sourceCodeHash: examplePackageHash.then(examplePackageHash =\u003e examplePackageHash.hash),\n },\n resourceLinks: [{\n name: \"my_resource_link\",\n resourceId: exampleConfigstore.id,\n }],\n forceDestroy: true,\n});\n```\n```python\nimport pulumi\nimport pulumi_fastly as fastly\n\n# IMPORTANT: Deleting a Config Store requires first deleting its resource_link.\n# This requires a two-step `pulumi up` as we can't guarantee deletion order.\n# e.g. resource_link deletion within fastly_service_compute might not finish first.\nexample_configstore = fastly.Configstore(\"exampleConfigstore\")\nexample_package_hash = fastly.get_package_hash(filename=\"package.tar.gz\")\nexample_service_compute = fastly.ServiceCompute(\"exampleServiceCompute\",\n domains=[fastly.ServiceComputeDomainArgs(\n name=\"demo.example.com\",\n )],\n package=fastly.ServiceComputePackageArgs(\n filename=\"package.tar.gz\",\n source_code_hash=example_package_hash.hash,\n ),\n resource_links=[fastly.ServiceComputeResourceLinkArgs(\n name=\"my_resource_link\",\n resource_id=example_configstore.id,\n )],\n force_destroy=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Fastly = Pulumi.Fastly;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // IMPORTANT: Deleting a Config Store requires first deleting its resource_link.\n // This requires a two-step `pulumi up` as we can't guarantee deletion order.\n // e.g. resource_link deletion within fastly_service_compute might not finish first.\n var exampleConfigstore = new Fastly.Configstore(\"exampleConfigstore\");\n\n var examplePackageHash = Fastly.GetPackageHash.Invoke(new()\n {\n Filename = \"package.tar.gz\",\n });\n\n var exampleServiceCompute = new Fastly.ServiceCompute(\"exampleServiceCompute\", new()\n {\n Domains = new[]\n {\n new Fastly.Inputs.ServiceComputeDomainArgs\n {\n Name = \"demo.example.com\",\n },\n },\n Package = new Fastly.Inputs.ServiceComputePackageArgs\n {\n Filename = \"package.tar.gz\",\n SourceCodeHash = examplePackageHash.Apply(getPackageHashResult =\u003e getPackageHashResult.Hash),\n },\n ResourceLinks = new[]\n {\n new Fastly.Inputs.ServiceComputeResourceLinkArgs\n {\n Name = \"my_resource_link\",\n ResourceId = exampleConfigstore.Id,\n },\n },\n ForceDestroy = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-fastly/sdk/v8/go/fastly\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleConfigstore, err := fastly.NewConfigstore(ctx, \"exampleConfigstore\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texamplePackageHash, err := fastly.GetPackageHash(ctx, \u0026fastly.GetPackageHashArgs{\n\t\t\tFilename: pulumi.StringRef(\"package.tar.gz\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = fastly.NewServiceCompute(ctx, \"exampleServiceCompute\", \u0026fastly.ServiceComputeArgs{\n\t\t\tDomains: fastly.ServiceComputeDomainArray{\n\t\t\t\t\u0026fastly.ServiceComputeDomainArgs{\n\t\t\t\t\tName: pulumi.String(\"demo.example.com\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tPackage: \u0026fastly.ServiceComputePackageArgs{\n\t\t\t\tFilename: pulumi.String(\"package.tar.gz\"),\n\t\t\t\tSourceCodeHash: *pulumi.String(examplePackageHash.Hash),\n\t\t\t},\n\t\t\tResourceLinks: fastly.ServiceComputeResourceLinkArray{\n\t\t\t\t\u0026fastly.ServiceComputeResourceLinkArgs{\n\t\t\t\t\tName: pulumi.String(\"my_resource_link\"),\n\t\t\t\t\tResourceId: exampleConfigstore.ID(),\n\t\t\t\t},\n\t\t\t},\n\t\t\tForceDestroy: 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.fastly.Configstore;\nimport com.pulumi.fastly.FastlyFunctions;\nimport com.pulumi.fastly.inputs.GetPackageHashArgs;\nimport com.pulumi.fastly.ServiceCompute;\nimport com.pulumi.fastly.ServiceComputeArgs;\nimport com.pulumi.fastly.inputs.ServiceComputeDomainArgs;\nimport com.pulumi.fastly.inputs.ServiceComputePackageArgs;\nimport com.pulumi.fastly.inputs.ServiceComputeResourceLinkArgs;\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 var exampleConfigstore = new Configstore(\"exampleConfigstore\");\n\n final var examplePackageHash = FastlyFunctions.getPackageHash(GetPackageHashArgs.builder()\n .filename(\"package.tar.gz\")\n .build());\n\n var exampleServiceCompute = new ServiceCompute(\"exampleServiceCompute\", ServiceComputeArgs.builder() \n .domains(ServiceComputeDomainArgs.builder()\n .name(\"demo.example.com\")\n .build())\n .package_(ServiceComputePackageArgs.builder()\n .filename(\"package.tar.gz\")\n .sourceCodeHash(examplePackageHash.applyValue(getPackageHashResult -\u003e getPackageHashResult.hash()))\n .build())\n .resourceLinks(ServiceComputeResourceLinkArgs.builder()\n .name(\"my_resource_link\")\n .resourceId(exampleConfigstore.id())\n .build())\n .forceDestroy(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # IMPORTANT: Deleting a Config Store requires first deleting its resource_link.\n # This requires a two-step `pulumi up` as we can't guarantee deletion order.\n # e.g. resource_link deletion within fastly_service_compute might not finish first.\n exampleConfigstore:\n type: fastly:Configstore\n exampleServiceCompute:\n type: fastly:ServiceCompute\n properties:\n domains:\n - name: demo.example.com\n package:\n filename: package.tar.gz\n sourceCodeHash: ${examplePackageHash.hash}\n resourceLinks:\n - name: my_resource_link\n resourceId: ${exampleConfigstore.id}\n forceDestroy: true\nvariables:\n examplePackageHash:\n fn::invoke:\n Function: fastly:getPackageHash\n Arguments:\n filename: package.tar.gz\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nFastly Config Stores can be imported using their Store ID, e.g.\n\n```sh\n $ pulumi import fastly:index/configstore:Configstore example xxxxxxxxxxxxxxxxxxxx\n```\n\n ", + "description": "Provides a container that lets you store data in key-value pairs that are accessible to Compute services during request processing.\n\nIn order for a Config Store (`fastly.Configstore`) to be accessible to a [Compute](https://developer.fastly.com/learning/compute/) service you'll first need to define a Compute service (`fastly.ServiceCompute`) in your configuration, and then create a link to the Config Store from within the service using the `resource_link` block (shown in the below examples).\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nBasic usage:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as fastly from \"@pulumi/fastly\";\n\n// IMPORTANT: Deleting a Config Store requires first deleting its resource_link.\n// This requires a two-step `pulumi up` as we can't guarantee deletion order.\n// e.g. resource_link deletion within fastly_service_compute might not finish first.\nconst exampleConfigstore = new fastly.Configstore(\"exampleConfigstore\", {});\nconst examplePackageHash = fastly.getPackageHash({\n filename: \"package.tar.gz\",\n});\nconst exampleServiceCompute = new fastly.ServiceCompute(\"exampleServiceCompute\", {\n domains: [{\n name: \"demo.example.com\",\n }],\n \"package\": {\n filename: \"package.tar.gz\",\n sourceCodeHash: examplePackageHash.then(examplePackageHash =\u003e examplePackageHash.hash),\n },\n resourceLinks: [{\n name: \"my_resource_link\",\n resourceId: exampleConfigstore.id,\n }],\n forceDestroy: true,\n});\n```\n```python\nimport pulumi\nimport pulumi_fastly as fastly\n\n# IMPORTANT: Deleting a Config Store requires first deleting its resource_link.\n# This requires a two-step `pulumi up` as we can't guarantee deletion order.\n# e.g. resource_link deletion within fastly_service_compute might not finish first.\nexample_configstore = fastly.Configstore(\"exampleConfigstore\")\nexample_package_hash = fastly.get_package_hash(filename=\"package.tar.gz\")\nexample_service_compute = fastly.ServiceCompute(\"exampleServiceCompute\",\n domains=[fastly.ServiceComputeDomainArgs(\n name=\"demo.example.com\",\n )],\n package=fastly.ServiceComputePackageArgs(\n filename=\"package.tar.gz\",\n source_code_hash=example_package_hash.hash,\n ),\n resource_links=[fastly.ServiceComputeResourceLinkArgs(\n name=\"my_resource_link\",\n resource_id=example_configstore.id,\n )],\n force_destroy=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Fastly = Pulumi.Fastly;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // IMPORTANT: Deleting a Config Store requires first deleting its resource_link.\n // This requires a two-step `pulumi up` as we can't guarantee deletion order.\n // e.g. resource_link deletion within fastly_service_compute might not finish first.\n var exampleConfigstore = new Fastly.Configstore(\"exampleConfigstore\");\n\n var examplePackageHash = Fastly.GetPackageHash.Invoke(new()\n {\n Filename = \"package.tar.gz\",\n });\n\n var exampleServiceCompute = new Fastly.ServiceCompute(\"exampleServiceCompute\", new()\n {\n Domains = new[]\n {\n new Fastly.Inputs.ServiceComputeDomainArgs\n {\n Name = \"demo.example.com\",\n },\n },\n Package = new Fastly.Inputs.ServiceComputePackageArgs\n {\n Filename = \"package.tar.gz\",\n SourceCodeHash = examplePackageHash.Apply(getPackageHashResult =\u003e getPackageHashResult.Hash),\n },\n ResourceLinks = new[]\n {\n new Fastly.Inputs.ServiceComputeResourceLinkArgs\n {\n Name = \"my_resource_link\",\n ResourceId = exampleConfigstore.Id,\n },\n },\n ForceDestroy = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-fastly/sdk/v8/go/fastly\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleConfigstore, err := fastly.NewConfigstore(ctx, \"exampleConfigstore\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texamplePackageHash, err := fastly.GetPackageHash(ctx, \u0026fastly.GetPackageHashArgs{\n\t\t\tFilename: pulumi.StringRef(\"package.tar.gz\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = fastly.NewServiceCompute(ctx, \"exampleServiceCompute\", \u0026fastly.ServiceComputeArgs{\n\t\t\tDomains: fastly.ServiceComputeDomainArray{\n\t\t\t\t\u0026fastly.ServiceComputeDomainArgs{\n\t\t\t\t\tName: pulumi.String(\"demo.example.com\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tPackage: \u0026fastly.ServiceComputePackageArgs{\n\t\t\t\tFilename: pulumi.String(\"package.tar.gz\"),\n\t\t\t\tSourceCodeHash: *pulumi.String(examplePackageHash.Hash),\n\t\t\t},\n\t\t\tResourceLinks: fastly.ServiceComputeResourceLinkArray{\n\t\t\t\t\u0026fastly.ServiceComputeResourceLinkArgs{\n\t\t\t\t\tName: pulumi.String(\"my_resource_link\"),\n\t\t\t\t\tResourceId: exampleConfigstore.ID(),\n\t\t\t\t},\n\t\t\t},\n\t\t\tForceDestroy: 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.fastly.Configstore;\nimport com.pulumi.fastly.FastlyFunctions;\nimport com.pulumi.fastly.inputs.GetPackageHashArgs;\nimport com.pulumi.fastly.ServiceCompute;\nimport com.pulumi.fastly.ServiceComputeArgs;\nimport com.pulumi.fastly.inputs.ServiceComputeDomainArgs;\nimport com.pulumi.fastly.inputs.ServiceComputePackageArgs;\nimport com.pulumi.fastly.inputs.ServiceComputeResourceLinkArgs;\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 var exampleConfigstore = new Configstore(\"exampleConfigstore\");\n\n final var examplePackageHash = FastlyFunctions.getPackageHash(GetPackageHashArgs.builder()\n .filename(\"package.tar.gz\")\n .build());\n\n var exampleServiceCompute = new ServiceCompute(\"exampleServiceCompute\", ServiceComputeArgs.builder() \n .domains(ServiceComputeDomainArgs.builder()\n .name(\"demo.example.com\")\n .build())\n .package_(ServiceComputePackageArgs.builder()\n .filename(\"package.tar.gz\")\n .sourceCodeHash(examplePackageHash.applyValue(getPackageHashResult -\u003e getPackageHashResult.hash()))\n .build())\n .resourceLinks(ServiceComputeResourceLinkArgs.builder()\n .name(\"my_resource_link\")\n .resourceId(exampleConfigstore.id())\n .build())\n .forceDestroy(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # IMPORTANT: Deleting a Config Store requires first deleting its resource_link.\n # This requires a two-step `pulumi up` as we can't guarantee deletion order.\n # e.g. resource_link deletion within fastly_service_compute might not finish first.\n exampleConfigstore:\n type: fastly:Configstore\n exampleServiceCompute:\n type: fastly:ServiceCompute\n properties:\n domains:\n - name: demo.example.com\n package:\n filename: package.tar.gz\n sourceCodeHash: ${examplePackageHash.hash}\n resourceLinks:\n - name: my_resource_link\n resourceId: ${exampleConfigstore.id}\n forceDestroy: true\nvariables:\n examplePackageHash:\n fn::invoke:\n Function: fastly:getPackageHash\n Arguments:\n filename: package.tar.gz\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nFastly Config Stores can be imported using their Store ID, e.g.\n\n```sh\n $ pulumi import fastly:index/configstore:Configstore example xxxxxxxxxxxxxxxxxxxx\n```\n\n ", "properties": { "forceDestroy": { "type": "boolean", @@ -4743,7 +4729,7 @@ }, "package": { "$ref": "#/types/fastly:index/ServiceComputePackage:ServiceComputePackage", - "description": "The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute@Edge service (if omitted, ensure `activate = false` is set on `fastly.ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute@Edge](https://developer.fastly.com/learning/compute/)\n" + "description": "The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute service (if omitted, ensure `activate = false` is set on `fastly.ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute](https://developer.fastly.com/learning/compute/)\n" }, "productEnablement": { "$ref": "#/types/fastly:index/ServiceComputeProductEnablement:ServiceComputeProductEnablement" @@ -4966,7 +4952,7 @@ }, "package": { "$ref": "#/types/fastly:index/ServiceComputePackage:ServiceComputePackage", - "description": "The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute@Edge service (if omitted, ensure `activate = false` is set on `fastly.ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute@Edge](https://developer.fastly.com/learning/compute/)\n" + "description": "The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute service (if omitted, ensure `activate = false` is set on `fastly.ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute](https://developer.fastly.com/learning/compute/)\n" }, "productEnablement": { "$ref": "#/types/fastly:index/ServiceComputeProductEnablement:ServiceComputeProductEnablement" @@ -5202,7 +5188,7 @@ }, "package": { "$ref": "#/types/fastly:index/ServiceComputePackage:ServiceComputePackage", - "description": "The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute@Edge service (if omitted, ensure `activate = false` is set on `fastly.ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute@Edge](https://developer.fastly.com/learning/compute/)\n" + "description": "The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute service (if omitted, ensure `activate = false` is set on `fastly.ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute](https://developer.fastly.com/learning/compute/)\n" }, "productEnablement": { "$ref": "#/types/fastly:index/ServiceComputeProductEnablement:ServiceComputeProductEnablement" @@ -5380,7 +5366,7 @@ } }, "fastly:index/serviceVcl:ServiceVcl": { - "description": "Provides a Fastly Service, representing the configuration for a website, app,\nAPI, or anything else to be served through Fastly. A Service encompasses Domains\nand Backends.\n\nThe Service resource requires a domain name that is correctly set up to direct\ntraffic to the Fastly service. See Fastly's guide on [Adding CNAME Records][fastly-cname]\non their documentation site for guidance.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\nBasic usage:\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as fastly from \"@pulumi/fastly\";\n\nconst demo = new fastly.ServiceVcl(\"demo\", {\n backends: [{\n address: \"127.0.0.1\",\n name: \"localhost\",\n port: 80,\n }],\n domains: [{\n comment: \"demo\",\n name: \"demo.notexample.com\",\n }],\n forceDestroy: true,\n});\n```\n```python\nimport pulumi\nimport pulumi_fastly as fastly\n\ndemo = fastly.ServiceVcl(\"demo\",\n backends=[fastly.ServiceVclBackendArgs(\n address=\"127.0.0.1\",\n name=\"localhost\",\n port=80,\n )],\n domains=[fastly.ServiceVclDomainArgs(\n comment=\"demo\",\n name=\"demo.notexample.com\",\n )],\n force_destroy=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Fastly = Pulumi.Fastly;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var demo = new Fastly.ServiceVcl(\"demo\", new()\n {\n Backends = new[]\n {\n new Fastly.Inputs.ServiceVclBackendArgs\n {\n Address = \"127.0.0.1\",\n Name = \"localhost\",\n Port = 80,\n },\n },\n Domains = new[]\n {\n new Fastly.Inputs.ServiceVclDomainArgs\n {\n Comment = \"demo\",\n Name = \"demo.notexample.com\",\n },\n },\n ForceDestroy = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-fastly/sdk/v8/go/fastly\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := fastly.NewServiceVcl(ctx, \"demo\", \u0026fastly.ServiceVclArgs{\n\t\t\tBackends: fastly.ServiceVclBackendArray{\n\t\t\t\t\u0026fastly.ServiceVclBackendArgs{\n\t\t\t\t\tAddress: pulumi.String(\"127.0.0.1\"),\n\t\t\t\t\tName: pulumi.String(\"localhost\"),\n\t\t\t\t\tPort: pulumi.Int(80),\n\t\t\t\t},\n\t\t\t},\n\t\t\tDomains: fastly.ServiceVclDomainArray{\n\t\t\t\t\u0026fastly.ServiceVclDomainArgs{\n\t\t\t\t\tComment: pulumi.String(\"demo\"),\n\t\t\t\t\tName: pulumi.String(\"demo.notexample.com\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tForceDestroy: 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.fastly.ServiceVcl;\nimport com.pulumi.fastly.ServiceVclArgs;\nimport com.pulumi.fastly.inputs.ServiceVclBackendArgs;\nimport com.pulumi.fastly.inputs.ServiceVclDomainArgs;\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 var demo = new ServiceVcl(\"demo\", ServiceVclArgs.builder() \n .backends(ServiceVclBackendArgs.builder()\n .address(\"127.0.0.1\")\n .name(\"localhost\")\n .port(80)\n .build())\n .domains(ServiceVclDomainArgs.builder()\n .comment(\"demo\")\n .name(\"demo.notexample.com\")\n .build())\n .forceDestroy(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n demo:\n type: fastly:ServiceVcl\n properties:\n backends:\n - address: 127.0.0.1\n name: localhost\n port: 80\n domains:\n - comment: demo\n name: demo.notexample.com\n forceDestroy: true\n```\n\nBasic usage with an Amazon S3 Website and that removes the `x-amz-request-id` header:\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.fastly.ServiceVcl;\nimport com.pulumi.fastly.ServiceVclArgs;\nimport com.pulumi.fastly.inputs.ServiceVclBackendArgs;\nimport com.pulumi.fastly.inputs.ServiceVclDomainArgs;\nimport com.pulumi.fastly.inputs.ServiceVclGzipArgs;\nimport com.pulumi.fastly.inputs.ServiceVclHeaderArgs;\nimport com.pulumi.aws.s3.BucketV2;\nimport com.pulumi.aws.s3.BucketV2Args;\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 var demo = new ServiceVcl(\"demo\", ServiceVclArgs.builder() \n .backends(ServiceVclBackendArgs.builder()\n .address(\"demo.notexample.com.s3-website-us-west-2.amazonaws.com\")\n .name(\"AWS S3 hosting\")\n .overrideHost(\"demo.notexample.com.s3-website-us-west-2.amazonaws.com\")\n .port(80)\n .build())\n .domains(ServiceVclDomainArgs.builder()\n .comment(\"demo\")\n .name(\"demo.notexample.com\")\n .build())\n .forceDestroy(true)\n .gzips(ServiceVclGzipArgs.builder()\n .contentTypes( \n \"text/html\",\n \"text/css\")\n .extensions( \n \"css\",\n \"js\")\n .name(\"file extensions and content types\")\n .build())\n .headers(ServiceVclHeaderArgs.builder()\n .action(\"delete\")\n .destination(\"http.x-amz-request-id\")\n .name(\"remove x-amz-request-id\")\n .type(\"cache\")\n .build())\n .build());\n\n var website = new BucketV2(\"website\", BucketV2Args.builder() \n .acl(\"public-read\")\n .websites(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n demo:\n type: fastly:ServiceVcl\n properties:\n backends:\n - address: demo.notexample.com.s3-website-us-west-2.amazonaws.com\n name: AWS S3 hosting\n overrideHost: demo.notexample.com.s3-website-us-west-2.amazonaws.com\n port: 80\n domains:\n - comment: demo\n name: demo.notexample.com\n forceDestroy: true\n gzips:\n - contentTypes:\n - text/html\n - text/css\n extensions:\n - css\n - js\n name: file extensions and content types\n headers:\n - action: delete\n destination: http.x-amz-request-id\n name: remove x-amz-request-id\n type: cache\n website:\n type: aws:s3:BucketV2\n properties:\n acl: public-read\n websites:\n - errorDocument: error.html\n indexDocument: index.html\n```\n\nBasic usage with [custom\nVCL](https://docs.fastly.com/vcl/custom-vcl/uploading-custom-vcl/):\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as fastly from \"@pulumi/fastly\";\nimport * as fs from \"fs\";\n\nconst demo = new fastly.ServiceVcl(\"demo\", {\n backends: [{\n address: \"127.0.0.1\",\n name: \"localhost\",\n port: 80,\n }],\n domains: [{\n comment: \"demo\",\n name: \"demo.notexample.com\",\n }],\n forceDestroy: true,\n vcls: [\n {\n content: fs.readFileSync(`${path.module}/my_custom_main.vcl`),\n main: true,\n name: \"my_custom_main_vcl\",\n },\n {\n content: fs.readFileSync(`${path.module}/my_custom_library.vcl`),\n name: \"my_custom_library_vcl\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_fastly as fastly\n\ndemo = fastly.ServiceVcl(\"demo\",\n backends=[fastly.ServiceVclBackendArgs(\n address=\"127.0.0.1\",\n name=\"localhost\",\n port=80,\n )],\n domains=[fastly.ServiceVclDomainArgs(\n comment=\"demo\",\n name=\"demo.notexample.com\",\n )],\n force_destroy=True,\n vcls=[\n fastly.ServiceVclVclArgs(\n content=(lambda path: open(path).read())(f\"{path['module']}/my_custom_main.vcl\"),\n main=True,\n name=\"my_custom_main_vcl\",\n ),\n fastly.ServiceVclVclArgs(\n content=(lambda path: open(path).read())(f\"{path['module']}/my_custom_library.vcl\"),\n name=\"my_custom_library_vcl\",\n ),\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.IO;\nusing System.Linq;\nusing Pulumi;\nusing Fastly = Pulumi.Fastly;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var demo = new Fastly.ServiceVcl(\"demo\", new()\n {\n Backends = new[]\n {\n new Fastly.Inputs.ServiceVclBackendArgs\n {\n Address = \"127.0.0.1\",\n Name = \"localhost\",\n Port = 80,\n },\n },\n Domains = new[]\n {\n new Fastly.Inputs.ServiceVclDomainArgs\n {\n Comment = \"demo\",\n Name = \"demo.notexample.com\",\n },\n },\n ForceDestroy = true,\n Vcls = new[]\n {\n new Fastly.Inputs.ServiceVclVclArgs\n {\n Content = File.ReadAllText($\"{path.Module}/my_custom_main.vcl\"),\n Main = true,\n Name = \"my_custom_main_vcl\",\n },\n new Fastly.Inputs.ServiceVclVclArgs\n {\n Content = File.ReadAllText($\"{path.Module}/my_custom_library.vcl\"),\n Name = \"my_custom_library_vcl\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\t\"os\"\n\n\t\"github.com/pulumi/pulumi-fastly/sdk/v8/go/fastly\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc readFileOrPanic(path string) pulumi.StringPtrInput {\n\tdata, err := os.ReadFile(path)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\treturn pulumi.String(string(data))\n}\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := fastly.NewServiceVcl(ctx, \"demo\", \u0026fastly.ServiceVclArgs{\n\t\t\tBackends: fastly.ServiceVclBackendArray{\n\t\t\t\t\u0026fastly.ServiceVclBackendArgs{\n\t\t\t\t\tAddress: pulumi.String(\"127.0.0.1\"),\n\t\t\t\t\tName: pulumi.String(\"localhost\"),\n\t\t\t\t\tPort: pulumi.Int(80),\n\t\t\t\t},\n\t\t\t},\n\t\t\tDomains: fastly.ServiceVclDomainArray{\n\t\t\t\t\u0026fastly.ServiceVclDomainArgs{\n\t\t\t\t\tComment: pulumi.String(\"demo\"),\n\t\t\t\t\tName: pulumi.String(\"demo.notexample.com\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tForceDestroy: pulumi.Bool(true),\n\t\t\tVcls: fastly.ServiceVclVclArray{\n\t\t\t\t\u0026fastly.ServiceVclVclArgs{\n\t\t\t\t\tContent: readFileOrPanic(fmt.Sprintf(\"%v/my_custom_main.vcl\", path.Module)),\n\t\t\t\t\tMain: pulumi.Bool(true),\n\t\t\t\t\tName: pulumi.String(\"my_custom_main_vcl\"),\n\t\t\t\t},\n\t\t\t\t\u0026fastly.ServiceVclVclArgs{\n\t\t\t\t\tContent: readFileOrPanic(fmt.Sprintf(\"%v/my_custom_library.vcl\", path.Module)),\n\t\t\t\t\tName: pulumi.String(\"my_custom_library_vcl\"),\n\t\t\t\t},\n\t\t\t},\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.fastly.ServiceVcl;\nimport com.pulumi.fastly.ServiceVclArgs;\nimport com.pulumi.fastly.inputs.ServiceVclBackendArgs;\nimport com.pulumi.fastly.inputs.ServiceVclDomainArgs;\nimport com.pulumi.fastly.inputs.ServiceVclVclArgs;\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 var demo = new ServiceVcl(\"demo\", ServiceVclArgs.builder() \n .backends(ServiceVclBackendArgs.builder()\n .address(\"127.0.0.1\")\n .name(\"localhost\")\n .port(80)\n .build())\n .domains(ServiceVclDomainArgs.builder()\n .comment(\"demo\")\n .name(\"demo.notexample.com\")\n .build())\n .forceDestroy(true)\n .vcls( \n ServiceVclVclArgs.builder()\n .content(Files.readString(Paths.get(String.format(\"%s/my_custom_main.vcl\", path.module()))))\n .main(true)\n .name(\"my_custom_main_vcl\")\n .build(),\n ServiceVclVclArgs.builder()\n .content(Files.readString(Paths.get(String.format(\"%s/my_custom_library.vcl\", path.module()))))\n .name(\"my_custom_library_vcl\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n demo:\n type: fastly:ServiceVcl\n properties:\n backends:\n - address: 127.0.0.1\n name: localhost\n port: 80\n domains:\n - comment: demo\n name: demo.notexample.com\n forceDestroy: true\n vcls:\n - content:\n fn::readFile: ${path.module}/my_custom_main.vcl\n main: true\n name: my_custom_main_vcl\n - content:\n fn::readFile: ${path.module}/my_custom_library.vcl\n name: my_custom_library_vcl\n```\n\nBasic usage with [custom Director](https://developer.fastly.com/reference/api/load-balancing/directors/director/):\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as fastly from \"@pulumi/fastly\";\n\nconst demo = new fastly.ServiceVcl(\"demo\", {\n backends: [\n {\n address: \"127.0.0.1\",\n name: \"origin1\",\n port: 80,\n },\n {\n address: \"127.0.0.2\",\n name: \"origin2\",\n port: 80,\n },\n ],\n directors: [{\n backends: [\n \"origin1\",\n \"origin2\",\n ],\n name: \"mydirector\",\n quorum: 0,\n type: 3,\n }],\n domains: [{\n comment: \"demo\",\n name: \"demo.notexample.com\",\n }],\n forceDestroy: true,\n});\n```\n```python\nimport pulumi\nimport pulumi_fastly as fastly\n\ndemo = fastly.ServiceVcl(\"demo\",\n backends=[\n fastly.ServiceVclBackendArgs(\n address=\"127.0.0.1\",\n name=\"origin1\",\n port=80,\n ),\n fastly.ServiceVclBackendArgs(\n address=\"127.0.0.2\",\n name=\"origin2\",\n port=80,\n ),\n ],\n directors=[fastly.ServiceVclDirectorArgs(\n backends=[\n \"origin1\",\n \"origin2\",\n ],\n name=\"mydirector\",\n quorum=0,\n type=3,\n )],\n domains=[fastly.ServiceVclDomainArgs(\n comment=\"demo\",\n name=\"demo.notexample.com\",\n )],\n force_destroy=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Fastly = Pulumi.Fastly;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var demo = new Fastly.ServiceVcl(\"demo\", new()\n {\n Backends = new[]\n {\n new Fastly.Inputs.ServiceVclBackendArgs\n {\n Address = \"127.0.0.1\",\n Name = \"origin1\",\n Port = 80,\n },\n new Fastly.Inputs.ServiceVclBackendArgs\n {\n Address = \"127.0.0.2\",\n Name = \"origin2\",\n Port = 80,\n },\n },\n Directors = new[]\n {\n new Fastly.Inputs.ServiceVclDirectorArgs\n {\n Backends = new[]\n {\n \"origin1\",\n \"origin2\",\n },\n Name = \"mydirector\",\n Quorum = 0,\n Type = 3,\n },\n },\n Domains = new[]\n {\n new Fastly.Inputs.ServiceVclDomainArgs\n {\n Comment = \"demo\",\n Name = \"demo.notexample.com\",\n },\n },\n ForceDestroy = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-fastly/sdk/v8/go/fastly\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := fastly.NewServiceVcl(ctx, \"demo\", \u0026fastly.ServiceVclArgs{\n\t\t\tBackends: fastly.ServiceVclBackendArray{\n\t\t\t\t\u0026fastly.ServiceVclBackendArgs{\n\t\t\t\t\tAddress: pulumi.String(\"127.0.0.1\"),\n\t\t\t\t\tName: pulumi.String(\"origin1\"),\n\t\t\t\t\tPort: pulumi.Int(80),\n\t\t\t\t},\n\t\t\t\t\u0026fastly.ServiceVclBackendArgs{\n\t\t\t\t\tAddress: pulumi.String(\"127.0.0.2\"),\n\t\t\t\t\tName: pulumi.String(\"origin2\"),\n\t\t\t\t\tPort: pulumi.Int(80),\n\t\t\t\t},\n\t\t\t},\n\t\t\tDirectors: fastly.ServiceVclDirectorArray{\n\t\t\t\t\u0026fastly.ServiceVclDirectorArgs{\n\t\t\t\t\tBackends: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"origin1\"),\n\t\t\t\t\t\tpulumi.String(\"origin2\"),\n\t\t\t\t\t},\n\t\t\t\t\tName: pulumi.String(\"mydirector\"),\n\t\t\t\t\tQuorum: pulumi.Int(0),\n\t\t\t\t\tType: pulumi.Int(3),\n\t\t\t\t},\n\t\t\t},\n\t\t\tDomains: fastly.ServiceVclDomainArray{\n\t\t\t\t\u0026fastly.ServiceVclDomainArgs{\n\t\t\t\t\tComment: pulumi.String(\"demo\"),\n\t\t\t\t\tName: pulumi.String(\"demo.notexample.com\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tForceDestroy: 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.fastly.ServiceVcl;\nimport com.pulumi.fastly.ServiceVclArgs;\nimport com.pulumi.fastly.inputs.ServiceVclBackendArgs;\nimport com.pulumi.fastly.inputs.ServiceVclDirectorArgs;\nimport com.pulumi.fastly.inputs.ServiceVclDomainArgs;\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 var demo = new ServiceVcl(\"demo\", ServiceVclArgs.builder() \n .backends( \n ServiceVclBackendArgs.builder()\n .address(\"127.0.0.1\")\n .name(\"origin1\")\n .port(80)\n .build(),\n ServiceVclBackendArgs.builder()\n .address(\"127.0.0.2\")\n .name(\"origin2\")\n .port(80)\n .build())\n .directors(ServiceVclDirectorArgs.builder()\n .backends( \n \"origin1\",\n \"origin2\")\n .name(\"mydirector\")\n .quorum(0)\n .type(3)\n .build())\n .domains(ServiceVclDomainArgs.builder()\n .comment(\"demo\")\n .name(\"demo.notexample.com\")\n .build())\n .forceDestroy(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n demo:\n type: fastly:ServiceVcl\n properties:\n backends:\n - address: 127.0.0.1\n name: origin1\n port: 80\n - address: 127.0.0.2\n name: origin2\n port: 80\n directors:\n - backends:\n - origin1\n - origin2\n name: mydirector\n quorum: 0\n type: 3\n domains:\n - comment: demo\n name: demo.notexample.com\n forceDestroy: true\n```\n\nBasic usage with [Web Application Firewall](https://developer.fastly.com/reference/api/waf/):\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as fastly from \"@pulumi/fastly\";\n\nconst demo = new fastly.ServiceVcl(\"demo\", {\n backends: [{\n address: \"127.0.0.1\",\n name: \"origin1\",\n port: 80,\n }],\n conditions: [\n {\n name: \"WAF_Prefetch\",\n statement: \"req.backend.is_origin\",\n type: \"PREFETCH\",\n },\n {\n name: \"WAF_always_false\",\n statement: \"false\",\n type: \"REQUEST\",\n },\n ],\n domains: [{\n comment: \"demo\",\n name: \"example.com\",\n }],\n forceDestroy: true,\n responseObjects: [{\n content: \"\u003chtml\u003e\u003cbody\u003eForbidden\u003c/body\u003e\u003c/html\u003e\",\n contentType: \"text/html\",\n name: \"WAF_Response\",\n requestCondition: \"WAF_always_false\",\n response: \"Forbidden\",\n status: 403,\n }],\n waf: {\n prefetchCondition: \"WAF_Prefetch\",\n responseObject: \"WAF_Response\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_fastly as fastly\n\ndemo = fastly.ServiceVcl(\"demo\",\n backends=[fastly.ServiceVclBackendArgs(\n address=\"127.0.0.1\",\n name=\"origin1\",\n port=80,\n )],\n conditions=[\n fastly.ServiceVclConditionArgs(\n name=\"WAF_Prefetch\",\n statement=\"req.backend.is_origin\",\n type=\"PREFETCH\",\n ),\n fastly.ServiceVclConditionArgs(\n name=\"WAF_always_false\",\n statement=\"false\",\n type=\"REQUEST\",\n ),\n ],\n domains=[fastly.ServiceVclDomainArgs(\n comment=\"demo\",\n name=\"example.com\",\n )],\n force_destroy=True,\n response_objects=[fastly.ServiceVclResponseObjectArgs(\n content=\"\u003chtml\u003e\u003cbody\u003eForbidden\u003c/body\u003e\u003c/html\u003e\",\n content_type=\"text/html\",\n name=\"WAF_Response\",\n request_condition=\"WAF_always_false\",\n response=\"Forbidden\",\n status=403,\n )],\n waf=fastly.ServiceVclWafArgs(\n prefetch_condition=\"WAF_Prefetch\",\n response_object=\"WAF_Response\",\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Fastly = Pulumi.Fastly;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var demo = new Fastly.ServiceVcl(\"demo\", new()\n {\n Backends = new[]\n {\n new Fastly.Inputs.ServiceVclBackendArgs\n {\n Address = \"127.0.0.1\",\n Name = \"origin1\",\n Port = 80,\n },\n },\n Conditions = new[]\n {\n new Fastly.Inputs.ServiceVclConditionArgs\n {\n Name = \"WAF_Prefetch\",\n Statement = \"req.backend.is_origin\",\n Type = \"PREFETCH\",\n },\n new Fastly.Inputs.ServiceVclConditionArgs\n {\n Name = \"WAF_always_false\",\n Statement = \"false\",\n Type = \"REQUEST\",\n },\n },\n Domains = new[]\n {\n new Fastly.Inputs.ServiceVclDomainArgs\n {\n Comment = \"demo\",\n Name = \"example.com\",\n },\n },\n ForceDestroy = true,\n ResponseObjects = new[]\n {\n new Fastly.Inputs.ServiceVclResponseObjectArgs\n {\n Content = \"\u003chtml\u003e\u003cbody\u003eForbidden\u003c/body\u003e\u003c/html\u003e\",\n ContentType = \"text/html\",\n Name = \"WAF_Response\",\n RequestCondition = \"WAF_always_false\",\n Response = \"Forbidden\",\n Status = 403,\n },\n },\n Waf = new Fastly.Inputs.ServiceVclWafArgs\n {\n PrefetchCondition = \"WAF_Prefetch\",\n ResponseObject = \"WAF_Response\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-fastly/sdk/v8/go/fastly\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := fastly.NewServiceVcl(ctx, \"demo\", \u0026fastly.ServiceVclArgs{\n\t\t\tBackends: fastly.ServiceVclBackendArray{\n\t\t\t\t\u0026fastly.ServiceVclBackendArgs{\n\t\t\t\t\tAddress: pulumi.String(\"127.0.0.1\"),\n\t\t\t\t\tName: pulumi.String(\"origin1\"),\n\t\t\t\t\tPort: pulumi.Int(80),\n\t\t\t\t},\n\t\t\t},\n\t\t\tConditions: fastly.ServiceVclConditionArray{\n\t\t\t\t\u0026fastly.ServiceVclConditionArgs{\n\t\t\t\t\tName: pulumi.String(\"WAF_Prefetch\"),\n\t\t\t\t\tStatement: pulumi.String(\"req.backend.is_origin\"),\n\t\t\t\t\tType: pulumi.String(\"PREFETCH\"),\n\t\t\t\t},\n\t\t\t\t\u0026fastly.ServiceVclConditionArgs{\n\t\t\t\t\tName: pulumi.String(\"WAF_always_false\"),\n\t\t\t\t\tStatement: pulumi.String(\"false\"),\n\t\t\t\t\tType: pulumi.String(\"REQUEST\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tDomains: fastly.ServiceVclDomainArray{\n\t\t\t\t\u0026fastly.ServiceVclDomainArgs{\n\t\t\t\t\tComment: pulumi.String(\"demo\"),\n\t\t\t\t\tName: pulumi.String(\"example.com\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tForceDestroy: pulumi.Bool(true),\n\t\t\tResponseObjects: fastly.ServiceVclResponseObjectArray{\n\t\t\t\t\u0026fastly.ServiceVclResponseObjectArgs{\n\t\t\t\t\tContent: pulumi.String(\"\u003chtml\u003e\u003cbody\u003eForbidden\u003c/body\u003e\u003c/html\u003e\"),\n\t\t\t\t\tContentType: pulumi.String(\"text/html\"),\n\t\t\t\t\tName: pulumi.String(\"WAF_Response\"),\n\t\t\t\t\tRequestCondition: pulumi.String(\"WAF_always_false\"),\n\t\t\t\t\tResponse: pulumi.String(\"Forbidden\"),\n\t\t\t\t\tStatus: pulumi.Int(403),\n\t\t\t\t},\n\t\t\t},\n\t\t\tWaf: \u0026fastly.ServiceVclWafArgs{\n\t\t\t\tPrefetchCondition: pulumi.String(\"WAF_Prefetch\"),\n\t\t\t\tResponseObject: pulumi.String(\"WAF_Response\"),\n\t\t\t},\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.fastly.ServiceVcl;\nimport com.pulumi.fastly.ServiceVclArgs;\nimport com.pulumi.fastly.inputs.ServiceVclBackendArgs;\nimport com.pulumi.fastly.inputs.ServiceVclConditionArgs;\nimport com.pulumi.fastly.inputs.ServiceVclDomainArgs;\nimport com.pulumi.fastly.inputs.ServiceVclResponseObjectArgs;\nimport com.pulumi.fastly.inputs.ServiceVclWafArgs;\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 var demo = new ServiceVcl(\"demo\", ServiceVclArgs.builder() \n .backends(ServiceVclBackendArgs.builder()\n .address(\"127.0.0.1\")\n .name(\"origin1\")\n .port(80)\n .build())\n .conditions( \n ServiceVclConditionArgs.builder()\n .name(\"WAF_Prefetch\")\n .statement(\"req.backend.is_origin\")\n .type(\"PREFETCH\")\n .build(),\n ServiceVclConditionArgs.builder()\n .name(\"WAF_always_false\")\n .statement(\"false\")\n .type(\"REQUEST\")\n .build())\n .domains(ServiceVclDomainArgs.builder()\n .comment(\"demo\")\n .name(\"example.com\")\n .build())\n .forceDestroy(true)\n .responseObjects(ServiceVclResponseObjectArgs.builder()\n .content(\"\u003chtml\u003e\u003cbody\u003eForbidden\u003c/body\u003e\u003c/html\u003e\")\n .contentType(\"text/html\")\n .name(\"WAF_Response\")\n .requestCondition(\"WAF_always_false\")\n .response(\"Forbidden\")\n .status(\"403\")\n .build())\n .waf(ServiceVclWafArgs.builder()\n .prefetchCondition(\"WAF_Prefetch\")\n .responseObject(\"WAF_Response\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n demo:\n type: fastly:ServiceVcl\n properties:\n backends:\n - address: 127.0.0.1\n name: origin1\n port: 80\n conditions:\n - name: WAF_Prefetch\n statement: req.backend.is_origin\n type: PREFETCH\n - name: WAF_always_false\n statement: 'false'\n type: REQUEST\n domains:\n - comment: demo\n name: example.com\n forceDestroy: true\n responseObjects:\n - content: \u003chtml\u003e\u003cbody\u003eForbidden\u003c/body\u003e\u003c/html\u003e\n contentType: text/html\n name: WAF_Response\n requestCondition: WAF_always_false\n response: Forbidden\n status: '403'\n waf:\n prefetchCondition: WAF_Prefetch\n responseObject: WAF_Response\n```\n\n\u003e **Note:** For an AWS S3 Bucket, the Backend address is\n`\u003cdomain\u003e.s3-website-\u003cregion\u003e.amazonaws.com`. The `override_host` attribute\nshould be set to `\u003cbucket_name\u003e.s3-website-\u003cregion\u003e.amazonaws.com` in the `backend` block. See the\nFastly documentation on [Amazon S3][fastly-s3].\n\n[fastly-s3]: https://docs.fastly.com/en/guides/amazon-s3\n[fastly-cname]: https://docs.fastly.com/en/guides/adding-cname-records\n[fastly-conditionals]: https://docs.fastly.com/en/guides/using-conditions\n[fastly-sumologic]: https://developer.fastly.com/reference/api/logging/sumologic/\n[fastly-gcs]: https://developer.fastly.com/reference/api/logging/gcs/\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nFastly Services can be imported using their service ID, e.g.\n\n```sh\n $ pulumi import fastly:index/serviceVcl:ServiceVcl demo xxxxxxxxxxxxxxxxxxxx\n```\n\n By default, either the active version will be imported, or the latest version if no version is active. Alternatively, a specific version of the service can be selected by appending an `@` followed by the version number to the service ID, e.g.\n\n```sh\n $ pulumi import fastly:index/serviceVcl:ServiceVcl demo xxxxxxxxxxxxxxxxxxxx@2\n```\n\n ", + "description": "\n\n\n## Import\n\nFastly Services can be imported using their service ID, e.g.\n\n```sh\n $ pulumi import fastly:index/serviceVcl:ServiceVcl demo xxxxxxxxxxxxxxxxxxxx\n```\n\n By default, either the active version will be imported, or the latest version if no version is active. Alternatively, a specific version of the service can be selected by appending an `@` followed by the version number to the service ID, e.g.\n\n```sh\n $ pulumi import fastly:index/serviceVcl:ServiceVcl demo xxxxxxxxxxxxxxxxxxxx@2\n```\n\n ", "properties": { "acls": { "type": "array", diff --git a/provider/go.mod b/provider/go.mod index f4efb66e..4cc8bd97 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -74,7 +74,7 @@ require ( github.com/edsrzf/mmap-go v1.1.0 // indirect github.com/emirpasic/gods v1.18.1 // indirect github.com/ettle/strcase v0.1.1 // indirect - github.com/fastly/go-fastly/v8 v8.6.1 // indirect + github.com/fastly/go-fastly/v8 v8.6.2 // indirect github.com/fatih/color v1.15.0 // indirect github.com/gedex/inflector v0.0.0-20170307190818-16278e9db813 // indirect github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect diff --git a/provider/go.sum b/provider/go.sum index 56b0f93f..f1fe8167 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -1169,8 +1169,8 @@ github.com/evanphx/json-patch v4.9.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLi github.com/evanphx/json-patch v4.11.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= github.com/evanphx/json-patch v4.12.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= github.com/evanphx/json-patch/v5 v5.5.0/go.mod h1:G79N1coSVB93tBe7j6PhzjmR3/2VvlbKOFpnXhI9Bw4= -github.com/fastly/go-fastly/v8 v8.6.1 h1:Hwn6RTHhnaCtafuTeFgXt2IrAPknwqttdj9DTlZ8BSg= -github.com/fastly/go-fastly/v8 v8.6.1/go.mod h1:sC3WMOjQxwXk+gRI68ooTJJsI+/6AMA/4JLvrhNgpVk= +github.com/fastly/go-fastly/v8 v8.6.2 h1:adylZjOIfZFB2itXSmZPY4Yf1zGXv9tDy7W37wCcTWA= +github.com/fastly/go-fastly/v8 v8.6.2/go.mod h1:sC3WMOjQxwXk+gRI68ooTJJsI+/6AMA/4JLvrhNgpVk= github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU= github.com/fatih/color v1.10.0/go.mod h1:ELkj/draVOlAH/xkhN6mQ50Qd0MPOk5AAr3maGEBuJM= diff --git a/sdk/dotnet/Configstore.cs b/sdk/dotnet/Configstore.cs index 28d8b2a9..3f922568 100644 --- a/sdk/dotnet/Configstore.cs +++ b/sdk/dotnet/Configstore.cs @@ -10,9 +10,9 @@ namespace Pulumi.Fastly { /// - /// Provides a container that lets you store data in key-value pairs that are accessible to Compute@Edge services during request processing. + /// Provides a container that lets you store data in key-value pairs that are accessible to Compute services during request processing. /// - /// In order for a Config Store (`fastly.Configstore`) to be accessible to a [Compute@Edge](https://developer.fastly.com/learning/compute/) service you'll first need to define a Compute service (`fastly.ServiceCompute`) in your configuration, and then create a link to the Config Store from within the service using the `resource_link` block (shown in the below examples). + /// In order for a Config Store (`fastly.Configstore`) to be accessible to a [Compute](https://developer.fastly.com/learning/compute/) service you'll first need to define a Compute service (`fastly.ServiceCompute`) in your configuration, and then create a link to the Config Store from within the service using the `resource_link` block (shown in the below examples). /// /// ## Example Usage /// diff --git a/sdk/dotnet/Inputs/ServiceComputeProductEnablementArgs.cs b/sdk/dotnet/Inputs/ServiceComputeProductEnablementArgs.cs index 47894c72..78e197f4 100644 --- a/sdk/dotnet/Inputs/ServiceComputeProductEnablementArgs.cs +++ b/sdk/dotnet/Inputs/ServiceComputeProductEnablementArgs.cs @@ -19,7 +19,7 @@ public sealed class ServiceComputeProductEnablementArgs : global::Pulumi.Resourc public Input? Fanout { get; set; } /// - /// Used internally by the provider to identify modified settings + /// Used by the provider to identify modified settings (changing this value will force the entire block to be deleted, then recreated) /// [Input("name")] public Input? Name { get; set; } diff --git a/sdk/dotnet/Inputs/ServiceComputeProductEnablementGetArgs.cs b/sdk/dotnet/Inputs/ServiceComputeProductEnablementGetArgs.cs index fee8474c..35faf3ed 100644 --- a/sdk/dotnet/Inputs/ServiceComputeProductEnablementGetArgs.cs +++ b/sdk/dotnet/Inputs/ServiceComputeProductEnablementGetArgs.cs @@ -19,7 +19,7 @@ public sealed class ServiceComputeProductEnablementGetArgs : global::Pulumi.Reso public Input? Fanout { get; set; } /// - /// Used internally by the provider to identify modified settings + /// Used by the provider to identify modified settings (changing this value will force the entire block to be deleted, then recreated) /// [Input("name")] public Input? Name { get; set; } diff --git a/sdk/dotnet/Inputs/ServiceVclProductEnablementArgs.cs b/sdk/dotnet/Inputs/ServiceVclProductEnablementArgs.cs index 830776b9..315a33de 100644 --- a/sdk/dotnet/Inputs/ServiceVclProductEnablementArgs.cs +++ b/sdk/dotnet/Inputs/ServiceVclProductEnablementArgs.cs @@ -31,7 +31,7 @@ public sealed class ServiceVclProductEnablementArgs : global::Pulumi.ResourceArg public Input? ImageOptimizer { get; set; } /// - /// Used internally by the provider to identify modified settings + /// Used by the provider to identify modified settings (changing this value will force the entire block to be deleted, then recreated) /// [Input("name")] public Input? Name { get; set; } diff --git a/sdk/dotnet/Inputs/ServiceVclProductEnablementGetArgs.cs b/sdk/dotnet/Inputs/ServiceVclProductEnablementGetArgs.cs index 22ae1187..ba707901 100644 --- a/sdk/dotnet/Inputs/ServiceVclProductEnablementGetArgs.cs +++ b/sdk/dotnet/Inputs/ServiceVclProductEnablementGetArgs.cs @@ -31,7 +31,7 @@ public sealed class ServiceVclProductEnablementGetArgs : global::Pulumi.Resource public Input? ImageOptimizer { get; set; } /// - /// Used internally by the provider to identify modified settings + /// Used by the provider to identify modified settings (changing this value will force the entire block to be deleted, then recreated) /// [Input("name")] public Input? Name { get; set; } diff --git a/sdk/dotnet/Outputs/ServiceComputeProductEnablement.cs b/sdk/dotnet/Outputs/ServiceComputeProductEnablement.cs index a83b542b..c095aa4f 100644 --- a/sdk/dotnet/Outputs/ServiceComputeProductEnablement.cs +++ b/sdk/dotnet/Outputs/ServiceComputeProductEnablement.cs @@ -18,7 +18,7 @@ public sealed class ServiceComputeProductEnablement /// public readonly bool? Fanout; /// - /// Used internally by the provider to identify modified settings + /// Used by the provider to identify modified settings (changing this value will force the entire block to be deleted, then recreated) /// public readonly string? Name; /// diff --git a/sdk/dotnet/Outputs/ServiceVclProductEnablement.cs b/sdk/dotnet/Outputs/ServiceVclProductEnablement.cs index 179e2a67..aa8d269b 100644 --- a/sdk/dotnet/Outputs/ServiceVclProductEnablement.cs +++ b/sdk/dotnet/Outputs/ServiceVclProductEnablement.cs @@ -26,7 +26,7 @@ public sealed class ServiceVclProductEnablement /// public readonly bool? ImageOptimizer; /// - /// Used internally by the provider to identify modified settings + /// Used by the provider to identify modified settings (changing this value will force the entire block to be deleted, then recreated) /// public readonly string? Name; /// diff --git a/sdk/dotnet/ServiceCompute.cs b/sdk/dotnet/ServiceCompute.cs index 470cb757..ac3689ea 100644 --- a/sdk/dotnet/ServiceCompute.cs +++ b/sdk/dotnet/ServiceCompute.cs @@ -168,7 +168,7 @@ public partial class ServiceCompute : global::Pulumi.CustomResource public Output Name { get; private set; } = null!; /// - /// The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute@Edge service (if omitted, ensure `activate = false` is set on `fastly.ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute@Edge](https://developer.fastly.com/learning/compute/) + /// The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute service (if omitted, ensure `activate = false` is set on `fastly.ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute](https://developer.fastly.com/learning/compute/) /// [Output("package")] public Output Package { get; private set; } = null!; @@ -503,7 +503,7 @@ public InputList LoggingSyslogs public Input? Name { get; set; } /// - /// The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute@Edge service (if omitted, ensure `activate = false` is set on `fastly.ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute@Edge](https://developer.fastly.com/learning/compute/) + /// The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute service (if omitted, ensure `activate = false` is set on `fastly.ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute](https://developer.fastly.com/learning/compute/) /// [Input("package")] public Input? Package { get; set; } @@ -832,7 +832,7 @@ public InputList LoggingSyslogs public Input? Name { get; set; } /// - /// The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute@Edge service (if omitted, ensure `activate = false` is set on `fastly.ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute@Edge](https://developer.fastly.com/learning/compute/) + /// The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute service (if omitted, ensure `activate = false` is set on `fastly.ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute](https://developer.fastly.com/learning/compute/) /// [Input("package")] public Input? Package { get; set; } diff --git a/sdk/dotnet/ServiceVcl.cs b/sdk/dotnet/ServiceVcl.cs index 1d5e70bb..043fb07d 100644 --- a/sdk/dotnet/ServiceVcl.cs +++ b/sdk/dotnet/ServiceVcl.cs @@ -10,14 +10,6 @@ namespace Pulumi.Fastly { /// - /// Provides a Fastly Service, representing the configuration for a website, app, - /// API, or anything else to be served through Fastly. A Service encompasses Domains - /// and Backends. - /// - /// The Service resource requires a domain name that is correctly set up to direct - /// traffic to the Fastly service. See Fastly's guide on [Adding CNAME Records][fastly-cname] - /// on their documentation site for guidance. - /// /// ## Import /// /// Fastly Services can be imported using their service ID, e.g. diff --git a/sdk/go/fastly/configstore.go b/sdk/go/fastly/configstore.go index 7f770320..7130c08d 100644 --- a/sdk/go/fastly/configstore.go +++ b/sdk/go/fastly/configstore.go @@ -12,9 +12,9 @@ import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) -// Provides a container that lets you store data in key-value pairs that are accessible to Compute@Edge services during request processing. +// Provides a container that lets you store data in key-value pairs that are accessible to Compute services during request processing. // -// In order for a Config Store (`Configstore`) to be accessible to a [Compute@Edge](https://developer.fastly.com/learning/compute/) service you'll first need to define a Compute service (`ServiceCompute`) in your configuration, and then create a link to the Config Store from within the service using the `resourceLink` block (shown in the below examples). +// In order for a Config Store (`Configstore`) to be accessible to a [Compute](https://developer.fastly.com/learning/compute/) service you'll first need to define a Compute service (`ServiceCompute`) in your configuration, and then create a link to the Config Store from within the service using the `resourceLink` block (shown in the below examples). // // ## Example Usage // diff --git a/sdk/go/fastly/pulumiTypes.go b/sdk/go/fastly/pulumiTypes.go index f0e63074..6b879dc5 100644 --- a/sdk/go/fastly/pulumiTypes.go +++ b/sdk/go/fastly/pulumiTypes.go @@ -5805,7 +5805,7 @@ func (o ServiceComputePackagePtrOutput) SourceCodeHash() pulumi.StringPtrOutput type ServiceComputeProductEnablement struct { // Enable Fanout support Fanout *bool `pulumi:"fanout"` - // Used internally by the provider to identify modified settings + // Used by the provider to identify modified settings (changing this value will force the entire block to be deleted, then recreated) Name *string `pulumi:"name"` // Enable WebSockets support Websockets *bool `pulumi:"websockets"` @@ -5825,7 +5825,7 @@ type ServiceComputeProductEnablementInput interface { type ServiceComputeProductEnablementArgs struct { // Enable Fanout support Fanout pulumi.BoolPtrInput `pulumi:"fanout"` - // Used internally by the provider to identify modified settings + // Used by the provider to identify modified settings (changing this value will force the entire block to be deleted, then recreated) Name pulumi.StringPtrInput `pulumi:"name"` // Enable WebSockets support Websockets pulumi.BoolPtrInput `pulumi:"websockets"` @@ -5931,7 +5931,7 @@ func (o ServiceComputeProductEnablementOutput) Fanout() pulumi.BoolPtrOutput { return o.ApplyT(func(v ServiceComputeProductEnablement) *bool { return v.Fanout }).(pulumi.BoolPtrOutput) } -// Used internally by the provider to identify modified settings +// Used by the provider to identify modified settings (changing this value will force the entire block to be deleted, then recreated) func (o ServiceComputeProductEnablementOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v ServiceComputeProductEnablement) *string { return v.Name }).(pulumi.StringPtrOutput) } @@ -5981,7 +5981,7 @@ func (o ServiceComputeProductEnablementPtrOutput) Fanout() pulumi.BoolPtrOutput }).(pulumi.BoolPtrOutput) } -// Used internally by the provider to identify modified settings +// Used by the provider to identify modified settings (changing this value will force the entire block to be deleted, then recreated) func (o ServiceComputeProductEnablementPtrOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v *ServiceComputeProductEnablement) *string { if v == nil { @@ -13888,7 +13888,7 @@ type ServiceVclProductEnablement struct { DomainInspector *bool `pulumi:"domainInspector"` // Enable Image Optimizer support (requires at least one backend with a `shield` attribute) ImageOptimizer *bool `pulumi:"imageOptimizer"` - // Used internally by the provider to identify modified settings + // Used by the provider to identify modified settings (changing this value will force the entire block to be deleted, then recreated) Name *string `pulumi:"name"` // Enable Origin Inspector support OriginInspector *bool `pulumi:"originInspector"` @@ -13914,7 +13914,7 @@ type ServiceVclProductEnablementArgs struct { DomainInspector pulumi.BoolPtrInput `pulumi:"domainInspector"` // Enable Image Optimizer support (requires at least one backend with a `shield` attribute) ImageOptimizer pulumi.BoolPtrInput `pulumi:"imageOptimizer"` - // Used internally by the provider to identify modified settings + // Used by the provider to identify modified settings (changing this value will force the entire block to be deleted, then recreated) Name pulumi.StringPtrInput `pulumi:"name"` // Enable Origin Inspector support OriginInspector pulumi.BoolPtrInput `pulumi:"originInspector"` @@ -14032,7 +14032,7 @@ func (o ServiceVclProductEnablementOutput) ImageOptimizer() pulumi.BoolPtrOutput return o.ApplyT(func(v ServiceVclProductEnablement) *bool { return v.ImageOptimizer }).(pulumi.BoolPtrOutput) } -// Used internally by the provider to identify modified settings +// Used by the provider to identify modified settings (changing this value will force the entire block to be deleted, then recreated) func (o ServiceVclProductEnablementOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v ServiceVclProductEnablement) *string { return v.Name }).(pulumi.StringPtrOutput) } @@ -14107,7 +14107,7 @@ func (o ServiceVclProductEnablementPtrOutput) ImageOptimizer() pulumi.BoolPtrOut }).(pulumi.BoolPtrOutput) } -// Used internally by the provider to identify modified settings +// Used by the provider to identify modified settings (changing this value will force the entire block to be deleted, then recreated) func (o ServiceVclProductEnablementPtrOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v *ServiceVclProductEnablement) *string { if v == nil { diff --git a/sdk/go/fastly/serviceCompute.go b/sdk/go/fastly/serviceCompute.go index f5cab5d4..ef011913 100644 --- a/sdk/go/fastly/serviceCompute.go +++ b/sdk/go/fastly/serviceCompute.go @@ -81,7 +81,7 @@ type ServiceCompute struct { LoggingSyslogs ServiceComputeLoggingSyslogArrayOutput `pulumi:"loggingSyslogs"` // Name for this Backend. Must be unique to this Service. It is important to note that changing this attribute will delete and recreate the resource Name pulumi.StringOutput `pulumi:"name"` - // The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute@Edge service (if omitted, ensure `activate = false` is set on `ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute@Edge](https://developer.fastly.com/learning/compute/) + // The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute service (if omitted, ensure `activate = false` is set on `ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute](https://developer.fastly.com/learning/compute/) Package ServiceComputePackagePtrOutput `pulumi:"package"` ProductEnablement ServiceComputeProductEnablementPtrOutput `pulumi:"productEnablement"` // A resource link represents a link between a shared resource (such as an KV Store or Config Store) and a service version. @@ -175,7 +175,7 @@ type serviceComputeState struct { LoggingSyslogs []ServiceComputeLoggingSyslog `pulumi:"loggingSyslogs"` // Name for this Backend. Must be unique to this Service. It is important to note that changing this attribute will delete and recreate the resource Name *string `pulumi:"name"` - // The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute@Edge service (if omitted, ensure `activate = false` is set on `ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute@Edge](https://developer.fastly.com/learning/compute/) + // The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute service (if omitted, ensure `activate = false` is set on `ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute](https://developer.fastly.com/learning/compute/) Package *ServiceComputePackage `pulumi:"package"` ProductEnablement *ServiceComputeProductEnablement `pulumi:"productEnablement"` // A resource link represents a link between a shared resource (such as an KV Store or Config Store) and a service version. @@ -237,7 +237,7 @@ type ServiceComputeState struct { LoggingSyslogs ServiceComputeLoggingSyslogArrayInput // Name for this Backend. Must be unique to this Service. It is important to note that changing this attribute will delete and recreate the resource Name pulumi.StringPtrInput - // The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute@Edge service (if omitted, ensure `activate = false` is set on `ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute@Edge](https://developer.fastly.com/learning/compute/) + // The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute service (if omitted, ensure `activate = false` is set on `ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute](https://developer.fastly.com/learning/compute/) Package ServiceComputePackagePtrInput ProductEnablement ServiceComputeProductEnablementPtrInput // A resource link represents a link between a shared resource (such as an KV Store or Config Store) and a service version. @@ -293,7 +293,7 @@ type serviceComputeArgs struct { LoggingSyslogs []ServiceComputeLoggingSyslog `pulumi:"loggingSyslogs"` // Name for this Backend. Must be unique to this Service. It is important to note that changing this attribute will delete and recreate the resource Name *string `pulumi:"name"` - // The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute@Edge service (if omitted, ensure `activate = false` is set on `ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute@Edge](https://developer.fastly.com/learning/compute/) + // The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute service (if omitted, ensure `activate = false` is set on `ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute](https://developer.fastly.com/learning/compute/) Package *ServiceComputePackage `pulumi:"package"` ProductEnablement *ServiceComputeProductEnablement `pulumi:"productEnablement"` // A resource link represents a link between a shared resource (such as an KV Store or Config Store) and a service version. @@ -346,7 +346,7 @@ type ServiceComputeArgs struct { LoggingSyslogs ServiceComputeLoggingSyslogArrayInput // Name for this Backend. Must be unique to this Service. It is important to note that changing this attribute will delete and recreate the resource Name pulumi.StringPtrInput - // The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute@Edge service (if omitted, ensure `activate = false` is set on `ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute@Edge](https://developer.fastly.com/learning/compute/) + // The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute service (if omitted, ensure `activate = false` is set on `ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute](https://developer.fastly.com/learning/compute/) Package ServiceComputePackagePtrInput ProductEnablement ServiceComputeProductEnablementPtrInput // A resource link represents a link between a shared resource (such as an KV Store or Config Store) and a service version. @@ -629,7 +629,7 @@ func (o ServiceComputeOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *ServiceCompute) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) } -// The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute@Edge service (if omitted, ensure `activate = false` is set on `ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute@Edge](https://developer.fastly.com/learning/compute/) +// The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute service (if omitted, ensure `activate = false` is set on `ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute](https://developer.fastly.com/learning/compute/) func (o ServiceComputeOutput) Package() ServiceComputePackagePtrOutput { return o.ApplyT(func(v *ServiceCompute) ServiceComputePackagePtrOutput { return v.Package }).(ServiceComputePackagePtrOutput) } diff --git a/sdk/go/fastly/serviceVcl.go b/sdk/go/fastly/serviceVcl.go index 975243f6..bd93ea09 100644 --- a/sdk/go/fastly/serviceVcl.go +++ b/sdk/go/fastly/serviceVcl.go @@ -13,14 +13,6 @@ import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) -// Provides a Fastly Service, representing the configuration for a website, app, -// API, or anything else to be served through Fastly. A Service encompasses Domains -// and Backends. -// -// The Service resource requires a domain name that is correctly set up to direct -// traffic to the Fastly service. See Fastly's guide on [Adding CNAME Records][fastly-cname] -// on their documentation site for guidance. -// // ## Import // // Fastly Services can be imported using their service ID, e.g. diff --git a/sdk/java/build.gradle b/sdk/java/build.gradle index 06fb86af..6db4b01c 100644 --- a/sdk/java/build.gradle +++ b/sdk/java/build.gradle @@ -29,7 +29,8 @@ java { compileJava { options.fork = true - options.forkOptions.jvmArgs.addAll(["-Xmx4g"]) + options.forkOptions.jvmArgs.addAll(["-Xmx16g"]) + options.encoding = "UTF-8" } repositories { @@ -43,17 +44,18 @@ repositories { dependencies { implementation("com.google.code.findbugs:jsr305:3.0.2") implementation("com.google.code.gson:gson:2.8.9") - implementation("com.pulumi:pulumi:0.5.4") + implementation("com.pulumi:pulumi:0.9.8") } task sourcesJar(type: Jar) { from sourceSets.main.allJava - classifier = 'sources' + archiveClassifier.set('sources') } task javadocJar(type: Jar) { from javadoc - classifier = 'javadoc' + archiveClassifier.set('javadoc') + zip64 = true } def genPulumiResources = tasks.register('genPulumiResources') { @@ -123,7 +125,11 @@ javadoc { if (JavaVersion.current().isJava9Compatible()) { options.addBooleanOption('html5', true) } - options.jFlags("-Xmx2g", "-Xms512m") + options.jFlags("-Xmx8g", "-Xms512m") +} + +jar { + zip64 = true } if (publishRepoUsername) { @@ -144,4 +150,4 @@ if (signingKey) { useInMemoryPgpKeys(signingKey, signingPassword) sign publishing.publications.mainPublication } -} +} \ No newline at end of file diff --git a/sdk/java/src/main/java/com/pulumi/fastly/Configstore.java b/sdk/java/src/main/java/com/pulumi/fastly/Configstore.java index 5f2e611f..22b0063f 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/Configstore.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/Configstore.java @@ -16,9 +16,9 @@ import javax.annotation.Nullable; /** - * Provides a container that lets you store data in key-value pairs that are accessible to Compute@Edge services during request processing. + * Provides a container that lets you store data in key-value pairs that are accessible to Compute services during request processing. * - * In order for a Config Store (`fastly.Configstore`) to be accessible to a [Compute@Edge](https://developer.fastly.com/learning/compute/) service you'll first need to define a Compute service (`fastly.ServiceCompute`) in your configuration, and then create a link to the Config Store from within the service using the `resource_link` block (shown in the below examples). + * In order for a Config Store (`fastly.Configstore`) to be accessible to a [Compute](https://developer.fastly.com/learning/compute/) service you'll first need to define a Compute service (`fastly.ServiceCompute`) in your configuration, and then create a link to the Config Store from within the service using the `resource_link` block (shown in the below examples). * * ## Example Usage * @@ -90,7 +90,7 @@ public class Configstore extends com.pulumi.resources.CustomResource { * Allow the Config Store to be deleted, even if it contains entries. Defaults to false. * */ - @Export(name="forceDestroy", type=Boolean.class, parameters={}) + @Export(name="forceDestroy", refs={Boolean.class}, tree="[0]") private Output forceDestroy; /** @@ -104,7 +104,7 @@ public Output> forceDestroy() { * A unique name to identify the Config Store. It is important to note that changing this attribute will delete and recreate the Config Store, and discard the current entries. You MUST first delete the associated resource_link block from your service before modifying this field. * */ - @Export(name="name", type=String.class, parameters={}) + @Export(name="name", refs={String.class}, tree="[0]") private Output name; /** diff --git a/sdk/java/src/main/java/com/pulumi/fastly/ConfigstoreEntries.java b/sdk/java/src/main/java/com/pulumi/fastly/ConfigstoreEntries.java index 37bea3b0..ec46a9ea 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/ConfigstoreEntries.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/ConfigstoreEntries.java @@ -33,7 +33,7 @@ public class ConfigstoreEntries extends com.pulumi.resources.CustomResource { * A map representing an entry in the Config Store, (key/value) * */ - @Export(name="entries", type=Map.class, parameters={String.class, Object.class}) + @Export(name="entries", refs={Map.class,String.class,Object.class}, tree="[0,1,2]") private Output> entries; /** @@ -48,7 +48,7 @@ public Output> entries() { * externally from the config seeded values. * */ - @Export(name="manageEntries", type=Boolean.class, parameters={}) + @Export(name="manageEntries", refs={Boolean.class}, tree="[0]") private Output manageEntries; /** @@ -63,7 +63,7 @@ public Output> manageEntries() { * An alphanumeric string identifying the Config Store. * */ - @Export(name="storeId", type=String.class, parameters={}) + @Export(name="storeId", refs={String.class}, tree="[0]") private Output storeId; /** diff --git a/sdk/java/src/main/java/com/pulumi/fastly/Kvstore.java b/sdk/java/src/main/java/com/pulumi/fastly/Kvstore.java index 284bb698..a57f2584 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/Kvstore.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/Kvstore.java @@ -86,7 +86,7 @@ public class Kvstore extends com.pulumi.resources.CustomResource { * Allow the KV Store to be deleted, even if it contains entries. Defaults to false. * */ - @Export(name="forceDestroy", type=Boolean.class, parameters={}) + @Export(name="forceDestroy", refs={Boolean.class}, tree="[0]") private Output forceDestroy; /** @@ -100,7 +100,7 @@ public Output> forceDestroy() { * A unique name to identify the KV Store. It is important to note that changing this attribute will delete and recreate the KV Store, and discard the current entries. You MUST first delete the associated resource_link block from your service before modifying this field. * */ - @Export(name="name", type=String.class, parameters={}) + @Export(name="name", refs={String.class}, tree="[0]") private Output name; /** diff --git a/sdk/java/src/main/java/com/pulumi/fastly/Provider.java b/sdk/java/src/main/java/com/pulumi/fastly/Provider.java index c89ccd39..b41be460 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/Provider.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/Provider.java @@ -26,7 +26,7 @@ public class Provider extends com.pulumi.resources.ProviderResource { * Fastly API Key from https://app.fastly.com/#account * */ - @Export(name="apiKey", type=String.class, parameters={}) + @Export(name="apiKey", refs={String.class}, tree="[0]") private Output apiKey; /** @@ -40,7 +40,7 @@ public Output> apiKey() { * Fastly API URL * */ - @Export(name="baseUrl", type=String.class, parameters={}) + @Export(name="baseUrl", refs={String.class}, tree="[0]") private Output baseUrl; /** diff --git a/sdk/java/src/main/java/com/pulumi/fastly/Secretstore.java b/sdk/java/src/main/java/com/pulumi/fastly/Secretstore.java index 9b461a83..f7f375f9 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/Secretstore.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/Secretstore.java @@ -84,7 +84,7 @@ public class Secretstore extends com.pulumi.resources.CustomResource { * A human-readable name for the Secret Store. The value must contain only letters, numbers, dashes (-), underscores (*), or periods (.). It is important to note that changing this attribute will delete and recreate the Secret Store, and discard the current entries. You MUST first delete the associated resource*link block from your service before modifying this field. * */ - @Export(name="name", type=String.class, parameters={}) + @Export(name="name", refs={String.class}, tree="[0]") private Output name; /** diff --git a/sdk/java/src/main/java/com/pulumi/fastly/ServiceACLEntries.java b/sdk/java/src/main/java/com/pulumi/fastly/ServiceACLEntries.java index 3d5f5d54..cac14476 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/ServiceACLEntries.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/ServiceACLEntries.java @@ -35,7 +35,7 @@ public class ServiceACLEntries extends com.pulumi.resources.CustomResource { * The ID of the ACL that the items belong to * */ - @Export(name="aclId", type=String.class, parameters={}) + @Export(name="aclId", refs={String.class}, tree="[0]") private Output aclId; /** @@ -49,7 +49,7 @@ public Output aclId() { * ACL Entries * */ - @Export(name="entries", type=List.class, parameters={ServiceACLEntriesEntry.class}) + @Export(name="entries", refs={List.class,ServiceACLEntriesEntry.class}, tree="[0,1]") private Output> entries; /** @@ -63,7 +63,7 @@ public Output>> entries() { * Whether to reapply changes if the state of the entries drifts, i.e. if entries are managed externally * */ - @Export(name="manageEntries", type=Boolean.class, parameters={}) + @Export(name="manageEntries", refs={Boolean.class}, tree="[0]") private Output manageEntries; /** @@ -77,7 +77,7 @@ public Output> manageEntries() { * The ID of the Service that the ACL belongs to * */ - @Export(name="serviceId", type=String.class, parameters={}) + @Export(name="serviceId", refs={String.class}, tree="[0]") private Output serviceId; /** diff --git a/sdk/java/src/main/java/com/pulumi/fastly/ServiceAuthorization.java b/sdk/java/src/main/java/com/pulumi/fastly/ServiceAuthorization.java index 34c8267d..b5b4b450 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/ServiceAuthorization.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/ServiceAuthorization.java @@ -73,7 +73,7 @@ public class ServiceAuthorization extends com.pulumi.resources.CustomResource { * The permissions to grant the user. Can be `full`, `read_only`, `purge_select` or `purge_all`. * */ - @Export(name="permission", type=String.class, parameters={}) + @Export(name="permission", refs={String.class}, tree="[0]") private Output permission; /** @@ -87,7 +87,7 @@ public Output permission() { * The ID of the service to grant permissions for. * */ - @Export(name="serviceId", type=String.class, parameters={}) + @Export(name="serviceId", refs={String.class}, tree="[0]") private Output serviceId; /** @@ -101,7 +101,7 @@ public Output serviceId() { * The ID of the user which will receive the granted permissions. * */ - @Export(name="userId", type=String.class, parameters={}) + @Export(name="userId", refs={String.class}, tree="[0]") private Output userId; /** diff --git a/sdk/java/src/main/java/com/pulumi/fastly/ServiceCompute.java b/sdk/java/src/main/java/com/pulumi/fastly/ServiceCompute.java index 4e5eefc3..f1edbe2b 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/ServiceCompute.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/ServiceCompute.java @@ -71,7 +71,7 @@ public class ServiceCompute extends com.pulumi.resources.CustomResource { * Conditionally prevents the Service from being activated. The apply step will continue to create a new draft version but will not activate it if this is set to `false`. Default `true` * */ - @Export(name="activate", type=Boolean.class, parameters={}) + @Export(name="activate", refs={Boolean.class}, tree="[0]") private Output activate; /** @@ -85,7 +85,7 @@ public Output> activate() { * The currently active version of your Fastly Service * */ - @Export(name="activeVersion", type=Integer.class, parameters={}) + @Export(name="activeVersion", refs={Integer.class}, tree="[0]") private Output activeVersion; /** @@ -95,7 +95,7 @@ public Output> activate() { public Output activeVersion() { return this.activeVersion; } - @Export(name="backends", type=List.class, parameters={ServiceComputeBackend.class}) + @Export(name="backends", refs={List.class,ServiceComputeBackend.class}, tree="[0,1]") private Output> backends; public Output>> backends() { @@ -105,7 +105,7 @@ public Output>> backends() { * The latest cloned version by the provider * */ - @Export(name="clonedVersion", type=Integer.class, parameters={}) + @Export(name="clonedVersion", refs={Integer.class}, tree="[0]") private Output clonedVersion; /** @@ -119,7 +119,7 @@ public Output clonedVersion() { * An optional comment about the Domain. * */ - @Export(name="comment", type=String.class, parameters={}) + @Export(name="comment", refs={String.class}, tree="[0]") private Output comment; /** @@ -129,7 +129,7 @@ public Output clonedVersion() { public Output> comment() { return Codegen.optional(this.comment); } - @Export(name="dictionaries", type=List.class, parameters={ServiceComputeDictionary.class}) + @Export(name="dictionaries", refs={List.class,ServiceComputeDictionary.class}, tree="[0,1]") private Output> dictionaries; public Output>> dictionaries() { @@ -139,7 +139,7 @@ public Output>> dictionaries() { * The domain of the DigitalOcean Spaces endpoint (default `nyc3.digitaloceanspaces.com`) * */ - @Export(name="domains", type=List.class, parameters={ServiceComputeDomain.class}) + @Export(name="domains", refs={List.class,ServiceComputeDomain.class}, tree="[0,1]") private Output> domains; /** @@ -153,7 +153,7 @@ public Output> domains() { * Allow the dictionary to be deleted, even if it contains entries. Defaults to false. * */ - @Export(name="forceDestroy", type=Boolean.class, parameters={}) + @Export(name="forceDestroy", refs={Boolean.class}, tree="[0]") private Output forceDestroy; /** @@ -169,7 +169,7 @@ public Output> forceDestroy() { * UI) and the provider needs to resync the state for a different active version (this is only if `activate` is `true`). * */ - @Export(name="forceRefresh", type=Boolean.class, parameters={}) + @Export(name="forceRefresh", refs={Boolean.class}, tree="[0]") private Output forceRefresh; /** @@ -185,7 +185,7 @@ public Output forceRefresh() { * Used internally by the provider to temporarily indicate if the service is being imported, and is reset to false once the import is finished * */ - @Export(name="imported", type=Boolean.class, parameters={}) + @Export(name="imported", refs={Boolean.class}, tree="[0]") private Output imported; /** @@ -195,157 +195,157 @@ public Output forceRefresh() { public Output imported() { return this.imported; } - @Export(name="loggingBigqueries", type=List.class, parameters={ServiceComputeLoggingBigquery.class}) + @Export(name="loggingBigqueries", refs={List.class,ServiceComputeLoggingBigquery.class}, tree="[0,1]") private Output> loggingBigqueries; public Output>> loggingBigqueries() { return Codegen.optional(this.loggingBigqueries); } - @Export(name="loggingBlobstorages", type=List.class, parameters={ServiceComputeLoggingBlobstorage.class}) + @Export(name="loggingBlobstorages", refs={List.class,ServiceComputeLoggingBlobstorage.class}, tree="[0,1]") private Output> loggingBlobstorages; public Output>> loggingBlobstorages() { return Codegen.optional(this.loggingBlobstorages); } - @Export(name="loggingCloudfiles", type=List.class, parameters={ServiceComputeLoggingCloudfile.class}) + @Export(name="loggingCloudfiles", refs={List.class,ServiceComputeLoggingCloudfile.class}, tree="[0,1]") private Output> loggingCloudfiles; public Output>> loggingCloudfiles() { return Codegen.optional(this.loggingCloudfiles); } - @Export(name="loggingDatadogs", type=List.class, parameters={ServiceComputeLoggingDatadog.class}) + @Export(name="loggingDatadogs", refs={List.class,ServiceComputeLoggingDatadog.class}, tree="[0,1]") private Output> loggingDatadogs; public Output>> loggingDatadogs() { return Codegen.optional(this.loggingDatadogs); } - @Export(name="loggingDigitaloceans", type=List.class, parameters={ServiceComputeLoggingDigitalocean.class}) + @Export(name="loggingDigitaloceans", refs={List.class,ServiceComputeLoggingDigitalocean.class}, tree="[0,1]") private Output> loggingDigitaloceans; public Output>> loggingDigitaloceans() { return Codegen.optional(this.loggingDigitaloceans); } - @Export(name="loggingElasticsearches", type=List.class, parameters={ServiceComputeLoggingElasticsearch.class}) + @Export(name="loggingElasticsearches", refs={List.class,ServiceComputeLoggingElasticsearch.class}, tree="[0,1]") private Output> loggingElasticsearches; public Output>> loggingElasticsearches() { return Codegen.optional(this.loggingElasticsearches); } - @Export(name="loggingFtps", type=List.class, parameters={ServiceComputeLoggingFtp.class}) + @Export(name="loggingFtps", refs={List.class,ServiceComputeLoggingFtp.class}, tree="[0,1]") private Output> loggingFtps; public Output>> loggingFtps() { return Codegen.optional(this.loggingFtps); } - @Export(name="loggingGcs", type=List.class, parameters={ServiceComputeLoggingGc.class}) + @Export(name="loggingGcs", refs={List.class,ServiceComputeLoggingGc.class}, tree="[0,1]") private Output> loggingGcs; public Output>> loggingGcs() { return Codegen.optional(this.loggingGcs); } - @Export(name="loggingGooglepubsubs", type=List.class, parameters={ServiceComputeLoggingGooglepubsub.class}) + @Export(name="loggingGooglepubsubs", refs={List.class,ServiceComputeLoggingGooglepubsub.class}, tree="[0,1]") private Output> loggingGooglepubsubs; public Output>> loggingGooglepubsubs() { return Codegen.optional(this.loggingGooglepubsubs); } - @Export(name="loggingHeroku", type=List.class, parameters={ServiceComputeLoggingHeroku.class}) + @Export(name="loggingHeroku", refs={List.class,ServiceComputeLoggingHeroku.class}, tree="[0,1]") private Output> loggingHeroku; public Output>> loggingHeroku() { return Codegen.optional(this.loggingHeroku); } - @Export(name="loggingHoneycombs", type=List.class, parameters={ServiceComputeLoggingHoneycomb.class}) + @Export(name="loggingHoneycombs", refs={List.class,ServiceComputeLoggingHoneycomb.class}, tree="[0,1]") private Output> loggingHoneycombs; public Output>> loggingHoneycombs() { return Codegen.optional(this.loggingHoneycombs); } - @Export(name="loggingHttps", type=List.class, parameters={ServiceComputeLoggingHttp.class}) + @Export(name="loggingHttps", refs={List.class,ServiceComputeLoggingHttp.class}, tree="[0,1]") private Output> loggingHttps; public Output>> loggingHttps() { return Codegen.optional(this.loggingHttps); } - @Export(name="loggingKafkas", type=List.class, parameters={ServiceComputeLoggingKafka.class}) + @Export(name="loggingKafkas", refs={List.class,ServiceComputeLoggingKafka.class}, tree="[0,1]") private Output> loggingKafkas; public Output>> loggingKafkas() { return Codegen.optional(this.loggingKafkas); } - @Export(name="loggingKineses", type=List.class, parameters={ServiceComputeLoggingKinese.class}) + @Export(name="loggingKineses", refs={List.class,ServiceComputeLoggingKinese.class}, tree="[0,1]") private Output> loggingKineses; public Output>> loggingKineses() { return Codegen.optional(this.loggingKineses); } - @Export(name="loggingLogentries", type=List.class, parameters={ServiceComputeLoggingLogentry.class}) + @Export(name="loggingLogentries", refs={List.class,ServiceComputeLoggingLogentry.class}, tree="[0,1]") private Output> loggingLogentries; public Output>> loggingLogentries() { return Codegen.optional(this.loggingLogentries); } - @Export(name="loggingLogglies", type=List.class, parameters={ServiceComputeLoggingLoggly.class}) + @Export(name="loggingLogglies", refs={List.class,ServiceComputeLoggingLoggly.class}, tree="[0,1]") private Output> loggingLogglies; public Output>> loggingLogglies() { return Codegen.optional(this.loggingLogglies); } - @Export(name="loggingLogshuttles", type=List.class, parameters={ServiceComputeLoggingLogshuttle.class}) + @Export(name="loggingLogshuttles", refs={List.class,ServiceComputeLoggingLogshuttle.class}, tree="[0,1]") private Output> loggingLogshuttles; public Output>> loggingLogshuttles() { return Codegen.optional(this.loggingLogshuttles); } - @Export(name="loggingNewrelics", type=List.class, parameters={ServiceComputeLoggingNewrelic.class}) + @Export(name="loggingNewrelics", refs={List.class,ServiceComputeLoggingNewrelic.class}, tree="[0,1]") private Output> loggingNewrelics; public Output>> loggingNewrelics() { return Codegen.optional(this.loggingNewrelics); } - @Export(name="loggingOpenstacks", type=List.class, parameters={ServiceComputeLoggingOpenstack.class}) + @Export(name="loggingOpenstacks", refs={List.class,ServiceComputeLoggingOpenstack.class}, tree="[0,1]") private Output> loggingOpenstacks; public Output>> loggingOpenstacks() { return Codegen.optional(this.loggingOpenstacks); } - @Export(name="loggingPapertrails", type=List.class, parameters={ServiceComputeLoggingPapertrail.class}) + @Export(name="loggingPapertrails", refs={List.class,ServiceComputeLoggingPapertrail.class}, tree="[0,1]") private Output> loggingPapertrails; public Output>> loggingPapertrails() { return Codegen.optional(this.loggingPapertrails); } - @Export(name="loggingS3s", type=List.class, parameters={ServiceComputeLoggingS3.class}) + @Export(name="loggingS3s", refs={List.class,ServiceComputeLoggingS3.class}, tree="[0,1]") private Output> loggingS3s; public Output>> loggingS3s() { return Codegen.optional(this.loggingS3s); } - @Export(name="loggingScalyrs", type=List.class, parameters={ServiceComputeLoggingScalyr.class}) + @Export(name="loggingScalyrs", refs={List.class,ServiceComputeLoggingScalyr.class}, tree="[0,1]") private Output> loggingScalyrs; public Output>> loggingScalyrs() { return Codegen.optional(this.loggingScalyrs); } - @Export(name="loggingSftps", type=List.class, parameters={ServiceComputeLoggingSftp.class}) + @Export(name="loggingSftps", refs={List.class,ServiceComputeLoggingSftp.class}, tree="[0,1]") private Output> loggingSftps; public Output>> loggingSftps() { return Codegen.optional(this.loggingSftps); } - @Export(name="loggingSplunks", type=List.class, parameters={ServiceComputeLoggingSplunk.class}) + @Export(name="loggingSplunks", refs={List.class,ServiceComputeLoggingSplunk.class}, tree="[0,1]") private Output> loggingSplunks; public Output>> loggingSplunks() { return Codegen.optional(this.loggingSplunks); } - @Export(name="loggingSumologics", type=List.class, parameters={ServiceComputeLoggingSumologic.class}) + @Export(name="loggingSumologics", refs={List.class,ServiceComputeLoggingSumologic.class}, tree="[0,1]") private Output> loggingSumologics; public Output>> loggingSumologics() { return Codegen.optional(this.loggingSumologics); } - @Export(name="loggingSyslogs", type=List.class, parameters={ServiceComputeLoggingSyslog.class}) + @Export(name="loggingSyslogs", refs={List.class,ServiceComputeLoggingSyslog.class}, tree="[0,1]") private Output> loggingSyslogs; public Output>> loggingSyslogs() { @@ -355,7 +355,7 @@ public Output>> loggingSyslogs() { * Name for this Backend. Must be unique to this Service. It is important to note that changing this attribute will delete and recreate the resource * */ - @Export(name="name", type=String.class, parameters={}) + @Export(name="name", refs={String.class}, tree="[0]") private Output name; /** @@ -366,20 +366,20 @@ public Output name() { return this.name; } /** - * The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute@Edge service (if omitted, ensure `activate = false` is set on `fastly.ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute@Edge](https://developer.fastly.com/learning/compute/) + * The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute service (if omitted, ensure `activate = false` is set on `fastly.ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute](https://developer.fastly.com/learning/compute/) * */ - @Export(name="package", type=ServiceComputePackage.class, parameters={}) + @Export(name="package", refs={ServiceComputePackage.class}, tree="[0]") private Output package_; /** - * @return The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute@Edge service (if omitted, ensure `activate = false` is set on `fastly.ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute@Edge](https://developer.fastly.com/learning/compute/) + * @return The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute service (if omitted, ensure `activate = false` is set on `fastly.ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute](https://developer.fastly.com/learning/compute/) * */ public Output> package_() { return Codegen.optional(this.package_); } - @Export(name="productEnablement", type=ServiceComputeProductEnablement.class, parameters={}) + @Export(name="productEnablement", refs={ServiceComputeProductEnablement.class}, tree="[0]") private Output productEnablement; public Output> productEnablement() { @@ -389,7 +389,7 @@ public Output> productEnablement() { * A resource link represents a link between a shared resource (such as an KV Store or Config Store) and a service version. * */ - @Export(name="resourceLinks", type=List.class, parameters={ServiceComputeResourceLink.class}) + @Export(name="resourceLinks", refs={List.class,ServiceComputeResourceLink.class}, tree="[0,1]") private Output> resourceLinks; /** @@ -405,7 +405,7 @@ public Output>> resourceLinks() { * an active service will cause an error. Default `false` * */ - @Export(name="reuse", type=Boolean.class, parameters={}) + @Export(name="reuse", refs={Boolean.class}, tree="[0]") private Output reuse; /** @@ -421,7 +421,7 @@ public Output> reuse() { * Description field for the version * */ - @Export(name="versionComment", type=String.class, parameters={}) + @Export(name="versionComment", refs={String.class}, tree="[0]") private Output versionComment; /** diff --git a/sdk/java/src/main/java/com/pulumi/fastly/ServiceComputeArgs.java b/sdk/java/src/main/java/com/pulumi/fastly/ServiceComputeArgs.java index 6953bbcb..b8bb6fdd 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/ServiceComputeArgs.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/ServiceComputeArgs.java @@ -321,14 +321,14 @@ public Optional> name() { } /** - * The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute@Edge service (if omitted, ensure `activate = false` is set on `fastly.ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute@Edge](https://developer.fastly.com/learning/compute/) + * The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute service (if omitted, ensure `activate = false` is set on `fastly.ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute](https://developer.fastly.com/learning/compute/) * */ @Import(name="package") private @Nullable Output package_; /** - * @return The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute@Edge service (if omitted, ensure `activate = false` is set on `fastly.ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute@Edge](https://developer.fastly.com/learning/compute/) + * @return The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute service (if omitted, ensure `activate = false` is set on `fastly.ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute](https://developer.fastly.com/learning/compute/) * */ public Optional> package_() { @@ -932,7 +932,7 @@ public Builder name(String name) { } /** - * @param package_ The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute@Edge service (if omitted, ensure `activate = false` is set on `fastly.ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute@Edge](https://developer.fastly.com/learning/compute/) + * @param package_ The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute service (if omitted, ensure `activate = false` is set on `fastly.ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute](https://developer.fastly.com/learning/compute/) * * @return builder * @@ -943,7 +943,7 @@ public Builder package_(@Nullable Output package_) { } /** - * @param package_ The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute@Edge service (if omitted, ensure `activate = false` is set on `fastly.ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute@Edge](https://developer.fastly.com/learning/compute/) + * @param package_ The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute service (if omitted, ensure `activate = false` is set on `fastly.ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute](https://developer.fastly.com/learning/compute/) * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/fastly/ServiceDictionaryItems.java b/sdk/java/src/main/java/com/pulumi/fastly/ServiceDictionaryItems.java index 8b603e8e..23505c94 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/ServiceDictionaryItems.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/ServiceDictionaryItems.java @@ -35,7 +35,7 @@ public class ServiceDictionaryItems extends com.pulumi.resources.CustomResource * The ID of the dictionary that the items belong to * */ - @Export(name="dictionaryId", type=String.class, parameters={}) + @Export(name="dictionaryId", refs={String.class}, tree="[0]") private Output dictionaryId; /** @@ -49,7 +49,7 @@ public Output dictionaryId() { * A map representing an entry in the dictionary, (key/value) * */ - @Export(name="items", type=Map.class, parameters={String.class, Object.class}) + @Export(name="items", refs={Map.class,String.class,Object.class}, tree="[0,1,2]") private Output> items; /** @@ -63,7 +63,7 @@ public Output>> items() { * Whether to reapply changes if the state of the items drifts, i.e. if items are managed externally * */ - @Export(name="manageItems", type=Boolean.class, parameters={}) + @Export(name="manageItems", refs={Boolean.class}, tree="[0]") private Output manageItems; /** @@ -77,7 +77,7 @@ public Output> manageItems() { * The ID of the service that the dictionary belongs to * */ - @Export(name="serviceId", type=String.class, parameters={}) + @Export(name="serviceId", refs={String.class}, tree="[0]") private Output serviceId; /** diff --git a/sdk/java/src/main/java/com/pulumi/fastly/ServiceDynamicSnippetContent.java b/sdk/java/src/main/java/com/pulumi/fastly/ServiceDynamicSnippetContent.java index 0e83cead..b64a3d1c 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/ServiceDynamicSnippetContent.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/ServiceDynamicSnippetContent.java @@ -33,7 +33,7 @@ public class ServiceDynamicSnippetContent extends com.pulumi.resources.CustomRes * The VCL code that specifies exactly what the snippet does * */ - @Export(name="content", type=String.class, parameters={}) + @Export(name="content", refs={String.class}, tree="[0]") private Output content; /** @@ -47,7 +47,7 @@ public Output content() { * Whether to reapply changes if the state of the snippets drifts, i.e. if snippets are managed externally * */ - @Export(name="manageSnippets", type=Boolean.class, parameters={}) + @Export(name="manageSnippets", refs={Boolean.class}, tree="[0]") private Output manageSnippets; /** @@ -61,7 +61,7 @@ public Output> manageSnippets() { * The ID of the service that the dynamic snippet belongs to * */ - @Export(name="serviceId", type=String.class, parameters={}) + @Export(name="serviceId", refs={String.class}, tree="[0]") private Output serviceId; /** @@ -75,7 +75,7 @@ public Output serviceId() { * The ID of the dynamic snippet that the content belong to * */ - @Export(name="snippetId", type=String.class, parameters={}) + @Export(name="snippetId", refs={String.class}, tree="[0]") private Output snippetId; /** diff --git a/sdk/java/src/main/java/com/pulumi/fastly/ServiceVcl.java b/sdk/java/src/main/java/com/pulumi/fastly/ServiceVcl.java index 850053df..fb010ee0 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/ServiceVcl.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/ServiceVcl.java @@ -62,311 +62,6 @@ import javax.annotation.Nullable; /** - * Provides a Fastly Service, representing the configuration for a website, app, - * API, or anything else to be served through Fastly. A Service encompasses Domains - * and Backends. - * - * The Service resource requires a domain name that is correctly set up to direct - * traffic to the Fastly service. See Fastly's guide on [Adding CNAME Records][fastly-cname] - * on their documentation site for guidance. - * - * ## Example Usage - * - * Basic usage: - * ```java - * package generated_program; - * - * import com.pulumi.Context; - * import com.pulumi.Pulumi; - * import com.pulumi.core.Output; - * import com.pulumi.fastly.ServiceVcl; - * import com.pulumi.fastly.ServiceVclArgs; - * import com.pulumi.fastly.inputs.ServiceVclBackendArgs; - * import com.pulumi.fastly.inputs.ServiceVclDomainArgs; - * import java.util.List; - * import java.util.ArrayList; - * import java.util.Map; - * import java.io.File; - * import java.nio.file.Files; - * import java.nio.file.Paths; - * - * public class App { - * public static void main(String[] args) { - * Pulumi.run(App::stack); - * } - * - * public static void stack(Context ctx) { - * var demo = new ServiceVcl("demo", ServiceVclArgs.builder() - * .backends(ServiceVclBackendArgs.builder() - * .address("127.0.0.1") - * .name("localhost") - * .port(80) - * .build()) - * .domains(ServiceVclDomainArgs.builder() - * .comment("demo") - * .name("demo.notexample.com") - * .build()) - * .forceDestroy(true) - * .build()); - * - * } - * } - * ``` - * - * Basic usage with an Amazon S3 Website and that removes the `x-amz-request-id` header: - * - * ```java - * package generated_program; - * - * import com.pulumi.Context; - * import com.pulumi.Pulumi; - * import com.pulumi.core.Output; - * import com.pulumi.fastly.ServiceVcl; - * import com.pulumi.fastly.ServiceVclArgs; - * import com.pulumi.fastly.inputs.ServiceVclBackendArgs; - * import com.pulumi.fastly.inputs.ServiceVclDomainArgs; - * import com.pulumi.fastly.inputs.ServiceVclGzipArgs; - * import com.pulumi.fastly.inputs.ServiceVclHeaderArgs; - * import com.pulumi.aws.s3.BucketV2; - * import com.pulumi.aws.s3.BucketV2Args; - * import java.util.List; - * import java.util.ArrayList; - * import java.util.Map; - * import java.io.File; - * import java.nio.file.Files; - * import java.nio.file.Paths; - * - * public class App { - * public static void main(String[] args) { - * Pulumi.run(App::stack); - * } - * - * public static void stack(Context ctx) { - * var demo = new ServiceVcl("demo", ServiceVclArgs.builder() - * .backends(ServiceVclBackendArgs.builder() - * .address("demo.notexample.com.s3-website-us-west-2.amazonaws.com") - * .name("AWS S3 hosting") - * .overrideHost("demo.notexample.com.s3-website-us-west-2.amazonaws.com") - * .port(80) - * .build()) - * .domains(ServiceVclDomainArgs.builder() - * .comment("demo") - * .name("demo.notexample.com") - * .build()) - * .forceDestroy(true) - * .gzips(ServiceVclGzipArgs.builder() - * .contentTypes( - * "text/html", - * "text/css") - * .extensions( - * "css", - * "js") - * .name("file extensions and content types") - * .build()) - * .headers(ServiceVclHeaderArgs.builder() - * .action("delete") - * .destination("http.x-amz-request-id") - * .name("remove x-amz-request-id") - * .type("cache") - * .build()) - * .build()); - * - * var website = new BucketV2("website", BucketV2Args.builder() - * .acl("public-read") - * .websites(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference)) - * .build()); - * - * } - * } - * ``` - * - * Basic usage with [custom - * VCL](https://docs.fastly.com/vcl/custom-vcl/uploading-custom-vcl/): - * ```java - * package generated_program; - * - * import com.pulumi.Context; - * import com.pulumi.Pulumi; - * import com.pulumi.core.Output; - * import com.pulumi.fastly.ServiceVcl; - * import com.pulumi.fastly.ServiceVclArgs; - * import com.pulumi.fastly.inputs.ServiceVclBackendArgs; - * import com.pulumi.fastly.inputs.ServiceVclDomainArgs; - * import com.pulumi.fastly.inputs.ServiceVclVclArgs; - * import java.util.List; - * import java.util.ArrayList; - * import java.util.Map; - * import java.io.File; - * import java.nio.file.Files; - * import java.nio.file.Paths; - * - * public class App { - * public static void main(String[] args) { - * Pulumi.run(App::stack); - * } - * - * public static void stack(Context ctx) { - * var demo = new ServiceVcl("demo", ServiceVclArgs.builder() - * .backends(ServiceVclBackendArgs.builder() - * .address("127.0.0.1") - * .name("localhost") - * .port(80) - * .build()) - * .domains(ServiceVclDomainArgs.builder() - * .comment("demo") - * .name("demo.notexample.com") - * .build()) - * .forceDestroy(true) - * .vcls( - * ServiceVclVclArgs.builder() - * .content(Files.readString(Paths.get(String.format("%s/my_custom_main.vcl", path.module())))) - * .main(true) - * .name("my_custom_main_vcl") - * .build(), - * ServiceVclVclArgs.builder() - * .content(Files.readString(Paths.get(String.format("%s/my_custom_library.vcl", path.module())))) - * .name("my_custom_library_vcl") - * .build()) - * .build()); - * - * } - * } - * ``` - * - * Basic usage with [custom Director](https://developer.fastly.com/reference/api/load-balancing/directors/director/): - * ```java - * package generated_program; - * - * import com.pulumi.Context; - * import com.pulumi.Pulumi; - * import com.pulumi.core.Output; - * import com.pulumi.fastly.ServiceVcl; - * import com.pulumi.fastly.ServiceVclArgs; - * import com.pulumi.fastly.inputs.ServiceVclBackendArgs; - * import com.pulumi.fastly.inputs.ServiceVclDirectorArgs; - * import com.pulumi.fastly.inputs.ServiceVclDomainArgs; - * import java.util.List; - * import java.util.ArrayList; - * import java.util.Map; - * import java.io.File; - * import java.nio.file.Files; - * import java.nio.file.Paths; - * - * public class App { - * public static void main(String[] args) { - * Pulumi.run(App::stack); - * } - * - * public static void stack(Context ctx) { - * var demo = new ServiceVcl("demo", ServiceVclArgs.builder() - * .backends( - * ServiceVclBackendArgs.builder() - * .address("127.0.0.1") - * .name("origin1") - * .port(80) - * .build(), - * ServiceVclBackendArgs.builder() - * .address("127.0.0.2") - * .name("origin2") - * .port(80) - * .build()) - * .directors(ServiceVclDirectorArgs.builder() - * .backends( - * "origin1", - * "origin2") - * .name("mydirector") - * .quorum(0) - * .type(3) - * .build()) - * .domains(ServiceVclDomainArgs.builder() - * .comment("demo") - * .name("demo.notexample.com") - * .build()) - * .forceDestroy(true) - * .build()); - * - * } - * } - * ``` - * - * Basic usage with [Web Application Firewall](https://developer.fastly.com/reference/api/waf/): - * ```java - * package generated_program; - * - * import com.pulumi.Context; - * import com.pulumi.Pulumi; - * import com.pulumi.core.Output; - * import com.pulumi.fastly.ServiceVcl; - * import com.pulumi.fastly.ServiceVclArgs; - * import com.pulumi.fastly.inputs.ServiceVclBackendArgs; - * import com.pulumi.fastly.inputs.ServiceVclConditionArgs; - * import com.pulumi.fastly.inputs.ServiceVclDomainArgs; - * import com.pulumi.fastly.inputs.ServiceVclResponseObjectArgs; - * import com.pulumi.fastly.inputs.ServiceVclWafArgs; - * import java.util.List; - * import java.util.ArrayList; - * import java.util.Map; - * import java.io.File; - * import java.nio.file.Files; - * import java.nio.file.Paths; - * - * public class App { - * public static void main(String[] args) { - * Pulumi.run(App::stack); - * } - * - * public static void stack(Context ctx) { - * var demo = new ServiceVcl("demo", ServiceVclArgs.builder() - * .backends(ServiceVclBackendArgs.builder() - * .address("127.0.0.1") - * .name("origin1") - * .port(80) - * .build()) - * .conditions( - * ServiceVclConditionArgs.builder() - * .name("WAF_Prefetch") - * .statement("req.backend.is_origin") - * .type("PREFETCH") - * .build(), - * ServiceVclConditionArgs.builder() - * .name("WAF_always_false") - * .statement("false") - * .type("REQUEST") - * .build()) - * .domains(ServiceVclDomainArgs.builder() - * .comment("demo") - * .name("example.com") - * .build()) - * .forceDestroy(true) - * .responseObjects(ServiceVclResponseObjectArgs.builder() - * .content("<html><body>Forbidden</body></html>") - * .contentType("text/html") - * .name("WAF_Response") - * .requestCondition("WAF_always_false") - * .response("Forbidden") - * .status("403") - * .build()) - * .waf(ServiceVclWafArgs.builder() - * .prefetchCondition("WAF_Prefetch") - * .responseObject("WAF_Response") - * .build()) - * .build()); - * - * } - * } - * ``` - * - * > **Note:** For an AWS S3 Bucket, the Backend address is - * `<domain>.s3-website-<region>.amazonaws.com`. The `override_host` attribute - * should be set to `<bucket_name>.s3-website-<region>.amazonaws.com` in the `backend` block. See the - * Fastly documentation on [Amazon S3][fastly-s3]. - * - * [fastly-s3]: https://docs.fastly.com/en/guides/amazon-s3 - * [fastly-cname]: https://docs.fastly.com/en/guides/adding-cname-records - * [fastly-conditionals]: https://docs.fastly.com/en/guides/using-conditions - * [fastly-sumologic]: https://developer.fastly.com/reference/api/logging/sumologic/ - * [fastly-gcs]: https://developer.fastly.com/reference/api/logging/gcs/ - * * ## Import * * Fastly Services can be imported using their service ID, e.g. @@ -388,7 +83,7 @@ public class ServiceVcl extends com.pulumi.resources.CustomResource { * The AWS [Canned ACL](https://docs.aws.amazon.com/AmazonS3/latest/userguide/acl-overview.html#canned-acl) to use for objects uploaded to the S3 bucket. Options are: `private`, `public-read`, `public-read-write`, `aws-exec-read`, `authenticated-read`, `bucket-owner-read`, `bucket-owner-full-control` * */ - @Export(name="acls", type=List.class, parameters={ServiceVclAcl.class}) + @Export(name="acls", refs={List.class,ServiceVclAcl.class}, tree="[0,1]") private Output> acls; /** @@ -402,7 +97,7 @@ public Output>> acls() { * Conditionally prevents the Service from being activated. The apply step will continue to create a new draft version but will not activate it if this is set to `false`. Default `true` * */ - @Export(name="activate", type=Boolean.class, parameters={}) + @Export(name="activate", refs={Boolean.class}, tree="[0]") private Output activate; /** @@ -416,7 +111,7 @@ public Output> activate() { * The currently active version of your Fastly Service * */ - @Export(name="activeVersion", type=Integer.class, parameters={}) + @Export(name="activeVersion", refs={Integer.class}, tree="[0]") private Output activeVersion; /** @@ -426,13 +121,13 @@ public Output> activate() { public Output activeVersion() { return this.activeVersion; } - @Export(name="backends", type=List.class, parameters={ServiceVclBackend.class}) + @Export(name="backends", refs={List.class,ServiceVclBackend.class}, tree="[0,1]") private Output> backends; public Output>> backends() { return Codegen.optional(this.backends); } - @Export(name="cacheSettings", type=List.class, parameters={ServiceVclCacheSetting.class}) + @Export(name="cacheSettings", refs={List.class,ServiceVclCacheSetting.class}, tree="[0,1]") private Output> cacheSettings; public Output>> cacheSettings() { @@ -442,7 +137,7 @@ public Output>> cacheSettings() { * The latest cloned version by the provider * */ - @Export(name="clonedVersion", type=Integer.class, parameters={}) + @Export(name="clonedVersion", refs={Integer.class}, tree="[0]") private Output clonedVersion; /** @@ -456,7 +151,7 @@ public Output clonedVersion() { * An optional comment about the Director * */ - @Export(name="comment", type=String.class, parameters={}) + @Export(name="comment", refs={String.class}, tree="[0]") private Output comment; /** @@ -466,7 +161,7 @@ public Output clonedVersion() { public Output> comment() { return Codegen.optional(this.comment); } - @Export(name="conditions", type=List.class, parameters={ServiceVclCondition.class}) + @Export(name="conditions", refs={List.class,ServiceVclCondition.class}, tree="[0,1]") private Output> conditions; public Output>> conditions() { @@ -476,7 +171,7 @@ public Output>> conditions() { * Sets the host header * */ - @Export(name="defaultHost", type=String.class, parameters={}) + @Export(name="defaultHost", refs={String.class}, tree="[0]") private Output defaultHost; /** @@ -490,7 +185,7 @@ public Output> defaultHost() { * The default Time-to-live (TTL) for requests * */ - @Export(name="defaultTtl", type=Integer.class, parameters={}) + @Export(name="defaultTtl", refs={Integer.class}, tree="[0]") private Output defaultTtl; /** @@ -500,13 +195,13 @@ public Output> defaultHost() { public Output> defaultTtl() { return Codegen.optional(this.defaultTtl); } - @Export(name="dictionaries", type=List.class, parameters={ServiceVclDictionary.class}) + @Export(name="dictionaries", refs={List.class,ServiceVclDictionary.class}, tree="[0,1]") private Output> dictionaries; public Output>> dictionaries() { return Codegen.optional(this.dictionaries); } - @Export(name="directors", type=List.class, parameters={ServiceVclDirector.class}) + @Export(name="directors", refs={List.class,ServiceVclDirector.class}, tree="[0,1]") private Output> directors; public Output>> directors() { @@ -516,7 +211,7 @@ public Output>> directors() { * The domain of the DigitalOcean Spaces endpoint (default `nyc3.digitaloceanspaces.com`) * */ - @Export(name="domains", type=List.class, parameters={ServiceVclDomain.class}) + @Export(name="domains", refs={List.class,ServiceVclDomain.class}, tree="[0,1]") private Output> domains; /** @@ -526,7 +221,7 @@ public Output>> directors() { public Output> domains() { return this.domains; } - @Export(name="dynamicsnippets", type=List.class, parameters={ServiceVclDynamicsnippet.class}) + @Export(name="dynamicsnippets", refs={List.class,ServiceVclDynamicsnippet.class}, tree="[0,1]") private Output> dynamicsnippets; public Output>> dynamicsnippets() { @@ -536,7 +231,7 @@ public Output>> dynamicsnippets() { * Allow the ACL to be deleted, even if it contains entries. Defaults to false. * */ - @Export(name="forceDestroy", type=Boolean.class, parameters={}) + @Export(name="forceDestroy", refs={Boolean.class}, tree="[0]") private Output forceDestroy; /** @@ -552,7 +247,7 @@ public Output> forceDestroy() { * UI) and the provider needs to resync the state for a different active version (this is only if `activate` is `true`). * */ - @Export(name="forceRefresh", type=Boolean.class, parameters={}) + @Export(name="forceRefresh", refs={Boolean.class}, tree="[0]") private Output forceRefresh; /** @@ -564,13 +259,13 @@ public Output> forceDestroy() { public Output forceRefresh() { return this.forceRefresh; } - @Export(name="gzips", type=List.class, parameters={ServiceVclGzip.class}) + @Export(name="gzips", refs={List.class,ServiceVclGzip.class}, tree="[0,1]") private Output> gzips; public Output>> gzips() { return Codegen.optional(this.gzips); } - @Export(name="headers", type=List.class, parameters={ServiceVclHeader.class}) + @Export(name="headers", refs={List.class,ServiceVclHeader.class}, tree="[0,1]") private Output> headers; public Output>> headers() { @@ -580,7 +275,7 @@ public Output>> headers() { * Name of a defined `healthcheck` to assign to this backend * */ - @Export(name="healthchecks", type=List.class, parameters={ServiceVclHealthcheck.class}) + @Export(name="healthchecks", refs={List.class,ServiceVclHealthcheck.class}, tree="[0,1]") private Output> healthchecks; /** @@ -594,7 +289,7 @@ public Output>> healthchecks() { * Enables support for the HTTP/3 (QUIC) protocol * */ - @Export(name="http3", type=Boolean.class, parameters={}) + @Export(name="http3", refs={Boolean.class}, tree="[0]") private Output http3; /** @@ -608,7 +303,7 @@ public Output> http3() { * Used internally by the provider to temporarily indicate if the service is being imported, and is reset to false once the import is finished * */ - @Export(name="imported", type=Boolean.class, parameters={}) + @Export(name="imported", refs={Boolean.class}, tree="[0]") private Output imported; /** @@ -618,157 +313,157 @@ public Output> http3() { public Output imported() { return this.imported; } - @Export(name="loggingBigqueries", type=List.class, parameters={ServiceVclLoggingBigquery.class}) + @Export(name="loggingBigqueries", refs={List.class,ServiceVclLoggingBigquery.class}, tree="[0,1]") private Output> loggingBigqueries; public Output>> loggingBigqueries() { return Codegen.optional(this.loggingBigqueries); } - @Export(name="loggingBlobstorages", type=List.class, parameters={ServiceVclLoggingBlobstorage.class}) + @Export(name="loggingBlobstorages", refs={List.class,ServiceVclLoggingBlobstorage.class}, tree="[0,1]") private Output> loggingBlobstorages; public Output>> loggingBlobstorages() { return Codegen.optional(this.loggingBlobstorages); } - @Export(name="loggingCloudfiles", type=List.class, parameters={ServiceVclLoggingCloudfile.class}) + @Export(name="loggingCloudfiles", refs={List.class,ServiceVclLoggingCloudfile.class}, tree="[0,1]") private Output> loggingCloudfiles; public Output>> loggingCloudfiles() { return Codegen.optional(this.loggingCloudfiles); } - @Export(name="loggingDatadogs", type=List.class, parameters={ServiceVclLoggingDatadog.class}) + @Export(name="loggingDatadogs", refs={List.class,ServiceVclLoggingDatadog.class}, tree="[0,1]") private Output> loggingDatadogs; public Output>> loggingDatadogs() { return Codegen.optional(this.loggingDatadogs); } - @Export(name="loggingDigitaloceans", type=List.class, parameters={ServiceVclLoggingDigitalocean.class}) + @Export(name="loggingDigitaloceans", refs={List.class,ServiceVclLoggingDigitalocean.class}, tree="[0,1]") private Output> loggingDigitaloceans; public Output>> loggingDigitaloceans() { return Codegen.optional(this.loggingDigitaloceans); } - @Export(name="loggingElasticsearches", type=List.class, parameters={ServiceVclLoggingElasticsearch.class}) + @Export(name="loggingElasticsearches", refs={List.class,ServiceVclLoggingElasticsearch.class}, tree="[0,1]") private Output> loggingElasticsearches; public Output>> loggingElasticsearches() { return Codegen.optional(this.loggingElasticsearches); } - @Export(name="loggingFtps", type=List.class, parameters={ServiceVclLoggingFtp.class}) + @Export(name="loggingFtps", refs={List.class,ServiceVclLoggingFtp.class}, tree="[0,1]") private Output> loggingFtps; public Output>> loggingFtps() { return Codegen.optional(this.loggingFtps); } - @Export(name="loggingGcs", type=List.class, parameters={ServiceVclLoggingGc.class}) + @Export(name="loggingGcs", refs={List.class,ServiceVclLoggingGc.class}, tree="[0,1]") private Output> loggingGcs; public Output>> loggingGcs() { return Codegen.optional(this.loggingGcs); } - @Export(name="loggingGooglepubsubs", type=List.class, parameters={ServiceVclLoggingGooglepubsub.class}) + @Export(name="loggingGooglepubsubs", refs={List.class,ServiceVclLoggingGooglepubsub.class}, tree="[0,1]") private Output> loggingGooglepubsubs; public Output>> loggingGooglepubsubs() { return Codegen.optional(this.loggingGooglepubsubs); } - @Export(name="loggingHerokus", type=List.class, parameters={ServiceVclLoggingHerokus.class}) + @Export(name="loggingHerokus", refs={List.class,ServiceVclLoggingHerokus.class}, tree="[0,1]") private Output> loggingHerokus; public Output>> loggingHerokus() { return Codegen.optional(this.loggingHerokus); } - @Export(name="loggingHoneycombs", type=List.class, parameters={ServiceVclLoggingHoneycomb.class}) + @Export(name="loggingHoneycombs", refs={List.class,ServiceVclLoggingHoneycomb.class}, tree="[0,1]") private Output> loggingHoneycombs; public Output>> loggingHoneycombs() { return Codegen.optional(this.loggingHoneycombs); } - @Export(name="loggingHttps", type=List.class, parameters={ServiceVclLoggingHttp.class}) + @Export(name="loggingHttps", refs={List.class,ServiceVclLoggingHttp.class}, tree="[0,1]") private Output> loggingHttps; public Output>> loggingHttps() { return Codegen.optional(this.loggingHttps); } - @Export(name="loggingKafkas", type=List.class, parameters={ServiceVclLoggingKafka.class}) + @Export(name="loggingKafkas", refs={List.class,ServiceVclLoggingKafka.class}, tree="[0,1]") private Output> loggingKafkas; public Output>> loggingKafkas() { return Codegen.optional(this.loggingKafkas); } - @Export(name="loggingKineses", type=List.class, parameters={ServiceVclLoggingKinese.class}) + @Export(name="loggingKineses", refs={List.class,ServiceVclLoggingKinese.class}, tree="[0,1]") private Output> loggingKineses; public Output>> loggingKineses() { return Codegen.optional(this.loggingKineses); } - @Export(name="loggingLogentries", type=List.class, parameters={ServiceVclLoggingLogentry.class}) + @Export(name="loggingLogentries", refs={List.class,ServiceVclLoggingLogentry.class}, tree="[0,1]") private Output> loggingLogentries; public Output>> loggingLogentries() { return Codegen.optional(this.loggingLogentries); } - @Export(name="loggingLogglies", type=List.class, parameters={ServiceVclLoggingLoggly.class}) + @Export(name="loggingLogglies", refs={List.class,ServiceVclLoggingLoggly.class}, tree="[0,1]") private Output> loggingLogglies; public Output>> loggingLogglies() { return Codegen.optional(this.loggingLogglies); } - @Export(name="loggingLogshuttles", type=List.class, parameters={ServiceVclLoggingLogshuttle.class}) + @Export(name="loggingLogshuttles", refs={List.class,ServiceVclLoggingLogshuttle.class}, tree="[0,1]") private Output> loggingLogshuttles; public Output>> loggingLogshuttles() { return Codegen.optional(this.loggingLogshuttles); } - @Export(name="loggingNewrelics", type=List.class, parameters={ServiceVclLoggingNewrelic.class}) + @Export(name="loggingNewrelics", refs={List.class,ServiceVclLoggingNewrelic.class}, tree="[0,1]") private Output> loggingNewrelics; public Output>> loggingNewrelics() { return Codegen.optional(this.loggingNewrelics); } - @Export(name="loggingOpenstacks", type=List.class, parameters={ServiceVclLoggingOpenstack.class}) + @Export(name="loggingOpenstacks", refs={List.class,ServiceVclLoggingOpenstack.class}, tree="[0,1]") private Output> loggingOpenstacks; public Output>> loggingOpenstacks() { return Codegen.optional(this.loggingOpenstacks); } - @Export(name="loggingPapertrails", type=List.class, parameters={ServiceVclLoggingPapertrail.class}) + @Export(name="loggingPapertrails", refs={List.class,ServiceVclLoggingPapertrail.class}, tree="[0,1]") private Output> loggingPapertrails; public Output>> loggingPapertrails() { return Codegen.optional(this.loggingPapertrails); } - @Export(name="loggingS3s", type=List.class, parameters={ServiceVclLoggingS3.class}) + @Export(name="loggingS3s", refs={List.class,ServiceVclLoggingS3.class}, tree="[0,1]") private Output> loggingS3s; public Output>> loggingS3s() { return Codegen.optional(this.loggingS3s); } - @Export(name="loggingScalyrs", type=List.class, parameters={ServiceVclLoggingScalyr.class}) + @Export(name="loggingScalyrs", refs={List.class,ServiceVclLoggingScalyr.class}, tree="[0,1]") private Output> loggingScalyrs; public Output>> loggingScalyrs() { return Codegen.optional(this.loggingScalyrs); } - @Export(name="loggingSftps", type=List.class, parameters={ServiceVclLoggingSftp.class}) + @Export(name="loggingSftps", refs={List.class,ServiceVclLoggingSftp.class}, tree="[0,1]") private Output> loggingSftps; public Output>> loggingSftps() { return Codegen.optional(this.loggingSftps); } - @Export(name="loggingSplunks", type=List.class, parameters={ServiceVclLoggingSplunk.class}) + @Export(name="loggingSplunks", refs={List.class,ServiceVclLoggingSplunk.class}, tree="[0,1]") private Output> loggingSplunks; public Output>> loggingSplunks() { return Codegen.optional(this.loggingSplunks); } - @Export(name="loggingSumologics", type=List.class, parameters={ServiceVclLoggingSumologic.class}) + @Export(name="loggingSumologics", refs={List.class,ServiceVclLoggingSumologic.class}, tree="[0,1]") private Output> loggingSumologics; public Output>> loggingSumologics() { return Codegen.optional(this.loggingSumologics); } - @Export(name="loggingSyslogs", type=List.class, parameters={ServiceVclLoggingSyslog.class}) + @Export(name="loggingSyslogs", refs={List.class,ServiceVclLoggingSyslog.class}, tree="[0,1]") private Output> loggingSyslogs; public Output>> loggingSyslogs() { @@ -778,7 +473,7 @@ public Output>> loggingSyslogs() { * A unique name to identify this ACL. It is important to note that changing this attribute will delete and recreate the ACL, and discard the current items in the ACL * */ - @Export(name="name", type=String.class, parameters={}) + @Export(name="name", refs={String.class}, tree="[0]") private Output name; /** @@ -788,19 +483,19 @@ public Output>> loggingSyslogs() { public Output name() { return this.name; } - @Export(name="productEnablement", type=ServiceVclProductEnablement.class, parameters={}) + @Export(name="productEnablement", refs={ServiceVclProductEnablement.class}, tree="[0]") private Output productEnablement; public Output> productEnablement() { return Codegen.optional(this.productEnablement); } - @Export(name="rateLimiters", type=List.class, parameters={ServiceVclRateLimiter.class}) + @Export(name="rateLimiters", refs={List.class,ServiceVclRateLimiter.class}, tree="[0,1]") private Output> rateLimiters; public Output>> rateLimiters() { return Codegen.optional(this.rateLimiters); } - @Export(name="requestSettings", type=List.class, parameters={ServiceVclRequestSetting.class}) + @Export(name="requestSettings", refs={List.class,ServiceVclRequestSetting.class}, tree="[0,1]") private Output> requestSettings; public Output>> requestSettings() { @@ -810,7 +505,7 @@ public Output>> requestSettings() { * The name of the response object used by the Web Application Firewall * */ - @Export(name="responseObjects", type=List.class, parameters={ServiceVclResponseObject.class}) + @Export(name="responseObjects", refs={List.class,ServiceVclResponseObject.class}, tree="[0,1]") private Output> responseObjects; /** @@ -826,7 +521,7 @@ public Output>> responseObjects() { * an active service will cause an error. Default `false` * */ - @Export(name="reuse", type=Boolean.class, parameters={}) + @Export(name="reuse", refs={Boolean.class}, tree="[0]") private Output reuse; /** @@ -838,7 +533,7 @@ public Output>> responseObjects() { public Output> reuse() { return Codegen.optional(this.reuse); } - @Export(name="snippets", type=List.class, parameters={ServiceVclSnippet.class}) + @Export(name="snippets", refs={List.class,ServiceVclSnippet.class}, tree="[0,1]") private Output> snippets; public Output>> snippets() { @@ -848,7 +543,7 @@ public Output>> snippets() { * Enables serving a stale object if there is an error * */ - @Export(name="staleIfError", type=Boolean.class, parameters={}) + @Export(name="staleIfError", refs={Boolean.class}, tree="[0]") private Output staleIfError; /** @@ -862,7 +557,7 @@ public Output> staleIfError() { * The default time-to-live (TTL) for serving the stale object for the version * */ - @Export(name="staleIfErrorTtl", type=Integer.class, parameters={}) + @Export(name="staleIfErrorTtl", refs={Integer.class}, tree="[0]") private Output staleIfErrorTtl; /** @@ -872,7 +567,7 @@ public Output> staleIfError() { public Output> staleIfErrorTtl() { return Codegen.optional(this.staleIfErrorTtl); } - @Export(name="vcls", type=List.class, parameters={ServiceVclVcl.class}) + @Export(name="vcls", refs={List.class,ServiceVclVcl.class}, tree="[0,1]") private Output> vcls; public Output>> vcls() { @@ -882,7 +577,7 @@ public Output>> vcls() { * Description field for the version * */ - @Export(name="versionComment", type=String.class, parameters={}) + @Export(name="versionComment", refs={String.class}, tree="[0]") private Output versionComment; /** @@ -892,7 +587,7 @@ public Output>> vcls() { public Output> versionComment() { return Codegen.optional(this.versionComment); } - @Export(name="waf", type=ServiceVclWaf.class, parameters={}) + @Export(name="waf", refs={ServiceVclWaf.class}, tree="[0]") private Output waf; public Output> waf() { diff --git a/sdk/java/src/main/java/com/pulumi/fastly/ServiceWafConfiguration.java b/sdk/java/src/main/java/com/pulumi/fastly/ServiceWafConfiguration.java index 440ef957..a183f6b9 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/ServiceWafConfiguration.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/ServiceWafConfiguration.java @@ -637,7 +637,7 @@ public class ServiceWafConfiguration extends com.pulumi.resources.CustomResource * Conditionally prevents a new firewall version from being activated. The apply step will continue to create a new draft version but will not activate it if this is set to `false`. Default `true` * */ - @Export(name="activate", type=Boolean.class, parameters={}) + @Export(name="activate", refs={Boolean.class}, tree="[0]") private Output activate; /** @@ -651,7 +651,7 @@ public Output> activate() { * Whether a specific firewall version is currently deployed * */ - @Export(name="active", type=Boolean.class, parameters={}) + @Export(name="active", refs={Boolean.class}, tree="[0]") private Output active; /** @@ -665,7 +665,7 @@ public Output active() { * Allowed HTTP versions * */ - @Export(name="allowedHttpVersions", type=String.class, parameters={}) + @Export(name="allowedHttpVersions", refs={String.class}, tree="[0]") private Output allowedHttpVersions; /** @@ -679,7 +679,7 @@ public Output allowedHttpVersions() { * A space-separated list of HTTP method names * */ - @Export(name="allowedMethods", type=String.class, parameters={}) + @Export(name="allowedMethods", refs={String.class}, tree="[0]") private Output allowedMethods; /** @@ -693,7 +693,7 @@ public Output allowedMethods() { * Allowed request content types * */ - @Export(name="allowedRequestContentType", type=String.class, parameters={}) + @Export(name="allowedRequestContentType", refs={String.class}, tree="[0]") private Output allowedRequestContentType; /** @@ -707,7 +707,7 @@ public Output allowedRequestContentType() { * Allowed request content type charset * */ - @Export(name="allowedRequestContentTypeCharset", type=String.class, parameters={}) + @Export(name="allowedRequestContentTypeCharset", refs={String.class}, tree="[0]") private Output allowedRequestContentTypeCharset; /** @@ -721,7 +721,7 @@ public Output allowedRequestContentTypeCharset() { * The maximum number of arguments allowed * */ - @Export(name="argLength", type=Integer.class, parameters={}) + @Export(name="argLength", refs={Integer.class}, tree="[0]") private Output argLength; /** @@ -735,7 +735,7 @@ public Output argLength() { * The maximum allowed argument name length * */ - @Export(name="argNameLength", type=Integer.class, parameters={}) + @Export(name="argNameLength", refs={Integer.class}, tree="[0]") private Output argNameLength; /** @@ -749,7 +749,7 @@ public Output argNameLength() { * The latest cloned firewall version by the provider * */ - @Export(name="clonedVersion", type=Integer.class, parameters={}) + @Export(name="clonedVersion", refs={Integer.class}, tree="[0]") private Output clonedVersion; /** @@ -763,7 +763,7 @@ public Output clonedVersion() { * The maximum allowed size of all files * */ - @Export(name="combinedFileSizes", type=Integer.class, parameters={}) + @Export(name="combinedFileSizes", refs={Integer.class}, tree="[0]") private Output combinedFileSizes; /** @@ -777,7 +777,7 @@ public Output combinedFileSizes() { * Score value to add for critical anomalies * */ - @Export(name="criticalAnomalyScore", type=Integer.class, parameters={}) + @Export(name="criticalAnomalyScore", refs={Integer.class}, tree="[0]") private Output criticalAnomalyScore; /** @@ -791,7 +791,7 @@ public Output criticalAnomalyScore() { * CRS validate UTF8 encoding * */ - @Export(name="crsValidateUtf8Encoding", type=Boolean.class, parameters={}) + @Export(name="crsValidateUtf8Encoding", refs={Boolean.class}, tree="[0]") private Output crsValidateUtf8Encoding; /** @@ -805,7 +805,7 @@ public Output crsValidateUtf8Encoding() { * Score value to add for error anomalies * */ - @Export(name="errorAnomalyScore", type=Integer.class, parameters={}) + @Export(name="errorAnomalyScore", refs={Integer.class}, tree="[0]") private Output errorAnomalyScore; /** @@ -819,7 +819,7 @@ public Output errorAnomalyScore() { * A space-separated list of country codes in ISO 3166-1 (two-letter) format * */ - @Export(name="highRiskCountryCodes", type=String.class, parameters={}) + @Export(name="highRiskCountryCodes", refs={String.class}, tree="[0]") private Output highRiskCountryCodes; /** @@ -833,7 +833,7 @@ public Output highRiskCountryCodes() { * HTTP violation threshold * */ - @Export(name="httpViolationScoreThreshold", type=Integer.class, parameters={}) + @Export(name="httpViolationScoreThreshold", refs={Integer.class}, tree="[0]") private Output httpViolationScoreThreshold; /** @@ -847,7 +847,7 @@ public Output httpViolationScoreThreshold() { * Inbound anomaly threshold * */ - @Export(name="inboundAnomalyScoreThreshold", type=Integer.class, parameters={}) + @Export(name="inboundAnomalyScoreThreshold", refs={Integer.class}, tree="[0]") private Output inboundAnomalyScoreThreshold; /** @@ -861,7 +861,7 @@ public Output inboundAnomalyScoreThreshold() { * Local file inclusion attack threshold * */ - @Export(name="lfiScoreThreshold", type=Integer.class, parameters={}) + @Export(name="lfiScoreThreshold", refs={Integer.class}, tree="[0]") private Output lfiScoreThreshold; /** @@ -875,7 +875,7 @@ public Output lfiScoreThreshold() { * The maximum allowed file size, in bytes * */ - @Export(name="maxFileSize", type=Integer.class, parameters={}) + @Export(name="maxFileSize", refs={Integer.class}, tree="[0]") private Output maxFileSize; /** @@ -889,7 +889,7 @@ public Output maxFileSize() { * The maximum number of arguments allowed * */ - @Export(name="maxNumArgs", type=Integer.class, parameters={}) + @Export(name="maxNumArgs", refs={Integer.class}, tree="[0]") private Output maxNumArgs; /** @@ -903,7 +903,7 @@ public Output maxNumArgs() { * Score value to add for notice anomalies * */ - @Export(name="noticeAnomalyScore", type=Integer.class, parameters={}) + @Export(name="noticeAnomalyScore", refs={Integer.class}, tree="[0]") private Output noticeAnomalyScore; /** @@ -917,7 +917,7 @@ public Output noticeAnomalyScore() { * The numeric ID assigned to the WAF Rule Exclusion * */ - @Export(name="number", type=Integer.class, parameters={}) + @Export(name="number", refs={Integer.class}, tree="[0]") private Output number; /** @@ -931,7 +931,7 @@ public Output number() { * The configured paranoia level * */ - @Export(name="paranoiaLevel", type=Integer.class, parameters={}) + @Export(name="paranoiaLevel", refs={Integer.class}, tree="[0]") private Output paranoiaLevel; /** @@ -945,7 +945,7 @@ public Output paranoiaLevel() { * PHP injection threshold * */ - @Export(name="phpInjectionScoreThreshold", type=Integer.class, parameters={}) + @Export(name="phpInjectionScoreThreshold", refs={Integer.class}, tree="[0]") private Output phpInjectionScoreThreshold; /** @@ -959,7 +959,7 @@ public Output phpInjectionScoreThreshold() { * Remote code execution threshold * */ - @Export(name="rceScoreThreshold", type=Integer.class, parameters={}) + @Export(name="rceScoreThreshold", refs={Integer.class}, tree="[0]") private Output rceScoreThreshold; /** @@ -973,7 +973,7 @@ public Output rceScoreThreshold() { * A space-separated list of allowed file extensions * */ - @Export(name="restrictedExtensions", type=String.class, parameters={}) + @Export(name="restrictedExtensions", refs={String.class}, tree="[0]") private Output restrictedExtensions; /** @@ -987,7 +987,7 @@ public Output restrictedExtensions() { * A space-separated list of allowed header names * */ - @Export(name="restrictedHeaders", type=String.class, parameters={}) + @Export(name="restrictedHeaders", refs={String.class}, tree="[0]") private Output restrictedHeaders; /** @@ -1001,7 +1001,7 @@ public Output restrictedHeaders() { * Remote file inclusion attack threshold * */ - @Export(name="rfiScoreThreshold", type=Integer.class, parameters={}) + @Export(name="rfiScoreThreshold", refs={Integer.class}, tree="[0]") private Output rfiScoreThreshold; /** @@ -1011,13 +1011,13 @@ public Output restrictedHeaders() { public Output rfiScoreThreshold() { return this.rfiScoreThreshold; } - @Export(name="ruleExclusions", type=List.class, parameters={ServiceWafConfigurationRuleExclusion.class}) + @Export(name="ruleExclusions", refs={List.class,ServiceWafConfigurationRuleExclusion.class}, tree="[0,1]") private Output> ruleExclusions; public Output>> ruleExclusions() { return Codegen.optional(this.ruleExclusions); } - @Export(name="rules", type=List.class, parameters={ServiceWafConfigurationRule.class}) + @Export(name="rules", refs={List.class,ServiceWafConfigurationRule.class}, tree="[0,1]") private Output> rules; public Output>> rules() { @@ -1027,7 +1027,7 @@ public Output>> rules() { * Session fixation attack threshold * */ - @Export(name="sessionFixationScoreThreshold", type=Integer.class, parameters={}) + @Export(name="sessionFixationScoreThreshold", refs={Integer.class}, tree="[0]") private Output sessionFixationScoreThreshold; /** @@ -1041,7 +1041,7 @@ public Output sessionFixationScoreThreshold() { * SQL injection attack threshold * */ - @Export(name="sqlInjectionScoreThreshold", type=Integer.class, parameters={}) + @Export(name="sqlInjectionScoreThreshold", refs={Integer.class}, tree="[0]") private Output sqlInjectionScoreThreshold; /** @@ -1055,7 +1055,7 @@ public Output sqlInjectionScoreThreshold() { * The maximum size of argument names and values * */ - @Export(name="totalArgLength", type=Integer.class, parameters={}) + @Export(name="totalArgLength", refs={Integer.class}, tree="[0]") private Output totalArgLength; /** @@ -1069,7 +1069,7 @@ public Output totalArgLength() { * The ID of the Web Application Firewall that the configuration belongs to * */ - @Export(name="wafId", type=String.class, parameters={}) + @Export(name="wafId", refs={String.class}, tree="[0]") private Output wafId; /** @@ -1083,7 +1083,7 @@ public Output wafId() { * Score value to add for warning anomalies * */ - @Export(name="warningAnomalyScore", type=Integer.class, parameters={}) + @Export(name="warningAnomalyScore", refs={Integer.class}, tree="[0]") private Output warningAnomalyScore; /** @@ -1097,7 +1097,7 @@ public Output warningAnomalyScore() { * XSS attack threshold * */ - @Export(name="xssScoreThreshold", type=Integer.class, parameters={}) + @Export(name="xssScoreThreshold", refs={Integer.class}, tree="[0]") private Output xssScoreThreshold; /** diff --git a/sdk/java/src/main/java/com/pulumi/fastly/TlsActivation.java b/sdk/java/src/main/java/com/pulumi/fastly/TlsActivation.java index 87388ae8..d886d516 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/TlsActivation.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/TlsActivation.java @@ -101,7 +101,7 @@ public class TlsActivation extends com.pulumi.resources.CustomResource { * ID of certificate to use. Must have the `domain` specified in the certificate's Subject Alternative Names. * */ - @Export(name="certificateId", type=String.class, parameters={}) + @Export(name="certificateId", refs={String.class}, tree="[0]") private Output certificateId; /** @@ -115,7 +115,7 @@ public Output certificateId() { * ID of TLS configuration to be used to terminate TLS traffic, or use the default one if missing. * */ - @Export(name="configurationId", type=String.class, parameters={}) + @Export(name="configurationId", refs={String.class}, tree="[0]") private Output configurationId; /** @@ -129,7 +129,7 @@ public Output configurationId() { * Time-stamp (GMT) when TLS was enabled. * */ - @Export(name="createdAt", type=String.class, parameters={}) + @Export(name="createdAt", refs={String.class}, tree="[0]") private Output createdAt; /** @@ -143,7 +143,7 @@ public Output createdAt() { * Domain to enable TLS on. Must be assigned to an existing Fastly Service. * */ - @Export(name="domain", type=String.class, parameters={}) + @Export(name="domain", refs={String.class}, tree="[0]") private Output domain; /** @@ -157,7 +157,7 @@ public Output domain() { * An alphanumeric string identifying a mutual authentication. * */ - @Export(name="mutualAuthenticationId", type=String.class, parameters={}) + @Export(name="mutualAuthenticationId", refs={String.class}, tree="[0]") private Output mutualAuthenticationId; /** diff --git a/sdk/java/src/main/java/com/pulumi/fastly/TlsCertificate.java b/sdk/java/src/main/java/com/pulumi/fastly/TlsCertificate.java index ef52ae7b..1c59e72a 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/TlsCertificate.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/TlsCertificate.java @@ -111,7 +111,7 @@ public class TlsCertificate extends com.pulumi.resources.CustomResource { * PEM-formatted certificate, optionally including any intermediary certificates. * */ - @Export(name="certificateBody", type=String.class, parameters={}) + @Export(name="certificateBody", refs={String.class}, tree="[0]") private Output certificateBody; /** @@ -125,7 +125,7 @@ public Output certificateBody() { * Timestamp (GMT) when the certificate was created. * */ - @Export(name="createdAt", type=String.class, parameters={}) + @Export(name="createdAt", refs={String.class}, tree="[0]") private Output createdAt; /** @@ -139,7 +139,7 @@ public Output createdAt() { * All the domains (including wildcard domains) that are listed in the certificate's Subject Alternative Names (SAN) list. * */ - @Export(name="domains", type=List.class, parameters={String.class}) + @Export(name="domains", refs={List.class,String.class}, tree="[0,1]") private Output> domains; /** @@ -153,7 +153,7 @@ public Output> domains() { * The hostname for which a certificate was issued. * */ - @Export(name="issuedTo", type=String.class, parameters={}) + @Export(name="issuedTo", refs={String.class}, tree="[0]") private Output issuedTo; /** @@ -167,7 +167,7 @@ public Output issuedTo() { * The certificate authority that issued the certificate. * */ - @Export(name="issuer", type=String.class, parameters={}) + @Export(name="issuer", refs={String.class}, tree="[0]") private Output issuer; /** @@ -181,7 +181,7 @@ public Output issuer() { * Human-readable name used to identify the certificate. Defaults to the certificate's Common Name or first Subject Alternative Name entry. * */ - @Export(name="name", type=String.class, parameters={}) + @Export(name="name", refs={String.class}, tree="[0]") private Output name; /** @@ -195,7 +195,7 @@ public Output name() { * A recommendation from Fastly indicating the key associated with this certificate is in need of rotation. * */ - @Export(name="replace", type=Boolean.class, parameters={}) + @Export(name="replace", refs={Boolean.class}, tree="[0]") private Output replace; /** @@ -209,7 +209,7 @@ public Output replace() { * A value assigned by the issuer that is unique to a certificate. * */ - @Export(name="serialNumber", type=String.class, parameters={}) + @Export(name="serialNumber", refs={String.class}, tree="[0]") private Output serialNumber; /** @@ -223,7 +223,7 @@ public Output serialNumber() { * The algorithm used to sign the certificate. * */ - @Export(name="signatureAlgorithm", type=String.class, parameters={}) + @Export(name="signatureAlgorithm", refs={String.class}, tree="[0]") private Output signatureAlgorithm; /** @@ -237,7 +237,7 @@ public Output signatureAlgorithm() { * Timestamp (GMT) when the certificate was last updated. * */ - @Export(name="updatedAt", type=String.class, parameters={}) + @Export(name="updatedAt", refs={String.class}, tree="[0]") private Output updatedAt; /** diff --git a/sdk/java/src/main/java/com/pulumi/fastly/TlsMutualAuthentication.java b/sdk/java/src/main/java/com/pulumi/fastly/TlsMutualAuthentication.java index c8ee89f8..a0a9d4c7 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/TlsMutualAuthentication.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/TlsMutualAuthentication.java @@ -22,7 +22,7 @@ public class TlsMutualAuthentication extends com.pulumi.resources.CustomResource * One or more certificates. Enter each individual certificate blob on a new line. Must be PEM-formatted. * */ - @Export(name="certBundle", type=String.class, parameters={}) + @Export(name="certBundle", refs={String.class}, tree="[0]") private Output certBundle; /** @@ -36,7 +36,7 @@ public Output certBundle() { * Date and time in ISO 8601 format. * */ - @Export(name="createdAt", type=String.class, parameters={}) + @Export(name="createdAt", refs={String.class}, tree="[0]") private Output createdAt; /** @@ -50,7 +50,7 @@ public Output createdAt() { * Determines whether Mutual TLS will fail closed (enforced) or fail open. A true value will require a successful Mutual TLS handshake for the connection to continue and will fail closed if unsuccessful. A false value will fail open and allow the connection to proceed (if this attribute is not set we default to `false`). * */ - @Export(name="enforced", type=Boolean.class, parameters={}) + @Export(name="enforced", refs={Boolean.class}, tree="[0]") private Output enforced; /** @@ -64,7 +64,7 @@ public Output enforced() { * Comma-separated list of related objects to include (e.g. `tls_activations` will provide you with the TLS domain names that are related to your Mutual TLS authentication). * */ - @Export(name="include", type=String.class, parameters={}) + @Export(name="include", refs={String.class}, tree="[0]") private Output include; /** @@ -78,7 +78,7 @@ public Output> include() { * A custom name for your mutual authentication. If name is not supplied we will auto-generate one. * */ - @Export(name="name", type=String.class, parameters={}) + @Export(name="name", refs={String.class}, tree="[0]") private Output name; /** @@ -92,7 +92,7 @@ public Output name() { * List of alphanumeric strings identifying TLS activations. * */ - @Export(name="tlsActivations", type=List.class, parameters={String.class}) + @Export(name="tlsActivations", refs={List.class,String.class}, tree="[0,1]") private Output> tlsActivations; /** @@ -106,7 +106,7 @@ public Output> tlsActivations() { * Date and time in ISO 8601 format. * */ - @Export(name="updatedAt", type=String.class, parameters={}) + @Export(name="updatedAt", refs={String.class}, tree="[0]") private Output updatedAt; /** diff --git a/sdk/java/src/main/java/com/pulumi/fastly/TlsPlatformCertificate.java b/sdk/java/src/main/java/com/pulumi/fastly/TlsPlatformCertificate.java index 679a13e3..1517cad6 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/TlsPlatformCertificate.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/TlsPlatformCertificate.java @@ -140,7 +140,7 @@ public class TlsPlatformCertificate extends com.pulumi.resources.CustomResource * Disable checking whether the root of the certificate chain is trusted. Useful for development purposes to allow use of self-signed CAs. Defaults to false. Write-only on create. * */ - @Export(name="allowUntrustedRoot", type=Boolean.class, parameters={}) + @Export(name="allowUntrustedRoot", refs={Boolean.class}, tree="[0]") private Output allowUntrustedRoot; /** @@ -154,7 +154,7 @@ public Output> allowUntrustedRoot() { * PEM-formatted certificate. * */ - @Export(name="certificateBody", type=String.class, parameters={}) + @Export(name="certificateBody", refs={String.class}, tree="[0]") private Output certificateBody; /** @@ -168,7 +168,7 @@ public Output certificateBody() { * ID of TLS configuration to be used to terminate TLS traffic. * */ - @Export(name="configurationId", type=String.class, parameters={}) + @Export(name="configurationId", refs={String.class}, tree="[0]") private Output configurationId; /** @@ -182,7 +182,7 @@ public Output configurationId() { * Timestamp (GMT) when the certificate was created. * */ - @Export(name="createdAt", type=String.class, parameters={}) + @Export(name="createdAt", refs={String.class}, tree="[0]") private Output createdAt; /** @@ -196,7 +196,7 @@ public Output createdAt() { * All the domains (including wildcard domains) that are listed in any certificate's Subject Alternative Names (SAN) list. * */ - @Export(name="domains", type=List.class, parameters={String.class}) + @Export(name="domains", refs={List.class,String.class}, tree="[0,1]") private Output> domains; /** @@ -210,7 +210,7 @@ public Output> domains() { * PEM-formatted certificate chain from the `certificate_body` to its root. * */ - @Export(name="intermediatesBlob", type=String.class, parameters={}) + @Export(name="intermediatesBlob", refs={String.class}, tree="[0]") private Output intermediatesBlob; /** @@ -224,7 +224,7 @@ public Output intermediatesBlob() { * Timestamp (GMT) when the certificate will expire. * */ - @Export(name="notAfter", type=String.class, parameters={}) + @Export(name="notAfter", refs={String.class}, tree="[0]") private Output notAfter; /** @@ -238,7 +238,7 @@ public Output notAfter() { * Timestamp (GMT) when the certificate will become valid. * */ - @Export(name="notBefore", type=String.class, parameters={}) + @Export(name="notBefore", refs={String.class}, tree="[0]") private Output notBefore; /** @@ -252,7 +252,7 @@ public Output notBefore() { * A recommendation from Fastly indicating the key associated with this certificate is in need of rotation. * */ - @Export(name="replace", type=Boolean.class, parameters={}) + @Export(name="replace", refs={Boolean.class}, tree="[0]") private Output replace; /** @@ -266,7 +266,7 @@ public Output replace() { * Timestamp (GMT) when the certificate was last updated. * */ - @Export(name="updatedAt", type=String.class, parameters={}) + @Export(name="updatedAt", refs={String.class}, tree="[0]") private Output updatedAt; /** diff --git a/sdk/java/src/main/java/com/pulumi/fastly/TlsPrivateKey.java b/sdk/java/src/main/java/com/pulumi/fastly/TlsPrivateKey.java index 89605daa..829a599b 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/TlsPrivateKey.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/TlsPrivateKey.java @@ -74,7 +74,7 @@ public class TlsPrivateKey extends com.pulumi.resources.CustomResource { * Time-stamp (GMT) when the private key was created. * */ - @Export(name="createdAt", type=String.class, parameters={}) + @Export(name="createdAt", refs={String.class}, tree="[0]") private Output createdAt; /** @@ -88,7 +88,7 @@ public Output createdAt() { * The key length used to generate the private key. * */ - @Export(name="keyLength", type=Integer.class, parameters={}) + @Export(name="keyLength", refs={Integer.class}, tree="[0]") private Output keyLength; /** @@ -102,7 +102,7 @@ public Output keyLength() { * Private key in PEM format. * */ - @Export(name="keyPem", type=String.class, parameters={}) + @Export(name="keyPem", refs={String.class}, tree="[0]") private Output keyPem; /** @@ -116,7 +116,7 @@ public Output keyPem() { * The algorithm used to generate the private key. Must be RSA. * */ - @Export(name="keyType", type=String.class, parameters={}) + @Export(name="keyType", refs={String.class}, tree="[0]") private Output keyType; /** @@ -130,7 +130,7 @@ public Output keyType() { * Customisable name of the private key. * */ - @Export(name="name", type=String.class, parameters={}) + @Export(name="name", refs={String.class}, tree="[0]") private Output name; /** @@ -144,7 +144,7 @@ public Output name() { * Useful for safely identifying the key. * */ - @Export(name="publicKeySha1", type=String.class, parameters={}) + @Export(name="publicKeySha1", refs={String.class}, tree="[0]") private Output publicKeySha1; /** @@ -158,7 +158,7 @@ public Output publicKeySha1() { * Whether Fastly recommends replacing this private key. * */ - @Export(name="replace", type=Boolean.class, parameters={}) + @Export(name="replace", refs={Boolean.class}, tree="[0]") private Output replace; /** diff --git a/sdk/java/src/main/java/com/pulumi/fastly/TlsSubscription.java b/sdk/java/src/main/java/com/pulumi/fastly/TlsSubscription.java index 42b9da0b..b7b9f8a0 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/TlsSubscription.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/TlsSubscription.java @@ -45,7 +45,7 @@ public class TlsSubscription extends com.pulumi.resources.CustomResource { * The entity that issues and certifies the TLS certificates for your subscription. Valid values are `lets-encrypt` or `globalsign`. * */ - @Export(name="certificateAuthority", type=String.class, parameters={}) + @Export(name="certificateAuthority", refs={String.class}, tree="[0]") private Output certificateAuthority; /** @@ -59,7 +59,7 @@ public Output certificateAuthority() { * The certificate ID associated with the subscription. * */ - @Export(name="certificateId", type=String.class, parameters={}) + @Export(name="certificateId", refs={String.class}, tree="[0]") private Output certificateId; /** @@ -73,7 +73,7 @@ public Output certificateId() { * The common name associated with the subscription generated by Fastly TLS. If you do not pass a common name on create, we will default to the first TLS domain included. If provided, the domain chosen as the common name must be included in TLS domains. * */ - @Export(name="commonName", type=String.class, parameters={}) + @Export(name="commonName", refs={String.class}, tree="[0]") private Output commonName; /** @@ -87,7 +87,7 @@ public Output commonName() { * The ID of the set of TLS configuration options that apply to the enabled domains on this subscription. * */ - @Export(name="configurationId", type=String.class, parameters={}) + @Export(name="configurationId", refs={String.class}, tree="[0]") private Output configurationId; /** @@ -101,7 +101,7 @@ public Output configurationId() { * Timestamp (GMT) when the subscription was created. * */ - @Export(name="createdAt", type=String.class, parameters={}) + @Export(name="createdAt", refs={String.class}, tree="[0]") private Output createdAt; /** @@ -115,7 +115,7 @@ public Output createdAt() { * List of domains on which to enable TLS. * */ - @Export(name="domains", type=List.class, parameters={String.class}) + @Export(name="domains", refs={List.class,String.class}, tree="[0,1]") private Output> domains; /** @@ -131,7 +131,7 @@ public Output> domains() { * !> **Warning:** by default, the Fastly API protects you from disabling production traffic by preventing updating or deleting subscriptions with active domains. The use of `force_update` and `force_destroy` will override these protections. Take extra care using these options if you are handling production traffic. * */ - @Export(name="forceDestroy", type=Boolean.class, parameters={}) + @Export(name="forceDestroy", refs={Boolean.class}, tree="[0]") private Output forceDestroy; /** @@ -147,7 +147,7 @@ public Output> forceDestroy() { * Always update subscription, even when active domains are present. Defaults to false. * */ - @Export(name="forceUpdate", type=Boolean.class, parameters={}) + @Export(name="forceUpdate", refs={Boolean.class}, tree="[0]") private Output forceUpdate; /** @@ -165,7 +165,7 @@ public Output> forceUpdate() { * */ @Deprecated /* Use 'managed_dns_challenges' attribute instead */ - @Export(name="managedDnsChallenge", type=Map.class, parameters={String.class, String.class}) + @Export(name="managedDnsChallenge", refs={Map.class,String.class}, tree="[0,1,1]") private Output> managedDnsChallenge; /** @@ -179,7 +179,7 @@ public Output> managedDnsChallenge() { * A list of options for configuring DNS to respond to ACME DNS challenge in order to verify domain ownership. * */ - @Export(name="managedDnsChallenges", type=List.class, parameters={TlsSubscriptionManagedDnsChallenge.class}) + @Export(name="managedDnsChallenges", refs={List.class,TlsSubscriptionManagedDnsChallenge.class}, tree="[0,1]") private Output> managedDnsChallenges; /** @@ -193,7 +193,7 @@ public Output> managedDnsChallenges() { * A list of options for configuring DNS to respond to ACME HTTP challenge in order to verify domain ownership. Best accessed through a `for` expression to filter the relevant record. * */ - @Export(name="managedHttpChallenges", type=List.class, parameters={TlsSubscriptionManagedHttpChallenge.class}) + @Export(name="managedHttpChallenges", refs={List.class,TlsSubscriptionManagedHttpChallenge.class}, tree="[0,1]") private Output> managedHttpChallenges; /** @@ -207,7 +207,7 @@ public Output> managedHttpChallenges() * The current state of the subscription. The list of possible states are: `pending`, `processing`, `issued`, and `renewing`. * */ - @Export(name="state", type=String.class, parameters={}) + @Export(name="state", refs={String.class}, tree="[0]") private Output state; /** @@ -221,7 +221,7 @@ public Output state() { * Timestamp (GMT) when the subscription was updated. * */ - @Export(name="updatedAt", type=String.class, parameters={}) + @Export(name="updatedAt", refs={String.class}, tree="[0]") private Output updatedAt; /** diff --git a/sdk/java/src/main/java/com/pulumi/fastly/TlsSubscriptionValidation.java b/sdk/java/src/main/java/com/pulumi/fastly/TlsSubscriptionValidation.java index 7746338c..76a9f9c9 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/TlsSubscriptionValidation.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/TlsSubscriptionValidation.java @@ -27,7 +27,7 @@ public class TlsSubscriptionValidation extends com.pulumi.resources.CustomResour * The ID of the TLS Subscription that should be validated. * */ - @Export(name="subscriptionId", type=String.class, parameters={}) + @Export(name="subscriptionId", refs={String.class}, tree="[0]") private Output subscriptionId; /** diff --git a/sdk/java/src/main/java/com/pulumi/fastly/User.java b/sdk/java/src/main/java/com/pulumi/fastly/User.java index 2b74c0bb..68642243 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/User.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/User.java @@ -66,7 +66,7 @@ public class User extends com.pulumi.resources.CustomResource { * The email address, which is the login name, of the User * */ - @Export(name="login", type=String.class, parameters={}) + @Export(name="login", refs={String.class}, tree="[0]") private Output login; /** @@ -80,7 +80,7 @@ public Output login() { * The real life name of the user * */ - @Export(name="name", type=String.class, parameters={}) + @Export(name="name", refs={String.class}, tree="[0]") private Output name; /** @@ -94,7 +94,7 @@ public Output name() { * The role of this user. Can be `user` (the default), `billing`, `engineer`, or `superuser`. For detailed information on the abilities granted to each role, see [Fastly's Documentation on User roles](https://docs.fastly.com/en/guides/configuring-user-roles-and-permissions#user-roles-and-what-they-can-do) * */ - @Export(name="role", type=String.class, parameters={}) + @Export(name="role", refs={String.class}, tree="[0]") private Output role; /** diff --git a/sdk/java/src/main/java/com/pulumi/fastly/Utilities.java b/sdk/java/src/main/java/com/pulumi/fastly/Utilities.java index ad3f2df8..b045a2d1 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/Utilities.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/Utilities.java @@ -57,7 +57,6 @@ public static Optional getEnvDouble(String... names) { return Optional.empty(); } - // TODO: this probably should be done via a mutator on the InvokeOptions public static InvokeOptions withVersion(@Nullable InvokeOptions options) { if (options != null && options.getVersion().isPresent()) { return options; diff --git a/sdk/java/src/main/java/com/pulumi/fastly/inputs/ServiceComputeProductEnablementArgs.java b/sdk/java/src/main/java/com/pulumi/fastly/inputs/ServiceComputeProductEnablementArgs.java index 9742783a..9c9a7503 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/inputs/ServiceComputeProductEnablementArgs.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/inputs/ServiceComputeProductEnablementArgs.java @@ -32,14 +32,14 @@ public Optional> fanout() { } /** - * Used internally by the provider to identify modified settings + * Used by the provider to identify modified settings (changing this value will force the entire block to be deleted, then recreated) * */ @Import(name="name") private @Nullable Output name; /** - * @return Used internally by the provider to identify modified settings + * @return Used by the provider to identify modified settings (changing this value will force the entire block to be deleted, then recreated) * */ public Optional> name() { @@ -109,7 +109,7 @@ public Builder fanout(Boolean fanout) { } /** - * @param name Used internally by the provider to identify modified settings + * @param name Used by the provider to identify modified settings (changing this value will force the entire block to be deleted, then recreated) * * @return builder * @@ -120,7 +120,7 @@ public Builder name(@Nullable Output name) { } /** - * @param name Used internally by the provider to identify modified settings + * @param name Used by the provider to identify modified settings (changing this value will force the entire block to be deleted, then recreated) * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/fastly/inputs/ServiceComputeState.java b/sdk/java/src/main/java/com/pulumi/fastly/inputs/ServiceComputeState.java index d7d1afff..9e438e14 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/inputs/ServiceComputeState.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/inputs/ServiceComputeState.java @@ -386,14 +386,14 @@ public Optional> name() { } /** - * The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute@Edge service (if omitted, ensure `activate = false` is set on `fastly.ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute@Edge](https://developer.fastly.com/learning/compute/) + * The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute service (if omitted, ensure `activate = false` is set on `fastly.ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute](https://developer.fastly.com/learning/compute/) * */ @Import(name="package") private @Nullable Output package_; /** - * @return The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute@Edge service (if omitted, ensure `activate = false` is set on `fastly.ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute@Edge](https://developer.fastly.com/learning/compute/) + * @return The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute service (if omitted, ensure `activate = false` is set on `fastly.ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute](https://developer.fastly.com/learning/compute/) * */ public Optional> package_() { @@ -1089,7 +1089,7 @@ public Builder name(String name) { } /** - * @param package_ The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute@Edge service (if omitted, ensure `activate = false` is set on `fastly.ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute@Edge](https://developer.fastly.com/learning/compute/) + * @param package_ The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute service (if omitted, ensure `activate = false` is set on `fastly.ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute](https://developer.fastly.com/learning/compute/) * * @return builder * @@ -1100,7 +1100,7 @@ public Builder package_(@Nullable Output package_) { } /** - * @param package_ The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute@Edge service (if omitted, ensure `activate = false` is set on `fastly.ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute@Edge](https://developer.fastly.com/learning/compute/) + * @param package_ The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute service (if omitted, ensure `activate = false` is set on `fastly.ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute](https://developer.fastly.com/learning/compute/) * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/fastly/inputs/ServiceVclProductEnablementArgs.java b/sdk/java/src/main/java/com/pulumi/fastly/inputs/ServiceVclProductEnablementArgs.java index 3a29e777..6dd69056 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/inputs/ServiceVclProductEnablementArgs.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/inputs/ServiceVclProductEnablementArgs.java @@ -62,14 +62,14 @@ public Optional> imageOptimizer() { } /** - * Used internally by the provider to identify modified settings + * Used by the provider to identify modified settings (changing this value will force the entire block to be deleted, then recreated) * */ @Import(name="name") private @Nullable Output name; /** - * @return Used internally by the provider to identify modified settings + * @return Used by the provider to identify modified settings (changing this value will force the entire block to be deleted, then recreated) * */ public Optional> name() { @@ -199,7 +199,7 @@ public Builder imageOptimizer(Boolean imageOptimizer) { } /** - * @param name Used internally by the provider to identify modified settings + * @param name Used by the provider to identify modified settings (changing this value will force the entire block to be deleted, then recreated) * * @return builder * @@ -210,7 +210,7 @@ public Builder name(@Nullable Output name) { } /** - * @param name Used internally by the provider to identify modified settings + * @param name Used by the provider to identify modified settings (changing this value will force the entire block to be deleted, then recreated) * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetConfigstoresResult.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetConfigstoresResult.java index 4522e2ab..c5af90e8 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetConfigstoresResult.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetConfigstoresResult.java @@ -70,10 +70,10 @@ public Builder stores(GetConfigstoresStore... stores) { return stores(List.of(stores)); } public GetConfigstoresResult build() { - final var o = new GetConfigstoresResult(); - o.id = id; - o.stores = stores; - return o; + final var _resultValue = new GetConfigstoresResult(); + _resultValue.id = id; + _resultValue.stores = stores; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetConfigstoresStore.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetConfigstoresStore.java index b8ab6721..23494069 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetConfigstoresStore.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetConfigstoresStore.java @@ -49,10 +49,10 @@ public Builder name(String name) { return this; } public GetConfigstoresStore build() { - final var o = new GetConfigstoresStore(); - o.id = id; - o.name = name; - return o; + final var _resultValue = new GetConfigstoresStore(); + _resultValue.id = id; + _resultValue.name = name; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetDatacentersPop.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetDatacentersPop.java index 4d6aff3f..cb765bf8 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetDatacentersPop.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetDatacentersPop.java @@ -71,12 +71,12 @@ public Builder shield(String shield) { return this; } public GetDatacentersPop build() { - final var o = new GetDatacentersPop(); - o.code = code; - o.group = group; - o.name = name; - o.shield = shield; - return o; + final var _resultValue = new GetDatacentersPop(); + _resultValue.code = code; + _resultValue.group = group; + _resultValue.name = name; + _resultValue.shield = shield; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetDatacentersResult.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetDatacentersResult.java index 82eaddc2..f4c860cb 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetDatacentersResult.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetDatacentersResult.java @@ -70,10 +70,10 @@ public Builder pops(GetDatacentersPop... pops) { return pops(List.of(pops)); } public GetDatacentersResult build() { - final var o = new GetDatacentersResult(); - o.id = id; - o.pops = pops; - return o; + final var _resultValue = new GetDatacentersResult(); + _resultValue.id = id; + _resultValue.pops = pops; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetDictionariesDictionary.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetDictionariesDictionary.java index c236bce7..7eab8610 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetDictionariesDictionary.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetDictionariesDictionary.java @@ -61,11 +61,11 @@ public Builder writeOnly(Boolean writeOnly) { return this; } public GetDictionariesDictionary build() { - final var o = new GetDictionariesDictionary(); - o.id = id; - o.name = name; - o.writeOnly = writeOnly; - return o; + final var _resultValue = new GetDictionariesDictionary(); + _resultValue.id = id; + _resultValue.name = name; + _resultValue.writeOnly = writeOnly; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetDictionariesResult.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetDictionariesResult.java index e4241fb8..e760fdec 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetDictionariesResult.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetDictionariesResult.java @@ -109,12 +109,12 @@ public Builder serviceVersion(Integer serviceVersion) { return this; } public GetDictionariesResult build() { - final var o = new GetDictionariesResult(); - o.dictionaries = dictionaries; - o.id = id; - o.serviceId = serviceId; - o.serviceVersion = serviceVersion; - return o; + final var _resultValue = new GetDictionariesResult(); + _resultValue.dictionaries = dictionaries; + _resultValue.id = id; + _resultValue.serviceId = serviceId; + _resultValue.serviceVersion = serviceVersion; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetFastlyIpRangesResult.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetFastlyIpRangesResult.java index 8f8d71c3..ef55ffeb 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetFastlyIpRangesResult.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetFastlyIpRangesResult.java @@ -91,11 +91,11 @@ public Builder ipv6CidrBlocks(String... ipv6CidrBlocks) { return ipv6CidrBlocks(List.of(ipv6CidrBlocks)); } public GetFastlyIpRangesResult build() { - final var o = new GetFastlyIpRangesResult(); - o.cidrBlocks = cidrBlocks; - o.id = id; - o.ipv6CidrBlocks = ipv6CidrBlocks; - return o; + final var _resultValue = new GetFastlyIpRangesResult(); + _resultValue.cidrBlocks = cidrBlocks; + _resultValue.id = id; + _resultValue.ipv6CidrBlocks = ipv6CidrBlocks; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetKvstoresResult.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetKvstoresResult.java index 199a3da6..92ddbca4 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetKvstoresResult.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetKvstoresResult.java @@ -70,10 +70,10 @@ public Builder stores(GetKvstoresStore... stores) { return stores(List.of(stores)); } public GetKvstoresResult build() { - final var o = new GetKvstoresResult(); - o.id = id; - o.stores = stores; - return o; + final var _resultValue = new GetKvstoresResult(); + _resultValue.id = id; + _resultValue.stores = stores; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetKvstoresStore.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetKvstoresStore.java index c0b0048e..56802db7 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetKvstoresStore.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetKvstoresStore.java @@ -49,10 +49,10 @@ public Builder name(String name) { return this; } public GetKvstoresStore build() { - final var o = new GetKvstoresStore(); - o.id = id; - o.name = name; - return o; + final var _resultValue = new GetKvstoresStore(); + _resultValue.id = id; + _resultValue.name = name; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetPackageHashResult.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetPackageHashResult.java index 271e3d01..e615fd38 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetPackageHashResult.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetPackageHashResult.java @@ -105,12 +105,12 @@ public Builder id(String id) { return this; } public GetPackageHashResult build() { - final var o = new GetPackageHashResult(); - o.content = content; - o.filename = filename; - o.hash = hash; - o.id = id; - return o; + final var _resultValue = new GetPackageHashResult(); + _resultValue.content = content; + _resultValue.filename = filename; + _resultValue.hash = hash; + _resultValue.id = id; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetSecretstoresResult.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetSecretstoresResult.java index 60209dcc..5826a47a 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetSecretstoresResult.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetSecretstoresResult.java @@ -70,10 +70,10 @@ public Builder stores(GetSecretstoresStore... stores) { return stores(List.of(stores)); } public GetSecretstoresResult build() { - final var o = new GetSecretstoresResult(); - o.id = id; - o.stores = stores; - return o; + final var _resultValue = new GetSecretstoresResult(); + _resultValue.id = id; + _resultValue.stores = stores; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetSecretstoresStore.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetSecretstoresStore.java index 124eb193..6a748b28 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetSecretstoresStore.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetSecretstoresStore.java @@ -49,10 +49,10 @@ public Builder name(String name) { return this; } public GetSecretstoresStore build() { - final var o = new GetSecretstoresStore(); - o.id = id; - o.name = name; - return o; + final var _resultValue = new GetSecretstoresStore(); + _resultValue.id = id; + _resultValue.name = name; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetServicesDetail.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetServicesDetail.java index 90ae9c50..5adb6d92 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetServicesDetail.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetServicesDetail.java @@ -116,16 +116,16 @@ public Builder version(Integer version) { return this; } public GetServicesDetail build() { - final var o = new GetServicesDetail(); - o.comment = comment; - o.createdAt = createdAt; - o.customerId = customerId; - o.id = id; - o.name = name; - o.type = type; - o.updatedAt = updatedAt; - o.version = version; - return o; + final var _resultValue = new GetServicesDetail(); + _resultValue.comment = comment; + _resultValue.createdAt = createdAt; + _resultValue.customerId = customerId; + _resultValue.id = id; + _resultValue.name = name; + _resultValue.type = type; + _resultValue.updatedAt = updatedAt; + _resultValue.version = version; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetServicesResult.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetServicesResult.java index f154ef92..4c95af6e 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetServicesResult.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetServicesResult.java @@ -92,11 +92,11 @@ public Builder ids(String... ids) { return ids(List.of(ids)); } public GetServicesResult build() { - final var o = new GetServicesResult(); - o.details = details; - o.id = id; - o.ids = ids; - return o; + final var _resultValue = new GetServicesResult(); + _resultValue.details = details; + _resultValue.id = id; + _resultValue.ids = ids; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsActivationIdsResult.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsActivationIdsResult.java index 6cb8c91c..551f2875 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsActivationIdsResult.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsActivationIdsResult.java @@ -90,11 +90,11 @@ public Builder ids(String... ids) { return ids(List.of(ids)); } public GetTlsActivationIdsResult build() { - final var o = new GetTlsActivationIdsResult(); - o.certificateId = certificateId; - o.id = id; - o.ids = ids; - return o; + final var _resultValue = new GetTlsActivationIdsResult(); + _resultValue.certificateId = certificateId; + _resultValue.id = id; + _resultValue.ids = ids; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsActivationResult.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsActivationResult.java index eb4c6b18..caabe3e4 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsActivationResult.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsActivationResult.java @@ -122,13 +122,13 @@ public Builder id(String id) { return this; } public GetTlsActivationResult build() { - final var o = new GetTlsActivationResult(); - o.certificateId = certificateId; - o.configurationId = configurationId; - o.createdAt = createdAt; - o.domain = domain; - o.id = id; - return o; + final var _resultValue = new GetTlsActivationResult(); + _resultValue.certificateId = certificateId; + _resultValue.configurationId = configurationId; + _resultValue.createdAt = createdAt; + _resultValue.domain = domain; + _resultValue.id = id; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsCertificateIdsResult.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsCertificateIdsResult.java index 73b709d2..b26257d8 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsCertificateIdsResult.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsCertificateIdsResult.java @@ -69,10 +69,10 @@ public Builder ids(String... ids) { return ids(List.of(ids)); } public GetTlsCertificateIdsResult build() { - final var o = new GetTlsCertificateIdsResult(); - o.id = id; - o.ids = ids; - return o; + final var _resultValue = new GetTlsCertificateIdsResult(); + _resultValue.id = id; + _resultValue.ids = ids; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsCertificateResult.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsCertificateResult.java index 12f12a15..4af98484 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsCertificateResult.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsCertificateResult.java @@ -222,18 +222,18 @@ public Builder updatedAt(String updatedAt) { return this; } public GetTlsCertificateResult build() { - final var o = new GetTlsCertificateResult(); - o.createdAt = createdAt; - o.domains = domains; - o.id = id; - o.issuedTo = issuedTo; - o.issuer = issuer; - o.name = name; - o.replace = replace; - o.serialNumber = serialNumber; - o.signatureAlgorithm = signatureAlgorithm; - o.updatedAt = updatedAt; - return o; + final var _resultValue = new GetTlsCertificateResult(); + _resultValue.createdAt = createdAt; + _resultValue.domains = domains; + _resultValue.id = id; + _resultValue.issuedTo = issuedTo; + _resultValue.issuer = issuer; + _resultValue.name = name; + _resultValue.replace = replace; + _resultValue.serialNumber = serialNumber; + _resultValue.signatureAlgorithm = signatureAlgorithm; + _resultValue.updatedAt = updatedAt; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsConfigurationDnsRecord.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsConfigurationDnsRecord.java index 17bc1d42..0c24d13e 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsConfigurationDnsRecord.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsConfigurationDnsRecord.java @@ -60,11 +60,11 @@ public Builder region(String region) { return this; } public GetTlsConfigurationDnsRecord build() { - final var o = new GetTlsConfigurationDnsRecord(); - o.recordType = recordType; - o.recordValue = recordValue; - o.region = region; - return o; + final var _resultValue = new GetTlsConfigurationDnsRecord(); + _resultValue.recordType = recordType; + _resultValue.recordValue = recordValue; + _resultValue.region = region; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsConfigurationIdsResult.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsConfigurationIdsResult.java index 1913c8d9..8b8affc1 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsConfigurationIdsResult.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsConfigurationIdsResult.java @@ -69,10 +69,10 @@ public Builder ids(String... ids) { return ids(List.of(ids)); } public GetTlsConfigurationIdsResult build() { - final var o = new GetTlsConfigurationIdsResult(); - o.id = id; - o.ids = ids; - return o; + final var _resultValue = new GetTlsConfigurationIdsResult(); + _resultValue.id = id; + _resultValue.ids = ids; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsConfigurationResult.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsConfigurationResult.java index 1683eb75..83253b05 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsConfigurationResult.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsConfigurationResult.java @@ -210,17 +210,17 @@ public Builder updatedAt(String updatedAt) { return this; } public GetTlsConfigurationResult build() { - final var o = new GetTlsConfigurationResult(); - o.createdAt = createdAt; - o.default_ = default_; - o.dnsRecords = dnsRecords; - o.httpProtocols = httpProtocols; - o.id = id; - o.name = name; - o.tlsProtocols = tlsProtocols; - o.tlsService = tlsService; - o.updatedAt = updatedAt; - return o; + final var _resultValue = new GetTlsConfigurationResult(); + _resultValue.createdAt = createdAt; + _resultValue.default_ = default_; + _resultValue.dnsRecords = dnsRecords; + _resultValue.httpProtocols = httpProtocols; + _resultValue.id = id; + _resultValue.name = name; + _resultValue.tlsProtocols = tlsProtocols; + _resultValue.tlsService = tlsService; + _resultValue.updatedAt = updatedAt; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsDomainResult.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsDomainResult.java index d2d16785..830644d8 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsDomainResult.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsDomainResult.java @@ -132,13 +132,13 @@ public Builder tlsSubscriptionIds(String... tlsSubscriptionIds) { return tlsSubscriptionIds(List.of(tlsSubscriptionIds)); } public GetTlsDomainResult build() { - final var o = new GetTlsDomainResult(); - o.domain = domain; - o.id = id; - o.tlsActivationIds = tlsActivationIds; - o.tlsCertificateIds = tlsCertificateIds; - o.tlsSubscriptionIds = tlsSubscriptionIds; - return o; + final var _resultValue = new GetTlsDomainResult(); + _resultValue.domain = domain; + _resultValue.id = id; + _resultValue.tlsActivationIds = tlsActivationIds; + _resultValue.tlsCertificateIds = tlsCertificateIds; + _resultValue.tlsSubscriptionIds = tlsSubscriptionIds; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsPlatformCertificateIdsResult.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsPlatformCertificateIdsResult.java index c69e756c..f2798d75 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsPlatformCertificateIdsResult.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsPlatformCertificateIdsResult.java @@ -69,10 +69,10 @@ public Builder ids(String... ids) { return ids(List.of(ids)); } public GetTlsPlatformCertificateIdsResult build() { - final var o = new GetTlsPlatformCertificateIdsResult(); - o.id = id; - o.ids = ids; - return o; + final var _resultValue = new GetTlsPlatformCertificateIdsResult(); + _resultValue.id = id; + _resultValue.ids = ids; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsPlatformCertificateResult.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsPlatformCertificateResult.java index 7014cfa1..726fe44a 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsPlatformCertificateResult.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsPlatformCertificateResult.java @@ -184,16 +184,16 @@ public Builder updatedAt(String updatedAt) { return this; } public GetTlsPlatformCertificateResult build() { - final var o = new GetTlsPlatformCertificateResult(); - o.configurationId = configurationId; - o.createdAt = createdAt; - o.domains = domains; - o.id = id; - o.notAfter = notAfter; - o.notBefore = notBefore; - o.replace = replace; - o.updatedAt = updatedAt; - return o; + final var _resultValue = new GetTlsPlatformCertificateResult(); + _resultValue.configurationId = configurationId; + _resultValue.createdAt = createdAt; + _resultValue.domains = domains; + _resultValue.id = id; + _resultValue.notAfter = notAfter; + _resultValue.notBefore = notBefore; + _resultValue.replace = replace; + _resultValue.updatedAt = updatedAt; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsPrivateKeyIdsResult.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsPrivateKeyIdsResult.java index 4486f513..8f43748e 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsPrivateKeyIdsResult.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsPrivateKeyIdsResult.java @@ -69,10 +69,10 @@ public Builder ids(String... ids) { return ids(List.of(ids)); } public GetTlsPrivateKeyIdsResult build() { - final var o = new GetTlsPrivateKeyIdsResult(); - o.id = id; - o.ids = ids; - return o; + final var _resultValue = new GetTlsPrivateKeyIdsResult(); + _resultValue.id = id; + _resultValue.ids = ids; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsPrivateKeyResult.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsPrivateKeyResult.java index 66aaca6e..474a157a 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsPrivateKeyResult.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsPrivateKeyResult.java @@ -162,15 +162,15 @@ public Builder replace(Boolean replace) { return this; } public GetTlsPrivateKeyResult build() { - final var o = new GetTlsPrivateKeyResult(); - o.createdAt = createdAt; - o.id = id; - o.keyLength = keyLength; - o.keyType = keyType; - o.name = name; - o.publicKeySha1 = publicKeySha1; - o.replace = replace; - return o; + final var _resultValue = new GetTlsPrivateKeyResult(); + _resultValue.createdAt = createdAt; + _resultValue.id = id; + _resultValue.keyLength = keyLength; + _resultValue.keyType = keyType; + _resultValue.name = name; + _resultValue.publicKeySha1 = publicKeySha1; + _resultValue.replace = replace; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsSubscriptionIdsResult.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsSubscriptionIdsResult.java index 85c7132c..cc559785 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsSubscriptionIdsResult.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsSubscriptionIdsResult.java @@ -69,10 +69,10 @@ public Builder ids(String... ids) { return ids(List.of(ids)); } public GetTlsSubscriptionIdsResult build() { - final var o = new GetTlsSubscriptionIdsResult(); - o.id = id; - o.ids = ids; - return o; + final var _resultValue = new GetTlsSubscriptionIdsResult(); + _resultValue.id = id; + _resultValue.ids = ids; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsSubscriptionResult.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsSubscriptionResult.java index 3f1b0e07..cae304b6 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsSubscriptionResult.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetTlsSubscriptionResult.java @@ -183,16 +183,16 @@ public Builder updatedAt(String updatedAt) { return this; } public GetTlsSubscriptionResult build() { - final var o = new GetTlsSubscriptionResult(); - o.certificateAuthority = certificateAuthority; - o.commonName = commonName; - o.configurationId = configurationId; - o.createdAt = createdAt; - o.domains = domains; - o.id = id; - o.state = state; - o.updatedAt = updatedAt; - return o; + final var _resultValue = new GetTlsSubscriptionResult(); + _resultValue.certificateAuthority = certificateAuthority; + _resultValue.commonName = commonName; + _resultValue.configurationId = configurationId; + _resultValue.createdAt = createdAt; + _resultValue.domains = domains; + _resultValue.id = id; + _resultValue.state = state; + _resultValue.updatedAt = updatedAt; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetWafRulesResult.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetWafRulesResult.java index 13e8b4e5..a33f3205 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetWafRulesResult.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetWafRulesResult.java @@ -160,14 +160,14 @@ public Builder tags(String... tags) { return tags(List.of(tags)); } public GetWafRulesResult build() { - final var o = new GetWafRulesResult(); - o.excludeModsecRuleIds = excludeModsecRuleIds; - o.id = id; - o.modsecRuleIds = modsecRuleIds; - o.publishers = publishers; - o.rules = rules; - o.tags = tags; - return o; + final var _resultValue = new GetWafRulesResult(); + _resultValue.excludeModsecRuleIds = excludeModsecRuleIds; + _resultValue.id = id; + _resultValue.modsecRuleIds = modsecRuleIds; + _resultValue.publishers = publishers; + _resultValue.rules = rules; + _resultValue.tags = tags; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetWafRulesRule.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetWafRulesRule.java index 8c34b83c..21f4ce69 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetWafRulesRule.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/GetWafRulesRule.java @@ -61,11 +61,11 @@ public Builder type(String type) { return this; } public GetWafRulesRule build() { - final var o = new GetWafRulesRule(); - o.latestRevisionNumber = latestRevisionNumber; - o.modsecRuleId = modsecRuleId; - o.type = type; - return o; + final var _resultValue = new GetWafRulesRule(); + _resultValue.latestRevisionNumber = latestRevisionNumber; + _resultValue.modsecRuleId = modsecRuleId; + _resultValue.type = type; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceACLEntriesEntry.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceACLEntriesEntry.java index 5b58950b..86758de1 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceACLEntriesEntry.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceACLEntriesEntry.java @@ -125,13 +125,13 @@ public Builder subnet(@Nullable String subnet) { return this; } public ServiceACLEntriesEntry build() { - final var o = new ServiceACLEntriesEntry(); - o.comment = comment; - o.id = id; - o.ip = ip; - o.negated = negated; - o.subnet = subnet; - return o; + final var _resultValue = new ServiceACLEntriesEntry(); + _resultValue.comment = comment; + _resultValue.id = id; + _resultValue.ip = ip; + _resultValue.negated = negated; + _resultValue.subnet = subnet; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeBackend.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeBackend.java index 9722e687..8192ef81 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeBackend.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeBackend.java @@ -487,32 +487,32 @@ public Builder weight(@Nullable Integer weight) { return this; } public ServiceComputeBackend build() { - final var o = new ServiceComputeBackend(); - o.address = address; - o.betweenBytesTimeout = betweenBytesTimeout; - o.connectTimeout = connectTimeout; - o.errorThreshold = errorThreshold; - o.firstByteTimeout = firstByteTimeout; - o.healthcheck = healthcheck; - o.keepaliveTime = keepaliveTime; - o.maxConn = maxConn; - o.maxTlsVersion = maxTlsVersion; - o.minTlsVersion = minTlsVersion; - o.name = name; - o.overrideHost = overrideHost; - o.port = port; - o.shareKey = shareKey; - o.shield = shield; - o.sslCaCert = sslCaCert; - o.sslCertHostname = sslCertHostname; - o.sslCheckCert = sslCheckCert; - o.sslCiphers = sslCiphers; - o.sslClientCert = sslClientCert; - o.sslClientKey = sslClientKey; - o.sslSniHostname = sslSniHostname; - o.useSsl = useSsl; - o.weight = weight; - return o; + final var _resultValue = new ServiceComputeBackend(); + _resultValue.address = address; + _resultValue.betweenBytesTimeout = betweenBytesTimeout; + _resultValue.connectTimeout = connectTimeout; + _resultValue.errorThreshold = errorThreshold; + _resultValue.firstByteTimeout = firstByteTimeout; + _resultValue.healthcheck = healthcheck; + _resultValue.keepaliveTime = keepaliveTime; + _resultValue.maxConn = maxConn; + _resultValue.maxTlsVersion = maxTlsVersion; + _resultValue.minTlsVersion = minTlsVersion; + _resultValue.name = name; + _resultValue.overrideHost = overrideHost; + _resultValue.port = port; + _resultValue.shareKey = shareKey; + _resultValue.shield = shield; + _resultValue.sslCaCert = sslCaCert; + _resultValue.sslCertHostname = sslCertHostname; + _resultValue.sslCheckCert = sslCheckCert; + _resultValue.sslCiphers = sslCiphers; + _resultValue.sslClientCert = sslClientCert; + _resultValue.sslClientKey = sslClientKey; + _resultValue.sslSniHostname = sslSniHostname; + _resultValue.useSsl = useSsl; + _resultValue.weight = weight; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeDictionary.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeDictionary.java index 358c36bf..0d97b24d 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeDictionary.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeDictionary.java @@ -98,12 +98,12 @@ public Builder writeOnly(@Nullable Boolean writeOnly) { return this; } public ServiceComputeDictionary build() { - final var o = new ServiceComputeDictionary(); - o.dictionaryId = dictionaryId; - o.forceDestroy = forceDestroy; - o.name = name; - o.writeOnly = writeOnly; - return o; + final var _resultValue = new ServiceComputeDictionary(); + _resultValue.dictionaryId = dictionaryId; + _resultValue.forceDestroy = forceDestroy; + _resultValue.name = name; + _resultValue.writeOnly = writeOnly; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeDomain.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeDomain.java index 35aa673a..08c3c61d 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeDomain.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeDomain.java @@ -67,10 +67,10 @@ public Builder name(String name) { return this; } public ServiceComputeDomain build() { - final var o = new ServiceComputeDomain(); - o.comment = comment; - o.name = name; - return o; + final var _resultValue = new ServiceComputeDomain(); + _resultValue.comment = comment; + _resultValue.name = name; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingBigquery.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingBigquery.java index 56ea8768..edcb3161 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingBigquery.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingBigquery.java @@ -181,16 +181,16 @@ public Builder template(@Nullable String template) { return this; } public ServiceComputeLoggingBigquery build() { - final var o = new ServiceComputeLoggingBigquery(); - o.accountName = accountName; - o.dataset = dataset; - o.email = email; - o.name = name; - o.projectId = projectId; - o.secretKey = secretKey; - o.table = table; - o.template = template; - return o; + final var _resultValue = new ServiceComputeLoggingBigquery(); + _resultValue.accountName = accountName; + _resultValue.dataset = dataset; + _resultValue.email = email; + _resultValue.name = name; + _resultValue.projectId = projectId; + _resultValue.secretKey = secretKey; + _resultValue.table = table; + _resultValue.template = template; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingBlobstorage.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingBlobstorage.java index e26a6cc3..e4ffa510 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingBlobstorage.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingBlobstorage.java @@ -258,20 +258,20 @@ public Builder timestampFormat(@Nullable String timestampFormat) { return this; } public ServiceComputeLoggingBlobstorage build() { - final var o = new ServiceComputeLoggingBlobstorage(); - o.accountName = accountName; - o.compressionCodec = compressionCodec; - o.container = container; - o.fileMaxBytes = fileMaxBytes; - o.gzipLevel = gzipLevel; - o.messageType = messageType; - o.name = name; - o.path = path; - o.period = period; - o.publicKey = publicKey; - o.sasToken = sasToken; - o.timestampFormat = timestampFormat; - return o; + final var _resultValue = new ServiceComputeLoggingBlobstorage(); + _resultValue.accountName = accountName; + _resultValue.compressionCodec = compressionCodec; + _resultValue.container = container; + _resultValue.fileMaxBytes = fileMaxBytes; + _resultValue.gzipLevel = gzipLevel; + _resultValue.messageType = messageType; + _resultValue.name = name; + _resultValue.path = path; + _resultValue.period = period; + _resultValue.publicKey = publicKey; + _resultValue.sasToken = sasToken; + _resultValue.timestampFormat = timestampFormat; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingCloudfile.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingCloudfile.java index 86fb59b0..6c3fd587 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingCloudfile.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingCloudfile.java @@ -258,20 +258,20 @@ public Builder user(String user) { return this; } public ServiceComputeLoggingCloudfile build() { - final var o = new ServiceComputeLoggingCloudfile(); - o.accessKey = accessKey; - o.bucketName = bucketName; - o.compressionCodec = compressionCodec; - o.gzipLevel = gzipLevel; - o.messageType = messageType; - o.name = name; - o.path = path; - o.period = period; - o.publicKey = publicKey; - o.region = region; - o.timestampFormat = timestampFormat; - o.user = user; - return o; + final var _resultValue = new ServiceComputeLoggingCloudfile(); + _resultValue.accessKey = accessKey; + _resultValue.bucketName = bucketName; + _resultValue.compressionCodec = compressionCodec; + _resultValue.gzipLevel = gzipLevel; + _resultValue.messageType = messageType; + _resultValue.name = name; + _resultValue.path = path; + _resultValue.period = period; + _resultValue.publicKey = publicKey; + _resultValue.region = region; + _resultValue.timestampFormat = timestampFormat; + _resultValue.user = user; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingDatadog.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingDatadog.java index 698c293e..3a8aa375 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingDatadog.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingDatadog.java @@ -86,11 +86,11 @@ public Builder token(String token) { return this; } public ServiceComputeLoggingDatadog build() { - final var o = new ServiceComputeLoggingDatadog(); - o.name = name; - o.region = region; - o.token = token; - return o; + final var _resultValue = new ServiceComputeLoggingDatadog(); + _resultValue.name = name; + _resultValue.region = region; + _resultValue.token = token; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingDigitalocean.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingDigitalocean.java index e1b6c000..ed86c162 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingDigitalocean.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingDigitalocean.java @@ -258,20 +258,20 @@ public Builder timestampFormat(@Nullable String timestampFormat) { return this; } public ServiceComputeLoggingDigitalocean build() { - final var o = new ServiceComputeLoggingDigitalocean(); - o.accessKey = accessKey; - o.bucketName = bucketName; - o.compressionCodec = compressionCodec; - o.domain = domain; - o.gzipLevel = gzipLevel; - o.messageType = messageType; - o.name = name; - o.path = path; - o.period = period; - o.publicKey = publicKey; - o.secretKey = secretKey; - o.timestampFormat = timestampFormat; - return o; + final var _resultValue = new ServiceComputeLoggingDigitalocean(); + _resultValue.accessKey = accessKey; + _resultValue.bucketName = bucketName; + _resultValue.compressionCodec = compressionCodec; + _resultValue.domain = domain; + _resultValue.gzipLevel = gzipLevel; + _resultValue.messageType = messageType; + _resultValue.name = name; + _resultValue.path = path; + _resultValue.period = period; + _resultValue.publicKey = publicKey; + _resultValue.secretKey = secretKey; + _resultValue.timestampFormat = timestampFormat; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingElasticsearch.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingElasticsearch.java index bc3e53b2..8d4fca43 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingElasticsearch.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingElasticsearch.java @@ -258,20 +258,20 @@ public Builder user(@Nullable String user) { return this; } public ServiceComputeLoggingElasticsearch build() { - final var o = new ServiceComputeLoggingElasticsearch(); - o.index = index; - o.name = name; - o.password = password; - o.pipeline = pipeline; - o.requestMaxBytes = requestMaxBytes; - o.requestMaxEntries = requestMaxEntries; - o.tlsCaCert = tlsCaCert; - o.tlsClientCert = tlsClientCert; - o.tlsClientKey = tlsClientKey; - o.tlsHostname = tlsHostname; - o.url = url; - o.user = user; - return o; + final var _resultValue = new ServiceComputeLoggingElasticsearch(); + _resultValue.index = index; + _resultValue.name = name; + _resultValue.password = password; + _resultValue.pipeline = pipeline; + _resultValue.requestMaxBytes = requestMaxBytes; + _resultValue.requestMaxEntries = requestMaxEntries; + _resultValue.tlsCaCert = tlsCaCert; + _resultValue.tlsClientCert = tlsClientCert; + _resultValue.tlsClientKey = tlsClientKey; + _resultValue.tlsHostname = tlsHostname; + _resultValue.url = url; + _resultValue.user = user; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingFtp.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingFtp.java index df492dca..4e0e955d 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingFtp.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingFtp.java @@ -258,20 +258,20 @@ public Builder user(String user) { return this; } public ServiceComputeLoggingFtp build() { - final var o = new ServiceComputeLoggingFtp(); - o.address = address; - o.compressionCodec = compressionCodec; - o.gzipLevel = gzipLevel; - o.messageType = messageType; - o.name = name; - o.password = password; - o.path = path; - o.period = period; - o.port = port; - o.publicKey = publicKey; - o.timestampFormat = timestampFormat; - o.user = user; - return o; + final var _resultValue = new ServiceComputeLoggingFtp(); + _resultValue.address = address; + _resultValue.compressionCodec = compressionCodec; + _resultValue.gzipLevel = gzipLevel; + _resultValue.messageType = messageType; + _resultValue.name = name; + _resultValue.password = password; + _resultValue.path = path; + _resultValue.period = period; + _resultValue.port = port; + _resultValue.publicKey = publicKey; + _resultValue.timestampFormat = timestampFormat; + _resultValue.user = user; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingGc.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingGc.java index 2a7865c5..8e3614d7 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingGc.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingGc.java @@ -258,20 +258,20 @@ public Builder user(@Nullable String user) { return this; } public ServiceComputeLoggingGc build() { - final var o = new ServiceComputeLoggingGc(); - o.accountName = accountName; - o.bucketName = bucketName; - o.compressionCodec = compressionCodec; - o.gzipLevel = gzipLevel; - o.messageType = messageType; - o.name = name; - o.path = path; - o.period = period; - o.projectId = projectId; - o.secretKey = secretKey; - o.timestampFormat = timestampFormat; - o.user = user; - return o; + final var _resultValue = new ServiceComputeLoggingGc(); + _resultValue.accountName = accountName; + _resultValue.bucketName = bucketName; + _resultValue.compressionCodec = compressionCodec; + _resultValue.gzipLevel = gzipLevel; + _resultValue.messageType = messageType; + _resultValue.name = name; + _resultValue.path = path; + _resultValue.period = period; + _resultValue.projectId = projectId; + _resultValue.secretKey = secretKey; + _resultValue.timestampFormat = timestampFormat; + _resultValue.user = user; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingGooglepubsub.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingGooglepubsub.java index 1734792d..2eac08de 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingGooglepubsub.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingGooglepubsub.java @@ -143,14 +143,14 @@ public Builder user(String user) { return this; } public ServiceComputeLoggingGooglepubsub build() { - final var o = new ServiceComputeLoggingGooglepubsub(); - o.accountName = accountName; - o.name = name; - o.projectId = projectId; - o.secretKey = secretKey; - o.topic = topic; - o.user = user; - return o; + final var _resultValue = new ServiceComputeLoggingGooglepubsub(); + _resultValue.accountName = accountName; + _resultValue.name = name; + _resultValue.projectId = projectId; + _resultValue.secretKey = secretKey; + _resultValue.topic = topic; + _resultValue.user = user; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingHeroku.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingHeroku.java index d06b98fe..c2d57de9 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingHeroku.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingHeroku.java @@ -84,11 +84,11 @@ public Builder url(String url) { return this; } public ServiceComputeLoggingHeroku build() { - final var o = new ServiceComputeLoggingHeroku(); - o.name = name; - o.token = token; - o.url = url; - return o; + final var _resultValue = new ServiceComputeLoggingHeroku(); + _resultValue.name = name; + _resultValue.token = token; + _resultValue.url = url; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingHoneycomb.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingHoneycomb.java index 993d6a8b..8b2370df 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingHoneycomb.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingHoneycomb.java @@ -84,11 +84,11 @@ public Builder token(String token) { return this; } public ServiceComputeLoggingHoneycomb build() { - final var o = new ServiceComputeLoggingHoneycomb(); - o.dataset = dataset; - o.name = name; - o.token = token; - return o; + final var _resultValue = new ServiceComputeLoggingHoneycomb(); + _resultValue.dataset = dataset; + _resultValue.name = name; + _resultValue.token = token; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingHttp.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingHttp.java index 12ab79b4..7f2972c7 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingHttp.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingHttp.java @@ -296,22 +296,22 @@ public Builder url(String url) { return this; } public ServiceComputeLoggingHttp build() { - final var o = new ServiceComputeLoggingHttp(); - o.contentType = contentType; - o.headerName = headerName; - o.headerValue = headerValue; - o.jsonFormat = jsonFormat; - o.messageType = messageType; - o.method = method; - o.name = name; - o.requestMaxBytes = requestMaxBytes; - o.requestMaxEntries = requestMaxEntries; - o.tlsCaCert = tlsCaCert; - o.tlsClientCert = tlsClientCert; - o.tlsClientKey = tlsClientKey; - o.tlsHostname = tlsHostname; - o.url = url; - return o; + final var _resultValue = new ServiceComputeLoggingHttp(); + _resultValue.contentType = contentType; + _resultValue.headerName = headerName; + _resultValue.headerValue = headerValue; + _resultValue.jsonFormat = jsonFormat; + _resultValue.messageType = messageType; + _resultValue.method = method; + _resultValue.name = name; + _resultValue.requestMaxBytes = requestMaxBytes; + _resultValue.requestMaxEntries = requestMaxEntries; + _resultValue.tlsCaCert = tlsCaCert; + _resultValue.tlsClientCert = tlsClientCert; + _resultValue.tlsClientKey = tlsClientKey; + _resultValue.tlsHostname = tlsHostname; + _resultValue.url = url; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingKafka.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingKafka.java index 675d5f30..ff8d20ea 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingKafka.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingKafka.java @@ -316,23 +316,23 @@ public Builder user(@Nullable String user) { return this; } public ServiceComputeLoggingKafka build() { - final var o = new ServiceComputeLoggingKafka(); - o.authMethod = authMethod; - o.brokers = brokers; - o.compressionCodec = compressionCodec; - o.name = name; - o.parseLogKeyvals = parseLogKeyvals; - o.password = password; - o.requestMaxBytes = requestMaxBytes; - o.requiredAcks = requiredAcks; - o.tlsCaCert = tlsCaCert; - o.tlsClientCert = tlsClientCert; - o.tlsClientKey = tlsClientKey; - o.tlsHostname = tlsHostname; - o.topic = topic; - o.useTls = useTls; - o.user = user; - return o; + final var _resultValue = new ServiceComputeLoggingKafka(); + _resultValue.authMethod = authMethod; + _resultValue.brokers = brokers; + _resultValue.compressionCodec = compressionCodec; + _resultValue.name = name; + _resultValue.parseLogKeyvals = parseLogKeyvals; + _resultValue.password = password; + _resultValue.requestMaxBytes = requestMaxBytes; + _resultValue.requiredAcks = requiredAcks; + _resultValue.tlsCaCert = tlsCaCert; + _resultValue.tlsClientCert = tlsClientCert; + _resultValue.tlsClientKey = tlsClientKey; + _resultValue.tlsHostname = tlsHostname; + _resultValue.topic = topic; + _resultValue.useTls = useTls; + _resultValue.user = user; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingKinese.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingKinese.java index a213cf44..d93cb0a9 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingKinese.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingKinese.java @@ -143,14 +143,14 @@ public Builder topic(String topic) { return this; } public ServiceComputeLoggingKinese build() { - final var o = new ServiceComputeLoggingKinese(); - o.accessKey = accessKey; - o.iamRole = iamRole; - o.name = name; - o.region = region; - o.secretKey = secretKey; - o.topic = topic; - return o; + final var _resultValue = new ServiceComputeLoggingKinese(); + _resultValue.accessKey = accessKey; + _resultValue.iamRole = iamRole; + _resultValue.name = name; + _resultValue.region = region; + _resultValue.secretKey = secretKey; + _resultValue.topic = topic; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingLogentry.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingLogentry.java index 85a9973f..c8779f52 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingLogentry.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingLogentry.java @@ -107,12 +107,12 @@ public Builder useTls(@Nullable Boolean useTls) { return this; } public ServiceComputeLoggingLogentry build() { - final var o = new ServiceComputeLoggingLogentry(); - o.name = name; - o.port = port; - o.token = token; - o.useTls = useTls; - return o; + final var _resultValue = new ServiceComputeLoggingLogentry(); + _resultValue.name = name; + _resultValue.port = port; + _resultValue.token = token; + _resultValue.useTls = useTls; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingLoggly.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingLoggly.java index 351c9f7c..866eeedc 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingLoggly.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingLoggly.java @@ -65,10 +65,10 @@ public Builder token(String token) { return this; } public ServiceComputeLoggingLoggly build() { - final var o = new ServiceComputeLoggingLoggly(); - o.name = name; - o.token = token; - return o; + final var _resultValue = new ServiceComputeLoggingLoggly(); + _resultValue.name = name; + _resultValue.token = token; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingLogshuttle.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingLogshuttle.java index f31ead7a..7215e9c4 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingLogshuttle.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingLogshuttle.java @@ -84,11 +84,11 @@ public Builder url(String url) { return this; } public ServiceComputeLoggingLogshuttle build() { - final var o = new ServiceComputeLoggingLogshuttle(); - o.name = name; - o.token = token; - o.url = url; - return o; + final var _resultValue = new ServiceComputeLoggingLogshuttle(); + _resultValue.name = name; + _resultValue.token = token; + _resultValue.url = url; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingNewrelic.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingNewrelic.java index b19e86e7..14c8936c 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingNewrelic.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingNewrelic.java @@ -86,11 +86,11 @@ public Builder token(String token) { return this; } public ServiceComputeLoggingNewrelic build() { - final var o = new ServiceComputeLoggingNewrelic(); - o.name = name; - o.region = region; - o.token = token; - return o; + final var _resultValue = new ServiceComputeLoggingNewrelic(); + _resultValue.name = name; + _resultValue.region = region; + _resultValue.token = token; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingOpenstack.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingOpenstack.java index b080debd..e657af85 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingOpenstack.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingOpenstack.java @@ -258,20 +258,20 @@ public Builder user(String user) { return this; } public ServiceComputeLoggingOpenstack build() { - final var o = new ServiceComputeLoggingOpenstack(); - o.accessKey = accessKey; - o.bucketName = bucketName; - o.compressionCodec = compressionCodec; - o.gzipLevel = gzipLevel; - o.messageType = messageType; - o.name = name; - o.path = path; - o.period = period; - o.publicKey = publicKey; - o.timestampFormat = timestampFormat; - o.url = url; - o.user = user; - return o; + final var _resultValue = new ServiceComputeLoggingOpenstack(); + _resultValue.accessKey = accessKey; + _resultValue.bucketName = bucketName; + _resultValue.compressionCodec = compressionCodec; + _resultValue.gzipLevel = gzipLevel; + _resultValue.messageType = messageType; + _resultValue.name = name; + _resultValue.path = path; + _resultValue.period = period; + _resultValue.publicKey = publicKey; + _resultValue.timestampFormat = timestampFormat; + _resultValue.url = url; + _resultValue.user = user; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingPapertrail.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingPapertrail.java index b693a2ab..ea2b1cb5 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingPapertrail.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingPapertrail.java @@ -85,11 +85,11 @@ public Builder port(Integer port) { return this; } public ServiceComputeLoggingPapertrail build() { - final var o = new ServiceComputeLoggingPapertrail(); - o.address = address; - o.name = name; - o.port = port; - return o; + final var _resultValue = new ServiceComputeLoggingPapertrail(); + _resultValue.address = address; + _resultValue.name = name; + _resultValue.port = port; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingS3.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingS3.java index 1fe61584..0d62b7f4 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingS3.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingS3.java @@ -372,26 +372,26 @@ public Builder timestampFormat(@Nullable String timestampFormat) { return this; } public ServiceComputeLoggingS3 build() { - final var o = new ServiceComputeLoggingS3(); - o.acl = acl; - o.bucketName = bucketName; - o.compressionCodec = compressionCodec; - o.domain = domain; - o.fileMaxBytes = fileMaxBytes; - o.gzipLevel = gzipLevel; - o.messageType = messageType; - o.name = name; - o.path = path; - o.period = period; - o.publicKey = publicKey; - o.redundancy = redundancy; - o.s3AccessKey = s3AccessKey; - o.s3IamRole = s3IamRole; - o.s3SecretKey = s3SecretKey; - o.serverSideEncryption = serverSideEncryption; - o.serverSideEncryptionKmsKeyId = serverSideEncryptionKmsKeyId; - o.timestampFormat = timestampFormat; - return o; + final var _resultValue = new ServiceComputeLoggingS3(); + _resultValue.acl = acl; + _resultValue.bucketName = bucketName; + _resultValue.compressionCodec = compressionCodec; + _resultValue.domain = domain; + _resultValue.fileMaxBytes = fileMaxBytes; + _resultValue.gzipLevel = gzipLevel; + _resultValue.messageType = messageType; + _resultValue.name = name; + _resultValue.path = path; + _resultValue.period = period; + _resultValue.publicKey = publicKey; + _resultValue.redundancy = redundancy; + _resultValue.s3AccessKey = s3AccessKey; + _resultValue.s3IamRole = s3IamRole; + _resultValue.s3SecretKey = s3SecretKey; + _resultValue.serverSideEncryption = serverSideEncryption; + _resultValue.serverSideEncryptionKmsKeyId = serverSideEncryptionKmsKeyId; + _resultValue.timestampFormat = timestampFormat; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingScalyr.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingScalyr.java index 5457e5d1..18a464d8 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingScalyr.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingScalyr.java @@ -86,11 +86,11 @@ public Builder token(String token) { return this; } public ServiceComputeLoggingScalyr build() { - final var o = new ServiceComputeLoggingScalyr(); - o.name = name; - o.region = region; - o.token = token; - return o; + final var _resultValue = new ServiceComputeLoggingScalyr(); + _resultValue.name = name; + _resultValue.region = region; + _resultValue.token = token; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingSftp.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingSftp.java index b75af7d7..9fec1f51 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingSftp.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingSftp.java @@ -296,22 +296,22 @@ public Builder user(String user) { return this; } public ServiceComputeLoggingSftp build() { - final var o = new ServiceComputeLoggingSftp(); - o.address = address; - o.compressionCodec = compressionCodec; - o.gzipLevel = gzipLevel; - o.messageType = messageType; - o.name = name; - o.password = password; - o.path = path; - o.period = period; - o.port = port; - o.publicKey = publicKey; - o.secretKey = secretKey; - o.sshKnownHosts = sshKnownHosts; - o.timestampFormat = timestampFormat; - o.user = user; - return o; + final var _resultValue = new ServiceComputeLoggingSftp(); + _resultValue.address = address; + _resultValue.compressionCodec = compressionCodec; + _resultValue.gzipLevel = gzipLevel; + _resultValue.messageType = messageType; + _resultValue.name = name; + _resultValue.password = password; + _resultValue.path = path; + _resultValue.period = period; + _resultValue.port = port; + _resultValue.publicKey = publicKey; + _resultValue.secretKey = secretKey; + _resultValue.sshKnownHosts = sshKnownHosts; + _resultValue.timestampFormat = timestampFormat; + _resultValue.user = user; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingSplunk.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingSplunk.java index c85dab5e..48dffc64 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingSplunk.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingSplunk.java @@ -182,16 +182,16 @@ public Builder useTls(@Nullable Boolean useTls) { return this; } public ServiceComputeLoggingSplunk build() { - final var o = new ServiceComputeLoggingSplunk(); - o.name = name; - o.tlsCaCert = tlsCaCert; - o.tlsClientCert = tlsClientCert; - o.tlsClientKey = tlsClientKey; - o.tlsHostname = tlsHostname; - o.token = token; - o.url = url; - o.useTls = useTls; - return o; + final var _resultValue = new ServiceComputeLoggingSplunk(); + _resultValue.name = name; + _resultValue.tlsCaCert = tlsCaCert; + _resultValue.tlsClientCert = tlsClientCert; + _resultValue.tlsClientKey = tlsClientKey; + _resultValue.tlsHostname = tlsHostname; + _resultValue.token = token; + _resultValue.url = url; + _resultValue.useTls = useTls; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingSumologic.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingSumologic.java index 9a1a6d4f..507be352 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingSumologic.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingSumologic.java @@ -86,11 +86,11 @@ public Builder url(String url) { return this; } public ServiceComputeLoggingSumologic build() { - final var o = new ServiceComputeLoggingSumologic(); - o.messageType = messageType; - o.name = name; - o.url = url; - return o; + final var _resultValue = new ServiceComputeLoggingSumologic(); + _resultValue.messageType = messageType; + _resultValue.name = name; + _resultValue.url = url; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingSyslog.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingSyslog.java index bd8065d0..c2307c20 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingSyslog.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeLoggingSyslog.java @@ -221,18 +221,18 @@ public Builder useTls(@Nullable Boolean useTls) { return this; } public ServiceComputeLoggingSyslog build() { - final var o = new ServiceComputeLoggingSyslog(); - o.address = address; - o.messageType = messageType; - o.name = name; - o.port = port; - o.tlsCaCert = tlsCaCert; - o.tlsClientCert = tlsClientCert; - o.tlsClientKey = tlsClientKey; - o.tlsHostname = tlsHostname; - o.token = token; - o.useTls = useTls; - return o; + final var _resultValue = new ServiceComputeLoggingSyslog(); + _resultValue.address = address; + _resultValue.messageType = messageType; + _resultValue.name = name; + _resultValue.port = port; + _resultValue.tlsCaCert = tlsCaCert; + _resultValue.tlsClientCert = tlsClientCert; + _resultValue.tlsClientKey = tlsClientKey; + _resultValue.tlsHostname = tlsHostname; + _resultValue.token = token; + _resultValue.useTls = useTls; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputePackage.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputePackage.java index cc257ef4..d75e2a3c 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputePackage.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputePackage.java @@ -86,11 +86,11 @@ public Builder sourceCodeHash(@Nullable String sourceCodeHash) { return this; } public ServiceComputePackage build() { - final var o = new ServiceComputePackage(); - o.content = content; - o.filename = filename; - o.sourceCodeHash = sourceCodeHash; - return o; + final var _resultValue = new ServiceComputePackage(); + _resultValue.content = content; + _resultValue.filename = filename; + _resultValue.sourceCodeHash = sourceCodeHash; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeProductEnablement.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeProductEnablement.java index 83369e96..a5aeddef 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeProductEnablement.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeProductEnablement.java @@ -18,7 +18,7 @@ public final class ServiceComputeProductEnablement { */ private @Nullable Boolean fanout; /** - * @return Used internally by the provider to identify modified settings + * @return Used by the provider to identify modified settings (changing this value will force the entire block to be deleted, then recreated) * */ private @Nullable String name; @@ -37,7 +37,7 @@ public Optional fanout() { return Optional.ofNullable(this.fanout); } /** - * @return Used internally by the provider to identify modified settings + * @return Used by the provider to identify modified settings (changing this value will force the entire block to be deleted, then recreated) * */ public Optional name() { @@ -87,11 +87,11 @@ public Builder websockets(@Nullable Boolean websockets) { return this; } public ServiceComputeProductEnablement build() { - final var o = new ServiceComputeProductEnablement(); - o.fanout = fanout; - o.name = name; - o.websockets = websockets; - return o; + final var _resultValue = new ServiceComputeProductEnablement(); + _resultValue.fanout = fanout; + _resultValue.name = name; + _resultValue.websockets = websockets; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeResourceLink.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeResourceLink.java index 5ed6d62e..b5bf01b4 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeResourceLink.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceComputeResourceLink.java @@ -86,11 +86,11 @@ public Builder resourceId(String resourceId) { return this; } public ServiceComputeResourceLink build() { - final var o = new ServiceComputeResourceLink(); - o.linkId = linkId; - o.name = name; - o.resourceId = resourceId; - return o; + final var _resultValue = new ServiceComputeResourceLink(); + _resultValue.linkId = linkId; + _resultValue.name = name; + _resultValue.resourceId = resourceId; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclAcl.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclAcl.java index 4e380ebc..1cbb93b9 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclAcl.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclAcl.java @@ -87,11 +87,11 @@ public Builder name(String name) { return this; } public ServiceVclAcl build() { - final var o = new ServiceVclAcl(); - o.aclId = aclId; - o.forceDestroy = forceDestroy; - o.name = name; - return o; + final var _resultValue = new ServiceVclAcl(); + _resultValue.aclId = aclId; + _resultValue.forceDestroy = forceDestroy; + _resultValue.name = name; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclBackend.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclBackend.java index f019f6a1..11eb3232 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclBackend.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclBackend.java @@ -525,34 +525,34 @@ public Builder weight(@Nullable Integer weight) { return this; } public ServiceVclBackend build() { - final var o = new ServiceVclBackend(); - o.address = address; - o.autoLoadbalance = autoLoadbalance; - o.betweenBytesTimeout = betweenBytesTimeout; - o.connectTimeout = connectTimeout; - o.errorThreshold = errorThreshold; - o.firstByteTimeout = firstByteTimeout; - o.healthcheck = healthcheck; - o.keepaliveTime = keepaliveTime; - o.maxConn = maxConn; - o.maxTlsVersion = maxTlsVersion; - o.minTlsVersion = minTlsVersion; - o.name = name; - o.overrideHost = overrideHost; - o.port = port; - o.requestCondition = requestCondition; - o.shareKey = shareKey; - o.shield = shield; - o.sslCaCert = sslCaCert; - o.sslCertHostname = sslCertHostname; - o.sslCheckCert = sslCheckCert; - o.sslCiphers = sslCiphers; - o.sslClientCert = sslClientCert; - o.sslClientKey = sslClientKey; - o.sslSniHostname = sslSniHostname; - o.useSsl = useSsl; - o.weight = weight; - return o; + final var _resultValue = new ServiceVclBackend(); + _resultValue.address = address; + _resultValue.autoLoadbalance = autoLoadbalance; + _resultValue.betweenBytesTimeout = betweenBytesTimeout; + _resultValue.connectTimeout = connectTimeout; + _resultValue.errorThreshold = errorThreshold; + _resultValue.firstByteTimeout = firstByteTimeout; + _resultValue.healthcheck = healthcheck; + _resultValue.keepaliveTime = keepaliveTime; + _resultValue.maxConn = maxConn; + _resultValue.maxTlsVersion = maxTlsVersion; + _resultValue.minTlsVersion = minTlsVersion; + _resultValue.name = name; + _resultValue.overrideHost = overrideHost; + _resultValue.port = port; + _resultValue.requestCondition = requestCondition; + _resultValue.shareKey = shareKey; + _resultValue.shield = shield; + _resultValue.sslCaCert = sslCaCert; + _resultValue.sslCertHostname = sslCertHostname; + _resultValue.sslCheckCert = sslCheckCert; + _resultValue.sslCiphers = sslCiphers; + _resultValue.sslClientCert = sslClientCert; + _resultValue.sslClientKey = sslClientKey; + _resultValue.sslSniHostname = sslSniHostname; + _resultValue.useSsl = useSsl; + _resultValue.weight = weight; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclCacheSetting.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclCacheSetting.java index a2ba89ef..f6164b53 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclCacheSetting.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclCacheSetting.java @@ -125,13 +125,13 @@ public Builder ttl(@Nullable Integer ttl) { return this; } public ServiceVclCacheSetting build() { - final var o = new ServiceVclCacheSetting(); - o.action = action; - o.cacheCondition = cacheCondition; - o.name = name; - o.staleTtl = staleTtl; - o.ttl = ttl; - return o; + final var _resultValue = new ServiceVclCacheSetting(); + _resultValue.action = action; + _resultValue.cacheCondition = cacheCondition; + _resultValue.name = name; + _resultValue.staleTtl = staleTtl; + _resultValue.ttl = ttl; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclCondition.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclCondition.java index 295624d6..41132757 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclCondition.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclCondition.java @@ -106,12 +106,12 @@ public Builder type(String type) { return this; } public ServiceVclCondition build() { - final var o = new ServiceVclCondition(); - o.name = name; - o.priority = priority; - o.statement = statement; - o.type = type; - return o; + final var _resultValue = new ServiceVclCondition(); + _resultValue.name = name; + _resultValue.priority = priority; + _resultValue.statement = statement; + _resultValue.type = type; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclDictionary.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclDictionary.java index 661013a2..e2bb52f6 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclDictionary.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclDictionary.java @@ -98,12 +98,12 @@ public Builder writeOnly(@Nullable Boolean writeOnly) { return this; } public ServiceVclDictionary build() { - final var o = new ServiceVclDictionary(); - o.dictionaryId = dictionaryId; - o.forceDestroy = forceDestroy; - o.name = name; - o.writeOnly = writeOnly; - return o; + final var _resultValue = new ServiceVclDictionary(); + _resultValue.dictionaryId = dictionaryId; + _resultValue.forceDestroy = forceDestroy; + _resultValue.name = name; + _resultValue.writeOnly = writeOnly; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclDirector.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclDirector.java index 9cf57ca3..5a935e30 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclDirector.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclDirector.java @@ -167,15 +167,15 @@ public Builder type(@Nullable Integer type) { return this; } public ServiceVclDirector build() { - final var o = new ServiceVclDirector(); - o.backends = backends; - o.comment = comment; - o.name = name; - o.quorum = quorum; - o.retries = retries; - o.shield = shield; - o.type = type; - return o; + final var _resultValue = new ServiceVclDirector(); + _resultValue.backends = backends; + _resultValue.comment = comment; + _resultValue.name = name; + _resultValue.quorum = quorum; + _resultValue.retries = retries; + _resultValue.shield = shield; + _resultValue.type = type; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclDomain.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclDomain.java index b45e2ce0..985e6942 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclDomain.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclDomain.java @@ -67,10 +67,10 @@ public Builder name(String name) { return this; } public ServiceVclDomain build() { - final var o = new ServiceVclDomain(); - o.comment = comment; - o.name = name; - return o; + final var _resultValue = new ServiceVclDomain(); + _resultValue.comment = comment; + _resultValue.name = name; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclDynamicsnippet.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclDynamicsnippet.java index 8c7592e6..868d3dc0 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclDynamicsnippet.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclDynamicsnippet.java @@ -125,13 +125,13 @@ public Builder type(String type) { return this; } public ServiceVclDynamicsnippet build() { - final var o = new ServiceVclDynamicsnippet(); - o.content = content; - o.name = name; - o.priority = priority; - o.snippetId = snippetId; - o.type = type; - return o; + final var _resultValue = new ServiceVclDynamicsnippet(); + _resultValue.content = content; + _resultValue.name = name; + _resultValue.priority = priority; + _resultValue.snippetId = snippetId; + _resultValue.type = type; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclGzip.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclGzip.java index d99dc49e..27fb54c4 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclGzip.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclGzip.java @@ -112,12 +112,12 @@ public Builder name(String name) { return this; } public ServiceVclGzip build() { - final var o = new ServiceVclGzip(); - o.cacheCondition = cacheCondition; - o.contentTypes = contentTypes; - o.extensions = extensions; - o.name = name; - return o; + final var _resultValue = new ServiceVclGzip(); + _resultValue.cacheCondition = cacheCondition; + _resultValue.contentTypes = contentTypes; + _resultValue.extensions = extensions; + _resultValue.name = name; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclHeader.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclHeader.java index ca52a734..9aeae63e 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclHeader.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclHeader.java @@ -259,20 +259,20 @@ public Builder type(String type) { return this; } public ServiceVclHeader build() { - final var o = new ServiceVclHeader(); - o.action = action; - o.cacheCondition = cacheCondition; - o.destination = destination; - o.ignoreIfSet = ignoreIfSet; - o.name = name; - o.priority = priority; - o.regex = regex; - o.requestCondition = requestCondition; - o.responseCondition = responseCondition; - o.source = source; - o.substitution = substitution; - o.type = type; - return o; + final var _resultValue = new ServiceVclHeader(); + _resultValue.action = action; + _resultValue.cacheCondition = cacheCondition; + _resultValue.destination = destination; + _resultValue.ignoreIfSet = ignoreIfSet; + _resultValue.name = name; + _resultValue.priority = priority; + _resultValue.regex = regex; + _resultValue.requestCondition = requestCondition; + _resultValue.responseCondition = responseCondition; + _resultValue.source = source; + _resultValue.substitution = substitution; + _resultValue.type = type; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclHealthcheck.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclHealthcheck.java index b3d55182..26549046 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclHealthcheck.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclHealthcheck.java @@ -262,20 +262,20 @@ public Builder window(@Nullable Integer window) { return this; } public ServiceVclHealthcheck build() { - final var o = new ServiceVclHealthcheck(); - o.checkInterval = checkInterval; - o.expectedResponse = expectedResponse; - o.headers = headers; - o.host = host; - o.httpVersion = httpVersion; - o.initial = initial; - o.method = method; - o.name = name; - o.path = path; - o.threshold = threshold; - o.timeout = timeout; - o.window = window; - return o; + final var _resultValue = new ServiceVclHealthcheck(); + _resultValue.checkInterval = checkInterval; + _resultValue.expectedResponse = expectedResponse; + _resultValue.headers = headers; + _resultValue.host = host; + _resultValue.httpVersion = httpVersion; + _resultValue.initial = initial; + _resultValue.method = method; + _resultValue.name = name; + _resultValue.path = path; + _resultValue.threshold = threshold; + _resultValue.timeout = timeout; + _resultValue.window = window; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingBigquery.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingBigquery.java index 04bafeed..51248012 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingBigquery.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingBigquery.java @@ -238,19 +238,19 @@ public Builder template(@Nullable String template) { return this; } public ServiceVclLoggingBigquery build() { - final var o = new ServiceVclLoggingBigquery(); - o.accountName = accountName; - o.dataset = dataset; - o.email = email; - o.format = format; - o.name = name; - o.placement = placement; - o.projectId = projectId; - o.responseCondition = responseCondition; - o.secretKey = secretKey; - o.table = table; - o.template = template; - return o; + final var _resultValue = new ServiceVclLoggingBigquery(); + _resultValue.accountName = accountName; + _resultValue.dataset = dataset; + _resultValue.email = email; + _resultValue.format = format; + _resultValue.name = name; + _resultValue.placement = placement; + _resultValue.projectId = projectId; + _resultValue.responseCondition = responseCondition; + _resultValue.secretKey = secretKey; + _resultValue.table = table; + _resultValue.template = template; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingBlobstorage.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingBlobstorage.java index 8564c451..d8727bc0 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingBlobstorage.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingBlobstorage.java @@ -334,24 +334,24 @@ public Builder timestampFormat(@Nullable String timestampFormat) { return this; } public ServiceVclLoggingBlobstorage build() { - final var o = new ServiceVclLoggingBlobstorage(); - o.accountName = accountName; - o.compressionCodec = compressionCodec; - o.container = container; - o.fileMaxBytes = fileMaxBytes; - o.format = format; - o.formatVersion = formatVersion; - o.gzipLevel = gzipLevel; - o.messageType = messageType; - o.name = name; - o.path = path; - o.period = period; - o.placement = placement; - o.publicKey = publicKey; - o.responseCondition = responseCondition; - o.sasToken = sasToken; - o.timestampFormat = timestampFormat; - return o; + final var _resultValue = new ServiceVclLoggingBlobstorage(); + _resultValue.accountName = accountName; + _resultValue.compressionCodec = compressionCodec; + _resultValue.container = container; + _resultValue.fileMaxBytes = fileMaxBytes; + _resultValue.format = format; + _resultValue.formatVersion = formatVersion; + _resultValue.gzipLevel = gzipLevel; + _resultValue.messageType = messageType; + _resultValue.name = name; + _resultValue.path = path; + _resultValue.period = period; + _resultValue.placement = placement; + _resultValue.publicKey = publicKey; + _resultValue.responseCondition = responseCondition; + _resultValue.sasToken = sasToken; + _resultValue.timestampFormat = timestampFormat; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingCloudfile.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingCloudfile.java index 06814f19..cf30d0ff 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingCloudfile.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingCloudfile.java @@ -334,24 +334,24 @@ public Builder user(String user) { return this; } public ServiceVclLoggingCloudfile build() { - final var o = new ServiceVclLoggingCloudfile(); - o.accessKey = accessKey; - o.bucketName = bucketName; - o.compressionCodec = compressionCodec; - o.format = format; - o.formatVersion = formatVersion; - o.gzipLevel = gzipLevel; - o.messageType = messageType; - o.name = name; - o.path = path; - o.period = period; - o.placement = placement; - o.publicKey = publicKey; - o.region = region; - o.responseCondition = responseCondition; - o.timestampFormat = timestampFormat; - o.user = user; - return o; + final var _resultValue = new ServiceVclLoggingCloudfile(); + _resultValue.accessKey = accessKey; + _resultValue.bucketName = bucketName; + _resultValue.compressionCodec = compressionCodec; + _resultValue.format = format; + _resultValue.formatVersion = formatVersion; + _resultValue.gzipLevel = gzipLevel; + _resultValue.messageType = messageType; + _resultValue.name = name; + _resultValue.path = path; + _resultValue.period = period; + _resultValue.placement = placement; + _resultValue.publicKey = publicKey; + _resultValue.region = region; + _resultValue.responseCondition = responseCondition; + _resultValue.timestampFormat = timestampFormat; + _resultValue.user = user; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingDatadog.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingDatadog.java index 44bc1d70..21839cfc 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingDatadog.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingDatadog.java @@ -163,15 +163,15 @@ public Builder token(String token) { return this; } public ServiceVclLoggingDatadog build() { - final var o = new ServiceVclLoggingDatadog(); - o.format = format; - o.formatVersion = formatVersion; - o.name = name; - o.placement = placement; - o.region = region; - o.responseCondition = responseCondition; - o.token = token; - return o; + final var _resultValue = new ServiceVclLoggingDatadog(); + _resultValue.format = format; + _resultValue.formatVersion = formatVersion; + _resultValue.name = name; + _resultValue.placement = placement; + _resultValue.region = region; + _resultValue.responseCondition = responseCondition; + _resultValue.token = token; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingDigitalocean.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingDigitalocean.java index 50639804..1d4f56a9 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingDigitalocean.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingDigitalocean.java @@ -334,24 +334,24 @@ public Builder timestampFormat(@Nullable String timestampFormat) { return this; } public ServiceVclLoggingDigitalocean build() { - final var o = new ServiceVclLoggingDigitalocean(); - o.accessKey = accessKey; - o.bucketName = bucketName; - o.compressionCodec = compressionCodec; - o.domain = domain; - o.format = format; - o.formatVersion = formatVersion; - o.gzipLevel = gzipLevel; - o.messageType = messageType; - o.name = name; - o.path = path; - o.period = period; - o.placement = placement; - o.publicKey = publicKey; - o.responseCondition = responseCondition; - o.secretKey = secretKey; - o.timestampFormat = timestampFormat; - return o; + final var _resultValue = new ServiceVclLoggingDigitalocean(); + _resultValue.accessKey = accessKey; + _resultValue.bucketName = bucketName; + _resultValue.compressionCodec = compressionCodec; + _resultValue.domain = domain; + _resultValue.format = format; + _resultValue.formatVersion = formatVersion; + _resultValue.gzipLevel = gzipLevel; + _resultValue.messageType = messageType; + _resultValue.name = name; + _resultValue.path = path; + _resultValue.period = period; + _resultValue.placement = placement; + _resultValue.publicKey = publicKey; + _resultValue.responseCondition = responseCondition; + _resultValue.secretKey = secretKey; + _resultValue.timestampFormat = timestampFormat; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingElasticsearch.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingElasticsearch.java index 73c46f11..c8180aa7 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingElasticsearch.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingElasticsearch.java @@ -334,24 +334,24 @@ public Builder user(@Nullable String user) { return this; } public ServiceVclLoggingElasticsearch build() { - final var o = new ServiceVclLoggingElasticsearch(); - o.format = format; - o.formatVersion = formatVersion; - o.index = index; - o.name = name; - o.password = password; - o.pipeline = pipeline; - o.placement = placement; - o.requestMaxBytes = requestMaxBytes; - o.requestMaxEntries = requestMaxEntries; - o.responseCondition = responseCondition; - o.tlsCaCert = tlsCaCert; - o.tlsClientCert = tlsClientCert; - o.tlsClientKey = tlsClientKey; - o.tlsHostname = tlsHostname; - o.url = url; - o.user = user; - return o; + final var _resultValue = new ServiceVclLoggingElasticsearch(); + _resultValue.format = format; + _resultValue.formatVersion = formatVersion; + _resultValue.index = index; + _resultValue.name = name; + _resultValue.password = password; + _resultValue.pipeline = pipeline; + _resultValue.placement = placement; + _resultValue.requestMaxBytes = requestMaxBytes; + _resultValue.requestMaxEntries = requestMaxEntries; + _resultValue.responseCondition = responseCondition; + _resultValue.tlsCaCert = tlsCaCert; + _resultValue.tlsClientCert = tlsClientCert; + _resultValue.tlsClientKey = tlsClientKey; + _resultValue.tlsHostname = tlsHostname; + _resultValue.url = url; + _resultValue.user = user; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingFtp.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingFtp.java index 14ac4a43..88db998c 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingFtp.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingFtp.java @@ -334,24 +334,24 @@ public Builder user(String user) { return this; } public ServiceVclLoggingFtp build() { - final var o = new ServiceVclLoggingFtp(); - o.address = address; - o.compressionCodec = compressionCodec; - o.format = format; - o.formatVersion = formatVersion; - o.gzipLevel = gzipLevel; - o.messageType = messageType; - o.name = name; - o.password = password; - o.path = path; - o.period = period; - o.placement = placement; - o.port = port; - o.publicKey = publicKey; - o.responseCondition = responseCondition; - o.timestampFormat = timestampFormat; - o.user = user; - return o; + final var _resultValue = new ServiceVclLoggingFtp(); + _resultValue.address = address; + _resultValue.compressionCodec = compressionCodec; + _resultValue.format = format; + _resultValue.formatVersion = formatVersion; + _resultValue.gzipLevel = gzipLevel; + _resultValue.messageType = messageType; + _resultValue.name = name; + _resultValue.password = password; + _resultValue.path = path; + _resultValue.period = period; + _resultValue.placement = placement; + _resultValue.port = port; + _resultValue.publicKey = publicKey; + _resultValue.responseCondition = responseCondition; + _resultValue.timestampFormat = timestampFormat; + _resultValue.user = user; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingGc.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingGc.java index 8d3257a3..cef49368 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingGc.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingGc.java @@ -334,24 +334,24 @@ public Builder user(@Nullable String user) { return this; } public ServiceVclLoggingGc build() { - final var o = new ServiceVclLoggingGc(); - o.accountName = accountName; - o.bucketName = bucketName; - o.compressionCodec = compressionCodec; - o.format = format; - o.formatVersion = formatVersion; - o.gzipLevel = gzipLevel; - o.messageType = messageType; - o.name = name; - o.path = path; - o.period = period; - o.placement = placement; - o.projectId = projectId; - o.responseCondition = responseCondition; - o.secretKey = secretKey; - o.timestampFormat = timestampFormat; - o.user = user; - return o; + final var _resultValue = new ServiceVclLoggingGc(); + _resultValue.accountName = accountName; + _resultValue.bucketName = bucketName; + _resultValue.compressionCodec = compressionCodec; + _resultValue.format = format; + _resultValue.formatVersion = formatVersion; + _resultValue.gzipLevel = gzipLevel; + _resultValue.messageType = messageType; + _resultValue.name = name; + _resultValue.path = path; + _resultValue.period = period; + _resultValue.placement = placement; + _resultValue.projectId = projectId; + _resultValue.responseCondition = responseCondition; + _resultValue.secretKey = secretKey; + _resultValue.timestampFormat = timestampFormat; + _resultValue.user = user; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingGooglepubsub.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingGooglepubsub.java index 29172120..d5331dd4 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingGooglepubsub.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingGooglepubsub.java @@ -220,18 +220,18 @@ public Builder user(String user) { return this; } public ServiceVclLoggingGooglepubsub build() { - final var o = new ServiceVclLoggingGooglepubsub(); - o.accountName = accountName; - o.format = format; - o.formatVersion = formatVersion; - o.name = name; - o.placement = placement; - o.projectId = projectId; - o.responseCondition = responseCondition; - o.secretKey = secretKey; - o.topic = topic; - o.user = user; - return o; + final var _resultValue = new ServiceVclLoggingGooglepubsub(); + _resultValue.accountName = accountName; + _resultValue.format = format; + _resultValue.formatVersion = formatVersion; + _resultValue.name = name; + _resultValue.placement = placement; + _resultValue.projectId = projectId; + _resultValue.responseCondition = responseCondition; + _resultValue.secretKey = secretKey; + _resultValue.topic = topic; + _resultValue.user = user; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingHerokus.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingHerokus.java index a2bb59fa..4a883ed4 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingHerokus.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingHerokus.java @@ -163,15 +163,15 @@ public Builder url(String url) { return this; } public ServiceVclLoggingHerokus build() { - final var o = new ServiceVclLoggingHerokus(); - o.format = format; - o.formatVersion = formatVersion; - o.name = name; - o.placement = placement; - o.responseCondition = responseCondition; - o.token = token; - o.url = url; - return o; + final var _resultValue = new ServiceVclLoggingHerokus(); + _resultValue.format = format; + _resultValue.formatVersion = formatVersion; + _resultValue.name = name; + _resultValue.placement = placement; + _resultValue.responseCondition = responseCondition; + _resultValue.token = token; + _resultValue.url = url; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingHoneycomb.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingHoneycomb.java index ae317507..26b4c22e 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingHoneycomb.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingHoneycomb.java @@ -163,15 +163,15 @@ public Builder token(String token) { return this; } public ServiceVclLoggingHoneycomb build() { - final var o = new ServiceVclLoggingHoneycomb(); - o.dataset = dataset; - o.format = format; - o.formatVersion = formatVersion; - o.name = name; - o.placement = placement; - o.responseCondition = responseCondition; - o.token = token; - return o; + final var _resultValue = new ServiceVclLoggingHoneycomb(); + _resultValue.dataset = dataset; + _resultValue.format = format; + _resultValue.formatVersion = formatVersion; + _resultValue.name = name; + _resultValue.placement = placement; + _resultValue.responseCondition = responseCondition; + _resultValue.token = token; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingHttp.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingHttp.java index c7bb9211..16e23d4d 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingHttp.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingHttp.java @@ -372,26 +372,26 @@ public Builder url(String url) { return this; } public ServiceVclLoggingHttp build() { - final var o = new ServiceVclLoggingHttp(); - o.contentType = contentType; - o.format = format; - o.formatVersion = formatVersion; - o.headerName = headerName; - o.headerValue = headerValue; - o.jsonFormat = jsonFormat; - o.messageType = messageType; - o.method = method; - o.name = name; - o.placement = placement; - o.requestMaxBytes = requestMaxBytes; - o.requestMaxEntries = requestMaxEntries; - o.responseCondition = responseCondition; - o.tlsCaCert = tlsCaCert; - o.tlsClientCert = tlsClientCert; - o.tlsClientKey = tlsClientKey; - o.tlsHostname = tlsHostname; - o.url = url; - return o; + final var _resultValue = new ServiceVclLoggingHttp(); + _resultValue.contentType = contentType; + _resultValue.format = format; + _resultValue.formatVersion = formatVersion; + _resultValue.headerName = headerName; + _resultValue.headerValue = headerValue; + _resultValue.jsonFormat = jsonFormat; + _resultValue.messageType = messageType; + _resultValue.method = method; + _resultValue.name = name; + _resultValue.placement = placement; + _resultValue.requestMaxBytes = requestMaxBytes; + _resultValue.requestMaxEntries = requestMaxEntries; + _resultValue.responseCondition = responseCondition; + _resultValue.tlsCaCert = tlsCaCert; + _resultValue.tlsClientCert = tlsClientCert; + _resultValue.tlsClientKey = tlsClientKey; + _resultValue.tlsHostname = tlsHostname; + _resultValue.url = url; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingKafka.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingKafka.java index 927f5f6a..1d7b542f 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingKafka.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingKafka.java @@ -392,27 +392,27 @@ public Builder user(@Nullable String user) { return this; } public ServiceVclLoggingKafka build() { - final var o = new ServiceVclLoggingKafka(); - o.authMethod = authMethod; - o.brokers = brokers; - o.compressionCodec = compressionCodec; - o.format = format; - o.formatVersion = formatVersion; - o.name = name; - o.parseLogKeyvals = parseLogKeyvals; - o.password = password; - o.placement = placement; - o.requestMaxBytes = requestMaxBytes; - o.requiredAcks = requiredAcks; - o.responseCondition = responseCondition; - o.tlsCaCert = tlsCaCert; - o.tlsClientCert = tlsClientCert; - o.tlsClientKey = tlsClientKey; - o.tlsHostname = tlsHostname; - o.topic = topic; - o.useTls = useTls; - o.user = user; - return o; + final var _resultValue = new ServiceVclLoggingKafka(); + _resultValue.authMethod = authMethod; + _resultValue.brokers = brokers; + _resultValue.compressionCodec = compressionCodec; + _resultValue.format = format; + _resultValue.formatVersion = formatVersion; + _resultValue.name = name; + _resultValue.parseLogKeyvals = parseLogKeyvals; + _resultValue.password = password; + _resultValue.placement = placement; + _resultValue.requestMaxBytes = requestMaxBytes; + _resultValue.requiredAcks = requiredAcks; + _resultValue.responseCondition = responseCondition; + _resultValue.tlsCaCert = tlsCaCert; + _resultValue.tlsClientCert = tlsClientCert; + _resultValue.tlsClientKey = tlsClientKey; + _resultValue.tlsHostname = tlsHostname; + _resultValue.topic = topic; + _resultValue.useTls = useTls; + _resultValue.user = user; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingKinese.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingKinese.java index 671a63b3..a45be1f9 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingKinese.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingKinese.java @@ -220,18 +220,18 @@ public Builder topic(String topic) { return this; } public ServiceVclLoggingKinese build() { - final var o = new ServiceVclLoggingKinese(); - o.accessKey = accessKey; - o.format = format; - o.formatVersion = formatVersion; - o.iamRole = iamRole; - o.name = name; - o.placement = placement; - o.region = region; - o.responseCondition = responseCondition; - o.secretKey = secretKey; - o.topic = topic; - return o; + final var _resultValue = new ServiceVclLoggingKinese(); + _resultValue.accessKey = accessKey; + _resultValue.format = format; + _resultValue.formatVersion = formatVersion; + _resultValue.iamRole = iamRole; + _resultValue.name = name; + _resultValue.placement = placement; + _resultValue.region = region; + _resultValue.responseCondition = responseCondition; + _resultValue.secretKey = secretKey; + _resultValue.topic = topic; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingLogentry.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingLogentry.java index 7fc9a3a8..228c5298 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingLogentry.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingLogentry.java @@ -183,16 +183,16 @@ public Builder useTls(@Nullable Boolean useTls) { return this; } public ServiceVclLoggingLogentry build() { - final var o = new ServiceVclLoggingLogentry(); - o.format = format; - o.formatVersion = formatVersion; - o.name = name; - o.placement = placement; - o.port = port; - o.responseCondition = responseCondition; - o.token = token; - o.useTls = useTls; - return o; + final var _resultValue = new ServiceVclLoggingLogentry(); + _resultValue.format = format; + _resultValue.formatVersion = formatVersion; + _resultValue.name = name; + _resultValue.placement = placement; + _resultValue.port = port; + _resultValue.responseCondition = responseCondition; + _resultValue.token = token; + _resultValue.useTls = useTls; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingLoggly.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingLoggly.java index 8a087cfc..8d8901a3 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingLoggly.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingLoggly.java @@ -144,14 +144,14 @@ public Builder token(String token) { return this; } public ServiceVclLoggingLoggly build() { - final var o = new ServiceVclLoggingLoggly(); - o.format = format; - o.formatVersion = formatVersion; - o.name = name; - o.placement = placement; - o.responseCondition = responseCondition; - o.token = token; - return o; + final var _resultValue = new ServiceVclLoggingLoggly(); + _resultValue.format = format; + _resultValue.formatVersion = formatVersion; + _resultValue.name = name; + _resultValue.placement = placement; + _resultValue.responseCondition = responseCondition; + _resultValue.token = token; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingLogshuttle.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingLogshuttle.java index 40bd5db9..847c4a73 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingLogshuttle.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingLogshuttle.java @@ -163,15 +163,15 @@ public Builder url(String url) { return this; } public ServiceVclLoggingLogshuttle build() { - final var o = new ServiceVclLoggingLogshuttle(); - o.format = format; - o.formatVersion = formatVersion; - o.name = name; - o.placement = placement; - o.responseCondition = responseCondition; - o.token = token; - o.url = url; - return o; + final var _resultValue = new ServiceVclLoggingLogshuttle(); + _resultValue.format = format; + _resultValue.formatVersion = formatVersion; + _resultValue.name = name; + _resultValue.placement = placement; + _resultValue.responseCondition = responseCondition; + _resultValue.token = token; + _resultValue.url = url; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingNewrelic.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingNewrelic.java index 787d9c3e..9f3359e9 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingNewrelic.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingNewrelic.java @@ -163,15 +163,15 @@ public Builder token(String token) { return this; } public ServiceVclLoggingNewrelic build() { - final var o = new ServiceVclLoggingNewrelic(); - o.format = format; - o.formatVersion = formatVersion; - o.name = name; - o.placement = placement; - o.region = region; - o.responseCondition = responseCondition; - o.token = token; - return o; + final var _resultValue = new ServiceVclLoggingNewrelic(); + _resultValue.format = format; + _resultValue.formatVersion = formatVersion; + _resultValue.name = name; + _resultValue.placement = placement; + _resultValue.region = region; + _resultValue.responseCondition = responseCondition; + _resultValue.token = token; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingOpenstack.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingOpenstack.java index ed885827..3b4d773e 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingOpenstack.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingOpenstack.java @@ -334,24 +334,24 @@ public Builder user(String user) { return this; } public ServiceVclLoggingOpenstack build() { - final var o = new ServiceVclLoggingOpenstack(); - o.accessKey = accessKey; - o.bucketName = bucketName; - o.compressionCodec = compressionCodec; - o.format = format; - o.formatVersion = formatVersion; - o.gzipLevel = gzipLevel; - o.messageType = messageType; - o.name = name; - o.path = path; - o.period = period; - o.placement = placement; - o.publicKey = publicKey; - o.responseCondition = responseCondition; - o.timestampFormat = timestampFormat; - o.url = url; - o.user = user; - return o; + final var _resultValue = new ServiceVclLoggingOpenstack(); + _resultValue.accessKey = accessKey; + _resultValue.bucketName = bucketName; + _resultValue.compressionCodec = compressionCodec; + _resultValue.format = format; + _resultValue.formatVersion = formatVersion; + _resultValue.gzipLevel = gzipLevel; + _resultValue.messageType = messageType; + _resultValue.name = name; + _resultValue.path = path; + _resultValue.period = period; + _resultValue.placement = placement; + _resultValue.publicKey = publicKey; + _resultValue.responseCondition = responseCondition; + _resultValue.timestampFormat = timestampFormat; + _resultValue.url = url; + _resultValue.user = user; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingPapertrail.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingPapertrail.java index d940a4ca..a5a9dbf9 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingPapertrail.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingPapertrail.java @@ -163,15 +163,15 @@ public Builder responseCondition(@Nullable String responseCondition) { return this; } public ServiceVclLoggingPapertrail build() { - final var o = new ServiceVclLoggingPapertrail(); - o.address = address; - o.format = format; - o.formatVersion = formatVersion; - o.name = name; - o.placement = placement; - o.port = port; - o.responseCondition = responseCondition; - return o; + final var _resultValue = new ServiceVclLoggingPapertrail(); + _resultValue.address = address; + _resultValue.format = format; + _resultValue.formatVersion = formatVersion; + _resultValue.name = name; + _resultValue.placement = placement; + _resultValue.port = port; + _resultValue.responseCondition = responseCondition; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingS3.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingS3.java index 9a725b85..1e158d9f 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingS3.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingS3.java @@ -448,30 +448,30 @@ public Builder timestampFormat(@Nullable String timestampFormat) { return this; } public ServiceVclLoggingS3 build() { - final var o = new ServiceVclLoggingS3(); - o.acl = acl; - o.bucketName = bucketName; - o.compressionCodec = compressionCodec; - o.domain = domain; - o.fileMaxBytes = fileMaxBytes; - o.format = format; - o.formatVersion = formatVersion; - o.gzipLevel = gzipLevel; - o.messageType = messageType; - o.name = name; - o.path = path; - o.period = period; - o.placement = placement; - o.publicKey = publicKey; - o.redundancy = redundancy; - o.responseCondition = responseCondition; - o.s3AccessKey = s3AccessKey; - o.s3IamRole = s3IamRole; - o.s3SecretKey = s3SecretKey; - o.serverSideEncryption = serverSideEncryption; - o.serverSideEncryptionKmsKeyId = serverSideEncryptionKmsKeyId; - o.timestampFormat = timestampFormat; - return o; + final var _resultValue = new ServiceVclLoggingS3(); + _resultValue.acl = acl; + _resultValue.bucketName = bucketName; + _resultValue.compressionCodec = compressionCodec; + _resultValue.domain = domain; + _resultValue.fileMaxBytes = fileMaxBytes; + _resultValue.format = format; + _resultValue.formatVersion = formatVersion; + _resultValue.gzipLevel = gzipLevel; + _resultValue.messageType = messageType; + _resultValue.name = name; + _resultValue.path = path; + _resultValue.period = period; + _resultValue.placement = placement; + _resultValue.publicKey = publicKey; + _resultValue.redundancy = redundancy; + _resultValue.responseCondition = responseCondition; + _resultValue.s3AccessKey = s3AccessKey; + _resultValue.s3IamRole = s3IamRole; + _resultValue.s3SecretKey = s3SecretKey; + _resultValue.serverSideEncryption = serverSideEncryption; + _resultValue.serverSideEncryptionKmsKeyId = serverSideEncryptionKmsKeyId; + _resultValue.timestampFormat = timestampFormat; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingScalyr.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingScalyr.java index e1eecf99..dc305876 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingScalyr.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingScalyr.java @@ -163,15 +163,15 @@ public Builder token(String token) { return this; } public ServiceVclLoggingScalyr build() { - final var o = new ServiceVclLoggingScalyr(); - o.format = format; - o.formatVersion = formatVersion; - o.name = name; - o.placement = placement; - o.region = region; - o.responseCondition = responseCondition; - o.token = token; - return o; + final var _resultValue = new ServiceVclLoggingScalyr(); + _resultValue.format = format; + _resultValue.formatVersion = formatVersion; + _resultValue.name = name; + _resultValue.placement = placement; + _resultValue.region = region; + _resultValue.responseCondition = responseCondition; + _resultValue.token = token; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingSftp.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingSftp.java index f4b3f982..b01f67d9 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingSftp.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingSftp.java @@ -372,26 +372,26 @@ public Builder user(String user) { return this; } public ServiceVclLoggingSftp build() { - final var o = new ServiceVclLoggingSftp(); - o.address = address; - o.compressionCodec = compressionCodec; - o.format = format; - o.formatVersion = formatVersion; - o.gzipLevel = gzipLevel; - o.messageType = messageType; - o.name = name; - o.password = password; - o.path = path; - o.period = period; - o.placement = placement; - o.port = port; - o.publicKey = publicKey; - o.responseCondition = responseCondition; - o.secretKey = secretKey; - o.sshKnownHosts = sshKnownHosts; - o.timestampFormat = timestampFormat; - o.user = user; - return o; + final var _resultValue = new ServiceVclLoggingSftp(); + _resultValue.address = address; + _resultValue.compressionCodec = compressionCodec; + _resultValue.format = format; + _resultValue.formatVersion = formatVersion; + _resultValue.gzipLevel = gzipLevel; + _resultValue.messageType = messageType; + _resultValue.name = name; + _resultValue.password = password; + _resultValue.path = path; + _resultValue.period = period; + _resultValue.placement = placement; + _resultValue.port = port; + _resultValue.publicKey = publicKey; + _resultValue.responseCondition = responseCondition; + _resultValue.secretKey = secretKey; + _resultValue.sshKnownHosts = sshKnownHosts; + _resultValue.timestampFormat = timestampFormat; + _resultValue.user = user; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingSplunk.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingSplunk.java index 89dc9f43..cd2b8d7f 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingSplunk.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingSplunk.java @@ -259,20 +259,20 @@ public Builder useTls(@Nullable Boolean useTls) { return this; } public ServiceVclLoggingSplunk build() { - final var o = new ServiceVclLoggingSplunk(); - o.format = format; - o.formatVersion = formatVersion; - o.name = name; - o.placement = placement; - o.responseCondition = responseCondition; - o.tlsCaCert = tlsCaCert; - o.tlsClientCert = tlsClientCert; - o.tlsClientKey = tlsClientKey; - o.tlsHostname = tlsHostname; - o.token = token; - o.url = url; - o.useTls = useTls; - return o; + final var _resultValue = new ServiceVclLoggingSplunk(); + _resultValue.format = format; + _resultValue.formatVersion = formatVersion; + _resultValue.name = name; + _resultValue.placement = placement; + _resultValue.responseCondition = responseCondition; + _resultValue.tlsCaCert = tlsCaCert; + _resultValue.tlsClientCert = tlsClientCert; + _resultValue.tlsClientKey = tlsClientKey; + _resultValue.tlsHostname = tlsHostname; + _resultValue.token = token; + _resultValue.url = url; + _resultValue.useTls = useTls; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingSumologic.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingSumologic.java index 4a298e7a..8fa46afa 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingSumologic.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingSumologic.java @@ -163,15 +163,15 @@ public Builder url(String url) { return this; } public ServiceVclLoggingSumologic build() { - final var o = new ServiceVclLoggingSumologic(); - o.format = format; - o.formatVersion = formatVersion; - o.messageType = messageType; - o.name = name; - o.placement = placement; - o.responseCondition = responseCondition; - o.url = url; - return o; + final var _resultValue = new ServiceVclLoggingSumologic(); + _resultValue.format = format; + _resultValue.formatVersion = formatVersion; + _resultValue.messageType = messageType; + _resultValue.name = name; + _resultValue.placement = placement; + _resultValue.responseCondition = responseCondition; + _resultValue.url = url; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingSyslog.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingSyslog.java index 981f4076..16780cd6 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingSyslog.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclLoggingSyslog.java @@ -297,22 +297,22 @@ public Builder useTls(@Nullable Boolean useTls) { return this; } public ServiceVclLoggingSyslog build() { - final var o = new ServiceVclLoggingSyslog(); - o.address = address; - o.format = format; - o.formatVersion = formatVersion; - o.messageType = messageType; - o.name = name; - o.placement = placement; - o.port = port; - o.responseCondition = responseCondition; - o.tlsCaCert = tlsCaCert; - o.tlsClientCert = tlsClientCert; - o.tlsClientKey = tlsClientKey; - o.tlsHostname = tlsHostname; - o.token = token; - o.useTls = useTls; - return o; + final var _resultValue = new ServiceVclLoggingSyslog(); + _resultValue.address = address; + _resultValue.format = format; + _resultValue.formatVersion = formatVersion; + _resultValue.messageType = messageType; + _resultValue.name = name; + _resultValue.placement = placement; + _resultValue.port = port; + _resultValue.responseCondition = responseCondition; + _resultValue.tlsCaCert = tlsCaCert; + _resultValue.tlsClientCert = tlsClientCert; + _resultValue.tlsClientKey = tlsClientKey; + _resultValue.tlsHostname = tlsHostname; + _resultValue.token = token; + _resultValue.useTls = useTls; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclProductEnablement.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclProductEnablement.java index ca03e5b3..61d5720c 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclProductEnablement.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclProductEnablement.java @@ -28,7 +28,7 @@ public final class ServiceVclProductEnablement { */ private @Nullable Boolean imageOptimizer; /** - * @return Used internally by the provider to identify modified settings + * @return Used by the provider to identify modified settings (changing this value will force the entire block to be deleted, then recreated) * */ private @Nullable String name; @@ -66,7 +66,7 @@ public Optional imageOptimizer() { return Optional.ofNullable(this.imageOptimizer); } /** - * @return Used internally by the provider to identify modified settings + * @return Used by the provider to identify modified settings (changing this value will force the entire block to be deleted, then recreated) * */ public Optional name() { @@ -144,14 +144,14 @@ public Builder websockets(@Nullable Boolean websockets) { return this; } public ServiceVclProductEnablement build() { - final var o = new ServiceVclProductEnablement(); - o.brotliCompression = brotliCompression; - o.domainInspector = domainInspector; - o.imageOptimizer = imageOptimizer; - o.name = name; - o.originInspector = originInspector; - o.websockets = websockets; - return o; + final var _resultValue = new ServiceVclProductEnablement(); + _resultValue.brotliCompression = brotliCompression; + _resultValue.domainInspector = domainInspector; + _resultValue.imageOptimizer = imageOptimizer; + _resultValue.name = name; + _resultValue.originInspector = originInspector; + _resultValue.websockets = websockets; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclRateLimiter.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclRateLimiter.java index 7f5f1efe..c70b9c4a 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclRateLimiter.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclRateLimiter.java @@ -278,21 +278,21 @@ public Builder windowSize(Integer windowSize) { return this; } public ServiceVclRateLimiter build() { - final var o = new ServiceVclRateLimiter(); - o.action = action; - o.clientKey = clientKey; - o.featureRevision = featureRevision; - o.httpMethods = httpMethods; - o.loggerType = loggerType; - o.name = name; - o.penaltyBoxDuration = penaltyBoxDuration; - o.ratelimiterId = ratelimiterId; - o.response = response; - o.responseObjectName = responseObjectName; - o.rpsLimit = rpsLimit; - o.uriDictionaryName = uriDictionaryName; - o.windowSize = windowSize; - return o; + final var _resultValue = new ServiceVclRateLimiter(); + _resultValue.action = action; + _resultValue.clientKey = clientKey; + _resultValue.featureRevision = featureRevision; + _resultValue.httpMethods = httpMethods; + _resultValue.loggerType = loggerType; + _resultValue.name = name; + _resultValue.penaltyBoxDuration = penaltyBoxDuration; + _resultValue.ratelimiterId = ratelimiterId; + _resultValue.response = response; + _resultValue.responseObjectName = responseObjectName; + _resultValue.rpsLimit = rpsLimit; + _resultValue.uriDictionaryName = uriDictionaryName; + _resultValue.windowSize = windowSize; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclRateLimiterResponse.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclRateLimiterResponse.java index 831a1b56..29ec4032 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclRateLimiterResponse.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclRateLimiterResponse.java @@ -85,11 +85,11 @@ public Builder status(Integer status) { return this; } public ServiceVclRateLimiterResponse build() { - final var o = new ServiceVclRateLimiterResponse(); - o.content = content; - o.contentType = contentType; - o.status = status; - return o; + final var _resultValue = new ServiceVclRateLimiterResponse(); + _resultValue.content = content; + _resultValue.contentType = contentType; + _resultValue.status = status; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclRequestSetting.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclRequestSetting.java index 0ec05814..e3e2dcfb 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclRequestSetting.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclRequestSetting.java @@ -267,20 +267,20 @@ public Builder xff(@Nullable String xff) { return this; } public ServiceVclRequestSetting build() { - final var o = new ServiceVclRequestSetting(); - o.action = action; - o.bypassBusyWait = bypassBusyWait; - o.defaultHost = defaultHost; - o.forceMiss = forceMiss; - o.forceSsl = forceSsl; - o.geoHeaders = geoHeaders; - o.hashKeys = hashKeys; - o.maxStaleAge = maxStaleAge; - o.name = name; - o.requestCondition = requestCondition; - o.timerSupport = timerSupport; - o.xff = xff; - return o; + final var _resultValue = new ServiceVclRequestSetting(); + _resultValue.action = action; + _resultValue.bypassBusyWait = bypassBusyWait; + _resultValue.defaultHost = defaultHost; + _resultValue.forceMiss = forceMiss; + _resultValue.forceSsl = forceSsl; + _resultValue.geoHeaders = geoHeaders; + _resultValue.hashKeys = hashKeys; + _resultValue.maxStaleAge = maxStaleAge; + _resultValue.name = name; + _resultValue.requestCondition = requestCondition; + _resultValue.timerSupport = timerSupport; + _resultValue.xff = xff; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclResponseObject.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclResponseObject.java index 52b02762..fb4a1e32 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclResponseObject.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclResponseObject.java @@ -163,15 +163,15 @@ public Builder status(@Nullable Integer status) { return this; } public ServiceVclResponseObject build() { - final var o = new ServiceVclResponseObject(); - o.cacheCondition = cacheCondition; - o.content = content; - o.contentType = contentType; - o.name = name; - o.requestCondition = requestCondition; - o.response = response; - o.status = status; - return o; + final var _resultValue = new ServiceVclResponseObject(); + _resultValue.cacheCondition = cacheCondition; + _resultValue.content = content; + _resultValue.contentType = contentType; + _resultValue.name = name; + _resultValue.requestCondition = requestCondition; + _resultValue.response = response; + _resultValue.status = status; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclSnippet.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclSnippet.java index 8924d28f..2a64a0ee 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclSnippet.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclSnippet.java @@ -106,12 +106,12 @@ public Builder type(String type) { return this; } public ServiceVclSnippet build() { - final var o = new ServiceVclSnippet(); - o.content = content; - o.name = name; - o.priority = priority; - o.type = type; - return o; + final var _resultValue = new ServiceVclSnippet(); + _resultValue.content = content; + _resultValue.name = name; + _resultValue.priority = priority; + _resultValue.type = type; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclVcl.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclVcl.java index 2dfb156c..e5b038b1 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclVcl.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclVcl.java @@ -87,11 +87,11 @@ public Builder name(String name) { return this; } public ServiceVclVcl build() { - final var o = new ServiceVclVcl(); - o.content = content; - o.main = main; - o.name = name; - return o; + final var _resultValue = new ServiceVclVcl(); + _resultValue.content = content; + _resultValue.main = main; + _resultValue.name = name; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclWaf.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclWaf.java index 0a700063..fd0c9c93 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclWaf.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceVclWaf.java @@ -106,12 +106,12 @@ public Builder wafId(@Nullable String wafId) { return this; } public ServiceVclWaf build() { - final var o = new ServiceVclWaf(); - o.disabled = disabled; - o.prefetchCondition = prefetchCondition; - o.responseObject = responseObject; - o.wafId = wafId; - return o; + final var _resultValue = new ServiceVclWaf(); + _resultValue.disabled = disabled; + _resultValue.prefetchCondition = prefetchCondition; + _resultValue.responseObject = responseObject; + _resultValue.wafId = wafId; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceWafConfigurationRule.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceWafConfigurationRule.java index afd28207..42ff10e5 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceWafConfigurationRule.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceWafConfigurationRule.java @@ -87,11 +87,11 @@ public Builder status(String status) { return this; } public ServiceWafConfigurationRule build() { - final var o = new ServiceWafConfigurationRule(); - o.modsecRuleId = modsecRuleId; - o.revision = revision; - o.status = status; - return o; + final var _resultValue = new ServiceWafConfigurationRule(); + _resultValue.modsecRuleId = modsecRuleId; + _resultValue.revision = revision; + _resultValue.status = status; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceWafConfigurationRuleExclusion.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceWafConfigurationRuleExclusion.java index 9afe38d7..cb77c278 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceWafConfigurationRuleExclusion.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/ServiceWafConfigurationRuleExclusion.java @@ -129,13 +129,13 @@ public Builder number(@Nullable Integer number) { return this; } public ServiceWafConfigurationRuleExclusion build() { - final var o = new ServiceWafConfigurationRuleExclusion(); - o.condition = condition; - o.exclusionType = exclusionType; - o.modsecRuleIds = modsecRuleIds; - o.name = name; - o.number = number; - return o; + final var _resultValue = new ServiceWafConfigurationRuleExclusion(); + _resultValue.condition = condition; + _resultValue.exclusionType = exclusionType; + _resultValue.modsecRuleIds = modsecRuleIds; + _resultValue.name = name; + _resultValue.number = number; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/TlsSubscriptionManagedDnsChallenge.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/TlsSubscriptionManagedDnsChallenge.java index 46fce41a..ee593307 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/TlsSubscriptionManagedDnsChallenge.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/TlsSubscriptionManagedDnsChallenge.java @@ -62,11 +62,11 @@ public Builder recordValue(@Nullable String recordValue) { return this; } public TlsSubscriptionManagedDnsChallenge build() { - final var o = new TlsSubscriptionManagedDnsChallenge(); - o.recordName = recordName; - o.recordType = recordType; - o.recordValue = recordValue; - return o; + final var _resultValue = new TlsSubscriptionManagedDnsChallenge(); + _resultValue.recordName = recordName; + _resultValue.recordType = recordType; + _resultValue.recordValue = recordValue; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/pulumi/fastly/outputs/TlsSubscriptionManagedHttpChallenge.java b/sdk/java/src/main/java/com/pulumi/fastly/outputs/TlsSubscriptionManagedHttpChallenge.java index 55e7ade0..7810093a 100644 --- a/sdk/java/src/main/java/com/pulumi/fastly/outputs/TlsSubscriptionManagedHttpChallenge.java +++ b/sdk/java/src/main/java/com/pulumi/fastly/outputs/TlsSubscriptionManagedHttpChallenge.java @@ -66,11 +66,11 @@ public Builder recordValues(String... recordValues) { return recordValues(List.of(recordValues)); } public TlsSubscriptionManagedHttpChallenge build() { - final var o = new TlsSubscriptionManagedHttpChallenge(); - o.recordName = recordName; - o.recordType = recordType; - o.recordValues = recordValues; - return o; + final var _resultValue = new TlsSubscriptionManagedHttpChallenge(); + _resultValue.recordName = recordName; + _resultValue.recordType = recordType; + _resultValue.recordValues = recordValues; + return _resultValue; } } } diff --git a/sdk/nodejs/configstore.ts b/sdk/nodejs/configstore.ts index 14df6971..5b15792d 100644 --- a/sdk/nodejs/configstore.ts +++ b/sdk/nodejs/configstore.ts @@ -5,9 +5,9 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; /** - * Provides a container that lets you store data in key-value pairs that are accessible to Compute@Edge services during request processing. + * Provides a container that lets you store data in key-value pairs that are accessible to Compute services during request processing. * - * In order for a Config Store (`fastly.Configstore`) to be accessible to a [Compute@Edge](https://developer.fastly.com/learning/compute/) service you'll first need to define a Compute service (`fastly.ServiceCompute`) in your configuration, and then create a link to the Config Store from within the service using the `resourceLink` block (shown in the below examples). + * In order for a Config Store (`fastly.Configstore`) to be accessible to a [Compute](https://developer.fastly.com/learning/compute/) service you'll first need to define a Compute service (`fastly.ServiceCompute`) in your configuration, and then create a link to the Config Store from within the service using the `resourceLink` block (shown in the below examples). * * ## Example Usage * diff --git a/sdk/nodejs/serviceCompute.ts b/sdk/nodejs/serviceCompute.ts index ade75bdf..bf35cc3b 100644 --- a/sdk/nodejs/serviceCompute.ts +++ b/sdk/nodejs/serviceCompute.ts @@ -116,7 +116,7 @@ export class ServiceCompute extends pulumi.CustomResource { */ public readonly name!: pulumi.Output; /** - * The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute@Edge service (if omitted, ensure `activate = false` is set on `fastly.ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute@Edge](https://developer.fastly.com/learning/compute/) + * The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute service (if omitted, ensure `activate = false` is set on `fastly.ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute](https://developer.fastly.com/learning/compute/) */ public readonly package!: pulumi.Output; public readonly productEnablement!: pulumi.Output; @@ -314,7 +314,7 @@ export interface ServiceComputeState { */ name?: pulumi.Input; /** - * The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute@Edge service (if omitted, ensure `activate = false` is set on `fastly.ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute@Edge](https://developer.fastly.com/learning/compute/) + * The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute service (if omitted, ensure `activate = false` is set on `fastly.ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute](https://developer.fastly.com/learning/compute/) */ package?: pulumi.Input; productEnablement?: pulumi.Input; @@ -387,7 +387,7 @@ export interface ServiceComputeArgs { */ name?: pulumi.Input; /** - * The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute@Edge service (if omitted, ensure `activate = false` is set on `fastly.ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute@Edge](https://developer.fastly.com/learning/compute/) + * The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute service (if omitted, ensure `activate = false` is set on `fastly.ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute](https://developer.fastly.com/learning/compute/) */ package?: pulumi.Input; productEnablement?: pulumi.Input; diff --git a/sdk/nodejs/serviceVcl.ts b/sdk/nodejs/serviceVcl.ts index e97f1fd8..065dea23 100644 --- a/sdk/nodejs/serviceVcl.ts +++ b/sdk/nodejs/serviceVcl.ts @@ -7,14 +7,6 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** - * Provides a Fastly Service, representing the configuration for a website, app, - * API, or anything else to be served through Fastly. A Service encompasses Domains - * and Backends. - * - * The Service resource requires a domain name that is correctly set up to direct - * traffic to the Fastly service. See Fastly's guide on [Adding CNAME Records][fastly-cname] - * on their documentation site for guidance. - * * ## Import * * Fastly Services can be imported using their service ID, e.g. diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index a6857049..9f6da963 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -1105,7 +1105,7 @@ export interface ServiceComputeProductEnablement { */ fanout?: pulumi.Input; /** - * Used internally by the provider to identify modified settings + * Used by the provider to identify modified settings (changing this value will force the entire block to be deleted, then recreated) */ name?: pulumi.Input; /** @@ -2851,7 +2851,7 @@ export interface ServiceVclProductEnablement { */ imageOptimizer?: pulumi.Input; /** - * Used internally by the provider to identify modified settings + * Used by the provider to identify modified settings (changing this value will force the entire block to be deleted, then recreated) */ name?: pulumi.Input; /** diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index 456a8b9f..da4e45f3 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -1156,9 +1156,9 @@ export interface ServiceComputeProductEnablement { */ fanout?: boolean; /** - * Used internally by the provider to identify modified settings + * Used by the provider to identify modified settings (changing this value will force the entire block to be deleted, then recreated) */ - name: string; + name?: string; /** * Enable WebSockets support */ @@ -2902,9 +2902,9 @@ export interface ServiceVclProductEnablement { */ imageOptimizer?: boolean; /** - * Used internally by the provider to identify modified settings + * Used by the provider to identify modified settings (changing this value will force the entire block to be deleted, then recreated) */ - name: string; + name?: string; /** * Enable Origin Inspector support */ diff --git a/sdk/python/pulumi_fastly/_inputs.py b/sdk/python/pulumi_fastly/_inputs.py index dec0c644..a8248061 100644 --- a/sdk/python/pulumi_fastly/_inputs.py +++ b/sdk/python/pulumi_fastly/_inputs.py @@ -5464,7 +5464,7 @@ def __init__(__self__, *, websockets: Optional[pulumi.Input[bool]] = None): """ :param pulumi.Input[bool] fanout: Enable Fanout support - :param pulumi.Input[str] name: Used internally by the provider to identify modified settings + :param pulumi.Input[str] name: Used by the provider to identify modified settings (changing this value will force the entire block to be deleted, then recreated) :param pulumi.Input[bool] websockets: Enable WebSockets support """ ServiceComputeProductEnablementArgs._configure( @@ -5505,7 +5505,7 @@ def fanout(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - Used internally by the provider to identify modified settings + Used by the provider to identify modified settings (changing this value will force the entire block to be deleted, then recreated) """ return pulumi.get(self, "name") @@ -13903,7 +13903,7 @@ def __init__(__self__, *, :param pulumi.Input[bool] brotli_compression: Enable Brotli Compression support :param pulumi.Input[bool] domain_inspector: Enable Domain Inspector support :param pulumi.Input[bool] image_optimizer: Enable Image Optimizer support (requires at least one backend with a `shield` attribute) - :param pulumi.Input[str] name: Used internally by the provider to identify modified settings + :param pulumi.Input[str] name: Used by the provider to identify modified settings (changing this value will force the entire block to be deleted, then recreated) :param pulumi.Input[bool] origin_inspector: Enable Origin Inspector support :param pulumi.Input[bool] websockets: Enable WebSockets support """ @@ -13989,7 +13989,7 @@ def image_optimizer(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - Used internally by the provider to identify modified settings + Used by the provider to identify modified settings (changing this value will force the entire block to be deleted, then recreated) """ return pulumi.get(self, "name") diff --git a/sdk/python/pulumi_fastly/configstore.py b/sdk/python/pulumi_fastly/configstore.py index 6f01b734..ed9d363c 100644 --- a/sdk/python/pulumi_fastly/configstore.py +++ b/sdk/python/pulumi_fastly/configstore.py @@ -130,9 +130,9 @@ def __init__(__self__, name: Optional[pulumi.Input[str]] = None, __props__=None): """ - Provides a container that lets you store data in key-value pairs that are accessible to Compute@Edge services during request processing. + Provides a container that lets you store data in key-value pairs that are accessible to Compute services during request processing. - In order for a Config Store (`Configstore`) to be accessible to a [Compute@Edge](https://developer.fastly.com/learning/compute/) service you'll first need to define a Compute service (`ServiceCompute`) in your configuration, and then create a link to the Config Store from within the service using the `resource_link` block (shown in the below examples). + In order for a Config Store (`Configstore`) to be accessible to a [Compute](https://developer.fastly.com/learning/compute/) service you'll first need to define a Compute service (`ServiceCompute`) in your configuration, and then create a link to the Config Store from within the service using the `resource_link` block (shown in the below examples). ## Example Usage @@ -182,9 +182,9 @@ def __init__(__self__, args: Optional[ConfigstoreArgs] = None, opts: Optional[pulumi.ResourceOptions] = None): """ - Provides a container that lets you store data in key-value pairs that are accessible to Compute@Edge services during request processing. + Provides a container that lets you store data in key-value pairs that are accessible to Compute services during request processing. - In order for a Config Store (`Configstore`) to be accessible to a [Compute@Edge](https://developer.fastly.com/learning/compute/) service you'll first need to define a Compute service (`ServiceCompute`) in your configuration, and then create a link to the Config Store from within the service using the `resource_link` block (shown in the below examples). + In order for a Config Store (`Configstore`) to be accessible to a [Compute](https://developer.fastly.com/learning/compute/) service you'll first need to define a Compute service (`ServiceCompute`) in your configuration, and then create a link to the Config Store from within the service using the `resource_link` block (shown in the below examples). ## Example Usage diff --git a/sdk/python/pulumi_fastly/outputs.py b/sdk/python/pulumi_fastly/outputs.py index 3106d6d7..edc63049 100644 --- a/sdk/python/pulumi_fastly/outputs.py +++ b/sdk/python/pulumi_fastly/outputs.py @@ -5050,7 +5050,7 @@ def __init__(__self__, *, websockets: Optional[bool] = None): """ :param bool fanout: Enable Fanout support - :param str name: Used internally by the provider to identify modified settings + :param str name: Used by the provider to identify modified settings (changing this value will force the entire block to be deleted, then recreated) :param bool websockets: Enable WebSockets support """ ServiceComputeProductEnablement._configure( @@ -5087,7 +5087,7 @@ def fanout(self) -> Optional[bool]: @pulumi.getter def name(self) -> Optional[str]: """ - Used internally by the provider to identify modified settings + Used by the provider to identify modified settings (changing this value will force the entire block to be deleted, then recreated) """ return pulumi.get(self, "name") @@ -12815,7 +12815,7 @@ def __init__(__self__, *, :param bool brotli_compression: Enable Brotli Compression support :param bool domain_inspector: Enable Domain Inspector support :param bool image_optimizer: Enable Image Optimizer support (requires at least one backend with a `shield` attribute) - :param str name: Used internally by the provider to identify modified settings + :param str name: Used by the provider to identify modified settings (changing this value will force the entire block to be deleted, then recreated) :param bool origin_inspector: Enable Origin Inspector support :param bool websockets: Enable WebSockets support """ @@ -12889,7 +12889,7 @@ def image_optimizer(self) -> Optional[bool]: @pulumi.getter def name(self) -> Optional[str]: """ - Used internally by the provider to identify modified settings + Used by the provider to identify modified settings (changing this value will force the entire block to be deleted, then recreated) """ return pulumi.get(self, "name") diff --git a/sdk/python/pulumi_fastly/service_compute.py b/sdk/python/pulumi_fastly/service_compute.py index a1c553ed..6f9fdb28 100644 --- a/sdk/python/pulumi_fastly/service_compute.py +++ b/sdk/python/pulumi_fastly/service_compute.py @@ -61,7 +61,7 @@ def __init__(__self__, *, :param pulumi.Input[str] comment: An optional comment about the Domain. :param pulumi.Input[bool] force_destroy: Allow the dictionary to be deleted, even if it contains entries. Defaults to false. :param pulumi.Input[str] name: Name for this Backend. Must be unique to this Service. It is important to note that changing this attribute will delete and recreate the resource - :param pulumi.Input['ServiceComputePackageArgs'] package: The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute@Edge service (if omitted, ensure `activate = false` is set on `ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute@Edge](https://developer.fastly.com/learning/compute/) + :param pulumi.Input['ServiceComputePackageArgs'] package: The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute service (if omitted, ensure `activate = false` is set on `ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute](https://developer.fastly.com/learning/compute/) :param pulumi.Input[Sequence[pulumi.Input['ServiceComputeResourceLinkArgs']]] resource_links: A resource link represents a link between a shared resource (such as an KV Store or Config Store) and a service version. :param pulumi.Input[bool] reuse: Services that are active cannot be destroyed. If set to `true` a service Terraform intends to destroy will instead be deactivated (allowing it to be reused by importing it into another Terraform project). If `false`, attempting to destroy @@ -607,7 +607,7 @@ def name(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def package(self) -> Optional[pulumi.Input['ServiceComputePackageArgs']]: """ - The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute@Edge service (if omitted, ensure `activate = false` is set on `ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute@Edge](https://developer.fastly.com/learning/compute/) + The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute service (if omitted, ensure `activate = false` is set on `ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute](https://developer.fastly.com/learning/compute/) """ return pulumi.get(self, "package") @@ -721,7 +721,7 @@ def __init__(__self__, *, UI) and the provider needs to resync the state for a different active version (this is only if `activate` is `true`). :param pulumi.Input[bool] imported: Used internally by the provider to temporarily indicate if the service is being imported, and is reset to false once the import is finished :param pulumi.Input[str] name: Name for this Backend. Must be unique to this Service. It is important to note that changing this attribute will delete and recreate the resource - :param pulumi.Input['ServiceComputePackageArgs'] package: The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute@Edge service (if omitted, ensure `activate = false` is set on `ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute@Edge](https://developer.fastly.com/learning/compute/) + :param pulumi.Input['ServiceComputePackageArgs'] package: The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute service (if omitted, ensure `activate = false` is set on `ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute](https://developer.fastly.com/learning/compute/) :param pulumi.Input[Sequence[pulumi.Input['ServiceComputeResourceLinkArgs']]] resource_links: A resource link represents a link between a shared resource (such as an KV Store or Config Store) and a service version. :param pulumi.Input[bool] reuse: Services that are active cannot be destroyed. If set to `true` a service Terraform intends to destroy will instead be deactivated (allowing it to be reused by importing it into another Terraform project). If `false`, attempting to destroy @@ -1338,7 +1338,7 @@ def name(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def package(self) -> Optional[pulumi.Input['ServiceComputePackageArgs']]: """ - The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute@Edge service (if omitted, ensure `activate = false` is set on `ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute@Edge](https://developer.fastly.com/learning/compute/) + The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute service (if omitted, ensure `activate = false` is set on `ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute](https://developer.fastly.com/learning/compute/) """ return pulumi.get(self, "package") @@ -1460,7 +1460,7 @@ def __init__(__self__, :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ServiceComputeDomainArgs']]]] domains: The domain of the DigitalOcean Spaces endpoint (default `nyc3.digitaloceanspaces.com`) :param pulumi.Input[bool] force_destroy: Allow the dictionary to be deleted, even if it contains entries. Defaults to false. :param pulumi.Input[str] name: Name for this Backend. Must be unique to this Service. It is important to note that changing this attribute will delete and recreate the resource - :param pulumi.Input[pulumi.InputType['ServiceComputePackageArgs']] package: The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute@Edge service (if omitted, ensure `activate = false` is set on `ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute@Edge](https://developer.fastly.com/learning/compute/) + :param pulumi.Input[pulumi.InputType['ServiceComputePackageArgs']] package: The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute service (if omitted, ensure `activate = false` is set on `ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute](https://developer.fastly.com/learning/compute/) :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ServiceComputeResourceLinkArgs']]]] resource_links: A resource link represents a link between a shared resource (such as an KV Store or Config Store) and a service version. :param pulumi.Input[bool] reuse: Services that are active cannot be destroyed. If set to `true` a service Terraform intends to destroy will instead be deactivated (allowing it to be reused by importing it into another Terraform project). If `false`, attempting to destroy @@ -1670,7 +1670,7 @@ def get(resource_name: str, UI) and the provider needs to resync the state for a different active version (this is only if `activate` is `true`). :param pulumi.Input[bool] imported: Used internally by the provider to temporarily indicate if the service is being imported, and is reset to false once the import is finished :param pulumi.Input[str] name: Name for this Backend. Must be unique to this Service. It is important to note that changing this attribute will delete and recreate the resource - :param pulumi.Input[pulumi.InputType['ServiceComputePackageArgs']] package: The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute@Edge service (if omitted, ensure `activate = false` is set on `ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute@Edge](https://developer.fastly.com/learning/compute/) + :param pulumi.Input[pulumi.InputType['ServiceComputePackageArgs']] package: The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute service (if omitted, ensure `activate = false` is set on `ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute](https://developer.fastly.com/learning/compute/) :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ServiceComputeResourceLinkArgs']]]] resource_links: A resource link represents a link between a shared resource (such as an KV Store or Config Store) and a service version. :param pulumi.Input[bool] reuse: Services that are active cannot be destroyed. If set to `true` a service Terraform intends to destroy will instead be deactivated (allowing it to be reused by importing it into another Terraform project). If `false`, attempting to destroy @@ -1943,7 +1943,7 @@ def name(self) -> pulumi.Output[str]: @pulumi.getter def package(self) -> pulumi.Output[Optional['outputs.ServiceComputePackage']]: """ - The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute@Edge service (if omitted, ensure `activate = false` is set on `ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute@Edge](https://developer.fastly.com/learning/compute/) + The `package` block supports uploading or modifying Wasm packages for use in a Fastly Compute service (if omitted, ensure `activate = false` is set on `ServiceCompute` to avoid service validation errors). See Fastly's documentation on [Compute](https://developer.fastly.com/learning/compute/) """ return pulumi.get(self, "package") diff --git a/sdk/python/pulumi_fastly/service_vcl.py b/sdk/python/pulumi_fastly/service_vcl.py index 2e3b7877..f289b9ff 100644 --- a/sdk/python/pulumi_fastly/service_vcl.py +++ b/sdk/python/pulumi_fastly/service_vcl.py @@ -2008,14 +2008,6 @@ def __init__(__self__, waf: Optional[pulumi.Input[pulumi.InputType['ServiceVclWafArgs']]] = None, __props__=None): """ - Provides a Fastly Service, representing the configuration for a website, app, - API, or anything else to be served through Fastly. A Service encompasses Domains - and Backends. - - The Service resource requires a domain name that is correctly set up to direct - traffic to the Fastly service. See Fastly's guide on [Adding CNAME Records][fastly-cname] - on their documentation site for guidance. - ## Import Fastly Services can be imported using their service ID, e.g. @@ -2057,14 +2049,6 @@ def __init__(__self__, args: ServiceVclArgs, opts: Optional[pulumi.ResourceOptions] = None): """ - Provides a Fastly Service, representing the configuration for a website, app, - API, or anything else to be served through Fastly. A Service encompasses Domains - and Backends. - - The Service resource requires a domain name that is correctly set up to direct - traffic to the Fastly service. See Fastly's guide on [Adding CNAME Records][fastly-cname] - on their documentation site for guidance. - ## Import Fastly Services can be imported using their service ID, e.g. diff --git a/upstream b/upstream index 6e03cce3..902cf4db 160000 --- a/upstream +++ b/upstream @@ -1 +1 @@ -Subproject commit 6e03cce3127a30db94c1cdfa8eb621d9a7231989 +Subproject commit 902cf4db2d45a211a2d0dc1d10f241b6a9361d78