From bde02b24d4d48a83de28c64db228a634cc60ef34 Mon Sep 17 00:00:00 2001 From: Pulumi Bot <30351955+pulumi-bot@users.noreply.github.com> Date: Mon, 9 Dec 2024 15:40:16 -0800 Subject: [PATCH] Upgrade pulumi-terraform-bridge to v3.97.0 (#546) * make tfgen * make build_sdks --- .pulumi-java-gen.version | 2 +- examples/go.mod | 4 ++-- examples/go.sum | 8 ++++---- .../cmd/pulumi-resource-dnsimple/schema.json | 8 ++++---- provider/go.mod | 10 +++++----- provider/go.sum | 20 +++++++++---------- sdk/go.mod | 2 +- sdk/go.sum | 4 ++-- sdk/java/build.gradle | 4 ++-- sdk/nodejs/getCertificate.ts | 2 +- sdk/nodejs/getRegistrantChangeCheck.ts | 2 +- sdk/nodejs/getZone.ts | 2 +- sdk/python/pulumi_dnsimple/get_certificate.py | 4 ++-- .../get_registrant_change_check.py | 4 ++-- sdk/python/pulumi_dnsimple/get_zone.py | 4 ++-- 15 files changed, 40 insertions(+), 40 deletions(-) diff --git a/.pulumi-java-gen.version b/.pulumi-java-gen.version index 07feb82..47d04a5 100644 --- a/.pulumi-java-gen.version +++ b/.pulumi-java-gen.version @@ -1 +1 @@ -0.17.0 \ No newline at end of file +0.18.0 \ No newline at end of file diff --git a/examples/go.mod b/examples/go.mod index 55db676..4bdae4f 100644 --- a/examples/go.mod +++ b/examples/go.mod @@ -2,7 +2,7 @@ module github.com/pulumi/pulumi-dnsimple/examples/v3 go 1.21 -require github.com/pulumi/pulumi/pkg/v3 v3.140.0 +require github.com/pulumi/pulumi/pkg/v3 v3.142.0 require ( cloud.google.com/go v0.112.1 // indirect @@ -123,7 +123,7 @@ require ( github.com/pmezard/go-difflib v1.0.0 // indirect github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 // indirect github.com/pulumi/esc v0.10.0 // indirect - github.com/pulumi/pulumi/sdk/v3 v3.140.0 // indirect + github.com/pulumi/pulumi/sdk/v3 v3.142.0 // indirect github.com/rivo/uniseg v0.4.4 // indirect github.com/rogpeppe/go-internal v1.12.0 // indirect github.com/ryanuber/go-glob v1.0.0 // indirect diff --git a/examples/go.sum b/examples/go.sum index e2374cd..304740d 100644 --- a/examples/go.sum +++ b/examples/go.sum @@ -339,10 +339,10 @@ github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 h1:vkHw5I/plNdTr435 github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231/go.mod h1:murToZ2N9hNJzewjHBgfFdXhZKjY3z5cYC1VXk+lbFE= github.com/pulumi/esc v0.10.0 h1:jzBKzkLVW0mePeanDRfqSQoCJ5yrkux0jIwAkUxpRKE= github.com/pulumi/esc v0.10.0/go.mod h1:2Bfa+FWj/xl8CKqRTWbWgDX0SOD4opdQgvYSURTGK2c= -github.com/pulumi/pulumi/pkg/v3 v3.140.0 h1:/bvHa19HY/6qHWvuAOVII8qr72MDGGczBWlPYlPo3j0= -github.com/pulumi/pulumi/pkg/v3 v3.140.0/go.mod h1:rcTtSyisd7BzZTugNk/s9zlYgX9S0S10+pha3Tko6yM= -github.com/pulumi/pulumi/sdk/v3 v3.140.0 h1:+Z/RBvdYg7tBNkBwk4p/FzlV7niBT3TbLAICq/Y0LDU= -github.com/pulumi/pulumi/sdk/v3 v3.140.0/go.mod h1:PvKsX88co8XuwuPdzolMvew5lZV+4JmZfkeSjj7A6dI= +github.com/pulumi/pulumi/pkg/v3 v3.142.0 h1:UE8TFyXrlxvPrATpd3Kl3En34KrFIFWOxxNAodywPNU= +github.com/pulumi/pulumi/pkg/v3 v3.142.0/go.mod h1:3k6WwRIT7veiDnk3Yo2NtqEYX+4dgLCrMIFvEOnjQqI= +github.com/pulumi/pulumi/sdk/v3 v3.142.0 h1:SmcVddGuvwAh3g3XUVQQ5gVRQUKH1yZ6iETpDNHIHlw= +github.com/pulumi/pulumi/sdk/v3 v3.142.0/go.mod h1:PvKsX88co8XuwuPdzolMvew5lZV+4JmZfkeSjj7A6dI= github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis= diff --git a/provider/cmd/pulumi-resource-dnsimple/schema.json b/provider/cmd/pulumi-resource-dnsimple/schema.json index 14174f8..5307fbd 100644 --- a/provider/cmd/pulumi-resource-dnsimple/schema.json +++ b/provider/cmd/pulumi-resource-dnsimple/schema.json @@ -1340,7 +1340,7 @@ } }, "dnsimple:index/zoneRecord:ZoneRecord": { - "description": "Provides a DNSimple zone record resource.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as dnsimple from \"@pulumi/dnsimple\";\n\n// Add a record to the root domain\nconst foobar = new dnsimple.ZoneRecord(\"foobar\", {\n zoneName: dnsimpleDomain,\n name: \"\",\n value: \"192.168.0.11\",\n type: \"A\",\n ttl: 3600,\n});\n```\n```python\nimport pulumi\nimport pulumi_dnsimple as dnsimple\n\n# Add a record to the root domain\nfoobar = dnsimple.ZoneRecord(\"foobar\",\n zone_name=dnsimple_domain,\n name=\"\",\n value=\"192.168.0.11\",\n type=\"A\",\n ttl=3600)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DNSimple = Pulumi.DNSimple;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Add a record to the root domain\n var foobar = new DNSimple.ZoneRecord(\"foobar\", new()\n {\n ZoneName = dnsimpleDomain,\n Name = \"\",\n Value = \"192.168.0.11\",\n Type = \"A\",\n Ttl = 3600,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-dnsimple/sdk/v4/go/dnsimple\"\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// Add a record to the root domain\n\t\t_, err := dnsimple.NewZoneRecord(ctx, \"foobar\", \u0026dnsimple.ZoneRecordArgs{\n\t\t\tZoneName: pulumi.Any(dnsimpleDomain),\n\t\t\tName: pulumi.String(\"\"),\n\t\t\tValue: pulumi.String(\"192.168.0.11\"),\n\t\t\tType: pulumi.String(\"A\"),\n\t\t\tTtl: pulumi.Int(3600),\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.dnsimple.ZoneRecord;\nimport com.pulumi.dnsimple.ZoneRecordArgs;\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 // Add a record to the root domain\n var foobar = new ZoneRecord(\"foobar\", ZoneRecordArgs.builder()\n .zoneName(dnsimpleDomain)\n .name(\"\")\n .value(\"192.168.0.11\")\n .type(\"A\")\n .ttl(3600)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Add a record to the root domain\n foobar:\n type: dnsimple:ZoneRecord\n properties:\n zoneName: ${dnsimpleDomain}\n name:\n value: 192.168.0.11\n type: A\n ttl: 3600\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as dnsimple from \"@pulumi/dnsimple\";\n\n// Add a record to a sub-domain\nconst foobar = new dnsimple.ZoneRecord(\"foobar\", {\n zoneName: dnsimpleDomain,\n name: \"terraform\",\n value: \"192.168.0.11\",\n type: \"A\",\n ttl: 3600,\n});\n```\n```python\nimport pulumi\nimport pulumi_dnsimple as dnsimple\n\n# Add a record to a sub-domain\nfoobar = dnsimple.ZoneRecord(\"foobar\",\n zone_name=dnsimple_domain,\n name=\"terraform\",\n value=\"192.168.0.11\",\n type=\"A\",\n ttl=3600)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DNSimple = Pulumi.DNSimple;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Add a record to a sub-domain\n var foobar = new DNSimple.ZoneRecord(\"foobar\", new()\n {\n ZoneName = dnsimpleDomain,\n Name = \"terraform\",\n Value = \"192.168.0.11\",\n Type = \"A\",\n Ttl = 3600,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-dnsimple/sdk/v4/go/dnsimple\"\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// Add a record to a sub-domain\n\t\t_, err := dnsimple.NewZoneRecord(ctx, \"foobar\", \u0026dnsimple.ZoneRecordArgs{\n\t\t\tZoneName: pulumi.Any(dnsimpleDomain),\n\t\t\tName: pulumi.String(\"terraform\"),\n\t\t\tValue: pulumi.String(\"192.168.0.11\"),\n\t\t\tType: pulumi.String(\"A\"),\n\t\t\tTtl: pulumi.Int(3600),\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.dnsimple.ZoneRecord;\nimport com.pulumi.dnsimple.ZoneRecordArgs;\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 // Add a record to a sub-domain\n var foobar = new ZoneRecord(\"foobar\", ZoneRecordArgs.builder()\n .zoneName(dnsimpleDomain)\n .name(\"terraform\")\n .value(\"192.168.0.11\")\n .type(\"A\")\n .ttl(3600)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Add a record to a sub-domain\n foobar:\n type: dnsimple:ZoneRecord\n properties:\n zoneName: ${dnsimpleDomain}\n name: terraform\n value: 192.168.0.11\n type: A\n ttl: 3600\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nDNSimple resources can be imported using their parent zone name (domain name) and numeric record ID.\n\n**Importing record example.com with record ID 1234**\n\nbash\n\n```sh\n$ pulumi import dnsimple:index/zoneRecord:ZoneRecord resource_name example.com_1234\n```\n\n**Importing record www.example.com with record ID 1234**\n\nbash\n\n```sh\n$ pulumi import dnsimple:index/zoneRecord:ZoneRecord resource_name example.com_1234\n```\n\nThe record ID can be found in the URL when editing a record on the DNSimple web dashboard.\n\n", + "description": "Provides a DNSimple zone record resource.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as dnsimple from \"@pulumi/dnsimple\";\n\n// Add a record to the root domain\nconst foobar = new dnsimple.ZoneRecord(\"foobar\", {\n zoneName: dnsimpleDomain,\n name: \"\",\n value: \"192.168.0.11\",\n type: \"A\",\n ttl: 3600,\n});\n```\n```python\nimport pulumi\nimport pulumi_dnsimple as dnsimple\n\n# Add a record to the root domain\nfoobar = dnsimple.ZoneRecord(\"foobar\",\n zone_name=dnsimple_domain,\n name=\"\",\n value=\"192.168.0.11\",\n type=\"A\",\n ttl=3600)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DNSimple = Pulumi.DNSimple;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Add a record to the root domain\n var foobar = new DNSimple.ZoneRecord(\"foobar\", new()\n {\n ZoneName = dnsimpleDomain,\n Name = \"\",\n Value = \"192.168.0.11\",\n Type = \"A\",\n Ttl = 3600,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-dnsimple/sdk/v4/go/dnsimple\"\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// Add a record to the root domain\n\t\t_, err := dnsimple.NewZoneRecord(ctx, \"foobar\", \u0026dnsimple.ZoneRecordArgs{\n\t\t\tZoneName: pulumi.Any(dnsimpleDomain),\n\t\t\tName: pulumi.String(\"\"),\n\t\t\tValue: pulumi.String(\"192.168.0.11\"),\n\t\t\tType: pulumi.String(\"A\"),\n\t\t\tTtl: pulumi.Int(3600),\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.dnsimple.ZoneRecord;\nimport com.pulumi.dnsimple.ZoneRecordArgs;\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 // Add a record to the root domain\n var foobar = new ZoneRecord(\"foobar\", ZoneRecordArgs.builder()\n .zoneName(dnsimpleDomain)\n .name(\"\")\n .value(\"192.168.0.11\")\n .type(\"A\")\n .ttl(3600)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Add a record to the root domain\n foobar:\n type: dnsimple:ZoneRecord\n properties:\n zoneName: ${dnsimpleDomain}\n name: \"\"\n value: 192.168.0.11\n type: A\n ttl: 3600\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as dnsimple from \"@pulumi/dnsimple\";\n\n// Add a record to a sub-domain\nconst foobar = new dnsimple.ZoneRecord(\"foobar\", {\n zoneName: dnsimpleDomain,\n name: \"terraform\",\n value: \"192.168.0.11\",\n type: \"A\",\n ttl: 3600,\n});\n```\n```python\nimport pulumi\nimport pulumi_dnsimple as dnsimple\n\n# Add a record to a sub-domain\nfoobar = dnsimple.ZoneRecord(\"foobar\",\n zone_name=dnsimple_domain,\n name=\"terraform\",\n value=\"192.168.0.11\",\n type=\"A\",\n ttl=3600)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DNSimple = Pulumi.DNSimple;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Add a record to a sub-domain\n var foobar = new DNSimple.ZoneRecord(\"foobar\", new()\n {\n ZoneName = dnsimpleDomain,\n Name = \"terraform\",\n Value = \"192.168.0.11\",\n Type = \"A\",\n Ttl = 3600,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-dnsimple/sdk/v4/go/dnsimple\"\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// Add a record to a sub-domain\n\t\t_, err := dnsimple.NewZoneRecord(ctx, \"foobar\", \u0026dnsimple.ZoneRecordArgs{\n\t\t\tZoneName: pulumi.Any(dnsimpleDomain),\n\t\t\tName: pulumi.String(\"terraform\"),\n\t\t\tValue: pulumi.String(\"192.168.0.11\"),\n\t\t\tType: pulumi.String(\"A\"),\n\t\t\tTtl: pulumi.Int(3600),\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.dnsimple.ZoneRecord;\nimport com.pulumi.dnsimple.ZoneRecordArgs;\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 // Add a record to a sub-domain\n var foobar = new ZoneRecord(\"foobar\", ZoneRecordArgs.builder()\n .zoneName(dnsimpleDomain)\n .name(\"terraform\")\n .value(\"192.168.0.11\")\n .type(\"A\")\n .ttl(3600)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Add a record to a sub-domain\n foobar:\n type: dnsimple:ZoneRecord\n properties:\n zoneName: ${dnsimpleDomain}\n name: terraform\n value: 192.168.0.11\n type: A\n ttl: 3600\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nDNSimple resources can be imported using their parent zone name (domain name) and numeric record ID.\n\n**Importing record example.com with record ID 1234**\n\nbash\n\n```sh\n$ pulumi import dnsimple:index/zoneRecord:ZoneRecord resource_name example.com_1234\n```\n\n**Importing record www.example.com with record ID 1234**\n\nbash\n\n```sh\n$ pulumi import dnsimple:index/zoneRecord:ZoneRecord resource_name example.com_1234\n```\n\nThe record ID can be found in the URL when editing a record on the DNSimple web dashboard.\n\n", "properties": { "name": { "type": "string", @@ -1496,7 +1496,7 @@ }, "functions": { "dnsimple:index/getCertificate:getCertificate": { - "description": "Provides a DNSimple certificate data source.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as dnsimple from \"@pulumi/dnsimple\";\n\nconst foobar = dnsimple.getCertificate({\n domain: dnsimpleDomain,\n certificateId: dnsimpleCertificateId,\n});\n```\n```python\nimport pulumi\nimport pulumi_dnsimple as dnsimple\n\nfoobar = dnsimple.get_certificate(domain=dnsimple_domain,\n certificate_id=dnsimple_certificate_id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DNSimple = Pulumi.DNSimple;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foobar = DNSimple.GetCertificate.Invoke(new()\n {\n Domain = dnsimpleDomain,\n CertificateId = dnsimpleCertificateId,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-dnsimple/sdk/v4/go/dnsimple\"\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 := dnsimple.GetCertificate(ctx, \u0026dnsimple.GetCertificateArgs{\n\t\t\tDomain: dnsimpleDomain,\n\t\t\tCertificateId: dnsimpleCertificateId,\n\t\t}, nil)\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.dnsimple.DnsimpleFunctions;\nimport com.pulumi.dnsimple.inputs.GetCertificateArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foobar = DnsimpleFunctions.getCertificate(GetCertificateArgs.builder()\n .domain(dnsimpleDomain)\n .certificateId(dnsimpleCertificateId)\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foobar:\n fn::invoke:\n Function: dnsimple:getCertificate\n Arguments:\n domain: ${dnsimpleDomain}\n certificateId: ${dnsimpleCertificateId}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Provides a DNSimple certificate data source.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as dnsimple from \"@pulumi/dnsimple\";\n\nconst foobar = dnsimple.getCertificate({\n domain: dnsimpleDomain,\n certificateId: dnsimpleCertificateId,\n});\n```\n```python\nimport pulumi\nimport pulumi_dnsimple as dnsimple\n\nfoobar = dnsimple.get_certificate(domain=dnsimple_domain,\n certificate_id=dnsimple_certificate_id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DNSimple = Pulumi.DNSimple;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foobar = DNSimple.GetCertificate.Invoke(new()\n {\n Domain = dnsimpleDomain,\n CertificateId = dnsimpleCertificateId,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-dnsimple/sdk/v4/go/dnsimple\"\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 := dnsimple.GetCertificate(ctx, \u0026dnsimple.GetCertificateArgs{\n\t\t\tDomain: dnsimpleDomain,\n\t\t\tCertificateId: dnsimpleCertificateId,\n\t\t}, nil)\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.dnsimple.DnsimpleFunctions;\nimport com.pulumi.dnsimple.inputs.GetCertificateArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foobar = DnsimpleFunctions.getCertificate(GetCertificateArgs.builder()\n .domain(dnsimpleDomain)\n .certificateId(dnsimpleCertificateId)\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foobar:\n fn::invoke:\n function: dnsimple:getCertificate\n arguments:\n domain: ${dnsimpleDomain}\n certificateId: ${dnsimpleCertificateId}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getCertificate.\n", "properties": { @@ -1566,7 +1566,7 @@ } }, "dnsimple:index/getRegistrantChangeCheck:getRegistrantChangeCheck": { - "description": "Get information on the requirements of a registrant change.\n\n\u003e **Note:** The registrant change API is currently in developer preview and is subject to change.\n\nGet registrant change requirements for the `dnsimple.com` domain and the contact with ID `1234`:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as dnsimple from \"@pulumi/dnsimple\";\n\nconst example = dnsimple.getRegistrantChangeCheck({\n domainId: \"dnsimple.com\",\n contactId: \"1234\",\n});\n```\n```python\nimport pulumi\nimport pulumi_dnsimple as dnsimple\n\nexample = dnsimple.get_registrant_change_check(domain_id=\"dnsimple.com\",\n contact_id=\"1234\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DNSimple = Pulumi.DNSimple;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = DNSimple.GetRegistrantChangeCheck.Invoke(new()\n {\n DomainId = \"dnsimple.com\",\n ContactId = \"1234\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-dnsimple/sdk/v4/go/dnsimple\"\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 := dnsimple.GetRegistrantChangeCheck(ctx, \u0026dnsimple.GetRegistrantChangeCheckArgs{\n\t\t\tDomainId: \"dnsimple.com\",\n\t\t\tContactId: \"1234\",\n\t\t}, nil)\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.dnsimple.DnsimpleFunctions;\nimport com.pulumi.dnsimple.inputs.GetRegistrantChangeCheckArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = DnsimpleFunctions.getRegistrantChangeCheck(GetRegistrantChangeCheckArgs.builder()\n .domainId(\"dnsimple.com\")\n .contactId(\"1234\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: dnsimple:getRegistrantChangeCheck\n Arguments:\n domainId: dnsimple.com\n contactId: '1234'\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nThe following arguments are supported:\n\n* `domain_id` - (Required) The name or ID of the domain.\n* `contact_id` - (Required) The ID of the contact you are planning to change to.\n\nThe following additional attributes are exported:\n\n* `contact_id` - The ID of the contact you are planning to change to.\n* `domain_id` - The name or ID of the domain.\n* `extended_attributes` - (List) A list of extended attributes that are required for the registrant change. (see below for nested schema)\n* `registry_owner_change` - (Boolean) Whether the registrant change is going to result in an owner change at the registry.\n\n\u003ca id=\"nestedblock--extended_attributes\"\u003e\u003c/a\u003e\n", + "description": "Get information on the requirements of a registrant change.\n\n\u003e **Note:** The registrant change API is currently in developer preview and is subject to change.\n\nGet registrant change requirements for the `dnsimple.com` domain and the contact with ID `1234`:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as dnsimple from \"@pulumi/dnsimple\";\n\nconst example = dnsimple.getRegistrantChangeCheck({\n domainId: \"dnsimple.com\",\n contactId: \"1234\",\n});\n```\n```python\nimport pulumi\nimport pulumi_dnsimple as dnsimple\n\nexample = dnsimple.get_registrant_change_check(domain_id=\"dnsimple.com\",\n contact_id=\"1234\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DNSimple = Pulumi.DNSimple;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = DNSimple.GetRegistrantChangeCheck.Invoke(new()\n {\n DomainId = \"dnsimple.com\",\n ContactId = \"1234\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-dnsimple/sdk/v4/go/dnsimple\"\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 := dnsimple.GetRegistrantChangeCheck(ctx, \u0026dnsimple.GetRegistrantChangeCheckArgs{\n\t\t\tDomainId: \"dnsimple.com\",\n\t\t\tContactId: \"1234\",\n\t\t}, nil)\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.dnsimple.DnsimpleFunctions;\nimport com.pulumi.dnsimple.inputs.GetRegistrantChangeCheckArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = DnsimpleFunctions.getRegistrantChangeCheck(GetRegistrantChangeCheckArgs.builder()\n .domainId(\"dnsimple.com\")\n .contactId(\"1234\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n function: dnsimple:getRegistrantChangeCheck\n arguments:\n domainId: dnsimple.com\n contactId: '1234'\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nThe following arguments are supported:\n\n* `domain_id` - (Required) The name or ID of the domain.\n* `contact_id` - (Required) The ID of the contact you are planning to change to.\n\nThe following additional attributes are exported:\n\n* `contact_id` - The ID of the contact you are planning to change to.\n* `domain_id` - The name or ID of the domain.\n* `extended_attributes` - (List) A list of extended attributes that are required for the registrant change. (see below for nested schema)\n* `registry_owner_change` - (Boolean) Whether the registrant change is going to result in an owner change at the registry.\n\n\u003ca id=\"nestedblock--extended_attributes\"\u003e\u003c/a\u003e\n", "inputs": { "description": "A collection of arguments for invoking getRegistrantChangeCheck.\n", "properties": { @@ -1616,7 +1616,7 @@ } }, "dnsimple:index/getZone:getZone": { - "description": "Get information about a DNSimple zone.\n\n!\u003e Data source is getting deprecated in favor of `dnsimple\\_zone` resource.\n\nGet zone:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as dnsimple from \"@pulumi/dnsimple\";\n\nconst foobar = dnsimple.getZone({\n name: \"dnsimple.com\",\n});\n```\n```python\nimport pulumi\nimport pulumi_dnsimple as dnsimple\n\nfoobar = dnsimple.get_zone(name=\"dnsimple.com\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DNSimple = Pulumi.DNSimple;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foobar = DNSimple.GetZone.Invoke(new()\n {\n Name = \"dnsimple.com\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-dnsimple/sdk/v4/go/dnsimple\"\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 := dnsimple.LookupZone(ctx, \u0026dnsimple.LookupZoneArgs{\n\t\t\tName: \"dnsimple.com\",\n\t\t}, nil)\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.dnsimple.DnsimpleFunctions;\nimport com.pulumi.dnsimple.inputs.GetZoneArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foobar = DnsimpleFunctions.getZone(GetZoneArgs.builder()\n .name(\"dnsimple.com\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foobar:\n fn::invoke:\n Function: dnsimple:getZone\n Arguments:\n name: dnsimple.com\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nThe following arguments are supported:\n\n* `name` - (Required) The name of the zone\n\nThe following additional attributes are exported:\n\n* `id` - The zone ID\n* `account_id` - The account ID\n* `reverse` - True for a reverse zone, false for a forward zone.\n", + "description": "Get information about a DNSimple zone.\n\n!\u003e Data source is getting deprecated in favor of `dnsimple\\_zone` resource.\n\nGet zone:\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as dnsimple from \"@pulumi/dnsimple\";\n\nconst foobar = dnsimple.getZone({\n name: \"dnsimple.com\",\n});\n```\n```python\nimport pulumi\nimport pulumi_dnsimple as dnsimple\n\nfoobar = dnsimple.get_zone(name=\"dnsimple.com\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing DNSimple = Pulumi.DNSimple;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foobar = DNSimple.GetZone.Invoke(new()\n {\n Name = \"dnsimple.com\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-dnsimple/sdk/v4/go/dnsimple\"\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 := dnsimple.LookupZone(ctx, \u0026dnsimple.LookupZoneArgs{\n\t\t\tName: \"dnsimple.com\",\n\t\t}, nil)\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.dnsimple.DnsimpleFunctions;\nimport com.pulumi.dnsimple.inputs.GetZoneArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foobar = DnsimpleFunctions.getZone(GetZoneArgs.builder()\n .name(\"dnsimple.com\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foobar:\n fn::invoke:\n function: dnsimple:getZone\n arguments:\n name: dnsimple.com\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\nThe following arguments are supported:\n\n* `name` - (Required) The name of the zone\n\nThe following additional attributes are exported:\n\n* `id` - The zone ID\n* `account_id` - The account ID\n* `reverse` - True for a reverse zone, false for a forward zone.\n", "inputs": { "description": "A collection of arguments for invoking getZone.\n", "properties": { diff --git a/provider/go.mod b/provider/go.mod index 01cf265..e2549d3 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -5,8 +5,8 @@ go 1.23 toolchain go1.23.2 require ( - github.com/pulumi/pulumi-terraform-bridge/v3 v3.96.0 - github.com/pulumi/pulumi/pkg/v3 v3.140.0 + github.com/pulumi/pulumi-terraform-bridge/v3 v3.97.0 + github.com/pulumi/pulumi/pkg/v3 v3.142.0 github.com/terraform-providers/terraform-provider-dnsimple v0.0.0 ) @@ -131,9 +131,9 @@ require ( github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 // indirect github.com/pulumi/esc v0.10.0 // indirect github.com/pulumi/inflector v0.1.1 // indirect - github.com/pulumi/pulumi-java/pkg v0.17.0 // indirect - github.com/pulumi/pulumi-yaml v1.11.2 // indirect - github.com/pulumi/pulumi/sdk/v3 v3.140.0 // indirect + github.com/pulumi/pulumi-java/pkg v0.18.0 // indirect + github.com/pulumi/pulumi-yaml v1.12.0 // indirect + github.com/pulumi/pulumi/sdk/v3 v3.142.0 // indirect github.com/pulumi/schema-tools v0.1.2 // indirect github.com/rivo/uniseg v0.4.4 // indirect github.com/rogpeppe/go-internal v1.12.0 // indirect diff --git a/provider/go.sum b/provider/go.sum index 2662b59..aab949e 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -731,16 +731,16 @@ github.com/pulumi/inflector v0.1.1 h1:dvlxlWtXwOJTUUtcYDvwnl6Mpg33prhK+7mzeF+Sob github.com/pulumi/inflector v0.1.1/go.mod h1:HUFCjcPTz96YtTuUlwG3i3EZG4WlniBvR9bd+iJxCUY= github.com/pulumi/providertest v0.1.3 h1:GpNKRy/haNjRHiUA9bi4diU4Op2zf3axYXbga5AepHg= github.com/pulumi/providertest v0.1.3/go.mod h1:GcsqEGgSngwaNOD+kICJPIUQlnA911fGBU8HDlJvVL0= -github.com/pulumi/pulumi-java/pkg v0.17.0 h1:KmaVLrVmlkzShOfaJNJDlckorbFm8dM/C7L4hj6LX8U= -github.com/pulumi/pulumi-java/pkg v0.17.0/go.mod h1:ji4U4H7t81X4aaE88D9+z5CmKH/QoLwQi9N1iGl+2KQ= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.96.0 h1:uJB3tM1j+9SKeXLCAx3DBVHsYk4ddXNrVoiqpgXal2Q= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.96.0/go.mod h1:WnOTAfdtm5+kW3rIU0rLhxFSEHtJIMf19FdOU6NFXG0= -github.com/pulumi/pulumi-yaml v1.11.2 h1:MU7TTNbruGCSgNHhaBygjIbLWm3WSbd1q98GpMIgQzE= -github.com/pulumi/pulumi-yaml v1.11.2/go.mod h1:RdXRBupRGGAD1kbYNG1V1h6pyFnXisvQsl0AANvVjGI= -github.com/pulumi/pulumi/pkg/v3 v3.140.0 h1:/bvHa19HY/6qHWvuAOVII8qr72MDGGczBWlPYlPo3j0= -github.com/pulumi/pulumi/pkg/v3 v3.140.0/go.mod h1:rcTtSyisd7BzZTugNk/s9zlYgX9S0S10+pha3Tko6yM= -github.com/pulumi/pulumi/sdk/v3 v3.140.0 h1:+Z/RBvdYg7tBNkBwk4p/FzlV7niBT3TbLAICq/Y0LDU= -github.com/pulumi/pulumi/sdk/v3 v3.140.0/go.mod h1:PvKsX88co8XuwuPdzolMvew5lZV+4JmZfkeSjj7A6dI= +github.com/pulumi/pulumi-java/pkg v0.18.0 h1:3PApc5YegH69n6oubB63mqI97pF+oQywWr7ii4082Mw= +github.com/pulumi/pulumi-java/pkg v0.18.0/go.mod h1:YKYYFEb3Jvzf/dDJo0xOeEkIfBAMkkkdhXulauvEjmc= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.97.0 h1:/Y/9hffZp2CFUfInVbv/9rWnZETiiOgKju1Ua512Ke8= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.97.0/go.mod h1:B/Auryr+yVUkLOMzgpFe7HLwKAtXc6YJwpAXfNGyLPk= +github.com/pulumi/pulumi-yaml v1.12.0 h1:ThJP+EBqeJyCnS6w6/PwcEFOT5o112qv0lObhefmFCk= +github.com/pulumi/pulumi-yaml v1.12.0/go.mod h1:EhZd1XDfuLa15O51qVVE16U6r8ldK9mLIBclqWCX27Y= +github.com/pulumi/pulumi/pkg/v3 v3.142.0 h1:UE8TFyXrlxvPrATpd3Kl3En34KrFIFWOxxNAodywPNU= +github.com/pulumi/pulumi/pkg/v3 v3.142.0/go.mod h1:3k6WwRIT7veiDnk3Yo2NtqEYX+4dgLCrMIFvEOnjQqI= +github.com/pulumi/pulumi/sdk/v3 v3.142.0 h1:SmcVddGuvwAh3g3XUVQQ5gVRQUKH1yZ6iETpDNHIHlw= +github.com/pulumi/pulumi/sdk/v3 v3.142.0/go.mod h1:PvKsX88co8XuwuPdzolMvew5lZV+4JmZfkeSjj7A6dI= github.com/pulumi/schema-tools v0.1.2 h1:Fd9xvUjgck4NA+7/jSk7InqCUT4Kj940+EcnbQKpfZo= github.com/pulumi/schema-tools v0.1.2/go.mod h1:62lgj52Tzq11eqWTIaKd+EVyYAu5dEcDJxMhTjvMO/k= github.com/pulumi/terraform-diff-reader v0.0.2 h1:kTE4nEXU3/SYXESvAIem+wyHMI3abqkI3OhJ0G04LLI= diff --git a/sdk/go.mod b/sdk/go.mod index 2da916d..e2ef271 100644 --- a/sdk/go.mod +++ b/sdk/go.mod @@ -4,7 +4,7 @@ go 1.21 require ( github.com/blang/semver v3.5.1+incompatible - github.com/pulumi/pulumi/sdk/v3 v3.140.0 + github.com/pulumi/pulumi/sdk/v3 v3.142.0 ) require ( diff --git a/sdk/go.sum b/sdk/go.sum index 5d5453c..54cd0ac 100644 --- a/sdk/go.sum +++ b/sdk/go.sum @@ -150,8 +150,8 @@ github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 h1:vkHw5I/plNdTr435 github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231/go.mod h1:murToZ2N9hNJzewjHBgfFdXhZKjY3z5cYC1VXk+lbFE= github.com/pulumi/esc v0.9.1 h1:HH5eEv8sgyxSpY5a8yePyqFXzA8cvBvapfH8457+mIs= github.com/pulumi/esc v0.9.1/go.mod h1:oEJ6bOsjYlQUpjf70GiX+CXn3VBmpwFDxUTlmtUN84c= -github.com/pulumi/pulumi/sdk/v3 v3.140.0 h1:+Z/RBvdYg7tBNkBwk4p/FzlV7niBT3TbLAICq/Y0LDU= -github.com/pulumi/pulumi/sdk/v3 v3.140.0/go.mod h1:PvKsX88co8XuwuPdzolMvew5lZV+4JmZfkeSjj7A6dI= +github.com/pulumi/pulumi/sdk/v3 v3.142.0 h1:SmcVddGuvwAh3g3XUVQQ5gVRQUKH1yZ6iETpDNHIHlw= +github.com/pulumi/pulumi/sdk/v3 v3.142.0/go.mod h1:PvKsX88co8XuwuPdzolMvew5lZV+4JmZfkeSjj7A6dI= github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis= diff --git a/sdk/java/build.gradle b/sdk/java/build.gradle index 071cfb6..7a9c129 100644 --- a/sdk/java/build.gradle +++ b/sdk/java/build.gradle @@ -5,7 +5,7 @@ plugins { id("signing") id("java-library") id("maven-publish") - id("io.github.gradle-nexus.publish-plugin") version "1.1.0" + id("io.github.gradle-nexus.publish-plugin") version "2.0.0" } group = "com.pulumi" @@ -44,7 +44,7 @@ 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.17.0") + implementation("com.pulumi:pulumi:0.18.0") } task sourcesJar(type: Jar) { diff --git a/sdk/nodejs/getCertificate.ts b/sdk/nodejs/getCertificate.ts index 14bf7d5..b89ee63 100644 --- a/sdk/nodejs/getCertificate.ts +++ b/sdk/nodejs/getCertificate.ts @@ -86,7 +86,7 @@ export interface GetCertificateResult { * }); * ``` */ -export function getCertificateOutput(args: GetCertificateOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getCertificateOutput(args: GetCertificateOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("dnsimple:index/getCertificate:getCertificate", { "certificateId": args.certificateId, diff --git a/sdk/nodejs/getRegistrantChangeCheck.ts b/sdk/nodejs/getRegistrantChangeCheck.ts index dc753dc..5b78386 100644 --- a/sdk/nodejs/getRegistrantChangeCheck.ts +++ b/sdk/nodejs/getRegistrantChangeCheck.ts @@ -95,7 +95,7 @@ export interface GetRegistrantChangeCheckResult { * * */ -export function getRegistrantChangeCheckOutput(args: GetRegistrantChangeCheckOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getRegistrantChangeCheckOutput(args: GetRegistrantChangeCheckOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("dnsimple:index/getRegistrantChangeCheck:getRegistrantChangeCheck", { "contactId": args.contactId, diff --git a/sdk/nodejs/getZone.ts b/sdk/nodejs/getZone.ts index 1382d71..bf5bbab 100644 --- a/sdk/nodejs/getZone.ts +++ b/sdk/nodejs/getZone.ts @@ -79,7 +79,7 @@ export interface GetZoneResult { * * `accountId` - The account ID * * `reverse` - True for a reverse zone, false for a forward zone. */ -export function getZoneOutput(args: GetZoneOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getZoneOutput(args: GetZoneOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("dnsimple:index/getZone:getZone", { "name": args.name, diff --git a/sdk/python/pulumi_dnsimple/get_certificate.py b/sdk/python/pulumi_dnsimple/get_certificate.py index ef57b55..9ac552c 100644 --- a/sdk/python/pulumi_dnsimple/get_certificate.py +++ b/sdk/python/pulumi_dnsimple/get_certificate.py @@ -163,7 +163,7 @@ def get_certificate(certificate_id: Optional[int] = None, def get_certificate_output(certificate_id: Optional[pulumi.Input[int]] = None, domain: Optional[pulumi.Input[str]] = None, timeouts: Optional[pulumi.Input[Optional[Union['GetCertificateTimeoutsArgs', 'GetCertificateTimeoutsArgsDict']]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCertificateResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCertificateResult]: """ Provides a DNSimple certificate data source. @@ -185,7 +185,7 @@ def get_certificate_output(certificate_id: Optional[pulumi.Input[int]] = None, __args__['certificateId'] = certificate_id __args__['domain'] = domain __args__['timeouts'] = timeouts - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('dnsimple:index/getCertificate:getCertificate', __args__, opts=opts, typ=GetCertificateResult) return __ret__.apply(lambda __response__: GetCertificateResult( certificate_chains=pulumi.get(__response__, 'certificate_chains'), diff --git a/sdk/python/pulumi_dnsimple/get_registrant_change_check.py b/sdk/python/pulumi_dnsimple/get_registrant_change_check.py index f9c3bad..4fd7e8c 100644 --- a/sdk/python/pulumi_dnsimple/get_registrant_change_check.py +++ b/sdk/python/pulumi_dnsimple/get_registrant_change_check.py @@ -129,7 +129,7 @@ def get_registrant_change_check(contact_id: Optional[str] = None, registry_owner_change=pulumi.get(__ret__, 'registry_owner_change')) def get_registrant_change_check_output(contact_id: Optional[pulumi.Input[str]] = None, domain_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRegistrantChangeCheckResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetRegistrantChangeCheckResult]: """ Get information on the requirements of a registrant change. @@ -162,7 +162,7 @@ def get_registrant_change_check_output(contact_id: Optional[pulumi.Input[str]] = __args__ = dict() __args__['contactId'] = contact_id __args__['domainId'] = domain_id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('dnsimple:index/getRegistrantChangeCheck:getRegistrantChangeCheck', __args__, opts=opts, typ=GetRegistrantChangeCheckResult) return __ret__.apply(lambda __response__: GetRegistrantChangeCheckResult( contact_id=pulumi.get(__response__, 'contact_id'), diff --git a/sdk/python/pulumi_dnsimple/get_zone.py b/sdk/python/pulumi_dnsimple/get_zone.py index 6283806..d8d43e4 100644 --- a/sdk/python/pulumi_dnsimple/get_zone.py +++ b/sdk/python/pulumi_dnsimple/get_zone.py @@ -110,7 +110,7 @@ def get_zone(name: Optional[str] = None, name=pulumi.get(__ret__, 'name'), reverse=pulumi.get(__ret__, 'reverse')) def get_zone_output(name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetZoneResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetZoneResult]: """ Get information about a DNSimple zone. @@ -137,7 +137,7 @@ def get_zone_output(name: Optional[pulumi.Input[str]] = None, """ __args__ = dict() __args__['name'] = name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('dnsimple:index/getZone:getZone', __args__, opts=opts, typ=GetZoneResult) return __ret__.apply(lambda __response__: GetZoneResult( account_id=pulumi.get(__response__, 'account_id'),