From cd501502caf8cde65eda0913d069cccbbff70e4a Mon Sep 17 00:00:00 2001 From: susan evans Date: Thu, 1 Dec 2022 10:38:24 -0800 Subject: [PATCH 1/5] update some names --- pkg/codegen/docs/gen.go | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkg/codegen/docs/gen.go b/pkg/codegen/docs/gen.go index bd0212e874f0..018475578970 100644 --- a/pkg/codegen/docs/gen.go +++ b/pkg/codegen/docs/gen.go @@ -59,8 +59,10 @@ func titleLookup(shortName string) (string, bool) { "aiven": "Aiven", "akamai": "Akamai", "alicloud": "Alibaba Cloud", + "artifactory": "Artifactory", "auth0": "Auth0", "aws": "AWS Classic", + "awsx": "AWSx (Pulumi Crosswalk for AWS)", "aws-apigateway": "AWS API Gateway", "aws-miniflux": "Miniflux", "aws-native": "AWS Native", @@ -83,6 +85,7 @@ func titleLookup(shortName string) (string, bool) { "cloudamqp": "CloudAMQP", "cloudflare": "Cloudflare", "cloudinit": "cloud-init", + "command": "Command (preview)", "confluent": "Confluent Cloud", "consul": "Consul", "coredns-helm": "CoreDNS (Helm)", @@ -91,11 +94,12 @@ func titleLookup(shortName string) (string, bool) { "dnsimple": "DNSimple", "docker": "Docker", "docker-buildkit": "Docker BuildKit", + "ec": "ElasticCloud (EC)", "eks": "Amazon EKS", "equinix-metal": "Equinix Metal", "f5bigip": "f5 BIG-IP", "fastly": "Fastly", - "gcp": "Google Cloud Classic", + "gcp": "Google Cloud (GCP) Classic", "gcp-global-cloudrun": "Google Global Cloud Run", "gcp-project-scaffold": "Google Project Scaffolding", "google-native": "Google Cloud Native", @@ -130,7 +134,7 @@ func titleLookup(shortName string) (string, bool) { "prometheus-helm": "Prometheus (Helm)", "rabbitmq": "RabbitMQ", "rancher2": "Rancher 2", - "random": "random", + "random": "Random", "rke": "Rancher RKE", "run-my-darn-container": "Run My Darn Container", "shipa": "Shipa", From 07fd84cbdac17f61c75d5d6c1974d1cd29418881 Mon Sep 17 00:00:00 2001 From: susan evans Date: Thu, 1 Dec 2022 10:40:23 -0800 Subject: [PATCH 2/5] sigh --- pkg/codegen/docs/gen.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/codegen/docs/gen.go b/pkg/codegen/docs/gen.go index 018475578970..569e41507f0a 100644 --- a/pkg/codegen/docs/gen.go +++ b/pkg/codegen/docs/gen.go @@ -59,10 +59,10 @@ func titleLookup(shortName string) (string, bool) { "aiven": "Aiven", "akamai": "Akamai", "alicloud": "Alibaba Cloud", - "artifactory": "Artifactory", + "artifactory": "Artifactory", "auth0": "Auth0", "aws": "AWS Classic", - "awsx": "AWSx (Pulumi Crosswalk for AWS)", + "awsx": "AWSx (Pulumi Crosswalk for AWS)", "aws-apigateway": "AWS API Gateway", "aws-miniflux": "Miniflux", "aws-native": "AWS Native", @@ -85,7 +85,7 @@ func titleLookup(shortName string) (string, bool) { "cloudamqp": "CloudAMQP", "cloudflare": "Cloudflare", "cloudinit": "cloud-init", - "command": "Command (preview)", + "command": "Command (preview)", "confluent": "Confluent Cloud", "consul": "Consul", "coredns-helm": "CoreDNS (Helm)", @@ -94,7 +94,7 @@ func titleLookup(shortName string) (string, bool) { "dnsimple": "DNSimple", "docker": "Docker", "docker-buildkit": "Docker BuildKit", - "ec": "ElasticCloud (EC)", + "ec": "ElasticCloud (EC)", "eks": "Amazon EKS", "equinix-metal": "Equinix Metal", "f5bigip": "f5 BIG-IP", From 7a089262d862af850aea1d49b489feafbb38927f Mon Sep 17 00:00:00 2001 From: susan evans Date: Thu, 1 Dec 2022 10:42:10 -0800 Subject: [PATCH 3/5] ohemgee Signed-off-by: susanev --- pkg/codegen/docs/gen.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/codegen/docs/gen.go b/pkg/codegen/docs/gen.go index 569e41507f0a..fe9a1deca173 100644 --- a/pkg/codegen/docs/gen.go +++ b/pkg/codegen/docs/gen.go @@ -59,10 +59,10 @@ func titleLookup(shortName string) (string, bool) { "aiven": "Aiven", "akamai": "Akamai", "alicloud": "Alibaba Cloud", - "artifactory": "Artifactory", + "artifactory": "Artifactory", "auth0": "Auth0", "aws": "AWS Classic", - "awsx": "AWSx (Pulumi Crosswalk for AWS)", + "awsx": "AWSx (Pulumi Crosswalk for AWS)", "aws-apigateway": "AWS API Gateway", "aws-miniflux": "Miniflux", "aws-native": "AWS Native", @@ -85,7 +85,7 @@ func titleLookup(shortName string) (string, bool) { "cloudamqp": "CloudAMQP", "cloudflare": "Cloudflare", "cloudinit": "cloud-init", - "command": "Command (preview)", + "command": "Command (preview)", "confluent": "Confluent Cloud", "consul": "Consul", "coredns-helm": "CoreDNS (Helm)", @@ -94,7 +94,7 @@ func titleLookup(shortName string) (string, bool) { "dnsimple": "DNSimple", "docker": "Docker", "docker-buildkit": "Docker BuildKit", - "ec": "ElasticCloud (EC)", + "ec": "ElasticCloud (EC)", "eks": "Amazon EKS", "equinix-metal": "Equinix Metal", "f5bigip": "f5 BIG-IP", From fe6ad5c352517591f99d57beeae97fab220d9dd9 Mon Sep 17 00:00:00 2001 From: susanev Date: Fri, 2 Dec 2022 19:49:41 -0800 Subject: [PATCH 4/5] more Signed-off-by: susanev --- pkg/codegen/docs/gen.go | 43 +++++++++++++++++++++++------------------ 1 file changed, 24 insertions(+), 19 deletions(-) diff --git a/pkg/codegen/docs/gen.go b/pkg/codegen/docs/gen.go index fe9a1deca173..d6475a978696 100644 --- a/pkg/codegen/docs/gen.go +++ b/pkg/codegen/docs/gen.go @@ -43,6 +43,7 @@ import ( "github.com/pulumi/pulumi/pkg/v3/codegen/nodejs" "github.com/pulumi/pulumi/pkg/v3/codegen/python" "github.com/pulumi/pulumi/pkg/v3/codegen/schema" + "github.com/pulumi/pulumi/sdk/v3/go/common/util/contract" ) //go:embed templates/*.tmpl @@ -59,7 +60,6 @@ func titleLookup(shortName string) (string, bool) { "aiven": "Aiven", "akamai": "Akamai", "alicloud": "Alibaba Cloud", - "artifactory": "Artifactory", "auth0": "Auth0", "aws": "AWS Classic", "awsx": "AWSx (Pulumi Crosswalk for AWS)", @@ -73,28 +73,27 @@ func titleLookup(shortName string) (string, bool) { "aws-quickstart-vpc": "AWS QuickStart VPC", "aws-s3-replicated-bucket": "AWS S3 Replicated Bucket", "azure": "Azure Classic", + "azure-justrun": "Azure Justrun", "azure-native": "Azure Native", "azure-quickstart-acr-geo-replication": "Azure QuickStart ACR Geo Replication", "azure-quickstart-aks": "Azure QuickStart AKS", "azure-quickstart-compute": "Azure QuickStart Compute", "azure-quickstart-sql": "Azure QuickStart SQL", - "azuread": "Azure Active Directory", + "azuread": "Azure Active Directory (Azure AD)", "azuredevops": "Azure DevOps", "azuresel": "Azure", "civo": "Civo", "cloudamqp": "CloudAMQP", "cloudflare": "Cloudflare", "cloudinit": "cloud-init", - "command": "Command (preview)", "confluent": "Confluent Cloud", - "consul": "Consul", + "consul": "HashiCorp Consul", "coredns-helm": "CoreDNS (Helm)", "datadog": "Datadog", "digitalocean": "DigitalOcean", "dnsimple": "DNSimple", "docker": "Docker", "docker-buildkit": "Docker BuildKit", - "ec": "ElasticCloud (EC)", "eks": "Amazon EKS", "equinix-metal": "Equinix Metal", "f5bigip": "f5 BIG-IP", @@ -123,7 +122,7 @@ func titleLookup(shortName string) (string, bool) { "kubernetes-ingress-nginx": "NGINX Ingress Controller (Helm)", "kubernetes-coredns": "CoreDNS (Helm)", "kubernetes-cert-manager": "Jetstack Cert Manager (Helm)", - "nomad": "Nomad", + "nomad": "HashiCorp Nomad", "ns1": "NS1", "okta": "Okta", "openstack": "OpenStack", @@ -134,7 +133,7 @@ func titleLookup(shortName string) (string, bool) { "prometheus-helm": "Prometheus (Helm)", "rabbitmq": "RabbitMQ", "rancher2": "Rancher 2", - "random": "Random", + "random": "random", "rke": "Rancher RKE", "run-my-darn-container": "Run My Darn Container", "shipa": "Shipa", @@ -1562,14 +1561,12 @@ func (mod *modContext) genResource(r *schema.Resource) resourceDocArgs { filteredOutputProps = filterOutputProperties(r.InputProperties, r.Properties) } - // All custom resources have an implicit `id` output property, that we must inject into the docs. - if !r.IsComponent { - filteredOutputProps = append(filteredOutputProps, &schema.Property{ - Name: "id", - Comment: "The provider-assigned unique ID for this managed resource.", - Type: schema.StringType, - }) - } + // All resources have an implicit `id` output property, that we must inject into the docs. + filteredOutputProps = append(filteredOutputProps, &schema.Property{ + Name: "id", + Comment: "The provider-assigned unique ID for this managed resource.", + Type: schema.StringType, + }) for _, lang := range dctx.supportedLanguages { inputProps[lang] = mod.getProperties(r.InputProperties, lang, true, false, r.IsProvider) @@ -1695,6 +1692,14 @@ func (mod *modContext) getTypes(member interface{}, types nestedTypeUsageInfo) { } } +type fs map[string][]byte + +func (fs fs) add(path string, contents []byte) { + _, has := fs[path] + contract.Assertf(!has, "duplicate file: %s", path) + fs[path] = contents +} + // getModuleFileName returns the file name to use for a module. func (mod *modContext) getModuleFileName() string { dctx := mod.docGenContext @@ -1710,13 +1715,13 @@ func (mod *modContext) getModuleFileName() string { return mod.mod } -func (mod *modContext) gen(fs codegen.Fs) error { +func (mod *modContext) gen(fs fs) error { dctx := mod.docGenContext modName := mod.getModuleFileName() addFile := func(name, contents string) { p := path.Join(modName, name, "_index.md") - fs.Add(p, []byte(contents)) + fs.add(p, []byte(contents)) } // Resources @@ -1755,7 +1760,7 @@ func (mod *modContext) gen(fs codegen.Fs) error { return err } - fs.Add(path.Join(modName, "_index.md"), buffer.Bytes()) + fs.add(path.Join(modName, "_index.md"), buffer.Bytes()) return nil } @@ -2087,7 +2092,7 @@ func (dctx *docGenContext) generatePackage(tool string, pkg *schema.Package) (ma defer glog.Flush() glog.V(3).Infoln("generating package docs now...") - files := codegen.Fs{} + files := fs{} modules := []string{} modMap := dctx.modules() for k := range modMap { From 07121987a4f8d05a7c86d3195ab242d92a2626cf Mon Sep 17 00:00:00 2001 From: susanev Date: Fri, 2 Dec 2022 19:53:46 -0800 Subject: [PATCH 5/5] i have no idea what im doing Signed-off-by: susanev --- .../docs/myModule/iamresource/_index.md | 66 +++++++++++++++++-- .../docs/registrygeoreplication/_index.md | 54 +++++++++++++++ .../other-owned/docs/barresource/_index.md | 66 +++++++++++++++++-- .../other-owned/docs/fooresource/_index.md | 66 +++++++++++++++++-- .../other-owned/docs/otherresource/_index.md | 66 +++++++++++++++++-- .../docs/staticpage/_index.md | 54 +++++++++++++++ .../docs/foo/_index.md | 66 +++++++++++++++++-- .../simple-methods-schema/docs/foo/_index.md | 66 +++++++++++++++++-- .../docs/component/_index.md | 66 +++++++++++++++++-- .../docs/component/_index.md | 66 +++++++++++++++++-- .../docs/otherresource/_index.md | 66 +++++++++++++++++-- .../docs/barresource/_index.md | 66 +++++++++++++++++-- .../docs/fooresource/_index.md | 66 +++++++++++++++++-- .../docs/otherresource/_index.md | 66 +++++++++++++++++-- .../docs/otherresource/_index.md | 66 +++++++++++++++++-- 15 files changed, 888 insertions(+), 78 deletions(-) diff --git a/pkg/codegen/testing/test/testdata/enum-reference/docs/myModule/iamresource/_index.md b/pkg/codegen/testing/test/testdata/enum-reference/docs/myModule/iamresource/_index.md index 89a93c738392..d980aa5c52ff 100644 --- a/pkg/codegen/testing/test/testdata/enum-reference/docs/myModule/iamresource/_index.md +++ b/pkg/codegen/testing/test/testdata/enum-reference/docs/myModule/iamresource/_index.md @@ -310,37 +310,91 @@ All [input](#inputs) properties are implicitly available as output properties. A
-
+
+ +Id + + + string +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +Id + + + string +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +id + + + String +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +id + + + string +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +id + + + str +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +id + + + String +
+

The provider-assigned unique ID for this managed resource.

+
diff --git a/pkg/codegen/testing/test/testdata/hyphen-url/docs/registrygeoreplication/_index.md b/pkg/codegen/testing/test/testdata/hyphen-url/docs/registrygeoreplication/_index.md index 128a9fa578c4..1f54e593c0e5 100644 --- a/pkg/codegen/testing/test/testdata/hyphen-url/docs/registrygeoreplication/_index.md +++ b/pkg/codegen/testing/test/testdata/hyphen-url/docs/registrygeoreplication/_index.md @@ -325,6 +325,15 @@ All [input](#inputs) properties are implicitly available as output properties. A string

The login server url

+
+ +Id + + + string +
+

The provider-assigned unique ID for this managed resource.

@@ -358,6 +367,15 @@ All [input](#inputs) properties are implicitly available as output properties. A string

The login server url

+
+ +Id + + + string +
+

The provider-assigned unique ID for this managed resource.

@@ -391,6 +409,15 @@ All [input](#inputs) properties are implicitly available as output properties. A String

The login server url

+
+ +id + + + String +
+

The provider-assigned unique ID for this managed resource.

@@ -424,6 +451,15 @@ All [input](#inputs) properties are implicitly available as output properties. A string

The login server url

+
+ +id + + + string +
+

The provider-assigned unique ID for this managed resource.

@@ -457,6 +493,15 @@ All [input](#inputs) properties are implicitly available as output properties. A str

The login server url

+
+ +id + + + str +
+

The provider-assigned unique ID for this managed resource.

@@ -490,6 +535,15 @@ All [input](#inputs) properties are implicitly available as output properties. A String

The login server url

+
+ +id + + + String +
+

The provider-assigned unique ID for this managed resource.

diff --git a/pkg/codegen/testing/test/testdata/other-owned/docs/barresource/_index.md b/pkg/codegen/testing/test/testdata/other-owned/docs/barresource/_index.md index c00dfd186723..79560e17107e 100644 --- a/pkg/codegen/testing/test/testdata/other-owned/docs/barresource/_index.md +++ b/pkg/codegen/testing/test/testdata/other-owned/docs/barresource/_index.md @@ -310,37 +310,91 @@ All [input](#inputs) properties are implicitly available as output properties. A
-
+
+ +Id + + + string +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +Id + + + string +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +id + + + String +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +id + + + string +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +id + + + str +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +id + + + String +
+

The provider-assigned unique ID for this managed resource.

+
diff --git a/pkg/codegen/testing/test/testdata/other-owned/docs/fooresource/_index.md b/pkg/codegen/testing/test/testdata/other-owned/docs/fooresource/_index.md index f31715f17b6d..6f0cbf73c1ce 100644 --- a/pkg/codegen/testing/test/testdata/other-owned/docs/fooresource/_index.md +++ b/pkg/codegen/testing/test/testdata/other-owned/docs/fooresource/_index.md @@ -310,37 +310,91 @@ All [input](#inputs) properties are implicitly available as output properties. A
-
+
+ +Id + + + string +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +Id + + + string +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +id + + + String +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +id + + + string +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +id + + + str +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +id + + + String +
+

The provider-assigned unique ID for this managed resource.

+
diff --git a/pkg/codegen/testing/test/testdata/other-owned/docs/otherresource/_index.md b/pkg/codegen/testing/test/testdata/other-owned/docs/otherresource/_index.md index 01a95c4fa06c..4d68b459d2a9 100644 --- a/pkg/codegen/testing/test/testdata/other-owned/docs/otherresource/_index.md +++ b/pkg/codegen/testing/test/testdata/other-owned/docs/otherresource/_index.md @@ -310,37 +310,91 @@ All [input](#inputs) properties are implicitly available as output properties. A
-
+
+ +Id + + + string +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +Id + + + string +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +id + + + String +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +id + + + string +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +id + + + str +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +id + + + String +
+

The provider-assigned unique ID for this managed resource.

+
diff --git a/pkg/codegen/testing/test/testdata/plain-schema-gh6957/docs/staticpage/_index.md b/pkg/codegen/testing/test/testdata/plain-schema-gh6957/docs/staticpage/_index.md index 3dd33dc646b8..86a7ad7279bb 100644 --- a/pkg/codegen/testing/test/testdata/plain-schema-gh6957/docs/staticpage/_index.md +++ b/pkg/codegen/testing/test/testdata/plain-schema-gh6957/docs/staticpage/_index.md @@ -374,6 +374,15 @@ All [input](#inputs) properties are implicitly available as output properties. A Pulumi.Aws.S3.Bucket

The bucket resource.

+
+ +Id + + + string +
+

The provider-assigned unique ID for this managed resource.

@@ -398,6 +407,15 @@ All [input](#inputs) properties are implicitly available as output properties. A Bucket

The bucket resource.

+
+ +Id + + + string +
+

The provider-assigned unique ID for this managed resource.

@@ -422,6 +440,15 @@ All [input](#inputs) properties are implicitly available as output properties. A Bucket

The bucket resource.

+
+ +id + + + String +
+

The provider-assigned unique ID for this managed resource.

@@ -446,6 +473,15 @@ All [input](#inputs) properties are implicitly available as output properties. A pulumiAwss3Bucket

The bucket resource.

+
+ +id + + + string +
+

The provider-assigned unique ID for this managed resource.

@@ -470,6 +506,15 @@ All [input](#inputs) properties are implicitly available as output properties. A Bucket

The bucket resource.

+
+ +id + + + str +
+

The provider-assigned unique ID for this managed resource.

@@ -494,6 +539,15 @@ All [input](#inputs) properties are implicitly available as output properties. A aws:s3:Bucket

The bucket resource.

+
+ +id + + + String +
+

The provider-assigned unique ID for this managed resource.

diff --git a/pkg/codegen/testing/test/testdata/simple-methods-schema-single-value-returns/docs/foo/_index.md b/pkg/codegen/testing/test/testdata/simple-methods-schema-single-value-returns/docs/foo/_index.md index 1b464672ef35..0a6b3b44de02 100644 --- a/pkg/codegen/testing/test/testdata/simple-methods-schema-single-value-returns/docs/foo/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-methods-schema-single-value-returns/docs/foo/_index.md @@ -261,37 +261,91 @@ All [input](#inputs) properties are implicitly available as output properties. A
-
+
+ +Id + + + string +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +Id + + + string +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +id + + + String +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +id + + + string +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +id + + + str +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +id + + + String +
+

The provider-assigned unique ID for this managed resource.

+
diff --git a/pkg/codegen/testing/test/testdata/simple-methods-schema/docs/foo/_index.md b/pkg/codegen/testing/test/testdata/simple-methods-schema/docs/foo/_index.md index 2b8c439c704c..158e2b2ccda8 100644 --- a/pkg/codegen/testing/test/testdata/simple-methods-schema/docs/foo/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-methods-schema/docs/foo/_index.md @@ -261,37 +261,91 @@ All [input](#inputs) properties are implicitly available as output properties. A
-
+
+ +Id + + + string +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +Id + + + string +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +id + + + String +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +id + + + string +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +id + + + str +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +id + + + String +
+

The provider-assigned unique ID for this managed resource.

+
diff --git a/pkg/codegen/testing/test/testdata/simple-plain-schema-with-root-package/docs/component/_index.md b/pkg/codegen/testing/test/testdata/simple-plain-schema-with-root-package/docs/component/_index.md index b019a3facf21..f85d5f592492 100644 --- a/pkg/codegen/testing/test/testdata/simple-plain-schema-with-root-package/docs/component/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-plain-schema-with-root-package/docs/component/_index.md @@ -702,37 +702,91 @@ All [input](#inputs) properties are implicitly available as output properties. A
-
+
+ +Id + + + string +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +Id + + + string +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +id + + + String +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +id + + + string +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +id + + + str +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +id + + + String +
+

The provider-assigned unique ID for this managed resource.

+
diff --git a/pkg/codegen/testing/test/testdata/simple-plain-schema/docs/component/_index.md b/pkg/codegen/testing/test/testdata/simple-plain-schema/docs/component/_index.md index bec164f5086e..9fbc94cc270f 100644 --- a/pkg/codegen/testing/test/testdata/simple-plain-schema/docs/component/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-plain-schema/docs/component/_index.md @@ -751,37 +751,91 @@ All [input](#inputs) properties are implicitly available as output properties. A
-
+
+ +Id + + + string +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +Id + + + string +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +id + + + String +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +id + + + string +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +id + + + str +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +id + + + String +
+

The provider-assigned unique ID for this managed resource.

+
diff --git a/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/docs/otherresource/_index.md b/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/docs/otherresource/_index.md index fb5ed5c3c336..876c0ac9980b 100644 --- a/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/docs/otherresource/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/docs/otherresource/_index.md @@ -310,37 +310,91 @@ All [input](#inputs) properties are implicitly available as output properties. A
-
+
+ +Id + + + string +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +Id + + + string +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +id + + + String +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +id + + + string +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +id + + + str +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +id + + + String +
+

The provider-assigned unique ID for this managed resource.

+
diff --git a/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/barresource/_index.md b/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/barresource/_index.md index e6664316b577..50e966eaaa19 100644 --- a/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/barresource/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/barresource/_index.md @@ -310,37 +310,91 @@ All [input](#inputs) properties are implicitly available as output properties. A
-
+
+ +Id + + + string +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +Id + + + string +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +id + + + String +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +id + + + string +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +id + + + str +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +id + + + String +
+

The provider-assigned unique ID for this managed resource.

+
diff --git a/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/fooresource/_index.md b/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/fooresource/_index.md index c4f4ddb88655..480bbc9e06a1 100644 --- a/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/fooresource/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/fooresource/_index.md @@ -310,37 +310,91 @@ All [input](#inputs) properties are implicitly available as output properties. A
-
+
+ +Id + + + string +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +Id + + + string +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +id + + + String +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +id + + + string +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +id + + + str +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +id + + + String +
+

The provider-assigned unique ID for this managed resource.

+
diff --git a/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/otherresource/_index.md b/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/otherresource/_index.md index fb5ed5c3c336..876c0ac9980b 100644 --- a/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/otherresource/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/otherresource/_index.md @@ -310,37 +310,91 @@ All [input](#inputs) properties are implicitly available as output properties. A
-
+
+ +Id + + + string +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +Id + + + string +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +id + + + String +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +id + + + string +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +id + + + str +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +id + + + String +
+

The provider-assigned unique ID for this managed resource.

+
diff --git a/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/otherresource/_index.md b/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/otherresource/_index.md index 44fa10303933..6dbd8e0bd3d3 100644 --- a/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/otherresource/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/otherresource/_index.md @@ -359,37 +359,91 @@ All [input](#inputs) properties are implicitly available as output properties. A
-
+
+ +Id + + + string +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +Id + + + string +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +id + + + String +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +id + + + string +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +id + + + str +
+

The provider-assigned unique ID for this managed resource.

+
-
+
+ +id + + + String +
+

The provider-assigned unique ID for this managed resource.

+