From 96a3049842a72dd6b4ac80141f435af439bd18c1 Mon Sep 17 00:00:00 2001 From: Pasquale Toscano Date: Thu, 24 Nov 2022 16:07:12 +0100 Subject: [PATCH 01/36] Fix properties declaration in NodeJS SDK when the token isn't from an external module --- ...nother-component-from-the-same-schema-as-a-property.yaml | 4 ++++ pkg/codegen/nodejs/gen.go | 6 ++++-- 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 changelog/pending/20221125--sdkgen-nodejs--fix-nodejs-sdk-when-a-component-is-using-another-component-from-the-same-schema-as-a-property.yaml diff --git a/changelog/pending/20221125--sdkgen-nodejs--fix-nodejs-sdk-when-a-component-is-using-another-component-from-the-same-schema-as-a-property.yaml b/changelog/pending/20221125--sdkgen-nodejs--fix-nodejs-sdk-when-a-component-is-using-another-component-from-the-same-schema-as-a-property.yaml new file mode 100644 index 000000000000..afcaf17d0105 --- /dev/null +++ b/changelog/pending/20221125--sdkgen-nodejs--fix-nodejs-sdk-when-a-component-is-using-another-component-from-the-same-schema-as-a-property.yaml @@ -0,0 +1,4 @@ +changes: +- type: fix + scope: sdkgen/nodejs + description: Fix NodeJS SDK when a component is using another component from the same schema as a property diff --git a/pkg/codegen/nodejs/gen.go b/pkg/codegen/nodejs/gen.go index 68dc85ed508c..89fd360bc00b 100644 --- a/pkg/codegen/nodejs/gen.go +++ b/pkg/codegen/nodejs/gen.go @@ -250,10 +250,12 @@ func (mod *modContext) resourceType(r *schema.ResourceType) string { pkg = r.Resource.Package } namingCtx, pkgName, external := mod.namingContext(pkg) - if external { - pkgName = externalModuleName(pkgName) + if !external { + name := tokenToName(r.Token) + return title(name) } + pkgName = externalModuleName(pkgName) modName, name := namingCtx.tokenToModName(r.Token), tokenToName(r.Token) return pkgName + modName + title(name) From cc4e34586e93a5e1ef6ab0b475240b8e2c3af97d Mon Sep 17 00:00:00 2001 From: Pelle Johnsen Date: Mon, 28 Nov 2022 16:29:44 +0000 Subject: [PATCH 02/36] fix: emit closure requires in global scope --- sdk/nodejs/runtime/closure/serializeClosure.ts | 11 +++++++++++ sdk/nodejs/tests/runtime/tsClosureCases.ts | 12 ++++++++---- 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a/sdk/nodejs/runtime/closure/serializeClosure.ts b/sdk/nodejs/runtime/closure/serializeClosure.ts index c4ae3f925115..0e8a80ef8699 100644 --- a/sdk/nodejs/runtime/closure/serializeClosure.ts +++ b/sdk/nodejs/runtime/closure/serializeClosure.ts @@ -151,6 +151,7 @@ function serializeJavaScriptText( let environmentText = ""; let functionText = ""; + const emittedRequires = new Set(); const outerFunctionName = emitFunctionAndGetName(outerClosure.func); @@ -202,6 +203,16 @@ function serializeJavaScriptText( const parameters = [...Array(functionInfo.paramCount)].map((_, index) => `__${index}`).join(", "); + for (const [keyEntry, { entry: valEntry }] of functionInfo.capturedValues) { + if (valEntry.module !== undefined) { + if(!emittedRequires.has(keyEntry.json)) { + emittedRequires.add(keyEntry.json); + functionText += `const ${keyEntry.json} = require("${valEntry.module}");\n`; + } + delete capturedValues[keyEntry.json]; + } + } + functionText += "\n" + "function " + varName + "(" + parameters + ") {\n" + " return (function() {\n" + diff --git a/sdk/nodejs/tests/runtime/tsClosureCases.ts b/sdk/nodejs/tests/runtime/tsClosureCases.ts index eed6ef740047..19b90290e5f2 100644 --- a/sdk/nodejs/tests/runtime/tsClosureCases.ts +++ b/sdk/nodejs/tests/runtime/tsClosureCases.ts @@ -859,10 +859,11 @@ return () => { let x = eval("undefined + null + NaN + Infinity + __filename"); r title: "Capture built in module by ref", func: () => os, expectText: `exports.handler = __f0; +const os = require("os"); function __f0() { return (function() { - with({ os: require("os") }) { + with({ }) { return () => os; @@ -886,10 +887,11 @@ return () => os; return { v }; }, expectText: `exports.handler = __f0; +const os = require("os"); function __f0(__0, __1, __2) { return (function() { - with({ os: require("os") }) { + with({ }) { return (a, b, c) => { const v = os; @@ -915,10 +917,11 @@ return (a, b, c) => { title: "Capture module through indirect function references", func: func, expectText: `exports.handler = __f0; +const os = require("os"); function __f1() { return (function() { - with({ os: require("os") }) { + with({ }) { return () => os; @@ -6645,10 +6648,11 @@ return function (thisArg, _arguments, P, generator) { } }).apply(undefined, undefined).apply(this, arguments); } +const mockpackage_1 = require("mockpackage"); function __f1() { return (function() { - with({ mockpackage_1: require("mockpackage") }) { + with({ }) { return () => mockpackage_1.z.object({ message: mockpackage_1.z.string(), From 6483001d7d31d5abcd7b4fea0b5189d36db700a7 Mon Sep 17 00:00:00 2001 From: Pelle Johnsen Date: Tue, 29 Nov 2022 07:29:17 +0000 Subject: [PATCH 03/36] docs: add changelog entry --- ...res-in-global-scope-for-improved-cold-start-on-lambda.yaml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 changelog/pending/20221129--sdk-nodejs--emit-closure-requires-in-global-scope-for-improved-cold-start-on-lambda.yaml diff --git a/changelog/pending/20221129--sdk-nodejs--emit-closure-requires-in-global-scope-for-improved-cold-start-on-lambda.yaml b/changelog/pending/20221129--sdk-nodejs--emit-closure-requires-in-global-scope-for-improved-cold-start-on-lambda.yaml new file mode 100644 index 000000000000..6e1500681064 --- /dev/null +++ b/changelog/pending/20221129--sdk-nodejs--emit-closure-requires-in-global-scope-for-improved-cold-start-on-lambda.yaml @@ -0,0 +1,4 @@ +changes: +- type: feat + scope: sdk/nodejs + description: Emit closure requires in global scope for improved cold start on Lambda From 48eff4676ac84307f17e56f69c3ce19ca82b834d Mon Sep 17 00:00:00 2001 From: Eng Zer Jun Date: Sat, 3 Dec 2022 15:17:08 +0800 Subject: [PATCH 04/36] test: use T.TempDir to create temporary test directory This commit replaces `ioutil.TempDir` with `t.TempDir` in tests. The directory created by `t.TempDir` is automatically removed when the test and all its subtests complete. Prior to this commit, temporary directory created using `ioutil.TempDir` needs to be removed manually by calling `os.RemoveAll`, which is omitted in some tests. The error handling boilerplate e.g. defer func() { if err := os.RemoveAll(dir); err != nil { t.Fatal(err) } } is also tedious, but `t.TempDir` handles this for us nicely. Reference: https://pkg.go.dev/testing#T.TempDir Signed-off-by: Eng Zer Jun --- pkg/backend/filestate/backend_test.go | 19 +++----- pkg/cmd/pulumi/convert_test.go | 3 +- pkg/cmd/pulumi/new_smoke_test.go | 16 ++----- pkg/cmd/pulumi/new_test.go | 47 ++++++------------- pkg/cmd/pulumi/policy_new_smoke_test.go | 5 +- pkg/cmd/pulumi/policy_new_test.go | 12 ++--- pkg/testing/integration/program.go | 6 +-- pkg/testing/integration/program_test.go | 6 +-- sdk/go/auto/git_test.go | 5 +- sdk/go/common/resource/asset_test.go | 6 +-- sdk/go/common/util/archive/archive_test.go | 15 ++---- sdk/go/common/workspace/paths_test.go | 10 ++-- .../common/workspace/plugins_install_test.go | 9 +--- sdk/go/common/workspace/plugins_test.go | 2 +- .../cmd/pulumi-language-nodejs/main_test.go | 5 +- sdk/nodejs/npm/npm_test.go | 3 +- sdk/python/python_test.go | 6 +-- tests/integration/integration_go_test.go | 4 +- 18 files changed, 50 insertions(+), 129 deletions(-) diff --git a/pkg/backend/filestate/backend_test.go b/pkg/backend/filestate/backend_test.go index 80a9e36baf66..0a58501e3a17 100644 --- a/pkg/backend/filestate/backend_test.go +++ b/pkg/backend/filestate/backend_test.go @@ -3,7 +3,6 @@ package filestate import ( "context" "encoding/json" - "io/ioutil" "os" "path" "path/filepath" @@ -143,8 +142,7 @@ func makeUntypedDeployment(name tokens.QName, phrase, state string) (*apitype.Un //nolint:paralleltest // mutates environment variables func TestListStacksWithMultiplePassphrases(t *testing.T) { // Login to a temp dir filestate backend - tmpDir, err := ioutil.TempDir("", "filestatebackend") - assert.NoError(t, err) + tmpDir := t.TempDir() b, err := New(cmdutil.Diag(), "file://"+filepath.ToSlash(tmpDir)) assert.NoError(t, err) ctx := context.Background() @@ -205,8 +203,7 @@ func TestDrillError(t *testing.T) { t.Parallel() // Login to a temp dir filestate backend - tmpDir, err := ioutil.TempDir("", "filestatebackend") - assert.NoError(t, err) + tmpDir := t.TempDir() b, err := New(cmdutil.Diag(), "file://"+filepath.ToSlash(tmpDir)) assert.NoError(t, err) ctx := context.Background() @@ -224,8 +221,7 @@ func TestCancel(t *testing.T) { t.Parallel() // Login to a temp dir filestate backend - tmpDir, err := ioutil.TempDir("", "filestatebackend") - assert.NoError(t, err) + tmpDir := t.TempDir() b, err := New(cmdutil.Diag(), "file://"+filepath.ToSlash(tmpDir)) assert.NoError(t, err) ctx := context.Background() @@ -286,8 +282,7 @@ func TestRemoveMakesBackups(t *testing.T) { t.Parallel() // Login to a temp dir filestate backend - tmpDir, err := ioutil.TempDir("", "filestatebackend") - assert.NoError(t, err) + tmpDir := t.TempDir() b, err := New(cmdutil.Diag(), "file://"+filepath.ToSlash(tmpDir)) assert.NoError(t, err) ctx := context.Background() @@ -330,8 +325,7 @@ func TestRenameWorks(t *testing.T) { t.Parallel() // Login to a temp dir filestate backend - tmpDir, err := ioutil.TempDir("", "filestatebackend") - assert.NoError(t, err) + tmpDir := t.TempDir() b, err := New(cmdutil.Diag(), "file://"+filepath.ToSlash(tmpDir)) assert.NoError(t, err) ctx := context.Background() @@ -445,8 +439,7 @@ func TestHtmlEscaping(t *testing.T) { } // Login to a temp dir filestate backend - tmpDir, err := ioutil.TempDir("", "filestatebackend") - assert.NoError(t, err) + tmpDir := t.TempDir() b, err := New(cmdutil.Diag(), "file://"+filepath.ToSlash(tmpDir)) assert.NoError(t, err) ctx := context.Background() diff --git a/pkg/cmd/pulumi/convert_test.go b/pkg/cmd/pulumi/convert_test.go index c424e5f9d648..bb738bc516d2 100644 --- a/pkg/cmd/pulumi/convert_test.go +++ b/pkg/cmd/pulumi/convert_test.go @@ -41,8 +41,7 @@ func TestPclConvert(t *testing.T) { t.Setenv("PULUMI_DEV", "TRUE") // Check that we can run convert from PCL to PCL - tmp, err := os.MkdirTemp("", "pulumi-convert-test") - assert.NoError(t, err) + tmp := t.TempDir() result := runConvert("pcl_convert_testdata", []string{}, "pcl", "pcl", tmp, true) assert.Nil(t, result) diff --git a/pkg/cmd/pulumi/new_smoke_test.go b/pkg/cmd/pulumi/new_smoke_test.go index 0800608638f2..409f35805a05 100644 --- a/pkg/cmd/pulumi/new_smoke_test.go +++ b/pkg/cmd/pulumi/new_smoke_test.go @@ -15,7 +15,6 @@ package main import ( "context" - "io/ioutil" "os" "path/filepath" "strings" @@ -44,8 +43,7 @@ func chdir(t *testing.T, dir string) { func TestCreatingStackWithArgsSpecifiedName(t *testing.T) { skipIfShortOrNoPulumiAccessToken(t) - tempdir, _ := ioutil.TempDir("", "test-env") - defer os.RemoveAll(tempdir) + tempdir := t.TempDir() chdir(t, tempdir) var args = newArgs{ @@ -68,8 +66,7 @@ func TestCreatingStackWithArgsSpecifiedName(t *testing.T) { func TestCreatingStackWithPromptedName(t *testing.T) { skipIfShortOrNoPulumiAccessToken(t) - tempdir, _ := ioutil.TempDir("", "test-env") - defer os.RemoveAll(tempdir) + tempdir := t.TempDir() chdir(t, tempdir) uniqueProjectName := filepath.Base(tempdir) @@ -91,8 +88,7 @@ func TestCreatingStackWithPromptedName(t *testing.T) { func TestCreatingProjectWithDefaultName(t *testing.T) { skipIfShortOrNoPulumiAccessToken(t) - tempdir, _ := ioutil.TempDir("", "test-env") - defer os.RemoveAll(tempdir) + tempdir := t.TempDir() chdir(t, tempdir) defaultProjectName := filepath.Base(tempdir) @@ -123,8 +119,7 @@ func TestCreatingProjectWithPulumiBackendURL(t *testing.T) { require.NoError(t, err) assert.True(t, strings.HasPrefix(b.URL(), "https://app.pulumi.com")) - fileStateDir, _ := ioutil.TempDir("", "local-state-dir") - defer os.RemoveAll(fileStateDir) + fileStateDir := t.TempDir() // Now override to local filesystem backend backendURL := "file://" + filepath.ToSlash(fileStateDir) @@ -132,8 +127,7 @@ func TestCreatingProjectWithPulumiBackendURL(t *testing.T) { t.Setenv(workspace.PulumiBackendURLEnvVar, backendURL) backendInstance = nil - tempdir, _ := ioutil.TempDir("", "test-env-local") - defer os.RemoveAll(tempdir) + tempdir := t.TempDir() chdir(t, tempdir) defaultProjectName := filepath.Base(tempdir) diff --git a/pkg/cmd/pulumi/new_test.go b/pkg/cmd/pulumi/new_test.go index 7177678cd0e5..a7829f4278c0 100644 --- a/pkg/cmd/pulumi/new_test.go +++ b/pkg/cmd/pulumi/new_test.go @@ -17,8 +17,6 @@ package main import ( "context" "fmt" - "io/ioutil" - "os" "path/filepath" "testing" @@ -31,8 +29,7 @@ import ( func TestFailInInteractiveWithoutYes(t *testing.T) { skipIfShortOrNoPulumiAccessToken(t) - tempdir, _ := ioutil.TempDir("", "test-env") - defer os.RemoveAll(tempdir) + tempdir := t.TempDir() chdir(t, tempdir) var args = newArgs{ @@ -52,8 +49,7 @@ func TestFailInInteractiveWithoutYes(t *testing.T) { func TestCreatingStackWithArgsSpecifiedOrgName(t *testing.T) { skipIfShortOrNoPulumiAccessToken(t) - tempdir, _ := ioutil.TempDir("", "test-env") - defer os.RemoveAll(tempdir) + tempdir := t.TempDir() chdir(t, tempdir) orgStackName := fmt.Sprintf("%s/%s", currentUser(t), stackName) @@ -78,8 +74,7 @@ func TestCreatingStackWithArgsSpecifiedOrgName(t *testing.T) { func TestCreatingStackWithPromptedOrgName(t *testing.T) { skipIfShortOrNoPulumiAccessToken(t) - tempdir, _ := ioutil.TempDir("", "test-env") - defer os.RemoveAll(tempdir) + tempdir := t.TempDir() chdir(t, tempdir) uniqueProjectName := filepath.Base(tempdir) @@ -103,8 +98,7 @@ func TestCreatingStackWithPromptedOrgName(t *testing.T) { func TestCreatingStackWithArgsSpecifiedFullNameSucceeds(t *testing.T) { skipIfShortOrNoPulumiAccessToken(t) - tempdir, _ := ioutil.TempDir("", "test-env") - defer os.RemoveAll(tempdir) + tempdir := t.TempDir() chdir(t, tempdir) // the project name and the project name in the stack name must match @@ -131,8 +125,7 @@ func TestCreatingStackWithArgsSpecifiedFullNameSucceeds(t *testing.T) { func TestCreatingProjectWithArgsSpecifiedName(t *testing.T) { skipIfShortOrNoPulumiAccessToken(t) - tempdir, _ := ioutil.TempDir("", "test-env") - defer os.RemoveAll(tempdir) + tempdir := t.TempDir() chdir(t, tempdir) uniqueProjectName := filepath.Base(tempdir) + "test" @@ -159,8 +152,7 @@ func TestCreatingProjectWithArgsSpecifiedName(t *testing.T) { func TestCreatingProjectWithPromptedName(t *testing.T) { skipIfShortOrNoPulumiAccessToken(t) - tempdir, _ := ioutil.TempDir("", "test-env") - defer os.RemoveAll(tempdir) + tempdir := t.TempDir() chdir(t, tempdir) uniqueProjectName := filepath.Base(tempdir) + "test" @@ -184,8 +176,7 @@ func TestCreatingProjectWithPromptedName(t *testing.T) { func TestCreatingProjectWithExistingArgsSpecifiedNameFails(t *testing.T) { skipIfShortOrNoPulumiAccessToken(t) - tempdir, _ := ioutil.TempDir("", "test-env") - defer os.RemoveAll(tempdir) + tempdir := t.TempDir() chdir(t, tempdir) backendInstance = &backend.MockBackend{ @@ -212,8 +203,7 @@ func TestCreatingProjectWithExistingArgsSpecifiedNameFails(t *testing.T) { func TestCreatingProjectWithExistingPromptedNameFails(t *testing.T) { skipIfShortOrNoPulumiAccessToken(t) - tempdir, _ := ioutil.TempDir("", "test-env") - defer os.RemoveAll(tempdir) + tempdir := t.TempDir() chdir(t, tempdir) backendInstance = &backend.MockBackend{ @@ -238,8 +228,7 @@ func TestCreatingProjectWithExistingPromptedNameFails(t *testing.T) { func TestGeneratingProjectWithExistingArgsSpecifiedNameSucceeds(t *testing.T) { skipIfShortOrNoPulumiAccessToken(t) - tempdir, _ := ioutil.TempDir("", "test-env") - defer os.RemoveAll(tempdir) + tempdir := t.TempDir() chdir(t, tempdir) backendInstance = &backend.MockBackend{ @@ -270,8 +259,7 @@ func TestGeneratingProjectWithExistingArgsSpecifiedNameSucceeds(t *testing.T) { func TestGeneratingProjectWithExistingPromptedNameSucceeds(t *testing.T) { skipIfShortOrNoPulumiAccessToken(t) - tempdir, _ := ioutil.TempDir("", "test-env") - defer os.RemoveAll(tempdir) + tempdir := t.TempDir() chdir(t, tempdir) backendInstance = &backend.MockBackend{ @@ -300,8 +288,7 @@ func TestGeneratingProjectWithExistingPromptedNameSucceeds(t *testing.T) { func TestGeneratingProjectWithInvalidArgsSpecifiedNameFails(t *testing.T) { skipIfShortOrNoPulumiAccessToken(t) - tempdir, _ := ioutil.TempDir("", "test-env") - defer os.RemoveAll(tempdir) + tempdir := t.TempDir() chdir(t, tempdir) backendInstance = &backend.MockBackend{ @@ -330,8 +317,7 @@ func TestGeneratingProjectWithInvalidArgsSpecifiedNameFails(t *testing.T) { func TestGeneratingProjectWithInvalidPromptedNameFails(t *testing.T) { skipIfShortOrNoPulumiAccessToken(t) - tempdir, _ := ioutil.TempDir("", "test-env") - defer os.RemoveAll(tempdir) + tempdir := t.TempDir() chdir(t, tempdir) backendInstance = &backend.MockBackend{ @@ -367,8 +353,7 @@ func TestInvalidTemplateName(t *testing.T) { skipIfShortOrNoPulumiAccessToken(t) t.Run("NoTemplateSpecified", func(t *testing.T) { - tempdir, _ := ioutil.TempDir("", "test-env") - defer os.RemoveAll(tempdir) + tempdir := t.TempDir() chdir(t, tempdir) var args = newArgs{ @@ -385,8 +370,7 @@ func TestInvalidTemplateName(t *testing.T) { }) t.Run("RemoteTemplateNotFound", func(t *testing.T) { - tempdir, _ := ioutil.TempDir("", "test-env") - defer os.RemoveAll(tempdir) + tempdir := t.TempDir() chdir(t, tempdir) // A template that will never exist. @@ -406,8 +390,7 @@ func TestInvalidTemplateName(t *testing.T) { }) t.Run("LocalTemplateNotFound", func(t *testing.T) { - tempdir, _ := ioutil.TempDir("", "test-env") - defer os.RemoveAll(tempdir) + tempdir := t.TempDir() chdir(t, tempdir) // A template that will never exist remotely. diff --git a/pkg/cmd/pulumi/policy_new_smoke_test.go b/pkg/cmd/pulumi/policy_new_smoke_test.go index f2e362f0bc9f..770428cf6042 100644 --- a/pkg/cmd/pulumi/policy_new_smoke_test.go +++ b/pkg/cmd/pulumi/policy_new_smoke_test.go @@ -16,8 +16,6 @@ package main import ( "context" - "io/ioutil" - "os" "path/filepath" "strings" "testing" @@ -29,8 +27,7 @@ import ( func TestCreatingPolicyPackWithArgsSpecifiedName(t *testing.T) { skipIfShortOrNoPulumiAccessToken(t) - tempdir, _ := ioutil.TempDir("", "test-env") - defer os.RemoveAll(tempdir) + tempdir := t.TempDir() chdir(t, tempdir) var args = newPolicyArgs{ diff --git a/pkg/cmd/pulumi/policy_new_test.go b/pkg/cmd/pulumi/policy_new_test.go index 904328c5d4d3..c8d94db0edd7 100644 --- a/pkg/cmd/pulumi/policy_new_test.go +++ b/pkg/cmd/pulumi/policy_new_test.go @@ -18,8 +18,6 @@ package main import ( "context" - "io/ioutil" - "os" "path/filepath" "testing" @@ -30,8 +28,7 @@ import ( func TestCreatingPolicyPackWithPromptedName(t *testing.T) { skipIfShortOrNoPulumiAccessToken(t) - tempdir, _ := ioutil.TempDir("", "test-env") - defer os.RemoveAll(tempdir) + tempdir := t.TempDir() chdir(t, tempdir) var args = newPolicyArgs{ @@ -54,9 +51,7 @@ func TestInvalidPolicyPackTemplateName(t *testing.T) { const nonExistantTemplate = "this-is-not-the-template-youre-looking-for" t.Run("RemoteTemplateNotFound", func(t *testing.T) { - tempdir, _ := ioutil.TempDir("", "test-env") - defer os.RemoveAll(tempdir) - assert.DirExists(t, tempdir) + tempdir := t.TempDir() chdir(t, tempdir) var args = newPolicyArgs{ @@ -71,8 +66,7 @@ func TestInvalidPolicyPackTemplateName(t *testing.T) { }) t.Run("LocalTemplateNotFound", func(t *testing.T) { - tempdir, _ := ioutil.TempDir("", "test-env") - defer os.RemoveAll(tempdir) + tempdir := t.TempDir() chdir(t, tempdir) var args = newPolicyArgs{ diff --git a/pkg/testing/integration/program.go b/pkg/testing/integration/program.go index d902e231c32b..261dc4e6fc2f 100644 --- a/pkg/testing/integration/program.go +++ b/pkg/testing/integration/program.go @@ -778,11 +778,7 @@ func newProgramTester(t *testing.T, opts *ProgramTestOptions) *ProgramTester { // MakeTempBackend creates a temporary backend directory which will clean up on test exit. func MakeTempBackend(t *testing.T) string { - tempDir, err := os.MkdirTemp("", "") - if err != nil { - t.Fatalf("Failed to create temporary directory: %v", err) - } - t.Cleanup(func() { os.RemoveAll(tempDir) }) + tempDir := t.TempDir() return fmt.Sprintf("file://%s", filepath.ToSlash(tempDir)) } diff --git a/pkg/testing/integration/program_test.go b/pkg/testing/integration/program_test.go index 90a3fc1c7dd3..868b7067748b 100644 --- a/pkg/testing/integration/program_test.go +++ b/pkg/testing/integration/program_test.go @@ -22,8 +22,6 @@ import ( "testing" "github.com/stretchr/testify/assert" - - "github.com/pulumi/pulumi/sdk/v3/go/common/util/contract" ) // Test that RunCommand writes the command's output to a log file. @@ -42,9 +40,7 @@ func TestRunCommandLog(t *testing.T) { Stderr: os.Stderr, } - tempdir, err := ioutil.TempDir("", "test") - contract.AssertNoError(err) - defer os.RemoveAll(tempdir) + tempdir := t.TempDir() args := []string{node, "-e", "console.log('output from node');"} err = RunCommand(t, "node", args, tempdir, opts) diff --git a/sdk/go/auto/git_test.go b/sdk/go/auto/git_test.go index 83f03492048f..19c34362bed5 100644 --- a/sdk/go/auto/git_test.go +++ b/sdk/go/auto/git_test.go @@ -21,10 +21,7 @@ func TestGitClone(t *testing.T) { // This makes a git repo to clone from, so to avoid relying on something at GitHub that could // change or be inaccessible. - tmpDir, err := os.MkdirTemp("", "pulumi-git-test") - assert.NoError(t, err) - assert.True(t, len(tmpDir) > 1) - t.Cleanup(func() { os.RemoveAll(tmpDir) }) + tmpDir := t.TempDir() originDir := filepath.Join(tmpDir, "origin") origin, err := git.PlainInit(originDir, false) diff --git a/sdk/go/common/resource/asset_test.go b/sdk/go/common/resource/asset_test.go index 02657eced118..31a2a8435714 100644 --- a/sdk/go/common/resource/asset_test.go +++ b/sdk/go/common/resource/asset_test.go @@ -444,8 +444,7 @@ func TestNestedArchive(t *testing.T) { t.Parallel() // Create temp dir and place some files. - dirName, err := os.MkdirTemp("", "") - assert.Nil(t, err) + dirName := t.TempDir() assert.NoError(t, os.MkdirAll(filepath.Join(dirName, "foo", "bar"), 0777)) assert.NoError(t, os.WriteFile(filepath.Join(dirName, "foo", "a.txt"), []byte("a"), 0777)) assert.NoError(t, os.WriteFile(filepath.Join(dirName, "foo", "bar", "b.txt"), []byte("b"), 0777)) @@ -487,8 +486,7 @@ func TestFileReferencedThroughMultiplePaths(t *testing.T) { t.Parallel() // Create temp dir and place some files. - dirName, err := os.MkdirTemp("", "") - assert.Nil(t, err) + dirName := t.TempDir() assert.NoError(t, os.MkdirAll(filepath.Join(dirName, "foo", "bar"), 0777)) assert.NoError(t, os.WriteFile(filepath.Join(dirName, "foo", "bar", "b.txt"), []byte("b"), 0777)) diff --git a/sdk/go/common/util/archive/archive_test.go b/sdk/go/common/util/archive/archive_test.go index 187cfe4b86a0..f84d7002ef5d 100644 --- a/sdk/go/common/util/archive/archive_test.go +++ b/sdk/go/common/util/archive/archive_test.go @@ -28,8 +28,6 @@ import ( "strings" "testing" - "github.com/pulumi/pulumi/sdk/v3/go/common/util/contract" - "github.com/stretchr/testify/assert" ) @@ -122,7 +120,7 @@ func TestIgnoreNestedGitignore(t *testing.T) { func doArchiveTest(t *testing.T, path string, files ...fileContents) { doTest := func(prefixPathInsideTar, path string) { - tarball, err := archiveContents(prefixPathInsideTar, path, files...) + tarball, err := archiveContents(t, prefixPathInsideTar, path, files...) assert.NoError(t, err) tarReader := bytes.NewReader(tarball) @@ -137,15 +135,8 @@ func doArchiveTest(t *testing.T, path string, files ...fileContents) { } } -func archiveContents(prefixPathInsideTar, path string, files ...fileContents) ([]byte, error) { - dir, err := os.MkdirTemp("", "archive-test") - if err != nil { - return nil, err - } - - defer func() { - contract.IgnoreError(os.RemoveAll(dir)) - }() +func archiveContents(t *testing.T, prefixPathInsideTar, path string, files ...fileContents) ([]byte, error) { + dir := t.TempDir() for _, file := range files { name := file.name diff --git a/sdk/go/common/workspace/paths_test.go b/sdk/go/common/workspace/paths_test.go index be36e18a64c0..db3e417526be 100644 --- a/sdk/go/common/workspace/paths_test.go +++ b/sdk/go/common/workspace/paths_test.go @@ -15,7 +15,6 @@ package workspace import ( - "io/ioutil" "os" "path/filepath" "testing" @@ -28,9 +27,8 @@ import ( // that directory. However DetectProjectAndPath will do symlink resolution, while ioutil.TempDir normally does // not. This can lead to asserts especially on macos where TmpDir will have returned /var/folders/XX, but // after sym link resolution that is /private/var/folders/XX. -func mkTempDir(t *testing.T, pattern string) string { - tmpDir, err := ioutil.TempDir("", pattern) - assert.NoError(t, err) +func mkTempDir(t *testing.T) string { + tmpDir := t.TempDir() result, err := filepath.EvalSymlinks(tmpDir) assert.NoError(t, err) return result @@ -38,7 +36,7 @@ func mkTempDir(t *testing.T, pattern string) string { //nolint:paralleltest // Theses test use and change the current working directory func TestDetectProjectAndPath(t *testing.T) { - tmpDir := mkTempDir(t, "TestDetectProjectAndPath") + tmpDir := mkTempDir(t) cwd, err := os.Getwd() assert.NoError(t, err) defer func() { err := os.Chdir(cwd); assert.NoError(t, err) }() @@ -99,7 +97,7 @@ func TestProjectStackPath(t *testing.T) { for _, tt := range tests { tt := tt t.Run(tt.name, func(t *testing.T) { - tmpDir := mkTempDir(t, "TestProjectStackPath") + tmpDir := mkTempDir(t) cwd, err := os.Getwd() assert.NoError(t, err) defer func() { err := os.Chdir(cwd); assert.NoError(t, err) }() diff --git a/sdk/go/common/workspace/plugins_install_test.go b/sdk/go/common/workspace/plugins_install_test.go index fb703d40ece2..52d8fa1d8144 100644 --- a/sdk/go/common/workspace/plugins_install_test.go +++ b/sdk/go/common/workspace/plugins_install_test.go @@ -84,8 +84,7 @@ func prepareTestPluginTGZ(t *testing.T, files map[string][]byte) io.ReadCloser { func prepareTestDir(t *testing.T, files map[string][]byte) (string, io.ReadCloser, PluginSpec) { tarball := prepareTestPluginTGZ(t, files) - dir, err := ioutil.TempDir("", "plugins-test-dir") - require.NoError(t, err) + dir := t.TempDir() v1 := semver.MustParse("0.1.0") plugin := PluginSpec{ @@ -163,7 +162,6 @@ func testPluginInstall(t *testing.T, expectedDir string, files map[string][]byte } dir, tarball, plugin := prepareTestDir(t, files) - defer os.RemoveAll(dir) err := plugin.Install(tarball, false) assert.NoError(t, err) @@ -182,7 +180,6 @@ func TestInstallNoDeps(t *testing.T) { content := []byte("hello\n") dir, tarball, plugin := prepareTestDir(t, map[string][]byte{name: content}) - defer os.RemoveAll(dir) err := plugin.Install(tarball, false) require.NoError(t, err) @@ -201,7 +198,6 @@ func TestReinstall(t *testing.T) { content := []byte("hello\n") dir, tarball, plugin := prepareTestDir(t, map[string][]byte{name: content}) - defer os.RemoveAll(dir) err := plugin.Install(tarball, false) require.NoError(t, err) @@ -231,7 +227,6 @@ func TestConcurrentInstalls(t *testing.T) { content := []byte("hello\n") dir, tarball, plugin := prepareTestDir(t, map[string][]byte{name: content}) - defer os.RemoveAll(dir) assertSuccess := func() PluginInfo { pluginInfo := assertPluginInstalled(t, dir, plugin) @@ -266,7 +261,6 @@ func TestConcurrentInstalls(t *testing.T) { func TestInstallCleansOldFiles(t *testing.T) { dir, tarball, plugin := prepareTestDir(t, nil) - defer os.RemoveAll(dir) // Leftover temp dirs. tempDir1, err := ioutil.TempDir(dir, fmt.Sprintf("%s.tmp", plugin.Dir())) @@ -298,7 +292,6 @@ func TestInstallCleansOldFiles(t *testing.T) { func TestGetPluginsSkipsPartial(t *testing.T) { dir, tarball, plugin := prepareTestDir(t, nil) - defer os.RemoveAll(dir) err := plugin.Install(tarball, false) assert.NoError(t, err) diff --git a/sdk/go/common/workspace/plugins_test.go b/sdk/go/common/workspace/plugins_test.go index 51993a79ed80..99b0b8f36ed0 100644 --- a/sdk/go/common/workspace/plugins_test.go +++ b/sdk/go/common/workspace/plugins_test.go @@ -812,7 +812,7 @@ func TestParsePluginDownloadURLOverride(t *testing.T) { //nolint:paralleltest // changes directory for process func TestUnmarshalProjectWithProviderList(t *testing.T) { t.Parallel() - tempdir, _ := ioutil.TempDir("", "test-env") + tempdir := t.TempDir() pyaml := filepath.Join(tempdir, "Pulumi.yaml") //write to pyaml diff --git a/sdk/nodejs/cmd/pulumi-language-nodejs/main_test.go b/sdk/nodejs/cmd/pulumi-language-nodejs/main_test.go index 2cfd35887dfd..39ea506aebaa 100644 --- a/sdk/nodejs/cmd/pulumi-language-nodejs/main_test.go +++ b/sdk/nodejs/cmd/pulumi-language-nodejs/main_test.go @@ -16,7 +16,6 @@ package main import ( "context" - "io/ioutil" "os" "path/filepath" "strings" @@ -123,9 +122,7 @@ func TestCompatibleVersions(t *testing.T) { func TestGetRequiredPlugins(t *testing.T) { t.Parallel() - dir, err := ioutil.TempDir("", "test-dir") - assert.NoError(t, err) - defer os.RemoveAll(dir) + dir := t.TempDir() files := []struct { path string diff --git a/sdk/nodejs/npm/npm_test.go b/sdk/nodejs/npm/npm_test.go index f9fa114233eb..35686be48a36 100644 --- a/sdk/nodejs/npm/npm_test.go +++ b/sdk/nodejs/npm/npm_test.go @@ -57,8 +57,7 @@ func testInstall(t *testing.T, expectedBin string, production bool) { } // Create a new empty test directory and change the current working directory to it. - tempdir, _ := ioutil.TempDir("", "test-env") - t.Cleanup(func() { os.RemoveAll(tempdir) }) + tempdir := t.TempDir() chdir(t, tempdir) // Create a package directory to install dependencies into. diff --git a/sdk/python/python_test.go b/sdk/python/python_test.go index ee5acb7c8cce..001812d577ca 100644 --- a/sdk/python/python_test.go +++ b/sdk/python/python_test.go @@ -30,8 +30,7 @@ func TestIsVirtualEnv(t *testing.T) { t.Parallel() // Create a new empty test directory. - tempdir, _ := ioutil.TempDir("", "test-env") - defer os.RemoveAll(tempdir) + tempdir := t.TempDir() // Assert the empty test directory is not a virtual environment. assert.False(t, IsVirtualEnv(tempdir)) @@ -94,8 +93,7 @@ func TestRunningPipInVirtualEnvironment(t *testing.T) { } // Create a new empty test directory. - tempdir, _ := ioutil.TempDir("", "test-env") - defer os.RemoveAll(tempdir) + tempdir := t.TempDir() // Create and run a python command to create a virtual environment. venvDir := filepath.Join(tempdir, "venv") diff --git a/tests/integration/integration_go_test.go b/tests/integration/integration_go_test.go index 8f922c808c82..eecd4cac5059 100644 --- a/tests/integration/integration_go_test.go +++ b/tests/integration/integration_go_test.go @@ -707,9 +707,7 @@ func TestComponentProviderSchemaGo(t *testing.T) { // TestTracePropagationGo checks that --tracing flag lets golang sub-process to emit traces. func TestTracePropagationGo(t *testing.T) { - dir, err := os.MkdirTemp("", "pulumi-tracefiles") - assert.NoError(t, err) - defer os.RemoveAll(dir) + dir := t.TempDir() opts := &integration.ProgramTestOptions{ Dir: filepath.Join("empty", "go"), From 481458a9d4255b21a481702f00c96c745fcdefcc Mon Sep 17 00:00:00 2001 From: Eng Zer Jun Date: Sat, 3 Dec 2022 19:54:35 +0800 Subject: [PATCH 05/36] test: revert new_smoke_test.go and new_test.go Reference: https://github.com/pulumi/pulumi/pull/11524#issuecomment-1336142387 Signed-off-by: Eng Zer Jun --- pkg/cmd/pulumi/new_smoke_test.go | 16 +++++++---- pkg/cmd/pulumi/new_test.go | 47 ++++++++++++++++++++++---------- 2 files changed, 43 insertions(+), 20 deletions(-) diff --git a/pkg/cmd/pulumi/new_smoke_test.go b/pkg/cmd/pulumi/new_smoke_test.go index 409f35805a05..0800608638f2 100644 --- a/pkg/cmd/pulumi/new_smoke_test.go +++ b/pkg/cmd/pulumi/new_smoke_test.go @@ -15,6 +15,7 @@ package main import ( "context" + "io/ioutil" "os" "path/filepath" "strings" @@ -43,7 +44,8 @@ func chdir(t *testing.T, dir string) { func TestCreatingStackWithArgsSpecifiedName(t *testing.T) { skipIfShortOrNoPulumiAccessToken(t) - tempdir := t.TempDir() + tempdir, _ := ioutil.TempDir("", "test-env") + defer os.RemoveAll(tempdir) chdir(t, tempdir) var args = newArgs{ @@ -66,7 +68,8 @@ func TestCreatingStackWithArgsSpecifiedName(t *testing.T) { func TestCreatingStackWithPromptedName(t *testing.T) { skipIfShortOrNoPulumiAccessToken(t) - tempdir := t.TempDir() + tempdir, _ := ioutil.TempDir("", "test-env") + defer os.RemoveAll(tempdir) chdir(t, tempdir) uniqueProjectName := filepath.Base(tempdir) @@ -88,7 +91,8 @@ func TestCreatingStackWithPromptedName(t *testing.T) { func TestCreatingProjectWithDefaultName(t *testing.T) { skipIfShortOrNoPulumiAccessToken(t) - tempdir := t.TempDir() + tempdir, _ := ioutil.TempDir("", "test-env") + defer os.RemoveAll(tempdir) chdir(t, tempdir) defaultProjectName := filepath.Base(tempdir) @@ -119,7 +123,8 @@ func TestCreatingProjectWithPulumiBackendURL(t *testing.T) { require.NoError(t, err) assert.True(t, strings.HasPrefix(b.URL(), "https://app.pulumi.com")) - fileStateDir := t.TempDir() + fileStateDir, _ := ioutil.TempDir("", "local-state-dir") + defer os.RemoveAll(fileStateDir) // Now override to local filesystem backend backendURL := "file://" + filepath.ToSlash(fileStateDir) @@ -127,7 +132,8 @@ func TestCreatingProjectWithPulumiBackendURL(t *testing.T) { t.Setenv(workspace.PulumiBackendURLEnvVar, backendURL) backendInstance = nil - tempdir := t.TempDir() + tempdir, _ := ioutil.TempDir("", "test-env-local") + defer os.RemoveAll(tempdir) chdir(t, tempdir) defaultProjectName := filepath.Base(tempdir) diff --git a/pkg/cmd/pulumi/new_test.go b/pkg/cmd/pulumi/new_test.go index a7829f4278c0..7177678cd0e5 100644 --- a/pkg/cmd/pulumi/new_test.go +++ b/pkg/cmd/pulumi/new_test.go @@ -17,6 +17,8 @@ package main import ( "context" "fmt" + "io/ioutil" + "os" "path/filepath" "testing" @@ -29,7 +31,8 @@ import ( func TestFailInInteractiveWithoutYes(t *testing.T) { skipIfShortOrNoPulumiAccessToken(t) - tempdir := t.TempDir() + tempdir, _ := ioutil.TempDir("", "test-env") + defer os.RemoveAll(tempdir) chdir(t, tempdir) var args = newArgs{ @@ -49,7 +52,8 @@ func TestFailInInteractiveWithoutYes(t *testing.T) { func TestCreatingStackWithArgsSpecifiedOrgName(t *testing.T) { skipIfShortOrNoPulumiAccessToken(t) - tempdir := t.TempDir() + tempdir, _ := ioutil.TempDir("", "test-env") + defer os.RemoveAll(tempdir) chdir(t, tempdir) orgStackName := fmt.Sprintf("%s/%s", currentUser(t), stackName) @@ -74,7 +78,8 @@ func TestCreatingStackWithArgsSpecifiedOrgName(t *testing.T) { func TestCreatingStackWithPromptedOrgName(t *testing.T) { skipIfShortOrNoPulumiAccessToken(t) - tempdir := t.TempDir() + tempdir, _ := ioutil.TempDir("", "test-env") + defer os.RemoveAll(tempdir) chdir(t, tempdir) uniqueProjectName := filepath.Base(tempdir) @@ -98,7 +103,8 @@ func TestCreatingStackWithPromptedOrgName(t *testing.T) { func TestCreatingStackWithArgsSpecifiedFullNameSucceeds(t *testing.T) { skipIfShortOrNoPulumiAccessToken(t) - tempdir := t.TempDir() + tempdir, _ := ioutil.TempDir("", "test-env") + defer os.RemoveAll(tempdir) chdir(t, tempdir) // the project name and the project name in the stack name must match @@ -125,7 +131,8 @@ func TestCreatingStackWithArgsSpecifiedFullNameSucceeds(t *testing.T) { func TestCreatingProjectWithArgsSpecifiedName(t *testing.T) { skipIfShortOrNoPulumiAccessToken(t) - tempdir := t.TempDir() + tempdir, _ := ioutil.TempDir("", "test-env") + defer os.RemoveAll(tempdir) chdir(t, tempdir) uniqueProjectName := filepath.Base(tempdir) + "test" @@ -152,7 +159,8 @@ func TestCreatingProjectWithArgsSpecifiedName(t *testing.T) { func TestCreatingProjectWithPromptedName(t *testing.T) { skipIfShortOrNoPulumiAccessToken(t) - tempdir := t.TempDir() + tempdir, _ := ioutil.TempDir("", "test-env") + defer os.RemoveAll(tempdir) chdir(t, tempdir) uniqueProjectName := filepath.Base(tempdir) + "test" @@ -176,7 +184,8 @@ func TestCreatingProjectWithPromptedName(t *testing.T) { func TestCreatingProjectWithExistingArgsSpecifiedNameFails(t *testing.T) { skipIfShortOrNoPulumiAccessToken(t) - tempdir := t.TempDir() + tempdir, _ := ioutil.TempDir("", "test-env") + defer os.RemoveAll(tempdir) chdir(t, tempdir) backendInstance = &backend.MockBackend{ @@ -203,7 +212,8 @@ func TestCreatingProjectWithExistingArgsSpecifiedNameFails(t *testing.T) { func TestCreatingProjectWithExistingPromptedNameFails(t *testing.T) { skipIfShortOrNoPulumiAccessToken(t) - tempdir := t.TempDir() + tempdir, _ := ioutil.TempDir("", "test-env") + defer os.RemoveAll(tempdir) chdir(t, tempdir) backendInstance = &backend.MockBackend{ @@ -228,7 +238,8 @@ func TestCreatingProjectWithExistingPromptedNameFails(t *testing.T) { func TestGeneratingProjectWithExistingArgsSpecifiedNameSucceeds(t *testing.T) { skipIfShortOrNoPulumiAccessToken(t) - tempdir := t.TempDir() + tempdir, _ := ioutil.TempDir("", "test-env") + defer os.RemoveAll(tempdir) chdir(t, tempdir) backendInstance = &backend.MockBackend{ @@ -259,7 +270,8 @@ func TestGeneratingProjectWithExistingArgsSpecifiedNameSucceeds(t *testing.T) { func TestGeneratingProjectWithExistingPromptedNameSucceeds(t *testing.T) { skipIfShortOrNoPulumiAccessToken(t) - tempdir := t.TempDir() + tempdir, _ := ioutil.TempDir("", "test-env") + defer os.RemoveAll(tempdir) chdir(t, tempdir) backendInstance = &backend.MockBackend{ @@ -288,7 +300,8 @@ func TestGeneratingProjectWithExistingPromptedNameSucceeds(t *testing.T) { func TestGeneratingProjectWithInvalidArgsSpecifiedNameFails(t *testing.T) { skipIfShortOrNoPulumiAccessToken(t) - tempdir := t.TempDir() + tempdir, _ := ioutil.TempDir("", "test-env") + defer os.RemoveAll(tempdir) chdir(t, tempdir) backendInstance = &backend.MockBackend{ @@ -317,7 +330,8 @@ func TestGeneratingProjectWithInvalidArgsSpecifiedNameFails(t *testing.T) { func TestGeneratingProjectWithInvalidPromptedNameFails(t *testing.T) { skipIfShortOrNoPulumiAccessToken(t) - tempdir := t.TempDir() + tempdir, _ := ioutil.TempDir("", "test-env") + defer os.RemoveAll(tempdir) chdir(t, tempdir) backendInstance = &backend.MockBackend{ @@ -353,7 +367,8 @@ func TestInvalidTemplateName(t *testing.T) { skipIfShortOrNoPulumiAccessToken(t) t.Run("NoTemplateSpecified", func(t *testing.T) { - tempdir := t.TempDir() + tempdir, _ := ioutil.TempDir("", "test-env") + defer os.RemoveAll(tempdir) chdir(t, tempdir) var args = newArgs{ @@ -370,7 +385,8 @@ func TestInvalidTemplateName(t *testing.T) { }) t.Run("RemoteTemplateNotFound", func(t *testing.T) { - tempdir := t.TempDir() + tempdir, _ := ioutil.TempDir("", "test-env") + defer os.RemoveAll(tempdir) chdir(t, tempdir) // A template that will never exist. @@ -390,7 +406,8 @@ func TestInvalidTemplateName(t *testing.T) { }) t.Run("LocalTemplateNotFound", func(t *testing.T) { - tempdir := t.TempDir() + tempdir, _ := ioutil.TempDir("", "test-env") + defer os.RemoveAll(tempdir) chdir(t, tempdir) // A template that will never exist remotely. From 33c305e4fd9b94f4b4a93aea2b158a71fec818b2 Mon Sep 17 00:00:00 2001 From: Aaron Friel Date: Fri, 25 Nov 2022 13:48:05 -0800 Subject: [PATCH 06/36] ci: Make Windows smoke tests advisory only --- .github/workflows/ci-run-test.yml | 7 +++++++ .github/workflows/ci.yml | 2 ++ 2 files changed, 9 insertions(+) diff --git a/.github/workflows/ci-run-test.yml b/.github/workflows/ci-run-test.yml index f882ef78d56c..914a961928f3 100644 --- a/.github/workflows/ci-run-test.yml +++ b/.github/workflows/ci-run-test.yml @@ -50,6 +50,11 @@ on: "nodejs": "14.x", "python": "3.9.x" } + continue-on-error: + description: "Whether to continue running the job if the step fails" + required: false + default: false + type: boolean defaults: @@ -83,6 +88,8 @@ jobs: runs-on: ${{ inputs.platform }} + timeout-minutes: 60 + continue-on-error: ${{ inputs.continue-on-error }} steps: - name: "Windows cache workaround" # https://github.com/actions/cache/issues/752#issuecomment-1222415717 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4914670397b7..68530abe8e14 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -293,6 +293,7 @@ jobs: name: Smoke Test${{ matrix.platform && '' }} needs: [matrix, build-binaries, build-sdks] if: ${{ needs.matrix.outputs.smoke-test-matrix != '{}' }} + # alow jobs to fail if the platform contains windows strategy: fail-fast: ${{ contains(needs.matrix.outputs.smoke-test-matrix, 'macos') }} matrix: ${{ fromJson(needs.matrix.outputs.smoke-test-matrix) }} @@ -309,6 +310,7 @@ jobs: # require-build: false # TODO, remove ${{ matrix.require-build || false }} version-set: ${{ toJson(matrix.version-set) }} + continue-on-error: ${{ contains(matrix.platform, 'windows') }} secrets: inherit test-collect-reports: From 55ed8c00afc243a34bfcc10f2d49c44557716be8 Mon Sep 17 00:00:00 2001 From: Aaron Friel Date: Sun, 4 Dec 2022 10:52:30 -0800 Subject: [PATCH 07/36] ci: use a larger runner size for Windows smoke tests --- scripts/get-job-matrix.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/get-job-matrix.py b/scripts/get-job-matrix.py index b955505ee8c6..c56411c2beec 100755 --- a/scripts/get-job-matrix.py +++ b/scripts/get-job-matrix.py @@ -391,6 +391,9 @@ def get_matrix( test_suites += run_gotestsum_ci_matrix_single_package(item, pkg_tests, tags) + if kind == JobKind.SMOKE_TEST: + platforms = list(map(lambda p: "windows-8core-2022" if p == "windows-latest" else p, platforms)) + return { "test-suite": test_suites, "platform": platforms, From 8457dfb0a0ce3ac41ac03df731472c0eb7c40a9c Mon Sep 17 00:00:00 2001 From: Aaron Friel Date: Mon, 5 Dec 2022 14:37:30 -0800 Subject: [PATCH 08/36] ci: Remove page file tweak for Windows --- .github/workflows/ci-run-test.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.github/workflows/ci-run-test.yml b/.github/workflows/ci-run-test.yml index 914a961928f3..05ca346097df 100644 --- a/.github/workflows/ci-run-test.yml +++ b/.github/workflows/ci-run-test.yml @@ -132,14 +132,6 @@ jobs: if: ${{ inputs.enable-coverage && runner.os != 'Windows' }} run: | echo "PULUMI_TEST_COVERAGE_PATH=$(pwd)/coverage" >> "$GITHUB_ENV" - # See: https://github.com/actions/virtual-environments/issues/2642#issuecomment-774988591 - - name: Configure Windows pagefile - uses: aaronfriel/action-configure-pagefile@v2.0-beta.1 - if: ${{ runner.os == 'Windows' }} - with: - minimum-size: 4GB - maximum-size: 4GB - disk-root: "D:" - name: Configure Go Cache Key env: CACHE_KEY: "${{ fromJson(inputs.version-set).go }}-${{ runner.os }}-${{ runner.arch }}" From f75326519d64e610b29ae44dce825cde8a61e661 Mon Sep 17 00:00:00 2001 From: susanev Date: Tue, 6 Dec 2022 15:08:22 -0800 Subject: [PATCH 09/36] adding slash to gen dot go Signed-off-by: susanev --- pkg/codegen/docs/gen.go | 20 +- .../azure-native-nested-types/docs/_index.md | 4 +- .../docs/documentdb/_index.md | 2 +- .../sqlresourcesqlcontainer/_index.md | 122 +- .../docs/provider/_index.md | 26 +- .../test/testdata/cyclic-types/docs/_index.md | 2 +- .../cyclic-types/docs/provider/_index.md | 26 +- .../testdata/dash-named-schema/docs/_index.md | 4 +- .../dash-named-schema/docs/provider/_index.md | 26 +- .../docs/submodule1/_index.md | 4 +- .../submodule1/fooencryptedbarclass/_index.md | 26 +- .../docs/submodule1/moduleresource/_index.md | 62 +- .../dashed-import-schema/docs/_index.md | 4 +- .../docs/provider/_index.md | 26 +- .../dashed-import-schema/docs/tree/_index.md | 2 +- .../docs/tree/v1/_index.md | 4 +- .../docs/tree/v1/nursery/_index.md | 62 +- .../docs/tree/v1/rubbertree/_index.md | 254 +-- .../testdata/different-enum/docs/_index.md | 4 +- .../different-enum/docs/provider/_index.md | 26 +- .../different-enum/docs/tree/_index.md | 2 +- .../different-enum/docs/tree/v1/_index.md | 4 +- .../docs/tree/v1/nursery/_index.md | 62 +- .../docs/tree/v1/rubbertree/_index.md | 254 +-- .../testdata/enum-reference/docs/_index.md | 4 +- .../enum-reference/docs/myModule/_index.md | 2 +- .../docs/myModule/iamresource/_index.md | 38 +- .../enum-reference/docs/provider/_index.md | 26 +- .../testdata/external-enum/docs/_index.md | 4 +- .../external-enum/docs/component/_index.md | 74 +- .../external-enum/docs/provider/_index.md | 26 +- .../external-resource-schema/docs/_index.md | 10 +- .../docs/argfunction/_index.md | 24 +- .../docs/cat/_index.md | 158 +- .../docs/component/_index.md | 182 +- .../docs/provider/_index.md | 26 +- .../docs/workload/_index.md | 50 +- .../testdata/functions-secrets/docs/_index.md | 4 +- .../docs/funcwithsecrets/_index.md | 72 +- .../functions-secrets/docs/provider/_index.md | 26 +- .../test/testdata/hyphen-url/docs/_index.md | 4 +- .../hyphen-url/docs/provider/_index.md | 26 +- .../docs/registrygeoreplication/_index.md | 62 +- .../testdata/naming-collisions/docs/_index.md | 6 +- .../naming-collisions/docs/provider/_index.md | 26 +- .../naming-collisions/docs/resource/_index.md | 38 +- .../docs/resourceinput/_index.md | 38 +- .../nested-module-thirdparty/docs/_index.md | 4 +- .../docs/deeply/_index.md | 2 +- .../docs/deeply/nested/_index.md | 2 +- .../docs/deeply/nested/module/_index.md | 2 +- .../deeply/nested/module/resource/_index.md | 38 +- .../docs/provider/_index.md | 26 +- .../testdata/nested-module/docs/_index.md | 4 +- .../nested-module/docs/nested/_index.md | 2 +- .../docs/nested/module/_index.md | 2 +- .../docs/nested/module/resource/_index.md | 38 +- .../nested-module/docs/provider/_index.md | 26 +- .../test/testdata/other-owned/docs/_index.md | 18 +- .../other-owned/docs/argfunction/_index.md | 24 +- .../other-owned/docs/barresource/_index.md | 26 +- .../other-owned/docs/fooresource/_index.md | 26 +- .../other-owned/docs/otherresource/_index.md | 26 +- .../docs/overlayfunction/_index.md | 24 +- .../docs/overlayresource/_index.md | 86 +- .../other-owned/docs/provider/_index.md | 26 +- .../other-owned/docs/resource/_index.md | 38 +- .../other-owned/docs/typeuses/_index.md | 230 +-- .../output-funcs-edgeorder/docs/_index.md | 6 +- .../docs/listconfigurations/_index.md | 1044 ++++++------ .../docs/listproductfamilies/_index.md | 1488 ++++++++--------- .../docs/provider/_index.md | 26 +- .../output-funcs-tfbridge20/docs/_index.md | 6 +- .../docs/getamiids/_index.md | 192 +-- .../docs/liststorageaccountkeys/_index.md | 108 +- .../docs/provider/_index.md | 26 +- .../test/testdata/output-funcs/docs/_index.md | 22 +- .../docs/funcwithalloptionalinputs/_index.md | 36 +- .../docs/funcwithdefaultvalue/_index.md | 36 +- .../docs/funcwithdictparam/_index.md | 36 +- .../docs/funcwithemptyoutputs/_index.md | 12 +- .../docs/funcwithlistparam/_index.md | 36 +- .../docs/getbastionshareablelink/_index.md | 72 +- .../docs/getclientconfig/_index.md | 48 +- .../_index.md | 660 ++++---- .../docs/liststorageaccountkeys/_index.md | 108 +- .../output-funcs/docs/provider/_index.md | 26 +- .../testdata/plain-and-default/docs/_index.md | 4 +- .../docs/moduleresource/_index.md | 218 +-- .../plain-and-default/docs/provider/_index.md | 26 +- .../plain-object-defaults/docs/_index.md | 12 +- .../plain-object-defaults/docs/foo/_index.md | 326 ++-- .../docs/funcwithalloptionalinputs/_index.md | 84 +- .../docs/moduletest/_index.md | 182 +- .../docs/provider/_index.md | 86 +- .../docs/_index.md | 12 +- .../docs/foo/_index.md | 326 ++-- .../docs/funcwithalloptionalinputs/_index.md | 84 +- .../docs/moduletest/_index.md | 182 +- .../docs/provider/_index.md | 86 +- .../plain-schema-gh6957/docs/_index.md | 4 +- .../docs/provider/_index.md | 26 +- .../docs/staticpage/_index.md | 86 +- .../provider-config-schema/docs/_index.md | 4 +- .../docs/funcwithalloptionalinputs/_index.md | 36 +- .../docs/provider/_index.md | 50 +- .../test/testdata/regress-8403/docs/_index.md | 4 +- .../docs/getcustomdbroles/_index.md | 24 +- .../regress-8403/docs/provider/_index.md | 26 +- .../testdata/regress-node-8110/docs/_index.md | 4 +- .../docs/examplefunc/_index.md | 12 +- .../regress-node-8110/docs/provider/_index.md | 26 +- .../testdata/replace-on-change/docs/_index.md | 12 +- .../replace-on-change/docs/cat/_index.md | 158 +- .../replace-on-change/docs/dog/_index.md | 38 +- .../replace-on-change/docs/god/_index.md | 38 +- .../docs/norecursive/_index.md | 86 +- .../replace-on-change/docs/provider/_index.md | 26 +- .../replace-on-change/docs/toystore/_index.md | 218 +-- .../docs/_index.md | 6 +- .../docs/person/_index.md | 74 +- .../docs/pet/_index.md | 38 +- .../docs/provider/_index.md | 26 +- .../resource-args-python/docs/_index.md | 6 +- .../docs/person/_index.md | 74 +- .../resource-args-python/docs/pet/_index.md | 38 +- .../docs/provider/_index.md | 26 +- .../resource-property-overlap/docs/_index.md | 4 +- .../docs/provider/_index.md | 26 +- .../docs/rec/_index.md | 38 +- .../test/testdata/secrets/docs/_index.md | 4 +- .../testdata/secrets/docs/provider/_index.md | 26 +- .../testdata/secrets/docs/resource/_index.md | 134 +- .../simple-enum-schema/docs/_index.md | 4 +- .../docs/provider/_index.md | 26 +- .../simple-enum-schema/docs/tree/_index.md | 2 +- .../simple-enum-schema/docs/tree/v1/_index.md | 4 +- .../docs/tree/v1/nursery/_index.md | 62 +- .../docs/tree/v1/rubbertree/_index.md | 254 +-- .../docs/_index.md | 4 +- .../docs/foo/_index.md | 50 +- .../docs/provider/_index.md | 26 +- .../simple-methods-schema/docs/_index.md | 4 +- .../simple-methods-schema/docs/foo/_index.md | 254 +-- .../docs/provider/_index.md | 26 +- .../docs/_index.md | 4 +- .../docs/component/_index.md | 230 +-- .../docs/provider/_index.md | 26 +- .../simple-plain-schema/docs/_index.md | 6 +- .../docs/component/_index.md | 242 +-- .../simple-plain-schema/docs/dofoo/_index.md | 96 +- .../docs/provider/_index.md | 26 +- .../docs/_index.md | 8 +- .../docs/argfunction/_index.md | 24 +- .../docs/otherresource/_index.md | 26 +- .../docs/provider/_index.md | 26 +- .../docs/resource/_index.md | 38 +- .../simple-resource-schema/docs/_index.md | 18 +- .../docs/argfunction/_index.md | 24 +- .../docs/barresource/_index.md | 26 +- .../docs/fooresource/_index.md | 26 +- .../docs/otherresource/_index.md | 26 +- .../docs/overlayfunction/_index.md | 24 +- .../docs/overlayresource/_index.md | 86 +- .../docs/provider/_index.md | 26 +- .../docs/resource/_index.md | 50 +- .../docs/typeuses/_index.md | 230 +-- .../simple-yaml-schema/docs/_index.md | 10 +- .../docs/argfunction/_index.md | 24 +- .../docs/otherresource/_index.md | 38 +- .../docs/provider/_index.md | 26 +- .../docs/resource/_index.md | 38 +- .../docs/typeuses/_index.md | 350 ++-- 173 files changed, 6064 insertions(+), 6064 deletions(-) diff --git a/pkg/codegen/docs/gen.go b/pkg/codegen/docs/gen.go index 4881a613c72d..f68484bdfe07 100644 --- a/pkg/codegen/docs/gen.go +++ b/pkg/codegen/docs/gen.go @@ -592,11 +592,11 @@ func (mod *modContext) typeString(t schema.Type, lang string, characteristics pr case *schema.ObjectType: tokenName := tokenToName(t.Token) // Links to anchor tags on the same page must be lower-cased. - href = "#" + strings.ToLower(tokenName) + href = "#" + strings.ToLower(tokenName) + "/" case *schema.EnumType: tokenName := tokenToName(t.Token) // Links to anchor tags on the same page must be lower-cased. - href = "#" + strings.ToLower(tokenName) + href = "#" + strings.ToLower(tokenName) + "/" case *schema.UnionType: var elements []string for _, e := range t.ElementTypes { @@ -797,7 +797,7 @@ func (mod *modContext) genConstructorCS(r *schema.Resource, argsOptional bool) [ DefaultValue: argsDefault, Type: propertyType{ Name: name + "Args", - Link: "#inputs", + Link: "#inputs/", }, Comment: ctorArgsArgComment, }, @@ -849,7 +849,7 @@ func (mod *modContext) genConstructorJava(r *schema.Resource, argsOverload bool) Name: "args", Type: propertyType{ Name: name + "Args", - Link: "#inputs", + Link: "#inputs/", }, Comment: ctorArgsArgComment, }, @@ -914,7 +914,7 @@ func (mod *modContext) genConstructorPython(r *schema.Resource, argsOptional, ar Type: propertyType{ Name: typeName, DescriptionName: descriptionName, - Link: "#inputs", + Link: "#inputs/", }, Comment: ctorArgsArgComment, }) @@ -1113,7 +1113,7 @@ func (mod *modContext) getPropertiesWithIDPrefixAndExclude(properties []*schema. // a) we will force the replace at the engine level // b) we are told that the provider will require a replace IsReplaceOnChanges: prop.ReplaceOnChanges || prop.WillReplaceOnChanges, - Link: "#" + propID, + Link: "#" + propID + "/", Types: propTypes, }) } @@ -1580,7 +1580,7 @@ func (mod *modContext) genResource(r *schema.Resource) resourceDocArgs { for i := 0; i < len(stateProps); i++ { id := "state_" + stateProps[i].ID stateProps[i].ID = id - stateProps[i].Link = "#" + id + stateProps[i].Link = "#" + id + "/" } stateInputs[lang] = stateProps } @@ -1836,7 +1836,7 @@ func (mod *modContext) genIndex() indexData { modName := mod.getModuleFileName() displayName := modFilenameToDisplayName(modName) modules = append(modules, indexEntry{ - Link: getModuleLink(displayName), + Link: getModuleLink(displayName) + "/", DisplayName: displayName, }) } @@ -1846,7 +1846,7 @@ func (mod *modContext) genIndex() indexData { for _, r := range mod.resources { name := resourceName(r) resources = append(resources, indexEntry{ - Link: getResourceLink(name), + Link: getResourceLink(name) + "/", DisplayName: name, }) } @@ -1856,7 +1856,7 @@ func (mod *modContext) genIndex() indexData { for _, f := range mod.functions { name := tokenToName(f.Token) functions = append(functions, indexEntry{ - Link: getFunctionLink(name), + Link: getFunctionLink(name) + "/", DisplayName: strings.Title(name), }) } diff --git a/pkg/codegen/testing/test/testdata/azure-native-nested-types/docs/_index.md b/pkg/codegen/testing/test/testdata/azure-native-nested-types/docs/_index.md index 60a15484b671..3fab04a17acc 100644 --- a/pkg/codegen/testing/test/testdata/azure-native-nested-types/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/azure-native-nested-types/docs/_index.md @@ -13,12 +13,12 @@ A native Pulumi package for creating and managing Azure resources.

Modules

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/azure-native-nested-types/docs/documentdb/_index.md b/pkg/codegen/testing/test/testdata/azure-native-nested-types/docs/documentdb/_index.md index d5d1cea18210..0a32a2a4c23d 100644 --- a/pkg/codegen/testing/test/testdata/azure-native-nested-types/docs/documentdb/_index.md +++ b/pkg/codegen/testing/test/testdata/azure-native-nested-types/docs/documentdb/_index.md @@ -13,7 +13,7 @@ Explore the resources and functions of the azure-native.documentdb module.

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/azure-native-nested-types/docs/documentdb/sqlresourcesqlcontainer/_index.md b/pkg/codegen/testing/test/testdata/azure-native-nested-types/docs/documentdb/sqlresourcesqlcontainer/_index.md index 6c8abbb7064e..76edf6b9f94c 100644 --- a/pkg/codegen/testing/test/testdata/azure-native-nested-types/docs/documentdb/sqlresourcesqlcontainer/_index.md +++ b/pkg/codegen/testing/test/testdata/azure-native-nested-types/docs/documentdb/sqlresourcesqlcontainer/_index.md @@ -366,7 +366,7 @@ Coming soon! opts: Optional[ResourceOptions] = None) @overload def SqlResourceSqlContainer(resource_name: str, - args: Optional[SqlResourceSqlContainerArgs] = None, + args: Optional[SqlResourceSqlContainerArgs] = None, opts: Optional[ResourceOptions] = None) @@ -379,15 +379,15 @@ Coming soon!
-
public SqlResourceSqlContainer(string name, SqlResourceSqlContainerArgs? args = null, CustomResourceOptions? opts = null)
+
public SqlResourceSqlContainer(string name, SqlResourceSqlContainerArgs? args = null, CustomResourceOptions? opts = null)
-public SqlResourceSqlContainer(String name, SqlResourceSqlContainerArgs args)
-public SqlResourceSqlContainer(String name, SqlResourceSqlContainerArgs args, CustomResourceOptions options)
+public SqlResourceSqlContainer(String name, SqlResourceSqlContainerArgs args)
+public SqlResourceSqlContainer(String name, SqlResourceSqlContainerArgs args, CustomResourceOptions options)
 
@@ -441,7 +441,7 @@ Coming soon! class="property-optional" title="Optional"> args - SqlResourceSqlContainerArgs + SqlResourceSqlContainerArgs
The arguments to resource properties.
@@ -499,7 +499,7 @@ Coming soon! class="property-optional" title="Optional"> args - SqlResourceSqlContainerArgs + SqlResourceSqlContainerArgs
The arguments to resource properties.
@@ -525,7 +525,7 @@ Coming soon! class="property-required" title="Required"> args - SqlResourceSqlContainerArgs + SqlResourceSqlContainerArgs
The arguments to resource properties.
@@ -596,7 +596,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -605,10 +605,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Resource +Resource - Pulumi.AzureNative.DocumentDB.Outputs.SqlContainerGetPropertiesResponseResource + Pulumi.AzureNative.DocumentDB.Outputs.SqlContainerGetPropertiesResponseResource
@@ -619,7 +619,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -628,10 +628,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Resource +Resource - SqlContainerGetPropertiesResponseResource + SqlContainerGetPropertiesResponseResource
@@ -642,7 +642,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -651,10 +651,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-resource +resource - SqlContainerGetPropertiesResponseResource + SqlContainerGetPropertiesResponseResource
@@ -665,7 +665,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -674,10 +674,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-resource +resource - SqlContainerGetPropertiesResponseResource + SqlContainerGetPropertiesResponseResource
@@ -688,7 +688,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -697,10 +697,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-resource +resource - SqlContainerGetPropertiesResponseResource + SqlContainerGetPropertiesResponseResource
@@ -711,7 +711,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -720,10 +720,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-resource +resource - Property Map + Property Map
@@ -746,7 +746,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Order +Order string @@ -755,7 +755,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Path +Path string @@ -770,7 +770,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Order +Order string @@ -779,7 +779,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Path +Path string @@ -794,7 +794,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-order +order String @@ -803,7 +803,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-path +path String @@ -818,7 +818,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-order +order string @@ -827,7 +827,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-path +path string @@ -842,7 +842,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-order +order str @@ -851,7 +851,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-path +path str @@ -866,7 +866,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-order +order String @@ -875,7 +875,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-path +path String @@ -892,10 +892,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-CompositeIndexes +CompositeIndexes - List<ImmutableArray<Pulumi.AzureNative.DocumentDB.Inputs.CompositePathResponse>> + List<ImmutableArray<Pulumi.AzureNative.DocumentDB.Inputs.CompositePathResponse>>

List of composite path list

@@ -907,10 +907,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-CompositeIndexes +CompositeIndexes - [][]CompositePathResponse + [][]CompositePathResponse

List of composite path list

@@ -922,10 +922,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-compositeIndexes +compositeIndexes - List<List<CompositePathResponse>> + List<List<CompositePathResponse>>

List of composite path list

@@ -937,10 +937,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-compositeIndexes +compositeIndexes - CompositePathResponse[][] + CompositePathResponse[][]

List of composite path list

@@ -952,10 +952,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-composite_indexes +composite_indexes - Sequence[Sequence[CompositePathResponse]] + Sequence[Sequence[CompositePathResponse]]

List of composite path list

@@ -967,10 +967,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-compositeIndexes +compositeIndexes - List<List<Property Map>> + List<List<Property Map>>

List of composite path list

@@ -984,10 +984,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-IndexingPolicy +IndexingPolicy - Pulumi.AzureNative.DocumentDB.Inputs.IndexingPolicyResponse + Pulumi.AzureNative.DocumentDB.Inputs.IndexingPolicyResponse

The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container

@@ -999,10 +999,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-IndexingPolicy +IndexingPolicy - IndexingPolicyResponse + IndexingPolicyResponse

The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container

@@ -1014,10 +1014,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-indexingPolicy +indexingPolicy - IndexingPolicyResponse + IndexingPolicyResponse

The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container

@@ -1029,10 +1029,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-indexingPolicy +indexingPolicy - IndexingPolicyResponse + IndexingPolicyResponse

The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container

@@ -1044,10 +1044,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-indexing_policy +indexing_policy - IndexingPolicyResponse + IndexingPolicyResponse

The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container

@@ -1059,10 +1059,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-indexingPolicy +indexingPolicy - Property Map + Property Map

The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container

diff --git a/pkg/codegen/testing/test/testdata/azure-native-nested-types/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/azure-native-nested-types/docs/provider/_index.md index c607ffcbff78..2c0a38e99963 100644 --- a/pkg/codegen/testing/test/testdata/azure-native-nested-types/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/azure-native-nested-types/docs/provider/_index.md @@ -34,7 +34,7 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None) @@ -47,15 +47,15 @@ no_edit_this_page: true
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/cyclic-types/docs/_index.md b/pkg/codegen/testing/test/testdata/cyclic-types/docs/_index.md index dd1672a8feab..80f112d1c313 100644 --- a/pkg/codegen/testing/test/testdata/cyclic-types/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/cyclic-types/docs/_index.md @@ -13,7 +13,7 @@ no_edit_this_page: true

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/cyclic-types/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/cyclic-types/docs/provider/_index.md index 2990f2ed2094..92e6a11a5d54 100644 --- a/pkg/codegen/testing/test/testdata/cyclic-types/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/cyclic-types/docs/provider/_index.md @@ -34,7 +34,7 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None) @@ -47,15 +47,15 @@ no_edit_this_page: true
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/dash-named-schema/docs/_index.md b/pkg/codegen/testing/test/testdata/dash-named-schema/docs/_index.md index 01e7507bd903..bee1fc49109e 100644 --- a/pkg/codegen/testing/test/testdata/dash-named-schema/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/dash-named-schema/docs/_index.md @@ -13,12 +13,12 @@ no_edit_this_page: true

Modules

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/dash-named-schema/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/dash-named-schema/docs/provider/_index.md index 9d7842e5475b..a3c46c543787 100644 --- a/pkg/codegen/testing/test/testdata/dash-named-schema/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/dash-named-schema/docs/provider/_index.md @@ -34,7 +34,7 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None) @@ -47,15 +47,15 @@ no_edit_this_page: true
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/dash-named-schema/docs/submodule1/_index.md b/pkg/codegen/testing/test/testdata/dash-named-schema/docs/submodule1/_index.md index e6d6d5c115c8..c8cb736cd0bd 100644 --- a/pkg/codegen/testing/test/testdata/dash-named-schema/docs/submodule1/_index.md +++ b/pkg/codegen/testing/test/testdata/dash-named-schema/docs/submodule1/_index.md @@ -13,8 +13,8 @@ Explore the resources and functions of the foo-bar.submodule1 module.

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/dash-named-schema/docs/submodule1/fooencryptedbarclass/_index.md b/pkg/codegen/testing/test/testdata/dash-named-schema/docs/submodule1/fooencryptedbarclass/_index.md index 4600faf68c58..2b3511fe8d53 100644 --- a/pkg/codegen/testing/test/testdata/dash-named-schema/docs/submodule1/fooencryptedbarclass/_index.md +++ b/pkg/codegen/testing/test/testdata/dash-named-schema/docs/submodule1/fooencryptedbarclass/_index.md @@ -34,7 +34,7 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def FOOEncryptedBarClass(resource_name: str, - args: Optional[FOOEncryptedBarClassArgs] = None, + args: Optional[FOOEncryptedBarClassArgs] = None, opts: Optional[ResourceOptions] = None) @@ -47,15 +47,15 @@ no_edit_this_page: true
-
public FOOEncryptedBarClass(string name, FOOEncryptedBarClassArgs? args = null, CustomResourceOptions? opts = null)
+
public FOOEncryptedBarClass(string name, FOOEncryptedBarClassArgs? args = null, CustomResourceOptions? opts = null)
-public FOOEncryptedBarClass(String name, FOOEncryptedBarClassArgs args)
-public FOOEncryptedBarClass(String name, FOOEncryptedBarClassArgs args, CustomResourceOptions options)
+public FOOEncryptedBarClass(String name, FOOEncryptedBarClassArgs args)
+public FOOEncryptedBarClass(String name, FOOEncryptedBarClassArgs args, CustomResourceOptions options)
 
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - FOOEncryptedBarClassArgs + FOOEncryptedBarClassArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - FOOEncryptedBarClassArgs + FOOEncryptedBarClassArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - FOOEncryptedBarClassArgs + FOOEncryptedBarClassArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/dash-named-schema/docs/submodule1/moduleresource/_index.md b/pkg/codegen/testing/test/testdata/dash-named-schema/docs/submodule1/moduleresource/_index.md index 81ccdfd22ab4..e4d1e5dac9ff 100644 --- a/pkg/codegen/testing/test/testdata/dash-named-schema/docs/submodule1/moduleresource/_index.md +++ b/pkg/codegen/testing/test/testdata/dash-named-schema/docs/submodule1/moduleresource/_index.md @@ -35,7 +35,7 @@ no_edit_this_page: true thing: Optional[_root_inputs.TopLevelArgs] = None) @overload def ModuleResource(resource_name: str, - args: Optional[ModuleResourceArgs] = None, + args: Optional[ModuleResourceArgs] = None, opts: Optional[ResourceOptions] = None) @@ -48,15 +48,15 @@ no_edit_this_page: true
-
public ModuleResource(string name, ModuleResourceArgs? args = null, CustomResourceOptions? opts = null)
+
public ModuleResource(string name, ModuleResourceArgs? args = null, CustomResourceOptions? opts = null)
-public ModuleResource(String name, ModuleResourceArgs args)
-public ModuleResource(String name, ModuleResourceArgs args, CustomResourceOptions options)
+public ModuleResource(String name, ModuleResourceArgs args)
+public ModuleResource(String name, ModuleResourceArgs args, CustomResourceOptions options)
 
@@ -110,7 +110,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ModuleResourceArgs + ModuleResourceArgs
The arguments to resource properties.
@@ -168,7 +168,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ModuleResourceArgs + ModuleResourceArgs
The arguments to resource properties.
@@ -194,7 +194,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ModuleResourceArgs + ModuleResourceArgs
The arguments to resource properties.
@@ -222,10 +222,10 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-Thing +Thing - Pulumi.FooBar.Inputs.TopLevelArgs + Pulumi.FooBar.Inputs.TopLevelArgs
@@ -236,10 +236,10 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-Thing +Thing - TopLevelArgs + TopLevelArgs
@@ -250,10 +250,10 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-thing +thing - TopLevelArgs + TopLevelArgs
@@ -264,10 +264,10 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-thing +thing - TopLevelArgs + TopLevelArgs
@@ -278,10 +278,10 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-thing +thing - TopLevelArgs + TopLevelArgs
@@ -292,10 +292,10 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-thing +thing - Property Map + Property Map
@@ -313,7 +313,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -328,7 +328,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -343,7 +343,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -358,7 +358,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -373,7 +373,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -388,7 +388,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -415,7 +415,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Buzz +Buzz string @@ -429,7 +429,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Buzz +Buzz string @@ -443,7 +443,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-buzz +buzz String @@ -457,7 +457,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-buzz +buzz string @@ -471,7 +471,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-buzz +buzz str @@ -485,7 +485,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-buzz +buzz String diff --git a/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/_index.md b/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/_index.md index 2a20f7e4e1e9..50ae6ac41a60 100644 --- a/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/_index.md @@ -13,12 +13,12 @@ no_edit_this_page: true

Modules

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/provider/_index.md index e7ade2ef35a8..fd6d6f1204b1 100644 --- a/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/provider/_index.md @@ -34,7 +34,7 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None) @@ -47,15 +47,15 @@ no_edit_this_page: true
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/tree/_index.md b/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/tree/_index.md index 1e00d190ca58..af631ce38d5d 100644 --- a/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/tree/_index.md +++ b/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/tree/_index.md @@ -13,7 +13,7 @@ no_edit_this_page: true

Modules

Package Details

diff --git a/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/tree/v1/_index.md b/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/tree/v1/_index.md index 1a7e0192b0db..681bbdb8d26c 100644 --- a/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/tree/v1/_index.md +++ b/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/tree/v1/_index.md @@ -13,8 +13,8 @@ Explore the resources and functions of the plant.tree/v1 module.

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/tree/v1/nursery/_index.md b/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/tree/v1/nursery/_index.md index a55b11f73a80..10076f55e4e6 100644 --- a/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/tree/v1/nursery/_index.md +++ b/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/tree/v1/nursery/_index.md @@ -36,7 +36,7 @@ no_edit_this_page: true varieties: Optional[Sequence[RubberTreeVariety]] = None) @overload def Nursery(resource_name: str, - args: NurseryArgs, + args: NurseryArgs, opts: Optional[ResourceOptions] = None) @@ -49,15 +49,15 @@ no_edit_this_page: true
-
public Nursery(string name, NurseryArgs args, CustomResourceOptions? opts = null)
+
public Nursery(string name, NurseryArgs args, CustomResourceOptions? opts = null)
-public Nursery(String name, NurseryArgs args)
-public Nursery(String name, NurseryArgs args, CustomResourceOptions options)
+public Nursery(String name, NurseryArgs args)
+public Nursery(String name, NurseryArgs args, CustomResourceOptions options)
 
@@ -111,7 +111,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - NurseryArgs + NurseryArgs
The arguments to resource properties.
@@ -169,7 +169,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - NurseryArgs + NurseryArgs
The arguments to resource properties.
@@ -195,7 +195,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - NurseryArgs + NurseryArgs
The arguments to resource properties.
@@ -223,16 +223,16 @@ The Nursery resource accepts the following [input](/docs/intro/concepts/inputs-o
-Varieties +Varieties - List<Pulumi.Plant.Tree.V1.RubberTreeVariety> + List<Pulumi.Plant.Tree.V1.RubberTreeVariety>

The varieties available

-Sizes +Sizes Dictionary<string, Pulumi.Plant.Tree.V1.TreeSize> @@ -247,16 +247,16 @@ The Nursery resource accepts the following [input](/docs/intro/concepts/inputs-o
-Varieties +Varieties - []RubberTreeVariety + []RubberTreeVariety

The varieties available

-Sizes +Sizes map[string]TreeSize @@ -271,16 +271,16 @@ The Nursery resource accepts the following [input](/docs/intro/concepts/inputs-o
-varieties +varieties - List<RubberTreeVariety> + List<RubberTreeVariety>

The varieties available

-sizes +sizes Map<String,TreeSize> @@ -295,16 +295,16 @@ The Nursery resource accepts the following [input](/docs/intro/concepts/inputs-o
-varieties +varieties - RubberTreeVariety[] + RubberTreeVariety[]

The varieties available

-sizes +sizes {[key: string]: TreeSize} @@ -319,16 +319,16 @@ The Nursery resource accepts the following [input](/docs/intro/concepts/inputs-o
-varieties +varieties - Sequence[RubberTreeVariety] + Sequence[RubberTreeVariety]

The varieties available

-sizes +sizes Mapping[str, TreeSize] @@ -343,16 +343,16 @@ The Nursery resource accepts the following [input](/docs/intro/concepts/inputs-o
-varieties +varieties - List<"Burgundy" | "Ruby" | "Tineke"> + List<"Burgundy" | "Ruby" | "Tineke">

The varieties available

-sizes +sizes Map<"small" | "medium" | "large"> @@ -374,7 +374,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -389,7 +389,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -404,7 +404,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -419,7 +419,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -434,7 +434,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -449,7 +449,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/tree/v1/rubbertree/_index.md b/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/tree/v1/rubbertree/_index.md index a0db290b69f7..077874d0a9ad 100644 --- a/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/tree/v1/rubbertree/_index.md +++ b/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/tree/v1/rubbertree/_index.md @@ -39,7 +39,7 @@ no_edit_this_page: true type: Optional[RubberTreeVariety] = None) @overload def RubberTree(resource_name: str, - args: RubberTreeArgs, + args: RubberTreeArgs, opts: Optional[ResourceOptions] = None) @@ -52,15 +52,15 @@ no_edit_this_page: true
-
public RubberTree(string name, RubberTreeArgs args, CustomResourceOptions? opts = null)
+
public RubberTree(string name, RubberTreeArgs args, CustomResourceOptions? opts = null)
-public RubberTree(String name, RubberTreeArgs args)
-public RubberTree(String name, RubberTreeArgs args, CustomResourceOptions options)
+public RubberTree(String name, RubberTreeArgs args)
+public RubberTree(String name, RubberTreeArgs args, CustomResourceOptions options)
 
@@ -114,7 +114,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - RubberTreeArgs + RubberTreeArgs
The arguments to resource properties.
@@ -172,7 +172,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - RubberTreeArgs + RubberTreeArgs
The arguments to resource properties.
@@ -198,7 +198,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - RubberTreeArgs + RubberTreeArgs
The arguments to resource properties.
@@ -226,42 +226,42 @@ The RubberTree resource accepts the following [input](/docs/intro/concepts/input
-Diameter +Diameter - Pulumi.Plant.Tree.V1.Diameter + Pulumi.Plant.Tree.V1.Diameter
-Type +Type - Pulumi.Plant.Tree.V1.RubberTreeVariety + Pulumi.Plant.Tree.V1.RubberTreeVariety
-Container +Container - Pulumi.Plant.Inputs.ContainerArgs + Pulumi.Plant.Inputs.ContainerArgs
-Farm +Farm - Pulumi.Plant.Tree.V1.Farm | string + Pulumi.Plant.Tree.V1.Farm | string
-Size +Size - Pulumi.Plant.Tree.V1.TreeSize + Pulumi.Plant.Tree.V1.TreeSize
@@ -272,42 +272,42 @@ The RubberTree resource accepts the following [input](/docs/intro/concepts/input
-Diameter +Diameter - Diameter + Diameter
-Type +Type - RubberTreeVariety + RubberTreeVariety
-Container +Container - ContainerArgs + ContainerArgs
-Farm +Farm - Farm | string + Farm | string
-Size +Size - TreeSize + TreeSize
@@ -318,42 +318,42 @@ The RubberTree resource accepts the following [input](/docs/intro/concepts/input
-diameter +diameter - Diameter + Diameter
-type +type - RubberTreeVariety + RubberTreeVariety
-container +container - ContainerArgs + ContainerArgs
-farm +farm - Farm | String + Farm | String
-size +size - TreeSize + TreeSize
@@ -364,42 +364,42 @@ The RubberTree resource accepts the following [input](/docs/intro/concepts/input
-diameter +diameter - Diameter + Diameter
-type +type - RubberTreeVariety + RubberTreeVariety
-container +container - ContainerArgs + ContainerArgs
-farm +farm - Farm | string + Farm | string
-size +size - TreeSize + TreeSize
@@ -410,42 +410,42 @@ The RubberTree resource accepts the following [input](/docs/intro/concepts/input
-diameter +diameter - Diameter + Diameter
-type +type - RubberTreeVariety + RubberTreeVariety
-container +container - ContainerArgs + ContainerArgs
-farm +farm - Farm | str + Farm | str
-size +size - TreeSize + TreeSize
@@ -456,42 +456,42 @@ The RubberTree resource accepts the following [input](/docs/intro/concepts/input
-diameter +diameter - 6 | 12 + 6 | 12
-type +type - "Burgundy" | "Ruby" | "Tineke" + "Burgundy" | "Ruby" | "Tineke"
-container +container - Property Map + Property Map
-farm +farm - "Pulumi Planters Inc." | "Plants'R'Us" | String + "Pulumi Planters Inc." | "Plants'R'Us" | String
-size +size - "small" | "medium" | "large" + "small" | "medium" | "large"
@@ -509,7 +509,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -524,7 +524,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -539,7 +539,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -554,7 +554,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -569,7 +569,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -584,7 +584,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -786,10 +786,10 @@ The following state arguments are supported:
-Farm +Farm - Pulumi.Plant.Tree.V1.Farm | string + Pulumi.Plant.Tree.V1.Farm | string
@@ -800,10 +800,10 @@ The following state arguments are supported:
-Farm +Farm - Farm | string + Farm | string
@@ -814,10 +814,10 @@ The following state arguments are supported:
-farm +farm - Farm | String + Farm | String
@@ -828,10 +828,10 @@ The following state arguments are supported:
-farm +farm - Farm | string + Farm | string
@@ -842,10 +842,10 @@ The following state arguments are supported:
-farm +farm - Farm | str + Farm | str
@@ -856,10 +856,10 @@ The following state arguments are supported:
-farm +farm - "Pulumi Planters Inc." | "Plants'R'Us" | String + "Pulumi Planters Inc." | "Plants'R'Us" | String
@@ -883,31 +883,31 @@ The following state arguments are supported:
-Size +Size - Pulumi.Plant.ContainerSize + Pulumi.Plant.ContainerSize
-Brightness +Brightness - Pulumi.Plant.ContainerBrightness + Pulumi.Plant.ContainerBrightness
-Color +Color - Pulumi.Plant.ContainerColor | string + Pulumi.Plant.ContainerColor | string
-Material +Material string @@ -921,31 +921,31 @@ The following state arguments are supported:
-Size +Size - ContainerSize + ContainerSize
-Brightness +Brightness - ContainerBrightness + ContainerBrightness
-Color +Color - ContainerColor | string + ContainerColor | string
-Material +Material string @@ -959,31 +959,31 @@ The following state arguments are supported:
-size +size - ContainerSize + ContainerSize
-brightness +brightness - ContainerBrightness + ContainerBrightness
-color +color - ContainerColor | String + ContainerColor | String
-material +material String @@ -997,31 +997,31 @@ The following state arguments are supported:
-size +size - ContainerSize + ContainerSize
-brightness +brightness - ContainerBrightness + ContainerBrightness
-color +color - ContainerColor | string + ContainerColor | string
-material +material string @@ -1035,31 +1035,31 @@ The following state arguments are supported:
-size +size - ContainerSize + ContainerSize
-brightness +brightness - ContainerBrightness + ContainerBrightness
-color +color - ContainerColor | str + ContainerColor | str
-material +material str @@ -1073,31 +1073,31 @@ The following state arguments are supported:
-size +size - 4 | 6 | 8 + 4 | 6 | 8
-brightness +brightness - 0.1 | 1 + 0.1 | 1
-color +color - "red" | "blue" | "yellow" | String + "red" | "blue" | "yellow" | String
-material +material String diff --git a/pkg/codegen/testing/test/testdata/different-enum/docs/_index.md b/pkg/codegen/testing/test/testdata/different-enum/docs/_index.md index 2a20f7e4e1e9..50ae6ac41a60 100644 --- a/pkg/codegen/testing/test/testdata/different-enum/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/different-enum/docs/_index.md @@ -13,12 +13,12 @@ no_edit_this_page: true

Modules

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/different-enum/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/different-enum/docs/provider/_index.md index e7ade2ef35a8..fd6d6f1204b1 100644 --- a/pkg/codegen/testing/test/testdata/different-enum/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/different-enum/docs/provider/_index.md @@ -34,7 +34,7 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None) @@ -47,15 +47,15 @@ no_edit_this_page: true
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/different-enum/docs/tree/_index.md b/pkg/codegen/testing/test/testdata/different-enum/docs/tree/_index.md index 1e00d190ca58..af631ce38d5d 100644 --- a/pkg/codegen/testing/test/testdata/different-enum/docs/tree/_index.md +++ b/pkg/codegen/testing/test/testdata/different-enum/docs/tree/_index.md @@ -13,7 +13,7 @@ no_edit_this_page: true

Modules

Package Details

diff --git a/pkg/codegen/testing/test/testdata/different-enum/docs/tree/v1/_index.md b/pkg/codegen/testing/test/testdata/different-enum/docs/tree/v1/_index.md index 1a7e0192b0db..681bbdb8d26c 100644 --- a/pkg/codegen/testing/test/testdata/different-enum/docs/tree/v1/_index.md +++ b/pkg/codegen/testing/test/testdata/different-enum/docs/tree/v1/_index.md @@ -13,8 +13,8 @@ Explore the resources and functions of the plant.tree/v1 module.

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/different-enum/docs/tree/v1/nursery/_index.md b/pkg/codegen/testing/test/testdata/different-enum/docs/tree/v1/nursery/_index.md index a55b11f73a80..10076f55e4e6 100644 --- a/pkg/codegen/testing/test/testdata/different-enum/docs/tree/v1/nursery/_index.md +++ b/pkg/codegen/testing/test/testdata/different-enum/docs/tree/v1/nursery/_index.md @@ -36,7 +36,7 @@ no_edit_this_page: true varieties: Optional[Sequence[RubberTreeVariety]] = None) @overload def Nursery(resource_name: str, - args: NurseryArgs, + args: NurseryArgs, opts: Optional[ResourceOptions] = None) @@ -49,15 +49,15 @@ no_edit_this_page: true
-
public Nursery(string name, NurseryArgs args, CustomResourceOptions? opts = null)
+
public Nursery(string name, NurseryArgs args, CustomResourceOptions? opts = null)
-public Nursery(String name, NurseryArgs args)
-public Nursery(String name, NurseryArgs args, CustomResourceOptions options)
+public Nursery(String name, NurseryArgs args)
+public Nursery(String name, NurseryArgs args, CustomResourceOptions options)
 
@@ -111,7 +111,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - NurseryArgs + NurseryArgs
The arguments to resource properties.
@@ -169,7 +169,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - NurseryArgs + NurseryArgs
The arguments to resource properties.
@@ -195,7 +195,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - NurseryArgs + NurseryArgs
The arguments to resource properties.
@@ -223,16 +223,16 @@ The Nursery resource accepts the following [input](/docs/intro/concepts/inputs-o
-Varieties +Varieties - List<Pulumi.Plant.Tree.V1.RubberTreeVariety> + List<Pulumi.Plant.Tree.V1.RubberTreeVariety>

The varieties available

-Sizes +Sizes Dictionary<string, Pulumi.Plant.Tree.V1.TreeSize> @@ -247,16 +247,16 @@ The Nursery resource accepts the following [input](/docs/intro/concepts/inputs-o
-Varieties +Varieties - []RubberTreeVariety + []RubberTreeVariety

The varieties available

-Sizes +Sizes map[string]TreeSize @@ -271,16 +271,16 @@ The Nursery resource accepts the following [input](/docs/intro/concepts/inputs-o
-varieties +varieties - List<RubberTreeVariety> + List<RubberTreeVariety>

The varieties available

-sizes +sizes Map<String,TreeSize> @@ -295,16 +295,16 @@ The Nursery resource accepts the following [input](/docs/intro/concepts/inputs-o
-varieties +varieties - RubberTreeVariety[] + RubberTreeVariety[]

The varieties available

-sizes +sizes {[key: string]: TreeSize} @@ -319,16 +319,16 @@ The Nursery resource accepts the following [input](/docs/intro/concepts/inputs-o
-varieties +varieties - Sequence[RubberTreeVariety] + Sequence[RubberTreeVariety]

The varieties available

-sizes +sizes Mapping[str, TreeSize] @@ -343,16 +343,16 @@ The Nursery resource accepts the following [input](/docs/intro/concepts/inputs-o
-varieties +varieties - List<"Burgundy" | "Ruby" | "Tineke"> + List<"Burgundy" | "Ruby" | "Tineke">

The varieties available

-sizes +sizes Map<"small" | "medium" | "large"> @@ -374,7 +374,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -389,7 +389,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -404,7 +404,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -419,7 +419,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -434,7 +434,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -449,7 +449,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/different-enum/docs/tree/v1/rubbertree/_index.md b/pkg/codegen/testing/test/testdata/different-enum/docs/tree/v1/rubbertree/_index.md index b9c58110b12f..4f1375bb6488 100644 --- a/pkg/codegen/testing/test/testdata/different-enum/docs/tree/v1/rubbertree/_index.md +++ b/pkg/codegen/testing/test/testdata/different-enum/docs/tree/v1/rubbertree/_index.md @@ -39,7 +39,7 @@ no_edit_this_page: true type: Optional[RubberTreeVariety] = None) @overload def RubberTree(resource_name: str, - args: RubberTreeArgs, + args: RubberTreeArgs, opts: Optional[ResourceOptions] = None) @@ -52,15 +52,15 @@ no_edit_this_page: true
-
public RubberTree(string name, RubberTreeArgs args, CustomResourceOptions? opts = null)
+
public RubberTree(string name, RubberTreeArgs args, CustomResourceOptions? opts = null)
-public RubberTree(String name, RubberTreeArgs args)
-public RubberTree(String name, RubberTreeArgs args, CustomResourceOptions options)
+public RubberTree(String name, RubberTreeArgs args)
+public RubberTree(String name, RubberTreeArgs args, CustomResourceOptions options)
 
@@ -114,7 +114,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - RubberTreeArgs + RubberTreeArgs
The arguments to resource properties.
@@ -172,7 +172,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - RubberTreeArgs + RubberTreeArgs
The arguments to resource properties.
@@ -198,7 +198,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - RubberTreeArgs + RubberTreeArgs
The arguments to resource properties.
@@ -226,42 +226,42 @@ The RubberTree resource accepts the following [input](/docs/intro/concepts/input
-Diameter +Diameter - Pulumi.Other.Tree.V1.Diameter + Pulumi.Other.Tree.V1.Diameter
-Type +Type - Pulumi.Plant.Tree.V1.RubberTreeVariety + Pulumi.Plant.Tree.V1.RubberTreeVariety
-Container +Container - Pulumi.Plant.Inputs.ContainerArgs + Pulumi.Plant.Inputs.ContainerArgs
-Farm +Farm - Pulumi.Plant.Tree.V1.Farm | string + Pulumi.Plant.Tree.V1.Farm | string
-Size +Size - Pulumi.Plant.Tree.V1.TreeSize + Pulumi.Plant.Tree.V1.TreeSize
@@ -272,42 +272,42 @@ The RubberTree resource accepts the following [input](/docs/intro/concepts/input
-Diameter +Diameter - Diameter + Diameter
-Type +Type - RubberTreeVariety + RubberTreeVariety
-Container +Container - ContainerArgs + ContainerArgs
-Farm +Farm - Farm | string + Farm | string
-Size +Size - TreeSize + TreeSize
@@ -318,42 +318,42 @@ The RubberTree resource accepts the following [input](/docs/intro/concepts/input
-diameter +diameter - Diameter + Diameter
-type +type - RubberTreeVariety + RubberTreeVariety
-container +container - ContainerArgs + ContainerArgs
-farm +farm - Farm | String + Farm | String
-size +size - TreeSize + TreeSize
@@ -364,42 +364,42 @@ The RubberTree resource accepts the following [input](/docs/intro/concepts/input
-diameter +diameter - Diameter + Diameter
-type +type - RubberTreeVariety + RubberTreeVariety
-container +container - ContainerArgs + ContainerArgs
-farm +farm - Farm | string + Farm | string
-size +size - TreeSize + TreeSize
@@ -410,42 +410,42 @@ The RubberTree resource accepts the following [input](/docs/intro/concepts/input
-diameter +diameter - Diameter + Diameter
-type +type - RubberTreeVariety + RubberTreeVariety
-container +container - ContainerArgs + ContainerArgs
-farm +farm - Farm | str + Farm | str
-size +size - TreeSize + TreeSize
@@ -456,42 +456,42 @@ The RubberTree resource accepts the following [input](/docs/intro/concepts/input
-diameter +diameter - 6 | 12 + 6 | 12
-type +type - "Burgundy" | "Ruby" | "Tineke" + "Burgundy" | "Ruby" | "Tineke"
-container +container - Property Map + Property Map
-farm +farm - "Pulumi Planters Inc." | "Plants'R'Us" | String + "Pulumi Planters Inc." | "Plants'R'Us" | String
-size +size - "small" | "medium" | "large" + "small" | "medium" | "large"
@@ -509,7 +509,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -524,7 +524,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -539,7 +539,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -554,7 +554,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -569,7 +569,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -584,7 +584,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -786,10 +786,10 @@ The following state arguments are supported:
-Farm +Farm - Pulumi.Plant.Tree.V1.Farm | string + Pulumi.Plant.Tree.V1.Farm | string
@@ -800,10 +800,10 @@ The following state arguments are supported:
-Farm +Farm - Farm | string + Farm | string
@@ -814,10 +814,10 @@ The following state arguments are supported:
-farm +farm - Farm | String + Farm | String
@@ -828,10 +828,10 @@ The following state arguments are supported:
-farm +farm - Farm | string + Farm | string
@@ -842,10 +842,10 @@ The following state arguments are supported:
-farm +farm - Farm | str + Farm | str
@@ -856,10 +856,10 @@ The following state arguments are supported:
-farm +farm - "Pulumi Planters Inc." | "Plants'R'Us" | String + "Pulumi Planters Inc." | "Plants'R'Us" | String
@@ -883,31 +883,31 @@ The following state arguments are supported:
-Size +Size - Pulumi.Plant.ContainerSize + Pulumi.Plant.ContainerSize
-Brightness +Brightness - Pulumi.Plant.ContainerBrightness + Pulumi.Plant.ContainerBrightness
-Color +Color - Pulumi.Plant.ContainerColor | string + Pulumi.Plant.ContainerColor | string
-Material +Material string @@ -921,31 +921,31 @@ The following state arguments are supported:
-Size +Size - ContainerSize + ContainerSize
-Brightness +Brightness - ContainerBrightness + ContainerBrightness
-Color +Color - ContainerColor | string + ContainerColor | string
-Material +Material string @@ -959,31 +959,31 @@ The following state arguments are supported:
-size +size - ContainerSize + ContainerSize
-brightness +brightness - ContainerBrightness + ContainerBrightness
-color +color - ContainerColor | String + ContainerColor | String
-material +material String @@ -997,31 +997,31 @@ The following state arguments are supported:
-size +size - ContainerSize + ContainerSize
-brightness +brightness - ContainerBrightness + ContainerBrightness
-color +color - ContainerColor | string + ContainerColor | string
-material +material string @@ -1035,31 +1035,31 @@ The following state arguments are supported:
-size +size - ContainerSize + ContainerSize
-brightness +brightness - ContainerBrightness + ContainerBrightness
-color +color - ContainerColor | str + ContainerColor | str
-material +material str @@ -1073,31 +1073,31 @@ The following state arguments are supported:
-size +size - 4 | 6 | 8 + 4 | 6 | 8
-brightness +brightness - 0.1 | 1 + 0.1 | 1
-color +color - "red" | "blue" | "yellow" | String + "red" | "blue" | "yellow" | String
-material +material String diff --git a/pkg/codegen/testing/test/testdata/enum-reference/docs/_index.md b/pkg/codegen/testing/test/testdata/enum-reference/docs/_index.md index edd463473d43..72ee6f3e3c7e 100644 --- a/pkg/codegen/testing/test/testdata/enum-reference/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/enum-reference/docs/_index.md @@ -13,12 +13,12 @@ no_edit_this_page: true

Modules

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/enum-reference/docs/myModule/_index.md b/pkg/codegen/testing/test/testdata/enum-reference/docs/myModule/_index.md index ca67b4e655a9..61a202d702d9 100644 --- a/pkg/codegen/testing/test/testdata/enum-reference/docs/myModule/_index.md +++ b/pkg/codegen/testing/test/testdata/enum-reference/docs/myModule/_index.md @@ -13,7 +13,7 @@ Explore the resources and functions of the example.myModule module.

Resources

Package Details

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..c63b49e8cd5d 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 @@ -35,7 +35,7 @@ no_edit_this_page: true config: Optional[pulumi_google_native.iam.v1.AuditConfigArgs] = None) @overload def IamResource(resource_name: str, - args: Optional[IamResourceArgs] = None, + args: Optional[IamResourceArgs] = None, opts: Optional[ResourceOptions] = None) @@ -48,15 +48,15 @@ no_edit_this_page: true
-
public IamResource(string name, IamResourceArgs? args = null, CustomResourceOptions? opts = null)
+
public IamResource(string name, IamResourceArgs? args = null, CustomResourceOptions? opts = null)
-public IamResource(String name, IamResourceArgs args)
-public IamResource(String name, IamResourceArgs args, CustomResourceOptions options)
+public IamResource(String name, IamResourceArgs args)
+public IamResource(String name, IamResourceArgs args, CustomResourceOptions options)
 
@@ -110,7 +110,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - IamResourceArgs + IamResourceArgs
The arguments to resource properties.
@@ -168,7 +168,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - IamResourceArgs + IamResourceArgs
The arguments to resource properties.
@@ -194,7 +194,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - IamResourceArgs + IamResourceArgs
The arguments to resource properties.
@@ -222,10 +222,10 @@ The IamResource resource accepts the following [input](/docs/intro/concepts/inpu
-Config +Config - Pulumi.GoogleNative.IAM.V1.Inputs.AuditConfigArgs + Pulumi.GoogleNative.IAM.V1.Inputs.AuditConfigArgs
@@ -236,10 +236,10 @@ The IamResource resource accepts the following [input](/docs/intro/concepts/inpu
-Config +Config - AuditConfigArgs + AuditConfigArgs
@@ -250,10 +250,10 @@ The IamResource resource accepts the following [input](/docs/intro/concepts/inpu
-config +config - AuditConfigArgs + AuditConfigArgs
@@ -264,10 +264,10 @@ The IamResource resource accepts the following [input](/docs/intro/concepts/inpu
-config +config - pulumiGoogleNative.types.input.iam.v1.AuditConfigArgs + pulumiGoogleNative.types.input.iam.v1.AuditConfigArgs
@@ -278,10 +278,10 @@ The IamResource resource accepts the following [input](/docs/intro/concepts/inpu
-config +config - AuditConfigArgs + AuditConfigArgs
@@ -292,10 +292,10 @@ The IamResource resource accepts the following [input](/docs/intro/concepts/inpu
-config +config - Property Map + Property Map
diff --git a/pkg/codegen/testing/test/testdata/enum-reference/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/enum-reference/docs/provider/_index.md index 2990f2ed2094..92e6a11a5d54 100644 --- a/pkg/codegen/testing/test/testdata/enum-reference/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/enum-reference/docs/provider/_index.md @@ -34,7 +34,7 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None)
@@ -47,15 +47,15 @@ no_edit_this_page: true
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/external-enum/docs/_index.md b/pkg/codegen/testing/test/testdata/external-enum/docs/_index.md index 2e538a3da820..7f4e098c74af 100644 --- a/pkg/codegen/testing/test/testdata/external-enum/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/external-enum/docs/_index.md @@ -13,8 +13,8 @@ no_edit_this_page: true

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/external-enum/docs/component/_index.md b/pkg/codegen/testing/test/testdata/external-enum/docs/component/_index.md index 6ebdaff4c49f..658fd7a8291c 100644 --- a/pkg/codegen/testing/test/testdata/external-enum/docs/component/_index.md +++ b/pkg/codegen/testing/test/testdata/external-enum/docs/component/_index.md @@ -36,7 +36,7 @@ no_edit_this_page: true remote_enum: Optional[_accesscontextmanager.v1.DevicePolicyAllowedDeviceManagementLevelsItem] = None) @overload def Component(resource_name: str, - args: Optional[ComponentArgs] = None, + args: Optional[ComponentArgs] = None, opts: Optional[ResourceOptions] = None) @@ -49,15 +49,15 @@ no_edit_this_page: true
-
public Component(string name, ComponentArgs? args = null, CustomResourceOptions? opts = null)
+
public Component(string name, ComponentArgs? args = null, CustomResourceOptions? opts = null)
-public Component(String name, ComponentArgs args)
-public Component(String name, ComponentArgs args, CustomResourceOptions options)
+public Component(String name, ComponentArgs args)
+public Component(String name, ComponentArgs args, CustomResourceOptions options)
 
@@ -111,7 +111,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ComponentArgs + ComponentArgs
The arguments to resource properties.
@@ -169,7 +169,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ComponentArgs + ComponentArgs
The arguments to resource properties.
@@ -195,7 +195,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ComponentArgs + ComponentArgs
The arguments to resource properties.
@@ -223,18 +223,18 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-LocalEnum +LocalEnum - Pulumi.Example.Local.MyEnum + Pulumi.Example.Local.MyEnum
-RemoteEnum +RemoteEnum - Pulumi.GoogleNative.Accesscontextmanager/v1.DevicePolicyAllowedDeviceManagementLevelsItem + Pulumi.GoogleNative.Accesscontextmanager/v1.DevicePolicyAllowedDeviceManagementLevelsItem
@@ -245,18 +245,18 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-LocalEnum +LocalEnum - MyEnum + MyEnum
-RemoteEnum +RemoteEnum - DevicePolicyAllowedDeviceManagementLevelsItem + DevicePolicyAllowedDeviceManagementLevelsItem
@@ -267,18 +267,18 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-localEnum +localEnum - MyEnum + MyEnum
-remoteEnum +remoteEnum - DevicePolicyAllowedDeviceManagementLevelsItem + DevicePolicyAllowedDeviceManagementLevelsItem
@@ -289,18 +289,18 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-localEnum +localEnum - localMyEnum + localMyEnum
-remoteEnum +remoteEnum - pulumiGoogleNativeaccesscontextmanagerv1DevicePolicyAllowedDeviceManagementLevelsItem + pulumiGoogleNativeaccesscontextmanagerv1DevicePolicyAllowedDeviceManagementLevelsItem
@@ -311,18 +311,18 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-local_enum +local_enum - MyEnum + MyEnum
-remote_enum +remote_enum - DevicePolicyAllowedDeviceManagementLevelsItem + DevicePolicyAllowedDeviceManagementLevelsItem
@@ -333,18 +333,18 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-localEnum +localEnum - 3.1415 | 1e-07 + 3.1415 | 1e-07
-remoteEnum +remoteEnum - "MANAGEMENT_UNSPECIFIED" | "NONE" | "BASIC" | "COMPLETE" + "MANAGEMENT_UNSPECIFIED" | "NONE" | "BASIC" | "COMPLETE"
@@ -362,7 +362,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -377,7 +377,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -392,7 +392,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -407,7 +407,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -422,7 +422,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -437,7 +437,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/external-enum/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/external-enum/docs/provider/_index.md index 2990f2ed2094..92e6a11a5d54 100644 --- a/pkg/codegen/testing/test/testdata/external-enum/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/external-enum/docs/provider/_index.md @@ -34,7 +34,7 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None) @@ -47,15 +47,15 @@ no_edit_this_page: true
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/external-resource-schema/docs/_index.md b/pkg/codegen/testing/test/testdata/external-resource-schema/docs/_index.md index b6717385592e..e7957fa81c8f 100644 --- a/pkg/codegen/testing/test/testdata/external-resource-schema/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/external-resource-schema/docs/_index.md @@ -13,15 +13,15 @@ no_edit_this_page: true

Resources

Functions

Package Details

diff --git a/pkg/codegen/testing/test/testdata/external-resource-schema/docs/argfunction/_index.md b/pkg/codegen/testing/test/testdata/external-resource-schema/docs/argfunction/_index.md index fb328a1e1769..b0ead2684f36 100644 --- a/pkg/codegen/testing/test/testdata/external-resource-schema/docs/argfunction/_index.md +++ b/pkg/codegen/testing/test/testdata/external-resource-schema/docs/argfunction/_index.md @@ -105,7 +105,7 @@ The following arguments are supported:
-Name +Name Pulumi.Random.RandomPet @@ -119,7 +119,7 @@ The following arguments are supported:
-Name +Name RandomPet @@ -133,7 +133,7 @@ The following arguments are supported:
-name +name RandomPet @@ -147,7 +147,7 @@ The following arguments are supported:
-name +name pulumiRandomRandomPet @@ -161,7 +161,7 @@ The following arguments are supported:
-name +name RandomPet @@ -175,7 +175,7 @@ The following arguments are supported:
-name +name random:RandomPet @@ -198,7 +198,7 @@ The following output properties are available:
-Age +Age int @@ -212,7 +212,7 @@ The following output properties are available:
-Age +Age int @@ -226,7 +226,7 @@ The following output properties are available:
-age +age Integer @@ -240,7 +240,7 @@ The following output properties are available:
-age +age number @@ -254,7 +254,7 @@ The following output properties are available:
-age +age int @@ -268,7 +268,7 @@ The following output properties are available:
-age +age Number diff --git a/pkg/codegen/testing/test/testdata/external-resource-schema/docs/cat/_index.md b/pkg/codegen/testing/test/testdata/external-resource-schema/docs/cat/_index.md index 82d5eba1ffed..ba83d0221b8c 100644 --- a/pkg/codegen/testing/test/testdata/external-resource-schema/docs/cat/_index.md +++ b/pkg/codegen/testing/test/testdata/external-resource-schema/docs/cat/_index.md @@ -36,7 +36,7 @@ no_edit_this_page: true pet: Optional[PetArgs] = None) @overload def Cat(resource_name: str, - args: Optional[CatArgs] = None, + args: Optional[CatArgs] = None, opts: Optional[ResourceOptions] = None) @@ -49,15 +49,15 @@ no_edit_this_page: true
-
public Cat(string name, CatArgs? args = null, CustomResourceOptions? opts = null)
+
public Cat(string name, CatArgs? args = null, CustomResourceOptions? opts = null)
-public Cat(String name, CatArgs args)
-public Cat(String name, CatArgs args, CustomResourceOptions options)
+public Cat(String name, CatArgs args)
+public Cat(String name, CatArgs args, CustomResourceOptions options)
 
@@ -111,7 +111,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - CatArgs + CatArgs
The arguments to resource properties.
@@ -169,7 +169,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - CatArgs + CatArgs
The arguments to resource properties.
@@ -195,7 +195,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - CatArgs + CatArgs
The arguments to resource properties.
@@ -223,7 +223,7 @@ The Cat resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-Age +Age int @@ -231,10 +231,10 @@ The Cat resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-Pet +Pet - PetArgs + PetArgs
@@ -245,7 +245,7 @@ The Cat resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-Age +Age int @@ -253,10 +253,10 @@ The Cat resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-Pet +Pet - PetArgs + PetArgs
@@ -267,7 +267,7 @@ The Cat resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-age +age Integer @@ -275,10 +275,10 @@ The Cat resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-pet +pet - PetArgs + PetArgs
@@ -289,7 +289,7 @@ The Cat resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-age +age number @@ -297,10 +297,10 @@ The Cat resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-pet +pet - PetArgs + PetArgs
@@ -311,7 +311,7 @@ The Cat resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-age +age int @@ -319,10 +319,10 @@ The Cat resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-pet +pet - PetArgs + PetArgs
@@ -333,7 +333,7 @@ The Cat resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-age +age Number @@ -341,10 +341,10 @@ The Cat resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-pet +pet - Property Map + Property Map
@@ -362,7 +362,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -371,7 +371,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Name +Name string @@ -385,7 +385,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -394,7 +394,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Name +Name string @@ -408,7 +408,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -417,7 +417,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-name +name String @@ -431,7 +431,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -440,7 +440,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-name +name string @@ -454,7 +454,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -463,7 +463,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-name +name str @@ -477,7 +477,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -486,7 +486,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-name +name String @@ -512,7 +512,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-RequiredName +RequiredName Pulumi.Random.RandomPet @@ -520,7 +520,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-RequiredNameArray +RequiredNameArray List<Pulumi.Random.RandomPet> @@ -528,7 +528,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-RequiredNameMap +RequiredNameMap Dictionary<string, Pulumi.Random.RandomPet> @@ -536,7 +536,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Age +Age int @@ -544,7 +544,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Name +Name Pulumi.Random.RandomPet @@ -552,7 +552,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-NameArray +NameArray List<Pulumi.Random.RandomPet> @@ -560,7 +560,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-NameMap +NameMap Dictionary<string, Pulumi.Random.RandomPet> @@ -574,7 +574,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-RequiredName +RequiredName RandomPet @@ -582,7 +582,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-RequiredNameArray +RequiredNameArray RandomPet @@ -590,7 +590,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-RequiredNameMap +RequiredNameMap RandomPet @@ -598,7 +598,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Age +Age int @@ -606,7 +606,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Name +Name RandomPet @@ -614,7 +614,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-NameArray +NameArray RandomPet @@ -622,7 +622,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-NameMap +NameMap RandomPet @@ -636,7 +636,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-requiredName +requiredName RandomPet @@ -644,7 +644,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-requiredNameArray +requiredNameArray List<RandomPet> @@ -652,7 +652,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-requiredNameMap +requiredNameMap Map<String,RandomPet> @@ -660,7 +660,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-age +age Integer @@ -668,7 +668,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-name +name RandomPet @@ -676,7 +676,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-nameArray +nameArray List<RandomPet> @@ -684,7 +684,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-nameMap +nameMap Map<String,RandomPet> @@ -698,7 +698,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-requiredName +requiredName pulumiRandomRandomPet @@ -706,7 +706,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-requiredNameArray +requiredNameArray pulumiRandomRandomPet[] @@ -714,7 +714,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-requiredNameMap +requiredNameMap {[key: string]: pulumiRandomRandomPet} @@ -722,7 +722,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-age +age number @@ -730,7 +730,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-name +name pulumiRandomRandomPet @@ -738,7 +738,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-nameArray +nameArray pulumiRandomRandomPet[] @@ -746,7 +746,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-nameMap +nameMap {[key: string]: pulumiRandomRandomPet} @@ -760,7 +760,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-required_name +required_name RandomPet @@ -768,7 +768,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-required_name_array +required_name_array RandomPet] @@ -776,7 +776,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-required_name_map +required_name_map RandomPet] @@ -784,7 +784,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-age +age int @@ -792,7 +792,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-name +name RandomPet @@ -800,7 +800,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-name_array +name_array RandomPet] @@ -808,7 +808,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-name_map +name_map RandomPet] @@ -822,7 +822,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-requiredName +requiredName random:RandomPet @@ -830,7 +830,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-requiredNameArray +requiredNameArray List<random:RandomPet> @@ -838,7 +838,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-requiredNameMap +requiredNameMap Map<random:RandomPet> @@ -846,7 +846,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-age +age Number @@ -854,7 +854,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-name +name random:RandomPet @@ -862,7 +862,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-nameArray +nameArray List<random:RandomPet> @@ -870,7 +870,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-nameMap +nameMap Map<random:RandomPet> diff --git a/pkg/codegen/testing/test/testdata/external-resource-schema/docs/component/_index.md b/pkg/codegen/testing/test/testdata/external-resource-schema/docs/component/_index.md index 948a0ed7ba9d..d7667a1cf936 100644 --- a/pkg/codegen/testing/test/testdata/external-resource-schema/docs/component/_index.md +++ b/pkg/codegen/testing/test/testdata/external-resource-schema/docs/component/_index.md @@ -40,7 +40,7 @@ no_edit_this_page: true required_metadata_map: Optional[Mapping[str, pulumi_kubernetes.meta.v1.ObjectMetaArgs]] = None) @overload def Component(resource_name: str, - args: ComponentArgs, + args: ComponentArgs, opts: Optional[ResourceOptions] = None) @@ -53,15 +53,15 @@ no_edit_this_page: true
-
public Component(string name, ComponentArgs args, CustomResourceOptions? opts = null)
+
public Component(string name, ComponentArgs args, CustomResourceOptions? opts = null)
-public Component(String name, ComponentArgs args)
-public Component(String name, ComponentArgs args, CustomResourceOptions options)
+public Component(String name, ComponentArgs args)
+public Component(String name, ComponentArgs args, CustomResourceOptions options)
 
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ComponentArgs + ComponentArgs
The arguments to resource properties.
@@ -173,7 +173,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ComponentArgs + ComponentArgs
The arguments to resource properties.
@@ -199,7 +199,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ComponentArgs + ComponentArgs
The arguments to resource properties.
@@ -227,23 +227,23 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-RequiredMetadata +RequiredMetadata - Pulumi.Kubernetes.Types.Inputs.Meta.V1.ObjectMetaArgs + Pulumi.Kubernetes.Types.Inputs.Meta.V1.ObjectMetaArgs
-RequiredMetadataArray +RequiredMetadataArray - List<Pulumi.Kubernetes.Types.Inputs.Meta.V1.ObjectMetaArgs> + List<Pulumi.Kubernetes.Types.Inputs.Meta.V1.ObjectMetaArgs>
-RequiredMetadataMap +RequiredMetadataMap Dictionary<string, Pulumi.Kubernetes.Types.Inputs.Meta.V1.ObjectMetaArgs> @@ -251,23 +251,23 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-Metadata +Metadata - Pulumi.Kubernetes.Types.Inputs.Meta.V1.ObjectMetaArgs + Pulumi.Kubernetes.Types.Inputs.Meta.V1.ObjectMetaArgs
-MetadataArray +MetadataArray - List<Pulumi.Kubernetes.Types.Inputs.Meta.V1.ObjectMetaArgs> + List<Pulumi.Kubernetes.Types.Inputs.Meta.V1.ObjectMetaArgs>
-MetadataMap +MetadataMap Dictionary<string, Pulumi.Kubernetes.Types.Inputs.Meta.V1.ObjectMetaArgs> @@ -281,23 +281,23 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-RequiredMetadata +RequiredMetadata - ObjectMetaArgs + ObjectMetaArgs
-RequiredMetadataArray +RequiredMetadataArray - ObjectMetaArgs + ObjectMetaArgs
-RequiredMetadataMap +RequiredMetadataMap ObjectMetaArgs @@ -305,23 +305,23 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-Metadata +Metadata - ObjectMetaArgs + ObjectMetaArgs
-MetadataArray +MetadataArray - ObjectMetaArgs + ObjectMetaArgs
-MetadataMap +MetadataMap ObjectMetaArgs @@ -335,23 +335,23 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-requiredMetadata +requiredMetadata - ObjectMetaArgs + ObjectMetaArgs
-requiredMetadataArray +requiredMetadataArray - List<ObjectMetaArgs> + List<ObjectMetaArgs>
-requiredMetadataMap +requiredMetadataMap Map<String,ObjectMetaArgs> @@ -359,23 +359,23 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-metadata +metadata - ObjectMetaArgs + ObjectMetaArgs
-metadataArray +metadataArray - List<ObjectMetaArgs> + List<ObjectMetaArgs>
-metadataMap +metadataMap Map<String,ObjectMetaArgs> @@ -389,23 +389,23 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-requiredMetadata +requiredMetadata - pulumiKubernetestypesinputmetav1ObjectMeta + pulumiKubernetestypesinputmetav1ObjectMeta
-requiredMetadataArray +requiredMetadataArray - pulumiKubernetestypesinputmetav1ObjectMeta[] + pulumiKubernetestypesinputmetav1ObjectMeta[]
-requiredMetadataMap +requiredMetadataMap {[key: string]: pulumiKubernetestypesinputmetav1ObjectMeta} @@ -413,23 +413,23 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-metadata +metadata - pulumiKubernetestypesinputmetav1ObjectMeta + pulumiKubernetestypesinputmetav1ObjectMeta
-metadataArray +metadataArray - pulumiKubernetestypesinputmetav1ObjectMeta[] + pulumiKubernetestypesinputmetav1ObjectMeta[]
-metadataMap +metadataMap {[key: string]: pulumiKubernetestypesinputmetav1ObjectMeta} @@ -443,23 +443,23 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-required_metadata +required_metadata - ObjectMetaArgs + ObjectMetaArgs
-required_metadata_array +required_metadata_array - ObjectMetaArgs] + ObjectMetaArgs]
-required_metadata_map +required_metadata_map ObjectMetaArgs] @@ -467,23 +467,23 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-metadata +metadata - ObjectMetaArgs + ObjectMetaArgs
-metadata_array +metadata_array - ObjectMetaArgs] + ObjectMetaArgs]
-metadata_map +metadata_map ObjectMetaArgs] @@ -497,23 +497,23 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-requiredMetadata +requiredMetadata - Property Map + Property Map
-requiredMetadataArray +requiredMetadataArray - List<Property Map> + List<Property Map>
-requiredMetadataMap +requiredMetadataMap Map<Property Map> @@ -521,23 +521,23 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-metadata +metadata - Property Map + Property Map
-metadataArray +metadataArray - List<Property Map> + List<Property Map>
-metadataMap +metadataMap Map<Property Map> @@ -558,7 +558,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -567,7 +567,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-SecurityGroup +SecurityGroup Pulumi.Aws.Ec2.SecurityGroup @@ -575,7 +575,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Provider +Provider Pulumi.Kubernetes.Provider @@ -583,7 +583,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-StorageClasses +StorageClasses Dictionary<string, Pulumi.Kubernetes.Storage.V1.StorageClass> @@ -597,7 +597,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -606,7 +606,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-SecurityGroup +SecurityGroup SecurityGroup @@ -614,7 +614,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Provider +Provider Provider @@ -622,7 +622,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-StorageClasses +StorageClasses StorageClass @@ -636,7 +636,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -645,7 +645,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-securityGroup +securityGroup SecurityGroup @@ -653,7 +653,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-provider +provider Provider @@ -661,7 +661,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-storageClasses +storageClasses Map<String,StorageClass> @@ -675,7 +675,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -684,7 +684,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-securityGroup +securityGroup pulumiAwsec2SecurityGroup @@ -692,7 +692,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-provider +provider pulumiKubernetesProvider @@ -700,7 +700,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-storageClasses +storageClasses {[key: string]: pulumiKubernetesstoragev1StorageClass} @@ -714,7 +714,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -723,7 +723,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-security_group +security_group SecurityGroup @@ -731,7 +731,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-provider +provider Provider @@ -739,7 +739,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-storage_classes +storage_classes StorageClass] @@ -753,7 +753,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -762,7 +762,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-securityGroup +securityGroup aws:ec2:SecurityGroup @@ -770,7 +770,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-provider +provider pulumi:providers:kubernetes @@ -778,7 +778,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-storageClasses +storageClasses Map<kubernetes:storage.k8s.io/v1:StorageClass> diff --git a/pkg/codegen/testing/test/testdata/external-resource-schema/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/external-resource-schema/docs/provider/_index.md index 2990f2ed2094..92e6a11a5d54 100644 --- a/pkg/codegen/testing/test/testdata/external-resource-schema/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/external-resource-schema/docs/provider/_index.md @@ -34,7 +34,7 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None) @@ -47,15 +47,15 @@ no_edit_this_page: true
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/external-resource-schema/docs/workload/_index.md b/pkg/codegen/testing/test/testdata/external-resource-schema/docs/workload/_index.md index 573e603a7d39..838d448b44c5 100644 --- a/pkg/codegen/testing/test/testdata/external-resource-schema/docs/workload/_index.md +++ b/pkg/codegen/testing/test/testdata/external-resource-schema/docs/workload/_index.md @@ -34,7 +34,7 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Workload(resource_name: str, - args: Optional[WorkloadArgs] = None, + args: Optional[WorkloadArgs] = None, opts: Optional[ResourceOptions] = None) @@ -47,15 +47,15 @@ no_edit_this_page: true
-
public Workload(string name, WorkloadArgs? args = null, CustomResourceOptions? opts = null)
+
public Workload(string name, WorkloadArgs? args = null, CustomResourceOptions? opts = null)
-public Workload(String name, WorkloadArgs args)
-public Workload(String name, WorkloadArgs args, CustomResourceOptions options)
+public Workload(String name, WorkloadArgs args)
+public Workload(String name, WorkloadArgs args, CustomResourceOptions options)
 
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - WorkloadArgs + WorkloadArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - WorkloadArgs + WorkloadArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - WorkloadArgs + WorkloadArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -273,10 +273,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Pod +Pod - Pulumi.Kubernetes.Types.Outputs.Core.V1.Pod + Pulumi.Kubernetes.Types.Outputs.Core.V1.Pod
@@ -287,7 +287,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -296,10 +296,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Pod +Pod - PodType + PodType
@@ -310,7 +310,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -319,10 +319,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-pod +pod - Pod + Pod
@@ -333,7 +333,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -342,10 +342,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-pod +pod - pulumiKubernetestypesoutputcorev1Pod + pulumiKubernetestypesoutputcorev1Pod
@@ -356,7 +356,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -365,10 +365,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-pod +pod - Pod + Pod
@@ -379,7 +379,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -388,10 +388,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-pod +pod - Property Map + Property Map
diff --git a/pkg/codegen/testing/test/testdata/functions-secrets/docs/_index.md b/pkg/codegen/testing/test/testdata/functions-secrets/docs/_index.md index ae05ca39eeea..d365d1835157 100644 --- a/pkg/codegen/testing/test/testdata/functions-secrets/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/functions-secrets/docs/_index.md @@ -13,12 +13,12 @@ no_edit_this_page: true

Resources

Functions

Package Details

diff --git a/pkg/codegen/testing/test/testdata/functions-secrets/docs/funcwithsecrets/_index.md b/pkg/codegen/testing/test/testdata/functions-secrets/docs/funcwithsecrets/_index.md index 2e7e435e799d..a6059bd8c1a3 100644 --- a/pkg/codegen/testing/test/testdata/functions-secrets/docs/funcwithsecrets/_index.md +++ b/pkg/codegen/testing/test/testdata/functions-secrets/docs/funcwithsecrets/_index.md @@ -107,7 +107,7 @@ The following arguments are supported:
-CryptoKey +CryptoKey string @@ -115,7 +115,7 @@ The following arguments are supported:
-Plaintext +Plaintext string @@ -129,7 +129,7 @@ The following arguments are supported:
-CryptoKey +CryptoKey string @@ -137,7 +137,7 @@ The following arguments are supported:
-Plaintext +Plaintext string @@ -151,7 +151,7 @@ The following arguments are supported:
-cryptoKey +cryptoKey String @@ -159,7 +159,7 @@ The following arguments are supported:
-plaintext +plaintext String @@ -173,7 +173,7 @@ The following arguments are supported:
-cryptoKey +cryptoKey string @@ -181,7 +181,7 @@ The following arguments are supported:
-plaintext +plaintext string @@ -195,7 +195,7 @@ The following arguments are supported:
-crypto_key +crypto_key str @@ -203,7 +203,7 @@ The following arguments are supported:
-plaintext +plaintext str @@ -217,7 +217,7 @@ The following arguments are supported:
-cryptoKey +cryptoKey String @@ -225,7 +225,7 @@ The following arguments are supported:
-plaintext +plaintext String @@ -248,7 +248,7 @@ The following output properties are available:
-Ciphertext +Ciphertext string @@ -256,7 +256,7 @@ The following output properties are available:
-CryptoKey +CryptoKey string @@ -264,7 +264,7 @@ The following output properties are available:
-Id +Id string @@ -272,7 +272,7 @@ The following output properties are available:
-Plaintext +Plaintext string @@ -286,7 +286,7 @@ The following output properties are available:
-Ciphertext +Ciphertext string @@ -294,7 +294,7 @@ The following output properties are available:
-CryptoKey +CryptoKey string @@ -302,7 +302,7 @@ The following output properties are available:
-Id +Id string @@ -310,7 +310,7 @@ The following output properties are available:
-Plaintext +Plaintext string @@ -324,7 +324,7 @@ The following output properties are available:
-ciphertext +ciphertext String @@ -332,7 +332,7 @@ The following output properties are available:
-cryptoKey +cryptoKey String @@ -340,7 +340,7 @@ The following output properties are available:
-id +id String @@ -348,7 +348,7 @@ The following output properties are available:
-plaintext +plaintext String @@ -362,7 +362,7 @@ The following output properties are available:
-ciphertext +ciphertext string @@ -370,7 +370,7 @@ The following output properties are available:
-cryptoKey +cryptoKey string @@ -378,7 +378,7 @@ The following output properties are available:
-id +id string @@ -386,7 +386,7 @@ The following output properties are available:
-plaintext +plaintext string @@ -400,7 +400,7 @@ The following output properties are available:
-ciphertext +ciphertext str @@ -408,7 +408,7 @@ The following output properties are available:
-crypto_key +crypto_key str @@ -416,7 +416,7 @@ The following output properties are available:
-id +id str @@ -424,7 +424,7 @@ The following output properties are available:
-plaintext +plaintext str @@ -438,7 +438,7 @@ The following output properties are available:
-ciphertext +ciphertext String @@ -446,7 +446,7 @@ The following output properties are available:
-cryptoKey +cryptoKey String @@ -454,7 +454,7 @@ The following output properties are available:
-id +id String @@ -462,7 +462,7 @@ The following output properties are available:
-plaintext +plaintext String diff --git a/pkg/codegen/testing/test/testdata/functions-secrets/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/functions-secrets/docs/provider/_index.md index a276d97980ab..8348e30a2bfa 100644 --- a/pkg/codegen/testing/test/testdata/functions-secrets/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/functions-secrets/docs/provider/_index.md @@ -34,7 +34,7 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None) @@ -47,15 +47,15 @@ no_edit_this_page: true
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/hyphen-url/docs/_index.md b/pkg/codegen/testing/test/testdata/hyphen-url/docs/_index.md index 0ac4b178b9a0..5fe0c9378e85 100644 --- a/pkg/codegen/testing/test/testdata/hyphen-url/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/hyphen-url/docs/_index.md @@ -13,8 +13,8 @@ no_edit_this_page: true

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/hyphen-url/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/hyphen-url/docs/provider/_index.md index ed42e04825d8..cd3e5a08ef11 100644 --- a/pkg/codegen/testing/test/testdata/hyphen-url/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/hyphen-url/docs/provider/_index.md @@ -34,7 +34,7 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None) @@ -47,15 +47,15 @@ no_edit_this_page: true
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String 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..54719d2efa84 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 @@ -35,7 +35,7 @@ no_edit_this_page: true resource_group: Optional[pulumi_azure_native.resources.ResourceGroup] = None) @overload def RegistryGeoReplication(resource_name: str, - args: RegistryGeoReplicationArgs, + args: RegistryGeoReplicationArgs, opts: Optional[ResourceOptions] = None) @@ -48,15 +48,15 @@ no_edit_this_page: true
-
public RegistryGeoReplication(string name, RegistryGeoReplicationArgs args, CustomResourceOptions? opts = null)
+
public RegistryGeoReplication(string name, RegistryGeoReplicationArgs args, CustomResourceOptions? opts = null)
-public RegistryGeoReplication(String name, RegistryGeoReplicationArgs args)
-public RegistryGeoReplication(String name, RegistryGeoReplicationArgs args, CustomResourceOptions options)
+public RegistryGeoReplication(String name, RegistryGeoReplicationArgs args)
+public RegistryGeoReplication(String name, RegistryGeoReplicationArgs args, CustomResourceOptions options)
 
@@ -110,7 +110,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - RegistryGeoReplicationArgs + RegistryGeoReplicationArgs
The arguments to resource properties.
@@ -168,7 +168,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - RegistryGeoReplicationArgs + RegistryGeoReplicationArgs
The arguments to resource properties.
@@ -194,7 +194,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - RegistryGeoReplicationArgs + RegistryGeoReplicationArgs
The arguments to resource properties.
@@ -222,7 +222,7 @@ The RegistryGeoReplication resource accepts the following [input](/docs/intro/co
-ResourceGroup +ResourceGroup Pulumi.AzureNative.Resources.ResourceGroup @@ -237,7 +237,7 @@ The RegistryGeoReplication resource accepts the following [input](/docs/intro/co
-ResourceGroup +ResourceGroup ResourceGroup @@ -252,7 +252,7 @@ The RegistryGeoReplication resource accepts the following [input](/docs/intro/co
-resourceGroup +resourceGroup ResourceGroup @@ -267,7 +267,7 @@ The RegistryGeoReplication resource accepts the following [input](/docs/intro/co
-resourceGroup +resourceGroup pulumiAzureNativeresourcesResourceGroup @@ -282,7 +282,7 @@ The RegistryGeoReplication resource accepts the following [input](/docs/intro/co
-resource_group +resource_group ResourceGroup @@ -297,7 +297,7 @@ The RegistryGeoReplication resource accepts the following [input](/docs/intro/co
-resourceGroup +resourceGroup azure-native:resources:ResourceGroup @@ -319,7 +319,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-AcrLoginServerOut +AcrLoginServerOut string @@ -328,7 +328,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Registry +Registry Pulumi.AzureNative.ContainerRegistry.Registry @@ -337,7 +337,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Replication +Replication Pulumi.AzureNative.ContainerRegistry.Replication @@ -352,7 +352,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-AcrLoginServerOut +AcrLoginServerOut string @@ -361,7 +361,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Registry +Registry Registry @@ -370,7 +370,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Replication +Replication Replication @@ -385,7 +385,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-acrLoginServerOut +acrLoginServerOut String @@ -394,7 +394,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-registry +registry Registry @@ -403,7 +403,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-replication +replication Replication @@ -418,7 +418,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-acrLoginServerOut +acrLoginServerOut string @@ -427,7 +427,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-registry +registry pulumiAzureNativecontainerregistryRegistry @@ -436,7 +436,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-replication +replication pulumiAzureNativecontainerregistryReplication @@ -451,7 +451,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-acr_login_server_out +acr_login_server_out str @@ -460,7 +460,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-registry +registry Registry @@ -469,7 +469,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-replication +replication Replication @@ -484,7 +484,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-acrLoginServerOut +acrLoginServerOut String @@ -493,7 +493,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-registry +registry azure-native:containerregistry:Registry @@ -502,7 +502,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-replication +replication azure-native:containerregistry:Replication diff --git a/pkg/codegen/testing/test/testdata/naming-collisions/docs/_index.md b/pkg/codegen/testing/test/testdata/naming-collisions/docs/_index.md index 91ec072b77e0..164eea971dd0 100644 --- a/pkg/codegen/testing/test/testdata/naming-collisions/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/naming-collisions/docs/_index.md @@ -13,9 +13,9 @@ no_edit_this_page: true

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/naming-collisions/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/naming-collisions/docs/provider/_index.md index 2990f2ed2094..92e6a11a5d54 100644 --- a/pkg/codegen/testing/test/testdata/naming-collisions/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/naming-collisions/docs/provider/_index.md @@ -34,7 +34,7 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None) @@ -47,15 +47,15 @@ no_edit_this_page: true
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/naming-collisions/docs/resource/_index.md b/pkg/codegen/testing/test/testdata/naming-collisions/docs/resource/_index.md index 75b32a9522f8..30ee972ba797 100644 --- a/pkg/codegen/testing/test/testdata/naming-collisions/docs/resource/_index.md +++ b/pkg/codegen/testing/test/testdata/naming-collisions/docs/resource/_index.md @@ -34,7 +34,7 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Resource(resource_name: str, - args: Optional[ResourceArgs] = None, + args: Optional[ResourceArgs] = None, opts: Optional[ResourceOptions] = None) @@ -47,15 +47,15 @@ no_edit_this_page: true
-
public Resource(string name, ResourceArgs? args = null, CustomResourceOptions? opts = null)
+
public Resource(string name, ResourceArgs? args = null, CustomResourceOptions? opts = null)
-public Resource(String name, ResourceArgs args)
-public Resource(String name, ResourceArgs args, CustomResourceOptions options)
+public Resource(String name, ResourceArgs args)
+public Resource(String name, ResourceArgs args, CustomResourceOptions options)
 
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -273,7 +273,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Bar +Bar string @@ -287,7 +287,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -296,7 +296,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Bar +Bar string @@ -310,7 +310,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -319,7 +319,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar String @@ -333,7 +333,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -342,7 +342,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar string @@ -356,7 +356,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -365,7 +365,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar str @@ -379,7 +379,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -388,7 +388,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar String diff --git a/pkg/codegen/testing/test/testdata/naming-collisions/docs/resourceinput/_index.md b/pkg/codegen/testing/test/testdata/naming-collisions/docs/resourceinput/_index.md index f8424d156a17..e7598199cdd7 100644 --- a/pkg/codegen/testing/test/testdata/naming-collisions/docs/resourceinput/_index.md +++ b/pkg/codegen/testing/test/testdata/naming-collisions/docs/resourceinput/_index.md @@ -34,7 +34,7 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def ResourceInput(resource_name: str, - args: Optional[ResourceInputArgs] = None, + args: Optional[ResourceInputArgs] = None, opts: Optional[ResourceOptions] = None) @@ -47,15 +47,15 @@ no_edit_this_page: true
-
public ResourceInput(string name, ResourceInputArgs? args = null, CustomResourceOptions? opts = null)
+
public ResourceInput(string name, ResourceInputArgs? args = null, CustomResourceOptions? opts = null)
-public ResourceInput(String name, ResourceInputArgs args)
-public ResourceInput(String name, ResourceInputArgs args, CustomResourceOptions options)
+public ResourceInput(String name, ResourceInputArgs args)
+public ResourceInput(String name, ResourceInputArgs args, CustomResourceOptions options)
 
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceInputArgs + ResourceInputArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceInputArgs + ResourceInputArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ResourceInputArgs + ResourceInputArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -273,7 +273,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Bar +Bar string @@ -287,7 +287,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -296,7 +296,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Bar +Bar string @@ -310,7 +310,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -319,7 +319,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar String @@ -333,7 +333,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -342,7 +342,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar string @@ -356,7 +356,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -365,7 +365,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar str @@ -379,7 +379,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -388,7 +388,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar String diff --git a/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/_index.md b/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/_index.md index 9ddf5a370f31..02d3c507e60c 100644 --- a/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/_index.md @@ -13,12 +13,12 @@ no_edit_this_page: true

Modules

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/deeply/_index.md b/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/deeply/_index.md index 18005fa555e7..942437dd16d8 100644 --- a/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/deeply/_index.md +++ b/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/deeply/_index.md @@ -13,7 +13,7 @@ no_edit_this_page: true

Modules

Package Details

diff --git a/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/deeply/nested/_index.md b/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/deeply/nested/_index.md index 8fdd9838edd3..77d138964fc7 100644 --- a/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/deeply/nested/_index.md +++ b/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/deeply/nested/_index.md @@ -13,7 +13,7 @@ no_edit_this_page: true

Modules

Package Details

diff --git a/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/deeply/nested/module/_index.md b/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/deeply/nested/module/_index.md index d125d16e6933..015f482c9bfa 100644 --- a/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/deeply/nested/module/_index.md +++ b/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/deeply/nested/module/_index.md @@ -13,7 +13,7 @@ Explore the resources and functions of the foo-bar.deeply/nested/module module.

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/deeply/nested/module/resource/_index.md b/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/deeply/nested/module/resource/_index.md index a0aafc3a1555..d9f517ffc9e8 100644 --- a/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/deeply/nested/module/resource/_index.md +++ b/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/deeply/nested/module/resource/_index.md @@ -35,7 +35,7 @@ no_edit_this_page: true baz: Optional[str] = None) @overload def Resource(resource_name: str, - args: Optional[ResourceArgs] = None, + args: Optional[ResourceArgs] = None, opts: Optional[ResourceOptions] = None) @@ -48,15 +48,15 @@ no_edit_this_page: true
-
public Resource(string name, ResourceArgs? args = null, CustomResourceOptions? opts = null)
+
public Resource(string name, ResourceArgs? args = null, CustomResourceOptions? opts = null)
-public Resource(String name, ResourceArgs args)
-public Resource(String name, ResourceArgs args, CustomResourceOptions options)
+public Resource(String name, ResourceArgs args)
+public Resource(String name, ResourceArgs args, CustomResourceOptions options)
 
@@ -110,7 +110,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -168,7 +168,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -194,7 +194,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -222,7 +222,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-Baz +Baz string @@ -236,7 +236,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-Baz +Baz string @@ -250,7 +250,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-baz +baz String @@ -264,7 +264,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-baz +baz string @@ -278,7 +278,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-baz +baz str @@ -292,7 +292,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-baz +baz String @@ -313,7 +313,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -328,7 +328,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -343,7 +343,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -358,7 +358,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -373,7 +373,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -388,7 +388,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/provider/_index.md index 9d7842e5475b..a3c46c543787 100644 --- a/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/provider/_index.md @@ -34,7 +34,7 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None) @@ -47,15 +47,15 @@ no_edit_this_page: true
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/nested-module/docs/_index.md b/pkg/codegen/testing/test/testdata/nested-module/docs/_index.md index 6cd3ce5d5f0f..66912bfa6d9b 100644 --- a/pkg/codegen/testing/test/testdata/nested-module/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/nested-module/docs/_index.md @@ -13,12 +13,12 @@ no_edit_this_page: true

Modules

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/nested-module/docs/nested/_index.md b/pkg/codegen/testing/test/testdata/nested-module/docs/nested/_index.md index d55b1ba708f6..9902a74d0c6a 100644 --- a/pkg/codegen/testing/test/testdata/nested-module/docs/nested/_index.md +++ b/pkg/codegen/testing/test/testdata/nested-module/docs/nested/_index.md @@ -13,7 +13,7 @@ no_edit_this_page: true

Modules

Package Details

diff --git a/pkg/codegen/testing/test/testdata/nested-module/docs/nested/module/_index.md b/pkg/codegen/testing/test/testdata/nested-module/docs/nested/module/_index.md index a6058f6cc14b..2d9904b66179 100644 --- a/pkg/codegen/testing/test/testdata/nested-module/docs/nested/module/_index.md +++ b/pkg/codegen/testing/test/testdata/nested-module/docs/nested/module/_index.md @@ -13,7 +13,7 @@ Explore the resources and functions of the foo.nested/module module.

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/nested-module/docs/nested/module/resource/_index.md b/pkg/codegen/testing/test/testdata/nested-module/docs/nested/module/resource/_index.md index 8646d52b7fd7..4fb71bd4a810 100644 --- a/pkg/codegen/testing/test/testdata/nested-module/docs/nested/module/resource/_index.md +++ b/pkg/codegen/testing/test/testdata/nested-module/docs/nested/module/resource/_index.md @@ -35,7 +35,7 @@ no_edit_this_page: true bar: Optional[str] = None) @overload def Resource(resource_name: str, - args: Optional[ResourceArgs] = None, + args: Optional[ResourceArgs] = None, opts: Optional[ResourceOptions] = None) @@ -48,15 +48,15 @@ no_edit_this_page: true
-
public Resource(string name, ResourceArgs? args = null, CustomResourceOptions? opts = null)
+
public Resource(string name, ResourceArgs? args = null, CustomResourceOptions? opts = null)
-public Resource(String name, ResourceArgs args)
-public Resource(String name, ResourceArgs args, CustomResourceOptions options)
+public Resource(String name, ResourceArgs args)
+public Resource(String name, ResourceArgs args, CustomResourceOptions options)
 
@@ -110,7 +110,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -168,7 +168,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -194,7 +194,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -222,7 +222,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-Bar +Bar string @@ -236,7 +236,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-Bar +Bar string @@ -250,7 +250,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar String @@ -264,7 +264,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar string @@ -278,7 +278,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar str @@ -292,7 +292,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar String @@ -313,7 +313,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -328,7 +328,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -343,7 +343,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -358,7 +358,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -373,7 +373,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -388,7 +388,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/nested-module/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/nested-module/docs/provider/_index.md index 22661802da79..9543e2fad219 100644 --- a/pkg/codegen/testing/test/testdata/nested-module/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/nested-module/docs/provider/_index.md @@ -34,7 +34,7 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None) @@ -47,15 +47,15 @@ no_edit_this_page: true
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/other-owned/docs/_index.md b/pkg/codegen/testing/test/testdata/other-owned/docs/_index.md index 279529a2e380..26c184b07bd6 100644 --- a/pkg/codegen/testing/test/testdata/other-owned/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/other-owned/docs/_index.md @@ -13,19 +13,19 @@ no_edit_this_page: true

Resources

Functions

Package Details

diff --git a/pkg/codegen/testing/test/testdata/other-owned/docs/argfunction/_index.md b/pkg/codegen/testing/test/testdata/other-owned/docs/argfunction/_index.md index 0f4e769b1271..80a58d1c1f19 100644 --- a/pkg/codegen/testing/test/testdata/other-owned/docs/argfunction/_index.md +++ b/pkg/codegen/testing/test/testdata/other-owned/docs/argfunction/_index.md @@ -105,7 +105,7 @@ The following arguments are supported:
-Arg1 +Arg1 Other.Example.Resource @@ -119,7 +119,7 @@ The following arguments are supported:
-Arg1 +Arg1 Resource @@ -133,7 +133,7 @@ The following arguments are supported:
-arg1 +arg1 Resource @@ -147,7 +147,7 @@ The following arguments are supported:
-arg1 +arg1 Resource @@ -161,7 +161,7 @@ The following arguments are supported:
-arg1 +arg1 Resource @@ -175,7 +175,7 @@ The following arguments are supported:
-arg1 +arg1 example:Resource @@ -198,7 +198,7 @@ The following output properties are available:
-Result +Result Other.Example.Resource @@ -212,7 +212,7 @@ The following output properties are available:
-Result +Result Resource @@ -226,7 +226,7 @@ The following output properties are available:
-result +result Resource @@ -240,7 +240,7 @@ The following output properties are available:
-result +result Resource @@ -254,7 +254,7 @@ The following output properties are available:
-result +result Resource @@ -268,7 +268,7 @@ The following output properties are available:
-result +result example: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..0741fa8a1aa8 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 @@ -35,7 +35,7 @@ no_edit_this_page: true foo: Optional[Resource] = None) @overload def BarResource(resource_name: str, - args: Optional[BarResourceArgs] = None, + args: Optional[BarResourceArgs] = None, opts: Optional[ResourceOptions] = None) @@ -48,15 +48,15 @@ no_edit_this_page: true
-
public BarResource(string name, BarResourceArgs? args = null, CustomResourceOptions? opts = null)
+
public BarResource(string name, BarResourceArgs? args = null, CustomResourceOptions? opts = null)
-public BarResource(String name, BarResourceArgs args)
-public BarResource(String name, BarResourceArgs args, CustomResourceOptions options)
+public BarResource(String name, BarResourceArgs args)
+public BarResource(String name, BarResourceArgs args, CustomResourceOptions options)
 
@@ -110,7 +110,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - BarResourceArgs + BarResourceArgs
The arguments to resource properties.
@@ -168,7 +168,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - BarResourceArgs + BarResourceArgs
The arguments to resource properties.
@@ -194,7 +194,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - BarResourceArgs + BarResourceArgs
The arguments to resource properties.
@@ -222,7 +222,7 @@ The BarResource resource accepts the following [input](/docs/intro/concepts/inpu
-Foo +Foo Other.Example.Resource @@ -236,7 +236,7 @@ The BarResource resource accepts the following [input](/docs/intro/concepts/inpu
-Foo +Foo Resource @@ -250,7 +250,7 @@ The BarResource resource accepts the following [input](/docs/intro/concepts/inpu
-foo +foo Resource @@ -264,7 +264,7 @@ The BarResource resource accepts the following [input](/docs/intro/concepts/inpu
-foo +foo Resource @@ -278,7 +278,7 @@ The BarResource resource accepts the following [input](/docs/intro/concepts/inpu
-foo +foo Resource @@ -292,7 +292,7 @@ The BarResource resource accepts the following [input](/docs/intro/concepts/inpu
-foo +foo example: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..b0f46e0c38e4 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 @@ -35,7 +35,7 @@ no_edit_this_page: true foo: Optional[Resource] = None) @overload def FooResource(resource_name: str, - args: Optional[FooResourceArgs] = None, + args: Optional[FooResourceArgs] = None, opts: Optional[ResourceOptions] = None) @@ -48,15 +48,15 @@ no_edit_this_page: true
-
public FooResource(string name, FooResourceArgs? args = null, CustomResourceOptions? opts = null)
+
public FooResource(string name, FooResourceArgs? args = null, CustomResourceOptions? opts = null)
-public FooResource(String name, FooResourceArgs args)
-public FooResource(String name, FooResourceArgs args, CustomResourceOptions options)
+public FooResource(String name, FooResourceArgs args)
+public FooResource(String name, FooResourceArgs args, CustomResourceOptions options)
 
@@ -110,7 +110,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - FooResourceArgs + FooResourceArgs
The arguments to resource properties.
@@ -168,7 +168,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - FooResourceArgs + FooResourceArgs
The arguments to resource properties.
@@ -194,7 +194,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - FooResourceArgs + FooResourceArgs
The arguments to resource properties.
@@ -222,7 +222,7 @@ The FooResource resource accepts the following [input](/docs/intro/concepts/inpu
-Foo +Foo Other.Example.Resource @@ -236,7 +236,7 @@ The FooResource resource accepts the following [input](/docs/intro/concepts/inpu
-Foo +Foo Resource @@ -250,7 +250,7 @@ The FooResource resource accepts the following [input](/docs/intro/concepts/inpu
-foo +foo Resource @@ -264,7 +264,7 @@ The FooResource resource accepts the following [input](/docs/intro/concepts/inpu
-foo +foo Resource @@ -278,7 +278,7 @@ The FooResource resource accepts the following [input](/docs/intro/concepts/inpu
-foo +foo Resource @@ -292,7 +292,7 @@ The FooResource resource accepts the following [input](/docs/intro/concepts/inpu
-foo +foo example: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..88a49ef8d92e 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 @@ -35,7 +35,7 @@ no_edit_this_page: true foo: Optional[Resource] = None) @overload def OtherResource(resource_name: str, - args: Optional[OtherResourceArgs] = None, + args: Optional[OtherResourceArgs] = None, opts: Optional[ResourceOptions] = None) @@ -48,15 +48,15 @@ no_edit_this_page: true
-
public OtherResource(string name, OtherResourceArgs? args = null, CustomResourceOptions? opts = null)
+
public OtherResource(string name, OtherResourceArgs? args = null, CustomResourceOptions? opts = null)
-public OtherResource(String name, OtherResourceArgs args)
-public OtherResource(String name, OtherResourceArgs args, CustomResourceOptions options)
+public OtherResource(String name, OtherResourceArgs args)
+public OtherResource(String name, OtherResourceArgs args, CustomResourceOptions options)
 
@@ -110,7 +110,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - OtherResourceArgs + OtherResourceArgs
The arguments to resource properties.
@@ -168,7 +168,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - OtherResourceArgs + OtherResourceArgs
The arguments to resource properties.
@@ -194,7 +194,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - OtherResourceArgs + OtherResourceArgs
The arguments to resource properties.
@@ -222,7 +222,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-Foo +Foo Other.Example.Resource @@ -236,7 +236,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-Foo +Foo Resource @@ -250,7 +250,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-foo +foo Resource @@ -264,7 +264,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-foo +foo Resource @@ -278,7 +278,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-foo +foo Resource @@ -292,7 +292,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-foo +foo example:Resource diff --git a/pkg/codegen/testing/test/testdata/other-owned/docs/overlayfunction/_index.md b/pkg/codegen/testing/test/testdata/other-owned/docs/overlayfunction/_index.md index 679180f01636..0c0eec56d075 100644 --- a/pkg/codegen/testing/test/testdata/other-owned/docs/overlayfunction/_index.md +++ b/pkg/codegen/testing/test/testdata/other-owned/docs/overlayfunction/_index.md @@ -105,7 +105,7 @@ The following arguments are supported:
-Arg1 +Arg1 Other.Example.Resource @@ -119,7 +119,7 @@ The following arguments are supported:
-Arg1 +Arg1 Resource @@ -133,7 +133,7 @@ The following arguments are supported:
-arg1 +arg1 Resource @@ -147,7 +147,7 @@ The following arguments are supported:
-arg1 +arg1 Resource @@ -161,7 +161,7 @@ The following arguments are supported:
-arg1 +arg1 Resource @@ -175,7 +175,7 @@ The following arguments are supported:
-arg1 +arg1 example:Resource @@ -198,7 +198,7 @@ The following output properties are available:
-Result +Result Other.Example.Resource @@ -212,7 +212,7 @@ The following output properties are available:
-Result +Result Resource @@ -226,7 +226,7 @@ The following output properties are available:
-result +result Resource @@ -240,7 +240,7 @@ The following output properties are available:
-result +result Resource @@ -254,7 +254,7 @@ The following output properties are available:
-result +result Resource @@ -268,7 +268,7 @@ The following output properties are available:
-result +result example:Resource diff --git a/pkg/codegen/testing/test/testdata/other-owned/docs/overlayresource/_index.md b/pkg/codegen/testing/test/testdata/other-owned/docs/overlayresource/_index.md index b1077037f985..95dc3543a313 100644 --- a/pkg/codegen/testing/test/testdata/other-owned/docs/overlayresource/_index.md +++ b/pkg/codegen/testing/test/testdata/other-owned/docs/overlayresource/_index.md @@ -36,7 +36,7 @@ no_edit_this_page: true foo: Optional[ConfigMapOverlayArgs] = None) @overload def OverlayResource(resource_name: str, - args: Optional[OverlayResourceArgs] = None, + args: Optional[OverlayResourceArgs] = None, opts: Optional[ResourceOptions] = None) @@ -49,15 +49,15 @@ no_edit_this_page: true
-
public OverlayResource(string name, OverlayResourceArgs? args = null, CustomResourceOptions? opts = null)
+
public OverlayResource(string name, OverlayResourceArgs? args = null, CustomResourceOptions? opts = null)
-public OverlayResource(String name, OverlayResourceArgs args)
-public OverlayResource(String name, OverlayResourceArgs args, CustomResourceOptions options)
+public OverlayResource(String name, OverlayResourceArgs args)
+public OverlayResource(String name, OverlayResourceArgs args, CustomResourceOptions options)
 
@@ -111,7 +111,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - OverlayResourceArgs + OverlayResourceArgs
The arguments to resource properties.
@@ -169,7 +169,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - OverlayResourceArgs + OverlayResourceArgs
The arguments to resource properties.
@@ -195,7 +195,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - OverlayResourceArgs + OverlayResourceArgs
The arguments to resource properties.
@@ -223,18 +223,18 @@ The OverlayResource resource accepts the following [input](/docs/intro/concepts/
-Bar +Bar - Other.Example.EnumOverlay + Other.Example.EnumOverlay
-Foo +Foo - Other.Example.Inputs.ConfigMapOverlayArgs + Other.Example.Inputs.ConfigMapOverlayArgs
@@ -245,18 +245,18 @@ The OverlayResource resource accepts the following [input](/docs/intro/concepts/
-Bar +Bar - EnumOverlay + EnumOverlay
-Foo +Foo - ConfigMapOverlayArgs + ConfigMapOverlayArgs
@@ -267,18 +267,18 @@ The OverlayResource resource accepts the following [input](/docs/intro/concepts/
-bar +bar - EnumOverlay + EnumOverlay
-foo +foo - ConfigMapOverlayArgs + ConfigMapOverlayArgs
@@ -289,18 +289,18 @@ The OverlayResource resource accepts the following [input](/docs/intro/concepts/
-bar +bar - EnumOverlay + EnumOverlay
-foo +foo - ConfigMapOverlayArgs + ConfigMapOverlayArgs
@@ -311,18 +311,18 @@ The OverlayResource resource accepts the following [input](/docs/intro/concepts/
-bar +bar - EnumOverlay + EnumOverlay
-foo +foo - ConfigMapOverlayArgs + ConfigMapOverlayArgs
@@ -333,18 +333,18 @@ The OverlayResource resource accepts the following [input](/docs/intro/concepts/
-bar +bar - "SOME_ENUM_VALUE" + "SOME_ENUM_VALUE"
-foo +foo - Property Map + Property Map
@@ -362,7 +362,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -377,7 +377,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -392,7 +392,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -407,7 +407,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -422,7 +422,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -437,7 +437,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -464,7 +464,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Config +Config string @@ -478,7 +478,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Config +Config string @@ -492,7 +492,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-config +config String @@ -506,7 +506,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-config +config string @@ -520,7 +520,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-config +config str @@ -534,7 +534,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-config +config String diff --git a/pkg/codegen/testing/test/testdata/other-owned/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/other-owned/docs/provider/_index.md index 2990f2ed2094..92e6a11a5d54 100644 --- a/pkg/codegen/testing/test/testdata/other-owned/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/other-owned/docs/provider/_index.md @@ -34,7 +34,7 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None) @@ -47,15 +47,15 @@ no_edit_this_page: true
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/other-owned/docs/resource/_index.md b/pkg/codegen/testing/test/testdata/other-owned/docs/resource/_index.md index 0bdf7fff0091..836eab027a55 100644 --- a/pkg/codegen/testing/test/testdata/other-owned/docs/resource/_index.md +++ b/pkg/codegen/testing/test/testdata/other-owned/docs/resource/_index.md @@ -35,7 +35,7 @@ no_edit_this_page: true bar: Optional[str] = None) @overload def Resource(resource_name: str, - args: Optional[ResourceArgs] = None, + args: Optional[ResourceArgs] = None, opts: Optional[ResourceOptions] = None) @@ -48,15 +48,15 @@ no_edit_this_page: true
-
public Resource(string name, ResourceArgs? args = null, CustomResourceOptions? opts = null)
+
public Resource(string name, ResourceArgs? args = null, CustomResourceOptions? opts = null)
-public Resource(String name, ResourceArgs args)
-public Resource(String name, ResourceArgs args, CustomResourceOptions options)
+public Resource(String name, ResourceArgs args)
+public Resource(String name, ResourceArgs args, CustomResourceOptions options)
 
@@ -110,7 +110,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -168,7 +168,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -194,7 +194,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -222,7 +222,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-Bar +Bar string @@ -236,7 +236,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-Bar +Bar string @@ -250,7 +250,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar String @@ -264,7 +264,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar string @@ -278,7 +278,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar str @@ -292,7 +292,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar String @@ -313,7 +313,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -328,7 +328,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -343,7 +343,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -358,7 +358,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -373,7 +373,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -388,7 +388,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/other-owned/docs/typeuses/_index.md b/pkg/codegen/testing/test/testdata/other-owned/docs/typeuses/_index.md index e38781332ba3..d8ac3f67457b 100644 --- a/pkg/codegen/testing/test/testdata/other-owned/docs/typeuses/_index.md +++ b/pkg/codegen/testing/test/testdata/other-owned/docs/typeuses/_index.md @@ -37,7 +37,7 @@ no_edit_this_page: true foo: Optional[ObjectArgs] = None) @overload def TypeUses(resource_name: str, - args: Optional[TypeUsesArgs] = None, + args: Optional[TypeUsesArgs] = None, opts: Optional[ResourceOptions] = None) @@ -50,15 +50,15 @@ no_edit_this_page: true
-
public TypeUses(string name, TypeUsesArgs? args = null, CustomResourceOptions? opts = null)
+
public TypeUses(string name, TypeUsesArgs? args = null, CustomResourceOptions? opts = null)
-public TypeUses(String name, TypeUsesArgs args)
-public TypeUses(String name, TypeUsesArgs args, CustomResourceOptions options)
+public TypeUses(String name, TypeUsesArgs args)
+public TypeUses(String name, TypeUsesArgs args, CustomResourceOptions options)
 
@@ -112,7 +112,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - TypeUsesArgs + TypeUsesArgs
The arguments to resource properties.
@@ -170,7 +170,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - TypeUsesArgs + TypeUsesArgs
The arguments to resource properties.
@@ -196,7 +196,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - TypeUsesArgs + TypeUsesArgs
The arguments to resource properties.
@@ -224,26 +224,26 @@ The TypeUses resource accepts the following [input](/docs/intro/concepts/inputs-
-Bar +Bar - Other.Example.Inputs.SomeOtherObjectArgs + Other.Example.Inputs.SomeOtherObjectArgs
-Baz +Baz - Other.Example.Inputs.ObjectWithNodeOptionalInputsArgs + Other.Example.Inputs.ObjectWithNodeOptionalInputsArgs
-Foo +Foo - Other.Example.Inputs.ObjectArgs + Other.Example.Inputs.ObjectArgs
@@ -254,26 +254,26 @@ The TypeUses resource accepts the following [input](/docs/intro/concepts/inputs-
-Bar +Bar - SomeOtherObjectArgs + SomeOtherObjectArgs
-Baz +Baz - ObjectWithNodeOptionalInputsArgs + ObjectWithNodeOptionalInputsArgs
-Foo +Foo - ObjectArgs + ObjectArgs
@@ -284,26 +284,26 @@ The TypeUses resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar - SomeOtherObjectArgs + SomeOtherObjectArgs
-baz +baz - ObjectWithNodeOptionalInputsArgs + ObjectWithNodeOptionalInputsArgs
-foo +foo - ObjectArgs + ObjectArgs
@@ -314,26 +314,26 @@ The TypeUses resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar - SomeOtherObjectArgs + SomeOtherObjectArgs
-baz +baz - ObjectWithNodeOptionalInputsArgs + ObjectWithNodeOptionalInputsArgs
-foo +foo - ObjectArgs + ObjectArgs
@@ -344,26 +344,26 @@ The TypeUses resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar - SomeOtherObjectArgs + SomeOtherObjectArgs
-baz +baz - ObjectWithNodeOptionalInputsArgs + ObjectWithNodeOptionalInputsArgs
-foo +foo - ObjectArgs + ObjectArgs
@@ -374,26 +374,26 @@ The TypeUses resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar - Property Map + Property Map
-baz +baz - Property Map + Property Map
-foo +foo - Property Map + Property Map
@@ -411,7 +411,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -426,7 +426,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -441,7 +441,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -456,7 +456,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -471,7 +471,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -486,7 +486,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -513,7 +513,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Config +Config string @@ -527,7 +527,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Config +Config string @@ -541,7 +541,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-config +config String @@ -555,7 +555,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-config +config string @@ -569,7 +569,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-config +config str @@ -583,7 +583,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-config +config String @@ -599,7 +599,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Bar +Bar string @@ -607,15 +607,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Configs +Configs - List<Other.Example.Inputs.ConfigMap> + List<Other.Example.Inputs.ConfigMap>
-Foo +Foo Other.Example.Resource @@ -623,16 +623,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Others +Others - List<ImmutableArray<Other.Example.Inputs.SomeOtherObject>> + List<ImmutableArray<Other.Example.Inputs.SomeOtherObject>>

List of lists of other objects

-StillOthers +StillOthers Dictionary<string, ImmutableArray<Other.Example.Inputs.SomeOtherObject>> @@ -647,7 +647,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Bar +Bar string @@ -655,15 +655,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Configs +Configs - []ConfigMap + []ConfigMap
-Foo +Foo Resource @@ -671,16 +671,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Others +Others - [][]SomeOtherObject + [][]SomeOtherObject

List of lists of other objects

-StillOthers +StillOthers map[string][]SomeOtherObject @@ -695,7 +695,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar String @@ -703,15 +703,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-configs +configs - List<ConfigMap> + List<ConfigMap>
-foo +foo Resource @@ -719,16 +719,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-others +others - List<List<SomeOtherObject>> + List<List<SomeOtherObject>>

List of lists of other objects

-stillOthers +stillOthers Map<String,List<SomeOtherObject>> @@ -743,7 +743,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar string @@ -751,15 +751,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-configs +configs - ConfigMap[] + ConfigMap[]
-foo +foo Resource @@ -767,16 +767,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-others +others - SomeOtherObject[][] + SomeOtherObject[][]

List of lists of other objects

-stillOthers +stillOthers {[key: string]: SomeOtherObject[]} @@ -791,7 +791,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar str @@ -799,15 +799,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-configs +configs - Sequence[ConfigMap] + Sequence[ConfigMap]
-foo +foo Resource @@ -815,16 +815,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-others +others - Sequence[Sequence[SomeOtherObject]] + Sequence[Sequence[SomeOtherObject]]

List of lists of other objects

-still_others +still_others Mapping[str, Sequence[SomeOtherObject]] @@ -839,7 +839,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar String @@ -847,15 +847,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-configs +configs - List<Property Map> + List<Property Map>
-foo +foo example:Resource @@ -863,16 +863,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-others +others - List<List<Property Map>> + List<List<Property Map>>

List of lists of other objects

-stillOthers +stillOthers Map<List<Property Map>> @@ -889,7 +889,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Foo +Foo string @@ -897,7 +897,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Bar +Bar int @@ -911,7 +911,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Foo +Foo string @@ -919,7 +919,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Bar +Bar int @@ -933,7 +933,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-foo +foo String @@ -941,7 +941,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar Integer @@ -955,7 +955,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-foo +foo string @@ -963,7 +963,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar number @@ -977,7 +977,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-foo +foo str @@ -985,7 +985,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar int @@ -999,7 +999,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-foo +foo String @@ -1007,7 +1007,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar Number @@ -1023,7 +1023,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Baz +Baz string @@ -1037,7 +1037,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Baz +Baz string @@ -1051,7 +1051,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-baz +baz String @@ -1065,7 +1065,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-baz +baz string @@ -1079,7 +1079,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-baz +baz str @@ -1093,7 +1093,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-baz +baz String diff --git a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/docs/_index.md b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/docs/_index.md index 5df90309888b..7c8e75c630ae 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/docs/_index.md @@ -13,13 +13,13 @@ no_edit_this_page: true

Resources

Functions

Package Details

diff --git a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/docs/listconfigurations/_index.md b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/docs/listconfigurations/_index.md index c28c1b1b3a91..930efb549ac5 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/docs/listconfigurations/_index.md +++ b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/docs/listconfigurations/_index.md @@ -112,25 +112,25 @@ The following arguments are supported:
-ConfigurationFilters +ConfigurationFilters - List<ConfigurationFilters> + List<ConfigurationFilters>

Holds details about product hierarchy information and filterable property.

-CustomerSubscriptionDetails +CustomerSubscriptionDetails - CustomerSubscriptionDetails + CustomerSubscriptionDetails

Customer subscription properties. Clients can display available products to unregistered customers by explicitly passing subscription details

-SkipToken +SkipToken string @@ -145,25 +145,25 @@ The following arguments are supported:
-ConfigurationFilters +ConfigurationFilters - []ConfigurationFilters + []ConfigurationFilters

Holds details about product hierarchy information and filterable property.

-CustomerSubscriptionDetails +CustomerSubscriptionDetails - CustomerSubscriptionDetails + CustomerSubscriptionDetails

Customer subscription properties. Clients can display available products to unregistered customers by explicitly passing subscription details

-SkipToken +SkipToken string @@ -178,25 +178,25 @@ The following arguments are supported:
-configurationFilters +configurationFilters - List<ConfigurationFilters> + List<ConfigurationFilters>

Holds details about product hierarchy information and filterable property.

-customerSubscriptionDetails +customerSubscriptionDetails - CustomerSubscriptionDetails + CustomerSubscriptionDetails

Customer subscription properties. Clients can display available products to unregistered customers by explicitly passing subscription details

-skipToken +skipToken String @@ -211,25 +211,25 @@ The following arguments are supported:
-configurationFilters +configurationFilters - ConfigurationFilters[] + ConfigurationFilters[]

Holds details about product hierarchy information and filterable property.

-customerSubscriptionDetails +customerSubscriptionDetails - CustomerSubscriptionDetails + CustomerSubscriptionDetails

Customer subscription properties. Clients can display available products to unregistered customers by explicitly passing subscription details

-skipToken +skipToken string @@ -244,25 +244,25 @@ The following arguments are supported:
-configuration_filters +configuration_filters - Sequence[ConfigurationFilters] + Sequence[ConfigurationFilters]

Holds details about product hierarchy information and filterable property.

-customer_subscription_details +customer_subscription_details - CustomerSubscriptionDetails + CustomerSubscriptionDetails

Customer subscription properties. Clients can display available products to unregistered customers by explicitly passing subscription details

-skip_token +skip_token str @@ -277,25 +277,25 @@ The following arguments are supported:
-configurationFilters +configurationFilters - List<Property Map> + List<Property Map>

Holds details about product hierarchy information and filterable property.

-customerSubscriptionDetails +customerSubscriptionDetails - Property Map + Property Map

Customer subscription properties. Clients can display available products to unregistered customers by explicitly passing subscription details

-skipToken +skipToken String @@ -319,16 +319,16 @@ The following output properties are available:
-Value +Value - List<ConfigurationResponse> + List<ConfigurationResponse>

List of configurations.

-NextLink +NextLink string @@ -343,16 +343,16 @@ The following output properties are available:
-Value +Value - []ConfigurationResponse + []ConfigurationResponse

List of configurations.

-NextLink +NextLink string @@ -367,16 +367,16 @@ The following output properties are available:
-value +value - List<ConfigurationResponse> + List<ConfigurationResponse>

List of configurations.

-nextLink +nextLink String @@ -391,16 +391,16 @@ The following output properties are available:
-value +value - ConfigurationResponse[] + ConfigurationResponse[]

List of configurations.

-nextLink +nextLink string @@ -415,16 +415,16 @@ The following output properties are available:
-value +value - Sequence[ConfigurationResponse] + Sequence[ConfigurationResponse]

List of configurations.

-next_link +next_link str @@ -439,16 +439,16 @@ The following output properties are available:
-value +value - List<Property Map> + List<Property Map>

List of configurations.

-nextLink +nextLink String @@ -473,7 +473,7 @@ The following output properties are available:
-AvailabilityStage +AvailabilityStage string @@ -482,7 +482,7 @@ The following output properties are available:
-DisabledReason +DisabledReason string @@ -491,7 +491,7 @@ The following output properties are available:
-DisabledReasonMessage +DisabledReasonMessage string @@ -506,7 +506,7 @@ The following output properties are available:
-AvailabilityStage +AvailabilityStage string @@ -515,7 +515,7 @@ The following output properties are available:
-DisabledReason +DisabledReason string @@ -524,7 +524,7 @@ The following output properties are available:
-DisabledReasonMessage +DisabledReasonMessage string @@ -539,7 +539,7 @@ The following output properties are available:
-availabilityStage +availabilityStage String @@ -548,7 +548,7 @@ The following output properties are available:
-disabledReason +disabledReason String @@ -557,7 +557,7 @@ The following output properties are available:
-disabledReasonMessage +disabledReasonMessage String @@ -572,7 +572,7 @@ The following output properties are available:
-availabilityStage +availabilityStage string @@ -581,7 +581,7 @@ The following output properties are available:
-disabledReason +disabledReason string @@ -590,7 +590,7 @@ The following output properties are available:
-disabledReasonMessage +disabledReasonMessage string @@ -605,7 +605,7 @@ The following output properties are available:
-availability_stage +availability_stage str @@ -614,7 +614,7 @@ The following output properties are available:
-disabled_reason +disabled_reason str @@ -623,7 +623,7 @@ The following output properties are available:
-disabled_reason_message +disabled_reason_message str @@ -638,7 +638,7 @@ The following output properties are available:
-availabilityStage +availabilityStage String @@ -647,7 +647,7 @@ The following output properties are available:
-disabledReason +disabledReason String @@ -656,7 +656,7 @@ The following output properties are available:
-disabledReasonMessage +disabledReasonMessage String @@ -675,7 +675,7 @@ The following output properties are available:
-Frequency +Frequency string @@ -684,16 +684,16 @@ The following output properties are available:
-MeterDetails +MeterDetails - Pav2MeterDetailsResponse | PurchaseMeterDetailsResponse + Pav2MeterDetailsResponse | PurchaseMeterDetailsResponse

Represents MeterDetails

-MeteringType +MeteringType string @@ -702,7 +702,7 @@ The following output properties are available:
-Name +Name string @@ -717,7 +717,7 @@ The following output properties are available:
-Frequency +Frequency string @@ -726,16 +726,16 @@ The following output properties are available:
-MeterDetails +MeterDetails - Pav2MeterDetailsResponse | PurchaseMeterDetailsResponse + Pav2MeterDetailsResponse | PurchaseMeterDetailsResponse

Represents MeterDetails

-MeteringType +MeteringType string @@ -744,7 +744,7 @@ The following output properties are available:
-Name +Name string @@ -759,7 +759,7 @@ The following output properties are available:
-frequency +frequency String @@ -768,16 +768,16 @@ The following output properties are available:
-meterDetails +meterDetails - Pav2MeterDetailsResponse | PurchaseMeterDetailsResponse + Pav2MeterDetailsResponse | PurchaseMeterDetailsResponse

Represents MeterDetails

-meteringType +meteringType String @@ -786,7 +786,7 @@ The following output properties are available:
-name +name String @@ -801,7 +801,7 @@ The following output properties are available:
-frequency +frequency string @@ -810,16 +810,16 @@ The following output properties are available:
-meterDetails +meterDetails - Pav2MeterDetailsResponse | PurchaseMeterDetailsResponse + Pav2MeterDetailsResponse | PurchaseMeterDetailsResponse

Represents MeterDetails

-meteringType +meteringType string @@ -828,7 +828,7 @@ The following output properties are available:
-name +name string @@ -843,7 +843,7 @@ The following output properties are available:
-frequency +frequency str @@ -852,16 +852,16 @@ The following output properties are available:
-meter_details +meter_details - Pav2MeterDetailsResponse | PurchaseMeterDetailsResponse + Pav2MeterDetailsResponse | PurchaseMeterDetailsResponse

Represents MeterDetails

-metering_type +metering_type str @@ -870,7 +870,7 @@ The following output properties are available:
-name +name str @@ -885,7 +885,7 @@ The following output properties are available:
-frequency +frequency String @@ -894,16 +894,16 @@ The following output properties are available:
-meterDetails +meterDetails - Property Map | Property Map + Property Map | Property Map

Represents MeterDetails

-meteringType +meteringType String @@ -912,7 +912,7 @@ The following output properties are available:
-name +name String @@ -931,19 +931,19 @@ The following output properties are available:
-HierarchyInformation +HierarchyInformation - HierarchyInformation + HierarchyInformation

Product hierarchy information

-FilterableProperty +FilterableProperty - List<FilterableProperty> + List<FilterableProperty>

Filters specific to product

@@ -955,19 +955,19 @@ The following output properties are available:
-HierarchyInformation +HierarchyInformation - HierarchyInformation + HierarchyInformation

Product hierarchy information

-FilterableProperty +FilterableProperty - []FilterableProperty + []FilterableProperty

Filters specific to product

@@ -979,19 +979,19 @@ The following output properties are available:
-hierarchyInformation +hierarchyInformation - HierarchyInformation + HierarchyInformation

Product hierarchy information

-filterableProperty +filterableProperty - List<FilterableProperty> + List<FilterableProperty>

Filters specific to product

@@ -1003,19 +1003,19 @@ The following output properties are available:
-hierarchyInformation +hierarchyInformation - HierarchyInformation + HierarchyInformation

Product hierarchy information

-filterableProperty +filterableProperty - FilterableProperty[] + FilterableProperty[]

Filters specific to product

@@ -1027,19 +1027,19 @@ The following output properties are available:
-hierarchy_information +hierarchy_information - HierarchyInformation + HierarchyInformation

Product hierarchy information

-filterable_property +filterable_property - Sequence[FilterableProperty] + Sequence[FilterableProperty]

Filters specific to product

@@ -1051,19 +1051,19 @@ The following output properties are available:
-hierarchyInformation +hierarchyInformation - Property Map + Property Map

Product hierarchy information

-filterableProperty +filterableProperty - List<Property Map> + List<Property Map>

Filters specific to product

@@ -1079,43 +1079,43 @@ The following output properties are available:
-AvailabilityInformation +AvailabilityInformation - AvailabilityInformationResponse + AvailabilityInformationResponse

Availability information of the product system.

-CostInformation +CostInformation - CostInformationResponse + CostInformationResponse

Cost information for the product system.

-Description +Description - DescriptionResponse + DescriptionResponse

Description related to the product system.

-Dimensions +Dimensions - DimensionsResponse + DimensionsResponse

Dimensions of the configuration

-DisplayName +DisplayName string @@ -1124,37 +1124,37 @@ The following output properties are available:
-FilterableProperties +FilterableProperties - List<FilterablePropertyResponse> + List<FilterablePropertyResponse>

list of filters supported for a product

-HierarchyInformation +HierarchyInformation - HierarchyInformationResponse + HierarchyInformationResponse

Hierarchy information of a product.

-ImageInformation +ImageInformation - List<ImageInformationResponse> + List<ImageInformationResponse>

Image information for the product system.

-Specifications +Specifications - List<SpecificationResponse> + List<SpecificationResponse>

Specifications of the configuration

@@ -1166,43 +1166,43 @@ The following output properties are available:
-AvailabilityInformation +AvailabilityInformation - AvailabilityInformationResponse + AvailabilityInformationResponse

Availability information of the product system.

-CostInformation +CostInformation - CostInformationResponse + CostInformationResponse

Cost information for the product system.

-Description +Description - DescriptionResponse + DescriptionResponse

Description related to the product system.

-Dimensions +Dimensions - DimensionsResponse + DimensionsResponse

Dimensions of the configuration

-DisplayName +DisplayName string @@ -1211,37 +1211,37 @@ The following output properties are available:
-FilterableProperties +FilterableProperties - []FilterablePropertyResponse + []FilterablePropertyResponse

list of filters supported for a product

-HierarchyInformation +HierarchyInformation - HierarchyInformationResponse + HierarchyInformationResponse

Hierarchy information of a product.

-ImageInformation +ImageInformation - []ImageInformationResponse + []ImageInformationResponse

Image information for the product system.

-Specifications +Specifications - []SpecificationResponse + []SpecificationResponse

Specifications of the configuration

@@ -1253,43 +1253,43 @@ The following output properties are available:
-availabilityInformation +availabilityInformation - AvailabilityInformationResponse + AvailabilityInformationResponse

Availability information of the product system.

-costInformation +costInformation - CostInformationResponse + CostInformationResponse

Cost information for the product system.

-description +description - DescriptionResponse + DescriptionResponse

Description related to the product system.

-dimensions +dimensions - DimensionsResponse + DimensionsResponse

Dimensions of the configuration

-displayName +displayName String @@ -1298,37 +1298,37 @@ The following output properties are available:
-filterableProperties +filterableProperties - List<FilterablePropertyResponse> + List<FilterablePropertyResponse>

list of filters supported for a product

-hierarchyInformation +hierarchyInformation - HierarchyInformationResponse + HierarchyInformationResponse

Hierarchy information of a product.

-imageInformation +imageInformation - List<ImageInformationResponse> + List<ImageInformationResponse>

Image information for the product system.

-specifications +specifications - List<SpecificationResponse> + List<SpecificationResponse>

Specifications of the configuration

@@ -1340,43 +1340,43 @@ The following output properties are available:
-availabilityInformation +availabilityInformation - AvailabilityInformationResponse + AvailabilityInformationResponse

Availability information of the product system.

-costInformation +costInformation - CostInformationResponse + CostInformationResponse

Cost information for the product system.

-description +description - DescriptionResponse + DescriptionResponse

Description related to the product system.

-dimensions +dimensions - DimensionsResponse + DimensionsResponse

Dimensions of the configuration

-displayName +displayName string @@ -1385,37 +1385,37 @@ The following output properties are available:
-filterableProperties +filterableProperties - FilterablePropertyResponse[] + FilterablePropertyResponse[]

list of filters supported for a product

-hierarchyInformation +hierarchyInformation - HierarchyInformationResponse + HierarchyInformationResponse

Hierarchy information of a product.

-imageInformation +imageInformation - ImageInformationResponse[] + ImageInformationResponse[]

Image information for the product system.

-specifications +specifications - SpecificationResponse[] + SpecificationResponse[]

Specifications of the configuration

@@ -1427,43 +1427,43 @@ The following output properties are available:
-availability_information +availability_information - AvailabilityInformationResponse + AvailabilityInformationResponse

Availability information of the product system.

-cost_information +cost_information - CostInformationResponse + CostInformationResponse

Cost information for the product system.

-description +description - DescriptionResponse + DescriptionResponse

Description related to the product system.

-dimensions +dimensions - DimensionsResponse + DimensionsResponse

Dimensions of the configuration

-display_name +display_name str @@ -1472,37 +1472,37 @@ The following output properties are available:
-filterable_properties +filterable_properties - Sequence[FilterablePropertyResponse] + Sequence[FilterablePropertyResponse]

list of filters supported for a product

-hierarchy_information +hierarchy_information - HierarchyInformationResponse + HierarchyInformationResponse

Hierarchy information of a product.

-image_information +image_information - Sequence[ImageInformationResponse] + Sequence[ImageInformationResponse]

Image information for the product system.

-specifications +specifications - Sequence[SpecificationResponse] + Sequence[SpecificationResponse]

Specifications of the configuration

@@ -1514,43 +1514,43 @@ The following output properties are available:
-availabilityInformation +availabilityInformation - Property Map + Property Map

Availability information of the product system.

-costInformation +costInformation - Property Map + Property Map

Cost information for the product system.

-description +description - Property Map + Property Map

Description related to the product system.

-dimensions +dimensions - Property Map + Property Map

Dimensions of the configuration

-displayName +displayName String @@ -1559,37 +1559,37 @@ The following output properties are available:
-filterableProperties +filterableProperties - List<Property Map> + List<Property Map>

list of filters supported for a product

-hierarchyInformation +hierarchyInformation - Property Map + Property Map

Hierarchy information of a product.

-imageInformation +imageInformation - List<Property Map> + List<Property Map>

Image information for the product system.

-specifications +specifications - List<Property Map> + List<Property Map>

Specifications of the configuration

@@ -1605,7 +1605,7 @@ The following output properties are available:
-BillingInfoUrl +BillingInfoUrl string @@ -1614,10 +1614,10 @@ The following output properties are available:
-BillingMeterDetails +BillingMeterDetails - List<BillingMeterDetailsResponse> + List<BillingMeterDetailsResponse>

Details on the various billing aspects for the product system.

@@ -1629,7 +1629,7 @@ The following output properties are available:
-BillingInfoUrl +BillingInfoUrl string @@ -1638,10 +1638,10 @@ The following output properties are available:
-BillingMeterDetails +BillingMeterDetails - []BillingMeterDetailsResponse + []BillingMeterDetailsResponse

Details on the various billing aspects for the product system.

@@ -1653,7 +1653,7 @@ The following output properties are available:
-billingInfoUrl +billingInfoUrl String @@ -1662,10 +1662,10 @@ The following output properties are available:
-billingMeterDetails +billingMeterDetails - List<BillingMeterDetailsResponse> + List<BillingMeterDetailsResponse>

Details on the various billing aspects for the product system.

@@ -1677,7 +1677,7 @@ The following output properties are available:
-billingInfoUrl +billingInfoUrl string @@ -1686,10 +1686,10 @@ The following output properties are available:
-billingMeterDetails +billingMeterDetails - BillingMeterDetailsResponse[] + BillingMeterDetailsResponse[]

Details on the various billing aspects for the product system.

@@ -1701,7 +1701,7 @@ The following output properties are available:
-billing_info_url +billing_info_url str @@ -1710,10 +1710,10 @@ The following output properties are available:
-billing_meter_details +billing_meter_details - Sequence[BillingMeterDetailsResponse] + Sequence[BillingMeterDetailsResponse]

Details on the various billing aspects for the product system.

@@ -1725,7 +1725,7 @@ The following output properties are available:
-billingInfoUrl +billingInfoUrl String @@ -1734,10 +1734,10 @@ The following output properties are available:
-billingMeterDetails +billingMeterDetails - List<Property Map> + List<Property Map>

Details on the various billing aspects for the product system.

@@ -1753,7 +1753,7 @@ The following output properties are available:
-QuotaId +QuotaId string @@ -1762,7 +1762,7 @@ The following output properties are available:
-LocationPlacementId +LocationPlacementId string @@ -1771,10 +1771,10 @@ The following output properties are available:
-RegisteredFeatures +RegisteredFeatures - List<CustomerSubscriptionRegisteredFeatures> + List<CustomerSubscriptionRegisteredFeatures>

List of registered feature flags for subscription

@@ -1786,7 +1786,7 @@ The following output properties are available:
-QuotaId +QuotaId string @@ -1795,7 +1795,7 @@ The following output properties are available:
-LocationPlacementId +LocationPlacementId string @@ -1804,10 +1804,10 @@ The following output properties are available:
-RegisteredFeatures +RegisteredFeatures - []CustomerSubscriptionRegisteredFeatures + []CustomerSubscriptionRegisteredFeatures

List of registered feature flags for subscription

@@ -1819,7 +1819,7 @@ The following output properties are available:
-quotaId +quotaId String @@ -1828,7 +1828,7 @@ The following output properties are available:
-locationPlacementId +locationPlacementId String @@ -1837,10 +1837,10 @@ The following output properties are available:
-registeredFeatures +registeredFeatures - List<CustomerSubscriptionRegisteredFeatures> + List<CustomerSubscriptionRegisteredFeatures>

List of registered feature flags for subscription

@@ -1852,7 +1852,7 @@ The following output properties are available:
-quotaId +quotaId string @@ -1861,7 +1861,7 @@ The following output properties are available:
-locationPlacementId +locationPlacementId string @@ -1870,10 +1870,10 @@ The following output properties are available:
-registeredFeatures +registeredFeatures - CustomerSubscriptionRegisteredFeatures[] + CustomerSubscriptionRegisteredFeatures[]

List of registered feature flags for subscription

@@ -1885,7 +1885,7 @@ The following output properties are available:
-quota_id +quota_id str @@ -1894,7 +1894,7 @@ The following output properties are available:
-location_placement_id +location_placement_id str @@ -1903,10 +1903,10 @@ The following output properties are available:
-registered_features +registered_features - Sequence[CustomerSubscriptionRegisteredFeatures] + Sequence[CustomerSubscriptionRegisteredFeatures]

List of registered feature flags for subscription

@@ -1918,7 +1918,7 @@ The following output properties are available:
-quotaId +quotaId String @@ -1927,7 +1927,7 @@ The following output properties are available:
-locationPlacementId +locationPlacementId String @@ -1936,10 +1936,10 @@ The following output properties are available:
-registeredFeatures +registeredFeatures - List<Property Map> + List<Property Map>

List of registered feature flags for subscription

@@ -1955,7 +1955,7 @@ The following output properties are available:
-Name +Name string @@ -1964,7 +1964,7 @@ The following output properties are available:
-State +State string @@ -1979,7 +1979,7 @@ The following output properties are available:
-Name +Name string @@ -1988,7 +1988,7 @@ The following output properties are available:
-State +State string @@ -2003,7 +2003,7 @@ The following output properties are available:
-name +name String @@ -2012,7 +2012,7 @@ The following output properties are available:
-state +state String @@ -2027,7 +2027,7 @@ The following output properties are available:
-name +name string @@ -2036,7 +2036,7 @@ The following output properties are available:
-state +state string @@ -2051,7 +2051,7 @@ The following output properties are available:
-name +name str @@ -2060,7 +2060,7 @@ The following output properties are available:
-state +state str @@ -2075,7 +2075,7 @@ The following output properties are available:
-name +name String @@ -2084,7 +2084,7 @@ The following output properties are available:
-state +state String @@ -2103,7 +2103,7 @@ The following output properties are available:
-Attributes +Attributes List<string> @@ -2112,7 +2112,7 @@ The following output properties are available:
-DescriptionType +DescriptionType string @@ -2121,7 +2121,7 @@ The following output properties are available:
-Keywords +Keywords List<string> @@ -2130,16 +2130,16 @@ The following output properties are available:
-Links +Links - List<LinkResponse> + List<LinkResponse>

Links for the product system.

-LongDescription +LongDescription string @@ -2148,7 +2148,7 @@ The following output properties are available:
-ShortDescription +ShortDescription string @@ -2163,7 +2163,7 @@ The following output properties are available:
-Attributes +Attributes []string @@ -2172,7 +2172,7 @@ The following output properties are available:
-DescriptionType +DescriptionType string @@ -2181,7 +2181,7 @@ The following output properties are available:
-Keywords +Keywords []string @@ -2190,16 +2190,16 @@ The following output properties are available:
-Links +Links - []LinkResponse + []LinkResponse

Links for the product system.

-LongDescription +LongDescription string @@ -2208,7 +2208,7 @@ The following output properties are available:
-ShortDescription +ShortDescription string @@ -2223,7 +2223,7 @@ The following output properties are available:
-attributes +attributes List<String> @@ -2232,7 +2232,7 @@ The following output properties are available:
-descriptionType +descriptionType String @@ -2241,7 +2241,7 @@ The following output properties are available:
-keywords +keywords List<String> @@ -2250,16 +2250,16 @@ The following output properties are available:
-links +links - List<LinkResponse> + List<LinkResponse>

Links for the product system.

-longDescription +longDescription String @@ -2268,7 +2268,7 @@ The following output properties are available:
-shortDescription +shortDescription String @@ -2283,7 +2283,7 @@ The following output properties are available:
-attributes +attributes string[] @@ -2292,7 +2292,7 @@ The following output properties are available:
-descriptionType +descriptionType string @@ -2301,7 +2301,7 @@ The following output properties are available:
-keywords +keywords string[] @@ -2310,16 +2310,16 @@ The following output properties are available:
-links +links - LinkResponse[] + LinkResponse[]

Links for the product system.

-longDescription +longDescription string @@ -2328,7 +2328,7 @@ The following output properties are available:
-shortDescription +shortDescription string @@ -2343,7 +2343,7 @@ The following output properties are available:
-attributes +attributes Sequence[str] @@ -2352,7 +2352,7 @@ The following output properties are available:
-description_type +description_type str @@ -2361,7 +2361,7 @@ The following output properties are available:
-keywords +keywords Sequence[str] @@ -2370,16 +2370,16 @@ The following output properties are available:
-links +links - Sequence[LinkResponse] + Sequence[LinkResponse]

Links for the product system.

-long_description +long_description str @@ -2388,7 +2388,7 @@ The following output properties are available:
-short_description +short_description str @@ -2403,7 +2403,7 @@ The following output properties are available:
-attributes +attributes List<String> @@ -2412,7 +2412,7 @@ The following output properties are available:
-descriptionType +descriptionType String @@ -2421,7 +2421,7 @@ The following output properties are available:
-keywords +keywords List<String> @@ -2430,16 +2430,16 @@ The following output properties are available:
-links +links - List<Property Map> + List<Property Map>

Links for the product system.

-longDescription +longDescription String @@ -2448,7 +2448,7 @@ The following output properties are available:
-shortDescription +shortDescription String @@ -2467,7 +2467,7 @@ The following output properties are available:
-Depth +Depth double @@ -2476,7 +2476,7 @@ The following output properties are available:
-Height +Height double @@ -2485,7 +2485,7 @@ The following output properties are available:
-Length +Length double @@ -2494,7 +2494,7 @@ The following output properties are available:
-LengthHeightUnit +LengthHeightUnit string @@ -2503,7 +2503,7 @@ The following output properties are available:
-Weight +Weight double @@ -2512,7 +2512,7 @@ The following output properties are available:
-WeightUnit +WeightUnit string @@ -2521,7 +2521,7 @@ The following output properties are available:
-Width +Width double @@ -2536,7 +2536,7 @@ The following output properties are available:
-Depth +Depth float64 @@ -2545,7 +2545,7 @@ The following output properties are available:
-Height +Height float64 @@ -2554,7 +2554,7 @@ The following output properties are available:
-Length +Length float64 @@ -2563,7 +2563,7 @@ The following output properties are available:
-LengthHeightUnit +LengthHeightUnit string @@ -2572,7 +2572,7 @@ The following output properties are available:
-Weight +Weight float64 @@ -2581,7 +2581,7 @@ The following output properties are available:
-WeightUnit +WeightUnit string @@ -2590,7 +2590,7 @@ The following output properties are available:
-Width +Width float64 @@ -2605,7 +2605,7 @@ The following output properties are available:
-depth +depth Double @@ -2614,7 +2614,7 @@ The following output properties are available:
-height +height Double @@ -2623,7 +2623,7 @@ The following output properties are available:
-length +length Double @@ -2632,7 +2632,7 @@ The following output properties are available:
-lengthHeightUnit +lengthHeightUnit String @@ -2641,7 +2641,7 @@ The following output properties are available:
-weight +weight Double @@ -2650,7 +2650,7 @@ The following output properties are available:
-weightUnit +weightUnit String @@ -2659,7 +2659,7 @@ The following output properties are available:
-width +width Double @@ -2674,7 +2674,7 @@ The following output properties are available:
-depth +depth number @@ -2683,7 +2683,7 @@ The following output properties are available:
-height +height number @@ -2692,7 +2692,7 @@ The following output properties are available:
-length +length number @@ -2701,7 +2701,7 @@ The following output properties are available:
-lengthHeightUnit +lengthHeightUnit string @@ -2710,7 +2710,7 @@ The following output properties are available:
-weight +weight number @@ -2719,7 +2719,7 @@ The following output properties are available:
-weightUnit +weightUnit string @@ -2728,7 +2728,7 @@ The following output properties are available:
-width +width number @@ -2743,7 +2743,7 @@ The following output properties are available:
-depth +depth float @@ -2752,7 +2752,7 @@ The following output properties are available:
-height +height float @@ -2761,7 +2761,7 @@ The following output properties are available:
-length +length float @@ -2770,7 +2770,7 @@ The following output properties are available:
-length_height_unit +length_height_unit str @@ -2779,7 +2779,7 @@ The following output properties are available:
-weight +weight float @@ -2788,7 +2788,7 @@ The following output properties are available:
-weight_unit +weight_unit str @@ -2797,7 +2797,7 @@ The following output properties are available:
-width +width float @@ -2812,7 +2812,7 @@ The following output properties are available:
-depth +depth Number @@ -2821,7 +2821,7 @@ The following output properties are available:
-height +height Number @@ -2830,7 +2830,7 @@ The following output properties are available:
-length +length Number @@ -2839,7 +2839,7 @@ The following output properties are available:
-lengthHeightUnit +lengthHeightUnit String @@ -2848,7 +2848,7 @@ The following output properties are available:
-weight +weight Number @@ -2857,7 +2857,7 @@ The following output properties are available:
-weightUnit +weightUnit String @@ -2866,7 +2866,7 @@ The following output properties are available:
-width +width Number @@ -2885,7 +2885,7 @@ The following output properties are available:
-SupportedValues +SupportedValues List<string> @@ -2894,10 +2894,10 @@ The following output properties are available:
-Type +Type - string | Pulumi.Myedgeorder.SupportedFilterTypes + string | Pulumi.Myedgeorder.SupportedFilterTypes

Type of product filter.

@@ -2909,7 +2909,7 @@ The following output properties are available:
-SupportedValues +SupportedValues []string @@ -2918,10 +2918,10 @@ The following output properties are available:
-Type +Type - string | SupportedFilterTypes + string | SupportedFilterTypes

Type of product filter.

@@ -2933,7 +2933,7 @@ The following output properties are available:
-supportedValues +supportedValues List<String> @@ -2942,10 +2942,10 @@ The following output properties are available:
-type +type - String | SupportedFilterTypes + String | SupportedFilterTypes

Type of product filter.

@@ -2957,7 +2957,7 @@ The following output properties are available:
-supportedValues +supportedValues string[] @@ -2966,10 +2966,10 @@ The following output properties are available:
-type +type - string | SupportedFilterTypes + string | SupportedFilterTypes

Type of product filter.

@@ -2981,7 +2981,7 @@ The following output properties are available:
-supported_values +supported_values Sequence[str] @@ -2990,10 +2990,10 @@ The following output properties are available:
-type +type - str | SupportedFilterTypes + str | SupportedFilterTypes

Type of product filter.

@@ -3005,7 +3005,7 @@ The following output properties are available:
-supportedValues +supportedValues List<String> @@ -3014,10 +3014,10 @@ The following output properties are available:
-type +type - String | "ShipToCountries" | "DoubleEncryptionStatus" + String | "ShipToCountries" | "DoubleEncryptionStatus"

Type of product filter.

@@ -3033,7 +3033,7 @@ The following output properties are available:
-SupportedValues +SupportedValues List<string> @@ -3042,7 +3042,7 @@ The following output properties are available:
-Type +Type string @@ -3057,7 +3057,7 @@ The following output properties are available:
-SupportedValues +SupportedValues []string @@ -3066,7 +3066,7 @@ The following output properties are available:
-Type +Type string @@ -3081,7 +3081,7 @@ The following output properties are available:
-supportedValues +supportedValues List<String> @@ -3090,7 +3090,7 @@ The following output properties are available:
-type +type String @@ -3105,7 +3105,7 @@ The following output properties are available:
-supportedValues +supportedValues string[] @@ -3114,7 +3114,7 @@ The following output properties are available:
-type +type string @@ -3129,7 +3129,7 @@ The following output properties are available:
-supported_values +supported_values Sequence[str] @@ -3138,7 +3138,7 @@ The following output properties are available:
-type +type str @@ -3153,7 +3153,7 @@ The following output properties are available:
-supportedValues +supportedValues List<String> @@ -3162,7 +3162,7 @@ The following output properties are available:
-type +type String @@ -3181,7 +3181,7 @@ The following output properties are available:
-ConfigurationName +ConfigurationName string @@ -3190,7 +3190,7 @@ The following output properties are available:
-ProductFamilyName +ProductFamilyName string @@ -3199,7 +3199,7 @@ The following output properties are available:
-ProductLineName +ProductLineName string @@ -3208,7 +3208,7 @@ The following output properties are available:
-ProductName +ProductName string @@ -3223,7 +3223,7 @@ The following output properties are available:
-ConfigurationName +ConfigurationName string @@ -3232,7 +3232,7 @@ The following output properties are available:
-ProductFamilyName +ProductFamilyName string @@ -3241,7 +3241,7 @@ The following output properties are available:
-ProductLineName +ProductLineName string @@ -3250,7 +3250,7 @@ The following output properties are available:
-ProductName +ProductName string @@ -3265,7 +3265,7 @@ The following output properties are available:
-configurationName +configurationName String @@ -3274,7 +3274,7 @@ The following output properties are available:
-productFamilyName +productFamilyName String @@ -3283,7 +3283,7 @@ The following output properties are available:
-productLineName +productLineName String @@ -3292,7 +3292,7 @@ The following output properties are available:
-productName +productName String @@ -3307,7 +3307,7 @@ The following output properties are available:
-configurationName +configurationName string @@ -3316,7 +3316,7 @@ The following output properties are available:
-productFamilyName +productFamilyName string @@ -3325,7 +3325,7 @@ The following output properties are available:
-productLineName +productLineName string @@ -3334,7 +3334,7 @@ The following output properties are available:
-productName +productName string @@ -3349,7 +3349,7 @@ The following output properties are available:
-configuration_name +configuration_name str @@ -3358,7 +3358,7 @@ The following output properties are available:
-product_family_name +product_family_name str @@ -3367,7 +3367,7 @@ The following output properties are available:
-product_line_name +product_line_name str @@ -3376,7 +3376,7 @@ The following output properties are available:
-product_name +product_name str @@ -3391,7 +3391,7 @@ The following output properties are available:
-configurationName +configurationName String @@ -3400,7 +3400,7 @@ The following output properties are available:
-productFamilyName +productFamilyName String @@ -3409,7 +3409,7 @@ The following output properties are available:
-productLineName +productLineName String @@ -3418,7 +3418,7 @@ The following output properties are available:
-productName +productName String @@ -3437,7 +3437,7 @@ The following output properties are available:
-ConfigurationName +ConfigurationName string @@ -3446,7 +3446,7 @@ The following output properties are available:
-ProductFamilyName +ProductFamilyName string @@ -3455,7 +3455,7 @@ The following output properties are available:
-ProductLineName +ProductLineName string @@ -3464,7 +3464,7 @@ The following output properties are available:
-ProductName +ProductName string @@ -3479,7 +3479,7 @@ The following output properties are available:
-ConfigurationName +ConfigurationName string @@ -3488,7 +3488,7 @@ The following output properties are available:
-ProductFamilyName +ProductFamilyName string @@ -3497,7 +3497,7 @@ The following output properties are available:
-ProductLineName +ProductLineName string @@ -3506,7 +3506,7 @@ The following output properties are available:
-ProductName +ProductName string @@ -3521,7 +3521,7 @@ The following output properties are available:
-configurationName +configurationName String @@ -3530,7 +3530,7 @@ The following output properties are available:
-productFamilyName +productFamilyName String @@ -3539,7 +3539,7 @@ The following output properties are available:
-productLineName +productLineName String @@ -3548,7 +3548,7 @@ The following output properties are available:
-productName +productName String @@ -3563,7 +3563,7 @@ The following output properties are available:
-configurationName +configurationName string @@ -3572,7 +3572,7 @@ The following output properties are available:
-productFamilyName +productFamilyName string @@ -3581,7 +3581,7 @@ The following output properties are available:
-productLineName +productLineName string @@ -3590,7 +3590,7 @@ The following output properties are available:
-productName +productName string @@ -3605,7 +3605,7 @@ The following output properties are available:
-configuration_name +configuration_name str @@ -3614,7 +3614,7 @@ The following output properties are available:
-product_family_name +product_family_name str @@ -3623,7 +3623,7 @@ The following output properties are available:
-product_line_name +product_line_name str @@ -3632,7 +3632,7 @@ The following output properties are available:
-product_name +product_name str @@ -3647,7 +3647,7 @@ The following output properties are available:
-configurationName +configurationName String @@ -3656,7 +3656,7 @@ The following output properties are available:
-productFamilyName +productFamilyName String @@ -3665,7 +3665,7 @@ The following output properties are available:
-productLineName +productLineName String @@ -3674,7 +3674,7 @@ The following output properties are available:
-productName +productName String @@ -3693,7 +3693,7 @@ The following output properties are available:
-ImageType +ImageType string @@ -3702,7 +3702,7 @@ The following output properties are available:
-ImageUrl +ImageUrl string @@ -3717,7 +3717,7 @@ The following output properties are available:
-ImageType +ImageType string @@ -3726,7 +3726,7 @@ The following output properties are available:
-ImageUrl +ImageUrl string @@ -3741,7 +3741,7 @@ The following output properties are available:
-imageType +imageType String @@ -3750,7 +3750,7 @@ The following output properties are available:
-imageUrl +imageUrl String @@ -3765,7 +3765,7 @@ The following output properties are available:
-imageType +imageType string @@ -3774,7 +3774,7 @@ The following output properties are available:
-imageUrl +imageUrl string @@ -3789,7 +3789,7 @@ The following output properties are available:
-image_type +image_type str @@ -3798,7 +3798,7 @@ The following output properties are available:
-image_url +image_url str @@ -3813,7 +3813,7 @@ The following output properties are available:
-imageType +imageType String @@ -3822,7 +3822,7 @@ The following output properties are available:
-imageUrl +imageUrl String @@ -3841,7 +3841,7 @@ The following output properties are available:
-LinkType +LinkType string @@ -3850,7 +3850,7 @@ The following output properties are available:
-LinkUrl +LinkUrl string @@ -3865,7 +3865,7 @@ The following output properties are available:
-LinkType +LinkType string @@ -3874,7 +3874,7 @@ The following output properties are available:
-LinkUrl +LinkUrl string @@ -3889,7 +3889,7 @@ The following output properties are available:
-linkType +linkType String @@ -3898,7 +3898,7 @@ The following output properties are available:
-linkUrl +linkUrl String @@ -3913,7 +3913,7 @@ The following output properties are available:
-linkType +linkType string @@ -3922,7 +3922,7 @@ The following output properties are available:
-linkUrl +linkUrl string @@ -3937,7 +3937,7 @@ The following output properties are available:
-link_type +link_type str @@ -3946,7 +3946,7 @@ The following output properties are available:
-link_url +link_url str @@ -3961,7 +3961,7 @@ The following output properties are available:
-linkType +linkType String @@ -3970,7 +3970,7 @@ The following output properties are available:
-linkUrl +linkUrl String @@ -3989,7 +3989,7 @@ The following output properties are available:
-ChargingType +ChargingType string @@ -3998,7 +3998,7 @@ The following output properties are available:
-MeterGuid +MeterGuid string @@ -4007,7 +4007,7 @@ The following output properties are available:
-Multiplier +Multiplier double @@ -4022,7 +4022,7 @@ The following output properties are available:
-ChargingType +ChargingType string @@ -4031,7 +4031,7 @@ The following output properties are available:
-MeterGuid +MeterGuid string @@ -4040,7 +4040,7 @@ The following output properties are available:
-Multiplier +Multiplier float64 @@ -4055,7 +4055,7 @@ The following output properties are available:
-chargingType +chargingType String @@ -4064,7 +4064,7 @@ The following output properties are available:
-meterGuid +meterGuid String @@ -4073,7 +4073,7 @@ The following output properties are available:
-multiplier +multiplier Double @@ -4088,7 +4088,7 @@ The following output properties are available:
-chargingType +chargingType string @@ -4097,7 +4097,7 @@ The following output properties are available:
-meterGuid +meterGuid string @@ -4106,7 +4106,7 @@ The following output properties are available:
-multiplier +multiplier number @@ -4121,7 +4121,7 @@ The following output properties are available:
-charging_type +charging_type str @@ -4130,7 +4130,7 @@ The following output properties are available:
-meter_guid +meter_guid str @@ -4139,7 +4139,7 @@ The following output properties are available:
-multiplier +multiplier float @@ -4154,7 +4154,7 @@ The following output properties are available:
-chargingType +chargingType String @@ -4163,7 +4163,7 @@ The following output properties are available:
-meterGuid +meterGuid String @@ -4172,7 +4172,7 @@ The following output properties are available:
-multiplier +multiplier Number @@ -4191,7 +4191,7 @@ The following output properties are available:
-ChargingType +ChargingType string @@ -4200,7 +4200,7 @@ The following output properties are available:
-Multiplier +Multiplier double @@ -4209,7 +4209,7 @@ The following output properties are available:
-ProductId +ProductId string @@ -4218,7 +4218,7 @@ The following output properties are available:
-SkuId +SkuId string @@ -4227,7 +4227,7 @@ The following output properties are available:
-TermId +TermId string @@ -4242,7 +4242,7 @@ The following output properties are available:
-ChargingType +ChargingType string @@ -4251,7 +4251,7 @@ The following output properties are available:
-Multiplier +Multiplier float64 @@ -4260,7 +4260,7 @@ The following output properties are available:
-ProductId +ProductId string @@ -4269,7 +4269,7 @@ The following output properties are available:
-SkuId +SkuId string @@ -4278,7 +4278,7 @@ The following output properties are available:
-TermId +TermId string @@ -4293,7 +4293,7 @@ The following output properties are available:
-chargingType +chargingType String @@ -4302,7 +4302,7 @@ The following output properties are available:
-multiplier +multiplier Double @@ -4311,7 +4311,7 @@ The following output properties are available:
-productId +productId String @@ -4320,7 +4320,7 @@ The following output properties are available:
-skuId +skuId String @@ -4329,7 +4329,7 @@ The following output properties are available:
-termId +termId String @@ -4344,7 +4344,7 @@ The following output properties are available:
-chargingType +chargingType string @@ -4353,7 +4353,7 @@ The following output properties are available:
-multiplier +multiplier number @@ -4362,7 +4362,7 @@ The following output properties are available:
-productId +productId string @@ -4371,7 +4371,7 @@ The following output properties are available:
-skuId +skuId string @@ -4380,7 +4380,7 @@ The following output properties are available:
-termId +termId string @@ -4395,7 +4395,7 @@ The following output properties are available:
-charging_type +charging_type str @@ -4404,7 +4404,7 @@ The following output properties are available:
-multiplier +multiplier float @@ -4413,7 +4413,7 @@ The following output properties are available:
-product_id +product_id str @@ -4422,7 +4422,7 @@ The following output properties are available:
-sku_id +sku_id str @@ -4431,7 +4431,7 @@ The following output properties are available:
-term_id +term_id str @@ -4446,7 +4446,7 @@ The following output properties are available:
-chargingType +chargingType String @@ -4455,7 +4455,7 @@ The following output properties are available:
-multiplier +multiplier Number @@ -4464,7 +4464,7 @@ The following output properties are available:
-productId +productId String @@ -4473,7 +4473,7 @@ The following output properties are available:
-skuId +skuId String @@ -4482,7 +4482,7 @@ The following output properties are available:
-termId +termId String @@ -4501,7 +4501,7 @@ The following output properties are available:
-Name +Name string @@ -4510,7 +4510,7 @@ The following output properties are available:
-Value +Value string @@ -4525,7 +4525,7 @@ The following output properties are available:
-Name +Name string @@ -4534,7 +4534,7 @@ The following output properties are available:
-Value +Value string @@ -4549,7 +4549,7 @@ The following output properties are available:
-name +name String @@ -4558,7 +4558,7 @@ The following output properties are available:
-value +value String @@ -4573,7 +4573,7 @@ The following output properties are available:
-name +name string @@ -4582,7 +4582,7 @@ The following output properties are available:
-value +value string @@ -4597,7 +4597,7 @@ The following output properties are available:
-name +name str @@ -4606,7 +4606,7 @@ The following output properties are available:
-value +value str @@ -4621,7 +4621,7 @@ The following output properties are available:
-name +name String @@ -4630,7 +4630,7 @@ The following output properties are available:
-value +value String diff --git a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/docs/listproductfamilies/_index.md b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/docs/listproductfamilies/_index.md index 391bb4c2092b..614aa176274b 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/docs/listproductfamilies/_index.md +++ b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/docs/listproductfamilies/_index.md @@ -114,7 +114,7 @@ The following arguments are supported:
-FilterableProperties +FilterableProperties Dictionary<string, ImmutableArray<FilterableProperty>> @@ -123,16 +123,16 @@ The following arguments are supported:
-CustomerSubscriptionDetails +CustomerSubscriptionDetails - CustomerSubscriptionDetails + CustomerSubscriptionDetails

Customer subscription properties. Clients can display available products to unregistered customers by explicitly passing subscription details

-Expand +Expand string @@ -141,7 +141,7 @@ The following arguments are supported:
-SkipToken +SkipToken string @@ -156,7 +156,7 @@ The following arguments are supported:
-FilterableProperties +FilterableProperties map[string][]FilterableProperty @@ -165,16 +165,16 @@ The following arguments are supported:
-CustomerSubscriptionDetails +CustomerSubscriptionDetails - CustomerSubscriptionDetails + CustomerSubscriptionDetails

Customer subscription properties. Clients can display available products to unregistered customers by explicitly passing subscription details

-Expand +Expand string @@ -183,7 +183,7 @@ The following arguments are supported:
-SkipToken +SkipToken string @@ -198,7 +198,7 @@ The following arguments are supported:
-filterableProperties +filterableProperties Map<String,List<FilterableProperty>> @@ -207,16 +207,16 @@ The following arguments are supported:
-customerSubscriptionDetails +customerSubscriptionDetails - CustomerSubscriptionDetails + CustomerSubscriptionDetails

Customer subscription properties. Clients can display available products to unregistered customers by explicitly passing subscription details

-expand +expand String @@ -225,7 +225,7 @@ The following arguments are supported:
-skipToken +skipToken String @@ -240,7 +240,7 @@ The following arguments are supported:
-filterableProperties +filterableProperties {[key: string]: FilterableProperty[]} @@ -249,16 +249,16 @@ The following arguments are supported:
-customerSubscriptionDetails +customerSubscriptionDetails - CustomerSubscriptionDetails + CustomerSubscriptionDetails

Customer subscription properties. Clients can display available products to unregistered customers by explicitly passing subscription details

-expand +expand string @@ -267,7 +267,7 @@ The following arguments are supported:
-skipToken +skipToken string @@ -282,7 +282,7 @@ The following arguments are supported:
-filterable_properties +filterable_properties Mapping[str, Sequence[FilterableProperty]] @@ -291,16 +291,16 @@ The following arguments are supported:
-customer_subscription_details +customer_subscription_details - CustomerSubscriptionDetails + CustomerSubscriptionDetails

Customer subscription properties. Clients can display available products to unregistered customers by explicitly passing subscription details

-expand +expand str @@ -309,7 +309,7 @@ The following arguments are supported:
-skip_token +skip_token str @@ -324,7 +324,7 @@ The following arguments are supported:
-filterableProperties +filterableProperties Map<List<Property Map>> @@ -333,16 +333,16 @@ The following arguments are supported:
-customerSubscriptionDetails +customerSubscriptionDetails - Property Map + Property Map

Customer subscription properties. Clients can display available products to unregistered customers by explicitly passing subscription details

-expand +expand String @@ -351,7 +351,7 @@ The following arguments are supported:
-skipToken +skipToken String @@ -375,16 +375,16 @@ The following output properties are available:
-Value +Value - List<ProductFamilyResponse> + List<ProductFamilyResponse>

List of product families.

-NextLink +NextLink string @@ -399,16 +399,16 @@ The following output properties are available:
-Value +Value - []ProductFamilyResponse + []ProductFamilyResponse

List of product families.

-NextLink +NextLink string @@ -423,16 +423,16 @@ The following output properties are available:
-value +value - List<ProductFamilyResponse> + List<ProductFamilyResponse>

List of product families.

-nextLink +nextLink String @@ -447,16 +447,16 @@ The following output properties are available:
-value +value - ProductFamilyResponse[] + ProductFamilyResponse[]

List of product families.

-nextLink +nextLink string @@ -471,16 +471,16 @@ The following output properties are available:
-value +value - Sequence[ProductFamilyResponse] + Sequence[ProductFamilyResponse]

List of product families.

-next_link +next_link str @@ -495,16 +495,16 @@ The following output properties are available:
-value +value - List<Property Map> + List<Property Map>

List of product families.

-nextLink +nextLink String @@ -529,7 +529,7 @@ The following output properties are available:
-AvailabilityStage +AvailabilityStage string @@ -538,7 +538,7 @@ The following output properties are available:
-DisabledReason +DisabledReason string @@ -547,7 +547,7 @@ The following output properties are available:
-DisabledReasonMessage +DisabledReasonMessage string @@ -562,7 +562,7 @@ The following output properties are available:
-AvailabilityStage +AvailabilityStage string @@ -571,7 +571,7 @@ The following output properties are available:
-DisabledReason +DisabledReason string @@ -580,7 +580,7 @@ The following output properties are available:
-DisabledReasonMessage +DisabledReasonMessage string @@ -595,7 +595,7 @@ The following output properties are available:
-availabilityStage +availabilityStage String @@ -604,7 +604,7 @@ The following output properties are available:
-disabledReason +disabledReason String @@ -613,7 +613,7 @@ The following output properties are available:
-disabledReasonMessage +disabledReasonMessage String @@ -628,7 +628,7 @@ The following output properties are available:
-availabilityStage +availabilityStage string @@ -637,7 +637,7 @@ The following output properties are available:
-disabledReason +disabledReason string @@ -646,7 +646,7 @@ The following output properties are available:
-disabledReasonMessage +disabledReasonMessage string @@ -661,7 +661,7 @@ The following output properties are available:
-availability_stage +availability_stage str @@ -670,7 +670,7 @@ The following output properties are available:
-disabled_reason +disabled_reason str @@ -679,7 +679,7 @@ The following output properties are available:
-disabled_reason_message +disabled_reason_message str @@ -694,7 +694,7 @@ The following output properties are available:
-availabilityStage +availabilityStage String @@ -703,7 +703,7 @@ The following output properties are available:
-disabledReason +disabledReason String @@ -712,7 +712,7 @@ The following output properties are available:
-disabledReasonMessage +disabledReasonMessage String @@ -731,7 +731,7 @@ The following output properties are available:
-Frequency +Frequency string @@ -740,16 +740,16 @@ The following output properties are available:
-MeterDetails +MeterDetails - Pav2MeterDetailsResponse | PurchaseMeterDetailsResponse + Pav2MeterDetailsResponse | PurchaseMeterDetailsResponse

Represents MeterDetails

-MeteringType +MeteringType string @@ -758,7 +758,7 @@ The following output properties are available:
-Name +Name string @@ -773,7 +773,7 @@ The following output properties are available:
-Frequency +Frequency string @@ -782,16 +782,16 @@ The following output properties are available:
-MeterDetails +MeterDetails - Pav2MeterDetailsResponse | PurchaseMeterDetailsResponse + Pav2MeterDetailsResponse | PurchaseMeterDetailsResponse

Represents MeterDetails

-MeteringType +MeteringType string @@ -800,7 +800,7 @@ The following output properties are available:
-Name +Name string @@ -815,7 +815,7 @@ The following output properties are available:
-frequency +frequency String @@ -824,16 +824,16 @@ The following output properties are available:
-meterDetails +meterDetails - Pav2MeterDetailsResponse | PurchaseMeterDetailsResponse + Pav2MeterDetailsResponse | PurchaseMeterDetailsResponse

Represents MeterDetails

-meteringType +meteringType String @@ -842,7 +842,7 @@ The following output properties are available:
-name +name String @@ -857,7 +857,7 @@ The following output properties are available:
-frequency +frequency string @@ -866,16 +866,16 @@ The following output properties are available:
-meterDetails +meterDetails - Pav2MeterDetailsResponse | PurchaseMeterDetailsResponse + Pav2MeterDetailsResponse | PurchaseMeterDetailsResponse

Represents MeterDetails

-meteringType +meteringType string @@ -884,7 +884,7 @@ The following output properties are available:
-name +name string @@ -899,7 +899,7 @@ The following output properties are available:
-frequency +frequency str @@ -908,16 +908,16 @@ The following output properties are available:
-meter_details +meter_details - Pav2MeterDetailsResponse | PurchaseMeterDetailsResponse + Pav2MeterDetailsResponse | PurchaseMeterDetailsResponse

Represents MeterDetails

-metering_type +metering_type str @@ -926,7 +926,7 @@ The following output properties are available:
-name +name str @@ -941,7 +941,7 @@ The following output properties are available:
-frequency +frequency String @@ -950,16 +950,16 @@ The following output properties are available:
-meterDetails +meterDetails - Property Map | Property Map + Property Map | Property Map

Represents MeterDetails

-meteringType +meteringType String @@ -968,7 +968,7 @@ The following output properties are available:
-name +name String @@ -987,43 +987,43 @@ The following output properties are available:
-AvailabilityInformation +AvailabilityInformation - AvailabilityInformationResponse + AvailabilityInformationResponse

Availability information of the product system.

-CostInformation +CostInformation - CostInformationResponse + CostInformationResponse

Cost information for the product system.

-Description +Description - DescriptionResponse + DescriptionResponse

Description related to the product system.

-Dimensions +Dimensions - DimensionsResponse + DimensionsResponse

Dimensions of the configuration

-DisplayName +DisplayName string @@ -1032,37 +1032,37 @@ The following output properties are available:
-FilterableProperties +FilterableProperties - List<FilterablePropertyResponse> + List<FilterablePropertyResponse>

list of filters supported for a product

-HierarchyInformation +HierarchyInformation - HierarchyInformationResponse + HierarchyInformationResponse

Hierarchy information of a product.

-ImageInformation +ImageInformation - List<ImageInformationResponse> + List<ImageInformationResponse>

Image information for the product system.

-Specifications +Specifications - List<SpecificationResponse> + List<SpecificationResponse>

Specifications of the configuration

@@ -1074,43 +1074,43 @@ The following output properties are available:
-AvailabilityInformation +AvailabilityInformation - AvailabilityInformationResponse + AvailabilityInformationResponse

Availability information of the product system.

-CostInformation +CostInformation - CostInformationResponse + CostInformationResponse

Cost information for the product system.

-Description +Description - DescriptionResponse + DescriptionResponse

Description related to the product system.

-Dimensions +Dimensions - DimensionsResponse + DimensionsResponse

Dimensions of the configuration

-DisplayName +DisplayName string @@ -1119,37 +1119,37 @@ The following output properties are available:
-FilterableProperties +FilterableProperties - []FilterablePropertyResponse + []FilterablePropertyResponse

list of filters supported for a product

-HierarchyInformation +HierarchyInformation - HierarchyInformationResponse + HierarchyInformationResponse

Hierarchy information of a product.

-ImageInformation +ImageInformation - []ImageInformationResponse + []ImageInformationResponse

Image information for the product system.

-Specifications +Specifications - []SpecificationResponse + []SpecificationResponse

Specifications of the configuration

@@ -1161,43 +1161,43 @@ The following output properties are available:
-availabilityInformation +availabilityInformation - AvailabilityInformationResponse + AvailabilityInformationResponse

Availability information of the product system.

-costInformation +costInformation - CostInformationResponse + CostInformationResponse

Cost information for the product system.

-description +description - DescriptionResponse + DescriptionResponse

Description related to the product system.

-dimensions +dimensions - DimensionsResponse + DimensionsResponse

Dimensions of the configuration

-displayName +displayName String @@ -1206,37 +1206,37 @@ The following output properties are available:
-filterableProperties +filterableProperties - List<FilterablePropertyResponse> + List<FilterablePropertyResponse>

list of filters supported for a product

-hierarchyInformation +hierarchyInformation - HierarchyInformationResponse + HierarchyInformationResponse

Hierarchy information of a product.

-imageInformation +imageInformation - List<ImageInformationResponse> + List<ImageInformationResponse>

Image information for the product system.

-specifications +specifications - List<SpecificationResponse> + List<SpecificationResponse>

Specifications of the configuration

@@ -1248,43 +1248,43 @@ The following output properties are available:
-availabilityInformation +availabilityInformation - AvailabilityInformationResponse + AvailabilityInformationResponse

Availability information of the product system.

-costInformation +costInformation - CostInformationResponse + CostInformationResponse

Cost information for the product system.

-description +description - DescriptionResponse + DescriptionResponse

Description related to the product system.

-dimensions +dimensions - DimensionsResponse + DimensionsResponse

Dimensions of the configuration

-displayName +displayName string @@ -1293,37 +1293,37 @@ The following output properties are available:
-filterableProperties +filterableProperties - FilterablePropertyResponse[] + FilterablePropertyResponse[]

list of filters supported for a product

-hierarchyInformation +hierarchyInformation - HierarchyInformationResponse + HierarchyInformationResponse

Hierarchy information of a product.

-imageInformation +imageInformation - ImageInformationResponse[] + ImageInformationResponse[]

Image information for the product system.

-specifications +specifications - SpecificationResponse[] + SpecificationResponse[]

Specifications of the configuration

@@ -1335,43 +1335,43 @@ The following output properties are available:
-availability_information +availability_information - AvailabilityInformationResponse + AvailabilityInformationResponse

Availability information of the product system.

-cost_information +cost_information - CostInformationResponse + CostInformationResponse

Cost information for the product system.

-description +description - DescriptionResponse + DescriptionResponse

Description related to the product system.

-dimensions +dimensions - DimensionsResponse + DimensionsResponse

Dimensions of the configuration

-display_name +display_name str @@ -1380,37 +1380,37 @@ The following output properties are available:
-filterable_properties +filterable_properties - Sequence[FilterablePropertyResponse] + Sequence[FilterablePropertyResponse]

list of filters supported for a product

-hierarchy_information +hierarchy_information - HierarchyInformationResponse + HierarchyInformationResponse

Hierarchy information of a product.

-image_information +image_information - Sequence[ImageInformationResponse] + Sequence[ImageInformationResponse]

Image information for the product system.

-specifications +specifications - Sequence[SpecificationResponse] + Sequence[SpecificationResponse]

Specifications of the configuration

@@ -1422,43 +1422,43 @@ The following output properties are available:
-availabilityInformation +availabilityInformation - Property Map + Property Map

Availability information of the product system.

-costInformation +costInformation - Property Map + Property Map

Cost information for the product system.

-description +description - Property Map + Property Map

Description related to the product system.

-dimensions +dimensions - Property Map + Property Map

Dimensions of the configuration

-displayName +displayName String @@ -1467,37 +1467,37 @@ The following output properties are available:
-filterableProperties +filterableProperties - List<Property Map> + List<Property Map>

list of filters supported for a product

-hierarchyInformation +hierarchyInformation - Property Map + Property Map

Hierarchy information of a product.

-imageInformation +imageInformation - List<Property Map> + List<Property Map>

Image information for the product system.

-specifications +specifications - List<Property Map> + List<Property Map>

Specifications of the configuration

@@ -1513,7 +1513,7 @@ The following output properties are available:
-BillingInfoUrl +BillingInfoUrl string @@ -1522,10 +1522,10 @@ The following output properties are available:
-BillingMeterDetails +BillingMeterDetails - List<BillingMeterDetailsResponse> + List<BillingMeterDetailsResponse>

Details on the various billing aspects for the product system.

@@ -1537,7 +1537,7 @@ The following output properties are available:
-BillingInfoUrl +BillingInfoUrl string @@ -1546,10 +1546,10 @@ The following output properties are available:
-BillingMeterDetails +BillingMeterDetails - []BillingMeterDetailsResponse + []BillingMeterDetailsResponse

Details on the various billing aspects for the product system.

@@ -1561,7 +1561,7 @@ The following output properties are available:
-billingInfoUrl +billingInfoUrl String @@ -1570,10 +1570,10 @@ The following output properties are available:
-billingMeterDetails +billingMeterDetails - List<BillingMeterDetailsResponse> + List<BillingMeterDetailsResponse>

Details on the various billing aspects for the product system.

@@ -1585,7 +1585,7 @@ The following output properties are available:
-billingInfoUrl +billingInfoUrl string @@ -1594,10 +1594,10 @@ The following output properties are available:
-billingMeterDetails +billingMeterDetails - BillingMeterDetailsResponse[] + BillingMeterDetailsResponse[]

Details on the various billing aspects for the product system.

@@ -1609,7 +1609,7 @@ The following output properties are available:
-billing_info_url +billing_info_url str @@ -1618,10 +1618,10 @@ The following output properties are available:
-billing_meter_details +billing_meter_details - Sequence[BillingMeterDetailsResponse] + Sequence[BillingMeterDetailsResponse]

Details on the various billing aspects for the product system.

@@ -1633,7 +1633,7 @@ The following output properties are available:
-billingInfoUrl +billingInfoUrl String @@ -1642,10 +1642,10 @@ The following output properties are available:
-billingMeterDetails +billingMeterDetails - List<Property Map> + List<Property Map>

Details on the various billing aspects for the product system.

@@ -1661,7 +1661,7 @@ The following output properties are available:
-QuotaId +QuotaId string @@ -1670,7 +1670,7 @@ The following output properties are available:
-LocationPlacementId +LocationPlacementId string @@ -1679,10 +1679,10 @@ The following output properties are available:
-RegisteredFeatures +RegisteredFeatures - List<CustomerSubscriptionRegisteredFeatures> + List<CustomerSubscriptionRegisteredFeatures>

List of registered feature flags for subscription

@@ -1694,7 +1694,7 @@ The following output properties are available:
-QuotaId +QuotaId string @@ -1703,7 +1703,7 @@ The following output properties are available:
-LocationPlacementId +LocationPlacementId string @@ -1712,10 +1712,10 @@ The following output properties are available:
-RegisteredFeatures +RegisteredFeatures - []CustomerSubscriptionRegisteredFeatures + []CustomerSubscriptionRegisteredFeatures

List of registered feature flags for subscription

@@ -1727,7 +1727,7 @@ The following output properties are available:
-quotaId +quotaId String @@ -1736,7 +1736,7 @@ The following output properties are available:
-locationPlacementId +locationPlacementId String @@ -1745,10 +1745,10 @@ The following output properties are available:
-registeredFeatures +registeredFeatures - List<CustomerSubscriptionRegisteredFeatures> + List<CustomerSubscriptionRegisteredFeatures>

List of registered feature flags for subscription

@@ -1760,7 +1760,7 @@ The following output properties are available:
-quotaId +quotaId string @@ -1769,7 +1769,7 @@ The following output properties are available:
-locationPlacementId +locationPlacementId string @@ -1778,10 +1778,10 @@ The following output properties are available:
-registeredFeatures +registeredFeatures - CustomerSubscriptionRegisteredFeatures[] + CustomerSubscriptionRegisteredFeatures[]

List of registered feature flags for subscription

@@ -1793,7 +1793,7 @@ The following output properties are available:
-quota_id +quota_id str @@ -1802,7 +1802,7 @@ The following output properties are available:
-location_placement_id +location_placement_id str @@ -1811,10 +1811,10 @@ The following output properties are available:
-registered_features +registered_features - Sequence[CustomerSubscriptionRegisteredFeatures] + Sequence[CustomerSubscriptionRegisteredFeatures]

List of registered feature flags for subscription

@@ -1826,7 +1826,7 @@ The following output properties are available:
-quotaId +quotaId String @@ -1835,7 +1835,7 @@ The following output properties are available:
-locationPlacementId +locationPlacementId String @@ -1844,10 +1844,10 @@ The following output properties are available:
-registeredFeatures +registeredFeatures - List<Property Map> + List<Property Map>

List of registered feature flags for subscription

@@ -1863,7 +1863,7 @@ The following output properties are available:
-Name +Name string @@ -1872,7 +1872,7 @@ The following output properties are available:
-State +State string @@ -1887,7 +1887,7 @@ The following output properties are available:
-Name +Name string @@ -1896,7 +1896,7 @@ The following output properties are available:
-State +State string @@ -1911,7 +1911,7 @@ The following output properties are available:
-name +name String @@ -1920,7 +1920,7 @@ The following output properties are available:
-state +state String @@ -1935,7 +1935,7 @@ The following output properties are available:
-name +name string @@ -1944,7 +1944,7 @@ The following output properties are available:
-state +state string @@ -1959,7 +1959,7 @@ The following output properties are available:
-name +name str @@ -1968,7 +1968,7 @@ The following output properties are available:
-state +state str @@ -1983,7 +1983,7 @@ The following output properties are available:
-name +name String @@ -1992,7 +1992,7 @@ The following output properties are available:
-state +state String @@ -2011,7 +2011,7 @@ The following output properties are available:
-Attributes +Attributes List<string> @@ -2020,7 +2020,7 @@ The following output properties are available:
-DescriptionType +DescriptionType string @@ -2029,7 +2029,7 @@ The following output properties are available:
-Keywords +Keywords List<string> @@ -2038,16 +2038,16 @@ The following output properties are available:
-Links +Links - List<LinkResponse> + List<LinkResponse>

Links for the product system.

-LongDescription +LongDescription string @@ -2056,7 +2056,7 @@ The following output properties are available:
-ShortDescription +ShortDescription string @@ -2071,7 +2071,7 @@ The following output properties are available:
-Attributes +Attributes []string @@ -2080,7 +2080,7 @@ The following output properties are available:
-DescriptionType +DescriptionType string @@ -2089,7 +2089,7 @@ The following output properties are available:
-Keywords +Keywords []string @@ -2098,16 +2098,16 @@ The following output properties are available:
-Links +Links - []LinkResponse + []LinkResponse

Links for the product system.

-LongDescription +LongDescription string @@ -2116,7 +2116,7 @@ The following output properties are available:
-ShortDescription +ShortDescription string @@ -2131,7 +2131,7 @@ The following output properties are available:
-attributes +attributes List<String> @@ -2140,7 +2140,7 @@ The following output properties are available:
-descriptionType +descriptionType String @@ -2149,7 +2149,7 @@ The following output properties are available:
-keywords +keywords List<String> @@ -2158,16 +2158,16 @@ The following output properties are available:
-links +links - List<LinkResponse> + List<LinkResponse>

Links for the product system.

-longDescription +longDescription String @@ -2176,7 +2176,7 @@ The following output properties are available:
-shortDescription +shortDescription String @@ -2191,7 +2191,7 @@ The following output properties are available:
-attributes +attributes string[] @@ -2200,7 +2200,7 @@ The following output properties are available:
-descriptionType +descriptionType string @@ -2209,7 +2209,7 @@ The following output properties are available:
-keywords +keywords string[] @@ -2218,16 +2218,16 @@ The following output properties are available:
-links +links - LinkResponse[] + LinkResponse[]

Links for the product system.

-longDescription +longDescription string @@ -2236,7 +2236,7 @@ The following output properties are available:
-shortDescription +shortDescription string @@ -2251,7 +2251,7 @@ The following output properties are available:
-attributes +attributes Sequence[str] @@ -2260,7 +2260,7 @@ The following output properties are available:
-description_type +description_type str @@ -2269,7 +2269,7 @@ The following output properties are available:
-keywords +keywords Sequence[str] @@ -2278,16 +2278,16 @@ The following output properties are available:
-links +links - Sequence[LinkResponse] + Sequence[LinkResponse]

Links for the product system.

-long_description +long_description str @@ -2296,7 +2296,7 @@ The following output properties are available:
-short_description +short_description str @@ -2311,7 +2311,7 @@ The following output properties are available:
-attributes +attributes List<String> @@ -2320,7 +2320,7 @@ The following output properties are available:
-descriptionType +descriptionType String @@ -2329,7 +2329,7 @@ The following output properties are available:
-keywords +keywords List<String> @@ -2338,16 +2338,16 @@ The following output properties are available:
-links +links - List<Property Map> + List<Property Map>

Links for the product system.

-longDescription +longDescription String @@ -2356,7 +2356,7 @@ The following output properties are available:
-shortDescription +shortDescription String @@ -2375,7 +2375,7 @@ The following output properties are available:
-Depth +Depth double @@ -2384,7 +2384,7 @@ The following output properties are available:
-Height +Height double @@ -2393,7 +2393,7 @@ The following output properties are available:
-Length +Length double @@ -2402,7 +2402,7 @@ The following output properties are available:
-LengthHeightUnit +LengthHeightUnit string @@ -2411,7 +2411,7 @@ The following output properties are available:
-Weight +Weight double @@ -2420,7 +2420,7 @@ The following output properties are available:
-WeightUnit +WeightUnit string @@ -2429,7 +2429,7 @@ The following output properties are available:
-Width +Width double @@ -2444,7 +2444,7 @@ The following output properties are available:
-Depth +Depth float64 @@ -2453,7 +2453,7 @@ The following output properties are available:
-Height +Height float64 @@ -2462,7 +2462,7 @@ The following output properties are available:
-Length +Length float64 @@ -2471,7 +2471,7 @@ The following output properties are available:
-LengthHeightUnit +LengthHeightUnit string @@ -2480,7 +2480,7 @@ The following output properties are available:
-Weight +Weight float64 @@ -2489,7 +2489,7 @@ The following output properties are available:
-WeightUnit +WeightUnit string @@ -2498,7 +2498,7 @@ The following output properties are available:
-Width +Width float64 @@ -2513,7 +2513,7 @@ The following output properties are available:
-depth +depth Double @@ -2522,7 +2522,7 @@ The following output properties are available:
-height +height Double @@ -2531,7 +2531,7 @@ The following output properties are available:
-length +length Double @@ -2540,7 +2540,7 @@ The following output properties are available:
-lengthHeightUnit +lengthHeightUnit String @@ -2549,7 +2549,7 @@ The following output properties are available:
-weight +weight Double @@ -2558,7 +2558,7 @@ The following output properties are available:
-weightUnit +weightUnit String @@ -2567,7 +2567,7 @@ The following output properties are available:
-width +width Double @@ -2582,7 +2582,7 @@ The following output properties are available:
-depth +depth number @@ -2591,7 +2591,7 @@ The following output properties are available:
-height +height number @@ -2600,7 +2600,7 @@ The following output properties are available:
-length +length number @@ -2609,7 +2609,7 @@ The following output properties are available:
-lengthHeightUnit +lengthHeightUnit string @@ -2618,7 +2618,7 @@ The following output properties are available:
-weight +weight number @@ -2627,7 +2627,7 @@ The following output properties are available:
-weightUnit +weightUnit string @@ -2636,7 +2636,7 @@ The following output properties are available:
-width +width number @@ -2651,7 +2651,7 @@ The following output properties are available:
-depth +depth float @@ -2660,7 +2660,7 @@ The following output properties are available:
-height +height float @@ -2669,7 +2669,7 @@ The following output properties are available:
-length +length float @@ -2678,7 +2678,7 @@ The following output properties are available:
-length_height_unit +length_height_unit str @@ -2687,7 +2687,7 @@ The following output properties are available:
-weight +weight float @@ -2696,7 +2696,7 @@ The following output properties are available:
-weight_unit +weight_unit str @@ -2705,7 +2705,7 @@ The following output properties are available:
-width +width float @@ -2720,7 +2720,7 @@ The following output properties are available:
-depth +depth Number @@ -2729,7 +2729,7 @@ The following output properties are available:
-height +height Number @@ -2738,7 +2738,7 @@ The following output properties are available:
-length +length Number @@ -2747,7 +2747,7 @@ The following output properties are available:
-lengthHeightUnit +lengthHeightUnit String @@ -2756,7 +2756,7 @@ The following output properties are available:
-weight +weight Number @@ -2765,7 +2765,7 @@ The following output properties are available:
-weightUnit +weightUnit String @@ -2774,7 +2774,7 @@ The following output properties are available:
-width +width Number @@ -2793,7 +2793,7 @@ The following output properties are available:
-SupportedValues +SupportedValues List<string> @@ -2802,10 +2802,10 @@ The following output properties are available:
-Type +Type - string | Pulumi.Myedgeorder.SupportedFilterTypes + string | Pulumi.Myedgeorder.SupportedFilterTypes

Type of product filter.

@@ -2817,7 +2817,7 @@ The following output properties are available:
-SupportedValues +SupportedValues []string @@ -2826,10 +2826,10 @@ The following output properties are available:
-Type +Type - string | SupportedFilterTypes + string | SupportedFilterTypes

Type of product filter.

@@ -2841,7 +2841,7 @@ The following output properties are available:
-supportedValues +supportedValues List<String> @@ -2850,10 +2850,10 @@ The following output properties are available:
-type +type - String | SupportedFilterTypes + String | SupportedFilterTypes

Type of product filter.

@@ -2865,7 +2865,7 @@ The following output properties are available:
-supportedValues +supportedValues string[] @@ -2874,10 +2874,10 @@ The following output properties are available:
-type +type - string | SupportedFilterTypes + string | SupportedFilterTypes

Type of product filter.

@@ -2889,7 +2889,7 @@ The following output properties are available:
-supported_values +supported_values Sequence[str] @@ -2898,10 +2898,10 @@ The following output properties are available:
-type +type - str | SupportedFilterTypes + str | SupportedFilterTypes

Type of product filter.

@@ -2913,7 +2913,7 @@ The following output properties are available:
-supportedValues +supportedValues List<String> @@ -2922,10 +2922,10 @@ The following output properties are available:
-type +type - String | "ShipToCountries" | "DoubleEncryptionStatus" + String | "ShipToCountries" | "DoubleEncryptionStatus"

Type of product filter.

@@ -2941,7 +2941,7 @@ The following output properties are available:
-SupportedValues +SupportedValues List<string> @@ -2950,7 +2950,7 @@ The following output properties are available:
-Type +Type string @@ -2965,7 +2965,7 @@ The following output properties are available:
-SupportedValues +SupportedValues []string @@ -2974,7 +2974,7 @@ The following output properties are available:
-Type +Type string @@ -2989,7 +2989,7 @@ The following output properties are available:
-supportedValues +supportedValues List<String> @@ -2998,7 +2998,7 @@ The following output properties are available:
-type +type String @@ -3013,7 +3013,7 @@ The following output properties are available:
-supportedValues +supportedValues string[] @@ -3022,7 +3022,7 @@ The following output properties are available:
-type +type string @@ -3037,7 +3037,7 @@ The following output properties are available:
-supported_values +supported_values Sequence[str] @@ -3046,7 +3046,7 @@ The following output properties are available:
-type +type str @@ -3061,7 +3061,7 @@ The following output properties are available:
-supportedValues +supportedValues List<String> @@ -3070,7 +3070,7 @@ The following output properties are available:
-type +type String @@ -3089,7 +3089,7 @@ The following output properties are available:
-ConfigurationName +ConfigurationName string @@ -3098,7 +3098,7 @@ The following output properties are available:
-ProductFamilyName +ProductFamilyName string @@ -3107,7 +3107,7 @@ The following output properties are available:
-ProductLineName +ProductLineName string @@ -3116,7 +3116,7 @@ The following output properties are available:
-ProductName +ProductName string @@ -3131,7 +3131,7 @@ The following output properties are available:
-ConfigurationName +ConfigurationName string @@ -3140,7 +3140,7 @@ The following output properties are available:
-ProductFamilyName +ProductFamilyName string @@ -3149,7 +3149,7 @@ The following output properties are available:
-ProductLineName +ProductLineName string @@ -3158,7 +3158,7 @@ The following output properties are available:
-ProductName +ProductName string @@ -3173,7 +3173,7 @@ The following output properties are available:
-configurationName +configurationName String @@ -3182,7 +3182,7 @@ The following output properties are available:
-productFamilyName +productFamilyName String @@ -3191,7 +3191,7 @@ The following output properties are available:
-productLineName +productLineName String @@ -3200,7 +3200,7 @@ The following output properties are available:
-productName +productName String @@ -3215,7 +3215,7 @@ The following output properties are available:
-configurationName +configurationName string @@ -3224,7 +3224,7 @@ The following output properties are available:
-productFamilyName +productFamilyName string @@ -3233,7 +3233,7 @@ The following output properties are available:
-productLineName +productLineName string @@ -3242,7 +3242,7 @@ The following output properties are available:
-productName +productName string @@ -3257,7 +3257,7 @@ The following output properties are available:
-configuration_name +configuration_name str @@ -3266,7 +3266,7 @@ The following output properties are available:
-product_family_name +product_family_name str @@ -3275,7 +3275,7 @@ The following output properties are available:
-product_line_name +product_line_name str @@ -3284,7 +3284,7 @@ The following output properties are available:
-product_name +product_name str @@ -3299,7 +3299,7 @@ The following output properties are available:
-configurationName +configurationName String @@ -3308,7 +3308,7 @@ The following output properties are available:
-productFamilyName +productFamilyName String @@ -3317,7 +3317,7 @@ The following output properties are available:
-productLineName +productLineName String @@ -3326,7 +3326,7 @@ The following output properties are available:
-productName +productName String @@ -3345,7 +3345,7 @@ The following output properties are available:
-ImageType +ImageType string @@ -3354,7 +3354,7 @@ The following output properties are available:
-ImageUrl +ImageUrl string @@ -3369,7 +3369,7 @@ The following output properties are available:
-ImageType +ImageType string @@ -3378,7 +3378,7 @@ The following output properties are available:
-ImageUrl +ImageUrl string @@ -3393,7 +3393,7 @@ The following output properties are available:
-imageType +imageType String @@ -3402,7 +3402,7 @@ The following output properties are available:
-imageUrl +imageUrl String @@ -3417,7 +3417,7 @@ The following output properties are available:
-imageType +imageType string @@ -3426,7 +3426,7 @@ The following output properties are available:
-imageUrl +imageUrl string @@ -3441,7 +3441,7 @@ The following output properties are available:
-image_type +image_type str @@ -3450,7 +3450,7 @@ The following output properties are available:
-image_url +image_url str @@ -3465,7 +3465,7 @@ The following output properties are available:
-imageType +imageType String @@ -3474,7 +3474,7 @@ The following output properties are available:
-imageUrl +imageUrl String @@ -3493,7 +3493,7 @@ The following output properties are available:
-LinkType +LinkType string @@ -3502,7 +3502,7 @@ The following output properties are available:
-LinkUrl +LinkUrl string @@ -3517,7 +3517,7 @@ The following output properties are available:
-LinkType +LinkType string @@ -3526,7 +3526,7 @@ The following output properties are available:
-LinkUrl +LinkUrl string @@ -3541,7 +3541,7 @@ The following output properties are available:
-linkType +linkType String @@ -3550,7 +3550,7 @@ The following output properties are available:
-linkUrl +linkUrl String @@ -3565,7 +3565,7 @@ The following output properties are available:
-linkType +linkType string @@ -3574,7 +3574,7 @@ The following output properties are available:
-linkUrl +linkUrl string @@ -3589,7 +3589,7 @@ The following output properties are available:
-link_type +link_type str @@ -3598,7 +3598,7 @@ The following output properties are available:
-link_url +link_url str @@ -3613,7 +3613,7 @@ The following output properties are available:
-linkType +linkType String @@ -3622,7 +3622,7 @@ The following output properties are available:
-linkUrl +linkUrl String @@ -3641,7 +3641,7 @@ The following output properties are available:
-ChargingType +ChargingType string @@ -3650,7 +3650,7 @@ The following output properties are available:
-MeterGuid +MeterGuid string @@ -3659,7 +3659,7 @@ The following output properties are available:
-Multiplier +Multiplier double @@ -3674,7 +3674,7 @@ The following output properties are available:
-ChargingType +ChargingType string @@ -3683,7 +3683,7 @@ The following output properties are available:
-MeterGuid +MeterGuid string @@ -3692,7 +3692,7 @@ The following output properties are available:
-Multiplier +Multiplier float64 @@ -3707,7 +3707,7 @@ The following output properties are available:
-chargingType +chargingType String @@ -3716,7 +3716,7 @@ The following output properties are available:
-meterGuid +meterGuid String @@ -3725,7 +3725,7 @@ The following output properties are available:
-multiplier +multiplier Double @@ -3740,7 +3740,7 @@ The following output properties are available:
-chargingType +chargingType string @@ -3749,7 +3749,7 @@ The following output properties are available:
-meterGuid +meterGuid string @@ -3758,7 +3758,7 @@ The following output properties are available:
-multiplier +multiplier number @@ -3773,7 +3773,7 @@ The following output properties are available:
-charging_type +charging_type str @@ -3782,7 +3782,7 @@ The following output properties are available:
-meter_guid +meter_guid str @@ -3791,7 +3791,7 @@ The following output properties are available:
-multiplier +multiplier float @@ -3806,7 +3806,7 @@ The following output properties are available:
-chargingType +chargingType String @@ -3815,7 +3815,7 @@ The following output properties are available:
-meterGuid +meterGuid String @@ -3824,7 +3824,7 @@ The following output properties are available:
-multiplier +multiplier Number @@ -3843,34 +3843,34 @@ The following output properties are available:
-AvailabilityInformation +AvailabilityInformation - AvailabilityInformationResponse + AvailabilityInformationResponse

Availability information of the product system.

-CostInformation +CostInformation - CostInformationResponse + CostInformationResponse

Cost information for the product system.

-Description +Description - DescriptionResponse + DescriptionResponse

Description related to the product system.

-DisplayName +DisplayName string @@ -3879,37 +3879,37 @@ The following output properties are available:
-FilterableProperties +FilterableProperties - List<FilterablePropertyResponse> + List<FilterablePropertyResponse>

list of filters supported for a product

-HierarchyInformation +HierarchyInformation - HierarchyInformationResponse + HierarchyInformationResponse

Hierarchy information of a product.

-ImageInformation +ImageInformation - List<ImageInformationResponse> + List<ImageInformationResponse>

Image information for the product system.

-ProductLines +ProductLines - List<ProductLineResponse> + List<ProductLineResponse>

List of product lines supported in the product family

@@ -3921,34 +3921,34 @@ The following output properties are available:
-AvailabilityInformation +AvailabilityInformation - AvailabilityInformationResponse + AvailabilityInformationResponse

Availability information of the product system.

-CostInformation +CostInformation - CostInformationResponse + CostInformationResponse

Cost information for the product system.

-Description +Description - DescriptionResponse + DescriptionResponse

Description related to the product system.

-DisplayName +DisplayName string @@ -3957,37 +3957,37 @@ The following output properties are available:
-FilterableProperties +FilterableProperties - []FilterablePropertyResponse + []FilterablePropertyResponse

list of filters supported for a product

-HierarchyInformation +HierarchyInformation - HierarchyInformationResponse + HierarchyInformationResponse

Hierarchy information of a product.

-ImageInformation +ImageInformation - []ImageInformationResponse + []ImageInformationResponse

Image information for the product system.

-ProductLines +ProductLines - []ProductLineResponse + []ProductLineResponse

List of product lines supported in the product family

@@ -3999,34 +3999,34 @@ The following output properties are available:
-availabilityInformation +availabilityInformation - AvailabilityInformationResponse + AvailabilityInformationResponse

Availability information of the product system.

-costInformation +costInformation - CostInformationResponse + CostInformationResponse

Cost information for the product system.

-description +description - DescriptionResponse + DescriptionResponse

Description related to the product system.

-displayName +displayName String @@ -4035,37 +4035,37 @@ The following output properties are available:
-filterableProperties +filterableProperties - List<FilterablePropertyResponse> + List<FilterablePropertyResponse>

list of filters supported for a product

-hierarchyInformation +hierarchyInformation - HierarchyInformationResponse + HierarchyInformationResponse

Hierarchy information of a product.

-imageInformation +imageInformation - List<ImageInformationResponse> + List<ImageInformationResponse>

Image information for the product system.

-productLines +productLines - List<ProductLineResponse> + List<ProductLineResponse>

List of product lines supported in the product family

@@ -4077,34 +4077,34 @@ The following output properties are available:
-availabilityInformation +availabilityInformation - AvailabilityInformationResponse + AvailabilityInformationResponse

Availability information of the product system.

-costInformation +costInformation - CostInformationResponse + CostInformationResponse

Cost information for the product system.

-description +description - DescriptionResponse + DescriptionResponse

Description related to the product system.

-displayName +displayName string @@ -4113,37 +4113,37 @@ The following output properties are available:
-filterableProperties +filterableProperties - FilterablePropertyResponse[] + FilterablePropertyResponse[]

list of filters supported for a product

-hierarchyInformation +hierarchyInformation - HierarchyInformationResponse + HierarchyInformationResponse

Hierarchy information of a product.

-imageInformation +imageInformation - ImageInformationResponse[] + ImageInformationResponse[]

Image information for the product system.

-productLines +productLines - ProductLineResponse[] + ProductLineResponse[]

List of product lines supported in the product family

@@ -4155,34 +4155,34 @@ The following output properties are available:
-availability_information +availability_information - AvailabilityInformationResponse + AvailabilityInformationResponse

Availability information of the product system.

-cost_information +cost_information - CostInformationResponse + CostInformationResponse

Cost information for the product system.

-description +description - DescriptionResponse + DescriptionResponse

Description related to the product system.

-display_name +display_name str @@ -4191,37 +4191,37 @@ The following output properties are available:
-filterable_properties +filterable_properties - Sequence[FilterablePropertyResponse] + Sequence[FilterablePropertyResponse]

list of filters supported for a product

-hierarchy_information +hierarchy_information - HierarchyInformationResponse + HierarchyInformationResponse

Hierarchy information of a product.

-image_information +image_information - Sequence[ImageInformationResponse] + Sequence[ImageInformationResponse]

Image information for the product system.

-product_lines +product_lines - Sequence[ProductLineResponse] + Sequence[ProductLineResponse]

List of product lines supported in the product family

@@ -4233,34 +4233,34 @@ The following output properties are available:
-availabilityInformation +availabilityInformation - Property Map + Property Map

Availability information of the product system.

-costInformation +costInformation - Property Map + Property Map

Cost information for the product system.

-description +description - Property Map + Property Map

Description related to the product system.

-displayName +displayName String @@ -4269,37 +4269,37 @@ The following output properties are available:
-filterableProperties +filterableProperties - List<Property Map> + List<Property Map>

list of filters supported for a product

-hierarchyInformation +hierarchyInformation - Property Map + Property Map

Hierarchy information of a product.

-imageInformation +imageInformation - List<Property Map> + List<Property Map>

Image information for the product system.

-productLines +productLines - List<Property Map> + List<Property Map>

List of product lines supported in the product family

@@ -4315,34 +4315,34 @@ The following output properties are available:
-AvailabilityInformation +AvailabilityInformation - AvailabilityInformationResponse + AvailabilityInformationResponse

Availability information of the product system.

-CostInformation +CostInformation - CostInformationResponse + CostInformationResponse

Cost information for the product system.

-Description +Description - DescriptionResponse + DescriptionResponse

Description related to the product system.

-DisplayName +DisplayName string @@ -4351,37 +4351,37 @@ The following output properties are available:
-FilterableProperties +FilterableProperties - List<FilterablePropertyResponse> + List<FilterablePropertyResponse>

list of filters supported for a product

-HierarchyInformation +HierarchyInformation - HierarchyInformationResponse + HierarchyInformationResponse

Hierarchy information of a product.

-ImageInformation +ImageInformation - List<ImageInformationResponse> + List<ImageInformationResponse>

Image information for the product system.

-Products +Products - List<ProductResponse> + List<ProductResponse>

List of products in the product line

@@ -4393,34 +4393,34 @@ The following output properties are available:
-AvailabilityInformation +AvailabilityInformation - AvailabilityInformationResponse + AvailabilityInformationResponse

Availability information of the product system.

-CostInformation +CostInformation - CostInformationResponse + CostInformationResponse

Cost information for the product system.

-Description +Description - DescriptionResponse + DescriptionResponse

Description related to the product system.

-DisplayName +DisplayName string @@ -4429,37 +4429,37 @@ The following output properties are available:
-FilterableProperties +FilterableProperties - []FilterablePropertyResponse + []FilterablePropertyResponse

list of filters supported for a product

-HierarchyInformation +HierarchyInformation - HierarchyInformationResponse + HierarchyInformationResponse

Hierarchy information of a product.

-ImageInformation +ImageInformation - []ImageInformationResponse + []ImageInformationResponse

Image information for the product system.

-Products +Products - []ProductResponse + []ProductResponse

List of products in the product line

@@ -4471,34 +4471,34 @@ The following output properties are available:
-availabilityInformation +availabilityInformation - AvailabilityInformationResponse + AvailabilityInformationResponse

Availability information of the product system.

-costInformation +costInformation - CostInformationResponse + CostInformationResponse

Cost information for the product system.

-description +description - DescriptionResponse + DescriptionResponse

Description related to the product system.

-displayName +displayName String @@ -4507,37 +4507,37 @@ The following output properties are available:
-filterableProperties +filterableProperties - List<FilterablePropertyResponse> + List<FilterablePropertyResponse>

list of filters supported for a product

-hierarchyInformation +hierarchyInformation - HierarchyInformationResponse + HierarchyInformationResponse

Hierarchy information of a product.

-imageInformation +imageInformation - List<ImageInformationResponse> + List<ImageInformationResponse>

Image information for the product system.

-products +products - List<ProductResponse> + List<ProductResponse>

List of products in the product line

@@ -4549,34 +4549,34 @@ The following output properties are available:
-availabilityInformation +availabilityInformation - AvailabilityInformationResponse + AvailabilityInformationResponse

Availability information of the product system.

-costInformation +costInformation - CostInformationResponse + CostInformationResponse

Cost information for the product system.

-description +description - DescriptionResponse + DescriptionResponse

Description related to the product system.

-displayName +displayName string @@ -4585,37 +4585,37 @@ The following output properties are available:
-filterableProperties +filterableProperties - FilterablePropertyResponse[] + FilterablePropertyResponse[]

list of filters supported for a product

-hierarchyInformation +hierarchyInformation - HierarchyInformationResponse + HierarchyInformationResponse

Hierarchy information of a product.

-imageInformation +imageInformation - ImageInformationResponse[] + ImageInformationResponse[]

Image information for the product system.

-products +products - ProductResponse[] + ProductResponse[]

List of products in the product line

@@ -4627,34 +4627,34 @@ The following output properties are available:
-availability_information +availability_information - AvailabilityInformationResponse + AvailabilityInformationResponse

Availability information of the product system.

-cost_information +cost_information - CostInformationResponse + CostInformationResponse

Cost information for the product system.

-description +description - DescriptionResponse + DescriptionResponse

Description related to the product system.

-display_name +display_name str @@ -4663,37 +4663,37 @@ The following output properties are available:
-filterable_properties +filterable_properties - Sequence[FilterablePropertyResponse] + Sequence[FilterablePropertyResponse]

list of filters supported for a product

-hierarchy_information +hierarchy_information - HierarchyInformationResponse + HierarchyInformationResponse

Hierarchy information of a product.

-image_information +image_information - Sequence[ImageInformationResponse] + Sequence[ImageInformationResponse]

Image information for the product system.

-products +products - Sequence[ProductResponse] + Sequence[ProductResponse]

List of products in the product line

@@ -4705,34 +4705,34 @@ The following output properties are available:
-availabilityInformation +availabilityInformation - Property Map + Property Map

Availability information of the product system.

-costInformation +costInformation - Property Map + Property Map

Cost information for the product system.

-description +description - Property Map + Property Map

Description related to the product system.

-displayName +displayName String @@ -4741,37 +4741,37 @@ The following output properties are available:
-filterableProperties +filterableProperties - List<Property Map> + List<Property Map>

list of filters supported for a product

-hierarchyInformation +hierarchyInformation - Property Map + Property Map

Hierarchy information of a product.

-imageInformation +imageInformation - List<Property Map> + List<Property Map>

Image information for the product system.

-products +products - List<Property Map> + List<Property Map>

List of products in the product line

@@ -4787,43 +4787,43 @@ The following output properties are available:
-AvailabilityInformation +AvailabilityInformation - AvailabilityInformationResponse + AvailabilityInformationResponse

Availability information of the product system.

-Configurations +Configurations - List<ConfigurationResponse> + List<ConfigurationResponse>

List of configurations for the product

-CostInformation +CostInformation - CostInformationResponse + CostInformationResponse

Cost information for the product system.

-Description +Description - DescriptionResponse + DescriptionResponse

Description related to the product system.

-DisplayName +DisplayName string @@ -4832,28 +4832,28 @@ The following output properties are available:
-FilterableProperties +FilterableProperties - List<FilterablePropertyResponse> + List<FilterablePropertyResponse>

list of filters supported for a product

-HierarchyInformation +HierarchyInformation - HierarchyInformationResponse + HierarchyInformationResponse

Hierarchy information of a product.

-ImageInformation +ImageInformation - List<ImageInformationResponse> + List<ImageInformationResponse>

Image information for the product system.

@@ -4865,43 +4865,43 @@ The following output properties are available:
-AvailabilityInformation +AvailabilityInformation - AvailabilityInformationResponse + AvailabilityInformationResponse

Availability information of the product system.

-Configurations +Configurations - []ConfigurationResponse + []ConfigurationResponse

List of configurations for the product

-CostInformation +CostInformation - CostInformationResponse + CostInformationResponse

Cost information for the product system.

-Description +Description - DescriptionResponse + DescriptionResponse

Description related to the product system.

-DisplayName +DisplayName string @@ -4910,28 +4910,28 @@ The following output properties are available:
-FilterableProperties +FilterableProperties - []FilterablePropertyResponse + []FilterablePropertyResponse

list of filters supported for a product

-HierarchyInformation +HierarchyInformation - HierarchyInformationResponse + HierarchyInformationResponse

Hierarchy information of a product.

-ImageInformation +ImageInformation - []ImageInformationResponse + []ImageInformationResponse

Image information for the product system.

@@ -4943,43 +4943,43 @@ The following output properties are available:
-availabilityInformation +availabilityInformation - AvailabilityInformationResponse + AvailabilityInformationResponse

Availability information of the product system.

-configurations +configurations - List<ConfigurationResponse> + List<ConfigurationResponse>

List of configurations for the product

-costInformation +costInformation - CostInformationResponse + CostInformationResponse

Cost information for the product system.

-description +description - DescriptionResponse + DescriptionResponse

Description related to the product system.

-displayName +displayName String @@ -4988,28 +4988,28 @@ The following output properties are available:
-filterableProperties +filterableProperties - List<FilterablePropertyResponse> + List<FilterablePropertyResponse>

list of filters supported for a product

-hierarchyInformation +hierarchyInformation - HierarchyInformationResponse + HierarchyInformationResponse

Hierarchy information of a product.

-imageInformation +imageInformation - List<ImageInformationResponse> + List<ImageInformationResponse>

Image information for the product system.

@@ -5021,43 +5021,43 @@ The following output properties are available:
-availabilityInformation +availabilityInformation - AvailabilityInformationResponse + AvailabilityInformationResponse

Availability information of the product system.

-configurations +configurations - ConfigurationResponse[] + ConfigurationResponse[]

List of configurations for the product

-costInformation +costInformation - CostInformationResponse + CostInformationResponse

Cost information for the product system.

-description +description - DescriptionResponse + DescriptionResponse

Description related to the product system.

-displayName +displayName string @@ -5066,28 +5066,28 @@ The following output properties are available:
-filterableProperties +filterableProperties - FilterablePropertyResponse[] + FilterablePropertyResponse[]

list of filters supported for a product

-hierarchyInformation +hierarchyInformation - HierarchyInformationResponse + HierarchyInformationResponse

Hierarchy information of a product.

-imageInformation +imageInformation - ImageInformationResponse[] + ImageInformationResponse[]

Image information for the product system.

@@ -5099,43 +5099,43 @@ The following output properties are available:
-availability_information +availability_information - AvailabilityInformationResponse + AvailabilityInformationResponse

Availability information of the product system.

-configurations +configurations - Sequence[ConfigurationResponse] + Sequence[ConfigurationResponse]

List of configurations for the product

-cost_information +cost_information - CostInformationResponse + CostInformationResponse

Cost information for the product system.

-description +description - DescriptionResponse + DescriptionResponse

Description related to the product system.

-display_name +display_name str @@ -5144,28 +5144,28 @@ The following output properties are available:
-filterable_properties +filterable_properties - Sequence[FilterablePropertyResponse] + Sequence[FilterablePropertyResponse]

list of filters supported for a product

-hierarchy_information +hierarchy_information - HierarchyInformationResponse + HierarchyInformationResponse

Hierarchy information of a product.

-image_information +image_information - Sequence[ImageInformationResponse] + Sequence[ImageInformationResponse]

Image information for the product system.

@@ -5177,43 +5177,43 @@ The following output properties are available:
-availabilityInformation +availabilityInformation - Property Map + Property Map

Availability information of the product system.

-configurations +configurations - List<Property Map> + List<Property Map>

List of configurations for the product

-costInformation +costInformation - Property Map + Property Map

Cost information for the product system.

-description +description - Property Map + Property Map

Description related to the product system.

-displayName +displayName String @@ -5222,28 +5222,28 @@ The following output properties are available:
-filterableProperties +filterableProperties - List<Property Map> + List<Property Map>

list of filters supported for a product

-hierarchyInformation +hierarchyInformation - Property Map + Property Map

Hierarchy information of a product.

-imageInformation +imageInformation - List<Property Map> + List<Property Map>

Image information for the product system.

@@ -5259,7 +5259,7 @@ The following output properties are available:
-ChargingType +ChargingType string @@ -5268,7 +5268,7 @@ The following output properties are available:
-Multiplier +Multiplier double @@ -5277,7 +5277,7 @@ The following output properties are available:
-ProductId +ProductId string @@ -5286,7 +5286,7 @@ The following output properties are available:
-SkuId +SkuId string @@ -5295,7 +5295,7 @@ The following output properties are available:
-TermId +TermId string @@ -5310,7 +5310,7 @@ The following output properties are available:
-ChargingType +ChargingType string @@ -5319,7 +5319,7 @@ The following output properties are available:
-Multiplier +Multiplier float64 @@ -5328,7 +5328,7 @@ The following output properties are available:
-ProductId +ProductId string @@ -5337,7 +5337,7 @@ The following output properties are available:
-SkuId +SkuId string @@ -5346,7 +5346,7 @@ The following output properties are available:
-TermId +TermId string @@ -5361,7 +5361,7 @@ The following output properties are available:
-chargingType +chargingType String @@ -5370,7 +5370,7 @@ The following output properties are available:
-multiplier +multiplier Double @@ -5379,7 +5379,7 @@ The following output properties are available:
-productId +productId String @@ -5388,7 +5388,7 @@ The following output properties are available:
-skuId +skuId String @@ -5397,7 +5397,7 @@ The following output properties are available:
-termId +termId String @@ -5412,7 +5412,7 @@ The following output properties are available:
-chargingType +chargingType string @@ -5421,7 +5421,7 @@ The following output properties are available:
-multiplier +multiplier number @@ -5430,7 +5430,7 @@ The following output properties are available:
-productId +productId string @@ -5439,7 +5439,7 @@ The following output properties are available:
-skuId +skuId string @@ -5448,7 +5448,7 @@ The following output properties are available:
-termId +termId string @@ -5463,7 +5463,7 @@ The following output properties are available:
-charging_type +charging_type str @@ -5472,7 +5472,7 @@ The following output properties are available:
-multiplier +multiplier float @@ -5481,7 +5481,7 @@ The following output properties are available:
-product_id +product_id str @@ -5490,7 +5490,7 @@ The following output properties are available:
-sku_id +sku_id str @@ -5499,7 +5499,7 @@ The following output properties are available:
-term_id +term_id str @@ -5514,7 +5514,7 @@ The following output properties are available:
-chargingType +chargingType String @@ -5523,7 +5523,7 @@ The following output properties are available:
-multiplier +multiplier Number @@ -5532,7 +5532,7 @@ The following output properties are available:
-productId +productId String @@ -5541,7 +5541,7 @@ The following output properties are available:
-skuId +skuId String @@ -5550,7 +5550,7 @@ The following output properties are available:
-termId +termId String @@ -5569,7 +5569,7 @@ The following output properties are available:
-Name +Name string @@ -5578,7 +5578,7 @@ The following output properties are available:
-Value +Value string @@ -5593,7 +5593,7 @@ The following output properties are available:
-Name +Name string @@ -5602,7 +5602,7 @@ The following output properties are available:
-Value +Value string @@ -5617,7 +5617,7 @@ The following output properties are available:
-name +name String @@ -5626,7 +5626,7 @@ The following output properties are available:
-value +value String @@ -5641,7 +5641,7 @@ The following output properties are available:
-name +name string @@ -5650,7 +5650,7 @@ The following output properties are available:
-value +value string @@ -5665,7 +5665,7 @@ The following output properties are available:
-name +name str @@ -5674,7 +5674,7 @@ The following output properties are available:
-value +value str @@ -5689,7 +5689,7 @@ The following output properties are available:
-name +name String @@ -5698,7 +5698,7 @@ The following output properties are available:
-value +value String diff --git a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/docs/provider/_index.md index 91cc306db924..5a540b4bd1e2 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/docs/provider/_index.md @@ -34,7 +34,7 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None) @@ -47,15 +47,15 @@ no_edit_this_page: true
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/docs/_index.md b/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/docs/_index.md index 7e92d1901739..14ae494865e6 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/docs/_index.md @@ -13,13 +13,13 @@ no_edit_this_page: true

Resources

Functions

Package Details

diff --git a/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/docs/getamiids/_index.md b/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/docs/getamiids/_index.md index e7e99769b5d9..4f8bfac5e0d3 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/docs/getamiids/_index.md +++ b/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/docs/getamiids/_index.md @@ -117,7 +117,7 @@ The following arguments are supported:
-Owners +Owners List<string> @@ -126,7 +126,7 @@ The following arguments are supported:
-ExecutableUsers +ExecutableUsers List<string> @@ -136,10 +136,10 @@ permission on the image. Valid items are the numeric account ID or self
-Filters +Filters - List<GetAmiIdsFilter> + List<GetAmiIdsFilter>

One or more name/value pairs to filter off of. There are several valid keys, for a full reference, check out @@ -147,7 +147,7 @@ are several valid keys, for a full reference, check out

-NameRegex +NameRegex string @@ -160,7 +160,7 @@ options to narrow down the list AWS returns.

-SortAscending +SortAscending bool @@ -175,7 +175,7 @@ options to narrow down the list AWS returns.

-Owners +Owners []string @@ -184,7 +184,7 @@ options to narrow down the list AWS returns.

-ExecutableUsers +ExecutableUsers []string @@ -194,10 +194,10 @@ permission on the image. Valid items are the numeric account ID or self
-Filters +Filters - []GetAmiIdsFilter + []GetAmiIdsFilter

One or more name/value pairs to filter off of. There are several valid keys, for a full reference, check out @@ -205,7 +205,7 @@ are several valid keys, for a full reference, check out

-NameRegex +NameRegex string @@ -218,7 +218,7 @@ options to narrow down the list AWS returns.

-SortAscending +SortAscending bool @@ -233,7 +233,7 @@ options to narrow down the list AWS returns.

-owners +owners List<String> @@ -242,7 +242,7 @@ options to narrow down the list AWS returns.

-executableUsers +executableUsers List<String> @@ -252,10 +252,10 @@ permission on the image. Valid items are the numeric account ID or self
-filters +filters - List<GetAmiIdsFilter> + List<GetAmiIdsFilter>

One or more name/value pairs to filter off of. There are several valid keys, for a full reference, check out @@ -263,7 +263,7 @@ are several valid keys, for a full reference, check out

-nameRegex +nameRegex String @@ -276,7 +276,7 @@ options to narrow down the list AWS returns.

-sortAscending +sortAscending Boolean @@ -291,7 +291,7 @@ options to narrow down the list AWS returns.

-owners +owners string[] @@ -300,7 +300,7 @@ options to narrow down the list AWS returns.

-executableUsers +executableUsers string[] @@ -310,10 +310,10 @@ permission on the image. Valid items are the numeric account ID or self
-filters +filters - GetAmiIdsFilter[] + GetAmiIdsFilter[]

One or more name/value pairs to filter off of. There are several valid keys, for a full reference, check out @@ -321,7 +321,7 @@ are several valid keys, for a full reference, check out

-nameRegex +nameRegex string @@ -334,7 +334,7 @@ options to narrow down the list AWS returns.

-sortAscending +sortAscending boolean @@ -349,7 +349,7 @@ options to narrow down the list AWS returns.

-owners +owners Sequence[str] @@ -358,7 +358,7 @@ options to narrow down the list AWS returns.

-executable_users +executable_users Sequence[str] @@ -368,10 +368,10 @@ permission on the image. Valid items are the numeric account ID or self
-filters +filters - Sequence[GetAmiIdsFilter] + Sequence[GetAmiIdsFilter]

One or more name/value pairs to filter off of. There are several valid keys, for a full reference, check out @@ -379,7 +379,7 @@ are several valid keys, for a full reference, check out

-name_regex +name_regex str @@ -392,7 +392,7 @@ options to narrow down the list AWS returns.

-sort_ascending +sort_ascending bool @@ -407,7 +407,7 @@ options to narrow down the list AWS returns.

-owners +owners List<String> @@ -416,7 +416,7 @@ options to narrow down the list AWS returns.

-executableUsers +executableUsers List<String> @@ -426,10 +426,10 @@ permission on the image. Valid items are the numeric account ID or self
-filters +filters - List<Property Map> + List<Property Map>

One or more name/value pairs to filter off of. There are several valid keys, for a full reference, check out @@ -437,7 +437,7 @@ are several valid keys, for a full reference, check out

-nameRegex +nameRegex String @@ -450,7 +450,7 @@ options to narrow down the list AWS returns.

-sortAscending +sortAscending Boolean @@ -474,7 +474,7 @@ The following output properties are available:
-Id +Id string @@ -483,7 +483,7 @@ The following output properties are available:
-Ids +Ids List<string> @@ -491,7 +491,7 @@ The following output properties are available:
-Owners +Owners List<string> @@ -499,7 +499,7 @@ The following output properties are available:
-ExecutableUsers +ExecutableUsers List<string> @@ -507,15 +507,15 @@ The following output properties are available:
-Filters +Filters - List<GetAmiIdsFilter> + List<GetAmiIdsFilter>
-NameRegex +NameRegex string @@ -523,7 +523,7 @@ The following output properties are available:
-SortAscending +SortAscending bool @@ -537,7 +537,7 @@ The following output properties are available:
-Id +Id string @@ -546,7 +546,7 @@ The following output properties are available:
-Ids +Ids []string @@ -554,7 +554,7 @@ The following output properties are available:
-Owners +Owners []string @@ -562,7 +562,7 @@ The following output properties are available:
-ExecutableUsers +ExecutableUsers []string @@ -570,15 +570,15 @@ The following output properties are available:
-Filters +Filters - []GetAmiIdsFilter + []GetAmiIdsFilter
-NameRegex +NameRegex string @@ -586,7 +586,7 @@ The following output properties are available:
-SortAscending +SortAscending bool @@ -600,7 +600,7 @@ The following output properties are available:
-id +id String @@ -609,7 +609,7 @@ The following output properties are available:
-ids +ids List<String> @@ -617,7 +617,7 @@ The following output properties are available:
-owners +owners List<String> @@ -625,7 +625,7 @@ The following output properties are available:
-executableUsers +executableUsers List<String> @@ -633,15 +633,15 @@ The following output properties are available:
-filters +filters - List<GetAmiIdsFilter> + List<GetAmiIdsFilter>
-nameRegex +nameRegex String @@ -649,7 +649,7 @@ The following output properties are available:
-sortAscending +sortAscending Boolean @@ -663,7 +663,7 @@ The following output properties are available:
-id +id string @@ -672,7 +672,7 @@ The following output properties are available:
-ids +ids string[] @@ -680,7 +680,7 @@ The following output properties are available:
-owners +owners string[] @@ -688,7 +688,7 @@ The following output properties are available:
-executableUsers +executableUsers string[] @@ -696,15 +696,15 @@ The following output properties are available:
-filters +filters - GetAmiIdsFilter[] + GetAmiIdsFilter[]
-nameRegex +nameRegex string @@ -712,7 +712,7 @@ The following output properties are available:
-sortAscending +sortAscending boolean @@ -726,7 +726,7 @@ The following output properties are available:
-id +id str @@ -735,7 +735,7 @@ The following output properties are available:
-ids +ids Sequence[str] @@ -743,7 +743,7 @@ The following output properties are available:
-owners +owners Sequence[str] @@ -751,7 +751,7 @@ The following output properties are available:
-executable_users +executable_users Sequence[str] @@ -759,15 +759,15 @@ The following output properties are available:
-filters +filters - Sequence[GetAmiIdsFilter] + Sequence[GetAmiIdsFilter]
-name_regex +name_regex str @@ -775,7 +775,7 @@ The following output properties are available:
-sort_ascending +sort_ascending bool @@ -789,7 +789,7 @@ The following output properties are available:
-id +id String @@ -798,7 +798,7 @@ The following output properties are available:
-ids +ids List<String> @@ -806,7 +806,7 @@ The following output properties are available:
-owners +owners List<String> @@ -814,7 +814,7 @@ The following output properties are available:
-executableUsers +executableUsers List<String> @@ -822,15 +822,15 @@ The following output properties are available:
-filters +filters - List<Property Map> + List<Property Map>
-nameRegex +nameRegex String @@ -838,7 +838,7 @@ The following output properties are available:
-sortAscending +sortAscending Boolean @@ -862,7 +862,7 @@ The following output properties are available:
-Name +Name string @@ -870,7 +870,7 @@ The following output properties are available:
-Values +Values List<string> @@ -884,7 +884,7 @@ The following output properties are available:
-Name +Name string @@ -892,7 +892,7 @@ The following output properties are available:
-Values +Values []string @@ -906,7 +906,7 @@ The following output properties are available:
-name +name String @@ -914,7 +914,7 @@ The following output properties are available:
-values +values List<String> @@ -928,7 +928,7 @@ The following output properties are available:
-name +name string @@ -936,7 +936,7 @@ The following output properties are available:
-values +values string[] @@ -950,7 +950,7 @@ The following output properties are available:
-name +name str @@ -958,7 +958,7 @@ The following output properties are available:
-values +values Sequence[str] @@ -972,7 +972,7 @@ The following output properties are available:
-name +name String @@ -980,7 +980,7 @@ The following output properties are available:
-values +values List<String> diff --git a/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/docs/liststorageaccountkeys/_index.md b/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/docs/liststorageaccountkeys/_index.md index d56d8369bcda..7c82ec202640 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/docs/liststorageaccountkeys/_index.md +++ b/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/docs/liststorageaccountkeys/_index.md @@ -112,7 +112,7 @@ The following arguments are supported:
-AccountName +AccountName string @@ -121,7 +121,7 @@ The following arguments are supported:
-ResourceGroupName +ResourceGroupName string @@ -130,7 +130,7 @@ The following arguments are supported:
-Expand +Expand string @@ -145,7 +145,7 @@ The following arguments are supported:
-AccountName +AccountName string @@ -154,7 +154,7 @@ The following arguments are supported:
-ResourceGroupName +ResourceGroupName string @@ -163,7 +163,7 @@ The following arguments are supported:
-Expand +Expand string @@ -178,7 +178,7 @@ The following arguments are supported:
-accountName +accountName String @@ -187,7 +187,7 @@ The following arguments are supported:
-resourceGroupName +resourceGroupName String @@ -196,7 +196,7 @@ The following arguments are supported:
-expand +expand String @@ -211,7 +211,7 @@ The following arguments are supported:
-accountName +accountName string @@ -220,7 +220,7 @@ The following arguments are supported:
-resourceGroupName +resourceGroupName string @@ -229,7 +229,7 @@ The following arguments are supported:
-expand +expand string @@ -244,7 +244,7 @@ The following arguments are supported:
-account_name +account_name str @@ -253,7 +253,7 @@ The following arguments are supported:
-resource_group_name +resource_group_name str @@ -262,7 +262,7 @@ The following arguments are supported:
-expand +expand str @@ -277,7 +277,7 @@ The following arguments are supported:
-accountName +accountName String @@ -286,7 +286,7 @@ The following arguments are supported:
-resourceGroupName +resourceGroupName String @@ -295,7 +295,7 @@ The following arguments are supported:
-expand +expand String @@ -319,10 +319,10 @@ The following output properties are available:
-Keys +Keys - List<StorageAccountKeyResponse> + List<StorageAccountKeyResponse>

Gets the list of storage account keys and their properties for the specified storage account.

@@ -334,10 +334,10 @@ The following output properties are available:
-Keys +Keys - []StorageAccountKeyResponse + []StorageAccountKeyResponse

Gets the list of storage account keys and their properties for the specified storage account.

@@ -349,10 +349,10 @@ The following output properties are available:
-keys +keys - List<StorageAccountKeyResponse> + List<StorageAccountKeyResponse>

Gets the list of storage account keys and their properties for the specified storage account.

@@ -364,10 +364,10 @@ The following output properties are available:
-keys +keys - StorageAccountKeyResponse[] + StorageAccountKeyResponse[]

Gets the list of storage account keys and their properties for the specified storage account.

@@ -379,10 +379,10 @@ The following output properties are available:
-keys +keys - Sequence[StorageAccountKeyResponse] + Sequence[StorageAccountKeyResponse]

Gets the list of storage account keys and their properties for the specified storage account.

@@ -394,10 +394,10 @@ The following output properties are available:
-keys +keys - List<Property Map> + List<Property Map>

Gets the list of storage account keys and their properties for the specified storage account.

@@ -419,7 +419,7 @@ The following output properties are available:
-CreationTime +CreationTime string @@ -428,7 +428,7 @@ The following output properties are available:
-KeyName +KeyName string @@ -437,7 +437,7 @@ The following output properties are available:
-Permissions +Permissions string @@ -446,7 +446,7 @@ The following output properties are available:
-Value +Value string @@ -461,7 +461,7 @@ The following output properties are available:
-CreationTime +CreationTime string @@ -470,7 +470,7 @@ The following output properties are available:
-KeyName +KeyName string @@ -479,7 +479,7 @@ The following output properties are available:
-Permissions +Permissions string @@ -488,7 +488,7 @@ The following output properties are available:
-Value +Value string @@ -503,7 +503,7 @@ The following output properties are available:
-creationTime +creationTime String @@ -512,7 +512,7 @@ The following output properties are available:
-keyName +keyName String @@ -521,7 +521,7 @@ The following output properties are available:
-permissions +permissions String @@ -530,7 +530,7 @@ The following output properties are available:
-value +value String @@ -545,7 +545,7 @@ The following output properties are available:
-creationTime +creationTime string @@ -554,7 +554,7 @@ The following output properties are available:
-keyName +keyName string @@ -563,7 +563,7 @@ The following output properties are available:
-permissions +permissions string @@ -572,7 +572,7 @@ The following output properties are available:
-value +value string @@ -587,7 +587,7 @@ The following output properties are available:
-creation_time +creation_time str @@ -596,7 +596,7 @@ The following output properties are available:
-key_name +key_name str @@ -605,7 +605,7 @@ The following output properties are available:
-permissions +permissions str @@ -614,7 +614,7 @@ The following output properties are available:
-value +value str @@ -629,7 +629,7 @@ The following output properties are available:
-creationTime +creationTime String @@ -638,7 +638,7 @@ The following output properties are available:
-keyName +keyName String @@ -647,7 +647,7 @@ The following output properties are available:
-permissions +permissions String @@ -656,7 +656,7 @@ The following output properties are available:
-value +value String diff --git a/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/docs/provider/_index.md index a276d97980ab..8348e30a2bfa 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/docs/provider/_index.md @@ -34,7 +34,7 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None) @@ -47,15 +47,15 @@ no_edit_this_page: true
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/output-funcs/docs/_index.md b/pkg/codegen/testing/test/testdata/output-funcs/docs/_index.md index 9705dd472306..6ea4468eceea 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/output-funcs/docs/_index.md @@ -13,21 +13,21 @@ no_edit_this_page: true

Resources

Functions

Package Details

diff --git a/pkg/codegen/testing/test/testdata/output-funcs/docs/funcwithalloptionalinputs/_index.md b/pkg/codegen/testing/test/testdata/output-funcs/docs/funcwithalloptionalinputs/_index.md index 8f6a4cc0c991..c433f5349956 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/docs/funcwithalloptionalinputs/_index.md +++ b/pkg/codegen/testing/test/testdata/output-funcs/docs/funcwithalloptionalinputs/_index.md @@ -109,7 +109,7 @@ The following arguments are supported:
-A +A string @@ -118,7 +118,7 @@ The following arguments are supported:
-B +B string @@ -133,7 +133,7 @@ The following arguments are supported:
-A +A string @@ -142,7 +142,7 @@ The following arguments are supported:
-B +B string @@ -157,7 +157,7 @@ The following arguments are supported:
-a +a String @@ -166,7 +166,7 @@ The following arguments are supported:
-b +b String @@ -181,7 +181,7 @@ The following arguments are supported:
-a +a string @@ -190,7 +190,7 @@ The following arguments are supported:
-b +b string @@ -205,7 +205,7 @@ The following arguments are supported:
-a +a str @@ -214,7 +214,7 @@ The following arguments are supported:
-b +b str @@ -229,7 +229,7 @@ The following arguments are supported:
-a +a String @@ -238,7 +238,7 @@ The following arguments are supported:
-b +b String @@ -262,7 +262,7 @@ The following output properties are available:
-R +R string @@ -276,7 +276,7 @@ The following output properties are available:
-R +R string @@ -290,7 +290,7 @@ The following output properties are available:
-r +r String @@ -304,7 +304,7 @@ The following output properties are available:
-r +r string @@ -318,7 +318,7 @@ The following output properties are available:
-r +r str @@ -332,7 +332,7 @@ The following output properties are available:
-r +r String diff --git a/pkg/codegen/testing/test/testdata/output-funcs/docs/funcwithdefaultvalue/_index.md b/pkg/codegen/testing/test/testdata/output-funcs/docs/funcwithdefaultvalue/_index.md index 7a062bc6c9a6..d1ad8c003700 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/docs/funcwithdefaultvalue/_index.md +++ b/pkg/codegen/testing/test/testdata/output-funcs/docs/funcwithdefaultvalue/_index.md @@ -109,7 +109,7 @@ The following arguments are supported:
-A +A string @@ -117,7 +117,7 @@ The following arguments are supported:
-B +B string @@ -131,7 +131,7 @@ The following arguments are supported:
-A +A string @@ -139,7 +139,7 @@ The following arguments are supported:
-B +B string @@ -153,7 +153,7 @@ The following arguments are supported:
-a +a String @@ -161,7 +161,7 @@ The following arguments are supported:
-b +b String @@ -175,7 +175,7 @@ The following arguments are supported:
-a +a string @@ -183,7 +183,7 @@ The following arguments are supported:
-b +b string @@ -197,7 +197,7 @@ The following arguments are supported:
-a +a str @@ -205,7 +205,7 @@ The following arguments are supported:
-b +b str @@ -219,7 +219,7 @@ The following arguments are supported:
-a +a String @@ -227,7 +227,7 @@ The following arguments are supported:
-b +b String @@ -250,7 +250,7 @@ The following output properties are available:
-R +R string @@ -264,7 +264,7 @@ The following output properties are available:
-R +R string @@ -278,7 +278,7 @@ The following output properties are available:
-r +r String @@ -292,7 +292,7 @@ The following output properties are available:
-r +r string @@ -306,7 +306,7 @@ The following output properties are available:
-r +r str @@ -320,7 +320,7 @@ The following output properties are available:
-r +r String diff --git a/pkg/codegen/testing/test/testdata/output-funcs/docs/funcwithdictparam/_index.md b/pkg/codegen/testing/test/testdata/output-funcs/docs/funcwithdictparam/_index.md index c08ddda018e0..57402d2d17a7 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/docs/funcwithdictparam/_index.md +++ b/pkg/codegen/testing/test/testdata/output-funcs/docs/funcwithdictparam/_index.md @@ -109,7 +109,7 @@ The following arguments are supported:
-A +A Dictionary<string, string> @@ -117,7 +117,7 @@ The following arguments are supported:
-B +B string @@ -131,7 +131,7 @@ The following arguments are supported:
-A +A map[string]string @@ -139,7 +139,7 @@ The following arguments are supported:
-B +B string @@ -153,7 +153,7 @@ The following arguments are supported:
-a +a Map<String,String> @@ -161,7 +161,7 @@ The following arguments are supported:
-b +b String @@ -175,7 +175,7 @@ The following arguments are supported:
-a +a {[key: string]: string} @@ -183,7 +183,7 @@ The following arguments are supported:
-b +b string @@ -197,7 +197,7 @@ The following arguments are supported:
-a +a Mapping[str, str] @@ -205,7 +205,7 @@ The following arguments are supported:
-b +b str @@ -219,7 +219,7 @@ The following arguments are supported:
-a +a Map<String> @@ -227,7 +227,7 @@ The following arguments are supported:
-b +b String @@ -250,7 +250,7 @@ The following output properties are available:
-R +R string @@ -264,7 +264,7 @@ The following output properties are available:
-R +R string @@ -278,7 +278,7 @@ The following output properties are available:
-r +r String @@ -292,7 +292,7 @@ The following output properties are available:
-r +r string @@ -306,7 +306,7 @@ The following output properties are available:
-r +r str @@ -320,7 +320,7 @@ The following output properties are available:
-r +r String diff --git a/pkg/codegen/testing/test/testdata/output-funcs/docs/funcwithemptyoutputs/_index.md b/pkg/codegen/testing/test/testdata/output-funcs/docs/funcwithemptyoutputs/_index.md index 58d6c6102acf..2a5d49eb072e 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/docs/funcwithemptyoutputs/_index.md +++ b/pkg/codegen/testing/test/testdata/output-funcs/docs/funcwithemptyoutputs/_index.md @@ -107,7 +107,7 @@ The following arguments are supported:
-Name +Name string @@ -122,7 +122,7 @@ The following arguments are supported:
-Name +Name string @@ -137,7 +137,7 @@ The following arguments are supported:
-name +name String @@ -152,7 +152,7 @@ The following arguments are supported:
-name +name string @@ -167,7 +167,7 @@ The following arguments are supported:
-name +name str @@ -182,7 +182,7 @@ The following arguments are supported:
-name +name String diff --git a/pkg/codegen/testing/test/testdata/output-funcs/docs/funcwithlistparam/_index.md b/pkg/codegen/testing/test/testdata/output-funcs/docs/funcwithlistparam/_index.md index e3ed6692c877..240a2d46ac03 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/docs/funcwithlistparam/_index.md +++ b/pkg/codegen/testing/test/testdata/output-funcs/docs/funcwithlistparam/_index.md @@ -109,7 +109,7 @@ The following arguments are supported:
-A +A List<string> @@ -117,7 +117,7 @@ The following arguments are supported:
-B +B string @@ -131,7 +131,7 @@ The following arguments are supported:
-A +A []string @@ -139,7 +139,7 @@ The following arguments are supported:
-B +B string @@ -153,7 +153,7 @@ The following arguments are supported:
-a +a List<String> @@ -161,7 +161,7 @@ The following arguments are supported:
-b +b String @@ -175,7 +175,7 @@ The following arguments are supported:
-a +a string[] @@ -183,7 +183,7 @@ The following arguments are supported:
-b +b string @@ -197,7 +197,7 @@ The following arguments are supported:
-a +a Sequence[str] @@ -205,7 +205,7 @@ The following arguments are supported:
-b +b str @@ -219,7 +219,7 @@ The following arguments are supported:
-a +a List<String> @@ -227,7 +227,7 @@ The following arguments are supported:
-b +b String @@ -250,7 +250,7 @@ The following output properties are available:
-R +R string @@ -264,7 +264,7 @@ The following output properties are available:
-R +R string @@ -278,7 +278,7 @@ The following output properties are available:
-r +r String @@ -292,7 +292,7 @@ The following output properties are available:
-r +r string @@ -306,7 +306,7 @@ The following output properties are available:
-r +r str @@ -320,7 +320,7 @@ The following output properties are available:
-r +r String diff --git a/pkg/codegen/testing/test/testdata/output-funcs/docs/getbastionshareablelink/_index.md b/pkg/codegen/testing/test/testdata/output-funcs/docs/getbastionshareablelink/_index.md index d434a009cd81..b0059c4e6d92 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/docs/getbastionshareablelink/_index.md +++ b/pkg/codegen/testing/test/testdata/output-funcs/docs/getbastionshareablelink/_index.md @@ -112,7 +112,7 @@ The following arguments are supported:
-BastionHostName +BastionHostName string @@ -121,7 +121,7 @@ The following arguments are supported:
-ResourceGroupName +ResourceGroupName string @@ -130,10 +130,10 @@ The following arguments are supported:
-Vms +Vms - List<BastionShareableLink> + List<BastionShareableLink>

List of VM references.

@@ -145,7 +145,7 @@ The following arguments are supported:
-BastionHostName +BastionHostName string @@ -154,7 +154,7 @@ The following arguments are supported:
-ResourceGroupName +ResourceGroupName string @@ -163,10 +163,10 @@ The following arguments are supported:
-Vms +Vms - []BastionShareableLink + []BastionShareableLink

List of VM references.

@@ -178,7 +178,7 @@ The following arguments are supported:
-bastionHostName +bastionHostName String @@ -187,7 +187,7 @@ The following arguments are supported:
-resourceGroupName +resourceGroupName String @@ -196,10 +196,10 @@ The following arguments are supported:
-vms +vms - List<BastionShareableLink> + List<BastionShareableLink>

List of VM references.

@@ -211,7 +211,7 @@ The following arguments are supported:
-bastionHostName +bastionHostName string @@ -220,7 +220,7 @@ The following arguments are supported:
-resourceGroupName +resourceGroupName string @@ -229,10 +229,10 @@ The following arguments are supported:
-vms +vms - BastionShareableLink[] + BastionShareableLink[]

List of VM references.

@@ -244,7 +244,7 @@ The following arguments are supported:
-bastion_host_name +bastion_host_name str @@ -253,7 +253,7 @@ The following arguments are supported:
-resource_group_name +resource_group_name str @@ -262,10 +262,10 @@ The following arguments are supported:
-vms +vms - Sequence[BastionShareableLink] + Sequence[BastionShareableLink]

List of VM references.

@@ -277,7 +277,7 @@ The following arguments are supported:
-bastionHostName +bastionHostName String @@ -286,7 +286,7 @@ The following arguments are supported:
-resourceGroupName +resourceGroupName String @@ -295,10 +295,10 @@ The following arguments are supported:
-vms +vms - List<Property Map> + List<Property Map>

List of VM references.

@@ -319,7 +319,7 @@ The following output properties are available:
-NextLink +NextLink string @@ -334,7 +334,7 @@ The following output properties are available:
-NextLink +NextLink string @@ -349,7 +349,7 @@ The following output properties are available:
-nextLink +nextLink String @@ -364,7 +364,7 @@ The following output properties are available:
-nextLink +nextLink string @@ -379,7 +379,7 @@ The following output properties are available:
-next_link +next_link str @@ -394,7 +394,7 @@ The following output properties are available:
-nextLink +nextLink String @@ -419,7 +419,7 @@ The following output properties are available:
-Vm +Vm string @@ -434,7 +434,7 @@ The following output properties are available:
-Vm +Vm string @@ -449,7 +449,7 @@ The following output properties are available:
-vm +vm String @@ -464,7 +464,7 @@ The following output properties are available:
-vm +vm string @@ -479,7 +479,7 @@ The following output properties are available:
-vm +vm str @@ -494,7 +494,7 @@ The following output properties are available:
-vm +vm String diff --git a/pkg/codegen/testing/test/testdata/output-funcs/docs/getclientconfig/_index.md b/pkg/codegen/testing/test/testdata/output-funcs/docs/getclientconfig/_index.md index 566461ca144c..766b38808daa 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/docs/getclientconfig/_index.md +++ b/pkg/codegen/testing/test/testdata/output-funcs/docs/getclientconfig/_index.md @@ -97,7 +97,7 @@ The following output properties are available:
-ClientId +ClientId string @@ -106,7 +106,7 @@ The following output properties are available:
-ObjectId +ObjectId string @@ -115,7 +115,7 @@ The following output properties are available:
-SubscriptionId +SubscriptionId string @@ -124,7 +124,7 @@ The following output properties are available:
-TenantId +TenantId string @@ -139,7 +139,7 @@ The following output properties are available:
-ClientId +ClientId string @@ -148,7 +148,7 @@ The following output properties are available:
-ObjectId +ObjectId string @@ -157,7 +157,7 @@ The following output properties are available:
-SubscriptionId +SubscriptionId string @@ -166,7 +166,7 @@ The following output properties are available:
-TenantId +TenantId string @@ -181,7 +181,7 @@ The following output properties are available:
-clientId +clientId String @@ -190,7 +190,7 @@ The following output properties are available:
-objectId +objectId String @@ -199,7 +199,7 @@ The following output properties are available:
-subscriptionId +subscriptionId String @@ -208,7 +208,7 @@ The following output properties are available:
-tenantId +tenantId String @@ -223,7 +223,7 @@ The following output properties are available:
-clientId +clientId string @@ -232,7 +232,7 @@ The following output properties are available:
-objectId +objectId string @@ -241,7 +241,7 @@ The following output properties are available:
-subscriptionId +subscriptionId string @@ -250,7 +250,7 @@ The following output properties are available:
-tenantId +tenantId string @@ -265,7 +265,7 @@ The following output properties are available:
-client_id +client_id str @@ -274,7 +274,7 @@ The following output properties are available:
-object_id +object_id str @@ -283,7 +283,7 @@ The following output properties are available:
-subscription_id +subscription_id str @@ -292,7 +292,7 @@ The following output properties are available:
-tenant_id +tenant_id str @@ -307,7 +307,7 @@ The following output properties are available:
-clientId +clientId String @@ -316,7 +316,7 @@ The following output properties are available:
-objectId +objectId String @@ -325,7 +325,7 @@ The following output properties are available:
-subscriptionId +subscriptionId String @@ -334,7 +334,7 @@ The following output properties are available:
-tenantId +tenantId String diff --git a/pkg/codegen/testing/test/testdata/output-funcs/docs/getintegrationruntimeobjectmetadatum/_index.md b/pkg/codegen/testing/test/testdata/output-funcs/docs/getintegrationruntimeobjectmetadatum/_index.md index c9ccd194eec0..8db0e6a579d0 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/docs/getintegrationruntimeobjectmetadatum/_index.md +++ b/pkg/codegen/testing/test/testdata/output-funcs/docs/getintegrationruntimeobjectmetadatum/_index.md @@ -114,7 +114,7 @@ The following arguments are supported:
-FactoryName +FactoryName string @@ -123,7 +123,7 @@ The following arguments are supported:
-IntegrationRuntimeName +IntegrationRuntimeName string @@ -132,7 +132,7 @@ The following arguments are supported:
-ResourceGroupName +ResourceGroupName string @@ -141,7 +141,7 @@ The following arguments are supported:
-MetadataPath +MetadataPath string @@ -156,7 +156,7 @@ The following arguments are supported:
-FactoryName +FactoryName string @@ -165,7 +165,7 @@ The following arguments are supported:
-IntegrationRuntimeName +IntegrationRuntimeName string @@ -174,7 +174,7 @@ The following arguments are supported:
-ResourceGroupName +ResourceGroupName string @@ -183,7 +183,7 @@ The following arguments are supported:
-MetadataPath +MetadataPath string @@ -198,7 +198,7 @@ The following arguments are supported:
-factoryName +factoryName String @@ -207,7 +207,7 @@ The following arguments are supported:
-integrationRuntimeName +integrationRuntimeName String @@ -216,7 +216,7 @@ The following arguments are supported:
-resourceGroupName +resourceGroupName String @@ -225,7 +225,7 @@ The following arguments are supported:
-metadataPath +metadataPath String @@ -240,7 +240,7 @@ The following arguments are supported:
-factoryName +factoryName string @@ -249,7 +249,7 @@ The following arguments are supported:
-integrationRuntimeName +integrationRuntimeName string @@ -258,7 +258,7 @@ The following arguments are supported:
-resourceGroupName +resourceGroupName string @@ -267,7 +267,7 @@ The following arguments are supported:
-metadataPath +metadataPath string @@ -282,7 +282,7 @@ The following arguments are supported:
-factory_name +factory_name str @@ -291,7 +291,7 @@ The following arguments are supported:
-integration_runtime_name +integration_runtime_name str @@ -300,7 +300,7 @@ The following arguments are supported:
-resource_group_name +resource_group_name str @@ -309,7 +309,7 @@ The following arguments are supported:
-metadata_path +metadata_path str @@ -324,7 +324,7 @@ The following arguments are supported:
-factoryName +factoryName String @@ -333,7 +333,7 @@ The following arguments are supported:
-integrationRuntimeName +integrationRuntimeName String @@ -342,7 +342,7 @@ The following arguments are supported:
-resourceGroupName +resourceGroupName String @@ -351,7 +351,7 @@ The following arguments are supported:
-metadataPath +metadataPath String @@ -375,7 +375,7 @@ The following output properties are available:
-NextLink +NextLink string @@ -384,7 +384,7 @@ The following output properties are available:
-Value +Value List<object> @@ -399,7 +399,7 @@ The following output properties are available:
-NextLink +NextLink string @@ -408,7 +408,7 @@ The following output properties are available:
-Value +Value []interface{} @@ -423,7 +423,7 @@ The following output properties are available:
-nextLink +nextLink String @@ -432,7 +432,7 @@ The following output properties are available:
-value +value List<Object> @@ -447,7 +447,7 @@ The following output properties are available:
-nextLink +nextLink string @@ -456,7 +456,7 @@ The following output properties are available:
-value +value (SsisEnvironmentResponse | SsisFolderResponse | SsisPackageResponse | SsisProjectResponse)[] @@ -471,7 +471,7 @@ The following output properties are available:
-next_link +next_link str @@ -480,7 +480,7 @@ The following output properties are available:
-value +value Sequence[Any] @@ -495,7 +495,7 @@ The following output properties are available:
-nextLink +nextLink String @@ -504,7 +504,7 @@ The following output properties are available:
-value +value List<Property Map | Property Map | Property Map | Property Map> @@ -529,7 +529,7 @@ The following output properties are available:
-EnvironmentFolderName +EnvironmentFolderName string @@ -538,7 +538,7 @@ The following output properties are available:
-EnvironmentName +EnvironmentName string @@ -547,7 +547,7 @@ The following output properties are available:
-Id +Id double @@ -556,7 +556,7 @@ The following output properties are available:
-ReferenceType +ReferenceType string @@ -571,7 +571,7 @@ The following output properties are available:
-EnvironmentFolderName +EnvironmentFolderName string @@ -580,7 +580,7 @@ The following output properties are available:
-EnvironmentName +EnvironmentName string @@ -589,7 +589,7 @@ The following output properties are available:
-Id +Id float64 @@ -598,7 +598,7 @@ The following output properties are available:
-ReferenceType +ReferenceType string @@ -613,7 +613,7 @@ The following output properties are available:
-environmentFolderName +environmentFolderName String @@ -622,7 +622,7 @@ The following output properties are available:
-environmentName +environmentName String @@ -631,7 +631,7 @@ The following output properties are available:
-id +id Double @@ -640,7 +640,7 @@ The following output properties are available:
-referenceType +referenceType String @@ -655,7 +655,7 @@ The following output properties are available:
-environmentFolderName +environmentFolderName string @@ -664,7 +664,7 @@ The following output properties are available:
-environmentName +environmentName string @@ -673,7 +673,7 @@ The following output properties are available:
-id +id number @@ -682,7 +682,7 @@ The following output properties are available:
-referenceType +referenceType string @@ -697,7 +697,7 @@ The following output properties are available:
-environment_folder_name +environment_folder_name str @@ -706,7 +706,7 @@ The following output properties are available:
-environment_name +environment_name str @@ -715,7 +715,7 @@ The following output properties are available:
-id +id float @@ -724,7 +724,7 @@ The following output properties are available:
-reference_type +reference_type str @@ -739,7 +739,7 @@ The following output properties are available:
-environmentFolderName +environmentFolderName String @@ -748,7 +748,7 @@ The following output properties are available:
-environmentName +environmentName String @@ -757,7 +757,7 @@ The following output properties are available:
-id +id Number @@ -766,7 +766,7 @@ The following output properties are available:
-referenceType +referenceType String @@ -785,7 +785,7 @@ The following output properties are available:
-Description +Description string @@ -794,7 +794,7 @@ The following output properties are available:
-FolderId +FolderId double @@ -803,7 +803,7 @@ The following output properties are available:
-Id +Id double @@ -812,7 +812,7 @@ The following output properties are available:
-Name +Name string @@ -821,10 +821,10 @@ The following output properties are available:
-Variables +Variables - List<SsisVariableResponse> + List<SsisVariableResponse>

Variable in environment

@@ -836,7 +836,7 @@ The following output properties are available:
-Description +Description string @@ -845,7 +845,7 @@ The following output properties are available:
-FolderId +FolderId float64 @@ -854,7 +854,7 @@ The following output properties are available:
-Id +Id float64 @@ -863,7 +863,7 @@ The following output properties are available:
-Name +Name string @@ -872,10 +872,10 @@ The following output properties are available:
-Variables +Variables - []SsisVariableResponse + []SsisVariableResponse

Variable in environment

@@ -887,7 +887,7 @@ The following output properties are available:
-description +description String @@ -896,7 +896,7 @@ The following output properties are available:
-folderId +folderId Double @@ -905,7 +905,7 @@ The following output properties are available:
-id +id Double @@ -914,7 +914,7 @@ The following output properties are available:
-name +name String @@ -923,10 +923,10 @@ The following output properties are available:
-variables +variables - List<SsisVariableResponse> + List<SsisVariableResponse>

Variable in environment

@@ -938,7 +938,7 @@ The following output properties are available:
-description +description string @@ -947,7 +947,7 @@ The following output properties are available:
-folderId +folderId number @@ -956,7 +956,7 @@ The following output properties are available:
-id +id number @@ -965,7 +965,7 @@ The following output properties are available:
-name +name string @@ -974,10 +974,10 @@ The following output properties are available:
-variables +variables - SsisVariableResponse[] + SsisVariableResponse[]

Variable in environment

@@ -989,7 +989,7 @@ The following output properties are available:
-description +description str @@ -998,7 +998,7 @@ The following output properties are available:
-folder_id +folder_id float @@ -1007,7 +1007,7 @@ The following output properties are available:
-id +id float @@ -1016,7 +1016,7 @@ The following output properties are available:
-name +name str @@ -1025,10 +1025,10 @@ The following output properties are available:
-variables +variables - Sequence[SsisVariableResponse] + Sequence[SsisVariableResponse]

Variable in environment

@@ -1040,7 +1040,7 @@ The following output properties are available:
-description +description String @@ -1049,7 +1049,7 @@ The following output properties are available:
-folderId +folderId Number @@ -1058,7 +1058,7 @@ The following output properties are available:
-id +id Number @@ -1067,7 +1067,7 @@ The following output properties are available:
-name +name String @@ -1076,10 +1076,10 @@ The following output properties are available:
-variables +variables - List<Property Map> + List<Property Map>

Variable in environment

@@ -1095,7 +1095,7 @@ The following output properties are available:
-Description +Description string @@ -1104,7 +1104,7 @@ The following output properties are available:
-Id +Id double @@ -1113,7 +1113,7 @@ The following output properties are available:
-Name +Name string @@ -1128,7 +1128,7 @@ The following output properties are available:
-Description +Description string @@ -1137,7 +1137,7 @@ The following output properties are available:
-Id +Id float64 @@ -1146,7 +1146,7 @@ The following output properties are available:
-Name +Name string @@ -1161,7 +1161,7 @@ The following output properties are available:
-description +description String @@ -1170,7 +1170,7 @@ The following output properties are available:
-id +id Double @@ -1179,7 +1179,7 @@ The following output properties are available:
-name +name String @@ -1194,7 +1194,7 @@ The following output properties are available:
-description +description string @@ -1203,7 +1203,7 @@ The following output properties are available:
-id +id number @@ -1212,7 +1212,7 @@ The following output properties are available:
-name +name string @@ -1227,7 +1227,7 @@ The following output properties are available:
-description +description str @@ -1236,7 +1236,7 @@ The following output properties are available:
-id +id float @@ -1245,7 +1245,7 @@ The following output properties are available:
-name +name str @@ -1260,7 +1260,7 @@ The following output properties are available:
-description +description String @@ -1269,7 +1269,7 @@ The following output properties are available:
-id +id Number @@ -1278,7 +1278,7 @@ The following output properties are available:
-name +name String @@ -1297,7 +1297,7 @@ The following output properties are available:
-Description +Description string @@ -1306,7 +1306,7 @@ The following output properties are available:
-FolderId +FolderId double @@ -1315,7 +1315,7 @@ The following output properties are available:
-Id +Id double @@ -1324,7 +1324,7 @@ The following output properties are available:
-Name +Name string @@ -1333,16 +1333,16 @@ The following output properties are available:
-Parameters +Parameters - List<SsisParameterResponse> + List<SsisParameterResponse>

Parameters in package

-ProjectId +ProjectId double @@ -1351,7 +1351,7 @@ The following output properties are available:
-ProjectVersion +ProjectVersion double @@ -1366,7 +1366,7 @@ The following output properties are available:
-Description +Description string @@ -1375,7 +1375,7 @@ The following output properties are available:
-FolderId +FolderId float64 @@ -1384,7 +1384,7 @@ The following output properties are available:
-Id +Id float64 @@ -1393,7 +1393,7 @@ The following output properties are available:
-Name +Name string @@ -1402,16 +1402,16 @@ The following output properties are available:
-Parameters +Parameters - []SsisParameterResponse + []SsisParameterResponse

Parameters in package

-ProjectId +ProjectId float64 @@ -1420,7 +1420,7 @@ The following output properties are available:
-ProjectVersion +ProjectVersion float64 @@ -1435,7 +1435,7 @@ The following output properties are available:
-description +description String @@ -1444,7 +1444,7 @@ The following output properties are available:
-folderId +folderId Double @@ -1453,7 +1453,7 @@ The following output properties are available:
-id +id Double @@ -1462,7 +1462,7 @@ The following output properties are available:
-name +name String @@ -1471,16 +1471,16 @@ The following output properties are available:
-parameters +parameters - List<SsisParameterResponse> + List<SsisParameterResponse>

Parameters in package

-projectId +projectId Double @@ -1489,7 +1489,7 @@ The following output properties are available:
-projectVersion +projectVersion Double @@ -1504,7 +1504,7 @@ The following output properties are available:
-description +description string @@ -1513,7 +1513,7 @@ The following output properties are available:
-folderId +folderId number @@ -1522,7 +1522,7 @@ The following output properties are available:
-id +id number @@ -1531,7 +1531,7 @@ The following output properties are available:
-name +name string @@ -1540,16 +1540,16 @@ The following output properties are available:
-parameters +parameters - SsisParameterResponse[] + SsisParameterResponse[]

Parameters in package

-projectId +projectId number @@ -1558,7 +1558,7 @@ The following output properties are available:
-projectVersion +projectVersion number @@ -1573,7 +1573,7 @@ The following output properties are available:
-description +description str @@ -1582,7 +1582,7 @@ The following output properties are available:
-folder_id +folder_id float @@ -1591,7 +1591,7 @@ The following output properties are available:
-id +id float @@ -1600,7 +1600,7 @@ The following output properties are available:
-name +name str @@ -1609,16 +1609,16 @@ The following output properties are available:
-parameters +parameters - Sequence[SsisParameterResponse] + Sequence[SsisParameterResponse]

Parameters in package

-project_id +project_id float @@ -1627,7 +1627,7 @@ The following output properties are available:
-project_version +project_version float @@ -1642,7 +1642,7 @@ The following output properties are available:
-description +description String @@ -1651,7 +1651,7 @@ The following output properties are available:
-folderId +folderId Number @@ -1660,7 +1660,7 @@ The following output properties are available:
-id +id Number @@ -1669,7 +1669,7 @@ The following output properties are available:
-name +name String @@ -1678,16 +1678,16 @@ The following output properties are available:
-parameters +parameters - List<Property Map> + List<Property Map>

Parameters in package

-projectId +projectId Number @@ -1696,7 +1696,7 @@ The following output properties are available:
-projectVersion +projectVersion Number @@ -1715,7 +1715,7 @@ The following output properties are available:
-DataType +DataType string @@ -1724,7 +1724,7 @@ The following output properties are available:
-DefaultValue +DefaultValue string @@ -1733,7 +1733,7 @@ The following output properties are available:
-Description +Description string @@ -1742,7 +1742,7 @@ The following output properties are available:
-DesignDefaultValue +DesignDefaultValue string @@ -1751,7 +1751,7 @@ The following output properties are available:
-Id +Id double @@ -1760,7 +1760,7 @@ The following output properties are available:
-Name +Name string @@ -1769,7 +1769,7 @@ The following output properties are available:
-Required +Required bool @@ -1778,7 +1778,7 @@ The following output properties are available:
-Sensitive +Sensitive bool @@ -1787,7 +1787,7 @@ The following output properties are available:
-SensitiveDefaultValue +SensitiveDefaultValue string @@ -1796,7 +1796,7 @@ The following output properties are available:
-ValueSet +ValueSet bool @@ -1805,7 +1805,7 @@ The following output properties are available:
-ValueType +ValueType string @@ -1814,7 +1814,7 @@ The following output properties are available:
-Variable +Variable string @@ -1829,7 +1829,7 @@ The following output properties are available:
-DataType +DataType string @@ -1838,7 +1838,7 @@ The following output properties are available:
-DefaultValue +DefaultValue string @@ -1847,7 +1847,7 @@ The following output properties are available:
-Description +Description string @@ -1856,7 +1856,7 @@ The following output properties are available:
-DesignDefaultValue +DesignDefaultValue string @@ -1865,7 +1865,7 @@ The following output properties are available:
-Id +Id float64 @@ -1874,7 +1874,7 @@ The following output properties are available:
-Name +Name string @@ -1883,7 +1883,7 @@ The following output properties are available:
-Required +Required bool @@ -1892,7 +1892,7 @@ The following output properties are available:
-Sensitive +Sensitive bool @@ -1901,7 +1901,7 @@ The following output properties are available:
-SensitiveDefaultValue +SensitiveDefaultValue string @@ -1910,7 +1910,7 @@ The following output properties are available:
-ValueSet +ValueSet bool @@ -1919,7 +1919,7 @@ The following output properties are available:
-ValueType +ValueType string @@ -1928,7 +1928,7 @@ The following output properties are available:
-Variable +Variable string @@ -1943,7 +1943,7 @@ The following output properties are available:
-dataType +dataType String @@ -1952,7 +1952,7 @@ The following output properties are available:
-defaultValue +defaultValue String @@ -1961,7 +1961,7 @@ The following output properties are available:
-description +description String @@ -1970,7 +1970,7 @@ The following output properties are available:
-designDefaultValue +designDefaultValue String @@ -1979,7 +1979,7 @@ The following output properties are available:
-id +id Double @@ -1988,7 +1988,7 @@ The following output properties are available:
-name +name String @@ -1997,7 +1997,7 @@ The following output properties are available:
-required +required Boolean @@ -2006,7 +2006,7 @@ The following output properties are available:
-sensitive +sensitive Boolean @@ -2015,7 +2015,7 @@ The following output properties are available:
-sensitiveDefaultValue +sensitiveDefaultValue String @@ -2024,7 +2024,7 @@ The following output properties are available:
-valueSet +valueSet Boolean @@ -2033,7 +2033,7 @@ The following output properties are available:
-valueType +valueType String @@ -2042,7 +2042,7 @@ The following output properties are available:
-variable +variable String @@ -2057,7 +2057,7 @@ The following output properties are available:
-dataType +dataType string @@ -2066,7 +2066,7 @@ The following output properties are available:
-defaultValue +defaultValue string @@ -2075,7 +2075,7 @@ The following output properties are available:
-description +description string @@ -2084,7 +2084,7 @@ The following output properties are available:
-designDefaultValue +designDefaultValue string @@ -2093,7 +2093,7 @@ The following output properties are available:
-id +id number @@ -2102,7 +2102,7 @@ The following output properties are available:
-name +name string @@ -2111,7 +2111,7 @@ The following output properties are available:
-required +required boolean @@ -2120,7 +2120,7 @@ The following output properties are available:
-sensitive +sensitive boolean @@ -2129,7 +2129,7 @@ The following output properties are available:
-sensitiveDefaultValue +sensitiveDefaultValue string @@ -2138,7 +2138,7 @@ The following output properties are available:
-valueSet +valueSet boolean @@ -2147,7 +2147,7 @@ The following output properties are available:
-valueType +valueType string @@ -2156,7 +2156,7 @@ The following output properties are available:
-variable +variable string @@ -2171,7 +2171,7 @@ The following output properties are available:
-data_type +data_type str @@ -2180,7 +2180,7 @@ The following output properties are available:
-default_value +default_value str @@ -2189,7 +2189,7 @@ The following output properties are available:
-description +description str @@ -2198,7 +2198,7 @@ The following output properties are available:
-design_default_value +design_default_value str @@ -2207,7 +2207,7 @@ The following output properties are available:
-id +id float @@ -2216,7 +2216,7 @@ The following output properties are available:
-name +name str @@ -2225,7 +2225,7 @@ The following output properties are available:
-required +required bool @@ -2234,7 +2234,7 @@ The following output properties are available:
-sensitive +sensitive bool @@ -2243,7 +2243,7 @@ The following output properties are available:
-sensitive_default_value +sensitive_default_value str @@ -2252,7 +2252,7 @@ The following output properties are available:
-value_set +value_set bool @@ -2261,7 +2261,7 @@ The following output properties are available:
-value_type +value_type str @@ -2270,7 +2270,7 @@ The following output properties are available:
-variable +variable str @@ -2285,7 +2285,7 @@ The following output properties are available:
-dataType +dataType String @@ -2294,7 +2294,7 @@ The following output properties are available:
-defaultValue +defaultValue String @@ -2303,7 +2303,7 @@ The following output properties are available:
-description +description String @@ -2312,7 +2312,7 @@ The following output properties are available:
-designDefaultValue +designDefaultValue String @@ -2321,7 +2321,7 @@ The following output properties are available:
-id +id Number @@ -2330,7 +2330,7 @@ The following output properties are available:
-name +name String @@ -2339,7 +2339,7 @@ The following output properties are available:
-required +required Boolean @@ -2348,7 +2348,7 @@ The following output properties are available:
-sensitive +sensitive Boolean @@ -2357,7 +2357,7 @@ The following output properties are available:
-sensitiveDefaultValue +sensitiveDefaultValue String @@ -2366,7 +2366,7 @@ The following output properties are available:
-valueSet +valueSet Boolean @@ -2375,7 +2375,7 @@ The following output properties are available:
-valueType +valueType String @@ -2384,7 +2384,7 @@ The following output properties are available:
-variable +variable String @@ -2403,7 +2403,7 @@ The following output properties are available:
-Description +Description string @@ -2412,16 +2412,16 @@ The following output properties are available:
-EnvironmentRefs +EnvironmentRefs - List<SsisEnvironmentReferenceResponse> + List<SsisEnvironmentReferenceResponse>

Environment reference in project

-FolderId +FolderId double @@ -2430,7 +2430,7 @@ The following output properties are available:
-Id +Id double @@ -2439,7 +2439,7 @@ The following output properties are available:
-Name +Name string @@ -2448,16 +2448,16 @@ The following output properties are available:
-Parameters +Parameters - List<SsisParameterResponse> + List<SsisParameterResponse>

Parameters in project

-Version +Version double @@ -2472,7 +2472,7 @@ The following output properties are available:
-Description +Description string @@ -2481,16 +2481,16 @@ The following output properties are available:
-EnvironmentRefs +EnvironmentRefs - []SsisEnvironmentReferenceResponse + []SsisEnvironmentReferenceResponse

Environment reference in project

-FolderId +FolderId float64 @@ -2499,7 +2499,7 @@ The following output properties are available:
-Id +Id float64 @@ -2508,7 +2508,7 @@ The following output properties are available:
-Name +Name string @@ -2517,16 +2517,16 @@ The following output properties are available:
-Parameters +Parameters - []SsisParameterResponse + []SsisParameterResponse

Parameters in project

-Version +Version float64 @@ -2541,7 +2541,7 @@ The following output properties are available:
-description +description String @@ -2550,16 +2550,16 @@ The following output properties are available:
-environmentRefs +environmentRefs - List<SsisEnvironmentReferenceResponse> + List<SsisEnvironmentReferenceResponse>

Environment reference in project

-folderId +folderId Double @@ -2568,7 +2568,7 @@ The following output properties are available:
-id +id Double @@ -2577,7 +2577,7 @@ The following output properties are available:
-name +name String @@ -2586,16 +2586,16 @@ The following output properties are available:
-parameters +parameters - List<SsisParameterResponse> + List<SsisParameterResponse>

Parameters in project

-version +version Double @@ -2610,7 +2610,7 @@ The following output properties are available:
-description +description string @@ -2619,16 +2619,16 @@ The following output properties are available:
-environmentRefs +environmentRefs - SsisEnvironmentReferenceResponse[] + SsisEnvironmentReferenceResponse[]

Environment reference in project

-folderId +folderId number @@ -2637,7 +2637,7 @@ The following output properties are available:
-id +id number @@ -2646,7 +2646,7 @@ The following output properties are available:
-name +name string @@ -2655,16 +2655,16 @@ The following output properties are available:
-parameters +parameters - SsisParameterResponse[] + SsisParameterResponse[]

Parameters in project

-version +version number @@ -2679,7 +2679,7 @@ The following output properties are available:
-description +description str @@ -2688,16 +2688,16 @@ The following output properties are available:
-environment_refs +environment_refs - Sequence[SsisEnvironmentReferenceResponse] + Sequence[SsisEnvironmentReferenceResponse]

Environment reference in project

-folder_id +folder_id float @@ -2706,7 +2706,7 @@ The following output properties are available:
-id +id float @@ -2715,7 +2715,7 @@ The following output properties are available:
-name +name str @@ -2724,16 +2724,16 @@ The following output properties are available:
-parameters +parameters - Sequence[SsisParameterResponse] + Sequence[SsisParameterResponse]

Parameters in project

-version +version float @@ -2748,7 +2748,7 @@ The following output properties are available:
-description +description String @@ -2757,16 +2757,16 @@ The following output properties are available:
-environmentRefs +environmentRefs - List<Property Map> + List<Property Map>

Environment reference in project

-folderId +folderId Number @@ -2775,7 +2775,7 @@ The following output properties are available:
-id +id Number @@ -2784,7 +2784,7 @@ The following output properties are available:
-name +name String @@ -2793,16 +2793,16 @@ The following output properties are available:
-parameters +parameters - List<Property Map> + List<Property Map>

Parameters in project

-version +version Number @@ -2821,7 +2821,7 @@ The following output properties are available:
-DataType +DataType string @@ -2830,7 +2830,7 @@ The following output properties are available:
-Description +Description string @@ -2839,7 +2839,7 @@ The following output properties are available:
-Id +Id double @@ -2848,7 +2848,7 @@ The following output properties are available:
-Name +Name string @@ -2857,7 +2857,7 @@ The following output properties are available:
-Sensitive +Sensitive bool @@ -2866,7 +2866,7 @@ The following output properties are available:
-SensitiveValue +SensitiveValue string @@ -2875,7 +2875,7 @@ The following output properties are available:
-Value +Value string @@ -2890,7 +2890,7 @@ The following output properties are available:
-DataType +DataType string @@ -2899,7 +2899,7 @@ The following output properties are available:
-Description +Description string @@ -2908,7 +2908,7 @@ The following output properties are available:
-Id +Id float64 @@ -2917,7 +2917,7 @@ The following output properties are available:
-Name +Name string @@ -2926,7 +2926,7 @@ The following output properties are available:
-Sensitive +Sensitive bool @@ -2935,7 +2935,7 @@ The following output properties are available:
-SensitiveValue +SensitiveValue string @@ -2944,7 +2944,7 @@ The following output properties are available:
-Value +Value string @@ -2959,7 +2959,7 @@ The following output properties are available:
-dataType +dataType String @@ -2968,7 +2968,7 @@ The following output properties are available:
-description +description String @@ -2977,7 +2977,7 @@ The following output properties are available:
-id +id Double @@ -2986,7 +2986,7 @@ The following output properties are available:
-name +name String @@ -2995,7 +2995,7 @@ The following output properties are available:
-sensitive +sensitive Boolean @@ -3004,7 +3004,7 @@ The following output properties are available:
-sensitiveValue +sensitiveValue String @@ -3013,7 +3013,7 @@ The following output properties are available:
-value +value String @@ -3028,7 +3028,7 @@ The following output properties are available:
-dataType +dataType string @@ -3037,7 +3037,7 @@ The following output properties are available:
-description +description string @@ -3046,7 +3046,7 @@ The following output properties are available:
-id +id number @@ -3055,7 +3055,7 @@ The following output properties are available:
-name +name string @@ -3064,7 +3064,7 @@ The following output properties are available:
-sensitive +sensitive boolean @@ -3073,7 +3073,7 @@ The following output properties are available:
-sensitiveValue +sensitiveValue string @@ -3082,7 +3082,7 @@ The following output properties are available:
-value +value string @@ -3097,7 +3097,7 @@ The following output properties are available:
-data_type +data_type str @@ -3106,7 +3106,7 @@ The following output properties are available:
-description +description str @@ -3115,7 +3115,7 @@ The following output properties are available:
-id +id float @@ -3124,7 +3124,7 @@ The following output properties are available:
-name +name str @@ -3133,7 +3133,7 @@ The following output properties are available:
-sensitive +sensitive bool @@ -3142,7 +3142,7 @@ The following output properties are available:
-sensitive_value +sensitive_value str @@ -3151,7 +3151,7 @@ The following output properties are available:
-value +value str @@ -3166,7 +3166,7 @@ The following output properties are available:
-dataType +dataType String @@ -3175,7 +3175,7 @@ The following output properties are available:
-description +description String @@ -3184,7 +3184,7 @@ The following output properties are available:
-id +id Number @@ -3193,7 +3193,7 @@ The following output properties are available:
-name +name String @@ -3202,7 +3202,7 @@ The following output properties are available:
-sensitive +sensitive Boolean @@ -3211,7 +3211,7 @@ The following output properties are available:
-sensitiveValue +sensitiveValue String @@ -3220,7 +3220,7 @@ The following output properties are available:
-value +value String diff --git a/pkg/codegen/testing/test/testdata/output-funcs/docs/liststorageaccountkeys/_index.md b/pkg/codegen/testing/test/testdata/output-funcs/docs/liststorageaccountkeys/_index.md index d56d8369bcda..7c82ec202640 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/docs/liststorageaccountkeys/_index.md +++ b/pkg/codegen/testing/test/testdata/output-funcs/docs/liststorageaccountkeys/_index.md @@ -112,7 +112,7 @@ The following arguments are supported:
-AccountName +AccountName string @@ -121,7 +121,7 @@ The following arguments are supported:
-ResourceGroupName +ResourceGroupName string @@ -130,7 +130,7 @@ The following arguments are supported:
-Expand +Expand string @@ -145,7 +145,7 @@ The following arguments are supported:
-AccountName +AccountName string @@ -154,7 +154,7 @@ The following arguments are supported:
-ResourceGroupName +ResourceGroupName string @@ -163,7 +163,7 @@ The following arguments are supported:
-Expand +Expand string @@ -178,7 +178,7 @@ The following arguments are supported:
-accountName +accountName String @@ -187,7 +187,7 @@ The following arguments are supported:
-resourceGroupName +resourceGroupName String @@ -196,7 +196,7 @@ The following arguments are supported:
-expand +expand String @@ -211,7 +211,7 @@ The following arguments are supported:
-accountName +accountName string @@ -220,7 +220,7 @@ The following arguments are supported:
-resourceGroupName +resourceGroupName string @@ -229,7 +229,7 @@ The following arguments are supported:
-expand +expand string @@ -244,7 +244,7 @@ The following arguments are supported:
-account_name +account_name str @@ -253,7 +253,7 @@ The following arguments are supported:
-resource_group_name +resource_group_name str @@ -262,7 +262,7 @@ The following arguments are supported:
-expand +expand str @@ -277,7 +277,7 @@ The following arguments are supported:
-accountName +accountName String @@ -286,7 +286,7 @@ The following arguments are supported:
-resourceGroupName +resourceGroupName String @@ -295,7 +295,7 @@ The following arguments are supported:
-expand +expand String @@ -319,10 +319,10 @@ The following output properties are available:
-Keys +Keys - List<StorageAccountKeyResponse> + List<StorageAccountKeyResponse>

Gets the list of storage account keys and their properties for the specified storage account.

@@ -334,10 +334,10 @@ The following output properties are available:
-Keys +Keys - []StorageAccountKeyResponse + []StorageAccountKeyResponse

Gets the list of storage account keys and their properties for the specified storage account.

@@ -349,10 +349,10 @@ The following output properties are available:
-keys +keys - List<StorageAccountKeyResponse> + List<StorageAccountKeyResponse>

Gets the list of storage account keys and their properties for the specified storage account.

@@ -364,10 +364,10 @@ The following output properties are available:
-keys +keys - StorageAccountKeyResponse[] + StorageAccountKeyResponse[]

Gets the list of storage account keys and their properties for the specified storage account.

@@ -379,10 +379,10 @@ The following output properties are available:
-keys +keys - Sequence[StorageAccountKeyResponse] + Sequence[StorageAccountKeyResponse]

Gets the list of storage account keys and their properties for the specified storage account.

@@ -394,10 +394,10 @@ The following output properties are available:
-keys +keys - List<Property Map> + List<Property Map>

Gets the list of storage account keys and their properties for the specified storage account.

@@ -419,7 +419,7 @@ The following output properties are available:
-CreationTime +CreationTime string @@ -428,7 +428,7 @@ The following output properties are available:
-KeyName +KeyName string @@ -437,7 +437,7 @@ The following output properties are available:
-Permissions +Permissions string @@ -446,7 +446,7 @@ The following output properties are available:
-Value +Value string @@ -461,7 +461,7 @@ The following output properties are available:
-CreationTime +CreationTime string @@ -470,7 +470,7 @@ The following output properties are available:
-KeyName +KeyName string @@ -479,7 +479,7 @@ The following output properties are available:
-Permissions +Permissions string @@ -488,7 +488,7 @@ The following output properties are available:
-Value +Value string @@ -503,7 +503,7 @@ The following output properties are available:
-creationTime +creationTime String @@ -512,7 +512,7 @@ The following output properties are available:
-keyName +keyName String @@ -521,7 +521,7 @@ The following output properties are available:
-permissions +permissions String @@ -530,7 +530,7 @@ The following output properties are available:
-value +value String @@ -545,7 +545,7 @@ The following output properties are available:
-creationTime +creationTime string @@ -554,7 +554,7 @@ The following output properties are available:
-keyName +keyName string @@ -563,7 +563,7 @@ The following output properties are available:
-permissions +permissions string @@ -572,7 +572,7 @@ The following output properties are available:
-value +value string @@ -587,7 +587,7 @@ The following output properties are available:
-creation_time +creation_time str @@ -596,7 +596,7 @@ The following output properties are available:
-key_name +key_name str @@ -605,7 +605,7 @@ The following output properties are available:
-permissions +permissions str @@ -614,7 +614,7 @@ The following output properties are available:
-value +value str @@ -629,7 +629,7 @@ The following output properties are available:
-creationTime +creationTime String @@ -638,7 +638,7 @@ The following output properties are available:
-keyName +keyName String @@ -647,7 +647,7 @@ The following output properties are available:
-permissions +permissions String @@ -656,7 +656,7 @@ The following output properties are available:
-value +value String diff --git a/pkg/codegen/testing/test/testdata/output-funcs/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/output-funcs/docs/provider/_index.md index a276d97980ab..8348e30a2bfa 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/output-funcs/docs/provider/_index.md @@ -34,7 +34,7 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None) @@ -47,15 +47,15 @@ no_edit_this_page: true
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/plain-and-default/docs/_index.md b/pkg/codegen/testing/test/testdata/plain-and-default/docs/_index.md index e9faa4521603..1eabeb0318bb 100644 --- a/pkg/codegen/testing/test/testdata/plain-and-default/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/plain-and-default/docs/_index.md @@ -13,8 +13,8 @@ no_edit_this_page: true

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/plain-and-default/docs/moduleresource/_index.md b/pkg/codegen/testing/test/testdata/plain-and-default/docs/moduleresource/_index.md index 8bf3f7daa81e..2a430ac6bee2 100644 --- a/pkg/codegen/testing/test/testdata/plain-and-default/docs/moduleresource/_index.md +++ b/pkg/codegen/testing/test/testdata/plain-and-default/docs/moduleresource/_index.md @@ -48,7 +48,7 @@ no_edit_this_page: true required_string: Optional[str] = None) @overload def ModuleResource(resource_name: str, - args: ModuleResourceArgs, + args: ModuleResourceArgs, opts: Optional[ResourceOptions] = None) @@ -61,15 +61,15 @@ no_edit_this_page: true
-
public ModuleResource(string name, ModuleResourceArgs args, CustomResourceOptions? opts = null)
+
public ModuleResource(string name, ModuleResourceArgs args, CustomResourceOptions? opts = null)
-public ModuleResource(String name, ModuleResourceArgs args)
-public ModuleResource(String name, ModuleResourceArgs args, CustomResourceOptions options)
+public ModuleResource(String name, ModuleResourceArgs args)
+public ModuleResource(String name, ModuleResourceArgs args, CustomResourceOptions options)
 
@@ -123,7 +123,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ModuleResourceArgs + ModuleResourceArgs
The arguments to resource properties.
@@ -181,7 +181,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ModuleResourceArgs + ModuleResourceArgs
The arguments to resource properties.
@@ -207,7 +207,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ModuleResourceArgs + ModuleResourceArgs
The arguments to resource properties.
@@ -235,7 +235,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-Plain_required_bool +Plain_required_bool bool @@ -243,7 +243,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-Plain_required_number +Plain_required_number double @@ -251,7 +251,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-Plain_required_string +Plain_required_string string @@ -259,7 +259,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-Required_bool +Required_bool bool @@ -267,15 +267,15 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-Required_enum +Required_enum - Pulumi.FooBar.EnumThing + Pulumi.FooBar.EnumThing
-Required_number +Required_number double @@ -283,7 +283,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-Required_string +Required_string string @@ -291,7 +291,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-Optional_bool +Optional_bool bool @@ -299,15 +299,15 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-Optional_enum +Optional_enum - Pulumi.FooBar.EnumThing + Pulumi.FooBar.EnumThing
-Optional_number +Optional_number double @@ -315,7 +315,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-Optional_string +Optional_string string @@ -323,7 +323,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-Plain_optional_bool +Plain_optional_bool bool @@ -331,7 +331,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-Plain_optional_number +Plain_optional_number double @@ -339,7 +339,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-Plain_optional_string +Plain_optional_string string @@ -353,7 +353,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-Plain_required_bool +Plain_required_bool bool @@ -361,7 +361,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-Plain_required_number +Plain_required_number float64 @@ -369,7 +369,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-Plain_required_string +Plain_required_string string @@ -377,7 +377,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-Required_bool +Required_bool bool @@ -385,15 +385,15 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-Required_enum +Required_enum - EnumThing + EnumThing
-Required_number +Required_number float64 @@ -401,7 +401,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-Required_string +Required_string string @@ -409,7 +409,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-Optional_bool +Optional_bool bool @@ -417,15 +417,15 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-Optional_enum +Optional_enum - EnumThing + EnumThing
-Optional_number +Optional_number float64 @@ -433,7 +433,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-Optional_string +Optional_string string @@ -441,7 +441,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-Plain_optional_bool +Plain_optional_bool bool @@ -449,7 +449,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-Plain_optional_number +Plain_optional_number float64 @@ -457,7 +457,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-Plain_optional_string +Plain_optional_string string @@ -471,7 +471,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-plain_required_bool +plain_required_bool Boolean @@ -479,7 +479,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-plain_required_number +plain_required_number Double @@ -487,7 +487,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-plain_required_string +plain_required_string String @@ -495,7 +495,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-required_bool +required_bool Boolean @@ -503,15 +503,15 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-required_enum +required_enum - EnumThing + EnumThing
-required_number +required_number Double @@ -519,7 +519,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-required_string +required_string String @@ -527,7 +527,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-optional_bool +optional_bool Boolean @@ -535,15 +535,15 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-optional_enum +optional_enum - EnumThing + EnumThing
-optional_number +optional_number Double @@ -551,7 +551,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-optional_string +optional_string String @@ -559,7 +559,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-plain_optional_bool +plain_optional_bool Boolean @@ -567,7 +567,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-plain_optional_number +plain_optional_number Double @@ -575,7 +575,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-plain_optional_string +plain_optional_string String @@ -589,7 +589,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-plain_required_bool +plain_required_bool boolean @@ -597,7 +597,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-plain_required_number +plain_required_number number @@ -605,7 +605,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-plain_required_string +plain_required_string string @@ -613,7 +613,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-required_bool +required_bool boolean @@ -621,15 +621,15 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-required_enum +required_enum - EnumThing + EnumThing
-required_number +required_number number @@ -637,7 +637,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-required_string +required_string string @@ -645,7 +645,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-optional_bool +optional_bool boolean @@ -653,15 +653,15 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-optional_enum +optional_enum - EnumThing + EnumThing
-optional_number +optional_number number @@ -669,7 +669,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-optional_string +optional_string string @@ -677,7 +677,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-plain_optional_bool +plain_optional_bool boolean @@ -685,7 +685,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-plain_optional_number +plain_optional_number number @@ -693,7 +693,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-plain_optional_string +plain_optional_string string @@ -707,7 +707,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-plain_required_bool +plain_required_bool bool @@ -715,7 +715,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-plain_required_number +plain_required_number float @@ -723,7 +723,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-plain_required_string +plain_required_string str @@ -731,7 +731,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-required_bool +required_bool bool @@ -739,15 +739,15 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-required_enum +required_enum - EnumThing + EnumThing
-required_number +required_number float @@ -755,7 +755,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-required_string +required_string str @@ -763,7 +763,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-optional_bool +optional_bool bool @@ -771,15 +771,15 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-optional_enum +optional_enum - EnumThing + EnumThing
-optional_number +optional_number float @@ -787,7 +787,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-optional_string +optional_string str @@ -795,7 +795,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-plain_optional_bool +plain_optional_bool bool @@ -803,7 +803,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-plain_optional_number +plain_optional_number float @@ -811,7 +811,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-plain_optional_string +plain_optional_string str @@ -825,7 +825,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-plain_required_bool +plain_required_bool Boolean @@ -833,7 +833,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-plain_required_number +plain_required_number Number @@ -841,7 +841,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-plain_required_string +plain_required_string String @@ -849,7 +849,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-required_bool +required_bool Boolean @@ -857,15 +857,15 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-required_enum +required_enum - 4 | 6 | 8 + 4 | 6 | 8
-required_number +required_number Number @@ -873,7 +873,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-required_string +required_string String @@ -881,7 +881,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-optional_bool +optional_bool Boolean @@ -889,15 +889,15 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-optional_enum +optional_enum - 4 | 6 | 8 + 4 | 6 | 8
-optional_number +optional_number Number @@ -905,7 +905,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-optional_string +optional_string String @@ -913,7 +913,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-plain_optional_bool +plain_optional_bool Boolean @@ -921,7 +921,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-plain_optional_number +plain_optional_number Number @@ -929,7 +929,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-plain_optional_string +plain_optional_string String @@ -950,7 +950,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -965,7 +965,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -980,7 +980,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -995,7 +995,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -1010,7 +1010,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -1025,7 +1025,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/plain-and-default/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/plain-and-default/docs/provider/_index.md index 1dbcdd7c6428..8525490406ae 100644 --- a/pkg/codegen/testing/test/testdata/plain-and-default/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/plain-and-default/docs/provider/_index.md @@ -34,7 +34,7 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None) @@ -47,15 +47,15 @@ no_edit_this_page: true
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/_index.md b/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/_index.md index 6d0011cb63da..15e0733efb6a 100644 --- a/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/_index.md @@ -13,20 +13,20 @@ no_edit_this_page: true

Modules

Resources

Functions

Package Details

diff --git a/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/foo/_index.md b/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/foo/_index.md index 54ba4e4c99c6..1e829dbb94f7 100644 --- a/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/foo/_index.md +++ b/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/foo/_index.md @@ -40,7 +40,7 @@ test new feature with resoruces settings: Optional[LayeredTypeArgs] = None) @overload def Foo(resource_name: str, - args: FooArgs, + args: FooArgs, opts: Optional[ResourceOptions] = None) @@ -53,15 +53,15 @@ test new feature with resoruces
-
public Foo(string name, FooArgs args, CustomResourceOptions? opts = null)
+
public Foo(string name, FooArgs args, CustomResourceOptions? opts = null)
-public Foo(String name, FooArgs args)
-public Foo(String name, FooArgs args, CustomResourceOptions options)
+public Foo(String name, FooArgs args)
+public Foo(String name, FooArgs args, CustomResourceOptions options)
 
@@ -115,7 +115,7 @@ test new feature with resoruces class="property-required" title="Required"> args - FooArgs + FooArgs
The arguments to resource properties.
@@ -173,7 +173,7 @@ test new feature with resoruces class="property-required" title="Required"> args - FooArgs + FooArgs
The arguments to resource properties.
@@ -199,7 +199,7 @@ test new feature with resoruces class="property-required" title="Required"> args - FooArgs + FooArgs
The arguments to resource properties.
@@ -227,16 +227,16 @@ The Foo resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-BackupKubeClientSettings +BackupKubeClientSettings - KubeClientSettingsArgs + KubeClientSettingsArgs

Options for tuning the Kubernetes client used by a Provider.

-Argument +Argument string @@ -244,19 +244,19 @@ The Foo resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-KubeClientSettings +KubeClientSettings - KubeClientSettingsArgs + KubeClientSettingsArgs

Options for tuning the Kubernetes client used by a Provider.

-Settings +Settings - LayeredTypeArgs + LayeredTypeArgs

describing things

@@ -268,16 +268,16 @@ The Foo resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-BackupKubeClientSettings +BackupKubeClientSettings - KubeClientSettingsArgs + KubeClientSettingsArgs

Options for tuning the Kubernetes client used by a Provider.

-Argument +Argument string @@ -285,19 +285,19 @@ The Foo resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-KubeClientSettings +KubeClientSettings - KubeClientSettingsArgs + KubeClientSettingsArgs

Options for tuning the Kubernetes client used by a Provider.

-Settings +Settings - LayeredTypeArgs + LayeredTypeArgs

describing things

@@ -309,16 +309,16 @@ The Foo resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-backupKubeClientSettings +backupKubeClientSettings - KubeClientSettingsArgs + KubeClientSettingsArgs

Options for tuning the Kubernetes client used by a Provider.

-argument +argument String @@ -326,19 +326,19 @@ The Foo resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-kubeClientSettings +kubeClientSettings - KubeClientSettingsArgs + KubeClientSettingsArgs

Options for tuning the Kubernetes client used by a Provider.

-settings +settings - LayeredTypeArgs + LayeredTypeArgs

describing things

@@ -350,16 +350,16 @@ The Foo resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-backupKubeClientSettings +backupKubeClientSettings - KubeClientSettingsArgs + KubeClientSettingsArgs

Options for tuning the Kubernetes client used by a Provider.

-argument +argument string @@ -367,19 +367,19 @@ The Foo resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-kubeClientSettings +kubeClientSettings - KubeClientSettingsArgs + KubeClientSettingsArgs

Options for tuning the Kubernetes client used by a Provider.

-settings +settings - LayeredTypeArgs + LayeredTypeArgs

describing things

@@ -391,16 +391,16 @@ The Foo resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-backup_kube_client_settings +backup_kube_client_settings - KubeClientSettingsArgs + KubeClientSettingsArgs

Options for tuning the Kubernetes client used by a Provider.

-argument +argument str @@ -408,19 +408,19 @@ The Foo resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-kube_client_settings +kube_client_settings - KubeClientSettingsArgs + KubeClientSettingsArgs

Options for tuning the Kubernetes client used by a Provider.

-settings +settings - LayeredTypeArgs + LayeredTypeArgs

describing things

@@ -432,16 +432,16 @@ The Foo resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-backupKubeClientSettings +backupKubeClientSettings - Property Map + Property Map

Options for tuning the Kubernetes client used by a Provider.

-argument +argument String @@ -449,19 +449,19 @@ The Foo resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-kubeClientSettings +kubeClientSettings - Property Map + Property Map

Options for tuning the Kubernetes client used by a Provider.

-settings +settings - Property Map + Property Map

describing things

@@ -480,7 +480,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -489,10 +489,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-DefaultKubeClientSettings +DefaultKubeClientSettings - KubeClientSettings + KubeClientSettings

A test for plain types

@@ -504,7 +504,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -513,10 +513,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-DefaultKubeClientSettings +DefaultKubeClientSettings - KubeClientSettings + KubeClientSettings

A test for plain types

@@ -528,7 +528,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -537,10 +537,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-defaultKubeClientSettings +defaultKubeClientSettings - KubeClientSettings + KubeClientSettings

A test for plain types

@@ -552,7 +552,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -561,10 +561,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-defaultKubeClientSettings +defaultKubeClientSettings - KubeClientSettings + KubeClientSettings

A test for plain types

@@ -576,7 +576,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -585,10 +585,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-default_kube_client_settings +default_kube_client_settings - KubeClientSettings + KubeClientSettings

A test for plain types

@@ -600,7 +600,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -609,10 +609,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-defaultKubeClientSettings +defaultKubeClientSettings - Property Map + Property Map

A test for plain types

@@ -636,7 +636,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-RequiredArg +RequiredArg string @@ -645,7 +645,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Driver +Driver string @@ -654,7 +654,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-PluginsPath +PluginsPath string @@ -669,7 +669,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-RequiredArg +RequiredArg string @@ -678,7 +678,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Driver +Driver string @@ -687,7 +687,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-PluginsPath +PluginsPath string @@ -702,7 +702,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-requiredArg +requiredArg String @@ -711,7 +711,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-driver +driver String @@ -720,7 +720,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-pluginsPath +pluginsPath String @@ -735,7 +735,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-requiredArg +requiredArg string @@ -744,7 +744,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-driver +driver string @@ -753,7 +753,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-pluginsPath +pluginsPath string @@ -768,7 +768,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-required_arg +required_arg str @@ -777,7 +777,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-driver +driver str @@ -786,7 +786,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-plugins_path +plugins_path str @@ -801,7 +801,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-requiredArg +requiredArg String @@ -810,7 +810,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-driver +driver String @@ -819,7 +819,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-pluginsPath +pluginsPath String @@ -836,7 +836,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Burst +Burst int @@ -845,7 +845,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Qps +Qps double @@ -854,10 +854,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-RecTest +RecTest - KubeClientSettings + KubeClientSettings
@@ -868,7 +868,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Burst +Burst int @@ -877,7 +877,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Qps +Qps float64 @@ -886,10 +886,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-RecTest +RecTest - KubeClientSettings + KubeClientSettings
@@ -900,7 +900,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-burst +burst Integer @@ -909,7 +909,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-qps +qps Double @@ -918,10 +918,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-recTest +recTest - KubeClientSettings + KubeClientSettings
@@ -932,7 +932,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-burst +burst number @@ -941,7 +941,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-qps +qps number @@ -950,10 +950,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-recTest +recTest - KubeClientSettings + KubeClientSettings
@@ -964,7 +964,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-burst +burst int @@ -973,7 +973,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-qps +qps float @@ -982,10 +982,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-rec_test +rec_test - KubeClientSettings + KubeClientSettings
@@ -996,7 +996,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-burst +burst Number @@ -1005,7 +1005,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-qps +qps Number @@ -1014,10 +1014,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-recTest +recTest - Property Map + Property Map
@@ -1030,15 +1030,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Other +Other - HelmReleaseSettings + HelmReleaseSettings
-Thinker +Thinker string @@ -1047,7 +1047,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Answer +Answer double @@ -1056,16 +1056,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-PlainOther +PlainOther - HelmReleaseSettings + HelmReleaseSettings

Test how plain types interact

-Question +Question string @@ -1074,10 +1074,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Recursive +Recursive - LayeredType + LayeredType
@@ -1088,15 +1088,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Other +Other - HelmReleaseSettings + HelmReleaseSettings
-Thinker +Thinker string @@ -1105,7 +1105,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Answer +Answer float64 @@ -1114,16 +1114,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-PlainOther +PlainOther - HelmReleaseSettings + HelmReleaseSettings

Test how plain types interact

-Question +Question string @@ -1132,10 +1132,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Recursive +Recursive - LayeredType + LayeredType
@@ -1146,15 +1146,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-other +other - HelmReleaseSettings + HelmReleaseSettings
-thinker +thinker String @@ -1163,7 +1163,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-answer +answer Double @@ -1172,16 +1172,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-plainOther +plainOther - HelmReleaseSettings + HelmReleaseSettings

Test how plain types interact

-question +question String @@ -1190,10 +1190,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-recursive +recursive - LayeredType + LayeredType
@@ -1204,15 +1204,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-other +other - HelmReleaseSettings + HelmReleaseSettings
-thinker +thinker string @@ -1221,7 +1221,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-answer +answer number @@ -1230,16 +1230,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-plainOther +plainOther - HelmReleaseSettings + HelmReleaseSettings

Test how plain types interact

-question +question string @@ -1248,10 +1248,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-recursive +recursive - LayeredType + LayeredType
@@ -1262,15 +1262,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-other +other - HelmReleaseSettings + HelmReleaseSettings
-thinker +thinker str @@ -1279,7 +1279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-answer +answer float @@ -1288,16 +1288,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-plain_other +plain_other - HelmReleaseSettings + HelmReleaseSettings

Test how plain types interact

-question +question str @@ -1306,10 +1306,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-recursive +recursive - LayeredType + LayeredType
@@ -1320,15 +1320,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-other +other - Property Map + Property Map
-thinker +thinker String @@ -1337,7 +1337,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-answer +answer Number @@ -1346,16 +1346,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-plainOther +plainOther - Property Map + Property Map

Test how plain types interact

-question +question String @@ -1364,10 +1364,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-recursive +recursive - Property Map + Property Map
diff --git a/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/funcwithalloptionalinputs/_index.md b/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/funcwithalloptionalinputs/_index.md index 1bca923e0b4c..3a563532fb69 100644 --- a/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/funcwithalloptionalinputs/_index.md +++ b/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/funcwithalloptionalinputs/_index.md @@ -109,16 +109,16 @@ The following arguments are supported:
-A +A - HelmReleaseSettings + HelmReleaseSettings

Property A

-B +B string @@ -133,16 +133,16 @@ The following arguments are supported:
-A +A - HelmReleaseSettings + HelmReleaseSettings

Property A

-B +B string @@ -157,16 +157,16 @@ The following arguments are supported:
-a +a - HelmReleaseSettings + HelmReleaseSettings

Property A

-b +b String @@ -181,16 +181,16 @@ The following arguments are supported:
-a +a - HelmReleaseSettings + HelmReleaseSettings

Property A

-b +b string @@ -205,16 +205,16 @@ The following arguments are supported:
-a +a - HelmReleaseSettings + HelmReleaseSettings

Property A

-b +b str @@ -229,16 +229,16 @@ The following arguments are supported:
-a +a - Property Map + Property Map

Property A

-b +b String @@ -262,7 +262,7 @@ The following output properties are available:
-R +R string @@ -276,7 +276,7 @@ The following output properties are available:
-R +R string @@ -290,7 +290,7 @@ The following output properties are available:
-r +r String @@ -304,7 +304,7 @@ The following output properties are available:
-r +r string @@ -318,7 +318,7 @@ The following output properties are available:
-r +r str @@ -332,7 +332,7 @@ The following output properties are available:
-r +r String @@ -356,7 +356,7 @@ The following output properties are available:
-RequiredArg +RequiredArg string @@ -365,7 +365,7 @@ The following output properties are available:
-Driver +Driver string @@ -374,7 +374,7 @@ The following output properties are available:
-PluginsPath +PluginsPath string @@ -389,7 +389,7 @@ The following output properties are available:
-RequiredArg +RequiredArg string @@ -398,7 +398,7 @@ The following output properties are available:
-Driver +Driver string @@ -407,7 +407,7 @@ The following output properties are available:
-PluginsPath +PluginsPath string @@ -422,7 +422,7 @@ The following output properties are available:
-requiredArg +requiredArg String @@ -431,7 +431,7 @@ The following output properties are available:
-driver +driver String @@ -440,7 +440,7 @@ The following output properties are available:
-pluginsPath +pluginsPath String @@ -455,7 +455,7 @@ The following output properties are available:
-requiredArg +requiredArg string @@ -464,7 +464,7 @@ The following output properties are available:
-driver +driver string @@ -473,7 +473,7 @@ The following output properties are available:
-pluginsPath +pluginsPath string @@ -488,7 +488,7 @@ The following output properties are available:
-required_arg +required_arg str @@ -497,7 +497,7 @@ The following output properties are available:
-driver +driver str @@ -506,7 +506,7 @@ The following output properties are available:
-plugins_path +plugins_path str @@ -521,7 +521,7 @@ The following output properties are available:
-requiredArg +requiredArg String @@ -530,7 +530,7 @@ The following output properties are available:
-driver +driver String @@ -539,7 +539,7 @@ The following output properties are available:
-pluginsPath +pluginsPath String diff --git a/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/moduletest/_index.md b/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/moduletest/_index.md index 52a2f275a3ac..29ee7de21133 100644 --- a/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/moduletest/_index.md +++ b/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/moduletest/_index.md @@ -36,7 +36,7 @@ no_edit_this_page: true val: Optional[TypArgs] = None) @overload def ModuleTest(resource_name: str, - args: Optional[ModuleTestArgs] = None, + args: Optional[ModuleTestArgs] = None, opts: Optional[ResourceOptions] = None) @@ -49,15 +49,15 @@ no_edit_this_page: true
-
public ModuleTest(string name, ModuleTestArgs? args = null, CustomResourceOptions? opts = null)
+
public ModuleTest(string name, ModuleTestArgs? args = null, CustomResourceOptions? opts = null)
-public ModuleTest(String name, ModuleTestArgs args)
-public ModuleTest(String name, ModuleTestArgs args, CustomResourceOptions options)
+public ModuleTest(String name, ModuleTestArgs args)
+public ModuleTest(String name, ModuleTestArgs args, CustomResourceOptions options)
 
@@ -111,7 +111,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ModuleTestArgs + ModuleTestArgs
The arguments to resource properties.
@@ -169,7 +169,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ModuleTestArgs + ModuleTestArgs
The arguments to resource properties.
@@ -195,7 +195,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ModuleTestArgs + ModuleTestArgs
The arguments to resource properties.
@@ -223,18 +223,18 @@ The ModuleTest resource accepts the following [input](/docs/intro/concepts/input
-Mod1 +Mod1 - Pulumi.Example.Mod1.Inputs.TypArgs + Pulumi.Example.Mod1.Inputs.TypArgs
-Val +Val - TypArgs + TypArgs
@@ -245,18 +245,18 @@ The ModuleTest resource accepts the following [input](/docs/intro/concepts/input
-Mod1 +Mod1 - TypArgs + TypArgs
-Val +Val - TypArgs + TypArgs
@@ -267,18 +267,18 @@ The ModuleTest resource accepts the following [input](/docs/intro/concepts/input
-mod1 +mod1 - TypArgs + TypArgs
-val +val - TypArgs + TypArgs
@@ -289,18 +289,18 @@ The ModuleTest resource accepts the following [input](/docs/intro/concepts/input
-mod1 +mod1 - mod1TypArgs + mod1TypArgs
-val +val - TypArgs + TypArgs
@@ -311,18 +311,18 @@ The ModuleTest resource accepts the following [input](/docs/intro/concepts/input
-mod1 +mod1 - TypArgs + TypArgs
-val +val - TypArgs + TypArgs
@@ -333,18 +333,18 @@ The ModuleTest resource accepts the following [input](/docs/intro/concepts/input
-mod1 +mod1 - Property Map + Property Map
-val +val - Property Map + Property Map
@@ -362,7 +362,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -377,7 +377,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -392,7 +392,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -407,7 +407,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -422,7 +422,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -437,7 +437,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -464,23 +464,23 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Mod1 +Mod1 - Pulumi.Example.Mod1.Inputs.Typ + Pulumi.Example.Mod1.Inputs.Typ
-Mod2 +Mod2 - Pulumi.Example.Mod2.Inputs.Typ + Pulumi.Example.Mod2.Inputs.Typ
-Val +Val string @@ -494,23 +494,23 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Mod1 +Mod1 - Typ + Typ
-Mod2 +Mod2 - Typ + Typ
-Val +Val string @@ -524,23 +524,23 @@ All [input](#inputs) properties are implicitly available as output properties. A
-mod1 +mod1 - Typ + Typ
-mod2 +mod2 - Typ + Typ
-val +val String @@ -554,23 +554,23 @@ All [input](#inputs) properties are implicitly available as output properties. A
-mod1 +mod1 - mod1Typ + mod1Typ
-mod2 +mod2 - mod2Typ + mod2Typ
-val +val string @@ -584,23 +584,23 @@ All [input](#inputs) properties are implicitly available as output properties. A
-mod1 +mod1 - Typ + Typ
-mod2 +mod2 - Typ + Typ
-val +val str @@ -614,23 +614,23 @@ All [input](#inputs) properties are implicitly available as output properties. A
-mod1 +mod1 - Property Map + Property Map
-mod2 +mod2 - Property Map + Property Map
-val +val String @@ -646,7 +646,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Val +Val string @@ -660,7 +660,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Val +Val string @@ -674,7 +674,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-val +val String @@ -688,7 +688,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-val +val string @@ -702,7 +702,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-val +val str @@ -716,7 +716,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-val +val String @@ -732,15 +732,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Mod1 +Mod1 - Pulumi.Example.Mod1.Inputs.Typ + Pulumi.Example.Mod1.Inputs.Typ
-Val +Val string @@ -754,15 +754,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Mod1 +Mod1 - Typ + Typ
-Val +Val string @@ -776,15 +776,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-mod1 +mod1 - Typ + Typ
-val +val String @@ -798,15 +798,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-mod1 +mod1 - mod1Typ + mod1Typ
-val +val string @@ -820,15 +820,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-mod1 +mod1 - Typ + Typ
-val +val str @@ -842,15 +842,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-mod1 +mod1 - Property Map + Property Map
-val +val String diff --git a/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/provider/_index.md index 05dfc8e41729..aa80e01ab1c5 100644 --- a/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/provider/_index.md @@ -37,7 +37,7 @@ The provider type for the kubernetes package. helm_release_settings: Optional[HelmReleaseSettingsArgs] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None) @@ -50,15 +50,15 @@ The provider type for the kubernetes package.
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -112,7 +112,7 @@ The provider type for the kubernetes package. class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -170,7 +170,7 @@ The provider type for the kubernetes package. class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -196,7 +196,7 @@ The provider type for the kubernetes package. class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -224,10 +224,10 @@ The Provider resource accepts the following [input](/docs/intro/concepts/inputs-
-HelmReleaseSettings +HelmReleaseSettings - HelmReleaseSettingsArgs + HelmReleaseSettingsArgs

BETA FEATURE - Options to configure the Helm Release resource.

@@ -239,10 +239,10 @@ The Provider resource accepts the following [input](/docs/intro/concepts/inputs-
-HelmReleaseSettings +HelmReleaseSettings - HelmReleaseSettingsArgs + HelmReleaseSettingsArgs

BETA FEATURE - Options to configure the Helm Release resource.

@@ -254,10 +254,10 @@ The Provider resource accepts the following [input](/docs/intro/concepts/inputs-
-helmReleaseSettings +helmReleaseSettings - HelmReleaseSettingsArgs + HelmReleaseSettingsArgs

BETA FEATURE - Options to configure the Helm Release resource.

@@ -269,10 +269,10 @@ The Provider resource accepts the following [input](/docs/intro/concepts/inputs-
-helmReleaseSettings +helmReleaseSettings - HelmReleaseSettingsArgs + HelmReleaseSettingsArgs

BETA FEATURE - Options to configure the Helm Release resource.

@@ -284,10 +284,10 @@ The Provider resource accepts the following [input](/docs/intro/concepts/inputs-
-helm_release_settings +helm_release_settings - HelmReleaseSettingsArgs + HelmReleaseSettingsArgs

BETA FEATURE - Options to configure the Helm Release resource.

@@ -299,10 +299,10 @@ The Provider resource accepts the following [input](/docs/intro/concepts/inputs-
-helmReleaseSettings +helmReleaseSettings - Property Map + Property Map

BETA FEATURE - Options to configure the Helm Release resource.

@@ -321,7 +321,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -336,7 +336,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -351,7 +351,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -366,7 +366,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -381,7 +381,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -396,7 +396,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -423,7 +423,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-RequiredArg +RequiredArg string @@ -432,7 +432,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Driver +Driver string @@ -441,7 +441,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-PluginsPath +PluginsPath string @@ -456,7 +456,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-RequiredArg +RequiredArg string @@ -465,7 +465,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Driver +Driver string @@ -474,7 +474,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-PluginsPath +PluginsPath string @@ -489,7 +489,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-requiredArg +requiredArg String @@ -498,7 +498,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-driver +driver String @@ -507,7 +507,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-pluginsPath +pluginsPath String @@ -522,7 +522,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-requiredArg +requiredArg string @@ -531,7 +531,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-driver +driver string @@ -540,7 +540,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-pluginsPath +pluginsPath string @@ -555,7 +555,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-required_arg +required_arg str @@ -564,7 +564,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-driver +driver str @@ -573,7 +573,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-plugins_path +plugins_path str @@ -588,7 +588,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-requiredArg +requiredArg String @@ -597,7 +597,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-driver +driver String @@ -606,7 +606,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-pluginsPath +pluginsPath String diff --git a/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/_index.md b/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/_index.md index 6d0011cb63da..15e0733efb6a 100644 --- a/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/_index.md @@ -13,20 +13,20 @@ no_edit_this_page: true

Modules

Resources

Functions

Package Details

diff --git a/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/foo/_index.md b/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/foo/_index.md index 54ba4e4c99c6..1e829dbb94f7 100644 --- a/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/foo/_index.md +++ b/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/foo/_index.md @@ -40,7 +40,7 @@ test new feature with resoruces settings: Optional[LayeredTypeArgs] = None) @overload def Foo(resource_name: str, - args: FooArgs, + args: FooArgs, opts: Optional[ResourceOptions] = None) @@ -53,15 +53,15 @@ test new feature with resoruces
-
public Foo(string name, FooArgs args, CustomResourceOptions? opts = null)
+
public Foo(string name, FooArgs args, CustomResourceOptions? opts = null)
-public Foo(String name, FooArgs args)
-public Foo(String name, FooArgs args, CustomResourceOptions options)
+public Foo(String name, FooArgs args)
+public Foo(String name, FooArgs args, CustomResourceOptions options)
 
@@ -115,7 +115,7 @@ test new feature with resoruces class="property-required" title="Required"> args - FooArgs + FooArgs
The arguments to resource properties.
@@ -173,7 +173,7 @@ test new feature with resoruces class="property-required" title="Required"> args - FooArgs + FooArgs
The arguments to resource properties.
@@ -199,7 +199,7 @@ test new feature with resoruces class="property-required" title="Required"> args - FooArgs + FooArgs
The arguments to resource properties.
@@ -227,16 +227,16 @@ The Foo resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-BackupKubeClientSettings +BackupKubeClientSettings - KubeClientSettingsArgs + KubeClientSettingsArgs

Options for tuning the Kubernetes client used by a Provider.

-Argument +Argument string @@ -244,19 +244,19 @@ The Foo resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-KubeClientSettings +KubeClientSettings - KubeClientSettingsArgs + KubeClientSettingsArgs

Options for tuning the Kubernetes client used by a Provider.

-Settings +Settings - LayeredTypeArgs + LayeredTypeArgs

describing things

@@ -268,16 +268,16 @@ The Foo resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-BackupKubeClientSettings +BackupKubeClientSettings - KubeClientSettingsArgs + KubeClientSettingsArgs

Options for tuning the Kubernetes client used by a Provider.

-Argument +Argument string @@ -285,19 +285,19 @@ The Foo resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-KubeClientSettings +KubeClientSettings - KubeClientSettingsArgs + KubeClientSettingsArgs

Options for tuning the Kubernetes client used by a Provider.

-Settings +Settings - LayeredTypeArgs + LayeredTypeArgs

describing things

@@ -309,16 +309,16 @@ The Foo resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-backupKubeClientSettings +backupKubeClientSettings - KubeClientSettingsArgs + KubeClientSettingsArgs

Options for tuning the Kubernetes client used by a Provider.

-argument +argument String @@ -326,19 +326,19 @@ The Foo resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-kubeClientSettings +kubeClientSettings - KubeClientSettingsArgs + KubeClientSettingsArgs

Options for tuning the Kubernetes client used by a Provider.

-settings +settings - LayeredTypeArgs + LayeredTypeArgs

describing things

@@ -350,16 +350,16 @@ The Foo resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-backupKubeClientSettings +backupKubeClientSettings - KubeClientSettingsArgs + KubeClientSettingsArgs

Options for tuning the Kubernetes client used by a Provider.

-argument +argument string @@ -367,19 +367,19 @@ The Foo resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-kubeClientSettings +kubeClientSettings - KubeClientSettingsArgs + KubeClientSettingsArgs

Options for tuning the Kubernetes client used by a Provider.

-settings +settings - LayeredTypeArgs + LayeredTypeArgs

describing things

@@ -391,16 +391,16 @@ The Foo resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-backup_kube_client_settings +backup_kube_client_settings - KubeClientSettingsArgs + KubeClientSettingsArgs

Options for tuning the Kubernetes client used by a Provider.

-argument +argument str @@ -408,19 +408,19 @@ The Foo resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-kube_client_settings +kube_client_settings - KubeClientSettingsArgs + KubeClientSettingsArgs

Options for tuning the Kubernetes client used by a Provider.

-settings +settings - LayeredTypeArgs + LayeredTypeArgs

describing things

@@ -432,16 +432,16 @@ The Foo resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-backupKubeClientSettings +backupKubeClientSettings - Property Map + Property Map

Options for tuning the Kubernetes client used by a Provider.

-argument +argument String @@ -449,19 +449,19 @@ The Foo resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-kubeClientSettings +kubeClientSettings - Property Map + Property Map

Options for tuning the Kubernetes client used by a Provider.

-settings +settings - Property Map + Property Map

describing things

@@ -480,7 +480,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -489,10 +489,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-DefaultKubeClientSettings +DefaultKubeClientSettings - KubeClientSettings + KubeClientSettings

A test for plain types

@@ -504,7 +504,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -513,10 +513,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-DefaultKubeClientSettings +DefaultKubeClientSettings - KubeClientSettings + KubeClientSettings

A test for plain types

@@ -528,7 +528,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -537,10 +537,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-defaultKubeClientSettings +defaultKubeClientSettings - KubeClientSettings + KubeClientSettings

A test for plain types

@@ -552,7 +552,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -561,10 +561,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-defaultKubeClientSettings +defaultKubeClientSettings - KubeClientSettings + KubeClientSettings

A test for plain types

@@ -576,7 +576,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -585,10 +585,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-default_kube_client_settings +default_kube_client_settings - KubeClientSettings + KubeClientSettings

A test for plain types

@@ -600,7 +600,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -609,10 +609,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-defaultKubeClientSettings +defaultKubeClientSettings - Property Map + Property Map

A test for plain types

@@ -636,7 +636,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-RequiredArg +RequiredArg string @@ -645,7 +645,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Driver +Driver string @@ -654,7 +654,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-PluginsPath +PluginsPath string @@ -669,7 +669,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-RequiredArg +RequiredArg string @@ -678,7 +678,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Driver +Driver string @@ -687,7 +687,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-PluginsPath +PluginsPath string @@ -702,7 +702,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-requiredArg +requiredArg String @@ -711,7 +711,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-driver +driver String @@ -720,7 +720,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-pluginsPath +pluginsPath String @@ -735,7 +735,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-requiredArg +requiredArg string @@ -744,7 +744,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-driver +driver string @@ -753,7 +753,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-pluginsPath +pluginsPath string @@ -768,7 +768,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-required_arg +required_arg str @@ -777,7 +777,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-driver +driver str @@ -786,7 +786,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-plugins_path +plugins_path str @@ -801,7 +801,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-requiredArg +requiredArg String @@ -810,7 +810,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-driver +driver String @@ -819,7 +819,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-pluginsPath +pluginsPath String @@ -836,7 +836,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Burst +Burst int @@ -845,7 +845,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Qps +Qps double @@ -854,10 +854,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-RecTest +RecTest - KubeClientSettings + KubeClientSettings
@@ -868,7 +868,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Burst +Burst int @@ -877,7 +877,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Qps +Qps float64 @@ -886,10 +886,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-RecTest +RecTest - KubeClientSettings + KubeClientSettings
@@ -900,7 +900,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-burst +burst Integer @@ -909,7 +909,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-qps +qps Double @@ -918,10 +918,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-recTest +recTest - KubeClientSettings + KubeClientSettings
@@ -932,7 +932,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-burst +burst number @@ -941,7 +941,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-qps +qps number @@ -950,10 +950,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-recTest +recTest - KubeClientSettings + KubeClientSettings
@@ -964,7 +964,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-burst +burst int @@ -973,7 +973,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-qps +qps float @@ -982,10 +982,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-rec_test +rec_test - KubeClientSettings + KubeClientSettings
@@ -996,7 +996,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-burst +burst Number @@ -1005,7 +1005,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-qps +qps Number @@ -1014,10 +1014,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-recTest +recTest - Property Map + Property Map
@@ -1030,15 +1030,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Other +Other - HelmReleaseSettings + HelmReleaseSettings
-Thinker +Thinker string @@ -1047,7 +1047,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Answer +Answer double @@ -1056,16 +1056,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-PlainOther +PlainOther - HelmReleaseSettings + HelmReleaseSettings

Test how plain types interact

-Question +Question string @@ -1074,10 +1074,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Recursive +Recursive - LayeredType + LayeredType
@@ -1088,15 +1088,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Other +Other - HelmReleaseSettings + HelmReleaseSettings
-Thinker +Thinker string @@ -1105,7 +1105,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Answer +Answer float64 @@ -1114,16 +1114,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-PlainOther +PlainOther - HelmReleaseSettings + HelmReleaseSettings

Test how plain types interact

-Question +Question string @@ -1132,10 +1132,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Recursive +Recursive - LayeredType + LayeredType
@@ -1146,15 +1146,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-other +other - HelmReleaseSettings + HelmReleaseSettings
-thinker +thinker String @@ -1163,7 +1163,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-answer +answer Double @@ -1172,16 +1172,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-plainOther +plainOther - HelmReleaseSettings + HelmReleaseSettings

Test how plain types interact

-question +question String @@ -1190,10 +1190,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-recursive +recursive - LayeredType + LayeredType
@@ -1204,15 +1204,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-other +other - HelmReleaseSettings + HelmReleaseSettings
-thinker +thinker string @@ -1221,7 +1221,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-answer +answer number @@ -1230,16 +1230,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-plainOther +plainOther - HelmReleaseSettings + HelmReleaseSettings

Test how plain types interact

-question +question string @@ -1248,10 +1248,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-recursive +recursive - LayeredType + LayeredType
@@ -1262,15 +1262,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-other +other - HelmReleaseSettings + HelmReleaseSettings
-thinker +thinker str @@ -1279,7 +1279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-answer +answer float @@ -1288,16 +1288,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-plain_other +plain_other - HelmReleaseSettings + HelmReleaseSettings

Test how plain types interact

-question +question str @@ -1306,10 +1306,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-recursive +recursive - LayeredType + LayeredType
@@ -1320,15 +1320,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-other +other - Property Map + Property Map
-thinker +thinker String @@ -1337,7 +1337,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-answer +answer Number @@ -1346,16 +1346,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-plainOther +plainOther - Property Map + Property Map

Test how plain types interact

-question +question String @@ -1364,10 +1364,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-recursive +recursive - Property Map + Property Map
diff --git a/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/funcwithalloptionalinputs/_index.md b/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/funcwithalloptionalinputs/_index.md index 3345b1b26661..fd97b73dd418 100644 --- a/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/funcwithalloptionalinputs/_index.md +++ b/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/funcwithalloptionalinputs/_index.md @@ -109,16 +109,16 @@ The following arguments are supported:
-A +A - HelmReleaseSettings + HelmReleaseSettings

Property A

-B +B string @@ -133,16 +133,16 @@ The following arguments are supported:
-A +A - HelmReleaseSettings + HelmReleaseSettings

Property A

-B +B string @@ -157,16 +157,16 @@ The following arguments are supported:
-a +a - HelmReleaseSettings + HelmReleaseSettings

Property A

-b +b String @@ -181,16 +181,16 @@ The following arguments are supported:
-a +a - HelmReleaseSettings + HelmReleaseSettings

Property A

-b +b string @@ -205,16 +205,16 @@ The following arguments are supported:
-a +a - HelmReleaseSettings + HelmReleaseSettings

Property A

-b +b str @@ -229,16 +229,16 @@ The following arguments are supported:
-a +a - Property Map + Property Map

Property A

-b +b String @@ -262,7 +262,7 @@ The following output properties are available:
-R +R string @@ -276,7 +276,7 @@ The following output properties are available:
-R +R string @@ -290,7 +290,7 @@ The following output properties are available:
-r +r String @@ -304,7 +304,7 @@ The following output properties are available:
-r +r string @@ -318,7 +318,7 @@ The following output properties are available:
-r +r str @@ -332,7 +332,7 @@ The following output properties are available:
-r +r String @@ -356,7 +356,7 @@ The following output properties are available:
-RequiredArg +RequiredArg string @@ -365,7 +365,7 @@ The following output properties are available:
-Driver +Driver string @@ -374,7 +374,7 @@ The following output properties are available:
-PluginsPath +PluginsPath string @@ -389,7 +389,7 @@ The following output properties are available:
-RequiredArg +RequiredArg string @@ -398,7 +398,7 @@ The following output properties are available:
-Driver +Driver string @@ -407,7 +407,7 @@ The following output properties are available:
-PluginsPath +PluginsPath string @@ -422,7 +422,7 @@ The following output properties are available:
-requiredArg +requiredArg String @@ -431,7 +431,7 @@ The following output properties are available:
-driver +driver String @@ -440,7 +440,7 @@ The following output properties are available:
-pluginsPath +pluginsPath String @@ -455,7 +455,7 @@ The following output properties are available:
-requiredArg +requiredArg string @@ -464,7 +464,7 @@ The following output properties are available:
-driver +driver string @@ -473,7 +473,7 @@ The following output properties are available:
-pluginsPath +pluginsPath string @@ -488,7 +488,7 @@ The following output properties are available:
-required_arg +required_arg str @@ -497,7 +497,7 @@ The following output properties are available:
-driver +driver str @@ -506,7 +506,7 @@ The following output properties are available:
-plugins_path +plugins_path str @@ -521,7 +521,7 @@ The following output properties are available:
-requiredArg +requiredArg String @@ -530,7 +530,7 @@ The following output properties are available:
-driver +driver String @@ -539,7 +539,7 @@ The following output properties are available:
-pluginsPath +pluginsPath String diff --git a/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/moduletest/_index.md b/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/moduletest/_index.md index 52a2f275a3ac..29ee7de21133 100644 --- a/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/moduletest/_index.md +++ b/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/moduletest/_index.md @@ -36,7 +36,7 @@ no_edit_this_page: true val: Optional[TypArgs] = None) @overload def ModuleTest(resource_name: str, - args: Optional[ModuleTestArgs] = None, + args: Optional[ModuleTestArgs] = None, opts: Optional[ResourceOptions] = None) @@ -49,15 +49,15 @@ no_edit_this_page: true
-
public ModuleTest(string name, ModuleTestArgs? args = null, CustomResourceOptions? opts = null)
+
public ModuleTest(string name, ModuleTestArgs? args = null, CustomResourceOptions? opts = null)
-public ModuleTest(String name, ModuleTestArgs args)
-public ModuleTest(String name, ModuleTestArgs args, CustomResourceOptions options)
+public ModuleTest(String name, ModuleTestArgs args)
+public ModuleTest(String name, ModuleTestArgs args, CustomResourceOptions options)
 
@@ -111,7 +111,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ModuleTestArgs + ModuleTestArgs
The arguments to resource properties.
@@ -169,7 +169,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ModuleTestArgs + ModuleTestArgs
The arguments to resource properties.
@@ -195,7 +195,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ModuleTestArgs + ModuleTestArgs
The arguments to resource properties.
@@ -223,18 +223,18 @@ The ModuleTest resource accepts the following [input](/docs/intro/concepts/input
-Mod1 +Mod1 - Pulumi.Example.Mod1.Inputs.TypArgs + Pulumi.Example.Mod1.Inputs.TypArgs
-Val +Val - TypArgs + TypArgs
@@ -245,18 +245,18 @@ The ModuleTest resource accepts the following [input](/docs/intro/concepts/input
-Mod1 +Mod1 - TypArgs + TypArgs
-Val +Val - TypArgs + TypArgs
@@ -267,18 +267,18 @@ The ModuleTest resource accepts the following [input](/docs/intro/concepts/input
-mod1 +mod1 - TypArgs + TypArgs
-val +val - TypArgs + TypArgs
@@ -289,18 +289,18 @@ The ModuleTest resource accepts the following [input](/docs/intro/concepts/input
-mod1 +mod1 - mod1TypArgs + mod1TypArgs
-val +val - TypArgs + TypArgs
@@ -311,18 +311,18 @@ The ModuleTest resource accepts the following [input](/docs/intro/concepts/input
-mod1 +mod1 - TypArgs + TypArgs
-val +val - TypArgs + TypArgs
@@ -333,18 +333,18 @@ The ModuleTest resource accepts the following [input](/docs/intro/concepts/input
-mod1 +mod1 - Property Map + Property Map
-val +val - Property Map + Property Map
@@ -362,7 +362,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -377,7 +377,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -392,7 +392,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -407,7 +407,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -422,7 +422,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -437,7 +437,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -464,23 +464,23 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Mod1 +Mod1 - Pulumi.Example.Mod1.Inputs.Typ + Pulumi.Example.Mod1.Inputs.Typ
-Mod2 +Mod2 - Pulumi.Example.Mod2.Inputs.Typ + Pulumi.Example.Mod2.Inputs.Typ
-Val +Val string @@ -494,23 +494,23 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Mod1 +Mod1 - Typ + Typ
-Mod2 +Mod2 - Typ + Typ
-Val +Val string @@ -524,23 +524,23 @@ All [input](#inputs) properties are implicitly available as output properties. A
-mod1 +mod1 - Typ + Typ
-mod2 +mod2 - Typ + Typ
-val +val String @@ -554,23 +554,23 @@ All [input](#inputs) properties are implicitly available as output properties. A
-mod1 +mod1 - mod1Typ + mod1Typ
-mod2 +mod2 - mod2Typ + mod2Typ
-val +val string @@ -584,23 +584,23 @@ All [input](#inputs) properties are implicitly available as output properties. A
-mod1 +mod1 - Typ + Typ
-mod2 +mod2 - Typ + Typ
-val +val str @@ -614,23 +614,23 @@ All [input](#inputs) properties are implicitly available as output properties. A
-mod1 +mod1 - Property Map + Property Map
-mod2 +mod2 - Property Map + Property Map
-val +val String @@ -646,7 +646,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Val +Val string @@ -660,7 +660,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Val +Val string @@ -674,7 +674,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-val +val String @@ -688,7 +688,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-val +val string @@ -702,7 +702,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-val +val str @@ -716,7 +716,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-val +val String @@ -732,15 +732,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Mod1 +Mod1 - Pulumi.Example.Mod1.Inputs.Typ + Pulumi.Example.Mod1.Inputs.Typ
-Val +Val string @@ -754,15 +754,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Mod1 +Mod1 - Typ + Typ
-Val +Val string @@ -776,15 +776,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-mod1 +mod1 - Typ + Typ
-val +val String @@ -798,15 +798,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-mod1 +mod1 - mod1Typ + mod1Typ
-val +val string @@ -820,15 +820,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-mod1 +mod1 - Typ + Typ
-val +val str @@ -842,15 +842,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-mod1 +mod1 - Property Map + Property Map
-val +val String diff --git a/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/provider/_index.md index 05dfc8e41729..aa80e01ab1c5 100644 --- a/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/provider/_index.md @@ -37,7 +37,7 @@ The provider type for the kubernetes package. helm_release_settings: Optional[HelmReleaseSettingsArgs] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None) @@ -50,15 +50,15 @@ The provider type for the kubernetes package.
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -112,7 +112,7 @@ The provider type for the kubernetes package. class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -170,7 +170,7 @@ The provider type for the kubernetes package. class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -196,7 +196,7 @@ The provider type for the kubernetes package. class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -224,10 +224,10 @@ The Provider resource accepts the following [input](/docs/intro/concepts/inputs-
-HelmReleaseSettings +HelmReleaseSettings - HelmReleaseSettingsArgs + HelmReleaseSettingsArgs

BETA FEATURE - Options to configure the Helm Release resource.

@@ -239,10 +239,10 @@ The Provider resource accepts the following [input](/docs/intro/concepts/inputs-
-HelmReleaseSettings +HelmReleaseSettings - HelmReleaseSettingsArgs + HelmReleaseSettingsArgs

BETA FEATURE - Options to configure the Helm Release resource.

@@ -254,10 +254,10 @@ The Provider resource accepts the following [input](/docs/intro/concepts/inputs-
-helmReleaseSettings +helmReleaseSettings - HelmReleaseSettingsArgs + HelmReleaseSettingsArgs

BETA FEATURE - Options to configure the Helm Release resource.

@@ -269,10 +269,10 @@ The Provider resource accepts the following [input](/docs/intro/concepts/inputs-
-helmReleaseSettings +helmReleaseSettings - HelmReleaseSettingsArgs + HelmReleaseSettingsArgs

BETA FEATURE - Options to configure the Helm Release resource.

@@ -284,10 +284,10 @@ The Provider resource accepts the following [input](/docs/intro/concepts/inputs-
-helm_release_settings +helm_release_settings - HelmReleaseSettingsArgs + HelmReleaseSettingsArgs

BETA FEATURE - Options to configure the Helm Release resource.

@@ -299,10 +299,10 @@ The Provider resource accepts the following [input](/docs/intro/concepts/inputs-
-helmReleaseSettings +helmReleaseSettings - Property Map + Property Map

BETA FEATURE - Options to configure the Helm Release resource.

@@ -321,7 +321,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -336,7 +336,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -351,7 +351,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -366,7 +366,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -381,7 +381,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -396,7 +396,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -423,7 +423,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-RequiredArg +RequiredArg string @@ -432,7 +432,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Driver +Driver string @@ -441,7 +441,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-PluginsPath +PluginsPath string @@ -456,7 +456,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-RequiredArg +RequiredArg string @@ -465,7 +465,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Driver +Driver string @@ -474,7 +474,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-PluginsPath +PluginsPath string @@ -489,7 +489,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-requiredArg +requiredArg String @@ -498,7 +498,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-driver +driver String @@ -507,7 +507,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-pluginsPath +pluginsPath String @@ -522,7 +522,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-requiredArg +requiredArg string @@ -531,7 +531,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-driver +driver string @@ -540,7 +540,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-pluginsPath +pluginsPath string @@ -555,7 +555,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-required_arg +required_arg str @@ -564,7 +564,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-driver +driver str @@ -573,7 +573,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-plugins_path +plugins_path str @@ -588,7 +588,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-requiredArg +requiredArg String @@ -597,7 +597,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-driver +driver String @@ -606,7 +606,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-pluginsPath +pluginsPath String diff --git a/pkg/codegen/testing/test/testdata/plain-schema-gh6957/docs/_index.md b/pkg/codegen/testing/test/testdata/plain-schema-gh6957/docs/_index.md index 1418b701bd43..656cd1230473 100644 --- a/pkg/codegen/testing/test/testdata/plain-schema-gh6957/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/plain-schema-gh6957/docs/_index.md @@ -13,8 +13,8 @@ no_edit_this_page: true

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/plain-schema-gh6957/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/plain-schema-gh6957/docs/provider/_index.md index 343d2534ec69..0d19bd7f42a7 100644 --- a/pkg/codegen/testing/test/testdata/plain-schema-gh6957/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/plain-schema-gh6957/docs/provider/_index.md @@ -34,7 +34,7 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None) @@ -47,15 +47,15 @@ no_edit_this_page: true
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String 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..e45e05d47cbc 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 @@ -36,7 +36,7 @@ no_edit_this_page: true index_content: Optional[str] = None) @overload def StaticPage(resource_name: str, - args: StaticPageArgs, + args: StaticPageArgs, opts: Optional[ResourceOptions] = None) @@ -49,15 +49,15 @@ no_edit_this_page: true
-
public StaticPage(string name, StaticPageArgs args, CustomResourceOptions? opts = null)
+
public StaticPage(string name, StaticPageArgs args, CustomResourceOptions? opts = null)
-public StaticPage(String name, StaticPageArgs args)
-public StaticPage(String name, StaticPageArgs args, CustomResourceOptions options)
+public StaticPage(String name, StaticPageArgs args)
+public StaticPage(String name, StaticPageArgs args, CustomResourceOptions options)
 
@@ -111,7 +111,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - StaticPageArgs + StaticPageArgs
The arguments to resource properties.
@@ -169,7 +169,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - StaticPageArgs + StaticPageArgs
The arguments to resource properties.
@@ -195,7 +195,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - StaticPageArgs + StaticPageArgs
The arguments to resource properties.
@@ -223,7 +223,7 @@ The StaticPage resource accepts the following [input](/docs/intro/concepts/input
-IndexContent +IndexContent string @@ -232,10 +232,10 @@ The StaticPage resource accepts the following [input](/docs/intro/concepts/input
-Foo +Foo - FooArgs + FooArgs
@@ -246,7 +246,7 @@ The StaticPage resource accepts the following [input](/docs/intro/concepts/input
-IndexContent +IndexContent string @@ -255,10 +255,10 @@ The StaticPage resource accepts the following [input](/docs/intro/concepts/input
-Foo +Foo - FooArgs + FooArgs
@@ -269,7 +269,7 @@ The StaticPage resource accepts the following [input](/docs/intro/concepts/input
-indexContent +indexContent String @@ -278,10 +278,10 @@ The StaticPage resource accepts the following [input](/docs/intro/concepts/input
-foo +foo - FooArgs + FooArgs
@@ -292,7 +292,7 @@ The StaticPage resource accepts the following [input](/docs/intro/concepts/input
-indexContent +indexContent string @@ -301,10 +301,10 @@ The StaticPage resource accepts the following [input](/docs/intro/concepts/input
-foo +foo - FooArgs + FooArgs
@@ -315,7 +315,7 @@ The StaticPage resource accepts the following [input](/docs/intro/concepts/input
-index_content +index_content str @@ -324,10 +324,10 @@ The StaticPage resource accepts the following [input](/docs/intro/concepts/input
-foo +foo - FooArgs + FooArgs
@@ -338,7 +338,7 @@ The StaticPage resource accepts the following [input](/docs/intro/concepts/input
-indexContent +indexContent String @@ -347,10 +347,10 @@ The StaticPage resource accepts the following [input](/docs/intro/concepts/input
-foo +foo - Property Map + Property Map
@@ -368,7 +368,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Bucket +Bucket Pulumi.Aws.S3.Bucket @@ -377,7 +377,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-WebsiteUrl +WebsiteUrl string @@ -392,7 +392,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Bucket +Bucket Bucket @@ -401,7 +401,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-WebsiteUrl +WebsiteUrl string @@ -416,7 +416,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bucket +bucket Bucket @@ -425,7 +425,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-websiteUrl +websiteUrl String @@ -440,7 +440,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bucket +bucket pulumiAwss3Bucket @@ -449,7 +449,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-websiteUrl +websiteUrl string @@ -464,7 +464,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bucket +bucket Bucket @@ -473,7 +473,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-website_url +website_url str @@ -488,7 +488,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bucket +bucket aws:s3:Bucket @@ -497,7 +497,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-websiteUrl +websiteUrl String @@ -524,7 +524,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-A +A bool @@ -538,7 +538,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-A +A bool @@ -552,7 +552,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-a +a Boolean @@ -566,7 +566,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-a +a boolean @@ -580,7 +580,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-a +a bool @@ -594,7 +594,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-a +a Boolean diff --git a/pkg/codegen/testing/test/testdata/provider-config-schema/docs/_index.md b/pkg/codegen/testing/test/testdata/provider-config-schema/docs/_index.md index c4b5d9778cee..da39de4205c9 100644 --- a/pkg/codegen/testing/test/testdata/provider-config-schema/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/provider-config-schema/docs/_index.md @@ -13,12 +13,12 @@ no_edit_this_page: true

Resources

Functions

Package Details

diff --git a/pkg/codegen/testing/test/testdata/provider-config-schema/docs/funcwithalloptionalinputs/_index.md b/pkg/codegen/testing/test/testdata/provider-config-schema/docs/funcwithalloptionalinputs/_index.md index 8147383d3782..60d04d0df384 100644 --- a/pkg/codegen/testing/test/testdata/provider-config-schema/docs/funcwithalloptionalinputs/_index.md +++ b/pkg/codegen/testing/test/testdata/provider-config-schema/docs/funcwithalloptionalinputs/_index.md @@ -109,7 +109,7 @@ The following arguments are supported:
-A +A string @@ -118,7 +118,7 @@ The following arguments are supported:
-B +B string @@ -133,7 +133,7 @@ The following arguments are supported:
-A +A string @@ -142,7 +142,7 @@ The following arguments are supported:
-B +B string @@ -157,7 +157,7 @@ The following arguments are supported:
-a +a String @@ -166,7 +166,7 @@ The following arguments are supported:
-b +b String @@ -181,7 +181,7 @@ The following arguments are supported:
-a +a string @@ -190,7 +190,7 @@ The following arguments are supported:
-b +b string @@ -205,7 +205,7 @@ The following arguments are supported:
-a +a str @@ -214,7 +214,7 @@ The following arguments are supported:
-b +b str @@ -229,7 +229,7 @@ The following arguments are supported:
-a +a String @@ -238,7 +238,7 @@ The following arguments are supported:
-b +b String @@ -262,7 +262,7 @@ The following output properties are available:
-R +R string @@ -276,7 +276,7 @@ The following output properties are available:
-R +R string @@ -290,7 +290,7 @@ The following output properties are available:
-r +r String @@ -304,7 +304,7 @@ The following output properties are available:
-r +r string @@ -318,7 +318,7 @@ The following output properties are available:
-r +r str @@ -332,7 +332,7 @@ The following output properties are available:
-r +r String diff --git a/pkg/codegen/testing/test/testdata/provider-config-schema/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/provider-config-schema/docs/provider/_index.md index 29b28485a2f4..7121adbc044b 100644 --- a/pkg/codegen/testing/test/testdata/provider-config-schema/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/provider-config-schema/docs/provider/_index.md @@ -35,7 +35,7 @@ no_edit_this_page: true favorite_color: Optional[Union[str, Color]] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None) @@ -48,15 +48,15 @@ no_edit_this_page: true
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -110,7 +110,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -168,7 +168,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -194,7 +194,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -222,10 +222,10 @@ The Provider resource accepts the following [input](/docs/intro/concepts/inputs-
-FavoriteColor +FavoriteColor - string | Configstation.Pulumi.Configstation.Color + string | Configstation.Pulumi.Configstation.Color

this is a relaxed string enum which can also be set via env var It can also be sourced from the following environment variable: FAVE_COLOR

@@ -237,10 +237,10 @@ The Provider resource accepts the following [input](/docs/intro/concepts/inputs-
-FavoriteColor +FavoriteColor - string | Color + string | Color

this is a relaxed string enum which can also be set via env var It can also be sourced from the following environment variable: FAVE_COLOR

@@ -252,10 +252,10 @@ The Provider resource accepts the following [input](/docs/intro/concepts/inputs-
-favoriteColor +favoriteColor - String | Color + String | Color

this is a relaxed string enum which can also be set via env var It can also be sourced from the following environment variable: FAVE_COLOR

@@ -267,10 +267,10 @@ The Provider resource accepts the following [input](/docs/intro/concepts/inputs-
-favoriteColor +favoriteColor - string | Color + string | Color

this is a relaxed string enum which can also be set via env var It can also be sourced from the following environment variable: FAVE_COLOR

@@ -282,10 +282,10 @@ The Provider resource accepts the following [input](/docs/intro/concepts/inputs-
-favorite_color +favorite_color - str | Color + str | Color

this is a relaxed string enum which can also be set via env var It can also be sourced from the following environment variable: FAVE_COLOR

@@ -297,10 +297,10 @@ The Provider resource accepts the following [input](/docs/intro/concepts/inputs-
-favoriteColor +favoriteColor - String | "blue" | "red" + String | "blue" | "red"

this is a relaxed string enum which can also be set via env var It can also be sourced from the following environment variable: FAVE_COLOR

@@ -319,7 +319,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -334,7 +334,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -349,7 +349,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -364,7 +364,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -379,7 +379,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -394,7 +394,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/regress-8403/docs/_index.md b/pkg/codegen/testing/test/testdata/regress-8403/docs/_index.md index 20654b6c95ad..9a5ca92adf00 100644 --- a/pkg/codegen/testing/test/testdata/regress-8403/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/regress-8403/docs/_index.md @@ -13,12 +13,12 @@ no_edit_this_page: true

Resources

Functions

Package Details

diff --git a/pkg/codegen/testing/test/testdata/regress-8403/docs/getcustomdbroles/_index.md b/pkg/codegen/testing/test/testdata/regress-8403/docs/getcustomdbroles/_index.md index 468025e595c8..7a78568e11e5 100644 --- a/pkg/codegen/testing/test/testdata/regress-8403/docs/getcustomdbroles/_index.md +++ b/pkg/codegen/testing/test/testdata/regress-8403/docs/getcustomdbroles/_index.md @@ -136,10 +136,10 @@ The following output properties are available:
-Result +Result - GetCustomDbRolesResult + GetCustomDbRolesResult
@@ -150,10 +150,10 @@ The following output properties are available:
-Result +Result - GetCustomDbRolesResult + GetCustomDbRolesResult
@@ -164,10 +164,10 @@ The following output properties are available:
-result +result - GetCustomDbRolesResult + GetCustomDbRolesResult
@@ -178,10 +178,10 @@ The following output properties are available:
-result +result - GetCustomDbRolesResult + GetCustomDbRolesResult
@@ -192,10 +192,10 @@ The following output properties are available:
-result +result - GetCustomDbRolesResult + GetCustomDbRolesResult
@@ -206,10 +206,10 @@ The following output properties are available:
-result +result - Property Map + Property Map
diff --git a/pkg/codegen/testing/test/testdata/regress-8403/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/regress-8403/docs/provider/_index.md index 31ecbf300a15..08eee25c86f2 100644 --- a/pkg/codegen/testing/test/testdata/regress-8403/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/regress-8403/docs/provider/_index.md @@ -34,7 +34,7 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None) @@ -47,15 +47,15 @@ no_edit_this_page: true
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/regress-node-8110/docs/_index.md b/pkg/codegen/testing/test/testdata/regress-node-8110/docs/_index.md index 7b7e48c2dfd0..4766a1438c12 100644 --- a/pkg/codegen/testing/test/testdata/regress-node-8110/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/regress-node-8110/docs/_index.md @@ -13,12 +13,12 @@ no_edit_this_page: true

Resources

Functions

Package Details

diff --git a/pkg/codegen/testing/test/testdata/regress-node-8110/docs/examplefunc/_index.md b/pkg/codegen/testing/test/testdata/regress-node-8110/docs/examplefunc/_index.md index 7049117d77b9..b33ada3c6883 100644 --- a/pkg/codegen/testing/test/testdata/regress-node-8110/docs/examplefunc/_index.md +++ b/pkg/codegen/testing/test/testdata/regress-node-8110/docs/examplefunc/_index.md @@ -92,7 +92,7 @@ The following arguments are supported:
-Enums +Enums List<Union<string, Pulumi.My8110.MyEnum>> @@ -106,7 +106,7 @@ The following arguments are supported:
-Enums +Enums []string @@ -120,7 +120,7 @@ The following arguments are supported:
-enums +enums List<Either<String,MyEnum>> @@ -134,7 +134,7 @@ The following arguments are supported:
-enums +enums (string | MyEnum)[] @@ -148,7 +148,7 @@ The following arguments are supported:
-enums +enums Sequence[Union[str, MyEnum]] @@ -162,7 +162,7 @@ The following arguments are supported:
-enums +enums List<String | "one" | "two"> diff --git a/pkg/codegen/testing/test/testdata/regress-node-8110/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/regress-node-8110/docs/provider/_index.md index 0bf5db97e94b..11cb9c292447 100644 --- a/pkg/codegen/testing/test/testdata/regress-node-8110/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/regress-node-8110/docs/provider/_index.md @@ -34,7 +34,7 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None) @@ -47,15 +47,15 @@ no_edit_this_page: true
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/replace-on-change/docs/_index.md b/pkg/codegen/testing/test/testdata/replace-on-change/docs/_index.md index 5a9f221065af..e6fdf3c212ac 100644 --- a/pkg/codegen/testing/test/testdata/replace-on-change/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/replace-on-change/docs/_index.md @@ -13,12 +13,12 @@ no_edit_this_page: true

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/replace-on-change/docs/cat/_index.md b/pkg/codegen/testing/test/testdata/replace-on-change/docs/cat/_index.md index 7d30d005b030..25eb0fb67f3f 100644 --- a/pkg/codegen/testing/test/testdata/replace-on-change/docs/cat/_index.md +++ b/pkg/codegen/testing/test/testdata/replace-on-change/docs/cat/_index.md @@ -34,7 +34,7 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Cat(resource_name: str, - args: Optional[CatArgs] = None, + args: Optional[CatArgs] = None, opts: Optional[ResourceOptions] = None) @@ -47,15 +47,15 @@ no_edit_this_page: true
-
public Cat(string name, CatArgs? args = null, CustomResourceOptions? opts = null)
+
public Cat(string name, CatArgs? args = null, CustomResourceOptions? opts = null)
-public Cat(String name, CatArgs args)
-public Cat(String name, CatArgs args, CustomResourceOptions options)
+public Cat(String name, CatArgs args)
+public Cat(String name, CatArgs args, CustomResourceOptions options)
 
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - CatArgs + CatArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - CatArgs + CatArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - CatArgs + CatArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -273,7 +273,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Foes +Foes Dictionary<string, Toy> @@ -281,15 +281,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Friends +Friends - List<Toy> + List<Toy>
-Name +Name string @@ -297,7 +297,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Other +Other Pulumi.Example.God @@ -305,10 +305,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Toy +Toy - Toy + Toy
@@ -319,7 +319,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -328,7 +328,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Foes +Foes map[string]Toy @@ -336,15 +336,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Friends +Friends - []Toy + []Toy
-Name +Name string @@ -352,7 +352,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Other +Other God @@ -360,10 +360,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Toy +Toy - Toy + Toy
@@ -374,7 +374,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -383,7 +383,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-foes +foes Map<String,Toy> @@ -391,15 +391,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-friends +friends - List<Toy> + List<Toy>
-name +name String @@ -407,7 +407,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-other +other God @@ -415,10 +415,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-toy +toy - Toy + Toy
@@ -429,7 +429,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -438,7 +438,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-foes +foes {[key: string]: Toy} @@ -446,15 +446,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-friends +friends - Toy[] + Toy[]
-name +name string @@ -462,7 +462,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-other +other God @@ -470,10 +470,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-toy +toy - Toy + Toy
@@ -484,7 +484,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -493,7 +493,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-foes +foes Mapping[str, Toy] @@ -501,15 +501,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-friends +friends - Sequence[Toy] + Sequence[Toy]
-name +name str @@ -517,7 +517,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-other +other God @@ -525,10 +525,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-toy +toy - Toy + Toy
@@ -539,7 +539,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -548,7 +548,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-foes +foes Map<Property Map> @@ -556,15 +556,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-friends +friends - List<Property Map> + List<Property Map>
-name +name String @@ -572,7 +572,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-other +other example:God @@ -580,10 +580,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-toy +toy - Property Map + Property Map
@@ -606,15 +606,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Associated +Associated - Toy + Toy
-Color +Color string @@ -622,7 +622,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Wear +Wear double @@ -636,15 +636,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Associated +Associated - Toy + Toy
-Color +Color string @@ -652,7 +652,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Wear +Wear float64 @@ -666,15 +666,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-associated +associated - Toy + Toy
-color +color String @@ -682,7 +682,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-wear +wear Double @@ -696,15 +696,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-associated +associated - Toy + Toy
-color +color string @@ -712,7 +712,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-wear +wear number @@ -726,15 +726,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-associated +associated - Toy + Toy
-color +color str @@ -742,7 +742,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-wear +wear float @@ -756,15 +756,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-associated +associated - Property Map + Property Map
-color +color String @@ -772,7 +772,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-wear +wear Number diff --git a/pkg/codegen/testing/test/testdata/replace-on-change/docs/dog/_index.md b/pkg/codegen/testing/test/testdata/replace-on-change/docs/dog/_index.md index 5b04450745ee..37927392006f 100644 --- a/pkg/codegen/testing/test/testdata/replace-on-change/docs/dog/_index.md +++ b/pkg/codegen/testing/test/testdata/replace-on-change/docs/dog/_index.md @@ -34,7 +34,7 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Dog(resource_name: str, - args: Optional[DogArgs] = None, + args: Optional[DogArgs] = None, opts: Optional[ResourceOptions] = None) @@ -47,15 +47,15 @@ no_edit_this_page: true
-
public Dog(string name, DogArgs? args = null, CustomResourceOptions? opts = null)
+
public Dog(string name, DogArgs? args = null, CustomResourceOptions? opts = null)
-public Dog(String name, DogArgs args)
-public Dog(String name, DogArgs args, CustomResourceOptions options)
+public Dog(String name, DogArgs args)
+public Dog(String name, DogArgs args, CustomResourceOptions options)
 
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - DogArgs + DogArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - DogArgs + DogArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - DogArgs + DogArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -273,7 +273,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Bone +Bone string @@ -287,7 +287,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -296,7 +296,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Bone +Bone string @@ -310,7 +310,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -319,7 +319,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bone +bone String @@ -333,7 +333,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -342,7 +342,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bone +bone string @@ -356,7 +356,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -365,7 +365,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bone +bone str @@ -379,7 +379,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -388,7 +388,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bone +bone String diff --git a/pkg/codegen/testing/test/testdata/replace-on-change/docs/god/_index.md b/pkg/codegen/testing/test/testdata/replace-on-change/docs/god/_index.md index 5d628aea8be8..1d72fab47dcb 100644 --- a/pkg/codegen/testing/test/testdata/replace-on-change/docs/god/_index.md +++ b/pkg/codegen/testing/test/testdata/replace-on-change/docs/god/_index.md @@ -34,7 +34,7 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def God(resource_name: str, - args: Optional[GodArgs] = None, + args: Optional[GodArgs] = None, opts: Optional[ResourceOptions] = None) @@ -47,15 +47,15 @@ no_edit_this_page: true
-
public God(string name, GodArgs? args = null, CustomResourceOptions? opts = null)
+
public God(string name, GodArgs? args = null, CustomResourceOptions? opts = null)
-public God(String name, GodArgs args)
-public God(String name, GodArgs args, CustomResourceOptions options)
+public God(String name, GodArgs args)
+public God(String name, GodArgs args, CustomResourceOptions options)
 
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - GodArgs + GodArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - GodArgs + GodArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - GodArgs + GodArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -273,7 +273,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Backwards +Backwards Pulumi.Example.Dog @@ -287,7 +287,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -296,7 +296,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Backwards +Backwards Dog @@ -310,7 +310,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -319,7 +319,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-backwards +backwards Dog @@ -333,7 +333,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -342,7 +342,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-backwards +backwards Dog @@ -356,7 +356,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -365,7 +365,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-backwards +backwards Dog @@ -379,7 +379,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -388,7 +388,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-backwards +backwards example:Dog diff --git a/pkg/codegen/testing/test/testdata/replace-on-change/docs/norecursive/_index.md b/pkg/codegen/testing/test/testdata/replace-on-change/docs/norecursive/_index.md index 1af24732d42b..c73a0aa04397 100644 --- a/pkg/codegen/testing/test/testdata/replace-on-change/docs/norecursive/_index.md +++ b/pkg/codegen/testing/test/testdata/replace-on-change/docs/norecursive/_index.md @@ -34,7 +34,7 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def NoRecursive(resource_name: str, - args: Optional[NoRecursiveArgs] = None, + args: Optional[NoRecursiveArgs] = None, opts: Optional[ResourceOptions] = None) @@ -47,15 +47,15 @@ no_edit_this_page: true
-
public NoRecursive(string name, NoRecursiveArgs? args = null, CustomResourceOptions? opts = null)
+
public NoRecursive(string name, NoRecursiveArgs? args = null, CustomResourceOptions? opts = null)
-public NoRecursive(String name, NoRecursiveArgs args)
-public NoRecursive(String name, NoRecursiveArgs args, CustomResourceOptions options)
+public NoRecursive(String name, NoRecursiveArgs args)
+public NoRecursive(String name, NoRecursiveArgs args, CustomResourceOptions options)
 
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - NoRecursiveArgs + NoRecursiveArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - NoRecursiveArgs + NoRecursiveArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - NoRecursiveArgs + NoRecursiveArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -273,15 +273,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Rec +Rec - Rec + Rec
-Replace +Replace string @@ -295,7 +295,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -304,15 +304,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Rec +Rec - Rec + Rec
-Replace +Replace string @@ -326,7 +326,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -335,15 +335,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-rec +rec - Rec + Rec
-replace +replace String @@ -357,7 +357,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -366,15 +366,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-rec +rec - Rec + Rec
-replace +replace string @@ -388,7 +388,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -397,15 +397,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-rec +rec - Rec + Rec
-replace +replace str @@ -419,7 +419,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -428,15 +428,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-rec +rec - Property Map + Property Map
-replace +replace String @@ -462,10 +462,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Rec1 +Rec1 - Rec + Rec
@@ -476,10 +476,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Rec1 +Rec1 - Rec + Rec
@@ -490,10 +490,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-rec1 +rec1 - Rec + Rec
@@ -504,10 +504,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-rec1 +rec1 - Rec + Rec
@@ -518,10 +518,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-rec1 +rec1 - Rec + Rec
@@ -532,10 +532,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-rec1 +rec1 - Property Map + Property Map
diff --git a/pkg/codegen/testing/test/testdata/replace-on-change/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/replace-on-change/docs/provider/_index.md index 2990f2ed2094..92e6a11a5d54 100644 --- a/pkg/codegen/testing/test/testdata/replace-on-change/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/replace-on-change/docs/provider/_index.md @@ -34,7 +34,7 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None) @@ -47,15 +47,15 @@ no_edit_this_page: true
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/replace-on-change/docs/toystore/_index.md b/pkg/codegen/testing/test/testdata/replace-on-change/docs/toystore/_index.md index f64526fd462e..ec53400e2d11 100644 --- a/pkg/codegen/testing/test/testdata/replace-on-change/docs/toystore/_index.md +++ b/pkg/codegen/testing/test/testdata/replace-on-change/docs/toystore/_index.md @@ -34,7 +34,7 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def ToyStore(resource_name: str, - args: Optional[ToyStoreArgs] = None, + args: Optional[ToyStoreArgs] = None, opts: Optional[ResourceOptions] = None) @@ -47,15 +47,15 @@ no_edit_this_page: true
-
public ToyStore(string name, ToyStoreArgs? args = null, CustomResourceOptions? opts = null)
+
public ToyStore(string name, ToyStoreArgs? args = null, CustomResourceOptions? opts = null)
-public ToyStore(String name, ToyStoreArgs args)
-public ToyStore(String name, ToyStoreArgs args, CustomResourceOptions options)
+public ToyStore(String name, ToyStoreArgs args)
+public ToyStore(String name, ToyStoreArgs args, CustomResourceOptions options)
 
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ToyStoreArgs + ToyStoreArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ToyStoreArgs + ToyStoreArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ToyStoreArgs + ToyStoreArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -273,34 +273,34 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Chew +Chew - Chew + Chew
-Laser +Laser - Laser + Laser
-Stuff +Stuff - List<Toy> + List<Toy>
-Wanted +Wanted - List<Toy> + List<Toy>
@@ -311,7 +311,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -320,34 +320,34 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Chew +Chew - Chew + Chew
-Laser +Laser - Laser + Laser
-Stuff +Stuff - []Toy + []Toy
-Wanted +Wanted - []Toy + []Toy
@@ -358,7 +358,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -367,34 +367,34 @@ All [input](#inputs) properties are implicitly available as output properties. A
-chew +chew - Chew + Chew
-laser +laser - Laser + Laser
-stuff +stuff - List<Toy> + List<Toy>
-wanted +wanted - List<Toy> + List<Toy>
@@ -405,7 +405,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -414,34 +414,34 @@ All [input](#inputs) properties are implicitly available as output properties. A
-chew +chew - Chew + Chew
-laser +laser - Laser + Laser
-stuff +stuff - Toy[] + Toy[]
-wanted +wanted - Toy[] + Toy[]
@@ -452,7 +452,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -461,34 +461,34 @@ All [input](#inputs) properties are implicitly available as output properties. A
-chew +chew - Chew + Chew
-laser +laser - Laser + Laser
-stuff +stuff - Sequence[Toy] + Sequence[Toy]
-wanted +wanted - Sequence[Toy] + Sequence[Toy]
@@ -499,7 +499,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -508,34 +508,34 @@ All [input](#inputs) properties are implicitly available as output properties. A
-chew +chew - Property Map + Property Map
-laser +laser - Property Map + Property Map
-stuff +stuff - List<Property Map> + List<Property Map>
-wanted +wanted - List<Property Map> + List<Property Map>
@@ -558,7 +558,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Owner +Owner Pulumi.Example.Dog @@ -572,7 +572,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Owner +Owner Dog @@ -586,7 +586,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-owner +owner Dog @@ -600,7 +600,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-owner +owner Dog @@ -614,7 +614,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-owner +owner Dog @@ -628,7 +628,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-owner +owner example:Dog @@ -644,7 +644,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Animal +Animal Pulumi.Example.Cat @@ -652,7 +652,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Batteries +Batteries bool @@ -660,7 +660,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Light +Light double @@ -674,7 +674,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Animal +Animal Cat @@ -682,7 +682,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Batteries +Batteries bool @@ -690,7 +690,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Light +Light float64 @@ -704,7 +704,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-animal +animal Cat @@ -712,7 +712,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-batteries +batteries Boolean @@ -720,7 +720,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-light +light Double @@ -734,7 +734,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-animal +animal Cat @@ -742,7 +742,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-batteries +batteries boolean @@ -750,7 +750,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-light +light number @@ -764,7 +764,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-animal +animal Cat @@ -772,7 +772,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-batteries +batteries bool @@ -780,7 +780,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-light +light float @@ -794,7 +794,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-animal +animal example:Cat @@ -802,7 +802,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-batteries +batteries Boolean @@ -810,7 +810,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-light +light Number @@ -826,15 +826,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Associated +Associated - Toy + Toy
-Color +Color string @@ -842,7 +842,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Wear +Wear double @@ -856,15 +856,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Associated +Associated - Toy + Toy
-Color +Color string @@ -872,7 +872,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Wear +Wear float64 @@ -886,15 +886,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-associated +associated - Toy + Toy
-color +color String @@ -902,7 +902,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-wear +wear Double @@ -916,15 +916,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-associated +associated - Toy + Toy
-color +color string @@ -932,7 +932,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-wear +wear number @@ -946,15 +946,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-associated +associated - Toy + Toy
-color +color str @@ -962,7 +962,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-wear +wear float @@ -976,15 +976,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-associated +associated - Property Map + Property Map
-color +color String @@ -992,7 +992,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-wear +wear Number diff --git a/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/_index.md b/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/_index.md index 6c0e125da670..91ff51991be8 100644 --- a/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/_index.md @@ -13,9 +13,9 @@ no_edit_this_page: true

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/person/_index.md b/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/person/_index.md index c95fe3e1cdc9..41b6e8a6d768 100644 --- a/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/person/_index.md +++ b/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/person/_index.md @@ -36,7 +36,7 @@ no_edit_this_page: true pets: Optional[Sequence[PetArgs]] = None) @overload def Person(resource_name: str, - args: Optional[PersonArgs] = None, + args: Optional[PersonArgs] = None, opts: Optional[ResourceOptions] = None) @@ -49,15 +49,15 @@ no_edit_this_page: true
-
public Person(string name, PersonArgs? args = null, CustomResourceOptions? opts = null)
+
public Person(string name, PersonArgs? args = null, CustomResourceOptions? opts = null)
-public Person(String name, PersonArgs args)
-public Person(String name, PersonArgs args, CustomResourceOptions options)
+public Person(String name, PersonArgs args)
+public Person(String name, PersonArgs args, CustomResourceOptions options)
 
@@ -111,7 +111,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - PersonArgs + PersonArgs
The arguments to resource properties.
@@ -169,7 +169,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - PersonArgs + PersonArgs
The arguments to resource properties.
@@ -195,7 +195,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - PersonArgs + PersonArgs
The arguments to resource properties.
@@ -223,7 +223,7 @@ The Person resource accepts the following [input](/docs/intro/concepts/inputs-ou
-Name +Name string @@ -231,10 +231,10 @@ The Person resource accepts the following [input](/docs/intro/concepts/inputs-ou
-Pets +Pets - List<PetArgs> + List<PetArgs>
@@ -245,7 +245,7 @@ The Person resource accepts the following [input](/docs/intro/concepts/inputs-ou
-Name +Name string @@ -253,10 +253,10 @@ The Person resource accepts the following [input](/docs/intro/concepts/inputs-ou
-Pets +Pets - []PetTypeArgs + []PetTypeArgs
@@ -267,7 +267,7 @@ The Person resource accepts the following [input](/docs/intro/concepts/inputs-ou
-name +name String @@ -275,10 +275,10 @@ The Person resource accepts the following [input](/docs/intro/concepts/inputs-ou
-pets +pets - List<PetArgs> + List<PetArgs>
@@ -289,7 +289,7 @@ The Person resource accepts the following [input](/docs/intro/concepts/inputs-ou
-name +name string @@ -297,10 +297,10 @@ The Person resource accepts the following [input](/docs/intro/concepts/inputs-ou
-pets +pets - PetArgs[] + PetArgs[]
@@ -311,7 +311,7 @@ The Person resource accepts the following [input](/docs/intro/concepts/inputs-ou
-name +name str @@ -319,10 +319,10 @@ The Person resource accepts the following [input](/docs/intro/concepts/inputs-ou
-pets +pets - Sequence[PetArgs] + Sequence[PetArgs]
@@ -333,7 +333,7 @@ The Person resource accepts the following [input](/docs/intro/concepts/inputs-ou
-name +name String @@ -341,10 +341,10 @@ The Person resource accepts the following [input](/docs/intro/concepts/inputs-ou
-pets +pets - List<Property Map> + List<Property Map>
@@ -362,7 +362,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -377,7 +377,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -392,7 +392,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -407,7 +407,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -422,7 +422,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -437,7 +437,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -464,7 +464,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Name +Name string @@ -478,7 +478,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Name +Name string @@ -492,7 +492,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-name +name String @@ -506,7 +506,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-name +name string @@ -520,7 +520,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-name +name str @@ -534,7 +534,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-name +name String diff --git a/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/pet/_index.md b/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/pet/_index.md index 004e3a59b7f3..0574a554b01b 100644 --- a/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/pet/_index.md +++ b/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/pet/_index.md @@ -35,7 +35,7 @@ no_edit_this_page: true name: Optional[str] = None) @overload def Pet(resource_name: str, - args: Optional[PetInitArgs] = None, + args: Optional[PetInitArgs] = None, opts: Optional[ResourceOptions] = None) @@ -48,15 +48,15 @@ no_edit_this_page: true
-
public Pet(string name, PetArgs? args = null, CustomResourceOptions? opts = null)
+
public Pet(string name, PetArgs? args = null, CustomResourceOptions? opts = null)
-public Pet(String name, PetArgs args)
-public Pet(String name, PetArgs args, CustomResourceOptions options)
+public Pet(String name, PetArgs args)
+public Pet(String name, PetArgs args, CustomResourceOptions options)
 
@@ -110,7 +110,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - PetInitArgs + PetInitArgs
The arguments to resource properties.
@@ -168,7 +168,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - PetArgs + PetArgs
The arguments to resource properties.
@@ -194,7 +194,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - PetArgs + PetArgs
The arguments to resource properties.
@@ -222,7 +222,7 @@ The Pet resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-Name +Name string @@ -236,7 +236,7 @@ The Pet resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-Name +Name string @@ -250,7 +250,7 @@ The Pet resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-name +name String @@ -264,7 +264,7 @@ The Pet resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-name +name string @@ -278,7 +278,7 @@ The Pet resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-name +name str @@ -292,7 +292,7 @@ The Pet resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-name +name String @@ -313,7 +313,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -328,7 +328,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -343,7 +343,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -358,7 +358,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -373,7 +373,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -388,7 +388,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/provider/_index.md index 2990f2ed2094..92e6a11a5d54 100644 --- a/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/provider/_index.md @@ -34,7 +34,7 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None) @@ -47,15 +47,15 @@ no_edit_this_page: true
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/resource-args-python/docs/_index.md b/pkg/codegen/testing/test/testdata/resource-args-python/docs/_index.md index 6c0e125da670..91ff51991be8 100644 --- a/pkg/codegen/testing/test/testdata/resource-args-python/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/resource-args-python/docs/_index.md @@ -13,9 +13,9 @@ no_edit_this_page: true

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/resource-args-python/docs/person/_index.md b/pkg/codegen/testing/test/testdata/resource-args-python/docs/person/_index.md index c95fe3e1cdc9..41b6e8a6d768 100644 --- a/pkg/codegen/testing/test/testdata/resource-args-python/docs/person/_index.md +++ b/pkg/codegen/testing/test/testdata/resource-args-python/docs/person/_index.md @@ -36,7 +36,7 @@ no_edit_this_page: true pets: Optional[Sequence[PetArgs]] = None) @overload def Person(resource_name: str, - args: Optional[PersonArgs] = None, + args: Optional[PersonArgs] = None, opts: Optional[ResourceOptions] = None) @@ -49,15 +49,15 @@ no_edit_this_page: true
-
public Person(string name, PersonArgs? args = null, CustomResourceOptions? opts = null)
+
public Person(string name, PersonArgs? args = null, CustomResourceOptions? opts = null)
-public Person(String name, PersonArgs args)
-public Person(String name, PersonArgs args, CustomResourceOptions options)
+public Person(String name, PersonArgs args)
+public Person(String name, PersonArgs args, CustomResourceOptions options)
 
@@ -111,7 +111,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - PersonArgs + PersonArgs
The arguments to resource properties.
@@ -169,7 +169,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - PersonArgs + PersonArgs
The arguments to resource properties.
@@ -195,7 +195,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - PersonArgs + PersonArgs
The arguments to resource properties.
@@ -223,7 +223,7 @@ The Person resource accepts the following [input](/docs/intro/concepts/inputs-ou
-Name +Name string @@ -231,10 +231,10 @@ The Person resource accepts the following [input](/docs/intro/concepts/inputs-ou
-Pets +Pets - List<PetArgs> + List<PetArgs>
@@ -245,7 +245,7 @@ The Person resource accepts the following [input](/docs/intro/concepts/inputs-ou
-Name +Name string @@ -253,10 +253,10 @@ The Person resource accepts the following [input](/docs/intro/concepts/inputs-ou
-Pets +Pets - []PetTypeArgs + []PetTypeArgs
@@ -267,7 +267,7 @@ The Person resource accepts the following [input](/docs/intro/concepts/inputs-ou
-name +name String @@ -275,10 +275,10 @@ The Person resource accepts the following [input](/docs/intro/concepts/inputs-ou
-pets +pets - List<PetArgs> + List<PetArgs>
@@ -289,7 +289,7 @@ The Person resource accepts the following [input](/docs/intro/concepts/inputs-ou
-name +name string @@ -297,10 +297,10 @@ The Person resource accepts the following [input](/docs/intro/concepts/inputs-ou
-pets +pets - PetArgs[] + PetArgs[]
@@ -311,7 +311,7 @@ The Person resource accepts the following [input](/docs/intro/concepts/inputs-ou
-name +name str @@ -319,10 +319,10 @@ The Person resource accepts the following [input](/docs/intro/concepts/inputs-ou
-pets +pets - Sequence[PetArgs] + Sequence[PetArgs]
@@ -333,7 +333,7 @@ The Person resource accepts the following [input](/docs/intro/concepts/inputs-ou
-name +name String @@ -341,10 +341,10 @@ The Person resource accepts the following [input](/docs/intro/concepts/inputs-ou
-pets +pets - List<Property Map> + List<Property Map>
@@ -362,7 +362,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -377,7 +377,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -392,7 +392,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -407,7 +407,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -422,7 +422,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -437,7 +437,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -464,7 +464,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Name +Name string @@ -478,7 +478,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Name +Name string @@ -492,7 +492,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-name +name String @@ -506,7 +506,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-name +name string @@ -520,7 +520,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-name +name str @@ -534,7 +534,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-name +name String diff --git a/pkg/codegen/testing/test/testdata/resource-args-python/docs/pet/_index.md b/pkg/codegen/testing/test/testdata/resource-args-python/docs/pet/_index.md index 004e3a59b7f3..0574a554b01b 100644 --- a/pkg/codegen/testing/test/testdata/resource-args-python/docs/pet/_index.md +++ b/pkg/codegen/testing/test/testdata/resource-args-python/docs/pet/_index.md @@ -35,7 +35,7 @@ no_edit_this_page: true name: Optional[str] = None) @overload def Pet(resource_name: str, - args: Optional[PetInitArgs] = None, + args: Optional[PetInitArgs] = None, opts: Optional[ResourceOptions] = None) @@ -48,15 +48,15 @@ no_edit_this_page: true
-
public Pet(string name, PetArgs? args = null, CustomResourceOptions? opts = null)
+
public Pet(string name, PetArgs? args = null, CustomResourceOptions? opts = null)
-public Pet(String name, PetArgs args)
-public Pet(String name, PetArgs args, CustomResourceOptions options)
+public Pet(String name, PetArgs args)
+public Pet(String name, PetArgs args, CustomResourceOptions options)
 
@@ -110,7 +110,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - PetInitArgs + PetInitArgs
The arguments to resource properties.
@@ -168,7 +168,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - PetArgs + PetArgs
The arguments to resource properties.
@@ -194,7 +194,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - PetArgs + PetArgs
The arguments to resource properties.
@@ -222,7 +222,7 @@ The Pet resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-Name +Name string @@ -236,7 +236,7 @@ The Pet resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-Name +Name string @@ -250,7 +250,7 @@ The Pet resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-name +name String @@ -264,7 +264,7 @@ The Pet resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-name +name string @@ -278,7 +278,7 @@ The Pet resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-name +name str @@ -292,7 +292,7 @@ The Pet resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-name +name String @@ -313,7 +313,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -328,7 +328,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -343,7 +343,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -358,7 +358,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -373,7 +373,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -388,7 +388,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/resource-args-python/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/resource-args-python/docs/provider/_index.md index 2990f2ed2094..92e6a11a5d54 100644 --- a/pkg/codegen/testing/test/testdata/resource-args-python/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/resource-args-python/docs/provider/_index.md @@ -34,7 +34,7 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None) @@ -47,15 +47,15 @@ no_edit_this_page: true
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/resource-property-overlap/docs/_index.md b/pkg/codegen/testing/test/testdata/resource-property-overlap/docs/_index.md index 155219bea50f..7799816402a9 100644 --- a/pkg/codegen/testing/test/testdata/resource-property-overlap/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/resource-property-overlap/docs/_index.md @@ -13,8 +13,8 @@ no_edit_this_page: true

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/resource-property-overlap/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/resource-property-overlap/docs/provider/_index.md index 2990f2ed2094..92e6a11a5d54 100644 --- a/pkg/codegen/testing/test/testdata/resource-property-overlap/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/resource-property-overlap/docs/provider/_index.md @@ -34,7 +34,7 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None) @@ -47,15 +47,15 @@ no_edit_this_page: true
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/resource-property-overlap/docs/rec/_index.md b/pkg/codegen/testing/test/testdata/resource-property-overlap/docs/rec/_index.md index 54af64b4ff7f..9d619f6194b3 100644 --- a/pkg/codegen/testing/test/testdata/resource-property-overlap/docs/rec/_index.md +++ b/pkg/codegen/testing/test/testdata/resource-property-overlap/docs/rec/_index.md @@ -34,7 +34,7 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Rec(resource_name: str, - args: Optional[RecArgs] = None, + args: Optional[RecArgs] = None, opts: Optional[ResourceOptions] = None) @@ -47,15 +47,15 @@ no_edit_this_page: true
-
public Rec(string name, RecArgs? args = null, CustomResourceOptions? opts = null)
+
public Rec(string name, RecArgs? args = null, CustomResourceOptions? opts = null)
-public Rec(String name, RecArgs args)
-public Rec(String name, RecArgs args, CustomResourceOptions options)
+public Rec(String name, RecArgs args)
+public Rec(String name, RecArgs args, CustomResourceOptions options)
 
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - RecArgs + RecArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - RecArgs + RecArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - RecArgs + RecArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -273,7 +273,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Rec +Rec Pulumi.Example.Rec @@ -287,7 +287,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -296,7 +296,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Rec +Rec Rec @@ -310,7 +310,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -319,7 +319,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-rec +rec Rec @@ -333,7 +333,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -342,7 +342,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-rec +rec Rec @@ -356,7 +356,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -365,7 +365,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-rec +rec Rec @@ -379,7 +379,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -388,7 +388,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-rec +rec example:Rec diff --git a/pkg/codegen/testing/test/testdata/secrets/docs/_index.md b/pkg/codegen/testing/test/testdata/secrets/docs/_index.md index d1ff3210bdeb..2af081f0aa12 100644 --- a/pkg/codegen/testing/test/testdata/secrets/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/secrets/docs/_index.md @@ -13,8 +13,8 @@ no_edit_this_page: true

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/secrets/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/secrets/docs/provider/_index.md index a276d97980ab..8348e30a2bfa 100644 --- a/pkg/codegen/testing/test/testdata/secrets/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/secrets/docs/provider/_index.md @@ -34,7 +34,7 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None) @@ -47,15 +47,15 @@ no_edit_this_page: true
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/secrets/docs/resource/_index.md b/pkg/codegen/testing/test/testdata/secrets/docs/resource/_index.md index 29c7729d4f11..68b1e9b555c9 100644 --- a/pkg/codegen/testing/test/testdata/secrets/docs/resource/_index.md +++ b/pkg/codegen/testing/test/testdata/secrets/docs/resource/_index.md @@ -40,7 +40,7 @@ no_edit_this_page: true foo_map: Optional[Mapping[str, str]] = None) @overload def Resource(resource_name: str, - args: ResourceArgs, + args: ResourceArgs, opts: Optional[ResourceOptions] = None) @@ -53,15 +53,15 @@ no_edit_this_page: true
-
public Resource(string name, ResourceArgs args, CustomResourceOptions? opts = null)
+
public Resource(string name, ResourceArgs args, CustomResourceOptions? opts = null)
-public Resource(String name, ResourceArgs args)
-public Resource(String name, ResourceArgs args, CustomResourceOptions options)
+public Resource(String name, ResourceArgs args)
+public Resource(String name, ResourceArgs args, CustomResourceOptions options)
 
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -173,7 +173,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -199,7 +199,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -227,23 +227,23 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-Config +Config - ConfigArgs + ConfigArgs
-ConfigArray +ConfigArray - List<ConfigArgs> + List<ConfigArgs>
-ConfigMap +ConfigMap Dictionary<string, ConfigArgs> @@ -251,7 +251,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-Foo +Foo string @@ -259,7 +259,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-FooArray +FooArray List<string> @@ -267,7 +267,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-FooMap +FooMap Dictionary<string, string> @@ -281,23 +281,23 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-Config +Config - ConfigArgs + ConfigArgs
-ConfigArray +ConfigArray - []ConfigArgs + []ConfigArgs
-ConfigMap +ConfigMap map[string]ConfigArgs @@ -305,7 +305,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-Foo +Foo string @@ -313,7 +313,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-FooArray +FooArray []string @@ -321,7 +321,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-FooMap +FooMap map[string]string @@ -335,23 +335,23 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-config +config - ConfigArgs + ConfigArgs
-configArray +configArray - List<ConfigArgs> + List<ConfigArgs>
-configMap +configMap Map<String,ConfigArgs> @@ -359,7 +359,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-foo +foo String @@ -367,7 +367,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-fooArray +fooArray List<String> @@ -375,7 +375,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-fooMap +fooMap Map<String,String> @@ -389,23 +389,23 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-config +config - ConfigArgs + ConfigArgs
-configArray +configArray - ConfigArgs[] + ConfigArgs[]
-configMap +configMap {[key: string]: ConfigArgs} @@ -413,7 +413,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-foo +foo string @@ -421,7 +421,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-fooArray +fooArray string[] @@ -429,7 +429,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-fooMap +fooMap {[key: string]: string} @@ -443,23 +443,23 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-config +config - ConfigArgs + ConfigArgs
-config_array +config_array - Sequence[ConfigArgs] + Sequence[ConfigArgs]
-config_map +config_map Mapping[str, ConfigArgs] @@ -467,7 +467,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-foo +foo str @@ -475,7 +475,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-foo_array +foo_array Sequence[str] @@ -483,7 +483,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-foo_map +foo_map Mapping[str, str] @@ -497,23 +497,23 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-config +config - Property Map + Property Map
-configArray +configArray - List<Property Map> + List<Property Map>
-configMap +configMap Map<Property Map> @@ -521,7 +521,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-foo +foo String @@ -529,7 +529,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-fooArray +fooArray List<String> @@ -537,7 +537,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-fooMap +fooMap Map<String> @@ -558,7 +558,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -573,7 +573,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -588,7 +588,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -603,7 +603,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -618,7 +618,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -633,7 +633,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -660,7 +660,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Foo +Foo string @@ -674,7 +674,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Foo +Foo string @@ -688,7 +688,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-foo +foo String @@ -702,7 +702,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-foo +foo string @@ -716,7 +716,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-foo +foo str @@ -730,7 +730,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-foo +foo String diff --git a/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/_index.md b/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/_index.md index 2a20f7e4e1e9..50ae6ac41a60 100644 --- a/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/_index.md @@ -13,12 +13,12 @@ no_edit_this_page: true

Modules

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/provider/_index.md index e7ade2ef35a8..fd6d6f1204b1 100644 --- a/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/provider/_index.md @@ -34,7 +34,7 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None) @@ -47,15 +47,15 @@ no_edit_this_page: true
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/tree/_index.md b/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/tree/_index.md index 1e00d190ca58..af631ce38d5d 100644 --- a/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/tree/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/tree/_index.md @@ -13,7 +13,7 @@ no_edit_this_page: true

Modules

Package Details

diff --git a/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/tree/v1/_index.md b/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/tree/v1/_index.md index 1a7e0192b0db..681bbdb8d26c 100644 --- a/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/tree/v1/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/tree/v1/_index.md @@ -13,8 +13,8 @@ Explore the resources and functions of the plant.tree/v1 module.

Resources

Package Details

diff --git a/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/tree/v1/nursery/_index.md b/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/tree/v1/nursery/_index.md index a55b11f73a80..10076f55e4e6 100644 --- a/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/tree/v1/nursery/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/tree/v1/nursery/_index.md @@ -36,7 +36,7 @@ no_edit_this_page: true varieties: Optional[Sequence[RubberTreeVariety]] = None) @overload def Nursery(resource_name: str, - args: NurseryArgs, + args: NurseryArgs, opts: Optional[ResourceOptions] = None) @@ -49,15 +49,15 @@ no_edit_this_page: true
-
public Nursery(string name, NurseryArgs args, CustomResourceOptions? opts = null)
+
public Nursery(string name, NurseryArgs args, CustomResourceOptions? opts = null)
-public Nursery(String name, NurseryArgs args)
-public Nursery(String name, NurseryArgs args, CustomResourceOptions options)
+public Nursery(String name, NurseryArgs args)
+public Nursery(String name, NurseryArgs args, CustomResourceOptions options)
 
@@ -111,7 +111,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - NurseryArgs + NurseryArgs
The arguments to resource properties.
@@ -169,7 +169,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - NurseryArgs + NurseryArgs
The arguments to resource properties.
@@ -195,7 +195,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - NurseryArgs + NurseryArgs
The arguments to resource properties.
@@ -223,16 +223,16 @@ The Nursery resource accepts the following [input](/docs/intro/concepts/inputs-o
-Varieties +Varieties - List<Pulumi.Plant.Tree.V1.RubberTreeVariety> + List<Pulumi.Plant.Tree.V1.RubberTreeVariety>

The varieties available

-Sizes +Sizes Dictionary<string, Pulumi.Plant.Tree.V1.TreeSize> @@ -247,16 +247,16 @@ The Nursery resource accepts the following [input](/docs/intro/concepts/inputs-o
-Varieties +Varieties - []RubberTreeVariety + []RubberTreeVariety

The varieties available

-Sizes +Sizes map[string]TreeSize @@ -271,16 +271,16 @@ The Nursery resource accepts the following [input](/docs/intro/concepts/inputs-o
-varieties +varieties - List<RubberTreeVariety> + List<RubberTreeVariety>

The varieties available

-sizes +sizes Map<String,TreeSize> @@ -295,16 +295,16 @@ The Nursery resource accepts the following [input](/docs/intro/concepts/inputs-o
-varieties +varieties - RubberTreeVariety[] + RubberTreeVariety[]

The varieties available

-sizes +sizes {[key: string]: TreeSize} @@ -319,16 +319,16 @@ The Nursery resource accepts the following [input](/docs/intro/concepts/inputs-o
-varieties +varieties - Sequence[RubberTreeVariety] + Sequence[RubberTreeVariety]

The varieties available

-sizes +sizes Mapping[str, TreeSize] @@ -343,16 +343,16 @@ The Nursery resource accepts the following [input](/docs/intro/concepts/inputs-o
-varieties +varieties - List<"Burgundy" | "Ruby" | "Tineke"> + List<"Burgundy" | "Ruby" | "Tineke">

The varieties available

-sizes +sizes Map<"small" | "medium" | "large"> @@ -374,7 +374,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -389,7 +389,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -404,7 +404,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -419,7 +419,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -434,7 +434,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -449,7 +449,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/tree/v1/rubbertree/_index.md b/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/tree/v1/rubbertree/_index.md index a0db290b69f7..077874d0a9ad 100644 --- a/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/tree/v1/rubbertree/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/tree/v1/rubbertree/_index.md @@ -39,7 +39,7 @@ no_edit_this_page: true type: Optional[RubberTreeVariety] = None) @overload def RubberTree(resource_name: str, - args: RubberTreeArgs, + args: RubberTreeArgs, opts: Optional[ResourceOptions] = None) @@ -52,15 +52,15 @@ no_edit_this_page: true
-
public RubberTree(string name, RubberTreeArgs args, CustomResourceOptions? opts = null)
+
public RubberTree(string name, RubberTreeArgs args, CustomResourceOptions? opts = null)
-public RubberTree(String name, RubberTreeArgs args)
-public RubberTree(String name, RubberTreeArgs args, CustomResourceOptions options)
+public RubberTree(String name, RubberTreeArgs args)
+public RubberTree(String name, RubberTreeArgs args, CustomResourceOptions options)
 
@@ -114,7 +114,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - RubberTreeArgs + RubberTreeArgs
The arguments to resource properties.
@@ -172,7 +172,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - RubberTreeArgs + RubberTreeArgs
The arguments to resource properties.
@@ -198,7 +198,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - RubberTreeArgs + RubberTreeArgs
The arguments to resource properties.
@@ -226,42 +226,42 @@ The RubberTree resource accepts the following [input](/docs/intro/concepts/input
-Diameter +Diameter - Pulumi.Plant.Tree.V1.Diameter + Pulumi.Plant.Tree.V1.Diameter
-Type +Type - Pulumi.Plant.Tree.V1.RubberTreeVariety + Pulumi.Plant.Tree.V1.RubberTreeVariety
-Container +Container - Pulumi.Plant.Inputs.ContainerArgs + Pulumi.Plant.Inputs.ContainerArgs
-Farm +Farm - Pulumi.Plant.Tree.V1.Farm | string + Pulumi.Plant.Tree.V1.Farm | string
-Size +Size - Pulumi.Plant.Tree.V1.TreeSize + Pulumi.Plant.Tree.V1.TreeSize
@@ -272,42 +272,42 @@ The RubberTree resource accepts the following [input](/docs/intro/concepts/input
-Diameter +Diameter - Diameter + Diameter
-Type +Type - RubberTreeVariety + RubberTreeVariety
-Container +Container - ContainerArgs + ContainerArgs
-Farm +Farm - Farm | string + Farm | string
-Size +Size - TreeSize + TreeSize
@@ -318,42 +318,42 @@ The RubberTree resource accepts the following [input](/docs/intro/concepts/input
-diameter +diameter - Diameter + Diameter
-type +type - RubberTreeVariety + RubberTreeVariety
-container +container - ContainerArgs + ContainerArgs
-farm +farm - Farm | String + Farm | String
-size +size - TreeSize + TreeSize
@@ -364,42 +364,42 @@ The RubberTree resource accepts the following [input](/docs/intro/concepts/input
-diameter +diameter - Diameter + Diameter
-type +type - RubberTreeVariety + RubberTreeVariety
-container +container - ContainerArgs + ContainerArgs
-farm +farm - Farm | string + Farm | string
-size +size - TreeSize + TreeSize
@@ -410,42 +410,42 @@ The RubberTree resource accepts the following [input](/docs/intro/concepts/input
-diameter +diameter - Diameter + Diameter
-type +type - RubberTreeVariety + RubberTreeVariety
-container +container - ContainerArgs + ContainerArgs
-farm +farm - Farm | str + Farm | str
-size +size - TreeSize + TreeSize
@@ -456,42 +456,42 @@ The RubberTree resource accepts the following [input](/docs/intro/concepts/input
-diameter +diameter - 6 | 12 + 6 | 12
-type +type - "Burgundy" | "Ruby" | "Tineke" + "Burgundy" | "Ruby" | "Tineke"
-container +container - Property Map + Property Map
-farm +farm - "Pulumi Planters Inc." | "Plants'R'Us" | String + "Pulumi Planters Inc." | "Plants'R'Us" | String
-size +size - "small" | "medium" | "large" + "small" | "medium" | "large"
@@ -509,7 +509,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -524,7 +524,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -539,7 +539,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -554,7 +554,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -569,7 +569,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -584,7 +584,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -786,10 +786,10 @@ The following state arguments are supported:
-Farm +Farm - Pulumi.Plant.Tree.V1.Farm | string + Pulumi.Plant.Tree.V1.Farm | string
@@ -800,10 +800,10 @@ The following state arguments are supported:
-Farm +Farm - Farm | string + Farm | string
@@ -814,10 +814,10 @@ The following state arguments are supported:
-farm +farm - Farm | String + Farm | String
@@ -828,10 +828,10 @@ The following state arguments are supported:
-farm +farm - Farm | string + Farm | string
@@ -842,10 +842,10 @@ The following state arguments are supported:
-farm +farm - Farm | str + Farm | str
@@ -856,10 +856,10 @@ The following state arguments are supported:
-farm +farm - "Pulumi Planters Inc." | "Plants'R'Us" | String + "Pulumi Planters Inc." | "Plants'R'Us" | String
@@ -883,31 +883,31 @@ The following state arguments are supported:
-Size +Size - Pulumi.Plant.ContainerSize + Pulumi.Plant.ContainerSize
-Brightness +Brightness - Pulumi.Plant.ContainerBrightness + Pulumi.Plant.ContainerBrightness
-Color +Color - Pulumi.Plant.ContainerColor | string + Pulumi.Plant.ContainerColor | string
-Material +Material string @@ -921,31 +921,31 @@ The following state arguments are supported:
-Size +Size - ContainerSize + ContainerSize
-Brightness +Brightness - ContainerBrightness + ContainerBrightness
-Color +Color - ContainerColor | string + ContainerColor | string
-Material +Material string @@ -959,31 +959,31 @@ The following state arguments are supported:
-size +size - ContainerSize + ContainerSize
-brightness +brightness - ContainerBrightness + ContainerBrightness
-color +color - ContainerColor | String + ContainerColor | String
-material +material String @@ -997,31 +997,31 @@ The following state arguments are supported:
-size +size - ContainerSize + ContainerSize
-brightness +brightness - ContainerBrightness + ContainerBrightness
-color +color - ContainerColor | string + ContainerColor | string
-material +material string @@ -1035,31 +1035,31 @@ The following state arguments are supported:
-size +size - ContainerSize + ContainerSize
-brightness +brightness - ContainerBrightness + ContainerBrightness
-color +color - ContainerColor | str + ContainerColor | str
-material +material str @@ -1073,31 +1073,31 @@ The following state arguments are supported:
-size +size - 4 | 6 | 8 + 4 | 6 | 8
-brightness +brightness - 0.1 | 1 + 0.1 | 1
-color +color - "red" | "blue" | "yellow" | String + "red" | "blue" | "yellow" | String
-material +material String diff --git a/pkg/codegen/testing/test/testdata/simple-methods-schema-single-value-returns/docs/_index.md b/pkg/codegen/testing/test/testdata/simple-methods-schema-single-value-returns/docs/_index.md index 7aa38f1d8d12..50fb035417f9 100644 --- a/pkg/codegen/testing/test/testdata/simple-methods-schema-single-value-returns/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-methods-schema-single-value-returns/docs/_index.md @@ -13,8 +13,8 @@ no_edit_this_page: true

Resources

Package Details

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..4af240700d22 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 @@ -34,7 +34,7 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Foo(resource_name: str, - args: Optional[FooArgs] = None, + args: Optional[FooArgs] = None, opts: Optional[ResourceOptions] = None) @@ -47,15 +47,15 @@ no_edit_this_page: true
-
public Foo(string name, FooArgs? args = null, CustomResourceOptions? opts = null)
+
public Foo(string name, FooArgs? args = null, CustomResourceOptions? opts = null)
-public Foo(String name, FooArgs args)
-public Foo(String name, FooArgs args, CustomResourceOptions options)
+public Foo(String name, FooArgs args)
+public Foo(String name, FooArgs args, CustomResourceOptions options)
 
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - FooArgs + FooArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - FooArgs + FooArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - FooArgs + FooArgs
The arguments to resource properties.
@@ -349,7 +349,7 @@ The following arguments are supported:
-ProfileName +ProfileName string @@ -357,7 +357,7 @@ The following arguments are supported:
-RoleArn +RoleArn string @@ -371,7 +371,7 @@ The following arguments are supported:
-ProfileName +ProfileName string @@ -379,7 +379,7 @@ The following arguments are supported:
-RoleArn +RoleArn string @@ -393,7 +393,7 @@ The following arguments are supported:
-profileName +profileName String @@ -401,7 +401,7 @@ The following arguments are supported:
-roleArn +roleArn String @@ -415,7 +415,7 @@ The following arguments are supported:
-profileName +profileName string @@ -423,7 +423,7 @@ The following arguments are supported:
-roleArn +roleArn string @@ -437,7 +437,7 @@ The following arguments are supported:
-profile_name +profile_name str @@ -445,7 +445,7 @@ The following arguments are supported:
-role_arn +role_arn str @@ -459,7 +459,7 @@ The following arguments are supported:
-profileName +profileName String @@ -467,7 +467,7 @@ The following arguments are supported:
-roleArn +roleArn String @@ -486,7 +486,7 @@ The following arguments are supported:
-Kubeconfig +Kubeconfig string @@ -500,7 +500,7 @@ The following arguments are supported:
-Kubeconfig +Kubeconfig string @@ -514,7 +514,7 @@ The following arguments are supported:
-kubeconfig +kubeconfig String @@ -528,7 +528,7 @@ The following arguments are supported:
-kubeconfig +kubeconfig string @@ -542,7 +542,7 @@ The following arguments are supported:
-kubeconfig +kubeconfig str @@ -556,7 +556,7 @@ The following arguments are supported:
-kubeconfig +kubeconfig String diff --git a/pkg/codegen/testing/test/testdata/simple-methods-schema-single-value-returns/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/simple-methods-schema-single-value-returns/docs/provider/_index.md index 2990f2ed2094..92e6a11a5d54 100644 --- a/pkg/codegen/testing/test/testdata/simple-methods-schema-single-value-returns/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-methods-schema-single-value-returns/docs/provider/_index.md @@ -34,7 +34,7 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None) @@ -47,15 +47,15 @@ no_edit_this_page: true
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/simple-methods-schema/docs/_index.md b/pkg/codegen/testing/test/testdata/simple-methods-schema/docs/_index.md index 7aa38f1d8d12..50fb035417f9 100644 --- a/pkg/codegen/testing/test/testdata/simple-methods-schema/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-methods-schema/docs/_index.md @@ -13,8 +13,8 @@ no_edit_this_page: true

Resources

Package Details

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..62e27ba84a04 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 @@ -34,7 +34,7 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Foo(resource_name: str, - args: Optional[FooArgs] = None, + args: Optional[FooArgs] = None, opts: Optional[ResourceOptions] = None) @@ -47,15 +47,15 @@ no_edit_this_page: true
-
public Foo(string name, FooArgs? args = null, CustomResourceOptions? opts = null)
+
public Foo(string name, FooArgs? args = null, CustomResourceOptions? opts = null)
-public Foo(String name, FooArgs args)
-public Foo(String name, FooArgs args, CustomResourceOptions options)
+public Foo(String name, FooArgs args)
+public Foo(String name, FooArgs args, CustomResourceOptions options)
 
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - FooArgs + FooArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - FooArgs + FooArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - FooArgs + FooArgs
The arguments to resource properties.
@@ -361,15 +361,15 @@ The following arguments are supported:
-BazRequired +BazRequired - Pulumi.Example.Nested.Inputs.Baz + Pulumi.Example.Nested.Inputs.Baz
-BoolValueRequired +BoolValueRequired bool @@ -377,7 +377,7 @@ The following arguments are supported:
-NameRequired +NameRequired Pulumi.Random.RandomPet @@ -385,7 +385,7 @@ The following arguments are supported:
-StringValueRequired +StringValueRequired string @@ -393,23 +393,23 @@ The following arguments are supported:
-Baz +Baz - Pulumi.Example.Nested.Inputs.Baz + Pulumi.Example.Nested.Inputs.Baz
-BazPlain +BazPlain - Pulumi.Example.Nested.Inputs.Baz + Pulumi.Example.Nested.Inputs.Baz
-BoolValue +BoolValue bool @@ -417,7 +417,7 @@ The following arguments are supported:
-BoolValuePlain +BoolValuePlain bool @@ -425,7 +425,7 @@ The following arguments are supported:
-Name +Name Pulumi.Random.RandomPet @@ -433,7 +433,7 @@ The following arguments are supported:
-NamePlain +NamePlain Pulumi.Random.RandomPet @@ -441,7 +441,7 @@ The following arguments are supported:
-StringValue +StringValue string @@ -449,7 +449,7 @@ The following arguments are supported:
-StringValuePlain +StringValuePlain string @@ -463,15 +463,15 @@ The following arguments are supported:
-BazRequired +BazRequired - Baz + Baz
-BoolValueRequired +BoolValueRequired bool @@ -479,7 +479,7 @@ The following arguments are supported:
-NameRequired +NameRequired RandomPet @@ -487,7 +487,7 @@ The following arguments are supported:
-StringValueRequired +StringValueRequired string @@ -495,23 +495,23 @@ The following arguments are supported:
-Baz +Baz - Baz + Baz
-BazPlain +BazPlain - Baz + Baz
-BoolValue +BoolValue bool @@ -519,7 +519,7 @@ The following arguments are supported:
-BoolValuePlain +BoolValuePlain bool @@ -527,7 +527,7 @@ The following arguments are supported:
-Name +Name RandomPet @@ -535,7 +535,7 @@ The following arguments are supported:
-NamePlain +NamePlain RandomPet @@ -543,7 +543,7 @@ The following arguments are supported:
-StringValue +StringValue string @@ -551,7 +551,7 @@ The following arguments are supported:
-StringValuePlain +StringValuePlain string @@ -565,15 +565,15 @@ The following arguments are supported:
-bazRequired +bazRequired - Baz + Baz
-boolValueRequired +boolValueRequired Boolean @@ -581,7 +581,7 @@ The following arguments are supported:
-nameRequired +nameRequired RandomPet @@ -589,7 +589,7 @@ The following arguments are supported:
-stringValueRequired +stringValueRequired String @@ -597,23 +597,23 @@ The following arguments are supported:
-baz +baz - Baz + Baz
-bazPlain +bazPlain - Baz + Baz
-boolValue +boolValue Boolean @@ -621,7 +621,7 @@ The following arguments are supported:
-boolValuePlain +boolValuePlain Boolean @@ -629,7 +629,7 @@ The following arguments are supported:
-name +name RandomPet @@ -637,7 +637,7 @@ The following arguments are supported:
-namePlain +namePlain RandomPet @@ -645,7 +645,7 @@ The following arguments are supported:
-stringValue +stringValue String @@ -653,7 +653,7 @@ The following arguments are supported:
-stringValuePlain +stringValuePlain String @@ -667,15 +667,15 @@ The following arguments are supported:
-bazRequired +bazRequired - nestedBaz + nestedBaz
-boolValueRequired +boolValueRequired boolean @@ -683,7 +683,7 @@ The following arguments are supported:
-nameRequired +nameRequired pulumiRandomRandomPet @@ -691,7 +691,7 @@ The following arguments are supported:
-stringValueRequired +stringValueRequired string @@ -699,23 +699,23 @@ The following arguments are supported:
-baz +baz - nestedBaz + nestedBaz
-bazPlain +bazPlain - nestedBaz + nestedBaz
-boolValue +boolValue boolean @@ -723,7 +723,7 @@ The following arguments are supported:
-boolValuePlain +boolValuePlain boolean @@ -731,7 +731,7 @@ The following arguments are supported:
-name +name pulumiRandomRandomPet @@ -739,7 +739,7 @@ The following arguments are supported:
-namePlain +namePlain pulumiRandomRandomPet @@ -747,7 +747,7 @@ The following arguments are supported:
-stringValue +stringValue string @@ -755,7 +755,7 @@ The following arguments are supported:
-stringValuePlain +stringValuePlain string @@ -769,15 +769,15 @@ The following arguments are supported:
-baz_required +baz_required - Baz + Baz
-bool_value_required +bool_value_required bool @@ -785,7 +785,7 @@ The following arguments are supported:
-name_required +name_required RandomPet @@ -793,7 +793,7 @@ The following arguments are supported:
-string_value_required +string_value_required str @@ -801,23 +801,23 @@ The following arguments are supported:
-baz +baz - Baz + Baz
-baz_plain +baz_plain - Baz + Baz
-bool_value +bool_value bool @@ -825,7 +825,7 @@ The following arguments are supported:
-bool_value_plain +bool_value_plain bool @@ -833,7 +833,7 @@ The following arguments are supported:
-name +name RandomPet @@ -841,7 +841,7 @@ The following arguments are supported:
-name_plain +name_plain RandomPet @@ -849,7 +849,7 @@ The following arguments are supported:
-string_value +string_value str @@ -857,7 +857,7 @@ The following arguments are supported:
-string_value_plain +string_value_plain str @@ -871,15 +871,15 @@ The following arguments are supported:
-bazRequired +bazRequired - Property Map + Property Map
-boolValueRequired +boolValueRequired Boolean @@ -887,7 +887,7 @@ The following arguments are supported:
-nameRequired +nameRequired random:RandomPet @@ -895,7 +895,7 @@ The following arguments are supported:
-stringValueRequired +stringValueRequired String @@ -903,23 +903,23 @@ The following arguments are supported:
-baz +baz - Property Map + Property Map
-bazPlain +bazPlain - Property Map + Property Map
-boolValue +boolValue Boolean @@ -927,7 +927,7 @@ The following arguments are supported:
-boolValuePlain +boolValuePlain Boolean @@ -935,7 +935,7 @@ The following arguments are supported:
-name +name random:RandomPet @@ -943,7 +943,7 @@ The following arguments are supported:
-namePlain +namePlain random:RandomPet @@ -951,7 +951,7 @@ The following arguments are supported:
-stringValue +stringValue String @@ -959,7 +959,7 @@ The following arguments are supported:
-stringValuePlain +stringValuePlain String @@ -978,7 +978,7 @@ The following arguments are supported:
-SomeValue +SomeValue string @@ -992,7 +992,7 @@ The following arguments are supported:
-SomeValue +SomeValue string @@ -1006,7 +1006,7 @@ The following arguments are supported:
-someValue +someValue String @@ -1020,7 +1020,7 @@ The following arguments are supported:
-someValue +someValue string @@ -1034,7 +1034,7 @@ The following arguments are supported:
-some_value +some_value str @@ -1048,7 +1048,7 @@ The following arguments are supported:
-someValue +someValue String @@ -1153,7 +1153,7 @@ The following arguments are supported:
-BoolValue +BoolValue bool @@ -1167,7 +1167,7 @@ The following arguments are supported:
-BoolValue +BoolValue bool @@ -1181,7 +1181,7 @@ The following arguments are supported:
-boolValue +boolValue Boolean @@ -1195,7 +1195,7 @@ The following arguments are supported:
-boolValue +boolValue boolean @@ -1209,7 +1209,7 @@ The following arguments are supported:
-bool_value +bool_value bool @@ -1223,7 +1223,7 @@ The following arguments are supported:
-boolValue +boolValue Boolean @@ -1242,7 +1242,7 @@ The following arguments are supported:
-Kubeconfig +Kubeconfig string @@ -1256,7 +1256,7 @@ The following arguments are supported:
-Kubeconfig +Kubeconfig string @@ -1270,7 +1270,7 @@ The following arguments are supported:
-kubeconfig +kubeconfig String @@ -1284,7 +1284,7 @@ The following arguments are supported:
-kubeconfig +kubeconfig string @@ -1298,7 +1298,7 @@ The following arguments are supported:
-kubeconfig +kubeconfig str @@ -1312,7 +1312,7 @@ The following arguments are supported:
-kubeconfig +kubeconfig String @@ -1339,7 +1339,7 @@ The following arguments are supported:
-Hello +Hello string @@ -1347,7 +1347,7 @@ The following arguments are supported:
-World +World string @@ -1361,7 +1361,7 @@ The following arguments are supported:
-Hello +Hello string @@ -1369,7 +1369,7 @@ The following arguments are supported:
-World +World string @@ -1383,7 +1383,7 @@ The following arguments are supported:
-hello +hello String @@ -1391,7 +1391,7 @@ The following arguments are supported:
-world +world String @@ -1405,7 +1405,7 @@ The following arguments are supported:
-hello +hello string @@ -1413,7 +1413,7 @@ The following arguments are supported:
-world +world string @@ -1427,7 +1427,7 @@ The following arguments are supported:
-hello +hello str @@ -1435,7 +1435,7 @@ The following arguments are supported:
-world +world str @@ -1449,7 +1449,7 @@ The following arguments are supported:
-hello +hello String @@ -1457,7 +1457,7 @@ The following arguments are supported:
-world +world String diff --git a/pkg/codegen/testing/test/testdata/simple-methods-schema/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/simple-methods-schema/docs/provider/_index.md index 2990f2ed2094..92e6a11a5d54 100644 --- a/pkg/codegen/testing/test/testdata/simple-methods-schema/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-methods-schema/docs/provider/_index.md @@ -34,7 +34,7 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None) @@ -47,15 +47,15 @@ no_edit_this_page: true
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/simple-plain-schema-with-root-package/docs/_index.md b/pkg/codegen/testing/test/testdata/simple-plain-schema-with-root-package/docs/_index.md index 2e538a3da820..7f4e098c74af 100644 --- a/pkg/codegen/testing/test/testdata/simple-plain-schema-with-root-package/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-plain-schema-with-root-package/docs/_index.md @@ -13,8 +13,8 @@ no_edit_this_page: true

Resources

Package Details

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..b6438a0b77b1 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 @@ -43,7 +43,7 @@ no_edit_this_page: true foo: Optional[FooArgs] = None) @overload def Component(resource_name: str, - args: ComponentArgs, + args: ComponentArgs, opts: Optional[ResourceOptions] = None) @@ -56,15 +56,15 @@ no_edit_this_page: true
-
public Component(string name, ComponentArgs args, CustomResourceOptions? opts = null)
+
public Component(string name, ComponentArgs args, CustomResourceOptions? opts = null)
-public Component(String name, ComponentArgs args)
-public Component(String name, ComponentArgs args, CustomResourceOptions options)
+public Component(String name, ComponentArgs args)
+public Component(String name, ComponentArgs args, CustomResourceOptions options)
 
@@ -118,7 +118,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ComponentArgs + ComponentArgs
The arguments to resource properties.
@@ -176,7 +176,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ComponentArgs + ComponentArgs
The arguments to resource properties.
@@ -202,7 +202,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ComponentArgs + ComponentArgs
The arguments to resource properties.
@@ -230,7 +230,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-A +A bool @@ -238,7 +238,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-C +C int @@ -246,7 +246,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-E +E string @@ -254,7 +254,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-B +B bool @@ -262,23 +262,23 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-Bar +Bar - FooArgs + FooArgs
-Baz +Baz - List<FooArgs> + List<FooArgs>
-D +D int @@ -286,7 +286,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-F +F string @@ -294,10 +294,10 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-Foo +Foo - FooArgs + FooArgs
@@ -308,7 +308,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-A +A bool @@ -316,7 +316,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-C +C int @@ -324,7 +324,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-E +E string @@ -332,7 +332,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-B +B bool @@ -340,23 +340,23 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-Bar +Bar - FooArgs + FooArgs
-Baz +Baz - []FooArgs + []FooArgs
-D +D int @@ -364,7 +364,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-F +F string @@ -372,10 +372,10 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-Foo +Foo - FooArgs + FooArgs
@@ -386,7 +386,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-a +a Boolean @@ -394,7 +394,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-c +c Integer @@ -402,7 +402,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-e +e String @@ -410,7 +410,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-b +b Boolean @@ -418,23 +418,23 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-bar +bar - FooArgs + FooArgs
-baz +baz - List<FooArgs> + List<FooArgs>
-d +d Integer @@ -442,7 +442,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-f +f String @@ -450,10 +450,10 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-foo +foo - FooArgs + FooArgs
@@ -464,7 +464,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-a +a boolean @@ -472,7 +472,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-c +c number @@ -480,7 +480,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-e +e string @@ -488,7 +488,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-b +b boolean @@ -496,23 +496,23 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-bar +bar - FooArgs + FooArgs
-baz +baz - FooArgs[] + FooArgs[]
-d +d number @@ -520,7 +520,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-f +f string @@ -528,10 +528,10 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-foo +foo - FooArgs + FooArgs
@@ -542,7 +542,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-a +a bool @@ -550,7 +550,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-c +c int @@ -558,7 +558,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-e +e str @@ -566,7 +566,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-b +b bool @@ -574,23 +574,23 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-bar +bar - FooArgs + FooArgs
-baz +baz - Sequence[FooArgs] + Sequence[FooArgs]
-d +d int @@ -598,7 +598,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-f +f str @@ -606,10 +606,10 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-foo +foo - FooArgs + FooArgs
@@ -620,7 +620,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-a +a Boolean @@ -628,7 +628,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-c +c Number @@ -636,7 +636,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-e +e String @@ -644,7 +644,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-b +b Boolean @@ -652,23 +652,23 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-bar +bar - Property Map + Property Map
-baz +baz - List<Property Map> + List<Property Map>
-d +d Number @@ -676,7 +676,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-f +f String @@ -684,10 +684,10 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-foo +foo - Property Map + Property Map
@@ -753,7 +753,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-A +A bool @@ -761,7 +761,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-C +C int @@ -769,7 +769,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-E +E string @@ -777,7 +777,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-B +B bool @@ -785,7 +785,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-D +D int @@ -793,7 +793,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-F +F string @@ -807,7 +807,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-A +A bool @@ -815,7 +815,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-C +C int @@ -823,7 +823,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-E +E string @@ -831,7 +831,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-B +B bool @@ -839,7 +839,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-D +D int @@ -847,7 +847,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-F +F string @@ -861,7 +861,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-a +a Boolean @@ -869,7 +869,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-c +c Integer @@ -877,7 +877,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-e +e String @@ -885,7 +885,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-b +b Boolean @@ -893,7 +893,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-d +d Integer @@ -901,7 +901,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-f +f String @@ -915,7 +915,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-a +a boolean @@ -923,7 +923,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-c +c number @@ -931,7 +931,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-e +e string @@ -939,7 +939,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-b +b boolean @@ -947,7 +947,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-d +d number @@ -955,7 +955,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-f +f string @@ -969,7 +969,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-a +a bool @@ -977,7 +977,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-c +c int @@ -985,7 +985,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-e +e str @@ -993,7 +993,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-b +b bool @@ -1001,7 +1001,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-d +d int @@ -1009,7 +1009,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-f +f str @@ -1023,7 +1023,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-a +a Boolean @@ -1031,7 +1031,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-c +c Number @@ -1039,7 +1039,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-e +e String @@ -1047,7 +1047,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-b +b Boolean @@ -1055,7 +1055,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-d +d Number @@ -1063,7 +1063,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-f +f String diff --git a/pkg/codegen/testing/test/testdata/simple-plain-schema-with-root-package/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/simple-plain-schema-with-root-package/docs/provider/_index.md index 2990f2ed2094..92e6a11a5d54 100644 --- a/pkg/codegen/testing/test/testdata/simple-plain-schema-with-root-package/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-plain-schema-with-root-package/docs/provider/_index.md @@ -34,7 +34,7 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None) @@ -47,15 +47,15 @@ no_edit_this_page: true
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/simple-plain-schema/docs/_index.md b/pkg/codegen/testing/test/testdata/simple-plain-schema/docs/_index.md index 6f02cbc4474e..2c32399421f5 100644 --- a/pkg/codegen/testing/test/testdata/simple-plain-schema/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-plain-schema/docs/_index.md @@ -13,13 +13,13 @@ no_edit_this_page: true

Resources

Functions

Package Details

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..a7826982391e 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 @@ -44,7 +44,7 @@ no_edit_this_page: true foo: Optional[FooArgs] = None) @overload def Component(resource_name: str, - args: ComponentArgs, + args: ComponentArgs, opts: Optional[ResourceOptions] = None) @@ -57,15 +57,15 @@ no_edit_this_page: true
-
public Component(string name, ComponentArgs args, CustomResourceOptions? opts = null)
+
public Component(string name, ComponentArgs args, CustomResourceOptions? opts = null)
-public Component(String name, ComponentArgs args)
-public Component(String name, ComponentArgs args, CustomResourceOptions options)
+public Component(String name, ComponentArgs args)
+public Component(String name, ComponentArgs args, CustomResourceOptions options)
 
@@ -119,7 +119,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ComponentArgs + ComponentArgs
The arguments to resource properties.
@@ -177,7 +177,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ComponentArgs + ComponentArgs
The arguments to resource properties.
@@ -203,7 +203,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ComponentArgs + ComponentArgs
The arguments to resource properties.
@@ -231,7 +231,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-A +A bool @@ -239,7 +239,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-C +C int @@ -247,7 +247,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-E +E string @@ -255,7 +255,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-B +B bool @@ -263,23 +263,23 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-Bar +Bar - FooArgs + FooArgs
-Baz +Baz - List<FooArgs> + List<FooArgs>
-BazMap +BazMap Dictionary<string, FooArgs> @@ -287,7 +287,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-D +D int @@ -295,7 +295,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-F +F string @@ -303,10 +303,10 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-Foo +Foo - FooArgs + FooArgs
@@ -317,7 +317,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-A +A bool @@ -325,7 +325,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-C +C int @@ -333,7 +333,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-E +E string @@ -341,7 +341,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-B +B bool @@ -349,23 +349,23 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-Bar +Bar - FooArgs + FooArgs
-Baz +Baz - []FooArgs + []FooArgs
-BazMap +BazMap map[string]FooArgs @@ -373,7 +373,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-D +D int @@ -381,7 +381,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-F +F string @@ -389,10 +389,10 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-Foo +Foo - FooArgs + FooArgs
@@ -403,7 +403,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-a +a Boolean @@ -411,7 +411,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-c +c Integer @@ -419,7 +419,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-e +e String @@ -427,7 +427,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-b +b Boolean @@ -435,23 +435,23 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-bar +bar - FooArgs + FooArgs
-baz +baz - List<FooArgs> + List<FooArgs>
-bazMap +bazMap Map<String,FooArgs> @@ -459,7 +459,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-d +d Integer @@ -467,7 +467,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-f +f String @@ -475,10 +475,10 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-foo +foo - FooArgs + FooArgs
@@ -489,7 +489,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-a +a boolean @@ -497,7 +497,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-c +c number @@ -505,7 +505,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-e +e string @@ -513,7 +513,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-b +b boolean @@ -521,23 +521,23 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-bar +bar - FooArgs + FooArgs
-baz +baz - FooArgs[] + FooArgs[]
-bazMap +bazMap {[key: string]: FooArgs} @@ -545,7 +545,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-d +d number @@ -553,7 +553,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-f +f string @@ -561,10 +561,10 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-foo +foo - FooArgs + FooArgs
@@ -575,7 +575,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-a +a bool @@ -583,7 +583,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-c +c int @@ -591,7 +591,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-e +e str @@ -599,7 +599,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-b +b bool @@ -607,23 +607,23 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-bar +bar - FooArgs + FooArgs
-baz +baz - Sequence[FooArgs] + Sequence[FooArgs]
-baz_map +baz_map Mapping[str, FooArgs] @@ -631,7 +631,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-d +d int @@ -639,7 +639,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-f +f str @@ -647,10 +647,10 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-foo +foo - FooArgs + FooArgs
@@ -661,7 +661,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-a +a Boolean @@ -669,7 +669,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-c +c Number @@ -677,7 +677,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-e +e String @@ -685,7 +685,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-b +b Boolean @@ -693,23 +693,23 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-bar +bar - Property Map + Property Map
-baz +baz - List<Property Map> + List<Property Map>
-bazMap +bazMap Map<Property Map> @@ -717,7 +717,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-d +d Number @@ -725,7 +725,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-f +f String @@ -733,10 +733,10 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-foo +foo - Property Map + Property Map
@@ -802,7 +802,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-A +A bool @@ -810,7 +810,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-C +C int @@ -818,7 +818,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-E +E string @@ -826,7 +826,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-B +B bool @@ -834,7 +834,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-D +D int @@ -842,7 +842,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-F +F string @@ -856,7 +856,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-A +A bool @@ -864,7 +864,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-C +C int @@ -872,7 +872,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-E +E string @@ -880,7 +880,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-B +B bool @@ -888,7 +888,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-D +D int @@ -896,7 +896,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-F +F string @@ -910,7 +910,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-a +a Boolean @@ -918,7 +918,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-c +c Integer @@ -926,7 +926,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-e +e String @@ -934,7 +934,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-b +b Boolean @@ -942,7 +942,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-d +d Integer @@ -950,7 +950,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-f +f String @@ -964,7 +964,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-a +a boolean @@ -972,7 +972,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-c +c number @@ -980,7 +980,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-e +e string @@ -988,7 +988,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-b +b boolean @@ -996,7 +996,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-d +d number @@ -1004,7 +1004,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-f +f string @@ -1018,7 +1018,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-a +a bool @@ -1026,7 +1026,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-c +c int @@ -1034,7 +1034,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-e +e str @@ -1042,7 +1042,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-b +b bool @@ -1050,7 +1050,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-d +d int @@ -1058,7 +1058,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-f +f str @@ -1072,7 +1072,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-a +a Boolean @@ -1080,7 +1080,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-c +c Number @@ -1088,7 +1088,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-e +e String @@ -1096,7 +1096,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-b +b Boolean @@ -1104,7 +1104,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-d +d Number @@ -1112,7 +1112,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-f +f String diff --git a/pkg/codegen/testing/test/testdata/simple-plain-schema/docs/dofoo/_index.md b/pkg/codegen/testing/test/testdata/simple-plain-schema/docs/dofoo/_index.md index 2df4cd4b01a1..41ac88bf0878 100644 --- a/pkg/codegen/testing/test/testdata/simple-plain-schema/docs/dofoo/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-plain-schema/docs/dofoo/_index.md @@ -92,10 +92,10 @@ The following arguments are supported:
-Foo +Foo - Foo + Foo
@@ -106,10 +106,10 @@ The following arguments are supported:
-Foo +Foo - Foo + Foo
@@ -120,10 +120,10 @@ The following arguments are supported:
-foo +foo - Foo + Foo
@@ -134,10 +134,10 @@ The following arguments are supported:
-foo +foo - Foo + Foo
@@ -148,10 +148,10 @@ The following arguments are supported:
-foo +foo - Foo + Foo
@@ -162,10 +162,10 @@ The following arguments are supported:
-foo +foo - Property Map + Property Map
@@ -195,7 +195,7 @@ The following output properties are available:
-A +A bool @@ -203,7 +203,7 @@ The following output properties are available:
-C +C int @@ -211,7 +211,7 @@ The following output properties are available:
-E +E string @@ -219,7 +219,7 @@ The following output properties are available:
-B +B bool @@ -227,7 +227,7 @@ The following output properties are available:
-D +D int @@ -235,7 +235,7 @@ The following output properties are available:
-F +F string @@ -249,7 +249,7 @@ The following output properties are available:
-A +A bool @@ -257,7 +257,7 @@ The following output properties are available:
-C +C int @@ -265,7 +265,7 @@ The following output properties are available:
-E +E string @@ -273,7 +273,7 @@ The following output properties are available:
-B +B bool @@ -281,7 +281,7 @@ The following output properties are available:
-D +D int @@ -289,7 +289,7 @@ The following output properties are available:
-F +F string @@ -303,7 +303,7 @@ The following output properties are available:
-a +a Boolean @@ -311,7 +311,7 @@ The following output properties are available:
-c +c Integer @@ -319,7 +319,7 @@ The following output properties are available:
-e +e String @@ -327,7 +327,7 @@ The following output properties are available:
-b +b Boolean @@ -335,7 +335,7 @@ The following output properties are available:
-d +d Integer @@ -343,7 +343,7 @@ The following output properties are available:
-f +f String @@ -357,7 +357,7 @@ The following output properties are available:
-a +a boolean @@ -365,7 +365,7 @@ The following output properties are available:
-c +c number @@ -373,7 +373,7 @@ The following output properties are available:
-e +e string @@ -381,7 +381,7 @@ The following output properties are available:
-b +b boolean @@ -389,7 +389,7 @@ The following output properties are available:
-d +d number @@ -397,7 +397,7 @@ The following output properties are available:
-f +f string @@ -411,7 +411,7 @@ The following output properties are available:
-a +a bool @@ -419,7 +419,7 @@ The following output properties are available:
-c +c int @@ -427,7 +427,7 @@ The following output properties are available:
-e +e str @@ -435,7 +435,7 @@ The following output properties are available:
-b +b bool @@ -443,7 +443,7 @@ The following output properties are available:
-d +d int @@ -451,7 +451,7 @@ The following output properties are available:
-f +f str @@ -465,7 +465,7 @@ The following output properties are available:
-a +a Boolean @@ -473,7 +473,7 @@ The following output properties are available:
-c +c Number @@ -481,7 +481,7 @@ The following output properties are available:
-e +e String @@ -489,7 +489,7 @@ The following output properties are available:
-b +b Boolean @@ -497,7 +497,7 @@ The following output properties are available:
-d +d Number @@ -505,7 +505,7 @@ The following output properties are available:
-f +f String diff --git a/pkg/codegen/testing/test/testdata/simple-plain-schema/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/simple-plain-schema/docs/provider/_index.md index 2990f2ed2094..92e6a11a5d54 100644 --- a/pkg/codegen/testing/test/testdata/simple-plain-schema/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-plain-schema/docs/provider/_index.md @@ -34,7 +34,7 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None) @@ -47,15 +47,15 @@ no_edit_this_page: true
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/docs/_index.md b/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/docs/_index.md index b163d04ae7d8..a5b7fd18e919 100644 --- a/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/docs/_index.md @@ -13,14 +13,14 @@ no_edit_this_page: true

Resources

Functions

Package Details

diff --git a/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/docs/argfunction/_index.md b/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/docs/argfunction/_index.md index 2217c4428573..6c0b4d68cb6d 100644 --- a/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/docs/argfunction/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/docs/argfunction/_index.md @@ -105,7 +105,7 @@ The following arguments are supported:
-Arg1 +Arg1 Pulumi.Example.Resource @@ -119,7 +119,7 @@ The following arguments are supported:
-Arg1 +Arg1 Resource @@ -133,7 +133,7 @@ The following arguments are supported:
-arg1 +arg1 Resource @@ -147,7 +147,7 @@ The following arguments are supported:
-arg1 +arg1 Resource @@ -161,7 +161,7 @@ The following arguments are supported:
-arg1 +arg1 Resource @@ -175,7 +175,7 @@ The following arguments are supported:
-arg1 +arg1 example:Resource @@ -198,7 +198,7 @@ The following output properties are available:
-Result +Result Pulumi.Example.Resource @@ -212,7 +212,7 @@ The following output properties are available:
-Result +Result Resource @@ -226,7 +226,7 @@ The following output properties are available:
-result +result Resource @@ -240,7 +240,7 @@ The following output properties are available:
-result +result Resource @@ -254,7 +254,7 @@ The following output properties are available:
-result +result Resource @@ -268,7 +268,7 @@ The following output properties are available:
-result +result example: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..48c3e7fddf2d 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 @@ -35,7 +35,7 @@ no_edit_this_page: true foo: Optional[Resource] = None) @overload def OtherResource(resource_name: str, - args: Optional[OtherResourceArgs] = None, + args: Optional[OtherResourceArgs] = None, opts: Optional[ResourceOptions] = None) @@ -48,15 +48,15 @@ no_edit_this_page: true
-
public OtherResource(string name, OtherResourceArgs? args = null, CustomResourceOptions? opts = null)
+
public OtherResource(string name, OtherResourceArgs? args = null, CustomResourceOptions? opts = null)
-public OtherResource(String name, OtherResourceArgs args)
-public OtherResource(String name, OtherResourceArgs args, CustomResourceOptions options)
+public OtherResource(String name, OtherResourceArgs args)
+public OtherResource(String name, OtherResourceArgs args, CustomResourceOptions options)
 
@@ -110,7 +110,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - OtherResourceArgs + OtherResourceArgs
The arguments to resource properties.
@@ -168,7 +168,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - OtherResourceArgs + OtherResourceArgs
The arguments to resource properties.
@@ -194,7 +194,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - OtherResourceArgs + OtherResourceArgs
The arguments to resource properties.
@@ -222,7 +222,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-Foo +Foo Pulumi.Example.Resource @@ -236,7 +236,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-Foo +Foo Resource @@ -250,7 +250,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-foo +foo Resource @@ -264,7 +264,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-foo +foo Resource @@ -278,7 +278,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-foo +foo Resource @@ -292,7 +292,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-foo +foo example:Resource diff --git a/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/docs/provider/_index.md index 2990f2ed2094..92e6a11a5d54 100644 --- a/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/docs/provider/_index.md @@ -34,7 +34,7 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None) @@ -47,15 +47,15 @@ no_edit_this_page: true
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/docs/resource/_index.md b/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/docs/resource/_index.md index 0bdf7fff0091..836eab027a55 100644 --- a/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/docs/resource/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/docs/resource/_index.md @@ -35,7 +35,7 @@ no_edit_this_page: true bar: Optional[str] = None) @overload def Resource(resource_name: str, - args: Optional[ResourceArgs] = None, + args: Optional[ResourceArgs] = None, opts: Optional[ResourceOptions] = None) @@ -48,15 +48,15 @@ no_edit_this_page: true
-
public Resource(string name, ResourceArgs? args = null, CustomResourceOptions? opts = null)
+
public Resource(string name, ResourceArgs? args = null, CustomResourceOptions? opts = null)
-public Resource(String name, ResourceArgs args)
-public Resource(String name, ResourceArgs args, CustomResourceOptions options)
+public Resource(String name, ResourceArgs args)
+public Resource(String name, ResourceArgs args, CustomResourceOptions options)
 
@@ -110,7 +110,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -168,7 +168,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -194,7 +194,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -222,7 +222,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-Bar +Bar string @@ -236,7 +236,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-Bar +Bar string @@ -250,7 +250,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar String @@ -264,7 +264,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar string @@ -278,7 +278,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar str @@ -292,7 +292,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar String @@ -313,7 +313,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -328,7 +328,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -343,7 +343,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -358,7 +358,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -373,7 +373,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -388,7 +388,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/_index.md b/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/_index.md index 229e42ecdc3d..d763c396f429 100644 --- a/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/_index.md @@ -13,19 +13,19 @@ no_edit_this_page: true

Resources

Functions

Package Details

diff --git a/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/argfunction/_index.md b/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/argfunction/_index.md index 2217c4428573..6c0b4d68cb6d 100644 --- a/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/argfunction/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/argfunction/_index.md @@ -105,7 +105,7 @@ The following arguments are supported:
-Arg1 +Arg1 Pulumi.Example.Resource @@ -119,7 +119,7 @@ The following arguments are supported:
-Arg1 +Arg1 Resource @@ -133,7 +133,7 @@ The following arguments are supported:
-arg1 +arg1 Resource @@ -147,7 +147,7 @@ The following arguments are supported:
-arg1 +arg1 Resource @@ -161,7 +161,7 @@ The following arguments are supported:
-arg1 +arg1 Resource @@ -175,7 +175,7 @@ The following arguments are supported:
-arg1 +arg1 example:Resource @@ -198,7 +198,7 @@ The following output properties are available:
-Result +Result Pulumi.Example.Resource @@ -212,7 +212,7 @@ The following output properties are available:
-Result +Result Resource @@ -226,7 +226,7 @@ The following output properties are available:
-result +result Resource @@ -240,7 +240,7 @@ The following output properties are available:
-result +result Resource @@ -254,7 +254,7 @@ The following output properties are available:
-result +result Resource @@ -268,7 +268,7 @@ The following output properties are available:
-result +result example: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..d12e5e8da128 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 @@ -35,7 +35,7 @@ no_edit_this_page: true foo: Optional[Resource] = None) @overload def BarResource(resource_name: str, - args: Optional[BarResourceArgs] = None, + args: Optional[BarResourceArgs] = None, opts: Optional[ResourceOptions] = None) @@ -48,15 +48,15 @@ no_edit_this_page: true
-
public BarResource(string name, BarResourceArgs? args = null, CustomResourceOptions? opts = null)
+
public BarResource(string name, BarResourceArgs? args = null, CustomResourceOptions? opts = null)
-public BarResource(String name, BarResourceArgs args)
-public BarResource(String name, BarResourceArgs args, CustomResourceOptions options)
+public BarResource(String name, BarResourceArgs args)
+public BarResource(String name, BarResourceArgs args, CustomResourceOptions options)
 
@@ -110,7 +110,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - BarResourceArgs + BarResourceArgs
The arguments to resource properties.
@@ -168,7 +168,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - BarResourceArgs + BarResourceArgs
The arguments to resource properties.
@@ -194,7 +194,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - BarResourceArgs + BarResourceArgs
The arguments to resource properties.
@@ -222,7 +222,7 @@ The BarResource resource accepts the following [input](/docs/intro/concepts/inpu
-Foo +Foo Pulumi.Example.Resource @@ -236,7 +236,7 @@ The BarResource resource accepts the following [input](/docs/intro/concepts/inpu
-Foo +Foo Resource @@ -250,7 +250,7 @@ The BarResource resource accepts the following [input](/docs/intro/concepts/inpu
-foo +foo Resource @@ -264,7 +264,7 @@ The BarResource resource accepts the following [input](/docs/intro/concepts/inpu
-foo +foo Resource @@ -278,7 +278,7 @@ The BarResource resource accepts the following [input](/docs/intro/concepts/inpu
-foo +foo Resource @@ -292,7 +292,7 @@ The BarResource resource accepts the following [input](/docs/intro/concepts/inpu
-foo +foo example: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..e4a7034cb3f3 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 @@ -35,7 +35,7 @@ no_edit_this_page: true foo: Optional[Resource] = None) @overload def FooResource(resource_name: str, - args: Optional[FooResourceArgs] = None, + args: Optional[FooResourceArgs] = None, opts: Optional[ResourceOptions] = None) @@ -48,15 +48,15 @@ no_edit_this_page: true
-
public FooResource(string name, FooResourceArgs? args = null, CustomResourceOptions? opts = null)
+
public FooResource(string name, FooResourceArgs? args = null, CustomResourceOptions? opts = null)
-public FooResource(String name, FooResourceArgs args)
-public FooResource(String name, FooResourceArgs args, CustomResourceOptions options)
+public FooResource(String name, FooResourceArgs args)
+public FooResource(String name, FooResourceArgs args, CustomResourceOptions options)
 
@@ -110,7 +110,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - FooResourceArgs + FooResourceArgs
The arguments to resource properties.
@@ -168,7 +168,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - FooResourceArgs + FooResourceArgs
The arguments to resource properties.
@@ -194,7 +194,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - FooResourceArgs + FooResourceArgs
The arguments to resource properties.
@@ -222,7 +222,7 @@ The FooResource resource accepts the following [input](/docs/intro/concepts/inpu
-Foo +Foo Pulumi.Example.Resource @@ -236,7 +236,7 @@ The FooResource resource accepts the following [input](/docs/intro/concepts/inpu
-Foo +Foo Resource @@ -250,7 +250,7 @@ The FooResource resource accepts the following [input](/docs/intro/concepts/inpu
-foo +foo Resource @@ -264,7 +264,7 @@ The FooResource resource accepts the following [input](/docs/intro/concepts/inpu
-foo +foo Resource @@ -278,7 +278,7 @@ The FooResource resource accepts the following [input](/docs/intro/concepts/inpu
-foo +foo Resource @@ -292,7 +292,7 @@ The FooResource resource accepts the following [input](/docs/intro/concepts/inpu
-foo +foo example: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..48c3e7fddf2d 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 @@ -35,7 +35,7 @@ no_edit_this_page: true foo: Optional[Resource] = None) @overload def OtherResource(resource_name: str, - args: Optional[OtherResourceArgs] = None, + args: Optional[OtherResourceArgs] = None, opts: Optional[ResourceOptions] = None) @@ -48,15 +48,15 @@ no_edit_this_page: true
-
public OtherResource(string name, OtherResourceArgs? args = null, CustomResourceOptions? opts = null)
+
public OtherResource(string name, OtherResourceArgs? args = null, CustomResourceOptions? opts = null)
-public OtherResource(String name, OtherResourceArgs args)
-public OtherResource(String name, OtherResourceArgs args, CustomResourceOptions options)
+public OtherResource(String name, OtherResourceArgs args)
+public OtherResource(String name, OtherResourceArgs args, CustomResourceOptions options)
 
@@ -110,7 +110,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - OtherResourceArgs + OtherResourceArgs
The arguments to resource properties.
@@ -168,7 +168,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - OtherResourceArgs + OtherResourceArgs
The arguments to resource properties.
@@ -194,7 +194,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - OtherResourceArgs + OtherResourceArgs
The arguments to resource properties.
@@ -222,7 +222,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-Foo +Foo Pulumi.Example.Resource @@ -236,7 +236,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-Foo +Foo Resource @@ -250,7 +250,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-foo +foo Resource @@ -264,7 +264,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-foo +foo Resource @@ -278,7 +278,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-foo +foo Resource @@ -292,7 +292,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-foo +foo example:Resource diff --git a/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/overlayfunction/_index.md b/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/overlayfunction/_index.md index b7040a8e2289..7a2f06f64ac8 100644 --- a/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/overlayfunction/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/overlayfunction/_index.md @@ -105,7 +105,7 @@ The following arguments are supported:
-Arg1 +Arg1 Pulumi.Example.Resource @@ -119,7 +119,7 @@ The following arguments are supported:
-Arg1 +Arg1 Resource @@ -133,7 +133,7 @@ The following arguments are supported:
-arg1 +arg1 Resource @@ -147,7 +147,7 @@ The following arguments are supported:
-arg1 +arg1 Resource @@ -161,7 +161,7 @@ The following arguments are supported:
-arg1 +arg1 Resource @@ -175,7 +175,7 @@ The following arguments are supported:
-arg1 +arg1 example:Resource @@ -198,7 +198,7 @@ The following output properties are available:
-Result +Result Pulumi.Example.Resource @@ -212,7 +212,7 @@ The following output properties are available:
-Result +Result Resource @@ -226,7 +226,7 @@ The following output properties are available:
-result +result Resource @@ -240,7 +240,7 @@ The following output properties are available:
-result +result Resource @@ -254,7 +254,7 @@ The following output properties are available:
-result +result Resource @@ -268,7 +268,7 @@ The following output properties are available:
-result +result example:Resource diff --git a/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/overlayresource/_index.md b/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/overlayresource/_index.md index 78cea700a551..4365dc02b9ec 100644 --- a/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/overlayresource/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/overlayresource/_index.md @@ -36,7 +36,7 @@ no_edit_this_page: true foo: Optional[ConfigMapOverlayArgs] = None) @overload def OverlayResource(resource_name: str, - args: Optional[OverlayResourceArgs] = None, + args: Optional[OverlayResourceArgs] = None, opts: Optional[ResourceOptions] = None) @@ -49,15 +49,15 @@ no_edit_this_page: true
-
public OverlayResource(string name, OverlayResourceArgs? args = null, CustomResourceOptions? opts = null)
+
public OverlayResource(string name, OverlayResourceArgs? args = null, CustomResourceOptions? opts = null)
-public OverlayResource(String name, OverlayResourceArgs args)
-public OverlayResource(String name, OverlayResourceArgs args, CustomResourceOptions options)
+public OverlayResource(String name, OverlayResourceArgs args)
+public OverlayResource(String name, OverlayResourceArgs args, CustomResourceOptions options)
 
@@ -111,7 +111,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - OverlayResourceArgs + OverlayResourceArgs
The arguments to resource properties.
@@ -169,7 +169,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - OverlayResourceArgs + OverlayResourceArgs
The arguments to resource properties.
@@ -195,7 +195,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - OverlayResourceArgs + OverlayResourceArgs
The arguments to resource properties.
@@ -223,18 +223,18 @@ The OverlayResource resource accepts the following [input](/docs/intro/concepts/
-Bar +Bar - Pulumi.Example.EnumOverlay + Pulumi.Example.EnumOverlay
-Foo +Foo - ConfigMapOverlayArgs + ConfigMapOverlayArgs
@@ -245,18 +245,18 @@ The OverlayResource resource accepts the following [input](/docs/intro/concepts/
-Bar +Bar - EnumOverlay + EnumOverlay
-Foo +Foo - ConfigMapOverlayArgs + ConfigMapOverlayArgs
@@ -267,18 +267,18 @@ The OverlayResource resource accepts the following [input](/docs/intro/concepts/
-bar +bar - EnumOverlay + EnumOverlay
-foo +foo - ConfigMapOverlayArgs + ConfigMapOverlayArgs
@@ -289,18 +289,18 @@ The OverlayResource resource accepts the following [input](/docs/intro/concepts/
-bar +bar - EnumOverlay + EnumOverlay
-foo +foo - ConfigMapOverlayArgs + ConfigMapOverlayArgs
@@ -311,18 +311,18 @@ The OverlayResource resource accepts the following [input](/docs/intro/concepts/
-bar +bar - EnumOverlay + EnumOverlay
-foo +foo - ConfigMapOverlayArgs + ConfigMapOverlayArgs
@@ -333,18 +333,18 @@ The OverlayResource resource accepts the following [input](/docs/intro/concepts/
-bar +bar - "SOME_ENUM_VALUE" + "SOME_ENUM_VALUE"
-foo +foo - Property Map + Property Map
@@ -362,7 +362,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -377,7 +377,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -392,7 +392,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -407,7 +407,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -422,7 +422,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -437,7 +437,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -464,7 +464,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Config +Config string @@ -478,7 +478,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Config +Config string @@ -492,7 +492,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-config +config String @@ -506,7 +506,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-config +config string @@ -520,7 +520,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-config +config str @@ -534,7 +534,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-config +config String diff --git a/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/provider/_index.md index 2990f2ed2094..92e6a11a5d54 100644 --- a/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/provider/_index.md @@ -34,7 +34,7 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None) @@ -47,15 +47,15 @@ no_edit_this_page: true
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/resource/_index.md b/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/resource/_index.md index 637abde9785b..eb7ebe1ae2dd 100644 --- a/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/resource/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/resource/_index.md @@ -35,7 +35,7 @@ no_edit_this_page: true bar: Optional[str] = None) @overload def Resource(resource_name: str, - args: Optional[ResourceArgs] = None, + args: Optional[ResourceArgs] = None, opts: Optional[ResourceOptions] = None) @@ -48,15 +48,15 @@ no_edit_this_page: true
-
public Resource(string name, ResourceArgs? args = null, CustomResourceOptions? opts = null)
+
public Resource(string name, ResourceArgs? args = null, CustomResourceOptions? opts = null)
-public Resource(String name, ResourceArgs args)
-public Resource(String name, ResourceArgs args, CustomResourceOptions options)
+public Resource(String name, ResourceArgs args)
+public Resource(String name, ResourceArgs args, CustomResourceOptions options)
 
@@ -110,7 +110,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -168,7 +168,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -194,7 +194,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -222,7 +222,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-Bar +Bar string @@ -236,7 +236,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-Bar +Bar string @@ -250,7 +250,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar String @@ -264,7 +264,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar string @@ -278,7 +278,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar str @@ -292,7 +292,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar String @@ -313,7 +313,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -322,7 +322,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Baz +Baz string @@ -336,7 +336,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -345,7 +345,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Baz +Baz string @@ -359,7 +359,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -368,7 +368,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-baz +baz String @@ -382,7 +382,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -391,7 +391,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-baz +baz string @@ -405,7 +405,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -414,7 +414,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-baz +baz str @@ -428,7 +428,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -437,7 +437,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-baz +baz String diff --git a/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/typeuses/_index.md b/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/typeuses/_index.md index 18902f3a70d1..f88806de1e53 100644 --- a/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/typeuses/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/typeuses/_index.md @@ -37,7 +37,7 @@ no_edit_this_page: true foo: Optional[ObjectArgs] = None) @overload def TypeUses(resource_name: str, - args: Optional[TypeUsesArgs] = None, + args: Optional[TypeUsesArgs] = None, opts: Optional[ResourceOptions] = None) @@ -50,15 +50,15 @@ no_edit_this_page: true
-
public TypeUses(string name, TypeUsesArgs? args = null, CustomResourceOptions? opts = null)
+
public TypeUses(string name, TypeUsesArgs? args = null, CustomResourceOptions? opts = null)
-public TypeUses(String name, TypeUsesArgs args)
-public TypeUses(String name, TypeUsesArgs args, CustomResourceOptions options)
+public TypeUses(String name, TypeUsesArgs args)
+public TypeUses(String name, TypeUsesArgs args, CustomResourceOptions options)
 
@@ -112,7 +112,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - TypeUsesArgs + TypeUsesArgs
The arguments to resource properties.
@@ -170,7 +170,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - TypeUsesArgs + TypeUsesArgs
The arguments to resource properties.
@@ -196,7 +196,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - TypeUsesArgs + TypeUsesArgs
The arguments to resource properties.
@@ -224,26 +224,26 @@ The TypeUses resource accepts the following [input](/docs/intro/concepts/inputs-
-Bar +Bar - SomeOtherObjectArgs + SomeOtherObjectArgs
-Baz +Baz - ObjectWithNodeOptionalInputsArgs + ObjectWithNodeOptionalInputsArgs
-Foo +Foo - ObjectArgs + ObjectArgs
@@ -254,26 +254,26 @@ The TypeUses resource accepts the following [input](/docs/intro/concepts/inputs-
-Bar +Bar - SomeOtherObjectArgs + SomeOtherObjectArgs
-Baz +Baz - ObjectWithNodeOptionalInputsArgs + ObjectWithNodeOptionalInputsArgs
-Foo +Foo - ObjectArgs + ObjectArgs
@@ -284,26 +284,26 @@ The TypeUses resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar - SomeOtherObjectArgs + SomeOtherObjectArgs
-baz +baz - ObjectWithNodeOptionalInputsArgs + ObjectWithNodeOptionalInputsArgs
-foo +foo - ObjectArgs + ObjectArgs
@@ -314,26 +314,26 @@ The TypeUses resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar - SomeOtherObjectArgs + SomeOtherObjectArgs
-baz +baz - ObjectWithNodeOptionalInputsArgs + ObjectWithNodeOptionalInputsArgs
-foo +foo - ObjectArgs + ObjectArgs
@@ -344,26 +344,26 @@ The TypeUses resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar - SomeOtherObjectArgs + SomeOtherObjectArgs
-baz +baz - ObjectWithNodeOptionalInputsArgs + ObjectWithNodeOptionalInputsArgs
-foo +foo - ObjectArgs + ObjectArgs
@@ -374,26 +374,26 @@ The TypeUses resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar - Property Map + Property Map
-baz +baz - Property Map + Property Map
-foo +foo - Property Map + Property Map
@@ -411,7 +411,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -426,7 +426,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -441,7 +441,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -456,7 +456,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -471,7 +471,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -486,7 +486,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -513,7 +513,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Config +Config string @@ -527,7 +527,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Config +Config string @@ -541,7 +541,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-config +config String @@ -555,7 +555,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-config +config string @@ -569,7 +569,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-config +config str @@ -583,7 +583,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-config +config String @@ -599,7 +599,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Bar +Bar string @@ -607,15 +607,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Configs +Configs - List<ConfigMap> + List<ConfigMap>
-Foo +Foo Pulumi.Example.Resource @@ -623,16 +623,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Others +Others - List<ImmutableArray<SomeOtherObject>> + List<ImmutableArray<SomeOtherObject>>

List of lists of other objects

-StillOthers +StillOthers Dictionary<string, ImmutableArray<SomeOtherObject>> @@ -647,7 +647,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Bar +Bar string @@ -655,15 +655,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Configs +Configs - []ConfigMap + []ConfigMap
-Foo +Foo Resource @@ -671,16 +671,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Others +Others - [][]SomeOtherObject + [][]SomeOtherObject

List of lists of other objects

-StillOthers +StillOthers map[string][]SomeOtherObject @@ -695,7 +695,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar String @@ -703,15 +703,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-configs +configs - List<ConfigMap> + List<ConfigMap>
-foo +foo Resource @@ -719,16 +719,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-others +others - List<List<SomeOtherObject>> + List<List<SomeOtherObject>>

List of lists of other objects

-stillOthers +stillOthers Map<String,List<SomeOtherObject>> @@ -743,7 +743,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar string @@ -751,15 +751,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-configs +configs - ConfigMap[] + ConfigMap[]
-foo +foo Resource @@ -767,16 +767,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-others +others - SomeOtherObject[][] + SomeOtherObject[][]

List of lists of other objects

-stillOthers +stillOthers {[key: string]: SomeOtherObject[]} @@ -791,7 +791,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar str @@ -799,15 +799,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-configs +configs - Sequence[ConfigMap] + Sequence[ConfigMap]
-foo +foo Resource @@ -815,16 +815,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-others +others - Sequence[Sequence[SomeOtherObject]] + Sequence[Sequence[SomeOtherObject]]

List of lists of other objects

-still_others +still_others Mapping[str, Sequence[SomeOtherObject]] @@ -839,7 +839,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar String @@ -847,15 +847,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-configs +configs - List<Property Map> + List<Property Map>
-foo +foo example:Resource @@ -863,16 +863,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-others +others - List<List<Property Map>> + List<List<Property Map>>

List of lists of other objects

-stillOthers +stillOthers Map<List<Property Map>> @@ -889,7 +889,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Foo +Foo string @@ -897,7 +897,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Bar +Bar int @@ -911,7 +911,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Foo +Foo string @@ -919,7 +919,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Bar +Bar int @@ -933,7 +933,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-foo +foo String @@ -941,7 +941,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar Integer @@ -955,7 +955,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-foo +foo string @@ -963,7 +963,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar number @@ -977,7 +977,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-foo +foo str @@ -985,7 +985,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar int @@ -999,7 +999,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-foo +foo String @@ -1007,7 +1007,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar Number @@ -1023,7 +1023,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Baz +Baz string @@ -1037,7 +1037,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Baz +Baz string @@ -1051,7 +1051,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-baz +baz String @@ -1065,7 +1065,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-baz +baz string @@ -1079,7 +1079,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-baz +baz str @@ -1093,7 +1093,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-baz +baz String diff --git a/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/_index.md b/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/_index.md index ebf7803bc27b..cfb02d6cb7ba 100644 --- a/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/_index.md @@ -13,15 +13,15 @@ no_edit_this_page: true

Resources

Functions

Package Details

diff --git a/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/argfunction/_index.md b/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/argfunction/_index.md index d381399700e0..bcab87ef65cd 100644 --- a/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/argfunction/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/argfunction/_index.md @@ -103,7 +103,7 @@ The following arguments are supported:
-Arg1 +Arg1 Pulumi.Example.Resource @@ -117,7 +117,7 @@ The following arguments are supported:
-Arg1 +Arg1 Resource @@ -131,7 +131,7 @@ The following arguments are supported:
-arg1 +arg1 Resource @@ -145,7 +145,7 @@ The following arguments are supported:
-arg1 +arg1 Resource @@ -159,7 +159,7 @@ The following arguments are supported:
-arg1 +arg1 Resource @@ -173,7 +173,7 @@ The following arguments are supported:
-arg1 +arg1 example:Resource @@ -196,7 +196,7 @@ The following output properties are available:
-Result +Result Pulumi.Example.Resource @@ -210,7 +210,7 @@ The following output properties are available:
-Result +Result Resource @@ -224,7 +224,7 @@ The following output properties are available:
-result +result Resource @@ -238,7 +238,7 @@ The following output properties are available:
-result +result Resource @@ -252,7 +252,7 @@ The following output properties are available:
-result +result Resource @@ -266,7 +266,7 @@ The following output properties are available:
-result +result example: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..143c51f4069c 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 @@ -36,7 +36,7 @@ no_edit_this_page: true foo: Optional[Resource] = None) @overload def OtherResource(resource_name: str, - args: Optional[OtherResourceArgs] = None, + args: Optional[OtherResourceArgs] = None, opts: Optional[ResourceOptions] = None) @@ -49,15 +49,15 @@ no_edit_this_page: true
-
public OtherResource(string name, OtherResourceArgs? args = null, CustomResourceOptions? opts = null)
+
public OtherResource(string name, OtherResourceArgs? args = null, CustomResourceOptions? opts = null)
-public OtherResource(String name, OtherResourceArgs args)
-public OtherResource(String name, OtherResourceArgs args, CustomResourceOptions options)
+public OtherResource(String name, OtherResourceArgs args)
+public OtherResource(String name, OtherResourceArgs args, CustomResourceOptions options)
 
@@ -111,7 +111,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - OtherResourceArgs + OtherResourceArgs
The arguments to resource properties.
@@ -169,7 +169,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - OtherResourceArgs + OtherResourceArgs
The arguments to resource properties.
@@ -195,7 +195,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - OtherResourceArgs + OtherResourceArgs
The arguments to resource properties.
@@ -223,7 +223,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-Bar +Bar List<string> @@ -231,7 +231,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-Foo +Foo Pulumi.Example.Resource @@ -245,7 +245,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-Bar +Bar []string @@ -253,7 +253,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-Foo +Foo Resource @@ -267,7 +267,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-bar +bar List<String> @@ -275,7 +275,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-foo +foo Resource @@ -289,7 +289,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-bar +bar string[] @@ -297,7 +297,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-foo +foo Resource @@ -311,7 +311,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-bar +bar Sequence[str] @@ -319,7 +319,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-foo +foo Resource @@ -333,7 +333,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-bar +bar List<String> @@ -341,7 +341,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-foo +foo example:Resource diff --git a/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/provider/_index.md index 2990f2ed2094..92e6a11a5d54 100644 --- a/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/provider/_index.md @@ -34,7 +34,7 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None) @@ -47,15 +47,15 @@ no_edit_this_page: true
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/resource/_index.md b/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/resource/_index.md index 0bdf7fff0091..836eab027a55 100644 --- a/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/resource/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/resource/_index.md @@ -35,7 +35,7 @@ no_edit_this_page: true bar: Optional[str] = None) @overload def Resource(resource_name: str, - args: Optional[ResourceArgs] = None, + args: Optional[ResourceArgs] = None, opts: Optional[ResourceOptions] = None) @@ -48,15 +48,15 @@ no_edit_this_page: true
-
public Resource(string name, ResourceArgs? args = null, CustomResourceOptions? opts = null)
+
public Resource(string name, ResourceArgs? args = null, CustomResourceOptions? opts = null)
-public Resource(String name, ResourceArgs args)
-public Resource(String name, ResourceArgs args, CustomResourceOptions options)
+public Resource(String name, ResourceArgs args)
+public Resource(String name, ResourceArgs args, CustomResourceOptions options)
 
@@ -110,7 +110,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -168,7 +168,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -194,7 +194,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -222,7 +222,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-Bar +Bar string @@ -236,7 +236,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-Bar +Bar string @@ -250,7 +250,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar String @@ -264,7 +264,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar string @@ -278,7 +278,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar str @@ -292,7 +292,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar String @@ -313,7 +313,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -328,7 +328,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -343,7 +343,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -358,7 +358,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -373,7 +373,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -388,7 +388,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/typeuses/_index.md b/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/typeuses/_index.md index ef7e9e7dc1e1..4c2ea8a7bcde 100644 --- a/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/typeuses/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/typeuses/_index.md @@ -38,7 +38,7 @@ no_edit_this_page: true qux: Optional[RubberTreeVariety] = None) @overload def TypeUses(resource_name: str, - args: Optional[TypeUsesArgs] = None, + args: Optional[TypeUsesArgs] = None, opts: Optional[ResourceOptions] = None) @@ -51,15 +51,15 @@ no_edit_this_page: true
-
public TypeUses(string name, TypeUsesArgs? args = null, CustomResourceOptions? opts = null)
+
public TypeUses(string name, TypeUsesArgs? args = null, CustomResourceOptions? opts = null)
-public TypeUses(String name, TypeUsesArgs args)
-public TypeUses(String name, TypeUsesArgs args, CustomResourceOptions options)
+public TypeUses(String name, TypeUsesArgs args)
+public TypeUses(String name, TypeUsesArgs args, CustomResourceOptions options)
 
@@ -113,7 +113,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - TypeUsesArgs + TypeUsesArgs
The arguments to resource properties.
@@ -171,7 +171,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - TypeUsesArgs + TypeUsesArgs
The arguments to resource properties.
@@ -197,7 +197,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - TypeUsesArgs + TypeUsesArgs
The arguments to resource properties.
@@ -225,34 +225,34 @@ The TypeUses resource accepts the following [input](/docs/intro/concepts/inputs-
-Bar +Bar - SomeOtherObjectArgs + SomeOtherObjectArgs
-Baz +Baz - ObjectWithNodeOptionalInputsArgs + ObjectWithNodeOptionalInputsArgs
-Foo +Foo - ObjectArgs + ObjectArgs
-Qux +Qux - Pulumi.Example.RubberTreeVariety + Pulumi.Example.RubberTreeVariety
@@ -263,34 +263,34 @@ The TypeUses resource accepts the following [input](/docs/intro/concepts/inputs-
-Bar +Bar - SomeOtherObjectArgs + SomeOtherObjectArgs
-Baz +Baz - ObjectWithNodeOptionalInputsArgs + ObjectWithNodeOptionalInputsArgs
-Foo +Foo - ObjectArgs + ObjectArgs
-Qux +Qux - RubberTreeVariety + RubberTreeVariety
@@ -301,34 +301,34 @@ The TypeUses resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar - SomeOtherObjectArgs + SomeOtherObjectArgs
-baz +baz - ObjectWithNodeOptionalInputsArgs + ObjectWithNodeOptionalInputsArgs
-foo +foo - ObjectArgs + ObjectArgs
-qux +qux - RubberTreeVariety + RubberTreeVariety
@@ -339,34 +339,34 @@ The TypeUses resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar - SomeOtherObjectArgs + SomeOtherObjectArgs
-baz +baz - ObjectWithNodeOptionalInputsArgs + ObjectWithNodeOptionalInputsArgs
-foo +foo - ObjectArgs + ObjectArgs
-qux +qux - RubberTreeVariety + RubberTreeVariety
@@ -377,34 +377,34 @@ The TypeUses resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar - SomeOtherObjectArgs + SomeOtherObjectArgs
-baz +baz - ObjectWithNodeOptionalInputsArgs + ObjectWithNodeOptionalInputsArgs
-foo +foo - ObjectArgs + ObjectArgs
-qux +qux - RubberTreeVariety + RubberTreeVariety
@@ -415,34 +415,34 @@ The TypeUses resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar - Property Map + Property Map
-baz +baz - Property Map + Property Map
-foo +foo - Property Map + Property Map
-qux +qux - "Burgundy" | "Ruby" | "Tineke" + "Burgundy" | "Ruby" | "Tineke"
@@ -460,7 +460,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -469,23 +469,23 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Alpha +Alpha - Pulumi.Example.OutputOnlyEnumType + Pulumi.Example.OutputOnlyEnumType
-Beta +Beta - List<OutputOnlyObjectType> + List<OutputOnlyObjectType>
-Gamma +Gamma Dictionary<string, Pulumi.Example.OutputOnlyEnumType> @@ -493,10 +493,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Zed +Zed - OutputOnlyObjectType + OutputOnlyObjectType
@@ -507,7 +507,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -516,23 +516,23 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Alpha +Alpha - OutputOnlyEnumType + OutputOnlyEnumType
-Beta +Beta - []OutputOnlyObjectType + []OutputOnlyObjectType
-Gamma +Gamma map[string]OutputOnlyEnumType @@ -540,10 +540,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Zed +Zed - OutputOnlyObjectType + OutputOnlyObjectType
@@ -554,7 +554,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -563,23 +563,23 @@ All [input](#inputs) properties are implicitly available as output properties. A
-alpha +alpha - OutputOnlyEnumType + OutputOnlyEnumType
-beta +beta - List<OutputOnlyObjectType> + List<OutputOnlyObjectType>
-gamma +gamma Map<String,OutputOnlyEnumType> @@ -587,10 +587,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-zed +zed - OutputOnlyObjectType + OutputOnlyObjectType
@@ -601,7 +601,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -610,23 +610,23 @@ All [input](#inputs) properties are implicitly available as output properties. A
-alpha +alpha - OutputOnlyEnumType + OutputOnlyEnumType
-beta +beta - OutputOnlyObjectType[] + OutputOnlyObjectType[]
-gamma +gamma {[key: string]: OutputOnlyEnumType} @@ -634,10 +634,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-zed +zed - OutputOnlyObjectType + OutputOnlyObjectType
@@ -648,7 +648,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -657,23 +657,23 @@ All [input](#inputs) properties are implicitly available as output properties. A
-alpha +alpha - OutputOnlyEnumType + OutputOnlyEnumType
-beta +beta - Sequence[OutputOnlyObjectType] + Sequence[OutputOnlyObjectType]
-gamma +gamma Mapping[str, OutputOnlyEnumType] @@ -681,10 +681,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-zed +zed - OutputOnlyObjectType + OutputOnlyObjectType
@@ -695,7 +695,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -704,23 +704,23 @@ All [input](#inputs) properties are implicitly available as output properties. A
-alpha +alpha - "foo" | "bar" + "foo" | "bar"
-beta +beta - List<Property Map> + List<Property Map>
-gamma +gamma Map<"foo" | "bar"> @@ -728,10 +728,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-zed +zed - Property Map + Property Map
@@ -754,7 +754,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Config +Config string @@ -768,7 +768,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Config +Config string @@ -782,7 +782,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-config +config String @@ -796,7 +796,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-config +config string @@ -810,7 +810,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-config +config str @@ -824,7 +824,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-config +config String @@ -840,7 +840,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Bar +Bar string @@ -848,15 +848,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Configs +Configs - List<ConfigMap> + List<ConfigMap>
-Foo +Foo Pulumi.Example.Resource @@ -864,16 +864,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Others +Others - List<ImmutableArray<SomeOtherObject>> + List<ImmutableArray<SomeOtherObject>>

List of lists of other objects

-StillOthers +StillOthers Dictionary<string, ImmutableArray<SomeOtherObject>> @@ -888,7 +888,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Bar +Bar string @@ -896,15 +896,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Configs +Configs - []ConfigMap + []ConfigMap
-Foo +Foo Resource @@ -912,16 +912,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Others +Others - [][]SomeOtherObject + [][]SomeOtherObject

List of lists of other objects

-StillOthers +StillOthers map[string][]SomeOtherObject @@ -936,7 +936,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar String @@ -944,15 +944,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-configs +configs - List<ConfigMap> + List<ConfigMap>
-foo +foo Resource @@ -960,16 +960,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-others +others - List<List<SomeOtherObject>> + List<List<SomeOtherObject>>

List of lists of other objects

-stillOthers +stillOthers Map<String,List<SomeOtherObject>> @@ -984,7 +984,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar string @@ -992,15 +992,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-configs +configs - ConfigMap[] + ConfigMap[]
-foo +foo Resource @@ -1008,16 +1008,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-others +others - SomeOtherObject[][] + SomeOtherObject[][]

List of lists of other objects

-stillOthers +stillOthers {[key: string]: SomeOtherObject[]} @@ -1032,7 +1032,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar str @@ -1040,15 +1040,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-configs +configs - Sequence[ConfigMap] + Sequence[ConfigMap]
-foo +foo Resource @@ -1056,16 +1056,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-others +others - Sequence[Sequence[SomeOtherObject]] + Sequence[Sequence[SomeOtherObject]]

List of lists of other objects

-still_others +still_others Mapping[str, Sequence[SomeOtherObject]] @@ -1080,7 +1080,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar String @@ -1088,15 +1088,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-configs +configs - List<Property Map> + List<Property Map>
-foo +foo example:Resource @@ -1104,16 +1104,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-others +others - List<List<Property Map>> + List<List<Property Map>>

List of lists of other objects

-stillOthers +stillOthers Map<List<Property Map>> @@ -1130,7 +1130,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Foo +Foo string @@ -1138,7 +1138,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Bar +Bar int @@ -1152,7 +1152,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Foo +Foo string @@ -1160,7 +1160,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Bar +Bar int @@ -1174,7 +1174,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-foo +foo String @@ -1182,7 +1182,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar Integer @@ -1196,7 +1196,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-foo +foo string @@ -1204,7 +1204,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar number @@ -1218,7 +1218,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-foo +foo str @@ -1226,7 +1226,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar int @@ -1240,7 +1240,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-foo +foo String @@ -1248,7 +1248,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar Number @@ -1314,7 +1314,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Foo +Foo string @@ -1328,7 +1328,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Foo +Foo string @@ -1342,7 +1342,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-foo +foo String @@ -1356,7 +1356,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-foo +foo string @@ -1370,7 +1370,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-foo +foo str @@ -1384,7 +1384,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-foo +foo String @@ -1474,7 +1474,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Baz +Baz string @@ -1488,7 +1488,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Baz +Baz string @@ -1502,7 +1502,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-baz +baz String @@ -1516,7 +1516,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-baz +baz string @@ -1530,7 +1530,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-baz +baz str @@ -1544,7 +1544,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-baz +baz String From ce63439609f218c866531a6afd1f620c2cab3b13 Mon Sep 17 00:00:00 2001 From: susanev Date: Tue, 6 Dec 2022 15:20:18 -0800 Subject: [PATCH 10/36] fixing mistakes maybe Signed-off-by: susanev --- pkg/codegen/docs/gen.go | 8 ++++---- .../azure-native-nested-types/docs/_index.md | 2 +- .../documentdb/sqlresourcesqlcontainer/_index.md | 14 +++++++------- .../docs/provider/_index.md | 14 +++++++------- .../testdata/cyclic-types/docs/provider/_index.md | 14 +++++++------- .../test/testdata/dash-named-schema/docs/_index.md | 2 +- .../dash-named-schema/docs/provider/_index.md | 14 +++++++------- .../docs/submodule1/fooencryptedbarclass/_index.md | 14 +++++++------- .../docs/submodule1/moduleresource/_index.md | 14 +++++++------- .../testdata/dashed-import-schema/docs/_index.md | 2 +- .../dashed-import-schema/docs/provider/_index.md | 14 +++++++------- .../dashed-import-schema/docs/tree/_index.md | 2 +- .../docs/tree/v1/nursery/_index.md | 14 +++++++------- .../docs/tree/v1/rubbertree/_index.md | 14 +++++++------- .../test/testdata/different-enum/docs/_index.md | 2 +- .../different-enum/docs/provider/_index.md | 14 +++++++------- .../testdata/different-enum/docs/tree/_index.md | 2 +- .../different-enum/docs/tree/v1/nursery/_index.md | 14 +++++++------- .../docs/tree/v1/rubbertree/_index.md | 14 +++++++------- .../test/testdata/enum-reference/docs/_index.md | 2 +- .../docs/myModule/iamresource/_index.md | 14 +++++++------- .../enum-reference/docs/provider/_index.md | 14 +++++++------- .../external-enum/docs/component/_index.md | 14 +++++++------- .../testdata/external-enum/docs/provider/_index.md | 14 +++++++------- .../external-resource-schema/docs/cat/_index.md | 14 +++++++------- .../docs/component/_index.md | 14 +++++++------- .../docs/provider/_index.md | 14 +++++++------- .../docs/workload/_index.md | 14 +++++++------- .../functions-secrets/docs/provider/_index.md | 14 +++++++------- .../testdata/hyphen-url/docs/provider/_index.md | 14 +++++++------- .../docs/registrygeoreplication/_index.md | 14 +++++++------- .../naming-collisions/docs/provider/_index.md | 14 +++++++------- .../naming-collisions/docs/resource/_index.md | 14 +++++++------- .../naming-collisions/docs/resourceinput/_index.md | 14 +++++++------- .../nested-module-thirdparty/docs/_index.md | 2 +- .../nested-module-thirdparty/docs/deeply/_index.md | 2 +- .../docs/deeply/nested/_index.md | 2 +- .../docs/deeply/nested/module/resource/_index.md | 14 +++++++------- .../docs/provider/_index.md | 14 +++++++------- .../test/testdata/nested-module/docs/_index.md | 2 +- .../testdata/nested-module/docs/nested/_index.md | 2 +- .../docs/nested/module/resource/_index.md | 14 +++++++------- .../testdata/nested-module/docs/provider/_index.md | 14 +++++++------- .../other-owned/docs/barresource/_index.md | 14 +++++++------- .../other-owned/docs/fooresource/_index.md | 14 +++++++------- .../other-owned/docs/otherresource/_index.md | 14 +++++++------- .../other-owned/docs/overlayresource/_index.md | 14 +++++++------- .../testdata/other-owned/docs/provider/_index.md | 14 +++++++------- .../testdata/other-owned/docs/resource/_index.md | 14 +++++++------- .../testdata/other-owned/docs/typeuses/_index.md | 14 +++++++------- .../output-funcs-edgeorder/docs/provider/_index.md | 14 +++++++------- .../docs/provider/_index.md | 14 +++++++------- .../testdata/output-funcs/docs/provider/_index.md | 14 +++++++------- .../docs/moduleresource/_index.md | 14 +++++++------- .../plain-and-default/docs/provider/_index.md | 14 +++++++------- .../testdata/plain-object-defaults/docs/_index.md | 4 ++-- .../plain-object-defaults/docs/foo/_index.md | 14 +++++++------- .../docs/moduletest/_index.md | 14 +++++++------- .../plain-object-defaults/docs/provider/_index.md | 14 +++++++------- .../plain-object-disable-defaults/docs/_index.md | 4 ++-- .../docs/foo/_index.md | 14 +++++++------- .../docs/moduletest/_index.md | 14 +++++++------- .../docs/provider/_index.md | 14 +++++++------- .../plain-schema-gh6957/docs/provider/_index.md | 14 +++++++------- .../plain-schema-gh6957/docs/staticpage/_index.md | 14 +++++++------- .../provider-config-schema/docs/provider/_index.md | 14 +++++++------- .../testdata/regress-8403/docs/provider/_index.md | 14 +++++++------- .../regress-node-8110/docs/provider/_index.md | 14 +++++++------- .../testdata/replace-on-change/docs/cat/_index.md | 14 +++++++------- .../testdata/replace-on-change/docs/dog/_index.md | 14 +++++++------- .../testdata/replace-on-change/docs/god/_index.md | 14 +++++++------- .../replace-on-change/docs/norecursive/_index.md | 14 +++++++------- .../replace-on-change/docs/provider/_index.md | 14 +++++++------- .../replace-on-change/docs/toystore/_index.md | 14 +++++++------- .../docs/person/_index.md | 14 +++++++------- .../docs/pet/_index.md | 14 +++++++------- .../docs/provider/_index.md | 14 +++++++------- .../resource-args-python/docs/person/_index.md | 14 +++++++------- .../resource-args-python/docs/pet/_index.md | 14 +++++++------- .../resource-args-python/docs/provider/_index.md | 14 +++++++------- .../docs/provider/_index.md | 14 +++++++------- .../resource-property-overlap/docs/rec/_index.md | 14 +++++++------- .../test/testdata/secrets/docs/provider/_index.md | 14 +++++++------- .../test/testdata/secrets/docs/resource/_index.md | 14 +++++++------- .../testdata/simple-enum-schema/docs/_index.md | 2 +- .../simple-enum-schema/docs/provider/_index.md | 14 +++++++------- .../simple-enum-schema/docs/tree/_index.md | 2 +- .../docs/tree/v1/nursery/_index.md | 14 +++++++------- .../docs/tree/v1/rubbertree/_index.md | 14 +++++++------- .../docs/foo/_index.md | 14 +++++++------- .../docs/provider/_index.md | 14 +++++++------- .../simple-methods-schema/docs/foo/_index.md | 14 +++++++------- .../simple-methods-schema/docs/provider/_index.md | 14 +++++++------- .../docs/component/_index.md | 14 +++++++------- .../docs/provider/_index.md | 14 +++++++------- .../simple-plain-schema/docs/component/_index.md | 14 +++++++------- .../simple-plain-schema/docs/provider/_index.md | 14 +++++++------- .../docs/otherresource/_index.md | 14 +++++++------- .../docs/provider/_index.md | 14 +++++++------- .../docs/resource/_index.md | 14 +++++++------- .../docs/barresource/_index.md | 14 +++++++------- .../docs/fooresource/_index.md | 14 +++++++------- .../docs/otherresource/_index.md | 14 +++++++------- .../docs/overlayresource/_index.md | 14 +++++++------- .../simple-resource-schema/docs/provider/_index.md | 14 +++++++------- .../simple-resource-schema/docs/resource/_index.md | 14 +++++++------- .../simple-resource-schema/docs/typeuses/_index.md | 14 +++++++------- .../docs/otherresource/_index.md | 14 +++++++------- .../simple-yaml-schema/docs/provider/_index.md | 14 +++++++------- .../simple-yaml-schema/docs/resource/_index.md | 14 +++++++------- .../simple-yaml-schema/docs/typeuses/_index.md | 14 +++++++------- 111 files changed, 680 insertions(+), 680 deletions(-) diff --git a/pkg/codegen/docs/gen.go b/pkg/codegen/docs/gen.go index f68484bdfe07..c57facc33793 100644 --- a/pkg/codegen/docs/gen.go +++ b/pkg/codegen/docs/gen.go @@ -701,7 +701,7 @@ func (mod *modContext) genConstructorTS(r *schema.Resource, argsOptional bool) [ OptionalFlag: argsFlag, Type: propertyType{ Name: argsType, - Link: "#inputs", + Link: "#inputs/", }, Comment: ctorArgsArgComment, }, @@ -749,7 +749,7 @@ func (mod *modContext) genConstructorGo(r *schema.Resource, argsOptional bool) [ OptionalFlag: argsFlag, Type: propertyType{ Name: argsType, - Link: "#inputs", + Link: "#inputs/", }, Comment: ctorArgsArgComment, }, @@ -927,7 +927,7 @@ func (mod *modContext) genConstructorPython(r *schema.Resource, argsOptional, ar Type: propertyType{ Name: "Optional[ResourceOptions]", DescriptionName: "ResourceOptions", - Link: "/docs/reference/pkg/python/pulumi/#pulumi.ResourceOptions", + Link: "/docs/reference/pkg/python/pulumi/#pulumi.ResourceOptions/", }, Comment: ctorOptsArgComment, }) @@ -1836,7 +1836,7 @@ func (mod *modContext) genIndex() indexData { modName := mod.getModuleFileName() displayName := modFilenameToDisplayName(modName) modules = append(modules, indexEntry{ - Link: getModuleLink(displayName) + "/", + Link: getModuleLink(displayName), DisplayName: displayName, }) } diff --git a/pkg/codegen/testing/test/testdata/azure-native-nested-types/docs/_index.md b/pkg/codegen/testing/test/testdata/azure-native-nested-types/docs/_index.md index 3fab04a17acc..4f34b3890b86 100644 --- a/pkg/codegen/testing/test/testdata/azure-native-nested-types/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/azure-native-nested-types/docs/_index.md @@ -13,7 +13,7 @@ A native Pulumi package for creating and managing Azure resources.

Modules

Resources

diff --git a/pkg/codegen/testing/test/testdata/azure-native-nested-types/docs/documentdb/sqlresourcesqlcontainer/_index.md b/pkg/codegen/testing/test/testdata/azure-native-nested-types/docs/documentdb/sqlresourcesqlcontainer/_index.md index 76edf6b9f94c..cfe5e1063175 100644 --- a/pkg/codegen/testing/test/testdata/azure-native-nested-types/docs/documentdb/sqlresourcesqlcontainer/_index.md +++ b/pkg/codegen/testing/test/testdata/azure-native-nested-types/docs/documentdb/sqlresourcesqlcontainer/_index.md @@ -355,7 +355,7 @@ Coming soon!
-
new SqlResourceSqlContainer(name: string, args?: SqlResourceSqlContainerArgs, opts?: CustomResourceOptions);
+
new SqlResourceSqlContainer(name: string, args?: SqlResourceSqlContainerArgs, opts?: CustomResourceOptions);
@@ -363,17 +363,17 @@ Coming soon!
@overload
 def SqlResourceSqlContainer(resource_name: str,
-                            opts: Optional[ResourceOptions] = None)
+                            opts: Optional[ResourceOptions] = None)
 @overload
 def SqlResourceSqlContainer(resource_name: str,
                             args: Optional[SqlResourceSqlContainerArgs] = None,
-                            opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewSqlResourceSqlContainer(ctx *Context, name string, args *SqlResourceSqlContainerArgs, opts ...ResourceOption) (*SqlResourceSqlContainer, error)
+
func NewSqlResourceSqlContainer(ctx *Context, name string, args *SqlResourceSqlContainerArgs, opts ...ResourceOption) (*SqlResourceSqlContainer, error)
@@ -415,7 +415,7 @@ Coming soon! class="property-optional" title="Optional"> args - SqlResourceSqlContainerArgs + SqlResourceSqlContainerArgs
The arguments to resource properties.
@@ -447,7 +447,7 @@ Coming soon! class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -473,7 +473,7 @@ Coming soon! class="property-optional" title="Optional"> args - SqlResourceSqlContainerArgs + SqlResourceSqlContainerArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/azure-native-nested-types/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/azure-native-nested-types/docs/provider/_index.md index 2c0a38e99963..66b69da401dc 100644 --- a/pkg/codegen/testing/test/testdata/azure-native-nested-types/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/azure-native-nested-types/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -31,17 +31,17 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/cyclic-types/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/cyclic-types/docs/provider/_index.md index 92e6a11a5d54..432bfcd884b1 100644 --- a/pkg/codegen/testing/test/testdata/cyclic-types/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/cyclic-types/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -31,17 +31,17 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/dash-named-schema/docs/_index.md b/pkg/codegen/testing/test/testdata/dash-named-schema/docs/_index.md index bee1fc49109e..b4b57bd9c2bf 100644 --- a/pkg/codegen/testing/test/testdata/dash-named-schema/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/dash-named-schema/docs/_index.md @@ -13,7 +13,7 @@ no_edit_this_page: true

Modules

Resources

diff --git a/pkg/codegen/testing/test/testdata/dash-named-schema/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/dash-named-schema/docs/provider/_index.md index a3c46c543787..2ebf21eb7292 100644 --- a/pkg/codegen/testing/test/testdata/dash-named-schema/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/dash-named-schema/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -31,17 +31,17 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/dash-named-schema/docs/submodule1/fooencryptedbarclass/_index.md b/pkg/codegen/testing/test/testdata/dash-named-schema/docs/submodule1/fooencryptedbarclass/_index.md index 2b3511fe8d53..b9403a32eed0 100644 --- a/pkg/codegen/testing/test/testdata/dash-named-schema/docs/submodule1/fooencryptedbarclass/_index.md +++ b/pkg/codegen/testing/test/testdata/dash-named-schema/docs/submodule1/fooencryptedbarclass/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new FOOEncryptedBarClass(name: string, args?: FOOEncryptedBarClassArgs, opts?: CustomResourceOptions);
+
new FOOEncryptedBarClass(name: string, args?: FOOEncryptedBarClassArgs, opts?: CustomResourceOptions);
@@ -31,17 +31,17 @@ no_edit_this_page: true
@overload
 def FOOEncryptedBarClass(resource_name: str,
-                         opts: Optional[ResourceOptions] = None)
+                         opts: Optional[ResourceOptions] = None)
 @overload
 def FOOEncryptedBarClass(resource_name: str,
                          args: Optional[FOOEncryptedBarClassArgs] = None,
-                         opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewFOOEncryptedBarClass(ctx *Context, name string, args *FOOEncryptedBarClassArgs, opts ...ResourceOption) (*FOOEncryptedBarClass, error)
+
func NewFOOEncryptedBarClass(ctx *Context, name string, args *FOOEncryptedBarClassArgs, opts ...ResourceOption) (*FOOEncryptedBarClass, error)
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - FOOEncryptedBarClassArgs + FOOEncryptedBarClassArgs
The arguments to resource properties.
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - FOOEncryptedBarClassArgs + FOOEncryptedBarClassArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/dash-named-schema/docs/submodule1/moduleresource/_index.md b/pkg/codegen/testing/test/testdata/dash-named-schema/docs/submodule1/moduleresource/_index.md index e4d1e5dac9ff..23409790d888 100644 --- a/pkg/codegen/testing/test/testdata/dash-named-schema/docs/submodule1/moduleresource/_index.md +++ b/pkg/codegen/testing/test/testdata/dash-named-schema/docs/submodule1/moduleresource/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new ModuleResource(name: string, args?: ModuleResourceArgs, opts?: CustomResourceOptions);
+
new ModuleResource(name: string, args?: ModuleResourceArgs, opts?: CustomResourceOptions);
@@ -31,18 +31,18 @@ no_edit_this_page: true
@overload
 def ModuleResource(resource_name: str,
-                   opts: Optional[ResourceOptions] = None,
+                   opts: Optional[ResourceOptions] = None,
                    thing: Optional[_root_inputs.TopLevelArgs] = None)
 @overload
 def ModuleResource(resource_name: str,
                    args: Optional[ModuleResourceArgs] = None,
-                   opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewModuleResource(ctx *Context, name string, args *ModuleResourceArgs, opts ...ResourceOption) (*ModuleResource, error)
+
func NewModuleResource(ctx *Context, name string, args *ModuleResourceArgs, opts ...ResourceOption) (*ModuleResource, error)
@@ -84,7 +84,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ModuleResourceArgs + ModuleResourceArgs
The arguments to resource properties.
@@ -116,7 +116,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -142,7 +142,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ModuleResourceArgs + ModuleResourceArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/_index.md b/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/_index.md index 50ae6ac41a60..fe858ba6562a 100644 --- a/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/_index.md @@ -13,7 +13,7 @@ no_edit_this_page: true

Modules

Resources

diff --git a/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/provider/_index.md index fd6d6f1204b1..6c01bf3a697f 100644 --- a/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -31,17 +31,17 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/tree/_index.md b/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/tree/_index.md index af631ce38d5d..1e00d190ca58 100644 --- a/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/tree/_index.md +++ b/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/tree/_index.md @@ -13,7 +13,7 @@ no_edit_this_page: true

Modules

Package Details

diff --git a/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/tree/v1/nursery/_index.md b/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/tree/v1/nursery/_index.md index 10076f55e4e6..c333b5bb1542 100644 --- a/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/tree/v1/nursery/_index.md +++ b/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/tree/v1/nursery/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Nursery(name: string, args: NurseryArgs, opts?: CustomResourceOptions);
+
new Nursery(name: string, args: NurseryArgs, opts?: CustomResourceOptions);
@@ -31,19 +31,19 @@ no_edit_this_page: true
@overload
 def Nursery(resource_name: str,
-            opts: Optional[ResourceOptions] = None,
+            opts: Optional[ResourceOptions] = None,
             sizes: Optional[Mapping[str, TreeSize]] = None,
             varieties: Optional[Sequence[RubberTreeVariety]] = None)
 @overload
 def Nursery(resource_name: str,
             args: NurseryArgs,
-            opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewNursery(ctx *Context, name string, args NurseryArgs, opts ...ResourceOption) (*Nursery, error)
+
func NewNursery(ctx *Context, name string, args NurseryArgs, opts ...ResourceOption) (*Nursery, error)
@@ -85,7 +85,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - NurseryArgs + NurseryArgs
The arguments to resource properties.
@@ -117,7 +117,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -143,7 +143,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - NurseryArgs + NurseryArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/tree/v1/rubbertree/_index.md b/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/tree/v1/rubbertree/_index.md index 077874d0a9ad..049817ff0d47 100644 --- a/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/tree/v1/rubbertree/_index.md +++ b/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/tree/v1/rubbertree/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new RubberTree(name: string, args: RubberTreeArgs, opts?: CustomResourceOptions);
+
new RubberTree(name: string, args: RubberTreeArgs, opts?: CustomResourceOptions);
@@ -31,7 +31,7 @@ no_edit_this_page: true
@overload
 def RubberTree(resource_name: str,
-               opts: Optional[ResourceOptions] = None,
+               opts: Optional[ResourceOptions] = None,
                container: Optional[_root_inputs.ContainerArgs] = None,
                diameter: Optional[Diameter] = None,
                farm: Optional[Union[Farm, str]] = None,
@@ -40,13 +40,13 @@ no_edit_this_page: true
 @overload
 def RubberTree(resource_name: str,
                args: RubberTreeArgs,
-               opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewRubberTree(ctx *Context, name string, args RubberTreeArgs, opts ...ResourceOption) (*RubberTree, error)
+
func NewRubberTree(ctx *Context, name string, args RubberTreeArgs, opts ...ResourceOption) (*RubberTree, error)
@@ -88,7 +88,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - RubberTreeArgs + RubberTreeArgs
The arguments to resource properties.
@@ -120,7 +120,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -146,7 +146,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - RubberTreeArgs + RubberTreeArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/different-enum/docs/_index.md b/pkg/codegen/testing/test/testdata/different-enum/docs/_index.md index 50ae6ac41a60..fe858ba6562a 100644 --- a/pkg/codegen/testing/test/testdata/different-enum/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/different-enum/docs/_index.md @@ -13,7 +13,7 @@ no_edit_this_page: true

Modules

Resources

diff --git a/pkg/codegen/testing/test/testdata/different-enum/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/different-enum/docs/provider/_index.md index fd6d6f1204b1..6c01bf3a697f 100644 --- a/pkg/codegen/testing/test/testdata/different-enum/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/different-enum/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -31,17 +31,17 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/different-enum/docs/tree/_index.md b/pkg/codegen/testing/test/testdata/different-enum/docs/tree/_index.md index af631ce38d5d..1e00d190ca58 100644 --- a/pkg/codegen/testing/test/testdata/different-enum/docs/tree/_index.md +++ b/pkg/codegen/testing/test/testdata/different-enum/docs/tree/_index.md @@ -13,7 +13,7 @@ no_edit_this_page: true

Modules

Package Details

diff --git a/pkg/codegen/testing/test/testdata/different-enum/docs/tree/v1/nursery/_index.md b/pkg/codegen/testing/test/testdata/different-enum/docs/tree/v1/nursery/_index.md index 10076f55e4e6..c333b5bb1542 100644 --- a/pkg/codegen/testing/test/testdata/different-enum/docs/tree/v1/nursery/_index.md +++ b/pkg/codegen/testing/test/testdata/different-enum/docs/tree/v1/nursery/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Nursery(name: string, args: NurseryArgs, opts?: CustomResourceOptions);
+
new Nursery(name: string, args: NurseryArgs, opts?: CustomResourceOptions);
@@ -31,19 +31,19 @@ no_edit_this_page: true
@overload
 def Nursery(resource_name: str,
-            opts: Optional[ResourceOptions] = None,
+            opts: Optional[ResourceOptions] = None,
             sizes: Optional[Mapping[str, TreeSize]] = None,
             varieties: Optional[Sequence[RubberTreeVariety]] = None)
 @overload
 def Nursery(resource_name: str,
             args: NurseryArgs,
-            opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewNursery(ctx *Context, name string, args NurseryArgs, opts ...ResourceOption) (*Nursery, error)
+
func NewNursery(ctx *Context, name string, args NurseryArgs, opts ...ResourceOption) (*Nursery, error)
@@ -85,7 +85,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - NurseryArgs + NurseryArgs
The arguments to resource properties.
@@ -117,7 +117,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -143,7 +143,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - NurseryArgs + NurseryArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/different-enum/docs/tree/v1/rubbertree/_index.md b/pkg/codegen/testing/test/testdata/different-enum/docs/tree/v1/rubbertree/_index.md index 4f1375bb6488..dd17628110e6 100644 --- a/pkg/codegen/testing/test/testdata/different-enum/docs/tree/v1/rubbertree/_index.md +++ b/pkg/codegen/testing/test/testdata/different-enum/docs/tree/v1/rubbertree/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new RubberTree(name: string, args: RubberTreeArgs, opts?: CustomResourceOptions);
+
new RubberTree(name: string, args: RubberTreeArgs, opts?: CustomResourceOptions);
@@ -31,7 +31,7 @@ no_edit_this_page: true
@overload
 def RubberTree(resource_name: str,
-               opts: Optional[ResourceOptions] = None,
+               opts: Optional[ResourceOptions] = None,
                container: Optional[_root_inputs.ContainerArgs] = None,
                diameter: Optional[Diameter] = None,
                farm: Optional[Union[Farm, str]] = None,
@@ -40,13 +40,13 @@ no_edit_this_page: true
 @overload
 def RubberTree(resource_name: str,
                args: RubberTreeArgs,
-               opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewRubberTree(ctx *Context, name string, args RubberTreeArgs, opts ...ResourceOption) (*RubberTree, error)
+
func NewRubberTree(ctx *Context, name string, args RubberTreeArgs, opts ...ResourceOption) (*RubberTree, error)
@@ -88,7 +88,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - RubberTreeArgs + RubberTreeArgs
The arguments to resource properties.
@@ -120,7 +120,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -146,7 +146,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - RubberTreeArgs + RubberTreeArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/enum-reference/docs/_index.md b/pkg/codegen/testing/test/testdata/enum-reference/docs/_index.md index 72ee6f3e3c7e..6b7d5642153f 100644 --- a/pkg/codegen/testing/test/testdata/enum-reference/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/enum-reference/docs/_index.md @@ -13,7 +13,7 @@ no_edit_this_page: true

Modules

Resources

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 c63b49e8cd5d..98c424d7f9b9 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 @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new IamResource(name: string, args?: IamResourceArgs, opts?: CustomResourceOptions);
+
new IamResource(name: string, args?: IamResourceArgs, opts?: CustomResourceOptions);
@@ -31,18 +31,18 @@ no_edit_this_page: true
@overload
 def IamResource(resource_name: str,
-                opts: Optional[ResourceOptions] = None,
+                opts: Optional[ResourceOptions] = None,
                 config: Optional[pulumi_google_native.iam.v1.AuditConfigArgs] = None)
 @overload
 def IamResource(resource_name: str,
                 args: Optional[IamResourceArgs] = None,
-                opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewIamResource(ctx *Context, name string, args *IamResourceArgs, opts ...ResourceOption) (*IamResource, error)
+
func NewIamResource(ctx *Context, name string, args *IamResourceArgs, opts ...ResourceOption) (*IamResource, error)
@@ -84,7 +84,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - IamResourceArgs + IamResourceArgs
The arguments to resource properties.
@@ -116,7 +116,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -142,7 +142,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - IamResourceArgs + IamResourceArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/enum-reference/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/enum-reference/docs/provider/_index.md index 92e6a11a5d54..432bfcd884b1 100644 --- a/pkg/codegen/testing/test/testdata/enum-reference/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/enum-reference/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -31,17 +31,17 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/external-enum/docs/component/_index.md b/pkg/codegen/testing/test/testdata/external-enum/docs/component/_index.md index 658fd7a8291c..a1795005d045 100644 --- a/pkg/codegen/testing/test/testdata/external-enum/docs/component/_index.md +++ b/pkg/codegen/testing/test/testdata/external-enum/docs/component/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Component(name: string, args?: ComponentArgs, opts?: CustomResourceOptions);
+
new Component(name: string, args?: ComponentArgs, opts?: CustomResourceOptions);
@@ -31,19 +31,19 @@ no_edit_this_page: true
@overload
 def Component(resource_name: str,
-              opts: Optional[ResourceOptions] = None,
+              opts: Optional[ResourceOptions] = None,
               local_enum: Optional[_local.MyEnum] = None,
               remote_enum: Optional[_accesscontextmanager.v1.DevicePolicyAllowedDeviceManagementLevelsItem] = None)
 @overload
 def Component(resource_name: str,
               args: Optional[ComponentArgs] = None,
-              opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewComponent(ctx *Context, name string, args *ComponentArgs, opts ...ResourceOption) (*Component, error)
+
func NewComponent(ctx *Context, name string, args *ComponentArgs, opts ...ResourceOption) (*Component, error)
@@ -85,7 +85,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ComponentArgs + ComponentArgs
The arguments to resource properties.
@@ -117,7 +117,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -143,7 +143,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ComponentArgs + ComponentArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/external-enum/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/external-enum/docs/provider/_index.md index 92e6a11a5d54..432bfcd884b1 100644 --- a/pkg/codegen/testing/test/testdata/external-enum/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/external-enum/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -31,17 +31,17 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/external-resource-schema/docs/cat/_index.md b/pkg/codegen/testing/test/testdata/external-resource-schema/docs/cat/_index.md index ba83d0221b8c..a1846be143de 100644 --- a/pkg/codegen/testing/test/testdata/external-resource-schema/docs/cat/_index.md +++ b/pkg/codegen/testing/test/testdata/external-resource-schema/docs/cat/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Cat(name: string, args?: CatArgs, opts?: CustomResourceOptions);
+
new Cat(name: string, args?: CatArgs, opts?: CustomResourceOptions);
@@ -31,19 +31,19 @@ no_edit_this_page: true
@overload
 def Cat(resource_name: str,
-        opts: Optional[ResourceOptions] = None,
+        opts: Optional[ResourceOptions] = None,
         age: Optional[int] = None,
         pet: Optional[PetArgs] = None)
 @overload
 def Cat(resource_name: str,
         args: Optional[CatArgs] = None,
-        opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewCat(ctx *Context, name string, args *CatArgs, opts ...ResourceOption) (*Cat, error)
+
func NewCat(ctx *Context, name string, args *CatArgs, opts ...ResourceOption) (*Cat, error)
@@ -85,7 +85,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - CatArgs + CatArgs
The arguments to resource properties.
@@ -117,7 +117,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -143,7 +143,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - CatArgs + CatArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/external-resource-schema/docs/component/_index.md b/pkg/codegen/testing/test/testdata/external-resource-schema/docs/component/_index.md index d7667a1cf936..61e7b349d326 100644 --- a/pkg/codegen/testing/test/testdata/external-resource-schema/docs/component/_index.md +++ b/pkg/codegen/testing/test/testdata/external-resource-schema/docs/component/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Component(name: string, args: ComponentArgs, opts?: CustomResourceOptions);
+
new Component(name: string, args: ComponentArgs, opts?: CustomResourceOptions);
@@ -31,7 +31,7 @@ no_edit_this_page: true
@overload
 def Component(resource_name: str,
-              opts: Optional[ResourceOptions] = None,
+              opts: Optional[ResourceOptions] = None,
               metadata: Optional[pulumi_kubernetes.meta.v1.ObjectMetaArgs] = None,
               metadata_array: Optional[Sequence[pulumi_kubernetes.meta.v1.ObjectMetaArgs]] = None,
               metadata_map: Optional[Mapping[str, pulumi_kubernetes.meta.v1.ObjectMetaArgs]] = None,
@@ -41,13 +41,13 @@ no_edit_this_page: true
 @overload
 def Component(resource_name: str,
               args: ComponentArgs,
-              opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewComponent(ctx *Context, name string, args ComponentArgs, opts ...ResourceOption) (*Component, error)
+
func NewComponent(ctx *Context, name string, args ComponentArgs, opts ...ResourceOption) (*Component, error)
@@ -89,7 +89,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ComponentArgs + ComponentArgs
The arguments to resource properties.
@@ -121,7 +121,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -147,7 +147,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ComponentArgs + ComponentArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/external-resource-schema/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/external-resource-schema/docs/provider/_index.md index 92e6a11a5d54..432bfcd884b1 100644 --- a/pkg/codegen/testing/test/testdata/external-resource-schema/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/external-resource-schema/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -31,17 +31,17 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/external-resource-schema/docs/workload/_index.md b/pkg/codegen/testing/test/testdata/external-resource-schema/docs/workload/_index.md index 838d448b44c5..9ac7e1a6846d 100644 --- a/pkg/codegen/testing/test/testdata/external-resource-schema/docs/workload/_index.md +++ b/pkg/codegen/testing/test/testdata/external-resource-schema/docs/workload/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Workload(name: string, args?: WorkloadArgs, opts?: CustomResourceOptions);
+
new Workload(name: string, args?: WorkloadArgs, opts?: CustomResourceOptions);
@@ -31,17 +31,17 @@ no_edit_this_page: true
@overload
 def Workload(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Workload(resource_name: str,
              args: Optional[WorkloadArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewWorkload(ctx *Context, name string, args *WorkloadArgs, opts ...ResourceOption) (*Workload, error)
+
func NewWorkload(ctx *Context, name string, args *WorkloadArgs, opts ...ResourceOption) (*Workload, error)
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - WorkloadArgs + WorkloadArgs
The arguments to resource properties.
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - WorkloadArgs + WorkloadArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/functions-secrets/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/functions-secrets/docs/provider/_index.md index 8348e30a2bfa..2ccdad9b46ac 100644 --- a/pkg/codegen/testing/test/testdata/functions-secrets/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/functions-secrets/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -31,17 +31,17 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/hyphen-url/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/hyphen-url/docs/provider/_index.md index cd3e5a08ef11..9ade3d4f7716 100644 --- a/pkg/codegen/testing/test/testdata/hyphen-url/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/hyphen-url/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -31,17 +31,17 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
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 54719d2efa84..89af69871422 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 @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new RegistryGeoReplication(name: string, args: RegistryGeoReplicationArgs, opts?: CustomResourceOptions);
+
new RegistryGeoReplication(name: string, args: RegistryGeoReplicationArgs, opts?: CustomResourceOptions);
@@ -31,18 +31,18 @@ no_edit_this_page: true
@overload
 def RegistryGeoReplication(resource_name: str,
-                           opts: Optional[ResourceOptions] = None,
+                           opts: Optional[ResourceOptions] = None,
                            resource_group: Optional[pulumi_azure_native.resources.ResourceGroup] = None)
 @overload
 def RegistryGeoReplication(resource_name: str,
                            args: RegistryGeoReplicationArgs,
-                           opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewRegistryGeoReplication(ctx *Context, name string, args RegistryGeoReplicationArgs, opts ...ResourceOption) (*RegistryGeoReplication, error)
+
func NewRegistryGeoReplication(ctx *Context, name string, args RegistryGeoReplicationArgs, opts ...ResourceOption) (*RegistryGeoReplication, error)
@@ -84,7 +84,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - RegistryGeoReplicationArgs + RegistryGeoReplicationArgs
The arguments to resource properties.
@@ -116,7 +116,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -142,7 +142,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - RegistryGeoReplicationArgs + RegistryGeoReplicationArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/naming-collisions/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/naming-collisions/docs/provider/_index.md index 92e6a11a5d54..432bfcd884b1 100644 --- a/pkg/codegen/testing/test/testdata/naming-collisions/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/naming-collisions/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -31,17 +31,17 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/naming-collisions/docs/resource/_index.md b/pkg/codegen/testing/test/testdata/naming-collisions/docs/resource/_index.md index 30ee972ba797..bbe80fea8a07 100644 --- a/pkg/codegen/testing/test/testdata/naming-collisions/docs/resource/_index.md +++ b/pkg/codegen/testing/test/testdata/naming-collisions/docs/resource/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Resource(name: string, args?: ResourceArgs, opts?: CustomResourceOptions);
+
new Resource(name: string, args?: ResourceArgs, opts?: CustomResourceOptions);
@@ -31,17 +31,17 @@ no_edit_this_page: true
@overload
 def Resource(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Resource(resource_name: str,
              args: Optional[ResourceArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewResource(ctx *Context, name string, args *ResourceArgs, opts ...ResourceOption) (*Resource, error)
+
func NewResource(ctx *Context, name string, args *ResourceArgs, opts ...ResourceOption) (*Resource, error)
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/naming-collisions/docs/resourceinput/_index.md b/pkg/codegen/testing/test/testdata/naming-collisions/docs/resourceinput/_index.md index e7598199cdd7..fa32ad086777 100644 --- a/pkg/codegen/testing/test/testdata/naming-collisions/docs/resourceinput/_index.md +++ b/pkg/codegen/testing/test/testdata/naming-collisions/docs/resourceinput/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new ResourceInput(name: string, args?: ResourceInputArgs, opts?: CustomResourceOptions);
+
new ResourceInput(name: string, args?: ResourceInputArgs, opts?: CustomResourceOptions);
@@ -31,17 +31,17 @@ no_edit_this_page: true
@overload
 def ResourceInput(resource_name: str,
-                  opts: Optional[ResourceOptions] = None)
+                  opts: Optional[ResourceOptions] = None)
 @overload
 def ResourceInput(resource_name: str,
                   args: Optional[ResourceInputArgs] = None,
-                  opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewResourceInput(ctx *Context, name string, args *ResourceInputArgs, opts ...ResourceOption) (*ResourceInput, error)
+
func NewResourceInput(ctx *Context, name string, args *ResourceInputArgs, opts ...ResourceOption) (*ResourceInput, error)
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceInputArgs + ResourceInputArgs
The arguments to resource properties.
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceInputArgs + ResourceInputArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/_index.md b/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/_index.md index 02d3c507e60c..4586b089fff6 100644 --- a/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/_index.md @@ -13,7 +13,7 @@ no_edit_this_page: true

Modules

Resources

diff --git a/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/deeply/_index.md b/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/deeply/_index.md index 942437dd16d8..18005fa555e7 100644 --- a/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/deeply/_index.md +++ b/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/deeply/_index.md @@ -13,7 +13,7 @@ no_edit_this_page: true

Modules

Package Details

diff --git a/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/deeply/nested/_index.md b/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/deeply/nested/_index.md index 77d138964fc7..8fdd9838edd3 100644 --- a/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/deeply/nested/_index.md +++ b/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/deeply/nested/_index.md @@ -13,7 +13,7 @@ no_edit_this_page: true

Modules

Package Details

diff --git a/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/deeply/nested/module/resource/_index.md b/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/deeply/nested/module/resource/_index.md index d9f517ffc9e8..4ed7f1cee153 100644 --- a/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/deeply/nested/module/resource/_index.md +++ b/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/deeply/nested/module/resource/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Resource(name: string, args?: ResourceArgs, opts?: CustomResourceOptions);
+
new Resource(name: string, args?: ResourceArgs, opts?: CustomResourceOptions);
@@ -31,18 +31,18 @@ no_edit_this_page: true
@overload
 def Resource(resource_name: str,
-             opts: Optional[ResourceOptions] = None,
+             opts: Optional[ResourceOptions] = None,
              baz: Optional[str] = None)
 @overload
 def Resource(resource_name: str,
              args: Optional[ResourceArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewResource(ctx *Context, name string, args *ResourceArgs, opts ...ResourceOption) (*Resource, error)
+
func NewResource(ctx *Context, name string, args *ResourceArgs, opts ...ResourceOption) (*Resource, error)
@@ -84,7 +84,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -116,7 +116,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -142,7 +142,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/provider/_index.md index a3c46c543787..2ebf21eb7292 100644 --- a/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -31,17 +31,17 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/nested-module/docs/_index.md b/pkg/codegen/testing/test/testdata/nested-module/docs/_index.md index 66912bfa6d9b..223ef2d78490 100644 --- a/pkg/codegen/testing/test/testdata/nested-module/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/nested-module/docs/_index.md @@ -13,7 +13,7 @@ no_edit_this_page: true

Modules

Resources

diff --git a/pkg/codegen/testing/test/testdata/nested-module/docs/nested/_index.md b/pkg/codegen/testing/test/testdata/nested-module/docs/nested/_index.md index 9902a74d0c6a..d55b1ba708f6 100644 --- a/pkg/codegen/testing/test/testdata/nested-module/docs/nested/_index.md +++ b/pkg/codegen/testing/test/testdata/nested-module/docs/nested/_index.md @@ -13,7 +13,7 @@ no_edit_this_page: true

Modules

Package Details

diff --git a/pkg/codegen/testing/test/testdata/nested-module/docs/nested/module/resource/_index.md b/pkg/codegen/testing/test/testdata/nested-module/docs/nested/module/resource/_index.md index 4fb71bd4a810..e26b81b5da29 100644 --- a/pkg/codegen/testing/test/testdata/nested-module/docs/nested/module/resource/_index.md +++ b/pkg/codegen/testing/test/testdata/nested-module/docs/nested/module/resource/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Resource(name: string, args?: ResourceArgs, opts?: CustomResourceOptions);
+
new Resource(name: string, args?: ResourceArgs, opts?: CustomResourceOptions);
@@ -31,18 +31,18 @@ no_edit_this_page: true
@overload
 def Resource(resource_name: str,
-             opts: Optional[ResourceOptions] = None,
+             opts: Optional[ResourceOptions] = None,
              bar: Optional[str] = None)
 @overload
 def Resource(resource_name: str,
              args: Optional[ResourceArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewResource(ctx *Context, name string, args *ResourceArgs, opts ...ResourceOption) (*Resource, error)
+
func NewResource(ctx *Context, name string, args *ResourceArgs, opts ...ResourceOption) (*Resource, error)
@@ -84,7 +84,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -116,7 +116,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -142,7 +142,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/nested-module/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/nested-module/docs/provider/_index.md index 9543e2fad219..10ef8fae9d3b 100644 --- a/pkg/codegen/testing/test/testdata/nested-module/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/nested-module/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -31,17 +31,17 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
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 0741fa8a1aa8..69a8d31ae963 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 @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new BarResource(name: string, args?: BarResourceArgs, opts?: CustomResourceOptions);
+
new BarResource(name: string, args?: BarResourceArgs, opts?: CustomResourceOptions);
@@ -31,18 +31,18 @@ no_edit_this_page: true
@overload
 def BarResource(resource_name: str,
-                opts: Optional[ResourceOptions] = None,
+                opts: Optional[ResourceOptions] = None,
                 foo: Optional[Resource] = None)
 @overload
 def BarResource(resource_name: str,
                 args: Optional[BarResourceArgs] = None,
-                opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewBarResource(ctx *Context, name string, args *BarResourceArgs, opts ...ResourceOption) (*BarResource, error)
+
func NewBarResource(ctx *Context, name string, args *BarResourceArgs, opts ...ResourceOption) (*BarResource, error)
@@ -84,7 +84,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - BarResourceArgs + BarResourceArgs
The arguments to resource properties.
@@ -116,7 +116,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -142,7 +142,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - BarResourceArgs + BarResourceArgs
The arguments to resource properties.
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 b0f46e0c38e4..dbb1eb7c0b5f 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 @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new FooResource(name: string, args?: FooResourceArgs, opts?: CustomResourceOptions);
+
new FooResource(name: string, args?: FooResourceArgs, opts?: CustomResourceOptions);
@@ -31,18 +31,18 @@ no_edit_this_page: true
@overload
 def FooResource(resource_name: str,
-                opts: Optional[ResourceOptions] = None,
+                opts: Optional[ResourceOptions] = None,
                 foo: Optional[Resource] = None)
 @overload
 def FooResource(resource_name: str,
                 args: Optional[FooResourceArgs] = None,
-                opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewFooResource(ctx *Context, name string, args *FooResourceArgs, opts ...ResourceOption) (*FooResource, error)
+
func NewFooResource(ctx *Context, name string, args *FooResourceArgs, opts ...ResourceOption) (*FooResource, error)
@@ -84,7 +84,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - FooResourceArgs + FooResourceArgs
The arguments to resource properties.
@@ -116,7 +116,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -142,7 +142,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - FooResourceArgs + FooResourceArgs
The arguments to resource properties.
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 88a49ef8d92e..cc89707a82bd 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 @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new OtherResource(name: string, args?: OtherResourceArgs, opts?: CustomResourceOptions);
+
new OtherResource(name: string, args?: OtherResourceArgs, opts?: CustomResourceOptions);
@@ -31,18 +31,18 @@ no_edit_this_page: true
@overload
 def OtherResource(resource_name: str,
-                  opts: Optional[ResourceOptions] = None,
+                  opts: Optional[ResourceOptions] = None,
                   foo: Optional[Resource] = None)
 @overload
 def OtherResource(resource_name: str,
                   args: Optional[OtherResourceArgs] = None,
-                  opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewOtherResource(ctx *Context, name string, args *OtherResourceArgs, opts ...ResourceOption) (*OtherResource, error)
+
func NewOtherResource(ctx *Context, name string, args *OtherResourceArgs, opts ...ResourceOption) (*OtherResource, error)
@@ -84,7 +84,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - OtherResourceArgs + OtherResourceArgs
The arguments to resource properties.
@@ -116,7 +116,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -142,7 +142,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - OtherResourceArgs + OtherResourceArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/other-owned/docs/overlayresource/_index.md b/pkg/codegen/testing/test/testdata/other-owned/docs/overlayresource/_index.md index 95dc3543a313..ed2602c5d1dd 100644 --- a/pkg/codegen/testing/test/testdata/other-owned/docs/overlayresource/_index.md +++ b/pkg/codegen/testing/test/testdata/other-owned/docs/overlayresource/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new OverlayResource(name: string, args?: OverlayResourceArgs, opts?: CustomResourceOptions);
+
new OverlayResource(name: string, args?: OverlayResourceArgs, opts?: CustomResourceOptions);
@@ -31,19 +31,19 @@ no_edit_this_page: true
@overload
 def OverlayResource(resource_name: str,
-                    opts: Optional[ResourceOptions] = None,
+                    opts: Optional[ResourceOptions] = None,
                     bar: Optional[EnumOverlay] = None,
                     foo: Optional[ConfigMapOverlayArgs] = None)
 @overload
 def OverlayResource(resource_name: str,
                     args: Optional[OverlayResourceArgs] = None,
-                    opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewOverlayResource(ctx *Context, name string, args *OverlayResourceArgs, opts ...ResourceOption) (*OverlayResource, error)
+
func NewOverlayResource(ctx *Context, name string, args *OverlayResourceArgs, opts ...ResourceOption) (*OverlayResource, error)
@@ -85,7 +85,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - OverlayResourceArgs + OverlayResourceArgs
The arguments to resource properties.
@@ -117,7 +117,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -143,7 +143,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - OverlayResourceArgs + OverlayResourceArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/other-owned/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/other-owned/docs/provider/_index.md index 92e6a11a5d54..432bfcd884b1 100644 --- a/pkg/codegen/testing/test/testdata/other-owned/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/other-owned/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -31,17 +31,17 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/other-owned/docs/resource/_index.md b/pkg/codegen/testing/test/testdata/other-owned/docs/resource/_index.md index 836eab027a55..db67dccdc5a6 100644 --- a/pkg/codegen/testing/test/testdata/other-owned/docs/resource/_index.md +++ b/pkg/codegen/testing/test/testdata/other-owned/docs/resource/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Resource(name: string, args?: ResourceArgs, opts?: CustomResourceOptions);
+
new Resource(name: string, args?: ResourceArgs, opts?: CustomResourceOptions);
@@ -31,18 +31,18 @@ no_edit_this_page: true
@overload
 def Resource(resource_name: str,
-             opts: Optional[ResourceOptions] = None,
+             opts: Optional[ResourceOptions] = None,
              bar: Optional[str] = None)
 @overload
 def Resource(resource_name: str,
              args: Optional[ResourceArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewResource(ctx *Context, name string, args *ResourceArgs, opts ...ResourceOption) (*Resource, error)
+
func NewResource(ctx *Context, name string, args *ResourceArgs, opts ...ResourceOption) (*Resource, error)
@@ -84,7 +84,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -116,7 +116,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -142,7 +142,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/other-owned/docs/typeuses/_index.md b/pkg/codegen/testing/test/testdata/other-owned/docs/typeuses/_index.md index d8ac3f67457b..4b36c0092b3e 100644 --- a/pkg/codegen/testing/test/testdata/other-owned/docs/typeuses/_index.md +++ b/pkg/codegen/testing/test/testdata/other-owned/docs/typeuses/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new TypeUses(name: string, args?: TypeUsesArgs, opts?: CustomResourceOptions);
+
new TypeUses(name: string, args?: TypeUsesArgs, opts?: CustomResourceOptions);
@@ -31,20 +31,20 @@ no_edit_this_page: true
@overload
 def TypeUses(resource_name: str,
-             opts: Optional[ResourceOptions] = None,
+             opts: Optional[ResourceOptions] = None,
              bar: Optional[SomeOtherObjectArgs] = None,
              baz: Optional[ObjectWithNodeOptionalInputsArgs] = None,
              foo: Optional[ObjectArgs] = None)
 @overload
 def TypeUses(resource_name: str,
              args: Optional[TypeUsesArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewTypeUses(ctx *Context, name string, args *TypeUsesArgs, opts ...ResourceOption) (*TypeUses, error)
+
func NewTypeUses(ctx *Context, name string, args *TypeUsesArgs, opts ...ResourceOption) (*TypeUses, error)
@@ -86,7 +86,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - TypeUsesArgs + TypeUsesArgs
The arguments to resource properties.
@@ -118,7 +118,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -144,7 +144,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - TypeUsesArgs + TypeUsesArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/docs/provider/_index.md index 5a540b4bd1e2..3269e708c74c 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -31,17 +31,17 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/docs/provider/_index.md index 8348e30a2bfa..2ccdad9b46ac 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -31,17 +31,17 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/output-funcs/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/output-funcs/docs/provider/_index.md index 8348e30a2bfa..2ccdad9b46ac 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/output-funcs/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -31,17 +31,17 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/plain-and-default/docs/moduleresource/_index.md b/pkg/codegen/testing/test/testdata/plain-and-default/docs/moduleresource/_index.md index 2a430ac6bee2..2e54927b3e3c 100644 --- a/pkg/codegen/testing/test/testdata/plain-and-default/docs/moduleresource/_index.md +++ b/pkg/codegen/testing/test/testdata/plain-and-default/docs/moduleresource/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new ModuleResource(name: string, args: ModuleResourceArgs, opts?: CustomResourceOptions);
+
new ModuleResource(name: string, args: ModuleResourceArgs, opts?: CustomResourceOptions);
@@ -31,7 +31,7 @@ no_edit_this_page: true
@overload
 def ModuleResource(resource_name: str,
-                   opts: Optional[ResourceOptions] = None,
+                   opts: Optional[ResourceOptions] = None,
                    optional_bool: Optional[bool] = None,
                    optional_enum: Optional[EnumThing] = None,
                    optional_number: Optional[float] = None,
@@ -49,13 +49,13 @@ no_edit_this_page: true
 @overload
 def ModuleResource(resource_name: str,
                    args: ModuleResourceArgs,
-                   opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewModuleResource(ctx *Context, name string, args ModuleResourceArgs, opts ...ResourceOption) (*ModuleResource, error)
+
func NewModuleResource(ctx *Context, name string, args ModuleResourceArgs, opts ...ResourceOption) (*ModuleResource, error)
@@ -97,7 +97,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ModuleResourceArgs + ModuleResourceArgs
The arguments to resource properties.
@@ -129,7 +129,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -155,7 +155,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ModuleResourceArgs + ModuleResourceArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/plain-and-default/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/plain-and-default/docs/provider/_index.md index 8525490406ae..4d421ca51c49 100644 --- a/pkg/codegen/testing/test/testdata/plain-and-default/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/plain-and-default/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -31,17 +31,17 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/_index.md b/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/_index.md index 15e0733efb6a..cef4c7af9ad0 100644 --- a/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/_index.md @@ -13,8 +13,8 @@ no_edit_this_page: true

Modules

Resources

diff --git a/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/foo/_index.md b/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/foo/_index.md index 1e829dbb94f7..bf46f3c1e664 100644 --- a/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/foo/_index.md +++ b/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/foo/_index.md @@ -25,7 +25,7 @@ test new feature with resoruces
-
new Foo(name: string, args: FooArgs, opts?: CustomResourceOptions);
+
new Foo(name: string, args: FooArgs, opts?: CustomResourceOptions);
@@ -33,7 +33,7 @@ test new feature with resoruces
@overload
 def Foo(resource_name: str,
-        opts: Optional[ResourceOptions] = None,
+        opts: Optional[ResourceOptions] = None,
         argument: Optional[str] = None,
         backup_kube_client_settings: Optional[KubeClientSettingsArgs] = None,
         kube_client_settings: Optional[KubeClientSettingsArgs] = None,
@@ -41,13 +41,13 @@ test new feature with resoruces
 @overload
 def Foo(resource_name: str,
         args: FooArgs,
-        opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewFoo(ctx *Context, name string, args FooArgs, opts ...ResourceOption) (*Foo, error)
+
func NewFoo(ctx *Context, name string, args FooArgs, opts ...ResourceOption) (*Foo, error)
@@ -89,7 +89,7 @@ test new feature with resoruces class="property-required" title="Required"> args - FooArgs + FooArgs
The arguments to resource properties.
@@ -121,7 +121,7 @@ test new feature with resoruces class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -147,7 +147,7 @@ test new feature with resoruces class="property-required" title="Required"> args - FooArgs + FooArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/moduletest/_index.md b/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/moduletest/_index.md index 29ee7de21133..6d50f4977291 100644 --- a/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/moduletest/_index.md +++ b/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/moduletest/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new ModuleTest(name: string, args?: ModuleTestArgs, opts?: CustomResourceOptions);
+
new ModuleTest(name: string, args?: ModuleTestArgs, opts?: CustomResourceOptions);
@@ -31,19 +31,19 @@ no_edit_this_page: true
@overload
 def ModuleTest(resource_name: str,
-               opts: Optional[ResourceOptions] = None,
+               opts: Optional[ResourceOptions] = None,
                mod1: Optional[_mod1.TypArgs] = None,
                val: Optional[TypArgs] = None)
 @overload
 def ModuleTest(resource_name: str,
                args: Optional[ModuleTestArgs] = None,
-               opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewModuleTest(ctx *Context, name string, args *ModuleTestArgs, opts ...ResourceOption) (*ModuleTest, error)
+
func NewModuleTest(ctx *Context, name string, args *ModuleTestArgs, opts ...ResourceOption) (*ModuleTest, error)
@@ -85,7 +85,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ModuleTestArgs + ModuleTestArgs
The arguments to resource properties.
@@ -117,7 +117,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -143,7 +143,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ModuleTestArgs + ModuleTestArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/provider/_index.md index aa80e01ab1c5..925087317489 100644 --- a/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/provider/_index.md @@ -25,7 +25,7 @@ The provider type for the kubernetes package.
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -33,18 +33,18 @@ The provider type for the kubernetes package.
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None,
+             opts: Optional[ResourceOptions] = None,
              helm_release_settings: Optional[HelmReleaseSettingsArgs] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
@@ -86,7 +86,7 @@ The provider type for the kubernetes package. class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -118,7 +118,7 @@ The provider type for the kubernetes package. class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -144,7 +144,7 @@ The provider type for the kubernetes package. class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/_index.md b/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/_index.md index 15e0733efb6a..cef4c7af9ad0 100644 --- a/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/_index.md @@ -13,8 +13,8 @@ no_edit_this_page: true

Modules

Resources

diff --git a/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/foo/_index.md b/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/foo/_index.md index 1e829dbb94f7..bf46f3c1e664 100644 --- a/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/foo/_index.md +++ b/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/foo/_index.md @@ -25,7 +25,7 @@ test new feature with resoruces
-
new Foo(name: string, args: FooArgs, opts?: CustomResourceOptions);
+
new Foo(name: string, args: FooArgs, opts?: CustomResourceOptions);
@@ -33,7 +33,7 @@ test new feature with resoruces
@overload
 def Foo(resource_name: str,
-        opts: Optional[ResourceOptions] = None,
+        opts: Optional[ResourceOptions] = None,
         argument: Optional[str] = None,
         backup_kube_client_settings: Optional[KubeClientSettingsArgs] = None,
         kube_client_settings: Optional[KubeClientSettingsArgs] = None,
@@ -41,13 +41,13 @@ test new feature with resoruces
 @overload
 def Foo(resource_name: str,
         args: FooArgs,
-        opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewFoo(ctx *Context, name string, args FooArgs, opts ...ResourceOption) (*Foo, error)
+
func NewFoo(ctx *Context, name string, args FooArgs, opts ...ResourceOption) (*Foo, error)
@@ -89,7 +89,7 @@ test new feature with resoruces class="property-required" title="Required"> args - FooArgs + FooArgs
The arguments to resource properties.
@@ -121,7 +121,7 @@ test new feature with resoruces class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -147,7 +147,7 @@ test new feature with resoruces class="property-required" title="Required"> args - FooArgs + FooArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/moduletest/_index.md b/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/moduletest/_index.md index 29ee7de21133..6d50f4977291 100644 --- a/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/moduletest/_index.md +++ b/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/moduletest/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new ModuleTest(name: string, args?: ModuleTestArgs, opts?: CustomResourceOptions);
+
new ModuleTest(name: string, args?: ModuleTestArgs, opts?: CustomResourceOptions);
@@ -31,19 +31,19 @@ no_edit_this_page: true
@overload
 def ModuleTest(resource_name: str,
-               opts: Optional[ResourceOptions] = None,
+               opts: Optional[ResourceOptions] = None,
                mod1: Optional[_mod1.TypArgs] = None,
                val: Optional[TypArgs] = None)
 @overload
 def ModuleTest(resource_name: str,
                args: Optional[ModuleTestArgs] = None,
-               opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewModuleTest(ctx *Context, name string, args *ModuleTestArgs, opts ...ResourceOption) (*ModuleTest, error)
+
func NewModuleTest(ctx *Context, name string, args *ModuleTestArgs, opts ...ResourceOption) (*ModuleTest, error)
@@ -85,7 +85,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ModuleTestArgs + ModuleTestArgs
The arguments to resource properties.
@@ -117,7 +117,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -143,7 +143,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ModuleTestArgs + ModuleTestArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/provider/_index.md index aa80e01ab1c5..925087317489 100644 --- a/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/provider/_index.md @@ -25,7 +25,7 @@ The provider type for the kubernetes package.
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -33,18 +33,18 @@ The provider type for the kubernetes package.
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None,
+             opts: Optional[ResourceOptions] = None,
              helm_release_settings: Optional[HelmReleaseSettingsArgs] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
@@ -86,7 +86,7 @@ The provider type for the kubernetes package. class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -118,7 +118,7 @@ The provider type for the kubernetes package. class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -144,7 +144,7 @@ The provider type for the kubernetes package. class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/plain-schema-gh6957/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/plain-schema-gh6957/docs/provider/_index.md index 0d19bd7f42a7..a10893cb85cd 100644 --- a/pkg/codegen/testing/test/testdata/plain-schema-gh6957/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/plain-schema-gh6957/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -31,17 +31,17 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
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 e45e05d47cbc..eb64b6a79fa1 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 @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new StaticPage(name: string, args: StaticPageArgs, opts?: CustomResourceOptions);
+
new StaticPage(name: string, args: StaticPageArgs, opts?: CustomResourceOptions);
@@ -31,19 +31,19 @@ no_edit_this_page: true
@overload
 def StaticPage(resource_name: str,
-               opts: Optional[ResourceOptions] = None,
+               opts: Optional[ResourceOptions] = None,
                foo: Optional[FooArgs] = None,
                index_content: Optional[str] = None)
 @overload
 def StaticPage(resource_name: str,
                args: StaticPageArgs,
-               opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewStaticPage(ctx *Context, name string, args StaticPageArgs, opts ...ResourceOption) (*StaticPage, error)
+
func NewStaticPage(ctx *Context, name string, args StaticPageArgs, opts ...ResourceOption) (*StaticPage, error)
@@ -85,7 +85,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - StaticPageArgs + StaticPageArgs
The arguments to resource properties.
@@ -117,7 +117,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -143,7 +143,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - StaticPageArgs + StaticPageArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/provider-config-schema/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/provider-config-schema/docs/provider/_index.md index 7121adbc044b..66ce888664f5 100644 --- a/pkg/codegen/testing/test/testdata/provider-config-schema/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/provider-config-schema/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -31,18 +31,18 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None,
+             opts: Optional[ResourceOptions] = None,
              favorite_color: Optional[Union[str, Color]] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
@@ -84,7 +84,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -116,7 +116,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -142,7 +142,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/regress-8403/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/regress-8403/docs/provider/_index.md index 08eee25c86f2..0b79aec27293 100644 --- a/pkg/codegen/testing/test/testdata/regress-8403/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/regress-8403/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -31,17 +31,17 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/regress-node-8110/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/regress-node-8110/docs/provider/_index.md index 11cb9c292447..751cb7565512 100644 --- a/pkg/codegen/testing/test/testdata/regress-node-8110/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/regress-node-8110/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -31,17 +31,17 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/replace-on-change/docs/cat/_index.md b/pkg/codegen/testing/test/testdata/replace-on-change/docs/cat/_index.md index 25eb0fb67f3f..fa0ddd363db4 100644 --- a/pkg/codegen/testing/test/testdata/replace-on-change/docs/cat/_index.md +++ b/pkg/codegen/testing/test/testdata/replace-on-change/docs/cat/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Cat(name: string, args?: CatArgs, opts?: CustomResourceOptions);
+
new Cat(name: string, args?: CatArgs, opts?: CustomResourceOptions);
@@ -31,17 +31,17 @@ no_edit_this_page: true
@overload
 def Cat(resource_name: str,
-        opts: Optional[ResourceOptions] = None)
+        opts: Optional[ResourceOptions] = None)
 @overload
 def Cat(resource_name: str,
         args: Optional[CatArgs] = None,
-        opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewCat(ctx *Context, name string, args *CatArgs, opts ...ResourceOption) (*Cat, error)
+
func NewCat(ctx *Context, name string, args *CatArgs, opts ...ResourceOption) (*Cat, error)
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - CatArgs + CatArgs
The arguments to resource properties.
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - CatArgs + CatArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/replace-on-change/docs/dog/_index.md b/pkg/codegen/testing/test/testdata/replace-on-change/docs/dog/_index.md index 37927392006f..386dd0920bea 100644 --- a/pkg/codegen/testing/test/testdata/replace-on-change/docs/dog/_index.md +++ b/pkg/codegen/testing/test/testdata/replace-on-change/docs/dog/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Dog(name: string, args?: DogArgs, opts?: CustomResourceOptions);
+
new Dog(name: string, args?: DogArgs, opts?: CustomResourceOptions);
@@ -31,17 +31,17 @@ no_edit_this_page: true
@overload
 def Dog(resource_name: str,
-        opts: Optional[ResourceOptions] = None)
+        opts: Optional[ResourceOptions] = None)
 @overload
 def Dog(resource_name: str,
         args: Optional[DogArgs] = None,
-        opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewDog(ctx *Context, name string, args *DogArgs, opts ...ResourceOption) (*Dog, error)
+
func NewDog(ctx *Context, name string, args *DogArgs, opts ...ResourceOption) (*Dog, error)
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - DogArgs + DogArgs
The arguments to resource properties.
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - DogArgs + DogArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/replace-on-change/docs/god/_index.md b/pkg/codegen/testing/test/testdata/replace-on-change/docs/god/_index.md index 1d72fab47dcb..9f4139403734 100644 --- a/pkg/codegen/testing/test/testdata/replace-on-change/docs/god/_index.md +++ b/pkg/codegen/testing/test/testdata/replace-on-change/docs/god/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new God(name: string, args?: GodArgs, opts?: CustomResourceOptions);
+
new God(name: string, args?: GodArgs, opts?: CustomResourceOptions);
@@ -31,17 +31,17 @@ no_edit_this_page: true
@overload
 def God(resource_name: str,
-        opts: Optional[ResourceOptions] = None)
+        opts: Optional[ResourceOptions] = None)
 @overload
 def God(resource_name: str,
         args: Optional[GodArgs] = None,
-        opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewGod(ctx *Context, name string, args *GodArgs, opts ...ResourceOption) (*God, error)
+
func NewGod(ctx *Context, name string, args *GodArgs, opts ...ResourceOption) (*God, error)
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - GodArgs + GodArgs
The arguments to resource properties.
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - GodArgs + GodArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/replace-on-change/docs/norecursive/_index.md b/pkg/codegen/testing/test/testdata/replace-on-change/docs/norecursive/_index.md index c73a0aa04397..b453f6597385 100644 --- a/pkg/codegen/testing/test/testdata/replace-on-change/docs/norecursive/_index.md +++ b/pkg/codegen/testing/test/testdata/replace-on-change/docs/norecursive/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new NoRecursive(name: string, args?: NoRecursiveArgs, opts?: CustomResourceOptions);
+
new NoRecursive(name: string, args?: NoRecursiveArgs, opts?: CustomResourceOptions);
@@ -31,17 +31,17 @@ no_edit_this_page: true
@overload
 def NoRecursive(resource_name: str,
-                opts: Optional[ResourceOptions] = None)
+                opts: Optional[ResourceOptions] = None)
 @overload
 def NoRecursive(resource_name: str,
                 args: Optional[NoRecursiveArgs] = None,
-                opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewNoRecursive(ctx *Context, name string, args *NoRecursiveArgs, opts ...ResourceOption) (*NoRecursive, error)
+
func NewNoRecursive(ctx *Context, name string, args *NoRecursiveArgs, opts ...ResourceOption) (*NoRecursive, error)
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - NoRecursiveArgs + NoRecursiveArgs
The arguments to resource properties.
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - NoRecursiveArgs + NoRecursiveArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/replace-on-change/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/replace-on-change/docs/provider/_index.md index 92e6a11a5d54..432bfcd884b1 100644 --- a/pkg/codegen/testing/test/testdata/replace-on-change/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/replace-on-change/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -31,17 +31,17 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/replace-on-change/docs/toystore/_index.md b/pkg/codegen/testing/test/testdata/replace-on-change/docs/toystore/_index.md index ec53400e2d11..7cb7980ef3f4 100644 --- a/pkg/codegen/testing/test/testdata/replace-on-change/docs/toystore/_index.md +++ b/pkg/codegen/testing/test/testdata/replace-on-change/docs/toystore/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new ToyStore(name: string, args?: ToyStoreArgs, opts?: CustomResourceOptions);
+
new ToyStore(name: string, args?: ToyStoreArgs, opts?: CustomResourceOptions);
@@ -31,17 +31,17 @@ no_edit_this_page: true
@overload
 def ToyStore(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def ToyStore(resource_name: str,
              args: Optional[ToyStoreArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewToyStore(ctx *Context, name string, args *ToyStoreArgs, opts ...ResourceOption) (*ToyStore, error)
+
func NewToyStore(ctx *Context, name string, args *ToyStoreArgs, opts ...ResourceOption) (*ToyStore, error)
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ToyStoreArgs + ToyStoreArgs
The arguments to resource properties.
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ToyStoreArgs + ToyStoreArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/person/_index.md b/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/person/_index.md index 41b6e8a6d768..0d7f31557f01 100644 --- a/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/person/_index.md +++ b/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/person/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Person(name: string, args?: PersonArgs, opts?: CustomResourceOptions);
+
new Person(name: string, args?: PersonArgs, opts?: CustomResourceOptions);
@@ -31,19 +31,19 @@ no_edit_this_page: true
@overload
 def Person(resource_name: str,
-           opts: Optional[ResourceOptions] = None,
+           opts: Optional[ResourceOptions] = None,
            name: Optional[str] = None,
            pets: Optional[Sequence[PetArgs]] = None)
 @overload
 def Person(resource_name: str,
            args: Optional[PersonArgs] = None,
-           opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewPerson(ctx *Context, name string, args *PersonArgs, opts ...ResourceOption) (*Person, error)
+
func NewPerson(ctx *Context, name string, args *PersonArgs, opts ...ResourceOption) (*Person, error)
@@ -85,7 +85,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - PersonArgs + PersonArgs
The arguments to resource properties.
@@ -117,7 +117,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -143,7 +143,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - PersonArgs + PersonArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/pet/_index.md b/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/pet/_index.md index 0574a554b01b..088a7c4b8550 100644 --- a/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/pet/_index.md +++ b/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/pet/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Pet(name: string, args?: PetArgs, opts?: CustomResourceOptions);
+
new Pet(name: string, args?: PetArgs, opts?: CustomResourceOptions);
@@ -31,18 +31,18 @@ no_edit_this_page: true
@overload
 def Pet(resource_name: str,
-        opts: Optional[ResourceOptions] = None,
+        opts: Optional[ResourceOptions] = None,
         name: Optional[str] = None)
 @overload
 def Pet(resource_name: str,
         args: Optional[PetInitArgs] = None,
-        opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewPet(ctx *Context, name string, args *PetArgs, opts ...ResourceOption) (*Pet, error)
+
func NewPet(ctx *Context, name string, args *PetArgs, opts ...ResourceOption) (*Pet, error)
@@ -84,7 +84,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - PetArgs + PetArgs
The arguments to resource properties.
@@ -116,7 +116,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -142,7 +142,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - PetArgs + PetArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/provider/_index.md index 92e6a11a5d54..432bfcd884b1 100644 --- a/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -31,17 +31,17 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/resource-args-python/docs/person/_index.md b/pkg/codegen/testing/test/testdata/resource-args-python/docs/person/_index.md index 41b6e8a6d768..0d7f31557f01 100644 --- a/pkg/codegen/testing/test/testdata/resource-args-python/docs/person/_index.md +++ b/pkg/codegen/testing/test/testdata/resource-args-python/docs/person/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Person(name: string, args?: PersonArgs, opts?: CustomResourceOptions);
+
new Person(name: string, args?: PersonArgs, opts?: CustomResourceOptions);
@@ -31,19 +31,19 @@ no_edit_this_page: true
@overload
 def Person(resource_name: str,
-           opts: Optional[ResourceOptions] = None,
+           opts: Optional[ResourceOptions] = None,
            name: Optional[str] = None,
            pets: Optional[Sequence[PetArgs]] = None)
 @overload
 def Person(resource_name: str,
            args: Optional[PersonArgs] = None,
-           opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewPerson(ctx *Context, name string, args *PersonArgs, opts ...ResourceOption) (*Person, error)
+
func NewPerson(ctx *Context, name string, args *PersonArgs, opts ...ResourceOption) (*Person, error)
@@ -85,7 +85,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - PersonArgs + PersonArgs
The arguments to resource properties.
@@ -117,7 +117,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -143,7 +143,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - PersonArgs + PersonArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/resource-args-python/docs/pet/_index.md b/pkg/codegen/testing/test/testdata/resource-args-python/docs/pet/_index.md index 0574a554b01b..088a7c4b8550 100644 --- a/pkg/codegen/testing/test/testdata/resource-args-python/docs/pet/_index.md +++ b/pkg/codegen/testing/test/testdata/resource-args-python/docs/pet/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Pet(name: string, args?: PetArgs, opts?: CustomResourceOptions);
+
new Pet(name: string, args?: PetArgs, opts?: CustomResourceOptions);
@@ -31,18 +31,18 @@ no_edit_this_page: true
@overload
 def Pet(resource_name: str,
-        opts: Optional[ResourceOptions] = None,
+        opts: Optional[ResourceOptions] = None,
         name: Optional[str] = None)
 @overload
 def Pet(resource_name: str,
         args: Optional[PetInitArgs] = None,
-        opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewPet(ctx *Context, name string, args *PetArgs, opts ...ResourceOption) (*Pet, error)
+
func NewPet(ctx *Context, name string, args *PetArgs, opts ...ResourceOption) (*Pet, error)
@@ -84,7 +84,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - PetArgs + PetArgs
The arguments to resource properties.
@@ -116,7 +116,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -142,7 +142,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - PetArgs + PetArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/resource-args-python/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/resource-args-python/docs/provider/_index.md index 92e6a11a5d54..432bfcd884b1 100644 --- a/pkg/codegen/testing/test/testdata/resource-args-python/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/resource-args-python/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -31,17 +31,17 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/resource-property-overlap/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/resource-property-overlap/docs/provider/_index.md index 92e6a11a5d54..432bfcd884b1 100644 --- a/pkg/codegen/testing/test/testdata/resource-property-overlap/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/resource-property-overlap/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -31,17 +31,17 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/resource-property-overlap/docs/rec/_index.md b/pkg/codegen/testing/test/testdata/resource-property-overlap/docs/rec/_index.md index 9d619f6194b3..ce3b420207c9 100644 --- a/pkg/codegen/testing/test/testdata/resource-property-overlap/docs/rec/_index.md +++ b/pkg/codegen/testing/test/testdata/resource-property-overlap/docs/rec/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Rec(name: string, args?: RecArgs, opts?: CustomResourceOptions);
+
new Rec(name: string, args?: RecArgs, opts?: CustomResourceOptions);
@@ -31,17 +31,17 @@ no_edit_this_page: true
@overload
 def Rec(resource_name: str,
-        opts: Optional[ResourceOptions] = None)
+        opts: Optional[ResourceOptions] = None)
 @overload
 def Rec(resource_name: str,
         args: Optional[RecArgs] = None,
-        opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewRec(ctx *Context, name string, args *RecArgs, opts ...ResourceOption) (*Rec, error)
+
func NewRec(ctx *Context, name string, args *RecArgs, opts ...ResourceOption) (*Rec, error)
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - RecArgs + RecArgs
The arguments to resource properties.
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - RecArgs + RecArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/secrets/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/secrets/docs/provider/_index.md index 8348e30a2bfa..2ccdad9b46ac 100644 --- a/pkg/codegen/testing/test/testdata/secrets/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/secrets/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -31,17 +31,17 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/secrets/docs/resource/_index.md b/pkg/codegen/testing/test/testdata/secrets/docs/resource/_index.md index 68b1e9b555c9..aba127243f09 100644 --- a/pkg/codegen/testing/test/testdata/secrets/docs/resource/_index.md +++ b/pkg/codegen/testing/test/testdata/secrets/docs/resource/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Resource(name: string, args: ResourceArgs, opts?: CustomResourceOptions);
+
new Resource(name: string, args: ResourceArgs, opts?: CustomResourceOptions);
@@ -31,7 +31,7 @@ no_edit_this_page: true
@overload
 def Resource(resource_name: str,
-             opts: Optional[ResourceOptions] = None,
+             opts: Optional[ResourceOptions] = None,
              config: Optional[ConfigArgs] = None,
              config_array: Optional[Sequence[ConfigArgs]] = None,
              config_map: Optional[Mapping[str, ConfigArgs]] = None,
@@ -41,13 +41,13 @@ no_edit_this_page: true
 @overload
 def Resource(resource_name: str,
              args: ResourceArgs,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewResource(ctx *Context, name string, args ResourceArgs, opts ...ResourceOption) (*Resource, error)
+
func NewResource(ctx *Context, name string, args ResourceArgs, opts ...ResourceOption) (*Resource, error)
@@ -89,7 +89,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -121,7 +121,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -147,7 +147,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/_index.md b/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/_index.md index 50ae6ac41a60..fe858ba6562a 100644 --- a/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/_index.md @@ -13,7 +13,7 @@ no_edit_this_page: true

Modules

Resources

diff --git a/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/provider/_index.md index fd6d6f1204b1..6c01bf3a697f 100644 --- a/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -31,17 +31,17 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/tree/_index.md b/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/tree/_index.md index af631ce38d5d..1e00d190ca58 100644 --- a/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/tree/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/tree/_index.md @@ -13,7 +13,7 @@ no_edit_this_page: true

Modules

Package Details

diff --git a/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/tree/v1/nursery/_index.md b/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/tree/v1/nursery/_index.md index 10076f55e4e6..c333b5bb1542 100644 --- a/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/tree/v1/nursery/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/tree/v1/nursery/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Nursery(name: string, args: NurseryArgs, opts?: CustomResourceOptions);
+
new Nursery(name: string, args: NurseryArgs, opts?: CustomResourceOptions);
@@ -31,19 +31,19 @@ no_edit_this_page: true
@overload
 def Nursery(resource_name: str,
-            opts: Optional[ResourceOptions] = None,
+            opts: Optional[ResourceOptions] = None,
             sizes: Optional[Mapping[str, TreeSize]] = None,
             varieties: Optional[Sequence[RubberTreeVariety]] = None)
 @overload
 def Nursery(resource_name: str,
             args: NurseryArgs,
-            opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewNursery(ctx *Context, name string, args NurseryArgs, opts ...ResourceOption) (*Nursery, error)
+
func NewNursery(ctx *Context, name string, args NurseryArgs, opts ...ResourceOption) (*Nursery, error)
@@ -85,7 +85,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - NurseryArgs + NurseryArgs
The arguments to resource properties.
@@ -117,7 +117,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -143,7 +143,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - NurseryArgs + NurseryArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/tree/v1/rubbertree/_index.md b/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/tree/v1/rubbertree/_index.md index 077874d0a9ad..049817ff0d47 100644 --- a/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/tree/v1/rubbertree/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/tree/v1/rubbertree/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new RubberTree(name: string, args: RubberTreeArgs, opts?: CustomResourceOptions);
+
new RubberTree(name: string, args: RubberTreeArgs, opts?: CustomResourceOptions);
@@ -31,7 +31,7 @@ no_edit_this_page: true
@overload
 def RubberTree(resource_name: str,
-               opts: Optional[ResourceOptions] = None,
+               opts: Optional[ResourceOptions] = None,
                container: Optional[_root_inputs.ContainerArgs] = None,
                diameter: Optional[Diameter] = None,
                farm: Optional[Union[Farm, str]] = None,
@@ -40,13 +40,13 @@ no_edit_this_page: true
 @overload
 def RubberTree(resource_name: str,
                args: RubberTreeArgs,
-               opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewRubberTree(ctx *Context, name string, args RubberTreeArgs, opts ...ResourceOption) (*RubberTree, error)
+
func NewRubberTree(ctx *Context, name string, args RubberTreeArgs, opts ...ResourceOption) (*RubberTree, error)
@@ -88,7 +88,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - RubberTreeArgs + RubberTreeArgs
The arguments to resource properties.
@@ -120,7 +120,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -146,7 +146,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - RubberTreeArgs + RubberTreeArgs
The arguments to resource properties.
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 4af240700d22..8987ecd688e5 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 @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Foo(name: string, args?: FooArgs, opts?: CustomResourceOptions);
+
new Foo(name: string, args?: FooArgs, opts?: CustomResourceOptions);
@@ -31,17 +31,17 @@ no_edit_this_page: true
@overload
 def Foo(resource_name: str,
-        opts: Optional[ResourceOptions] = None)
+        opts: Optional[ResourceOptions] = None)
 @overload
 def Foo(resource_name: str,
         args: Optional[FooArgs] = None,
-        opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewFoo(ctx *Context, name string, args *FooArgs, opts ...ResourceOption) (*Foo, error)
+
func NewFoo(ctx *Context, name string, args *FooArgs, opts ...ResourceOption) (*Foo, error)
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - FooArgs + FooArgs
The arguments to resource properties.
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - FooArgs + FooArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/simple-methods-schema-single-value-returns/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/simple-methods-schema-single-value-returns/docs/provider/_index.md index 92e6a11a5d54..432bfcd884b1 100644 --- a/pkg/codegen/testing/test/testdata/simple-methods-schema-single-value-returns/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-methods-schema-single-value-returns/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -31,17 +31,17 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
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 62e27ba84a04..fe24e68d1992 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 @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Foo(name: string, args?: FooArgs, opts?: CustomResourceOptions);
+
new Foo(name: string, args?: FooArgs, opts?: CustomResourceOptions);
@@ -31,17 +31,17 @@ no_edit_this_page: true
@overload
 def Foo(resource_name: str,
-        opts: Optional[ResourceOptions] = None)
+        opts: Optional[ResourceOptions] = None)
 @overload
 def Foo(resource_name: str,
         args: Optional[FooArgs] = None,
-        opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewFoo(ctx *Context, name string, args *FooArgs, opts ...ResourceOption) (*Foo, error)
+
func NewFoo(ctx *Context, name string, args *FooArgs, opts ...ResourceOption) (*Foo, error)
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - FooArgs + FooArgs
The arguments to resource properties.
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - FooArgs + FooArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/simple-methods-schema/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/simple-methods-schema/docs/provider/_index.md index 92e6a11a5d54..432bfcd884b1 100644 --- a/pkg/codegen/testing/test/testdata/simple-methods-schema/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-methods-schema/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -31,17 +31,17 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
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 b6438a0b77b1..6324642f85f4 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 @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Component(name: string, args: ComponentArgs, opts?: CustomResourceOptions);
+
new Component(name: string, args: ComponentArgs, opts?: CustomResourceOptions);
@@ -31,7 +31,7 @@ no_edit_this_page: true
@overload
 def Component(resource_name: str,
-              opts: Optional[ResourceOptions] = None,
+              opts: Optional[ResourceOptions] = None,
               a: Optional[bool] = None,
               b: Optional[bool] = None,
               bar: Optional[FooArgs] = None,
@@ -44,13 +44,13 @@ no_edit_this_page: true
 @overload
 def Component(resource_name: str,
               args: ComponentArgs,
-              opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewComponent(ctx *Context, name string, args ComponentArgs, opts ...ResourceOption) (*Component, error)
+
func NewComponent(ctx *Context, name string, args ComponentArgs, opts ...ResourceOption) (*Component, error)
@@ -92,7 +92,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ComponentArgs + ComponentArgs
The arguments to resource properties.
@@ -124,7 +124,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -150,7 +150,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ComponentArgs + ComponentArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/simple-plain-schema-with-root-package/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/simple-plain-schema-with-root-package/docs/provider/_index.md index 92e6a11a5d54..432bfcd884b1 100644 --- a/pkg/codegen/testing/test/testdata/simple-plain-schema-with-root-package/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-plain-schema-with-root-package/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -31,17 +31,17 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
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 a7826982391e..e35ca941d36a 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 @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Component(name: string, args: ComponentArgs, opts?: CustomResourceOptions);
+
new Component(name: string, args: ComponentArgs, opts?: CustomResourceOptions);
@@ -31,7 +31,7 @@ no_edit_this_page: true
@overload
 def Component(resource_name: str,
-              opts: Optional[ResourceOptions] = None,
+              opts: Optional[ResourceOptions] = None,
               a: Optional[bool] = None,
               b: Optional[bool] = None,
               bar: Optional[FooArgs] = None,
@@ -45,13 +45,13 @@ no_edit_this_page: true
 @overload
 def Component(resource_name: str,
               args: ComponentArgs,
-              opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewComponent(ctx *Context, name string, args ComponentArgs, opts ...ResourceOption) (*Component, error)
+
func NewComponent(ctx *Context, name string, args ComponentArgs, opts ...ResourceOption) (*Component, error)
@@ -93,7 +93,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ComponentArgs + ComponentArgs
The arguments to resource properties.
@@ -125,7 +125,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -151,7 +151,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ComponentArgs + ComponentArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/simple-plain-schema/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/simple-plain-schema/docs/provider/_index.md index 92e6a11a5d54..432bfcd884b1 100644 --- a/pkg/codegen/testing/test/testdata/simple-plain-schema/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-plain-schema/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -31,17 +31,17 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
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 48c3e7fddf2d..86420f62befa 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 @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new OtherResource(name: string, args?: OtherResourceArgs, opts?: CustomResourceOptions);
+
new OtherResource(name: string, args?: OtherResourceArgs, opts?: CustomResourceOptions);
@@ -31,18 +31,18 @@ no_edit_this_page: true
@overload
 def OtherResource(resource_name: str,
-                  opts: Optional[ResourceOptions] = None,
+                  opts: Optional[ResourceOptions] = None,
                   foo: Optional[Resource] = None)
 @overload
 def OtherResource(resource_name: str,
                   args: Optional[OtherResourceArgs] = None,
-                  opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewOtherResource(ctx *Context, name string, args *OtherResourceArgs, opts ...ResourceOption) (*OtherResource, error)
+
func NewOtherResource(ctx *Context, name string, args *OtherResourceArgs, opts ...ResourceOption) (*OtherResource, error)
@@ -84,7 +84,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - OtherResourceArgs + OtherResourceArgs
The arguments to resource properties.
@@ -116,7 +116,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -142,7 +142,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - OtherResourceArgs + OtherResourceArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/docs/provider/_index.md index 92e6a11a5d54..432bfcd884b1 100644 --- a/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -31,17 +31,17 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/docs/resource/_index.md b/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/docs/resource/_index.md index 836eab027a55..db67dccdc5a6 100644 --- a/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/docs/resource/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/docs/resource/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Resource(name: string, args?: ResourceArgs, opts?: CustomResourceOptions);
+
new Resource(name: string, args?: ResourceArgs, opts?: CustomResourceOptions);
@@ -31,18 +31,18 @@ no_edit_this_page: true
@overload
 def Resource(resource_name: str,
-             opts: Optional[ResourceOptions] = None,
+             opts: Optional[ResourceOptions] = None,
              bar: Optional[str] = None)
 @overload
 def Resource(resource_name: str,
              args: Optional[ResourceArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewResource(ctx *Context, name string, args *ResourceArgs, opts ...ResourceOption) (*Resource, error)
+
func NewResource(ctx *Context, name string, args *ResourceArgs, opts ...ResourceOption) (*Resource, error)
@@ -84,7 +84,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -116,7 +116,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -142,7 +142,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
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 d12e5e8da128..c1eab71de33e 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 @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new BarResource(name: string, args?: BarResourceArgs, opts?: CustomResourceOptions);
+
new BarResource(name: string, args?: BarResourceArgs, opts?: CustomResourceOptions);
@@ -31,18 +31,18 @@ no_edit_this_page: true
@overload
 def BarResource(resource_name: str,
-                opts: Optional[ResourceOptions] = None,
+                opts: Optional[ResourceOptions] = None,
                 foo: Optional[Resource] = None)
 @overload
 def BarResource(resource_name: str,
                 args: Optional[BarResourceArgs] = None,
-                opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewBarResource(ctx *Context, name string, args *BarResourceArgs, opts ...ResourceOption) (*BarResource, error)
+
func NewBarResource(ctx *Context, name string, args *BarResourceArgs, opts ...ResourceOption) (*BarResource, error)
@@ -84,7 +84,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - BarResourceArgs + BarResourceArgs
The arguments to resource properties.
@@ -116,7 +116,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -142,7 +142,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - BarResourceArgs + BarResourceArgs
The arguments to resource properties.
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 e4a7034cb3f3..56efc3664130 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 @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new FooResource(name: string, args?: FooResourceArgs, opts?: CustomResourceOptions);
+
new FooResource(name: string, args?: FooResourceArgs, opts?: CustomResourceOptions);
@@ -31,18 +31,18 @@ no_edit_this_page: true
@overload
 def FooResource(resource_name: str,
-                opts: Optional[ResourceOptions] = None,
+                opts: Optional[ResourceOptions] = None,
                 foo: Optional[Resource] = None)
 @overload
 def FooResource(resource_name: str,
                 args: Optional[FooResourceArgs] = None,
-                opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewFooResource(ctx *Context, name string, args *FooResourceArgs, opts ...ResourceOption) (*FooResource, error)
+
func NewFooResource(ctx *Context, name string, args *FooResourceArgs, opts ...ResourceOption) (*FooResource, error)
@@ -84,7 +84,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - FooResourceArgs + FooResourceArgs
The arguments to resource properties.
@@ -116,7 +116,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -142,7 +142,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - FooResourceArgs + FooResourceArgs
The arguments to resource properties.
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 48c3e7fddf2d..86420f62befa 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 @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new OtherResource(name: string, args?: OtherResourceArgs, opts?: CustomResourceOptions);
+
new OtherResource(name: string, args?: OtherResourceArgs, opts?: CustomResourceOptions);
@@ -31,18 +31,18 @@ no_edit_this_page: true
@overload
 def OtherResource(resource_name: str,
-                  opts: Optional[ResourceOptions] = None,
+                  opts: Optional[ResourceOptions] = None,
                   foo: Optional[Resource] = None)
 @overload
 def OtherResource(resource_name: str,
                   args: Optional[OtherResourceArgs] = None,
-                  opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewOtherResource(ctx *Context, name string, args *OtherResourceArgs, opts ...ResourceOption) (*OtherResource, error)
+
func NewOtherResource(ctx *Context, name string, args *OtherResourceArgs, opts ...ResourceOption) (*OtherResource, error)
@@ -84,7 +84,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - OtherResourceArgs + OtherResourceArgs
The arguments to resource properties.
@@ -116,7 +116,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -142,7 +142,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - OtherResourceArgs + OtherResourceArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/overlayresource/_index.md b/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/overlayresource/_index.md index 4365dc02b9ec..de1362e73ae3 100644 --- a/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/overlayresource/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/overlayresource/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new OverlayResource(name: string, args?: OverlayResourceArgs, opts?: CustomResourceOptions);
+
new OverlayResource(name: string, args?: OverlayResourceArgs, opts?: CustomResourceOptions);
@@ -31,19 +31,19 @@ no_edit_this_page: true
@overload
 def OverlayResource(resource_name: str,
-                    opts: Optional[ResourceOptions] = None,
+                    opts: Optional[ResourceOptions] = None,
                     bar: Optional[EnumOverlay] = None,
                     foo: Optional[ConfigMapOverlayArgs] = None)
 @overload
 def OverlayResource(resource_name: str,
                     args: Optional[OverlayResourceArgs] = None,
-                    opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewOverlayResource(ctx *Context, name string, args *OverlayResourceArgs, opts ...ResourceOption) (*OverlayResource, error)
+
func NewOverlayResource(ctx *Context, name string, args *OverlayResourceArgs, opts ...ResourceOption) (*OverlayResource, error)
@@ -85,7 +85,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - OverlayResourceArgs + OverlayResourceArgs
The arguments to resource properties.
@@ -117,7 +117,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -143,7 +143,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - OverlayResourceArgs + OverlayResourceArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/provider/_index.md index 92e6a11a5d54..432bfcd884b1 100644 --- a/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -31,17 +31,17 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/resource/_index.md b/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/resource/_index.md index eb7ebe1ae2dd..8e5508963bba 100644 --- a/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/resource/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/resource/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Resource(name: string, args?: ResourceArgs, opts?: CustomResourceOptions);
+
new Resource(name: string, args?: ResourceArgs, opts?: CustomResourceOptions);
@@ -31,18 +31,18 @@ no_edit_this_page: true
@overload
 def Resource(resource_name: str,
-             opts: Optional[ResourceOptions] = None,
+             opts: Optional[ResourceOptions] = None,
              bar: Optional[str] = None)
 @overload
 def Resource(resource_name: str,
              args: Optional[ResourceArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewResource(ctx *Context, name string, args *ResourceArgs, opts ...ResourceOption) (*Resource, error)
+
func NewResource(ctx *Context, name string, args *ResourceArgs, opts ...ResourceOption) (*Resource, error)
@@ -84,7 +84,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -116,7 +116,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -142,7 +142,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/typeuses/_index.md b/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/typeuses/_index.md index f88806de1e53..e70b56d417aa 100644 --- a/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/typeuses/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/typeuses/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new TypeUses(name: string, args?: TypeUsesArgs, opts?: CustomResourceOptions);
+
new TypeUses(name: string, args?: TypeUsesArgs, opts?: CustomResourceOptions);
@@ -31,20 +31,20 @@ no_edit_this_page: true
@overload
 def TypeUses(resource_name: str,
-             opts: Optional[ResourceOptions] = None,
+             opts: Optional[ResourceOptions] = None,
              bar: Optional[SomeOtherObjectArgs] = None,
              baz: Optional[ObjectWithNodeOptionalInputsArgs] = None,
              foo: Optional[ObjectArgs] = None)
 @overload
 def TypeUses(resource_name: str,
              args: Optional[TypeUsesArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewTypeUses(ctx *Context, name string, args *TypeUsesArgs, opts ...ResourceOption) (*TypeUses, error)
+
func NewTypeUses(ctx *Context, name string, args *TypeUsesArgs, opts ...ResourceOption) (*TypeUses, error)
@@ -86,7 +86,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - TypeUsesArgs + TypeUsesArgs
The arguments to resource properties.
@@ -118,7 +118,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -144,7 +144,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - TypeUsesArgs + TypeUsesArgs
The arguments to resource properties.
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 143c51f4069c..57daa1528a92 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 @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new OtherResource(name: string, args?: OtherResourceArgs, opts?: CustomResourceOptions);
+
new OtherResource(name: string, args?: OtherResourceArgs, opts?: CustomResourceOptions);
@@ -31,19 +31,19 @@ no_edit_this_page: true
@overload
 def OtherResource(resource_name: str,
-                  opts: Optional[ResourceOptions] = None,
+                  opts: Optional[ResourceOptions] = None,
                   bar: Optional[Sequence[str]] = None,
                   foo: Optional[Resource] = None)
 @overload
 def OtherResource(resource_name: str,
                   args: Optional[OtherResourceArgs] = None,
-                  opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewOtherResource(ctx *Context, name string, args *OtherResourceArgs, opts ...ResourceOption) (*OtherResource, error)
+
func NewOtherResource(ctx *Context, name string, args *OtherResourceArgs, opts ...ResourceOption) (*OtherResource, error)
@@ -85,7 +85,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - OtherResourceArgs + OtherResourceArgs
The arguments to resource properties.
@@ -117,7 +117,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -143,7 +143,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - OtherResourceArgs + OtherResourceArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/provider/_index.md index 92e6a11a5d54..432bfcd884b1 100644 --- a/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -31,17 +31,17 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/resource/_index.md b/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/resource/_index.md index 836eab027a55..db67dccdc5a6 100644 --- a/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/resource/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/resource/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Resource(name: string, args?: ResourceArgs, opts?: CustomResourceOptions);
+
new Resource(name: string, args?: ResourceArgs, opts?: CustomResourceOptions);
@@ -31,18 +31,18 @@ no_edit_this_page: true
@overload
 def Resource(resource_name: str,
-             opts: Optional[ResourceOptions] = None,
+             opts: Optional[ResourceOptions] = None,
              bar: Optional[str] = None)
 @overload
 def Resource(resource_name: str,
              args: Optional[ResourceArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewResource(ctx *Context, name string, args *ResourceArgs, opts ...ResourceOption) (*Resource, error)
+
func NewResource(ctx *Context, name string, args *ResourceArgs, opts ...ResourceOption) (*Resource, error)
@@ -84,7 +84,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -116,7 +116,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -142,7 +142,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
diff --git a/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/typeuses/_index.md b/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/typeuses/_index.md index 4c2ea8a7bcde..0aab9c5f05f5 100644 --- a/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/typeuses/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/typeuses/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new TypeUses(name: string, args?: TypeUsesArgs, opts?: CustomResourceOptions);
+
new TypeUses(name: string, args?: TypeUsesArgs, opts?: CustomResourceOptions);
@@ -31,7 +31,7 @@ no_edit_this_page: true
@overload
 def TypeUses(resource_name: str,
-             opts: Optional[ResourceOptions] = None,
+             opts: Optional[ResourceOptions] = None,
              bar: Optional[SomeOtherObjectArgs] = None,
              baz: Optional[ObjectWithNodeOptionalInputsArgs] = None,
              foo: Optional[ObjectArgs] = None,
@@ -39,13 +39,13 @@ no_edit_this_page: true
 @overload
 def TypeUses(resource_name: str,
              args: Optional[TypeUsesArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
-
func NewTypeUses(ctx *Context, name string, args *TypeUsesArgs, opts ...ResourceOption) (*TypeUses, error)
+
func NewTypeUses(ctx *Context, name string, args *TypeUsesArgs, opts ...ResourceOption) (*TypeUses, error)
@@ -87,7 +87,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - TypeUsesArgs + TypeUsesArgs
The arguments to resource properties.
@@ -119,7 +119,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
@@ -145,7 +145,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - TypeUsesArgs + TypeUsesArgs
The arguments to resource properties.
From 65b6b01abdfae84e6b099f8f0e2dd8a32c505c8a Mon Sep 17 00:00:00 2001 From: Ian Wahbe Date: Wed, 7 Dec 2022 13:03:41 +0100 Subject: [PATCH 11/36] Don't use *schema.Package in python codegen --- pkg/codegen/python/doc.go | 4 +- pkg/codegen/python/gen.go | 146 +++++++++++------- pkg/codegen/python/gen_program.go | 37 +++-- pkg/codegen/python/gen_program_expressions.go | 7 +- pkg/codegen/python/gen_resource_mappings.go | 8 +- pkg/codegen/schema/bind.go | 1 + pkg/codegen/schema/schema.go | 11 +- pkg/codegen/utilities.go | 22 +++ 8 files changed, 155 insertions(+), 81 deletions(-) diff --git a/pkg/codegen/python/doc.go b/pkg/codegen/python/doc.go index e5ba7dae7855..67f71dd204a1 100644 --- a/pkg/codegen/python/doc.go +++ b/pkg/codegen/python/doc.go @@ -76,7 +76,7 @@ func (d DocLanguageHelper) GetDocLinkForFunctionInputOrOutputType(pkg *schema.Pa func (d DocLanguageHelper) GetLanguageTypeString(pkg *schema.Package, moduleName string, t schema.Type, input bool) string { typeDetails := map[*schema.ObjectType]*typeDetails{} mod := &modContext{ - pkg: pkg, + pkg: pkg.Reference(), mod: moduleName, typeDetails: typeDetails, } @@ -114,7 +114,7 @@ func (d DocLanguageHelper) GetMethodResultName(pkg *schema.Package, modName stri if info.LiftSingleValueMethodReturns && m.Function.Outputs != nil && len(m.Function.Outputs.Properties) == 1 { typeDetails := map[*schema.ObjectType]*typeDetails{} mod := &modContext{ - pkg: pkg, + pkg: pkg.Reference(), mod: modName, typeDetails: typeDetails, } diff --git a/pkg/codegen/python/gen.go b/pkg/codegen/python/gen.go index 3dcbe76973ee..675c2ea11287 100644 --- a/pkg/codegen/python/gen.go +++ b/pkg/codegen/python/gen.go @@ -97,7 +97,7 @@ type modLocator struct { } type modContext struct { - pkg *schema.Package + pkg schema.PackageReference modLocator *modLocator mod string pyPkgName string @@ -158,10 +158,12 @@ func (mod *modContext) details(t *schema.ObjectType) *typeDetails { return details } -func (mod *modContext) modNameAndName(pkg *schema.Package, t schema.Type, input bool) (modName string, name string) { +func (mod *modContext) modNameAndName(pkg schema.PackageReference, t schema.Type, input bool) (modName string, name string) { var info PackageInfo - contract.AssertNoError(pkg.ImportLanguages(map[string]schema.Language{"python": Importer})) - if v, ok := pkg.Language["python"].(PackageInfo); ok { + p, err := pkg.Definition() + contract.AssertNoError(err) + contract.AssertNoError(p.ImportLanguages(map[string]schema.Language{"python": Importer})) + if v, ok := p.Language["python"].(PackageInfo); ok { info = v } @@ -213,9 +215,10 @@ func (mod *modContext) objectType(t *schema.ObjectType, input bool) string { } // If it's an external type, reference it via fully qualified name. - if t.Package != mod.pkg { - modName, name := mod.modNameAndName(t.Package, t, input) - return fmt.Sprintf("'%s.%s%s%s'", pyPack(t.Package.Name), modName, prefix, name) + + if !codegen.PkgEquals(t.PackageReference, mod.pkg) { + modName, name := mod.modNameAndName(t.PackageReference, t, input) + return fmt.Sprintf("'%s.%s%s%s'", pyPack(t.PackageReference.Name()), modName, prefix, name) } modName, name := mod.tokenToModule(t.Token), mod.unqualifiedObjectTypeName(t, input) @@ -255,7 +258,8 @@ func (mod *modContext) tokenToEnum(tok string) string { } func (mod *modContext) resourceType(r *schema.ResourceType) string { - if r.Resource == nil || r.Resource.Package == mod.pkg { + + if r.Resource == nil || codegen.PkgEquals(r.Resource.PackageReference, mod.pkg) { return mod.tokenToResource(r.Token) } @@ -265,9 +269,9 @@ func (mod *modContext) resourceType(r *schema.ResourceType) string { return fmt.Sprintf("pulumi_%s.Provider", pkgName) } - pkg := r.Resource.Package + pkg := r.Resource.PackageReference modName, name := mod.modNameAndName(pkg, r, false) - return fmt.Sprintf("%s.%s%s", pyPack(pkg.Name), modName, name) + return fmt.Sprintf("%s.%s%s", pyPack(pkg.Name()), modName, name) } func (mod *modContext) tokenToResource(tok string) string { @@ -304,8 +308,12 @@ func tokenToName(tok string) string { return title(components[2]) } -func tokenToModule(tok string, pkg *schema.Package, moduleNameOverrides map[string]string) string { +func tokenToModule(tok string, pkg schema.PackageReference, moduleNameOverrides map[string]string) string { // See if there's a manually-overridden module name. + if pkg == nil { + // If pkg is nil, we use the default `TokenToModule` scheme. + pkg = (&schema.Package{}).Reference() + } canonicalModName := pkg.TokenToModule(tok) if override, ok := moduleNameOverrides[canonicalModName]; ok { return override @@ -397,20 +405,23 @@ func relPathToRelImport(relPath string) string { return relImport } -func (mod *modContext) genUtilitiesFile() []byte { +func (mod *modContext) genUtilitiesFile() ([]byte, error) { buffer := &bytes.Buffer{} genStandardHeader(buffer, mod.tool) fmt.Fprintf(buffer, utilitiesFile) optionalURL := "None" - if url := mod.pkg.PluginDownloadURL; url != "" { + pkg, err := mod.pkg.Definition() + if err != nil { + return nil, err + } + if url := pkg.PluginDownloadURL; url != "" { optionalURL = fmt.Sprintf("%q", url) } - _, err := fmt.Fprintf(buffer, ` + _, err = fmt.Fprintf(buffer, ` def get_plugin_download_url(): return %s `, optionalURL) - contract.AssertNoError(err) - return buffer.Bytes() + return buffer.Bytes(), err } func (mod *modContext) gen(fs codegen.Fs) error { @@ -438,28 +449,37 @@ func (mod *modContext) gen(fs codegen.Fs) error { // Utilities, config, readme switch mod.mod { case "": - fs.Add(filepath.Join(dir, "_utilities.py"), mod.genUtilitiesFile()) + utils, err := mod.genUtilitiesFile() + if err != nil { + return err + } + fs.Add(filepath.Join(dir, "_utilities.py"), utils) fs.Add(filepath.Join(dir, "py.typed"), []byte{}) // Ensure that the top-level (provider) module directory contains a README.md file. + pkg, err := mod.pkg.Definition() + if err != nil { + return err + } + var readme string - if pythonInfo, ok := mod.pkg.Language["python"]; ok { + if pythonInfo, ok := pkg.Language["python"]; ok { if typedInfo, ok := pythonInfo.(PackageInfo); ok { readme = typedInfo.Readme } } if readme == "" { - readme = mod.pkg.Description + readme = mod.pkg.Description() if readme != "" && readme[len(readme)-1] != '\n' { readme += "\n" } - if mod.pkg.Attribution != "" { + if pkg.Attribution != "" { if len(readme) != 0 { readme += "\n" } - readme += mod.pkg.Attribution + readme += pkg.Attribution } if readme != "" && readme[len(readme)-1] != '\n' { readme += "\n" @@ -468,13 +488,17 @@ func (mod *modContext) gen(fs codegen.Fs) error { fs.Add(filepath.Join(dir, "README.md"), []byte(readme)) case "config": - if len(mod.pkg.Config) > 0 { - vars, err := mod.genConfig(mod.pkg.Config) + config, err := mod.pkg.Config() + if err != nil { + return err + } + if len(config) > 0 { + vars, err := mod.genConfig(config) if err != nil { return err } addFile("vars.py", vars) - typeStubs, err := mod.genConfigStubs(mod.pkg.Config) + typeStubs, err := mod.genConfigStubs(config) if err != nil { return err } @@ -600,7 +624,7 @@ func (mod *modContext) fullyQualifiedImportName() string { return mod.pyPkgName } if mod.parent == nil { - return fmt.Sprintf("%s.%s", pyPack(mod.pkg.Name), name) + return fmt.Sprintf("%s.%s", pyPack(mod.pkg.Name()), name) } return fmt.Sprintf("%s.%s", mod.parent.fullyQualifiedImportName(), name) } @@ -712,8 +736,8 @@ func (mod *modContext) genUtilitiesImport() string { } func (mod *modContext) importObjectType(t *schema.ObjectType, input bool) string { - if t.Package != mod.pkg { - return fmt.Sprintf("import %s", pyPack(t.Package.Name)) + if !codegen.PkgEquals(t.PackageReference, mod.pkg) { + return fmt.Sprintf("import %s", pyPack(t.PackageReference.Name())) } tok := t.Token @@ -730,7 +754,7 @@ func (mod *modContext) importObjectType(t *schema.ObjectType, input bool) string } importPath := mod.getRelImportFromRoot() - if mod.pkg.Name != parts[0] { + if mod.pkg.Name() != parts[0] { importPath = fmt.Sprintf("pulumi_%s", refPkgName) } @@ -747,8 +771,8 @@ func (mod *modContext) importObjectType(t *schema.ObjectType, input bool) string } func (mod *modContext) importEnumType(e *schema.EnumType) string { - if e.Package != mod.pkg { - return fmt.Sprintf("import %s", pyPack(e.Package.Name)) + if !codegen.PkgEquals(e.PackageReference, mod.pkg) { + return fmt.Sprintf("import %s", pyPack(e.PackageReference.Name())) } modName := mod.tokenToModule(e.Token) @@ -767,8 +791,9 @@ func (mod *modContext) importEnumType(e *schema.EnumType) string { } func (mod *modContext) importResourceType(r *schema.ResourceType) string { - if r.Resource != nil && r.Resource.Package != mod.pkg { - return fmt.Sprintf("import %s", pyPack(r.Resource.Package.Name)) + + if r.Resource != nil && !codegen.PkgEquals(r.Resource.PackageReference, mod.pkg) { + return fmt.Sprintf("import %s", pyPack(r.Resource.PackageReference.Name())) } tok := r.Token @@ -785,7 +810,7 @@ func (mod *modContext) importResourceType(r *schema.ResourceType) string { modName := mod.tokenToResource(tok) importPath := mod.getRelImportFromRoot() - if mod.pkg.Name != parts[0] { + if mod.pkg.Name() != parts[0] { importPath = fmt.Sprintf("pulumi_%s", refPkgName) } @@ -815,7 +840,7 @@ func (mod *modContext) genConfig(variables []*schema.Property) (string, error) { fmt.Fprintf(w, "\n") // Create a config bag for the variables to pull from. - fmt.Fprintf(w, "__config__ = pulumi.Config('%s')\n", mod.pkg.Name) + fmt.Fprintf(w, "__config__ = pulumi.Config('%s')\n", mod.pkg.Name()) fmt.Fprintf(w, "\n\n") // To avoid a breaking change to the existing config getters, we define a class that extends @@ -1359,7 +1384,7 @@ func (mod *modContext) genResource(res *schema.Resource) (string, error) { // Finally, chain to the base constructor, which will actually register the resource. tok := res.Token if res.IsProvider { - tok = mod.pkg.Name + tok = mod.pkg.Name() } fmt.Fprintf(w, " super(%s, __self__).__init__(\n", name) fmt.Fprintf(w, " '%s',\n", tok) @@ -2628,8 +2653,8 @@ func generateModuleContextMap(tool string, pkg *schema.Package, info PackageInfo // modules map will contain modContext entries for all modules in current package (pkg) modules := map[string]*modContext{} - var getMod func(modName string, p *schema.Package) *modContext - getMod = func(modName string, p *schema.Package) *modContext { + var getMod func(modName string, p schema.PackageReference) *modContext + getMod = func(modName string, p schema.PackageReference) *modContext { mod, ok := modules[modName] if !ok { mod = &modContext{ @@ -2642,7 +2667,7 @@ func generateModuleContextMap(tool string, pkg *schema.Package, info PackageInfo liftSingleValueMethodReturns: info.LiftSingleValueMethodReturns, } - if modName != "" && p == pkg { + if modName != "" && codegen.PkgEquals(p, pkg.Reference()) { parentName := path.Dir(modName) if parentName == "." { parentName = "" @@ -2653,14 +2678,15 @@ func generateModuleContextMap(tool string, pkg *schema.Package, info PackageInfo // Save the module only if it's for the current package. // This way, modules for external packages are not saved. - if p == pkg { + + if codegen.PkgEquals(p, pkg.Reference()) { modules[modName] = mod } } return mod } - getModFromToken := func(tok string, p *schema.Package) *modContext { + getModFromToken := func(tok string, p schema.PackageReference) *modContext { modName := tokenToModule(tok, p, info.ModuleNameOverrides) return getMod(modName, p) } @@ -2668,40 +2694,40 @@ func generateModuleContextMap(tool string, pkg *schema.Package, info PackageInfo // Create the config module if necessary. if len(pkg.Config) > 0 && info.Compatibility != kubernetes20 { // k8s SDK doesn't use config. - configMod := getMod("config", pkg) + configMod := getMod("config", pkg.Reference()) configMod.isConfig = true } visitObjectTypes(pkg.Config, func(t schema.Type) { if t, ok := t.(*schema.ObjectType); ok { - getModFromToken(t.Token, t.Package).details(t).outputType = true + getModFromToken(t.Token, t.PackageReference).details(t).outputType = true } }) // Find input and output types referenced by resources. scanResource := func(r *schema.Resource) { - mod := getModFromToken(r.Token, pkg) + mod := getModFromToken(r.Token, pkg.Reference()) mod.resources = append(mod.resources, r) visitObjectTypes(r.Properties, func(t schema.Type) { switch T := t.(type) { case *schema.ObjectType: - getModFromToken(T.Token, T.Package).details(T).outputType = true - getModFromToken(T.Token, T.Package).details(T).resourceOutputType = true + getModFromToken(T.Token, T.PackageReference).details(T).outputType = true + getModFromToken(T.Token, T.PackageReference).details(T).resourceOutputType = true } }) visitObjectTypes(r.InputProperties, func(t schema.Type) { switch T := t.(type) { case *schema.ObjectType: - getModFromToken(T.Token, T.Package).details(T).inputType = true + getModFromToken(T.Token, T.PackageReference).details(T).inputType = true } }) if r.StateInputs != nil { visitObjectTypes(r.StateInputs.Properties, func(t schema.Type) { switch T := t.(type) { case *schema.ObjectType: - getModFromToken(T.Token, T.Package).details(T).inputType = true + getModFromToken(T.Token, T.PackageReference).details(T).inputType = true case *schema.ResourceType: - getModFromToken(T.Token, T.Resource.Package) + getModFromToken(T.Token, T.Resource.PackageReference) } }) } @@ -2714,7 +2740,7 @@ func generateModuleContextMap(tool string, pkg *schema.Package, info PackageInfo // Find input and output types referenced by functions. for _, f := range pkg.Functions { - mod := getModFromToken(f.Token, f.Package) + mod := getModFromToken(f.Token, f.PackageReference) if !f.IsMethod { mod.functions = append(mod.functions, f) } @@ -2722,10 +2748,10 @@ func generateModuleContextMap(tool string, pkg *schema.Package, info PackageInfo visitObjectTypes(f.Inputs.Properties, func(t schema.Type) { switch T := t.(type) { case *schema.ObjectType: - getModFromToken(T.Token, T.Package).details(T).inputType = true - getModFromToken(T.Token, T.Package).details(T).plainType = true + getModFromToken(T.Token, T.PackageReference).details(T).inputType = true + getModFromToken(T.Token, T.PackageReference).details(T).plainType = true case *schema.ResourceType: - getModFromToken(T.Token, T.Resource.Package) + getModFromToken(T.Token, T.Resource.PackageReference) } }) } @@ -2733,10 +2759,10 @@ func generateModuleContextMap(tool string, pkg *schema.Package, info PackageInfo visitObjectTypes(f.Outputs.Properties, func(t schema.Type) { switch T := t.(type) { case *schema.ObjectType: - getModFromToken(T.Token, T.Package).details(T).outputType = true - getModFromToken(T.Token, T.Package).details(T).plainType = true + getModFromToken(T.Token, T.PackageReference).details(T).outputType = true + getModFromToken(T.Token, T.PackageReference).details(T).plainType = true case *schema.ResourceType: - getModFromToken(T.Token, T.Resource.Package) + getModFromToken(T.Token, T.Resource.PackageReference) } }) } @@ -2746,14 +2772,14 @@ func generateModuleContextMap(tool string, pkg *schema.Package, info PackageInfo for _, t := range pkg.Types { switch typ := t.(type) { case *schema.ObjectType: - mod := getModFromToken(typ.Token, typ.Package) + mod := getModFromToken(typ.Token, typ.PackageReference) d := mod.details(typ) if d.inputType || d.outputType { mod.types = append(mod.types, typ) } case *schema.EnumType: if !typ.IsOverlay { - mod := getModFromToken(typ.Token, pkg) + mod := getModFromToken(typ.Token, pkg.Reference()) mod.enums = append(mod.enums, typ) } default: @@ -2772,7 +2798,7 @@ func generateModuleContextMap(tool string, pkg *schema.Package, info PackageInfo if modName == "/" || modName == "." { modName = "" } - mod := getMod(modName, pkg) + mod := getMod(modName, pkg.Reference()) mod.extraSourceFiles = append(mod.extraSourceFiles, p) } @@ -2780,11 +2806,11 @@ func generateModuleContextMap(tool string, pkg *schema.Package, info PackageInfo // modContext for every ObjectType. modLocator := &modLocator{ objectTypeMod: func(t *schema.ObjectType) *modContext { - if t.Package != pkg { + if !codegen.PkgEquals(t.PackageReference, pkg.Reference()) { return nil } - return getModFromToken(t.Token, t.Package) + return getModFromToken(t.Token, t.PackageReference) }, } diff --git a/pkg/codegen/python/gen_program.go b/pkg/codegen/python/gen_program.go index c9dfe4f8e547..f1f9531fcb92 100644 --- a/pkg/codegen/python/gen_program.go +++ b/pkg/codegen/python/gen_program.go @@ -211,9 +211,12 @@ func (g *generator) genPreamble(w io.Writer, program *pcl.Program, preambleHelpe continue } packageName := "pulumi_" + makeValidIdentifier(pkg) - if r.Schema != nil && r.Schema.Package != nil { - if info, ok := r.Schema.Package.Language["python"].(PackageInfo); ok && info.PackageName != "" { - packageName = info.PackageName + if r.Schema != nil && r.Schema.PackageReference != nil { + pkg, err := r.Schema.PackageReference.Definition() + if err == nil { + if info, ok := pkg.Language["python"].(PackageInfo); ok && info.PackageName != "" { + packageName = info.PackageName + } } } importSet[packageName] = Import{ImportAs: true, Pkg: makeValidIdentifier(pkg)} @@ -306,13 +309,22 @@ func resourceTypeName(r *pcl.Resource) (string, hcl.Diagnostics) { // Normalize module. if r.Schema != nil { - pkg := r.Schema.Package - err := pkg.ImportLanguages(map[string]schema.Language{"python": Importer}) - contract.AssertNoError(err) - if lang, ok := pkg.Language["python"]; ok { - pkgInfo := lang.(PackageInfo) - if m, ok := pkgInfo.ModuleNameOverrides[module]; ok { - module = m + pkg, err := r.Schema.PackageReference.Definition() + if err != nil { + diagnostics = append(diagnostics, &hcl.Diagnostic{ + Severity: hcl.DiagError, + Summary: "unable to bind schema for resource", + Detail: err.Error(), + Subject: r.Definition.Syntax.DefRange().Ptr(), + }) + } else { + err = pkg.ImportLanguages(map[string]schema.Language{"python": Importer}) + contract.AssertNoError(err) + if lang, ok := pkg.Language["python"]; ok { + pkgInfo := lang.(PackageInfo) + if m, ok := pkgInfo.ModuleNameOverrides[module]; ok { + module = m + } } } } @@ -341,10 +353,11 @@ func (g *generator) argumentTypeName(expr model.Expression, destType model.Type) pkgName, module, member, diagnostics := pcl.DecomposeToken(token, tokenRange) contract.Assert(len(diagnostics) == 0) - modName := objType.Package.TokenToModule(token) + modName := objType.PackageReference.TokenToModule(token) // Normalize module. - pkg := objType.Package + pkg, err := objType.PackageReference.Definition() + contract.AssertNoError(err) if lang, ok := pkg.Language["python"]; ok { pkgInfo := lang.(PackageInfo) if m, ok := pkgInfo.ModuleNameOverrides[module]; ok { diff --git a/pkg/codegen/python/gen_program_expressions.go b/pkg/codegen/python/gen_program_expressions.go index fc12aec67287..489d36ecee7a 100644 --- a/pkg/codegen/python/gen_program_expressions.go +++ b/pkg/codegen/python/gen_program_expressions.go @@ -237,9 +237,12 @@ func (g *generator) GenFunctionCallExpression(w io.Writer, expr *model.FunctionC g.Fgenf(w, "%.v", expr.Args[0]) return } - moduleNameOverrides := enum.(*schema.EnumType).Package.Language["python"].(PackageInfo).ModuleNameOverrides + var moduleNameOverrides map[string]string + if pkg, err := enum.(*schema.EnumType).PackageReference.Definition(); err == nil { + moduleNameOverrides = pkg.Language["python"].(PackageInfo).ModuleNameOverrides + } pkg := strings.ReplaceAll(components[0], "-", "_") - if m := tokenToModule(to.Token, &schema.Package{}, moduleNameOverrides); m != "" { + if m := tokenToModule(to.Token, nil, moduleNameOverrides); m != "" { pkg += "." + m } enumName := tokenToName(to.Token) diff --git a/pkg/codegen/python/gen_resource_mappings.go b/pkg/codegen/python/gen_resource_mappings.go index 61758de18c2e..b879734af938 100644 --- a/pkg/codegen/python/gen_resource_mappings.go +++ b/pkg/codegen/python/gen_resource_mappings.go @@ -19,6 +19,8 @@ import ( "fmt" "io" "sort" + + "github.com/pulumi/pulumi/pkg/v3/codegen/schema" ) // Generates code to build and regsiter ResourceModule and @@ -109,8 +111,8 @@ func collectResourceModuleInfos(mctx *modContext) []resourceModuleInfo { } if !res.IsProvider { - pkg := mctx.pkg.Name - mod := mctx.pkg.TokenToRuntimeModule(res.Token) + pkg := mctx.pkg.Name() + mod := schema.TokenToRuntimeModule(res.Token) fqn := mctx.fullyQualifiedImportName() rmi, found := byMod[mod] @@ -169,7 +171,7 @@ func collectResourcePackageInfos(mctx *modContext) []resourcePackageInfo { } if res.IsProvider { - pkg := mctx.pkg.Name + pkg := mctx.pkg.Name() token := res.Token fqn := mctx.fullyQualifiedImportName() class := "Provider" diff --git a/pkg/codegen/schema/bind.go b/pkg/codegen/schema/bind.go index 3972fa39deb3..9ff26f71f77c 100644 --- a/pkg/codegen/schema/bind.go +++ b/pkg/codegen/schema/bind.go @@ -1507,6 +1507,7 @@ func (t *types) bindFunctionDef(token string) (*Function, hcl.Diagnostics, error fn := &Function{ Package: t.pkg, + PackageReference: t.externalPackage(), Token: token, Comment: spec.Description, Inputs: inputs, diff --git a/pkg/codegen/schema/schema.go b/pkg/codegen/schema/schema.go index b112ae82eb90..46f072ab3eb6 100644 --- a/pkg/codegen/schema/schema.go +++ b/pkg/codegen/schema/schema.go @@ -530,8 +530,11 @@ type Method struct { // Function describes a Pulumi function. type Function struct { - // Package is the package that defines the function. + // Package is the package that defines the function. Package will not be accurate for + // types loaded by reference. In that case, use PackageReference instead. Package *Package + // PackageReference is the PackageReference that defines the function. + PackageReference PackageReference // Token is the function's Pulumi type token. Token string // Comment is the description of the function, if any. @@ -894,7 +897,7 @@ func (pkg *Package) TokenToModule(tok string) string { } } -func (pkg *Package) TokenToRuntimeModule(tok string) string { +func TokenToRuntimeModule(tok string) string { // token := pkg ":" module ":" member components := strings.Split(tok, ":") @@ -904,6 +907,10 @@ func (pkg *Package) TokenToRuntimeModule(tok string) string { return components[1] } +func (pkg *Package) TokenToRuntimeModule(tok string) string { + return TokenToRuntimeModule(tok) +} + func (pkg *Package) GetResource(token string) (*Resource, bool) { r, ok := pkg.resourceTable[token] return r, ok diff --git a/pkg/codegen/utilities.go b/pkg/codegen/utilities.go index 90af78e7ebbc..b2cd08d71fb8 100644 --- a/pkg/codegen/utilities.go +++ b/pkg/codegen/utilities.go @@ -20,6 +20,7 @@ import ( "reflect" "sort" + "github.com/pulumi/pulumi/pkg/v3/codegen/schema" "github.com/pulumi/pulumi/sdk/v3/go/common/util/contract" ) @@ -184,3 +185,24 @@ func (fs Fs) Add(path string, contents []byte) { contract.Assertf(!has, "duplicate file: %s", path) fs[path] = contents } + +// Check if two packages are the same. +func PkgEquals(p1, p2 schema.PackageReference) bool { + if p1 == p2 { + return true + } else if p1 == nil || p2 == nil { + return false + } + + if p1.Name() != p2.Name() { + return false + } + + v1, v2 := p1.Version(), p2.Version() + if v1 == v2 { + return true + } else if v1 == nil || v2 == nil { + return false + } + return v1.Equals(*v2) +} From 592dc9267d05bf3dcf415474cb35858c0aa585b5 Mon Sep 17 00:00:00 2001 From: Kyle Pitzen Date: Tue, 6 Dec 2022 10:11:28 -0500 Subject: [PATCH 12/36] fix(sdk/python): Allow for duplicate output values in python programs I used the node SDK as inspiration for this change - there were a few things we were doing differently in python (specifically handling all cases in the outer layer of `massage` rather than allowing for more fine-grained control in a `massage_complex` function like in node. We also take the stack concept from the node SDK to resolve the immediate issue of duplicate outputs. --- ...for-duplicate-output-values-in-python.yaml | 4 ++ sdk/python/.gitignore | 1 + sdk/python/lib/pulumi/runtime/stack.py | 67 +++++++++++-------- .../test/langhost/stack_output/__main__.py | 5 ++ .../stack_output/test_stack_output.py | 2 + 5 files changed, 52 insertions(+), 27 deletions(-) create mode 100644 changelog/pending/20221206--sdk-python--allows-for-duplicate-output-values-in-python.yaml diff --git a/changelog/pending/20221206--sdk-python--allows-for-duplicate-output-values-in-python.yaml b/changelog/pending/20221206--sdk-python--allows-for-duplicate-output-values-in-python.yaml new file mode 100644 index 000000000000..a48c6a732b65 --- /dev/null +++ b/changelog/pending/20221206--sdk-python--allows-for-duplicate-output-values-in-python.yaml @@ -0,0 +1,4 @@ +changes: +- type: fix + scope: sdk/python + description: Allows for duplicate output values in python diff --git a/sdk/python/.gitignore b/sdk/python/.gitignore index e10ec23834df..f073ece241e7 100644 --- a/sdk/python/.gitignore +++ b/sdk/python/.gitignore @@ -6,3 +6,4 @@ .venv/ venv/ .coverage +build/ diff --git a/sdk/python/lib/pulumi/runtime/stack.py b/sdk/python/lib/pulumi/runtime/stack.py index b78924185348..2ed495dbcc36 100644 --- a/sdk/python/lib/pulumi/runtime/stack.py +++ b/sdk/python/lib/pulumi/runtime/stack.py @@ -174,54 +174,67 @@ def massage(attr: Any, seen: List[Any]): if is_primitive(attr): return attr + if isinstance(attr, Output): + return attr.apply(lambda v: massage(v, seen)) + + if isawaitable(attr): + return Output.from_input(attr).apply(lambda v: massage(v, seen)) + # from this point on, we have complex objects. If we see them again, we don't want to emit them # again fully or else we'd loop infinitely. if reference_contains(attr, seen): # Note: for Resources we hit again, emit their urn so cycles can be easily understood in # the popo objects. if isinstance(attr, Resource): - return attr.urn - + return massage(attr.urn, seen) # otherwise just emit as nothing to stop the looping. return None - seen.append(attr) - - # first check if the value is an actual dictionary. If so, massage the values of it to deeply - # make sure this is a popo. - if isinstance(attr, dict): - result = {} - # Don't use attr.items() here, as it will error in the case of outputs with an `items` property. - for key in attr: - # ignore private keys - if not key.startswith("_"): - result[key] = massage(attr[key], seen) + try: + seen.append(attr) + return massage_complex(attr, seen) + finally: + popped = seen.pop() + if popped is not attr: + raise Exception("Invariant broken when processing stack outputs") - return result - if isinstance(attr, Output): - return attr.apply(lambda v: massage(v, seen)) +def massage_complex(attr: Any, seen: List[Any]) -> Any: + def is_public_key(key: str) -> bool: + return not key.startswith("_") - if isawaitable(attr): - return Output.from_input(attr).apply(lambda v: massage(v, seen)) + def serialize_all_keys(include: Callable[[str], bool]): + plain_object: Dict[str, Any] = {} + for key in attr.__dict__.keys(): + if include(key): + plain_object[key] = massage(attr.__dict__[key], seen) + return plain_object if isinstance(attr, Resource): - result = massage(attr.__dict__, seen) + serialized_attr = serialize_all_keys(is_public_key) # In preview only, we mark the result with "@isPulumiResource" to indicate that it is derived # from a resource. This allows the engine to perform resource-specific filtering of unknowns # from output diffs during a preview. This filtering is not necessary during an update because # all property values are known. - if is_dry_run(): - result["@isPulumiResource"] = True - return result + return ( + serialized_attr + if not is_dry_run() + else {**serialized_attr, "@isPulumiResource": True} + ) - if hasattr(attr, "__dict__"): - # recurse on the dictionary itself. It will be handled above. - return massage(attr.__dict__, seen) + # first check if the value is an actual dictionary. If so, massage the values of it to deeply + # make sure this is a popo. + if isinstance(attr, dict): + # Don't use attr.items() here, as it will error in the case of outputs with an `items` property. + return { + key: massage(attr[key], seen) for key in attr if not key.startswith("_") + } + + if hasattr(attr, "__iter__"): + return [massage(item, seen) for item in attr] - # finally, recurse through iterables, converting into a list of massaged values. - return [massage(a, seen) for a in attr] + return serialize_all_keys(is_public_key) def reference_contains(val1: Any, seen: List[Any]) -> bool: diff --git a/sdk/python/lib/test/langhost/stack_output/__main__.py b/sdk/python/lib/test/langhost/stack_output/__main__.py index 8c14150b7f09..1489f2a21e69 100644 --- a/sdk/python/lib/test/langhost/stack_output/__main__.py +++ b/sdk/python/lib/test/langhost/stack_output/__main__.py @@ -18,6 +18,9 @@ def __init__(self): self.num = 1 self._private = 2 + +my_test_class_instance = TestClass() + recursive = {"a": 1} recursive["b"] = 2 recursive["c"] = recursive @@ -34,3 +37,5 @@ def __init__(self): pulumi.export("output", pulumi.Output.from_input(1)) pulumi.export("class", TestClass()) pulumi.export("recursive", recursive) +pulumi.export("duplicate_output_0", my_test_class_instance) +pulumi.export("duplicate_output_1", my_test_class_instance) diff --git a/sdk/python/lib/test/langhost/stack_output/test_stack_output.py b/sdk/python/lib/test/langhost/stack_output/test_stack_output.py index ccd4b37e1d51..5810f69fcddf 100644 --- a/sdk/python/lib/test/langhost/stack_output/test_stack_output.py +++ b/sdk/python/lib/test/langhost/stack_output/test_stack_output.py @@ -39,4 +39,6 @@ def register_resource_outputs(self, _ctx, _dry_run, _urn, ty, _name, _resource, "output": 1.0, "class": {"num": 1.0}, "recursive": {"a": 1.0, "b": 2.0}, + "duplicate_output_0": {'num': 1.0}, + "duplicate_output_1": {'num': 1.0}, }, outputs) From 11168f00360acd104aa075dca2a578729fe0f58b Mon Sep 17 00:00:00 2001 From: susanev Date: Wed, 7 Dec 2022 10:40:42 -0800 Subject: [PATCH 13/36] remove slash from anchors Signed-off-by: susanev --- pkg/codegen/docs/gen.go | 18 +- .../sqlresourcesqlcontainer/_index.md | 130 +- .../docs/provider/_index.md | 34 +- .../cyclic-types/docs/provider/_index.md | 34 +- .../dash-named-schema/docs/provider/_index.md | 34 +- .../submodule1/fooencryptedbarclass/_index.md | 34 +- .../docs/submodule1/moduleresource/_index.md | 70 +- .../docs/provider/_index.md | 34 +- .../docs/tree/v1/nursery/_index.md | 70 +- .../docs/tree/v1/rubbertree/_index.md | 262 +-- .../different-enum/docs/provider/_index.md | 34 +- .../docs/tree/v1/nursery/_index.md | 70 +- .../docs/tree/v1/rubbertree/_index.md | 262 +-- .../docs/myModule/iamresource/_index.md | 46 +- .../enum-reference/docs/provider/_index.md | 34 +- .../external-enum/docs/component/_index.md | 82 +- .../external-enum/docs/provider/_index.md | 34 +- .../docs/argfunction/_index.md | 24 +- .../docs/cat/_index.md | 166 +- .../docs/component/_index.md | 190 +-- .../docs/provider/_index.md | 34 +- .../docs/workload/_index.md | 58 +- .../docs/funcwithsecrets/_index.md | 72 +- .../functions-secrets/docs/provider/_index.md | 34 +- .../hyphen-url/docs/provider/_index.md | 34 +- .../docs/registrygeoreplication/_index.md | 70 +- .../naming-collisions/docs/provider/_index.md | 34 +- .../naming-collisions/docs/resource/_index.md | 46 +- .../docs/resourceinput/_index.md | 46 +- .../deeply/nested/module/resource/_index.md | 46 +- .../docs/provider/_index.md | 34 +- .../docs/nested/module/resource/_index.md | 46 +- .../nested-module/docs/provider/_index.md | 34 +- .../other-owned/docs/argfunction/_index.md | 24 +- .../other-owned/docs/barresource/_index.md | 34 +- .../other-owned/docs/fooresource/_index.md | 34 +- .../other-owned/docs/otherresource/_index.md | 34 +- .../docs/overlayfunction/_index.md | 24 +- .../docs/overlayresource/_index.md | 94 +- .../other-owned/docs/provider/_index.md | 34 +- .../other-owned/docs/resource/_index.md | 46 +- .../other-owned/docs/typeuses/_index.md | 238 +-- .../docs/listconfigurations/_index.md | 1044 ++++++------ .../docs/listproductfamilies/_index.md | 1488 ++++++++--------- .../docs/provider/_index.md | 34 +- .../docs/getamiids/_index.md | 192 +-- .../docs/liststorageaccountkeys/_index.md | 108 +- .../docs/provider/_index.md | 34 +- .../docs/funcwithalloptionalinputs/_index.md | 36 +- .../docs/funcwithdefaultvalue/_index.md | 36 +- .../docs/funcwithdictparam/_index.md | 36 +- .../docs/funcwithemptyoutputs/_index.md | 12 +- .../docs/funcwithlistparam/_index.md | 36 +- .../docs/getbastionshareablelink/_index.md | 72 +- .../docs/getclientconfig/_index.md | 48 +- .../_index.md | 660 ++++---- .../docs/liststorageaccountkeys/_index.md | 108 +- .../output-funcs/docs/provider/_index.md | 34 +- .../docs/moduleresource/_index.md | 226 +-- .../plain-and-default/docs/provider/_index.md | 34 +- .../plain-object-defaults/docs/foo/_index.md | 334 ++-- .../docs/funcwithalloptionalinputs/_index.md | 84 +- .../docs/moduletest/_index.md | 190 +-- .../docs/provider/_index.md | 94 +- .../docs/foo/_index.md | 334 ++-- .../docs/funcwithalloptionalinputs/_index.md | 84 +- .../docs/moduletest/_index.md | 190 +-- .../docs/provider/_index.md | 94 +- .../docs/provider/_index.md | 34 +- .../docs/staticpage/_index.md | 94 +- .../docs/funcwithalloptionalinputs/_index.md | 36 +- .../docs/provider/_index.md | 58 +- .../docs/getcustomdbroles/_index.md | 24 +- .../regress-8403/docs/provider/_index.md | 34 +- .../docs/examplefunc/_index.md | 12 +- .../regress-node-8110/docs/provider/_index.md | 34 +- .../replace-on-change/docs/cat/_index.md | 166 +- .../replace-on-change/docs/dog/_index.md | 46 +- .../replace-on-change/docs/god/_index.md | 46 +- .../docs/norecursive/_index.md | 94 +- .../replace-on-change/docs/provider/_index.md | 34 +- .../replace-on-change/docs/toystore/_index.md | 226 +-- .../docs/person/_index.md | 82 +- .../docs/pet/_index.md | 46 +- .../docs/provider/_index.md | 34 +- .../docs/person/_index.md | 82 +- .../resource-args-python/docs/pet/_index.md | 46 +- .../docs/provider/_index.md | 34 +- .../docs/provider/_index.md | 34 +- .../docs/rec/_index.md | 46 +- .../testdata/secrets/docs/provider/_index.md | 34 +- .../testdata/secrets/docs/resource/_index.md | 142 +- .../docs/provider/_index.md | 34 +- .../docs/tree/v1/nursery/_index.md | 70 +- .../docs/tree/v1/rubbertree/_index.md | 262 +-- .../docs/foo/_index.md | 58 +- .../docs/provider/_index.md | 34 +- .../simple-methods-schema/docs/foo/_index.md | 262 +-- .../docs/provider/_index.md | 34 +- .../docs/component/_index.md | 238 +-- .../docs/provider/_index.md | 34 +- .../docs/component/_index.md | 250 +-- .../simple-plain-schema/docs/dofoo/_index.md | 96 +- .../docs/provider/_index.md | 34 +- .../docs/argfunction/_index.md | 24 +- .../docs/otherresource/_index.md | 34 +- .../docs/provider/_index.md | 34 +- .../docs/resource/_index.md | 46 +- .../docs/argfunction/_index.md | 24 +- .../docs/barresource/_index.md | 34 +- .../docs/fooresource/_index.md | 34 +- .../docs/otherresource/_index.md | 34 +- .../docs/overlayfunction/_index.md | 24 +- .../docs/overlayresource/_index.md | 94 +- .../docs/provider/_index.md | 34 +- .../docs/resource/_index.md | 58 +- .../docs/typeuses/_index.md | 238 +-- .../docs/argfunction/_index.md | 24 +- .../docs/otherresource/_index.md | 46 +- .../docs/provider/_index.md | 34 +- .../docs/resource/_index.md | 46 +- .../docs/typeuses/_index.md | 358 ++-- 122 files changed, 6299 insertions(+), 6299 deletions(-) diff --git a/pkg/codegen/docs/gen.go b/pkg/codegen/docs/gen.go index c57facc33793..dd8b1286958e 100644 --- a/pkg/codegen/docs/gen.go +++ b/pkg/codegen/docs/gen.go @@ -592,11 +592,11 @@ func (mod *modContext) typeString(t schema.Type, lang string, characteristics pr case *schema.ObjectType: tokenName := tokenToName(t.Token) // Links to anchor tags on the same page must be lower-cased. - href = "#" + strings.ToLower(tokenName) + "/" + href = "#" + strings.ToLower(tokenName) case *schema.EnumType: tokenName := tokenToName(t.Token) // Links to anchor tags on the same page must be lower-cased. - href = "#" + strings.ToLower(tokenName) + "/" + href = "#" + strings.ToLower(tokenName) case *schema.UnionType: var elements []string for _, e := range t.ElementTypes { @@ -701,7 +701,7 @@ func (mod *modContext) genConstructorTS(r *schema.Resource, argsOptional bool) [ OptionalFlag: argsFlag, Type: propertyType{ Name: argsType, - Link: "#inputs/", + Link: "#inputs", }, Comment: ctorArgsArgComment, }, @@ -749,7 +749,7 @@ func (mod *modContext) genConstructorGo(r *schema.Resource, argsOptional bool) [ OptionalFlag: argsFlag, Type: propertyType{ Name: argsType, - Link: "#inputs/", + Link: "#inputs", }, Comment: ctorArgsArgComment, }, @@ -797,7 +797,7 @@ func (mod *modContext) genConstructorCS(r *schema.Resource, argsOptional bool) [ DefaultValue: argsDefault, Type: propertyType{ Name: name + "Args", - Link: "#inputs/", + Link: "#inputs", }, Comment: ctorArgsArgComment, }, @@ -849,7 +849,7 @@ func (mod *modContext) genConstructorJava(r *schema.Resource, argsOverload bool) Name: "args", Type: propertyType{ Name: name + "Args", - Link: "#inputs/", + Link: "#inputs", }, Comment: ctorArgsArgComment, }, @@ -914,7 +914,7 @@ func (mod *modContext) genConstructorPython(r *schema.Resource, argsOptional, ar Type: propertyType{ Name: typeName, DescriptionName: descriptionName, - Link: "#inputs/", + Link: "#inputs", }, Comment: ctorArgsArgComment, }) @@ -1113,7 +1113,7 @@ func (mod *modContext) getPropertiesWithIDPrefixAndExclude(properties []*schema. // a) we will force the replace at the engine level // b) we are told that the provider will require a replace IsReplaceOnChanges: prop.ReplaceOnChanges || prop.WillReplaceOnChanges, - Link: "#" + propID + "/", + Link: "#" + propID, Types: propTypes, }) } @@ -1580,7 +1580,7 @@ func (mod *modContext) genResource(r *schema.Resource) resourceDocArgs { for i := 0; i < len(stateProps); i++ { id := "state_" + stateProps[i].ID stateProps[i].ID = id - stateProps[i].Link = "#" + id + "/" + stateProps[i].Link = "#" + id } stateInputs[lang] = stateProps } diff --git a/pkg/codegen/testing/test/testdata/azure-native-nested-types/docs/documentdb/sqlresourcesqlcontainer/_index.md b/pkg/codegen/testing/test/testdata/azure-native-nested-types/docs/documentdb/sqlresourcesqlcontainer/_index.md index cfe5e1063175..5b4423957cdc 100644 --- a/pkg/codegen/testing/test/testdata/azure-native-nested-types/docs/documentdb/sqlresourcesqlcontainer/_index.md +++ b/pkg/codegen/testing/test/testdata/azure-native-nested-types/docs/documentdb/sqlresourcesqlcontainer/_index.md @@ -355,7 +355,7 @@ Coming soon!
-
new SqlResourceSqlContainer(name: string, args?: SqlResourceSqlContainerArgs, opts?: CustomResourceOptions);
+
new SqlResourceSqlContainer(name: string, args?: SqlResourceSqlContainerArgs, opts?: CustomResourceOptions);
@@ -366,28 +366,28 @@ Coming soon! opts: Optional[ResourceOptions] = None) @overload def SqlResourceSqlContainer(resource_name: str, - args: Optional[SqlResourceSqlContainerArgs] = None, + args: Optional[SqlResourceSqlContainerArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewSqlResourceSqlContainer(ctx *Context, name string, args *SqlResourceSqlContainerArgs, opts ...ResourceOption) (*SqlResourceSqlContainer, error)
+
func NewSqlResourceSqlContainer(ctx *Context, name string, args *SqlResourceSqlContainerArgs, opts ...ResourceOption) (*SqlResourceSqlContainer, error)
-
public SqlResourceSqlContainer(string name, SqlResourceSqlContainerArgs? args = null, CustomResourceOptions? opts = null)
+
public SqlResourceSqlContainer(string name, SqlResourceSqlContainerArgs? args = null, CustomResourceOptions? opts = null)
-public SqlResourceSqlContainer(String name, SqlResourceSqlContainerArgs args)
-public SqlResourceSqlContainer(String name, SqlResourceSqlContainerArgs args, CustomResourceOptions options)
+public SqlResourceSqlContainer(String name, SqlResourceSqlContainerArgs args)
+public SqlResourceSqlContainer(String name, SqlResourceSqlContainerArgs args, CustomResourceOptions options)
 
@@ -415,7 +415,7 @@ Coming soon! class="property-optional" title="Optional"> args - SqlResourceSqlContainerArgs + SqlResourceSqlContainerArgs
The arguments to resource properties.
@@ -441,7 +441,7 @@ Coming soon! class="property-optional" title="Optional"> args - SqlResourceSqlContainerArgs + SqlResourceSqlContainerArgs
The arguments to resource properties.
@@ -473,7 +473,7 @@ Coming soon! class="property-optional" title="Optional"> args - SqlResourceSqlContainerArgs + SqlResourceSqlContainerArgs
The arguments to resource properties.
@@ -499,7 +499,7 @@ Coming soon! class="property-optional" title="Optional"> args - SqlResourceSqlContainerArgs + SqlResourceSqlContainerArgs
The arguments to resource properties.
@@ -525,7 +525,7 @@ Coming soon! class="property-required" title="Required"> args - SqlResourceSqlContainerArgs + SqlResourceSqlContainerArgs
The arguments to resource properties.
@@ -596,7 +596,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -605,10 +605,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Resource +Resource - Pulumi.AzureNative.DocumentDB.Outputs.SqlContainerGetPropertiesResponseResource + Pulumi.AzureNative.DocumentDB.Outputs.SqlContainerGetPropertiesResponseResource
@@ -619,7 +619,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -628,10 +628,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Resource +Resource - SqlContainerGetPropertiesResponseResource + SqlContainerGetPropertiesResponseResource
@@ -642,7 +642,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -651,10 +651,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-resource +resource - SqlContainerGetPropertiesResponseResource + SqlContainerGetPropertiesResponseResource
@@ -665,7 +665,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -674,10 +674,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-resource +resource - SqlContainerGetPropertiesResponseResource + SqlContainerGetPropertiesResponseResource
@@ -688,7 +688,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -697,10 +697,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-resource +resource - SqlContainerGetPropertiesResponseResource + SqlContainerGetPropertiesResponseResource
@@ -711,7 +711,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -720,10 +720,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-resource +resource - Property Map + Property Map
@@ -746,7 +746,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Order +Order string @@ -755,7 +755,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Path +Path string @@ -770,7 +770,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Order +Order string @@ -779,7 +779,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Path +Path string @@ -794,7 +794,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-order +order String @@ -803,7 +803,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-path +path String @@ -818,7 +818,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-order +order string @@ -827,7 +827,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-path +path string @@ -842,7 +842,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-order +order str @@ -851,7 +851,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-path +path str @@ -866,7 +866,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-order +order String @@ -875,7 +875,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-path +path String @@ -892,10 +892,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-CompositeIndexes +CompositeIndexes - List<ImmutableArray<Pulumi.AzureNative.DocumentDB.Inputs.CompositePathResponse>> + List<ImmutableArray<Pulumi.AzureNative.DocumentDB.Inputs.CompositePathResponse>>

List of composite path list

@@ -907,10 +907,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-CompositeIndexes +CompositeIndexes - [][]CompositePathResponse + [][]CompositePathResponse

List of composite path list

@@ -922,10 +922,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-compositeIndexes +compositeIndexes - List<List<CompositePathResponse>> + List<List<CompositePathResponse>>

List of composite path list

@@ -937,10 +937,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-compositeIndexes +compositeIndexes - CompositePathResponse[][] + CompositePathResponse[][]

List of composite path list

@@ -952,10 +952,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-composite_indexes +composite_indexes - Sequence[Sequence[CompositePathResponse]] + Sequence[Sequence[CompositePathResponse]]

List of composite path list

@@ -967,10 +967,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-compositeIndexes +compositeIndexes - List<List<Property Map>> + List<List<Property Map>>

List of composite path list

@@ -984,10 +984,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-IndexingPolicy +IndexingPolicy - Pulumi.AzureNative.DocumentDB.Inputs.IndexingPolicyResponse + Pulumi.AzureNative.DocumentDB.Inputs.IndexingPolicyResponse

The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container

@@ -999,10 +999,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-IndexingPolicy +IndexingPolicy - IndexingPolicyResponse + IndexingPolicyResponse

The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container

@@ -1014,10 +1014,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-indexingPolicy +indexingPolicy - IndexingPolicyResponse + IndexingPolicyResponse

The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container

@@ -1029,10 +1029,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-indexingPolicy +indexingPolicy - IndexingPolicyResponse + IndexingPolicyResponse

The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container

@@ -1044,10 +1044,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-indexing_policy +indexing_policy - IndexingPolicyResponse + IndexingPolicyResponse

The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container

@@ -1059,10 +1059,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-indexingPolicy +indexingPolicy - Property Map + Property Map

The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container

diff --git a/pkg/codegen/testing/test/testdata/azure-native-nested-types/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/azure-native-nested-types/docs/provider/_index.md index 66b69da401dc..5dae1bdc35ba 100644 --- a/pkg/codegen/testing/test/testdata/azure-native-nested-types/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/azure-native-nested-types/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -34,28 +34,28 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/cyclic-types/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/cyclic-types/docs/provider/_index.md index 432bfcd884b1..32b1ee1cb169 100644 --- a/pkg/codegen/testing/test/testdata/cyclic-types/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/cyclic-types/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -34,28 +34,28 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/dash-named-schema/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/dash-named-schema/docs/provider/_index.md index 2ebf21eb7292..26fdd75b0ac9 100644 --- a/pkg/codegen/testing/test/testdata/dash-named-schema/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/dash-named-schema/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -34,28 +34,28 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/dash-named-schema/docs/submodule1/fooencryptedbarclass/_index.md b/pkg/codegen/testing/test/testdata/dash-named-schema/docs/submodule1/fooencryptedbarclass/_index.md index b9403a32eed0..659bd566eb0f 100644 --- a/pkg/codegen/testing/test/testdata/dash-named-schema/docs/submodule1/fooencryptedbarclass/_index.md +++ b/pkg/codegen/testing/test/testdata/dash-named-schema/docs/submodule1/fooencryptedbarclass/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new FOOEncryptedBarClass(name: string, args?: FOOEncryptedBarClassArgs, opts?: CustomResourceOptions);
+
new FOOEncryptedBarClass(name: string, args?: FOOEncryptedBarClassArgs, opts?: CustomResourceOptions);
@@ -34,28 +34,28 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def FOOEncryptedBarClass(resource_name: str, - args: Optional[FOOEncryptedBarClassArgs] = None, + args: Optional[FOOEncryptedBarClassArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewFOOEncryptedBarClass(ctx *Context, name string, args *FOOEncryptedBarClassArgs, opts ...ResourceOption) (*FOOEncryptedBarClass, error)
+
func NewFOOEncryptedBarClass(ctx *Context, name string, args *FOOEncryptedBarClassArgs, opts ...ResourceOption) (*FOOEncryptedBarClass, error)
-
public FOOEncryptedBarClass(string name, FOOEncryptedBarClassArgs? args = null, CustomResourceOptions? opts = null)
+
public FOOEncryptedBarClass(string name, FOOEncryptedBarClassArgs? args = null, CustomResourceOptions? opts = null)
-public FOOEncryptedBarClass(String name, FOOEncryptedBarClassArgs args)
-public FOOEncryptedBarClass(String name, FOOEncryptedBarClassArgs args, CustomResourceOptions options)
+public FOOEncryptedBarClass(String name, FOOEncryptedBarClassArgs args)
+public FOOEncryptedBarClass(String name, FOOEncryptedBarClassArgs args, CustomResourceOptions options)
 
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - FOOEncryptedBarClassArgs + FOOEncryptedBarClassArgs
The arguments to resource properties.
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - FOOEncryptedBarClassArgs + FOOEncryptedBarClassArgs
The arguments to resource properties.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - FOOEncryptedBarClassArgs + FOOEncryptedBarClassArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - FOOEncryptedBarClassArgs + FOOEncryptedBarClassArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - FOOEncryptedBarClassArgs + FOOEncryptedBarClassArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/dash-named-schema/docs/submodule1/moduleresource/_index.md b/pkg/codegen/testing/test/testdata/dash-named-schema/docs/submodule1/moduleresource/_index.md index 23409790d888..f0ca8b294242 100644 --- a/pkg/codegen/testing/test/testdata/dash-named-schema/docs/submodule1/moduleresource/_index.md +++ b/pkg/codegen/testing/test/testdata/dash-named-schema/docs/submodule1/moduleresource/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new ModuleResource(name: string, args?: ModuleResourceArgs, opts?: CustomResourceOptions);
+
new ModuleResource(name: string, args?: ModuleResourceArgs, opts?: CustomResourceOptions);
@@ -35,28 +35,28 @@ no_edit_this_page: true thing: Optional[_root_inputs.TopLevelArgs] = None) @overload def ModuleResource(resource_name: str, - args: Optional[ModuleResourceArgs] = None, + args: Optional[ModuleResourceArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewModuleResource(ctx *Context, name string, args *ModuleResourceArgs, opts ...ResourceOption) (*ModuleResource, error)
+
func NewModuleResource(ctx *Context, name string, args *ModuleResourceArgs, opts ...ResourceOption) (*ModuleResource, error)
-
public ModuleResource(string name, ModuleResourceArgs? args = null, CustomResourceOptions? opts = null)
+
public ModuleResource(string name, ModuleResourceArgs? args = null, CustomResourceOptions? opts = null)
-public ModuleResource(String name, ModuleResourceArgs args)
-public ModuleResource(String name, ModuleResourceArgs args, CustomResourceOptions options)
+public ModuleResource(String name, ModuleResourceArgs args)
+public ModuleResource(String name, ModuleResourceArgs args, CustomResourceOptions options)
 
@@ -84,7 +84,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ModuleResourceArgs + ModuleResourceArgs
The arguments to resource properties.
@@ -110,7 +110,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ModuleResourceArgs + ModuleResourceArgs
The arguments to resource properties.
@@ -142,7 +142,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ModuleResourceArgs + ModuleResourceArgs
The arguments to resource properties.
@@ -168,7 +168,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ModuleResourceArgs + ModuleResourceArgs
The arguments to resource properties.
@@ -194,7 +194,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ModuleResourceArgs + ModuleResourceArgs
The arguments to resource properties.
@@ -222,10 +222,10 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-Thing +Thing - Pulumi.FooBar.Inputs.TopLevelArgs + Pulumi.FooBar.Inputs.TopLevelArgs
@@ -236,10 +236,10 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-Thing +Thing - TopLevelArgs + TopLevelArgs
@@ -250,10 +250,10 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-thing +thing - TopLevelArgs + TopLevelArgs
@@ -264,10 +264,10 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-thing +thing - TopLevelArgs + TopLevelArgs
@@ -278,10 +278,10 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-thing +thing - TopLevelArgs + TopLevelArgs
@@ -292,10 +292,10 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-thing +thing - Property Map + Property Map
@@ -313,7 +313,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -328,7 +328,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -343,7 +343,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -358,7 +358,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -373,7 +373,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -388,7 +388,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -415,7 +415,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Buzz +Buzz string @@ -429,7 +429,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Buzz +Buzz string @@ -443,7 +443,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-buzz +buzz String @@ -457,7 +457,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-buzz +buzz string @@ -471,7 +471,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-buzz +buzz str @@ -485,7 +485,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-buzz +buzz String diff --git a/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/provider/_index.md index 6c01bf3a697f..8fc0a9996f86 100644 --- a/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -34,28 +34,28 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/tree/v1/nursery/_index.md b/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/tree/v1/nursery/_index.md index c333b5bb1542..9fe48fcd6edc 100644 --- a/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/tree/v1/nursery/_index.md +++ b/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/tree/v1/nursery/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Nursery(name: string, args: NurseryArgs, opts?: CustomResourceOptions);
+
new Nursery(name: string, args: NurseryArgs, opts?: CustomResourceOptions);
@@ -36,28 +36,28 @@ no_edit_this_page: true varieties: Optional[Sequence[RubberTreeVariety]] = None) @overload def Nursery(resource_name: str, - args: NurseryArgs, + args: NurseryArgs, opts: Optional[ResourceOptions] = None)
-
func NewNursery(ctx *Context, name string, args NurseryArgs, opts ...ResourceOption) (*Nursery, error)
+
func NewNursery(ctx *Context, name string, args NurseryArgs, opts ...ResourceOption) (*Nursery, error)
-
public Nursery(string name, NurseryArgs args, CustomResourceOptions? opts = null)
+
public Nursery(string name, NurseryArgs args, CustomResourceOptions? opts = null)
-public Nursery(String name, NurseryArgs args)
-public Nursery(String name, NurseryArgs args, CustomResourceOptions options)
+public Nursery(String name, NurseryArgs args)
+public Nursery(String name, NurseryArgs args, CustomResourceOptions options)
 
@@ -85,7 +85,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - NurseryArgs + NurseryArgs
The arguments to resource properties.
@@ -111,7 +111,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - NurseryArgs + NurseryArgs
The arguments to resource properties.
@@ -143,7 +143,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - NurseryArgs + NurseryArgs
The arguments to resource properties.
@@ -169,7 +169,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - NurseryArgs + NurseryArgs
The arguments to resource properties.
@@ -195,7 +195,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - NurseryArgs + NurseryArgs
The arguments to resource properties.
@@ -223,16 +223,16 @@ The Nursery resource accepts the following [input](/docs/intro/concepts/inputs-o
-Varieties +Varieties - List<Pulumi.Plant.Tree.V1.RubberTreeVariety> + List<Pulumi.Plant.Tree.V1.RubberTreeVariety>

The varieties available

-Sizes +Sizes Dictionary<string, Pulumi.Plant.Tree.V1.TreeSize> @@ -247,16 +247,16 @@ The Nursery resource accepts the following [input](/docs/intro/concepts/inputs-o
-Varieties +Varieties - []RubberTreeVariety + []RubberTreeVariety

The varieties available

-Sizes +Sizes map[string]TreeSize @@ -271,16 +271,16 @@ The Nursery resource accepts the following [input](/docs/intro/concepts/inputs-o
-varieties +varieties - List<RubberTreeVariety> + List<RubberTreeVariety>

The varieties available

-sizes +sizes Map<String,TreeSize> @@ -295,16 +295,16 @@ The Nursery resource accepts the following [input](/docs/intro/concepts/inputs-o
-varieties +varieties - RubberTreeVariety[] + RubberTreeVariety[]

The varieties available

-sizes +sizes {[key: string]: TreeSize} @@ -319,16 +319,16 @@ The Nursery resource accepts the following [input](/docs/intro/concepts/inputs-o
-varieties +varieties - Sequence[RubberTreeVariety] + Sequence[RubberTreeVariety]

The varieties available

-sizes +sizes Mapping[str, TreeSize] @@ -343,16 +343,16 @@ The Nursery resource accepts the following [input](/docs/intro/concepts/inputs-o
-varieties +varieties - List<"Burgundy" | "Ruby" | "Tineke"> + List<"Burgundy" | "Ruby" | "Tineke">

The varieties available

-sizes +sizes Map<"small" | "medium" | "large"> @@ -374,7 +374,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -389,7 +389,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -404,7 +404,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -419,7 +419,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -434,7 +434,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -449,7 +449,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/tree/v1/rubbertree/_index.md b/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/tree/v1/rubbertree/_index.md index 049817ff0d47..40d394bf4a96 100644 --- a/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/tree/v1/rubbertree/_index.md +++ b/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/tree/v1/rubbertree/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new RubberTree(name: string, args: RubberTreeArgs, opts?: CustomResourceOptions);
+
new RubberTree(name: string, args: RubberTreeArgs, opts?: CustomResourceOptions);
@@ -39,28 +39,28 @@ no_edit_this_page: true type: Optional[RubberTreeVariety] = None) @overload def RubberTree(resource_name: str, - args: RubberTreeArgs, + args: RubberTreeArgs, opts: Optional[ResourceOptions] = None)
-
func NewRubberTree(ctx *Context, name string, args RubberTreeArgs, opts ...ResourceOption) (*RubberTree, error)
+
func NewRubberTree(ctx *Context, name string, args RubberTreeArgs, opts ...ResourceOption) (*RubberTree, error)
-
public RubberTree(string name, RubberTreeArgs args, CustomResourceOptions? opts = null)
+
public RubberTree(string name, RubberTreeArgs args, CustomResourceOptions? opts = null)
-public RubberTree(String name, RubberTreeArgs args)
-public RubberTree(String name, RubberTreeArgs args, CustomResourceOptions options)
+public RubberTree(String name, RubberTreeArgs args)
+public RubberTree(String name, RubberTreeArgs args, CustomResourceOptions options)
 
@@ -88,7 +88,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - RubberTreeArgs + RubberTreeArgs
The arguments to resource properties.
@@ -114,7 +114,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - RubberTreeArgs + RubberTreeArgs
The arguments to resource properties.
@@ -146,7 +146,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - RubberTreeArgs + RubberTreeArgs
The arguments to resource properties.
@@ -172,7 +172,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - RubberTreeArgs + RubberTreeArgs
The arguments to resource properties.
@@ -198,7 +198,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - RubberTreeArgs + RubberTreeArgs
The arguments to resource properties.
@@ -226,42 +226,42 @@ The RubberTree resource accepts the following [input](/docs/intro/concepts/input
-Diameter +Diameter - Pulumi.Plant.Tree.V1.Diameter + Pulumi.Plant.Tree.V1.Diameter
-Type +Type - Pulumi.Plant.Tree.V1.RubberTreeVariety + Pulumi.Plant.Tree.V1.RubberTreeVariety
-Container +Container - Pulumi.Plant.Inputs.ContainerArgs + Pulumi.Plant.Inputs.ContainerArgs
-Farm +Farm - Pulumi.Plant.Tree.V1.Farm | string + Pulumi.Plant.Tree.V1.Farm | string
-Size +Size - Pulumi.Plant.Tree.V1.TreeSize + Pulumi.Plant.Tree.V1.TreeSize
@@ -272,42 +272,42 @@ The RubberTree resource accepts the following [input](/docs/intro/concepts/input
-Diameter +Diameter - Diameter + Diameter
-Type +Type - RubberTreeVariety + RubberTreeVariety
-Container +Container - ContainerArgs + ContainerArgs
-Farm +Farm - Farm | string + Farm | string
-Size +Size - TreeSize + TreeSize
@@ -318,42 +318,42 @@ The RubberTree resource accepts the following [input](/docs/intro/concepts/input
-diameter +diameter - Diameter + Diameter
-type +type - RubberTreeVariety + RubberTreeVariety
-container +container - ContainerArgs + ContainerArgs
-farm +farm - Farm | String + Farm | String
-size +size - TreeSize + TreeSize
@@ -364,42 +364,42 @@ The RubberTree resource accepts the following [input](/docs/intro/concepts/input
-diameter +diameter - Diameter + Diameter
-type +type - RubberTreeVariety + RubberTreeVariety
-container +container - ContainerArgs + ContainerArgs
-farm +farm - Farm | string + Farm | string
-size +size - TreeSize + TreeSize
@@ -410,42 +410,42 @@ The RubberTree resource accepts the following [input](/docs/intro/concepts/input
-diameter +diameter - Diameter + Diameter
-type +type - RubberTreeVariety + RubberTreeVariety
-container +container - ContainerArgs + ContainerArgs
-farm +farm - Farm | str + Farm | str
-size +size - TreeSize + TreeSize
@@ -456,42 +456,42 @@ The RubberTree resource accepts the following [input](/docs/intro/concepts/input
-diameter +diameter - 6 | 12 + 6 | 12
-type +type - "Burgundy" | "Ruby" | "Tineke" + "Burgundy" | "Ruby" | "Tineke"
-container +container - Property Map + Property Map
-farm +farm - "Pulumi Planters Inc." | "Plants'R'Us" | String + "Pulumi Planters Inc." | "Plants'R'Us" | String
-size +size - "small" | "medium" | "large" + "small" | "medium" | "large"
@@ -509,7 +509,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -524,7 +524,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -539,7 +539,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -554,7 +554,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -569,7 +569,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -584,7 +584,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -786,10 +786,10 @@ The following state arguments are supported:
-Farm +Farm - Pulumi.Plant.Tree.V1.Farm | string + Pulumi.Plant.Tree.V1.Farm | string
@@ -800,10 +800,10 @@ The following state arguments are supported:
-Farm +Farm - Farm | string + Farm | string
@@ -814,10 +814,10 @@ The following state arguments are supported:
-farm +farm - Farm | String + Farm | String
@@ -828,10 +828,10 @@ The following state arguments are supported:
-farm +farm - Farm | string + Farm | string
@@ -842,10 +842,10 @@ The following state arguments are supported:
-farm +farm - Farm | str + Farm | str
@@ -856,10 +856,10 @@ The following state arguments are supported:
-farm +farm - "Pulumi Planters Inc." | "Plants'R'Us" | String + "Pulumi Planters Inc." | "Plants'R'Us" | String
@@ -883,31 +883,31 @@ The following state arguments are supported:
-Size +Size - Pulumi.Plant.ContainerSize + Pulumi.Plant.ContainerSize
-Brightness +Brightness - Pulumi.Plant.ContainerBrightness + Pulumi.Plant.ContainerBrightness
-Color +Color - Pulumi.Plant.ContainerColor | string + Pulumi.Plant.ContainerColor | string
-Material +Material string @@ -921,31 +921,31 @@ The following state arguments are supported:
-Size +Size - ContainerSize + ContainerSize
-Brightness +Brightness - ContainerBrightness + ContainerBrightness
-Color +Color - ContainerColor | string + ContainerColor | string
-Material +Material string @@ -959,31 +959,31 @@ The following state arguments are supported:
-size +size - ContainerSize + ContainerSize
-brightness +brightness - ContainerBrightness + ContainerBrightness
-color +color - ContainerColor | String + ContainerColor | String
-material +material String @@ -997,31 +997,31 @@ The following state arguments are supported:
-size +size - ContainerSize + ContainerSize
-brightness +brightness - ContainerBrightness + ContainerBrightness
-color +color - ContainerColor | string + ContainerColor | string
-material +material string @@ -1035,31 +1035,31 @@ The following state arguments are supported:
-size +size - ContainerSize + ContainerSize
-brightness +brightness - ContainerBrightness + ContainerBrightness
-color +color - ContainerColor | str + ContainerColor | str
-material +material str @@ -1073,31 +1073,31 @@ The following state arguments are supported:
-size +size - 4 | 6 | 8 + 4 | 6 | 8
-brightness +brightness - 0.1 | 1 + 0.1 | 1
-color +color - "red" | "blue" | "yellow" | String + "red" | "blue" | "yellow" | String
-material +material String diff --git a/pkg/codegen/testing/test/testdata/different-enum/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/different-enum/docs/provider/_index.md index 6c01bf3a697f..8fc0a9996f86 100644 --- a/pkg/codegen/testing/test/testdata/different-enum/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/different-enum/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -34,28 +34,28 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/different-enum/docs/tree/v1/nursery/_index.md b/pkg/codegen/testing/test/testdata/different-enum/docs/tree/v1/nursery/_index.md index c333b5bb1542..9fe48fcd6edc 100644 --- a/pkg/codegen/testing/test/testdata/different-enum/docs/tree/v1/nursery/_index.md +++ b/pkg/codegen/testing/test/testdata/different-enum/docs/tree/v1/nursery/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Nursery(name: string, args: NurseryArgs, opts?: CustomResourceOptions);
+
new Nursery(name: string, args: NurseryArgs, opts?: CustomResourceOptions);
@@ -36,28 +36,28 @@ no_edit_this_page: true varieties: Optional[Sequence[RubberTreeVariety]] = None) @overload def Nursery(resource_name: str, - args: NurseryArgs, + args: NurseryArgs, opts: Optional[ResourceOptions] = None)
-
func NewNursery(ctx *Context, name string, args NurseryArgs, opts ...ResourceOption) (*Nursery, error)
+
func NewNursery(ctx *Context, name string, args NurseryArgs, opts ...ResourceOption) (*Nursery, error)
-
public Nursery(string name, NurseryArgs args, CustomResourceOptions? opts = null)
+
public Nursery(string name, NurseryArgs args, CustomResourceOptions? opts = null)
-public Nursery(String name, NurseryArgs args)
-public Nursery(String name, NurseryArgs args, CustomResourceOptions options)
+public Nursery(String name, NurseryArgs args)
+public Nursery(String name, NurseryArgs args, CustomResourceOptions options)
 
@@ -85,7 +85,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - NurseryArgs + NurseryArgs
The arguments to resource properties.
@@ -111,7 +111,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - NurseryArgs + NurseryArgs
The arguments to resource properties.
@@ -143,7 +143,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - NurseryArgs + NurseryArgs
The arguments to resource properties.
@@ -169,7 +169,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - NurseryArgs + NurseryArgs
The arguments to resource properties.
@@ -195,7 +195,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - NurseryArgs + NurseryArgs
The arguments to resource properties.
@@ -223,16 +223,16 @@ The Nursery resource accepts the following [input](/docs/intro/concepts/inputs-o
-Varieties +Varieties - List<Pulumi.Plant.Tree.V1.RubberTreeVariety> + List<Pulumi.Plant.Tree.V1.RubberTreeVariety>

The varieties available

-Sizes +Sizes Dictionary<string, Pulumi.Plant.Tree.V1.TreeSize> @@ -247,16 +247,16 @@ The Nursery resource accepts the following [input](/docs/intro/concepts/inputs-o
-Varieties +Varieties - []RubberTreeVariety + []RubberTreeVariety

The varieties available

-Sizes +Sizes map[string]TreeSize @@ -271,16 +271,16 @@ The Nursery resource accepts the following [input](/docs/intro/concepts/inputs-o
-varieties +varieties - List<RubberTreeVariety> + List<RubberTreeVariety>

The varieties available

-sizes +sizes Map<String,TreeSize> @@ -295,16 +295,16 @@ The Nursery resource accepts the following [input](/docs/intro/concepts/inputs-o
-varieties +varieties - RubberTreeVariety[] + RubberTreeVariety[]

The varieties available

-sizes +sizes {[key: string]: TreeSize} @@ -319,16 +319,16 @@ The Nursery resource accepts the following [input](/docs/intro/concepts/inputs-o
-varieties +varieties - Sequence[RubberTreeVariety] + Sequence[RubberTreeVariety]

The varieties available

-sizes +sizes Mapping[str, TreeSize] @@ -343,16 +343,16 @@ The Nursery resource accepts the following [input](/docs/intro/concepts/inputs-o
-varieties +varieties - List<"Burgundy" | "Ruby" | "Tineke"> + List<"Burgundy" | "Ruby" | "Tineke">

The varieties available

-sizes +sizes Map<"small" | "medium" | "large"> @@ -374,7 +374,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -389,7 +389,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -404,7 +404,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -419,7 +419,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -434,7 +434,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -449,7 +449,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/different-enum/docs/tree/v1/rubbertree/_index.md b/pkg/codegen/testing/test/testdata/different-enum/docs/tree/v1/rubbertree/_index.md index dd17628110e6..1f356d210e98 100644 --- a/pkg/codegen/testing/test/testdata/different-enum/docs/tree/v1/rubbertree/_index.md +++ b/pkg/codegen/testing/test/testdata/different-enum/docs/tree/v1/rubbertree/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new RubberTree(name: string, args: RubberTreeArgs, opts?: CustomResourceOptions);
+
new RubberTree(name: string, args: RubberTreeArgs, opts?: CustomResourceOptions);
@@ -39,28 +39,28 @@ no_edit_this_page: true type: Optional[RubberTreeVariety] = None) @overload def RubberTree(resource_name: str, - args: RubberTreeArgs, + args: RubberTreeArgs, opts: Optional[ResourceOptions] = None)
-
func NewRubberTree(ctx *Context, name string, args RubberTreeArgs, opts ...ResourceOption) (*RubberTree, error)
+
func NewRubberTree(ctx *Context, name string, args RubberTreeArgs, opts ...ResourceOption) (*RubberTree, error)
-
public RubberTree(string name, RubberTreeArgs args, CustomResourceOptions? opts = null)
+
public RubberTree(string name, RubberTreeArgs args, CustomResourceOptions? opts = null)
-public RubberTree(String name, RubberTreeArgs args)
-public RubberTree(String name, RubberTreeArgs args, CustomResourceOptions options)
+public RubberTree(String name, RubberTreeArgs args)
+public RubberTree(String name, RubberTreeArgs args, CustomResourceOptions options)
 
@@ -88,7 +88,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - RubberTreeArgs + RubberTreeArgs
The arguments to resource properties.
@@ -114,7 +114,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - RubberTreeArgs + RubberTreeArgs
The arguments to resource properties.
@@ -146,7 +146,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - RubberTreeArgs + RubberTreeArgs
The arguments to resource properties.
@@ -172,7 +172,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - RubberTreeArgs + RubberTreeArgs
The arguments to resource properties.
@@ -198,7 +198,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - RubberTreeArgs + RubberTreeArgs
The arguments to resource properties.
@@ -226,42 +226,42 @@ The RubberTree resource accepts the following [input](/docs/intro/concepts/input
-Diameter +Diameter - Pulumi.Other.Tree.V1.Diameter + Pulumi.Other.Tree.V1.Diameter
-Type +Type - Pulumi.Plant.Tree.V1.RubberTreeVariety + Pulumi.Plant.Tree.V1.RubberTreeVariety
-Container +Container - Pulumi.Plant.Inputs.ContainerArgs + Pulumi.Plant.Inputs.ContainerArgs
-Farm +Farm - Pulumi.Plant.Tree.V1.Farm | string + Pulumi.Plant.Tree.V1.Farm | string
-Size +Size - Pulumi.Plant.Tree.V1.TreeSize + Pulumi.Plant.Tree.V1.TreeSize
@@ -272,42 +272,42 @@ The RubberTree resource accepts the following [input](/docs/intro/concepts/input
-Diameter +Diameter - Diameter + Diameter
-Type +Type - RubberTreeVariety + RubberTreeVariety
-Container +Container - ContainerArgs + ContainerArgs
-Farm +Farm - Farm | string + Farm | string
-Size +Size - TreeSize + TreeSize
@@ -318,42 +318,42 @@ The RubberTree resource accepts the following [input](/docs/intro/concepts/input
-diameter +diameter - Diameter + Diameter
-type +type - RubberTreeVariety + RubberTreeVariety
-container +container - ContainerArgs + ContainerArgs
-farm +farm - Farm | String + Farm | String
-size +size - TreeSize + TreeSize
@@ -364,42 +364,42 @@ The RubberTree resource accepts the following [input](/docs/intro/concepts/input
-diameter +diameter - Diameter + Diameter
-type +type - RubberTreeVariety + RubberTreeVariety
-container +container - ContainerArgs + ContainerArgs
-farm +farm - Farm | string + Farm | string
-size +size - TreeSize + TreeSize
@@ -410,42 +410,42 @@ The RubberTree resource accepts the following [input](/docs/intro/concepts/input
-diameter +diameter - Diameter + Diameter
-type +type - RubberTreeVariety + RubberTreeVariety
-container +container - ContainerArgs + ContainerArgs
-farm +farm - Farm | str + Farm | str
-size +size - TreeSize + TreeSize
@@ -456,42 +456,42 @@ The RubberTree resource accepts the following [input](/docs/intro/concepts/input
-diameter +diameter - 6 | 12 + 6 | 12
-type +type - "Burgundy" | "Ruby" | "Tineke" + "Burgundy" | "Ruby" | "Tineke"
-container +container - Property Map + Property Map
-farm +farm - "Pulumi Planters Inc." | "Plants'R'Us" | String + "Pulumi Planters Inc." | "Plants'R'Us" | String
-size +size - "small" | "medium" | "large" + "small" | "medium" | "large"
@@ -509,7 +509,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -524,7 +524,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -539,7 +539,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -554,7 +554,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -569,7 +569,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -584,7 +584,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -786,10 +786,10 @@ The following state arguments are supported:
-Farm +Farm - Pulumi.Plant.Tree.V1.Farm | string + Pulumi.Plant.Tree.V1.Farm | string
@@ -800,10 +800,10 @@ The following state arguments are supported:
-Farm +Farm - Farm | string + Farm | string
@@ -814,10 +814,10 @@ The following state arguments are supported:
-farm +farm - Farm | String + Farm | String
@@ -828,10 +828,10 @@ The following state arguments are supported:
-farm +farm - Farm | string + Farm | string
@@ -842,10 +842,10 @@ The following state arguments are supported:
-farm +farm - Farm | str + Farm | str
@@ -856,10 +856,10 @@ The following state arguments are supported:
-farm +farm - "Pulumi Planters Inc." | "Plants'R'Us" | String + "Pulumi Planters Inc." | "Plants'R'Us" | String
@@ -883,31 +883,31 @@ The following state arguments are supported:
-Size +Size - Pulumi.Plant.ContainerSize + Pulumi.Plant.ContainerSize
-Brightness +Brightness - Pulumi.Plant.ContainerBrightness + Pulumi.Plant.ContainerBrightness
-Color +Color - Pulumi.Plant.ContainerColor | string + Pulumi.Plant.ContainerColor | string
-Material +Material string @@ -921,31 +921,31 @@ The following state arguments are supported:
-Size +Size - ContainerSize + ContainerSize
-Brightness +Brightness - ContainerBrightness + ContainerBrightness
-Color +Color - ContainerColor | string + ContainerColor | string
-Material +Material string @@ -959,31 +959,31 @@ The following state arguments are supported:
-size +size - ContainerSize + ContainerSize
-brightness +brightness - ContainerBrightness + ContainerBrightness
-color +color - ContainerColor | String + ContainerColor | String
-material +material String @@ -997,31 +997,31 @@ The following state arguments are supported:
-size +size - ContainerSize + ContainerSize
-brightness +brightness - ContainerBrightness + ContainerBrightness
-color +color - ContainerColor | string + ContainerColor | string
-material +material string @@ -1035,31 +1035,31 @@ The following state arguments are supported:
-size +size - ContainerSize + ContainerSize
-brightness +brightness - ContainerBrightness + ContainerBrightness
-color +color - ContainerColor | str + ContainerColor | str
-material +material str @@ -1073,31 +1073,31 @@ The following state arguments are supported:
-size +size - 4 | 6 | 8 + 4 | 6 | 8
-brightness +brightness - 0.1 | 1 + 0.1 | 1
-color +color - "red" | "blue" | "yellow" | String + "red" | "blue" | "yellow" | String
-material +material String 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 98c424d7f9b9..2f1406921aea 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 @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new IamResource(name: string, args?: IamResourceArgs, opts?: CustomResourceOptions);
+
new IamResource(name: string, args?: IamResourceArgs, opts?: CustomResourceOptions);
@@ -35,28 +35,28 @@ no_edit_this_page: true config: Optional[pulumi_google_native.iam.v1.AuditConfigArgs] = None) @overload def IamResource(resource_name: str, - args: Optional[IamResourceArgs] = None, + args: Optional[IamResourceArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewIamResource(ctx *Context, name string, args *IamResourceArgs, opts ...ResourceOption) (*IamResource, error)
+
func NewIamResource(ctx *Context, name string, args *IamResourceArgs, opts ...ResourceOption) (*IamResource, error)
-
public IamResource(string name, IamResourceArgs? args = null, CustomResourceOptions? opts = null)
+
public IamResource(string name, IamResourceArgs? args = null, CustomResourceOptions? opts = null)
-public IamResource(String name, IamResourceArgs args)
-public IamResource(String name, IamResourceArgs args, CustomResourceOptions options)
+public IamResource(String name, IamResourceArgs args)
+public IamResource(String name, IamResourceArgs args, CustomResourceOptions options)
 
@@ -84,7 +84,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - IamResourceArgs + IamResourceArgs
The arguments to resource properties.
@@ -110,7 +110,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - IamResourceArgs + IamResourceArgs
The arguments to resource properties.
@@ -142,7 +142,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - IamResourceArgs + IamResourceArgs
The arguments to resource properties.
@@ -168,7 +168,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - IamResourceArgs + IamResourceArgs
The arguments to resource properties.
@@ -194,7 +194,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - IamResourceArgs + IamResourceArgs
The arguments to resource properties.
@@ -222,10 +222,10 @@ The IamResource resource accepts the following [input](/docs/intro/concepts/inpu
-Config +Config - Pulumi.GoogleNative.IAM.V1.Inputs.AuditConfigArgs + Pulumi.GoogleNative.IAM.V1.Inputs.AuditConfigArgs
@@ -236,10 +236,10 @@ The IamResource resource accepts the following [input](/docs/intro/concepts/inpu
-Config +Config - AuditConfigArgs + AuditConfigArgs
@@ -250,10 +250,10 @@ The IamResource resource accepts the following [input](/docs/intro/concepts/inpu
-config +config - AuditConfigArgs + AuditConfigArgs
@@ -264,10 +264,10 @@ The IamResource resource accepts the following [input](/docs/intro/concepts/inpu
-config +config - pulumiGoogleNative.types.input.iam.v1.AuditConfigArgs + pulumiGoogleNative.types.input.iam.v1.AuditConfigArgs
@@ -278,10 +278,10 @@ The IamResource resource accepts the following [input](/docs/intro/concepts/inpu
-config +config - AuditConfigArgs + AuditConfigArgs
@@ -292,10 +292,10 @@ The IamResource resource accepts the following [input](/docs/intro/concepts/inpu
-config +config - Property Map + Property Map
diff --git a/pkg/codegen/testing/test/testdata/enum-reference/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/enum-reference/docs/provider/_index.md index 432bfcd884b1..32b1ee1cb169 100644 --- a/pkg/codegen/testing/test/testdata/enum-reference/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/enum-reference/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -34,28 +34,28 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/external-enum/docs/component/_index.md b/pkg/codegen/testing/test/testdata/external-enum/docs/component/_index.md index a1795005d045..142b4a63329f 100644 --- a/pkg/codegen/testing/test/testdata/external-enum/docs/component/_index.md +++ b/pkg/codegen/testing/test/testdata/external-enum/docs/component/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Component(name: string, args?: ComponentArgs, opts?: CustomResourceOptions);
+
new Component(name: string, args?: ComponentArgs, opts?: CustomResourceOptions);
@@ -36,28 +36,28 @@ no_edit_this_page: true remote_enum: Optional[_accesscontextmanager.v1.DevicePolicyAllowedDeviceManagementLevelsItem] = None) @overload def Component(resource_name: str, - args: Optional[ComponentArgs] = None, + args: Optional[ComponentArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewComponent(ctx *Context, name string, args *ComponentArgs, opts ...ResourceOption) (*Component, error)
+
func NewComponent(ctx *Context, name string, args *ComponentArgs, opts ...ResourceOption) (*Component, error)
-
public Component(string name, ComponentArgs? args = null, CustomResourceOptions? opts = null)
+
public Component(string name, ComponentArgs? args = null, CustomResourceOptions? opts = null)
-public Component(String name, ComponentArgs args)
-public Component(String name, ComponentArgs args, CustomResourceOptions options)
+public Component(String name, ComponentArgs args)
+public Component(String name, ComponentArgs args, CustomResourceOptions options)
 
@@ -85,7 +85,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ComponentArgs + ComponentArgs
The arguments to resource properties.
@@ -111,7 +111,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ComponentArgs + ComponentArgs
The arguments to resource properties.
@@ -143,7 +143,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ComponentArgs + ComponentArgs
The arguments to resource properties.
@@ -169,7 +169,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ComponentArgs + ComponentArgs
The arguments to resource properties.
@@ -195,7 +195,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ComponentArgs + ComponentArgs
The arguments to resource properties.
@@ -223,18 +223,18 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-LocalEnum +LocalEnum - Pulumi.Example.Local.MyEnum + Pulumi.Example.Local.MyEnum
-RemoteEnum +RemoteEnum - Pulumi.GoogleNative.Accesscontextmanager/v1.DevicePolicyAllowedDeviceManagementLevelsItem + Pulumi.GoogleNative.Accesscontextmanager/v1.DevicePolicyAllowedDeviceManagementLevelsItem
@@ -245,18 +245,18 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-LocalEnum +LocalEnum - MyEnum + MyEnum
-RemoteEnum +RemoteEnum - DevicePolicyAllowedDeviceManagementLevelsItem + DevicePolicyAllowedDeviceManagementLevelsItem
@@ -267,18 +267,18 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-localEnum +localEnum - MyEnum + MyEnum
-remoteEnum +remoteEnum - DevicePolicyAllowedDeviceManagementLevelsItem + DevicePolicyAllowedDeviceManagementLevelsItem
@@ -289,18 +289,18 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-localEnum +localEnum - localMyEnum + localMyEnum
-remoteEnum +remoteEnum - pulumiGoogleNativeaccesscontextmanagerv1DevicePolicyAllowedDeviceManagementLevelsItem + pulumiGoogleNativeaccesscontextmanagerv1DevicePolicyAllowedDeviceManagementLevelsItem
@@ -311,18 +311,18 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-local_enum +local_enum - MyEnum + MyEnum
-remote_enum +remote_enum - DevicePolicyAllowedDeviceManagementLevelsItem + DevicePolicyAllowedDeviceManagementLevelsItem
@@ -333,18 +333,18 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-localEnum +localEnum - 3.1415 | 1e-07 + 3.1415 | 1e-07
-remoteEnum +remoteEnum - "MANAGEMENT_UNSPECIFIED" | "NONE" | "BASIC" | "COMPLETE" + "MANAGEMENT_UNSPECIFIED" | "NONE" | "BASIC" | "COMPLETE"
@@ -362,7 +362,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -377,7 +377,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -392,7 +392,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -407,7 +407,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -422,7 +422,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -437,7 +437,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/external-enum/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/external-enum/docs/provider/_index.md index 432bfcd884b1..32b1ee1cb169 100644 --- a/pkg/codegen/testing/test/testdata/external-enum/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/external-enum/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -34,28 +34,28 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/external-resource-schema/docs/argfunction/_index.md b/pkg/codegen/testing/test/testdata/external-resource-schema/docs/argfunction/_index.md index b0ead2684f36..fb328a1e1769 100644 --- a/pkg/codegen/testing/test/testdata/external-resource-schema/docs/argfunction/_index.md +++ b/pkg/codegen/testing/test/testdata/external-resource-schema/docs/argfunction/_index.md @@ -105,7 +105,7 @@ The following arguments are supported:
-Name +Name Pulumi.Random.RandomPet @@ -119,7 +119,7 @@ The following arguments are supported:
-Name +Name RandomPet @@ -133,7 +133,7 @@ The following arguments are supported:
-name +name RandomPet @@ -147,7 +147,7 @@ The following arguments are supported:
-name +name pulumiRandomRandomPet @@ -161,7 +161,7 @@ The following arguments are supported:
-name +name RandomPet @@ -175,7 +175,7 @@ The following arguments are supported:
-name +name random:RandomPet @@ -198,7 +198,7 @@ The following output properties are available:
-Age +Age int @@ -212,7 +212,7 @@ The following output properties are available:
-Age +Age int @@ -226,7 +226,7 @@ The following output properties are available:
-age +age Integer @@ -240,7 +240,7 @@ The following output properties are available:
-age +age number @@ -254,7 +254,7 @@ The following output properties are available:
-age +age int @@ -268,7 +268,7 @@ The following output properties are available:
-age +age Number diff --git a/pkg/codegen/testing/test/testdata/external-resource-schema/docs/cat/_index.md b/pkg/codegen/testing/test/testdata/external-resource-schema/docs/cat/_index.md index a1846be143de..9d934bdc6488 100644 --- a/pkg/codegen/testing/test/testdata/external-resource-schema/docs/cat/_index.md +++ b/pkg/codegen/testing/test/testdata/external-resource-schema/docs/cat/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Cat(name: string, args?: CatArgs, opts?: CustomResourceOptions);
+
new Cat(name: string, args?: CatArgs, opts?: CustomResourceOptions);
@@ -36,28 +36,28 @@ no_edit_this_page: true pet: Optional[PetArgs] = None) @overload def Cat(resource_name: str, - args: Optional[CatArgs] = None, + args: Optional[CatArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewCat(ctx *Context, name string, args *CatArgs, opts ...ResourceOption) (*Cat, error)
+
func NewCat(ctx *Context, name string, args *CatArgs, opts ...ResourceOption) (*Cat, error)
-
public Cat(string name, CatArgs? args = null, CustomResourceOptions? opts = null)
+
public Cat(string name, CatArgs? args = null, CustomResourceOptions? opts = null)
-public Cat(String name, CatArgs args)
-public Cat(String name, CatArgs args, CustomResourceOptions options)
+public Cat(String name, CatArgs args)
+public Cat(String name, CatArgs args, CustomResourceOptions options)
 
@@ -85,7 +85,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - CatArgs + CatArgs
The arguments to resource properties.
@@ -111,7 +111,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - CatArgs + CatArgs
The arguments to resource properties.
@@ -143,7 +143,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - CatArgs + CatArgs
The arguments to resource properties.
@@ -169,7 +169,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - CatArgs + CatArgs
The arguments to resource properties.
@@ -195,7 +195,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - CatArgs + CatArgs
The arguments to resource properties.
@@ -223,7 +223,7 @@ The Cat resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-Age +Age int @@ -231,10 +231,10 @@ The Cat resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-Pet +Pet - PetArgs + PetArgs
@@ -245,7 +245,7 @@ The Cat resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-Age +Age int @@ -253,10 +253,10 @@ The Cat resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-Pet +Pet - PetArgs + PetArgs
@@ -267,7 +267,7 @@ The Cat resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-age +age Integer @@ -275,10 +275,10 @@ The Cat resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-pet +pet - PetArgs + PetArgs
@@ -289,7 +289,7 @@ The Cat resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-age +age number @@ -297,10 +297,10 @@ The Cat resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-pet +pet - PetArgs + PetArgs
@@ -311,7 +311,7 @@ The Cat resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-age +age int @@ -319,10 +319,10 @@ The Cat resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-pet +pet - PetArgs + PetArgs
@@ -333,7 +333,7 @@ The Cat resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-age +age Number @@ -341,10 +341,10 @@ The Cat resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-pet +pet - Property Map + Property Map
@@ -362,7 +362,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -371,7 +371,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Name +Name string @@ -385,7 +385,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -394,7 +394,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Name +Name string @@ -408,7 +408,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -417,7 +417,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-name +name String @@ -431,7 +431,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -440,7 +440,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-name +name string @@ -454,7 +454,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -463,7 +463,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-name +name str @@ -477,7 +477,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -486,7 +486,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-name +name String @@ -512,7 +512,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-RequiredName +RequiredName Pulumi.Random.RandomPet @@ -520,7 +520,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-RequiredNameArray +RequiredNameArray List<Pulumi.Random.RandomPet> @@ -528,7 +528,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-RequiredNameMap +RequiredNameMap Dictionary<string, Pulumi.Random.RandomPet> @@ -536,7 +536,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Age +Age int @@ -544,7 +544,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Name +Name Pulumi.Random.RandomPet @@ -552,7 +552,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-NameArray +NameArray List<Pulumi.Random.RandomPet> @@ -560,7 +560,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-NameMap +NameMap Dictionary<string, Pulumi.Random.RandomPet> @@ -574,7 +574,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-RequiredName +RequiredName RandomPet @@ -582,7 +582,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-RequiredNameArray +RequiredNameArray RandomPet @@ -590,7 +590,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-RequiredNameMap +RequiredNameMap RandomPet @@ -598,7 +598,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Age +Age int @@ -606,7 +606,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Name +Name RandomPet @@ -614,7 +614,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-NameArray +NameArray RandomPet @@ -622,7 +622,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-NameMap +NameMap RandomPet @@ -636,7 +636,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-requiredName +requiredName RandomPet @@ -644,7 +644,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-requiredNameArray +requiredNameArray List<RandomPet> @@ -652,7 +652,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-requiredNameMap +requiredNameMap Map<String,RandomPet> @@ -660,7 +660,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-age +age Integer @@ -668,7 +668,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-name +name RandomPet @@ -676,7 +676,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-nameArray +nameArray List<RandomPet> @@ -684,7 +684,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-nameMap +nameMap Map<String,RandomPet> @@ -698,7 +698,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-requiredName +requiredName pulumiRandomRandomPet @@ -706,7 +706,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-requiredNameArray +requiredNameArray pulumiRandomRandomPet[] @@ -714,7 +714,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-requiredNameMap +requiredNameMap {[key: string]: pulumiRandomRandomPet} @@ -722,7 +722,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-age +age number @@ -730,7 +730,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-name +name pulumiRandomRandomPet @@ -738,7 +738,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-nameArray +nameArray pulumiRandomRandomPet[] @@ -746,7 +746,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-nameMap +nameMap {[key: string]: pulumiRandomRandomPet} @@ -760,7 +760,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-required_name +required_name RandomPet @@ -768,7 +768,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-required_name_array +required_name_array RandomPet] @@ -776,7 +776,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-required_name_map +required_name_map RandomPet] @@ -784,7 +784,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-age +age int @@ -792,7 +792,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-name +name RandomPet @@ -800,7 +800,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-name_array +name_array RandomPet] @@ -808,7 +808,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-name_map +name_map RandomPet] @@ -822,7 +822,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-requiredName +requiredName random:RandomPet @@ -830,7 +830,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-requiredNameArray +requiredNameArray List<random:RandomPet> @@ -838,7 +838,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-requiredNameMap +requiredNameMap Map<random:RandomPet> @@ -846,7 +846,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-age +age Number @@ -854,7 +854,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-name +name random:RandomPet @@ -862,7 +862,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-nameArray +nameArray List<random:RandomPet> @@ -870,7 +870,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-nameMap +nameMap Map<random:RandomPet> diff --git a/pkg/codegen/testing/test/testdata/external-resource-schema/docs/component/_index.md b/pkg/codegen/testing/test/testdata/external-resource-schema/docs/component/_index.md index 61e7b349d326..86b3bfd5cb21 100644 --- a/pkg/codegen/testing/test/testdata/external-resource-schema/docs/component/_index.md +++ b/pkg/codegen/testing/test/testdata/external-resource-schema/docs/component/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Component(name: string, args: ComponentArgs, opts?: CustomResourceOptions);
+
new Component(name: string, args: ComponentArgs, opts?: CustomResourceOptions);
@@ -40,28 +40,28 @@ no_edit_this_page: true required_metadata_map: Optional[Mapping[str, pulumi_kubernetes.meta.v1.ObjectMetaArgs]] = None) @overload def Component(resource_name: str, - args: ComponentArgs, + args: ComponentArgs, opts: Optional[ResourceOptions] = None)
-
func NewComponent(ctx *Context, name string, args ComponentArgs, opts ...ResourceOption) (*Component, error)
+
func NewComponent(ctx *Context, name string, args ComponentArgs, opts ...ResourceOption) (*Component, error)
-
public Component(string name, ComponentArgs args, CustomResourceOptions? opts = null)
+
public Component(string name, ComponentArgs args, CustomResourceOptions? opts = null)
-public Component(String name, ComponentArgs args)
-public Component(String name, ComponentArgs args, CustomResourceOptions options)
+public Component(String name, ComponentArgs args)
+public Component(String name, ComponentArgs args, CustomResourceOptions options)
 
@@ -89,7 +89,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ComponentArgs + ComponentArgs
The arguments to resource properties.
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ComponentArgs + ComponentArgs
The arguments to resource properties.
@@ -147,7 +147,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ComponentArgs + ComponentArgs
The arguments to resource properties.
@@ -173,7 +173,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ComponentArgs + ComponentArgs
The arguments to resource properties.
@@ -199,7 +199,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ComponentArgs + ComponentArgs
The arguments to resource properties.
@@ -227,23 +227,23 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-RequiredMetadata +RequiredMetadata - Pulumi.Kubernetes.Types.Inputs.Meta.V1.ObjectMetaArgs + Pulumi.Kubernetes.Types.Inputs.Meta.V1.ObjectMetaArgs
-RequiredMetadataArray +RequiredMetadataArray - List<Pulumi.Kubernetes.Types.Inputs.Meta.V1.ObjectMetaArgs> + List<Pulumi.Kubernetes.Types.Inputs.Meta.V1.ObjectMetaArgs>
-RequiredMetadataMap +RequiredMetadataMap Dictionary<string, Pulumi.Kubernetes.Types.Inputs.Meta.V1.ObjectMetaArgs> @@ -251,23 +251,23 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-Metadata +Metadata - Pulumi.Kubernetes.Types.Inputs.Meta.V1.ObjectMetaArgs + Pulumi.Kubernetes.Types.Inputs.Meta.V1.ObjectMetaArgs
-MetadataArray +MetadataArray - List<Pulumi.Kubernetes.Types.Inputs.Meta.V1.ObjectMetaArgs> + List<Pulumi.Kubernetes.Types.Inputs.Meta.V1.ObjectMetaArgs>
-MetadataMap +MetadataMap Dictionary<string, Pulumi.Kubernetes.Types.Inputs.Meta.V1.ObjectMetaArgs> @@ -281,23 +281,23 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-RequiredMetadata +RequiredMetadata - ObjectMetaArgs + ObjectMetaArgs
-RequiredMetadataArray +RequiredMetadataArray - ObjectMetaArgs + ObjectMetaArgs
-RequiredMetadataMap +RequiredMetadataMap ObjectMetaArgs @@ -305,23 +305,23 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-Metadata +Metadata - ObjectMetaArgs + ObjectMetaArgs
-MetadataArray +MetadataArray - ObjectMetaArgs + ObjectMetaArgs
-MetadataMap +MetadataMap ObjectMetaArgs @@ -335,23 +335,23 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-requiredMetadata +requiredMetadata - ObjectMetaArgs + ObjectMetaArgs
-requiredMetadataArray +requiredMetadataArray - List<ObjectMetaArgs> + List<ObjectMetaArgs>
-requiredMetadataMap +requiredMetadataMap Map<String,ObjectMetaArgs> @@ -359,23 +359,23 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-metadata +metadata - ObjectMetaArgs + ObjectMetaArgs
-metadataArray +metadataArray - List<ObjectMetaArgs> + List<ObjectMetaArgs>
-metadataMap +metadataMap Map<String,ObjectMetaArgs> @@ -389,23 +389,23 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-requiredMetadata +requiredMetadata - pulumiKubernetestypesinputmetav1ObjectMeta + pulumiKubernetestypesinputmetav1ObjectMeta
-requiredMetadataArray +requiredMetadataArray - pulumiKubernetestypesinputmetav1ObjectMeta[] + pulumiKubernetestypesinputmetav1ObjectMeta[]
-requiredMetadataMap +requiredMetadataMap {[key: string]: pulumiKubernetestypesinputmetav1ObjectMeta} @@ -413,23 +413,23 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-metadata +metadata - pulumiKubernetestypesinputmetav1ObjectMeta + pulumiKubernetestypesinputmetav1ObjectMeta
-metadataArray +metadataArray - pulumiKubernetestypesinputmetav1ObjectMeta[] + pulumiKubernetestypesinputmetav1ObjectMeta[]
-metadataMap +metadataMap {[key: string]: pulumiKubernetestypesinputmetav1ObjectMeta} @@ -443,23 +443,23 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-required_metadata +required_metadata - ObjectMetaArgs + ObjectMetaArgs
-required_metadata_array +required_metadata_array - ObjectMetaArgs] + ObjectMetaArgs]
-required_metadata_map +required_metadata_map ObjectMetaArgs] @@ -467,23 +467,23 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-metadata +metadata - ObjectMetaArgs + ObjectMetaArgs
-metadata_array +metadata_array - ObjectMetaArgs] + ObjectMetaArgs]
-metadata_map +metadata_map ObjectMetaArgs] @@ -497,23 +497,23 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-requiredMetadata +requiredMetadata - Property Map + Property Map
-requiredMetadataArray +requiredMetadataArray - List<Property Map> + List<Property Map>
-requiredMetadataMap +requiredMetadataMap Map<Property Map> @@ -521,23 +521,23 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-metadata +metadata - Property Map + Property Map
-metadataArray +metadataArray - List<Property Map> + List<Property Map>
-metadataMap +metadataMap Map<Property Map> @@ -558,7 +558,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -567,7 +567,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-SecurityGroup +SecurityGroup Pulumi.Aws.Ec2.SecurityGroup @@ -575,7 +575,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Provider +Provider Pulumi.Kubernetes.Provider @@ -583,7 +583,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-StorageClasses +StorageClasses Dictionary<string, Pulumi.Kubernetes.Storage.V1.StorageClass> @@ -597,7 +597,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -606,7 +606,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-SecurityGroup +SecurityGroup SecurityGroup @@ -614,7 +614,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Provider +Provider Provider @@ -622,7 +622,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-StorageClasses +StorageClasses StorageClass @@ -636,7 +636,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -645,7 +645,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-securityGroup +securityGroup SecurityGroup @@ -653,7 +653,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-provider +provider Provider @@ -661,7 +661,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-storageClasses +storageClasses Map<String,StorageClass> @@ -675,7 +675,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -684,7 +684,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-securityGroup +securityGroup pulumiAwsec2SecurityGroup @@ -692,7 +692,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-provider +provider pulumiKubernetesProvider @@ -700,7 +700,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-storageClasses +storageClasses {[key: string]: pulumiKubernetesstoragev1StorageClass} @@ -714,7 +714,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -723,7 +723,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-security_group +security_group SecurityGroup @@ -731,7 +731,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-provider +provider Provider @@ -739,7 +739,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-storage_classes +storage_classes StorageClass] @@ -753,7 +753,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -762,7 +762,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-securityGroup +securityGroup aws:ec2:SecurityGroup @@ -770,7 +770,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-provider +provider pulumi:providers:kubernetes @@ -778,7 +778,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-storageClasses +storageClasses Map<kubernetes:storage.k8s.io/v1:StorageClass> diff --git a/pkg/codegen/testing/test/testdata/external-resource-schema/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/external-resource-schema/docs/provider/_index.md index 432bfcd884b1..32b1ee1cb169 100644 --- a/pkg/codegen/testing/test/testdata/external-resource-schema/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/external-resource-schema/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -34,28 +34,28 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/external-resource-schema/docs/workload/_index.md b/pkg/codegen/testing/test/testdata/external-resource-schema/docs/workload/_index.md index 9ac7e1a6846d..b874e1a8e75f 100644 --- a/pkg/codegen/testing/test/testdata/external-resource-schema/docs/workload/_index.md +++ b/pkg/codegen/testing/test/testdata/external-resource-schema/docs/workload/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Workload(name: string, args?: WorkloadArgs, opts?: CustomResourceOptions);
+
new Workload(name: string, args?: WorkloadArgs, opts?: CustomResourceOptions);
@@ -34,28 +34,28 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Workload(resource_name: str, - args: Optional[WorkloadArgs] = None, + args: Optional[WorkloadArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewWorkload(ctx *Context, name string, args *WorkloadArgs, opts ...ResourceOption) (*Workload, error)
+
func NewWorkload(ctx *Context, name string, args *WorkloadArgs, opts ...ResourceOption) (*Workload, error)
-
public Workload(string name, WorkloadArgs? args = null, CustomResourceOptions? opts = null)
+
public Workload(string name, WorkloadArgs? args = null, CustomResourceOptions? opts = null)
-public Workload(String name, WorkloadArgs args)
-public Workload(String name, WorkloadArgs args, CustomResourceOptions options)
+public Workload(String name, WorkloadArgs args)
+public Workload(String name, WorkloadArgs args, CustomResourceOptions options)
 
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - WorkloadArgs + WorkloadArgs
The arguments to resource properties.
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - WorkloadArgs + WorkloadArgs
The arguments to resource properties.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - WorkloadArgs + WorkloadArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - WorkloadArgs + WorkloadArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - WorkloadArgs + WorkloadArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -273,10 +273,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Pod +Pod - Pulumi.Kubernetes.Types.Outputs.Core.V1.Pod + Pulumi.Kubernetes.Types.Outputs.Core.V1.Pod
@@ -287,7 +287,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -296,10 +296,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Pod +Pod - PodType + PodType
@@ -310,7 +310,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -319,10 +319,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-pod +pod - Pod + Pod
@@ -333,7 +333,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -342,10 +342,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-pod +pod - pulumiKubernetestypesoutputcorev1Pod + pulumiKubernetestypesoutputcorev1Pod
@@ -356,7 +356,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -365,10 +365,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-pod +pod - Pod + Pod
@@ -379,7 +379,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -388,10 +388,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-pod +pod - Property Map + Property Map
diff --git a/pkg/codegen/testing/test/testdata/functions-secrets/docs/funcwithsecrets/_index.md b/pkg/codegen/testing/test/testdata/functions-secrets/docs/funcwithsecrets/_index.md index a6059bd8c1a3..2e7e435e799d 100644 --- a/pkg/codegen/testing/test/testdata/functions-secrets/docs/funcwithsecrets/_index.md +++ b/pkg/codegen/testing/test/testdata/functions-secrets/docs/funcwithsecrets/_index.md @@ -107,7 +107,7 @@ The following arguments are supported:
-CryptoKey +CryptoKey string @@ -115,7 +115,7 @@ The following arguments are supported:
-Plaintext +Plaintext string @@ -129,7 +129,7 @@ The following arguments are supported:
-CryptoKey +CryptoKey string @@ -137,7 +137,7 @@ The following arguments are supported:
-Plaintext +Plaintext string @@ -151,7 +151,7 @@ The following arguments are supported:
-cryptoKey +cryptoKey String @@ -159,7 +159,7 @@ The following arguments are supported:
-plaintext +plaintext String @@ -173,7 +173,7 @@ The following arguments are supported:
-cryptoKey +cryptoKey string @@ -181,7 +181,7 @@ The following arguments are supported:
-plaintext +plaintext string @@ -195,7 +195,7 @@ The following arguments are supported:
-crypto_key +crypto_key str @@ -203,7 +203,7 @@ The following arguments are supported:
-plaintext +plaintext str @@ -217,7 +217,7 @@ The following arguments are supported:
-cryptoKey +cryptoKey String @@ -225,7 +225,7 @@ The following arguments are supported:
-plaintext +plaintext String @@ -248,7 +248,7 @@ The following output properties are available:
-Ciphertext +Ciphertext string @@ -256,7 +256,7 @@ The following output properties are available:
-CryptoKey +CryptoKey string @@ -264,7 +264,7 @@ The following output properties are available:
-Id +Id string @@ -272,7 +272,7 @@ The following output properties are available:
-Plaintext +Plaintext string @@ -286,7 +286,7 @@ The following output properties are available:
-Ciphertext +Ciphertext string @@ -294,7 +294,7 @@ The following output properties are available:
-CryptoKey +CryptoKey string @@ -302,7 +302,7 @@ The following output properties are available:
-Id +Id string @@ -310,7 +310,7 @@ The following output properties are available:
-Plaintext +Plaintext string @@ -324,7 +324,7 @@ The following output properties are available:
-ciphertext +ciphertext String @@ -332,7 +332,7 @@ The following output properties are available:
-cryptoKey +cryptoKey String @@ -340,7 +340,7 @@ The following output properties are available:
-id +id String @@ -348,7 +348,7 @@ The following output properties are available:
-plaintext +plaintext String @@ -362,7 +362,7 @@ The following output properties are available:
-ciphertext +ciphertext string @@ -370,7 +370,7 @@ The following output properties are available:
-cryptoKey +cryptoKey string @@ -378,7 +378,7 @@ The following output properties are available:
-id +id string @@ -386,7 +386,7 @@ The following output properties are available:
-plaintext +plaintext string @@ -400,7 +400,7 @@ The following output properties are available:
-ciphertext +ciphertext str @@ -408,7 +408,7 @@ The following output properties are available:
-crypto_key +crypto_key str @@ -416,7 +416,7 @@ The following output properties are available:
-id +id str @@ -424,7 +424,7 @@ The following output properties are available:
-plaintext +plaintext str @@ -438,7 +438,7 @@ The following output properties are available:
-ciphertext +ciphertext String @@ -446,7 +446,7 @@ The following output properties are available:
-cryptoKey +cryptoKey String @@ -454,7 +454,7 @@ The following output properties are available:
-id +id String @@ -462,7 +462,7 @@ The following output properties are available:
-plaintext +plaintext String diff --git a/pkg/codegen/testing/test/testdata/functions-secrets/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/functions-secrets/docs/provider/_index.md index 2ccdad9b46ac..5e2162082093 100644 --- a/pkg/codegen/testing/test/testdata/functions-secrets/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/functions-secrets/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -34,28 +34,28 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/hyphen-url/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/hyphen-url/docs/provider/_index.md index 9ade3d4f7716..a8fcf8f5263f 100644 --- a/pkg/codegen/testing/test/testdata/hyphen-url/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/hyphen-url/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -34,28 +34,28 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String 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 89af69871422..ba5163c02a08 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 @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new RegistryGeoReplication(name: string, args: RegistryGeoReplicationArgs, opts?: CustomResourceOptions);
+
new RegistryGeoReplication(name: string, args: RegistryGeoReplicationArgs, opts?: CustomResourceOptions);
@@ -35,28 +35,28 @@ no_edit_this_page: true resource_group: Optional[pulumi_azure_native.resources.ResourceGroup] = None) @overload def RegistryGeoReplication(resource_name: str, - args: RegistryGeoReplicationArgs, + args: RegistryGeoReplicationArgs, opts: Optional[ResourceOptions] = None)
-
func NewRegistryGeoReplication(ctx *Context, name string, args RegistryGeoReplicationArgs, opts ...ResourceOption) (*RegistryGeoReplication, error)
+
func NewRegistryGeoReplication(ctx *Context, name string, args RegistryGeoReplicationArgs, opts ...ResourceOption) (*RegistryGeoReplication, error)
-
public RegistryGeoReplication(string name, RegistryGeoReplicationArgs args, CustomResourceOptions? opts = null)
+
public RegistryGeoReplication(string name, RegistryGeoReplicationArgs args, CustomResourceOptions? opts = null)
-public RegistryGeoReplication(String name, RegistryGeoReplicationArgs args)
-public RegistryGeoReplication(String name, RegistryGeoReplicationArgs args, CustomResourceOptions options)
+public RegistryGeoReplication(String name, RegistryGeoReplicationArgs args)
+public RegistryGeoReplication(String name, RegistryGeoReplicationArgs args, CustomResourceOptions options)
 
@@ -84,7 +84,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - RegistryGeoReplicationArgs + RegistryGeoReplicationArgs
The arguments to resource properties.
@@ -110,7 +110,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - RegistryGeoReplicationArgs + RegistryGeoReplicationArgs
The arguments to resource properties.
@@ -142,7 +142,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - RegistryGeoReplicationArgs + RegistryGeoReplicationArgs
The arguments to resource properties.
@@ -168,7 +168,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - RegistryGeoReplicationArgs + RegistryGeoReplicationArgs
The arguments to resource properties.
@@ -194,7 +194,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - RegistryGeoReplicationArgs + RegistryGeoReplicationArgs
The arguments to resource properties.
@@ -222,7 +222,7 @@ The RegistryGeoReplication resource accepts the following [input](/docs/intro/co
-ResourceGroup +ResourceGroup Pulumi.AzureNative.Resources.ResourceGroup @@ -237,7 +237,7 @@ The RegistryGeoReplication resource accepts the following [input](/docs/intro/co
-ResourceGroup +ResourceGroup ResourceGroup @@ -252,7 +252,7 @@ The RegistryGeoReplication resource accepts the following [input](/docs/intro/co
-resourceGroup +resourceGroup ResourceGroup @@ -267,7 +267,7 @@ The RegistryGeoReplication resource accepts the following [input](/docs/intro/co
-resourceGroup +resourceGroup pulumiAzureNativeresourcesResourceGroup @@ -282,7 +282,7 @@ The RegistryGeoReplication resource accepts the following [input](/docs/intro/co
-resource_group +resource_group ResourceGroup @@ -297,7 +297,7 @@ The RegistryGeoReplication resource accepts the following [input](/docs/intro/co
-resourceGroup +resourceGroup azure-native:resources:ResourceGroup @@ -319,7 +319,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-AcrLoginServerOut +AcrLoginServerOut string @@ -328,7 +328,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Registry +Registry Pulumi.AzureNative.ContainerRegistry.Registry @@ -337,7 +337,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Replication +Replication Pulumi.AzureNative.ContainerRegistry.Replication @@ -352,7 +352,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-AcrLoginServerOut +AcrLoginServerOut string @@ -361,7 +361,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Registry +Registry Registry @@ -370,7 +370,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Replication +Replication Replication @@ -385,7 +385,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-acrLoginServerOut +acrLoginServerOut String @@ -394,7 +394,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-registry +registry Registry @@ -403,7 +403,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-replication +replication Replication @@ -418,7 +418,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-acrLoginServerOut +acrLoginServerOut string @@ -427,7 +427,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-registry +registry pulumiAzureNativecontainerregistryRegistry @@ -436,7 +436,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-replication +replication pulumiAzureNativecontainerregistryReplication @@ -451,7 +451,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-acr_login_server_out +acr_login_server_out str @@ -460,7 +460,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-registry +registry Registry @@ -469,7 +469,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-replication +replication Replication @@ -484,7 +484,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-acrLoginServerOut +acrLoginServerOut String @@ -493,7 +493,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-registry +registry azure-native:containerregistry:Registry @@ -502,7 +502,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-replication +replication azure-native:containerregistry:Replication diff --git a/pkg/codegen/testing/test/testdata/naming-collisions/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/naming-collisions/docs/provider/_index.md index 432bfcd884b1..32b1ee1cb169 100644 --- a/pkg/codegen/testing/test/testdata/naming-collisions/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/naming-collisions/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -34,28 +34,28 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/naming-collisions/docs/resource/_index.md b/pkg/codegen/testing/test/testdata/naming-collisions/docs/resource/_index.md index bbe80fea8a07..4bcf7d1f15d2 100644 --- a/pkg/codegen/testing/test/testdata/naming-collisions/docs/resource/_index.md +++ b/pkg/codegen/testing/test/testdata/naming-collisions/docs/resource/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Resource(name: string, args?: ResourceArgs, opts?: CustomResourceOptions);
+
new Resource(name: string, args?: ResourceArgs, opts?: CustomResourceOptions);
@@ -34,28 +34,28 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Resource(resource_name: str, - args: Optional[ResourceArgs] = None, + args: Optional[ResourceArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewResource(ctx *Context, name string, args *ResourceArgs, opts ...ResourceOption) (*Resource, error)
+
func NewResource(ctx *Context, name string, args *ResourceArgs, opts ...ResourceOption) (*Resource, error)
-
public Resource(string name, ResourceArgs? args = null, CustomResourceOptions? opts = null)
+
public Resource(string name, ResourceArgs? args = null, CustomResourceOptions? opts = null)
-public Resource(String name, ResourceArgs args)
-public Resource(String name, ResourceArgs args, CustomResourceOptions options)
+public Resource(String name, ResourceArgs args)
+public Resource(String name, ResourceArgs args, CustomResourceOptions options)
 
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -273,7 +273,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Bar +Bar string @@ -287,7 +287,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -296,7 +296,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Bar +Bar string @@ -310,7 +310,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -319,7 +319,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar String @@ -333,7 +333,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -342,7 +342,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar string @@ -356,7 +356,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -365,7 +365,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar str @@ -379,7 +379,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -388,7 +388,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar String diff --git a/pkg/codegen/testing/test/testdata/naming-collisions/docs/resourceinput/_index.md b/pkg/codegen/testing/test/testdata/naming-collisions/docs/resourceinput/_index.md index fa32ad086777..260f17fa14fa 100644 --- a/pkg/codegen/testing/test/testdata/naming-collisions/docs/resourceinput/_index.md +++ b/pkg/codegen/testing/test/testdata/naming-collisions/docs/resourceinput/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new ResourceInput(name: string, args?: ResourceInputArgs, opts?: CustomResourceOptions);
+
new ResourceInput(name: string, args?: ResourceInputArgs, opts?: CustomResourceOptions);
@@ -34,28 +34,28 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def ResourceInput(resource_name: str, - args: Optional[ResourceInputArgs] = None, + args: Optional[ResourceInputArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewResourceInput(ctx *Context, name string, args *ResourceInputArgs, opts ...ResourceOption) (*ResourceInput, error)
+
func NewResourceInput(ctx *Context, name string, args *ResourceInputArgs, opts ...ResourceOption) (*ResourceInput, error)
-
public ResourceInput(string name, ResourceInputArgs? args = null, CustomResourceOptions? opts = null)
+
public ResourceInput(string name, ResourceInputArgs? args = null, CustomResourceOptions? opts = null)
-public ResourceInput(String name, ResourceInputArgs args)
-public ResourceInput(String name, ResourceInputArgs args, CustomResourceOptions options)
+public ResourceInput(String name, ResourceInputArgs args)
+public ResourceInput(String name, ResourceInputArgs args, CustomResourceOptions options)
 
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceInputArgs + ResourceInputArgs
The arguments to resource properties.
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceInputArgs + ResourceInputArgs
The arguments to resource properties.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceInputArgs + ResourceInputArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceInputArgs + ResourceInputArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ResourceInputArgs + ResourceInputArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -273,7 +273,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Bar +Bar string @@ -287,7 +287,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -296,7 +296,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Bar +Bar string @@ -310,7 +310,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -319,7 +319,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar String @@ -333,7 +333,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -342,7 +342,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar string @@ -356,7 +356,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -365,7 +365,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar str @@ -379,7 +379,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -388,7 +388,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar String diff --git a/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/deeply/nested/module/resource/_index.md b/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/deeply/nested/module/resource/_index.md index 4ed7f1cee153..e33b1019e51a 100644 --- a/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/deeply/nested/module/resource/_index.md +++ b/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/deeply/nested/module/resource/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Resource(name: string, args?: ResourceArgs, opts?: CustomResourceOptions);
+
new Resource(name: string, args?: ResourceArgs, opts?: CustomResourceOptions);
@@ -35,28 +35,28 @@ no_edit_this_page: true baz: Optional[str] = None) @overload def Resource(resource_name: str, - args: Optional[ResourceArgs] = None, + args: Optional[ResourceArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewResource(ctx *Context, name string, args *ResourceArgs, opts ...ResourceOption) (*Resource, error)
+
func NewResource(ctx *Context, name string, args *ResourceArgs, opts ...ResourceOption) (*Resource, error)
-
public Resource(string name, ResourceArgs? args = null, CustomResourceOptions? opts = null)
+
public Resource(string name, ResourceArgs? args = null, CustomResourceOptions? opts = null)
-public Resource(String name, ResourceArgs args)
-public Resource(String name, ResourceArgs args, CustomResourceOptions options)
+public Resource(String name, ResourceArgs args)
+public Resource(String name, ResourceArgs args, CustomResourceOptions options)
 
@@ -84,7 +84,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -110,7 +110,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -142,7 +142,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -168,7 +168,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -194,7 +194,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -222,7 +222,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-Baz +Baz string @@ -236,7 +236,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-Baz +Baz string @@ -250,7 +250,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-baz +baz String @@ -264,7 +264,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-baz +baz string @@ -278,7 +278,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-baz +baz str @@ -292,7 +292,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-baz +baz String @@ -313,7 +313,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -328,7 +328,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -343,7 +343,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -358,7 +358,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -373,7 +373,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -388,7 +388,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/provider/_index.md index 2ebf21eb7292..26fdd75b0ac9 100644 --- a/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -34,28 +34,28 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/nested-module/docs/nested/module/resource/_index.md b/pkg/codegen/testing/test/testdata/nested-module/docs/nested/module/resource/_index.md index e26b81b5da29..95143dcc0d70 100644 --- a/pkg/codegen/testing/test/testdata/nested-module/docs/nested/module/resource/_index.md +++ b/pkg/codegen/testing/test/testdata/nested-module/docs/nested/module/resource/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Resource(name: string, args?: ResourceArgs, opts?: CustomResourceOptions);
+
new Resource(name: string, args?: ResourceArgs, opts?: CustomResourceOptions);
@@ -35,28 +35,28 @@ no_edit_this_page: true bar: Optional[str] = None) @overload def Resource(resource_name: str, - args: Optional[ResourceArgs] = None, + args: Optional[ResourceArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewResource(ctx *Context, name string, args *ResourceArgs, opts ...ResourceOption) (*Resource, error)
+
func NewResource(ctx *Context, name string, args *ResourceArgs, opts ...ResourceOption) (*Resource, error)
-
public Resource(string name, ResourceArgs? args = null, CustomResourceOptions? opts = null)
+
public Resource(string name, ResourceArgs? args = null, CustomResourceOptions? opts = null)
-public Resource(String name, ResourceArgs args)
-public Resource(String name, ResourceArgs args, CustomResourceOptions options)
+public Resource(String name, ResourceArgs args)
+public Resource(String name, ResourceArgs args, CustomResourceOptions options)
 
@@ -84,7 +84,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -110,7 +110,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -142,7 +142,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -168,7 +168,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -194,7 +194,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -222,7 +222,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-Bar +Bar string @@ -236,7 +236,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-Bar +Bar string @@ -250,7 +250,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar String @@ -264,7 +264,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar string @@ -278,7 +278,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar str @@ -292,7 +292,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar String @@ -313,7 +313,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -328,7 +328,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -343,7 +343,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -358,7 +358,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -373,7 +373,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -388,7 +388,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/nested-module/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/nested-module/docs/provider/_index.md index 10ef8fae9d3b..01de1fabe9f2 100644 --- a/pkg/codegen/testing/test/testdata/nested-module/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/nested-module/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -34,28 +34,28 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/other-owned/docs/argfunction/_index.md b/pkg/codegen/testing/test/testdata/other-owned/docs/argfunction/_index.md index 80a58d1c1f19..0f4e769b1271 100644 --- a/pkg/codegen/testing/test/testdata/other-owned/docs/argfunction/_index.md +++ b/pkg/codegen/testing/test/testdata/other-owned/docs/argfunction/_index.md @@ -105,7 +105,7 @@ The following arguments are supported:
-Arg1 +Arg1 Other.Example.Resource @@ -119,7 +119,7 @@ The following arguments are supported:
-Arg1 +Arg1 Resource @@ -133,7 +133,7 @@ The following arguments are supported:
-arg1 +arg1 Resource @@ -147,7 +147,7 @@ The following arguments are supported:
-arg1 +arg1 Resource @@ -161,7 +161,7 @@ The following arguments are supported:
-arg1 +arg1 Resource @@ -175,7 +175,7 @@ The following arguments are supported:
-arg1 +arg1 example:Resource @@ -198,7 +198,7 @@ The following output properties are available:
-Result +Result Other.Example.Resource @@ -212,7 +212,7 @@ The following output properties are available:
-Result +Result Resource @@ -226,7 +226,7 @@ The following output properties are available:
-result +result Resource @@ -240,7 +240,7 @@ The following output properties are available:
-result +result Resource @@ -254,7 +254,7 @@ The following output properties are available:
-result +result Resource @@ -268,7 +268,7 @@ The following output properties are available:
-result +result example: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 69a8d31ae963..91d4b04dcc33 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 @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new BarResource(name: string, args?: BarResourceArgs, opts?: CustomResourceOptions);
+
new BarResource(name: string, args?: BarResourceArgs, opts?: CustomResourceOptions);
@@ -35,28 +35,28 @@ no_edit_this_page: true foo: Optional[Resource] = None) @overload def BarResource(resource_name: str, - args: Optional[BarResourceArgs] = None, + args: Optional[BarResourceArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewBarResource(ctx *Context, name string, args *BarResourceArgs, opts ...ResourceOption) (*BarResource, error)
+
func NewBarResource(ctx *Context, name string, args *BarResourceArgs, opts ...ResourceOption) (*BarResource, error)
-
public BarResource(string name, BarResourceArgs? args = null, CustomResourceOptions? opts = null)
+
public BarResource(string name, BarResourceArgs? args = null, CustomResourceOptions? opts = null)
-public BarResource(String name, BarResourceArgs args)
-public BarResource(String name, BarResourceArgs args, CustomResourceOptions options)
+public BarResource(String name, BarResourceArgs args)
+public BarResource(String name, BarResourceArgs args, CustomResourceOptions options)
 
@@ -84,7 +84,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - BarResourceArgs + BarResourceArgs
The arguments to resource properties.
@@ -110,7 +110,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - BarResourceArgs + BarResourceArgs
The arguments to resource properties.
@@ -142,7 +142,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - BarResourceArgs + BarResourceArgs
The arguments to resource properties.
@@ -168,7 +168,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - BarResourceArgs + BarResourceArgs
The arguments to resource properties.
@@ -194,7 +194,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - BarResourceArgs + BarResourceArgs
The arguments to resource properties.
@@ -222,7 +222,7 @@ The BarResource resource accepts the following [input](/docs/intro/concepts/inpu
-Foo +Foo Other.Example.Resource @@ -236,7 +236,7 @@ The BarResource resource accepts the following [input](/docs/intro/concepts/inpu
-Foo +Foo Resource @@ -250,7 +250,7 @@ The BarResource resource accepts the following [input](/docs/intro/concepts/inpu
-foo +foo Resource @@ -264,7 +264,7 @@ The BarResource resource accepts the following [input](/docs/intro/concepts/inpu
-foo +foo Resource @@ -278,7 +278,7 @@ The BarResource resource accepts the following [input](/docs/intro/concepts/inpu
-foo +foo Resource @@ -292,7 +292,7 @@ The BarResource resource accepts the following [input](/docs/intro/concepts/inpu
-foo +foo example: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 dbb1eb7c0b5f..78b574ca5eda 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 @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new FooResource(name: string, args?: FooResourceArgs, opts?: CustomResourceOptions);
+
new FooResource(name: string, args?: FooResourceArgs, opts?: CustomResourceOptions);
@@ -35,28 +35,28 @@ no_edit_this_page: true foo: Optional[Resource] = None) @overload def FooResource(resource_name: str, - args: Optional[FooResourceArgs] = None, + args: Optional[FooResourceArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewFooResource(ctx *Context, name string, args *FooResourceArgs, opts ...ResourceOption) (*FooResource, error)
+
func NewFooResource(ctx *Context, name string, args *FooResourceArgs, opts ...ResourceOption) (*FooResource, error)
-
public FooResource(string name, FooResourceArgs? args = null, CustomResourceOptions? opts = null)
+
public FooResource(string name, FooResourceArgs? args = null, CustomResourceOptions? opts = null)
-public FooResource(String name, FooResourceArgs args)
-public FooResource(String name, FooResourceArgs args, CustomResourceOptions options)
+public FooResource(String name, FooResourceArgs args)
+public FooResource(String name, FooResourceArgs args, CustomResourceOptions options)
 
@@ -84,7 +84,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - FooResourceArgs + FooResourceArgs
The arguments to resource properties.
@@ -110,7 +110,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - FooResourceArgs + FooResourceArgs
The arguments to resource properties.
@@ -142,7 +142,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - FooResourceArgs + FooResourceArgs
The arguments to resource properties.
@@ -168,7 +168,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - FooResourceArgs + FooResourceArgs
The arguments to resource properties.
@@ -194,7 +194,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - FooResourceArgs + FooResourceArgs
The arguments to resource properties.
@@ -222,7 +222,7 @@ The FooResource resource accepts the following [input](/docs/intro/concepts/inpu
-Foo +Foo Other.Example.Resource @@ -236,7 +236,7 @@ The FooResource resource accepts the following [input](/docs/intro/concepts/inpu
-Foo +Foo Resource @@ -250,7 +250,7 @@ The FooResource resource accepts the following [input](/docs/intro/concepts/inpu
-foo +foo Resource @@ -264,7 +264,7 @@ The FooResource resource accepts the following [input](/docs/intro/concepts/inpu
-foo +foo Resource @@ -278,7 +278,7 @@ The FooResource resource accepts the following [input](/docs/intro/concepts/inpu
-foo +foo Resource @@ -292,7 +292,7 @@ The FooResource resource accepts the following [input](/docs/intro/concepts/inpu
-foo +foo example: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 cc89707a82bd..cd936e2e9c66 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 @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new OtherResource(name: string, args?: OtherResourceArgs, opts?: CustomResourceOptions);
+
new OtherResource(name: string, args?: OtherResourceArgs, opts?: CustomResourceOptions);
@@ -35,28 +35,28 @@ no_edit_this_page: true foo: Optional[Resource] = None) @overload def OtherResource(resource_name: str, - args: Optional[OtherResourceArgs] = None, + args: Optional[OtherResourceArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewOtherResource(ctx *Context, name string, args *OtherResourceArgs, opts ...ResourceOption) (*OtherResource, error)
+
func NewOtherResource(ctx *Context, name string, args *OtherResourceArgs, opts ...ResourceOption) (*OtherResource, error)
-
public OtherResource(string name, OtherResourceArgs? args = null, CustomResourceOptions? opts = null)
+
public OtherResource(string name, OtherResourceArgs? args = null, CustomResourceOptions? opts = null)
-public OtherResource(String name, OtherResourceArgs args)
-public OtherResource(String name, OtherResourceArgs args, CustomResourceOptions options)
+public OtherResource(String name, OtherResourceArgs args)
+public OtherResource(String name, OtherResourceArgs args, CustomResourceOptions options)
 
@@ -84,7 +84,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - OtherResourceArgs + OtherResourceArgs
The arguments to resource properties.
@@ -110,7 +110,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - OtherResourceArgs + OtherResourceArgs
The arguments to resource properties.
@@ -142,7 +142,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - OtherResourceArgs + OtherResourceArgs
The arguments to resource properties.
@@ -168,7 +168,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - OtherResourceArgs + OtherResourceArgs
The arguments to resource properties.
@@ -194,7 +194,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - OtherResourceArgs + OtherResourceArgs
The arguments to resource properties.
@@ -222,7 +222,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-Foo +Foo Other.Example.Resource @@ -236,7 +236,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-Foo +Foo Resource @@ -250,7 +250,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-foo +foo Resource @@ -264,7 +264,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-foo +foo Resource @@ -278,7 +278,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-foo +foo Resource @@ -292,7 +292,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-foo +foo example:Resource diff --git a/pkg/codegen/testing/test/testdata/other-owned/docs/overlayfunction/_index.md b/pkg/codegen/testing/test/testdata/other-owned/docs/overlayfunction/_index.md index 0c0eec56d075..679180f01636 100644 --- a/pkg/codegen/testing/test/testdata/other-owned/docs/overlayfunction/_index.md +++ b/pkg/codegen/testing/test/testdata/other-owned/docs/overlayfunction/_index.md @@ -105,7 +105,7 @@ The following arguments are supported:
-Arg1 +Arg1 Other.Example.Resource @@ -119,7 +119,7 @@ The following arguments are supported:
-Arg1 +Arg1 Resource @@ -133,7 +133,7 @@ The following arguments are supported:
-arg1 +arg1 Resource @@ -147,7 +147,7 @@ The following arguments are supported:
-arg1 +arg1 Resource @@ -161,7 +161,7 @@ The following arguments are supported:
-arg1 +arg1 Resource @@ -175,7 +175,7 @@ The following arguments are supported:
-arg1 +arg1 example:Resource @@ -198,7 +198,7 @@ The following output properties are available:
-Result +Result Other.Example.Resource @@ -212,7 +212,7 @@ The following output properties are available:
-Result +Result Resource @@ -226,7 +226,7 @@ The following output properties are available:
-result +result Resource @@ -240,7 +240,7 @@ The following output properties are available:
-result +result Resource @@ -254,7 +254,7 @@ The following output properties are available:
-result +result Resource @@ -268,7 +268,7 @@ The following output properties are available:
-result +result example:Resource diff --git a/pkg/codegen/testing/test/testdata/other-owned/docs/overlayresource/_index.md b/pkg/codegen/testing/test/testdata/other-owned/docs/overlayresource/_index.md index ed2602c5d1dd..fbfabca7dc92 100644 --- a/pkg/codegen/testing/test/testdata/other-owned/docs/overlayresource/_index.md +++ b/pkg/codegen/testing/test/testdata/other-owned/docs/overlayresource/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new OverlayResource(name: string, args?: OverlayResourceArgs, opts?: CustomResourceOptions);
+
new OverlayResource(name: string, args?: OverlayResourceArgs, opts?: CustomResourceOptions);
@@ -36,28 +36,28 @@ no_edit_this_page: true foo: Optional[ConfigMapOverlayArgs] = None) @overload def OverlayResource(resource_name: str, - args: Optional[OverlayResourceArgs] = None, + args: Optional[OverlayResourceArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewOverlayResource(ctx *Context, name string, args *OverlayResourceArgs, opts ...ResourceOption) (*OverlayResource, error)
+
func NewOverlayResource(ctx *Context, name string, args *OverlayResourceArgs, opts ...ResourceOption) (*OverlayResource, error)
-
public OverlayResource(string name, OverlayResourceArgs? args = null, CustomResourceOptions? opts = null)
+
public OverlayResource(string name, OverlayResourceArgs? args = null, CustomResourceOptions? opts = null)
-public OverlayResource(String name, OverlayResourceArgs args)
-public OverlayResource(String name, OverlayResourceArgs args, CustomResourceOptions options)
+public OverlayResource(String name, OverlayResourceArgs args)
+public OverlayResource(String name, OverlayResourceArgs args, CustomResourceOptions options)
 
@@ -85,7 +85,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - OverlayResourceArgs + OverlayResourceArgs
The arguments to resource properties.
@@ -111,7 +111,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - OverlayResourceArgs + OverlayResourceArgs
The arguments to resource properties.
@@ -143,7 +143,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - OverlayResourceArgs + OverlayResourceArgs
The arguments to resource properties.
@@ -169,7 +169,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - OverlayResourceArgs + OverlayResourceArgs
The arguments to resource properties.
@@ -195,7 +195,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - OverlayResourceArgs + OverlayResourceArgs
The arguments to resource properties.
@@ -223,18 +223,18 @@ The OverlayResource resource accepts the following [input](/docs/intro/concepts/
-Bar +Bar - Other.Example.EnumOverlay + Other.Example.EnumOverlay
-Foo +Foo - Other.Example.Inputs.ConfigMapOverlayArgs + Other.Example.Inputs.ConfigMapOverlayArgs
@@ -245,18 +245,18 @@ The OverlayResource resource accepts the following [input](/docs/intro/concepts/
-Bar +Bar - EnumOverlay + EnumOverlay
-Foo +Foo - ConfigMapOverlayArgs + ConfigMapOverlayArgs
@@ -267,18 +267,18 @@ The OverlayResource resource accepts the following [input](/docs/intro/concepts/
-bar +bar - EnumOverlay + EnumOverlay
-foo +foo - ConfigMapOverlayArgs + ConfigMapOverlayArgs
@@ -289,18 +289,18 @@ The OverlayResource resource accepts the following [input](/docs/intro/concepts/
-bar +bar - EnumOverlay + EnumOverlay
-foo +foo - ConfigMapOverlayArgs + ConfigMapOverlayArgs
@@ -311,18 +311,18 @@ The OverlayResource resource accepts the following [input](/docs/intro/concepts/
-bar +bar - EnumOverlay + EnumOverlay
-foo +foo - ConfigMapOverlayArgs + ConfigMapOverlayArgs
@@ -333,18 +333,18 @@ The OverlayResource resource accepts the following [input](/docs/intro/concepts/
-bar +bar - "SOME_ENUM_VALUE" + "SOME_ENUM_VALUE"
-foo +foo - Property Map + Property Map
@@ -362,7 +362,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -377,7 +377,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -392,7 +392,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -407,7 +407,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -422,7 +422,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -437,7 +437,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -464,7 +464,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Config +Config string @@ -478,7 +478,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Config +Config string @@ -492,7 +492,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-config +config String @@ -506,7 +506,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-config +config string @@ -520,7 +520,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-config +config str @@ -534,7 +534,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-config +config String diff --git a/pkg/codegen/testing/test/testdata/other-owned/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/other-owned/docs/provider/_index.md index 432bfcd884b1..32b1ee1cb169 100644 --- a/pkg/codegen/testing/test/testdata/other-owned/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/other-owned/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -34,28 +34,28 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/other-owned/docs/resource/_index.md b/pkg/codegen/testing/test/testdata/other-owned/docs/resource/_index.md index db67dccdc5a6..0816a84a19a0 100644 --- a/pkg/codegen/testing/test/testdata/other-owned/docs/resource/_index.md +++ b/pkg/codegen/testing/test/testdata/other-owned/docs/resource/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Resource(name: string, args?: ResourceArgs, opts?: CustomResourceOptions);
+
new Resource(name: string, args?: ResourceArgs, opts?: CustomResourceOptions);
@@ -35,28 +35,28 @@ no_edit_this_page: true bar: Optional[str] = None) @overload def Resource(resource_name: str, - args: Optional[ResourceArgs] = None, + args: Optional[ResourceArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewResource(ctx *Context, name string, args *ResourceArgs, opts ...ResourceOption) (*Resource, error)
+
func NewResource(ctx *Context, name string, args *ResourceArgs, opts ...ResourceOption) (*Resource, error)
-
public Resource(string name, ResourceArgs? args = null, CustomResourceOptions? opts = null)
+
public Resource(string name, ResourceArgs? args = null, CustomResourceOptions? opts = null)
-public Resource(String name, ResourceArgs args)
-public Resource(String name, ResourceArgs args, CustomResourceOptions options)
+public Resource(String name, ResourceArgs args)
+public Resource(String name, ResourceArgs args, CustomResourceOptions options)
 
@@ -84,7 +84,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -110,7 +110,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -142,7 +142,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -168,7 +168,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -194,7 +194,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -222,7 +222,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-Bar +Bar string @@ -236,7 +236,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-Bar +Bar string @@ -250,7 +250,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar String @@ -264,7 +264,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar string @@ -278,7 +278,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar str @@ -292,7 +292,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar String @@ -313,7 +313,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -328,7 +328,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -343,7 +343,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -358,7 +358,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -373,7 +373,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -388,7 +388,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/other-owned/docs/typeuses/_index.md b/pkg/codegen/testing/test/testdata/other-owned/docs/typeuses/_index.md index 4b36c0092b3e..e4a366e2ca55 100644 --- a/pkg/codegen/testing/test/testdata/other-owned/docs/typeuses/_index.md +++ b/pkg/codegen/testing/test/testdata/other-owned/docs/typeuses/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new TypeUses(name: string, args?: TypeUsesArgs, opts?: CustomResourceOptions);
+
new TypeUses(name: string, args?: TypeUsesArgs, opts?: CustomResourceOptions);
@@ -37,28 +37,28 @@ no_edit_this_page: true foo: Optional[ObjectArgs] = None) @overload def TypeUses(resource_name: str, - args: Optional[TypeUsesArgs] = None, + args: Optional[TypeUsesArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewTypeUses(ctx *Context, name string, args *TypeUsesArgs, opts ...ResourceOption) (*TypeUses, error)
+
func NewTypeUses(ctx *Context, name string, args *TypeUsesArgs, opts ...ResourceOption) (*TypeUses, error)
-
public TypeUses(string name, TypeUsesArgs? args = null, CustomResourceOptions? opts = null)
+
public TypeUses(string name, TypeUsesArgs? args = null, CustomResourceOptions? opts = null)
-public TypeUses(String name, TypeUsesArgs args)
-public TypeUses(String name, TypeUsesArgs args, CustomResourceOptions options)
+public TypeUses(String name, TypeUsesArgs args)
+public TypeUses(String name, TypeUsesArgs args, CustomResourceOptions options)
 
@@ -86,7 +86,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - TypeUsesArgs + TypeUsesArgs
The arguments to resource properties.
@@ -112,7 +112,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - TypeUsesArgs + TypeUsesArgs
The arguments to resource properties.
@@ -144,7 +144,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - TypeUsesArgs + TypeUsesArgs
The arguments to resource properties.
@@ -170,7 +170,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - TypeUsesArgs + TypeUsesArgs
The arguments to resource properties.
@@ -196,7 +196,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - TypeUsesArgs + TypeUsesArgs
The arguments to resource properties.
@@ -224,26 +224,26 @@ The TypeUses resource accepts the following [input](/docs/intro/concepts/inputs-
-Bar +Bar - Other.Example.Inputs.SomeOtherObjectArgs + Other.Example.Inputs.SomeOtherObjectArgs
-Baz +Baz - Other.Example.Inputs.ObjectWithNodeOptionalInputsArgs + Other.Example.Inputs.ObjectWithNodeOptionalInputsArgs
-Foo +Foo - Other.Example.Inputs.ObjectArgs + Other.Example.Inputs.ObjectArgs
@@ -254,26 +254,26 @@ The TypeUses resource accepts the following [input](/docs/intro/concepts/inputs-
-Bar +Bar - SomeOtherObjectArgs + SomeOtherObjectArgs
-Baz +Baz - ObjectWithNodeOptionalInputsArgs + ObjectWithNodeOptionalInputsArgs
-Foo +Foo - ObjectArgs + ObjectArgs
@@ -284,26 +284,26 @@ The TypeUses resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar - SomeOtherObjectArgs + SomeOtherObjectArgs
-baz +baz - ObjectWithNodeOptionalInputsArgs + ObjectWithNodeOptionalInputsArgs
-foo +foo - ObjectArgs + ObjectArgs
@@ -314,26 +314,26 @@ The TypeUses resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar - SomeOtherObjectArgs + SomeOtherObjectArgs
-baz +baz - ObjectWithNodeOptionalInputsArgs + ObjectWithNodeOptionalInputsArgs
-foo +foo - ObjectArgs + ObjectArgs
@@ -344,26 +344,26 @@ The TypeUses resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar - SomeOtherObjectArgs + SomeOtherObjectArgs
-baz +baz - ObjectWithNodeOptionalInputsArgs + ObjectWithNodeOptionalInputsArgs
-foo +foo - ObjectArgs + ObjectArgs
@@ -374,26 +374,26 @@ The TypeUses resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar - Property Map + Property Map
-baz +baz - Property Map + Property Map
-foo +foo - Property Map + Property Map
@@ -411,7 +411,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -426,7 +426,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -441,7 +441,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -456,7 +456,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -471,7 +471,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -486,7 +486,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -513,7 +513,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Config +Config string @@ -527,7 +527,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Config +Config string @@ -541,7 +541,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-config +config String @@ -555,7 +555,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-config +config string @@ -569,7 +569,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-config +config str @@ -583,7 +583,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-config +config String @@ -599,7 +599,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Bar +Bar string @@ -607,15 +607,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Configs +Configs - List<Other.Example.Inputs.ConfigMap> + List<Other.Example.Inputs.ConfigMap>
-Foo +Foo Other.Example.Resource @@ -623,16 +623,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Others +Others - List<ImmutableArray<Other.Example.Inputs.SomeOtherObject>> + List<ImmutableArray<Other.Example.Inputs.SomeOtherObject>>

List of lists of other objects

-StillOthers +StillOthers Dictionary<string, ImmutableArray<Other.Example.Inputs.SomeOtherObject>> @@ -647,7 +647,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Bar +Bar string @@ -655,15 +655,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Configs +Configs - []ConfigMap + []ConfigMap
-Foo +Foo Resource @@ -671,16 +671,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Others +Others - [][]SomeOtherObject + [][]SomeOtherObject

List of lists of other objects

-StillOthers +StillOthers map[string][]SomeOtherObject @@ -695,7 +695,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar String @@ -703,15 +703,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-configs +configs - List<ConfigMap> + List<ConfigMap>
-foo +foo Resource @@ -719,16 +719,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-others +others - List<List<SomeOtherObject>> + List<List<SomeOtherObject>>

List of lists of other objects

-stillOthers +stillOthers Map<String,List<SomeOtherObject>> @@ -743,7 +743,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar string @@ -751,15 +751,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-configs +configs - ConfigMap[] + ConfigMap[]
-foo +foo Resource @@ -767,16 +767,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-others +others - SomeOtherObject[][] + SomeOtherObject[][]

List of lists of other objects

-stillOthers +stillOthers {[key: string]: SomeOtherObject[]} @@ -791,7 +791,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar str @@ -799,15 +799,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-configs +configs - Sequence[ConfigMap] + Sequence[ConfigMap]
-foo +foo Resource @@ -815,16 +815,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-others +others - Sequence[Sequence[SomeOtherObject]] + Sequence[Sequence[SomeOtherObject]]

List of lists of other objects

-still_others +still_others Mapping[str, Sequence[SomeOtherObject]] @@ -839,7 +839,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar String @@ -847,15 +847,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-configs +configs - List<Property Map> + List<Property Map>
-foo +foo example:Resource @@ -863,16 +863,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-others +others - List<List<Property Map>> + List<List<Property Map>>

List of lists of other objects

-stillOthers +stillOthers Map<List<Property Map>> @@ -889,7 +889,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Foo +Foo string @@ -897,7 +897,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Bar +Bar int @@ -911,7 +911,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Foo +Foo string @@ -919,7 +919,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Bar +Bar int @@ -933,7 +933,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-foo +foo String @@ -941,7 +941,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar Integer @@ -955,7 +955,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-foo +foo string @@ -963,7 +963,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar number @@ -977,7 +977,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-foo +foo str @@ -985,7 +985,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar int @@ -999,7 +999,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-foo +foo String @@ -1007,7 +1007,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar Number @@ -1023,7 +1023,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Baz +Baz string @@ -1037,7 +1037,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Baz +Baz string @@ -1051,7 +1051,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-baz +baz String @@ -1065,7 +1065,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-baz +baz string @@ -1079,7 +1079,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-baz +baz str @@ -1093,7 +1093,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-baz +baz String diff --git a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/docs/listconfigurations/_index.md b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/docs/listconfigurations/_index.md index 930efb549ac5..c28c1b1b3a91 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/docs/listconfigurations/_index.md +++ b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/docs/listconfigurations/_index.md @@ -112,25 +112,25 @@ The following arguments are supported:
-ConfigurationFilters +ConfigurationFilters - List<ConfigurationFilters> + List<ConfigurationFilters>

Holds details about product hierarchy information and filterable property.

-CustomerSubscriptionDetails +CustomerSubscriptionDetails - CustomerSubscriptionDetails + CustomerSubscriptionDetails

Customer subscription properties. Clients can display available products to unregistered customers by explicitly passing subscription details

-SkipToken +SkipToken string @@ -145,25 +145,25 @@ The following arguments are supported:
-ConfigurationFilters +ConfigurationFilters - []ConfigurationFilters + []ConfigurationFilters

Holds details about product hierarchy information and filterable property.

-CustomerSubscriptionDetails +CustomerSubscriptionDetails - CustomerSubscriptionDetails + CustomerSubscriptionDetails

Customer subscription properties. Clients can display available products to unregistered customers by explicitly passing subscription details

-SkipToken +SkipToken string @@ -178,25 +178,25 @@ The following arguments are supported:
-configurationFilters +configurationFilters - List<ConfigurationFilters> + List<ConfigurationFilters>

Holds details about product hierarchy information and filterable property.

-customerSubscriptionDetails +customerSubscriptionDetails - CustomerSubscriptionDetails + CustomerSubscriptionDetails

Customer subscription properties. Clients can display available products to unregistered customers by explicitly passing subscription details

-skipToken +skipToken String @@ -211,25 +211,25 @@ The following arguments are supported:
-configurationFilters +configurationFilters - ConfigurationFilters[] + ConfigurationFilters[]

Holds details about product hierarchy information and filterable property.

-customerSubscriptionDetails +customerSubscriptionDetails - CustomerSubscriptionDetails + CustomerSubscriptionDetails

Customer subscription properties. Clients can display available products to unregistered customers by explicitly passing subscription details

-skipToken +skipToken string @@ -244,25 +244,25 @@ The following arguments are supported:
-configuration_filters +configuration_filters - Sequence[ConfigurationFilters] + Sequence[ConfigurationFilters]

Holds details about product hierarchy information and filterable property.

-customer_subscription_details +customer_subscription_details - CustomerSubscriptionDetails + CustomerSubscriptionDetails

Customer subscription properties. Clients can display available products to unregistered customers by explicitly passing subscription details

-skip_token +skip_token str @@ -277,25 +277,25 @@ The following arguments are supported:
-configurationFilters +configurationFilters - List<Property Map> + List<Property Map>

Holds details about product hierarchy information and filterable property.

-customerSubscriptionDetails +customerSubscriptionDetails - Property Map + Property Map

Customer subscription properties. Clients can display available products to unregistered customers by explicitly passing subscription details

-skipToken +skipToken String @@ -319,16 +319,16 @@ The following output properties are available:
-Value +Value - List<ConfigurationResponse> + List<ConfigurationResponse>

List of configurations.

-NextLink +NextLink string @@ -343,16 +343,16 @@ The following output properties are available:
-Value +Value - []ConfigurationResponse + []ConfigurationResponse

List of configurations.

-NextLink +NextLink string @@ -367,16 +367,16 @@ The following output properties are available:
-value +value - List<ConfigurationResponse> + List<ConfigurationResponse>

List of configurations.

-nextLink +nextLink String @@ -391,16 +391,16 @@ The following output properties are available:
-value +value - ConfigurationResponse[] + ConfigurationResponse[]

List of configurations.

-nextLink +nextLink string @@ -415,16 +415,16 @@ The following output properties are available:
-value +value - Sequence[ConfigurationResponse] + Sequence[ConfigurationResponse]

List of configurations.

-next_link +next_link str @@ -439,16 +439,16 @@ The following output properties are available:
-value +value - List<Property Map> + List<Property Map>

List of configurations.

-nextLink +nextLink String @@ -473,7 +473,7 @@ The following output properties are available:
-AvailabilityStage +AvailabilityStage string @@ -482,7 +482,7 @@ The following output properties are available:
-DisabledReason +DisabledReason string @@ -491,7 +491,7 @@ The following output properties are available:
-DisabledReasonMessage +DisabledReasonMessage string @@ -506,7 +506,7 @@ The following output properties are available:
-AvailabilityStage +AvailabilityStage string @@ -515,7 +515,7 @@ The following output properties are available:
-DisabledReason +DisabledReason string @@ -524,7 +524,7 @@ The following output properties are available:
-DisabledReasonMessage +DisabledReasonMessage string @@ -539,7 +539,7 @@ The following output properties are available:
-availabilityStage +availabilityStage String @@ -548,7 +548,7 @@ The following output properties are available:
-disabledReason +disabledReason String @@ -557,7 +557,7 @@ The following output properties are available:
-disabledReasonMessage +disabledReasonMessage String @@ -572,7 +572,7 @@ The following output properties are available:
-availabilityStage +availabilityStage string @@ -581,7 +581,7 @@ The following output properties are available:
-disabledReason +disabledReason string @@ -590,7 +590,7 @@ The following output properties are available:
-disabledReasonMessage +disabledReasonMessage string @@ -605,7 +605,7 @@ The following output properties are available:
-availability_stage +availability_stage str @@ -614,7 +614,7 @@ The following output properties are available:
-disabled_reason +disabled_reason str @@ -623,7 +623,7 @@ The following output properties are available:
-disabled_reason_message +disabled_reason_message str @@ -638,7 +638,7 @@ The following output properties are available:
-availabilityStage +availabilityStage String @@ -647,7 +647,7 @@ The following output properties are available:
-disabledReason +disabledReason String @@ -656,7 +656,7 @@ The following output properties are available:
-disabledReasonMessage +disabledReasonMessage String @@ -675,7 +675,7 @@ The following output properties are available:
-Frequency +Frequency string @@ -684,16 +684,16 @@ The following output properties are available:
-MeterDetails +MeterDetails - Pav2MeterDetailsResponse | PurchaseMeterDetailsResponse + Pav2MeterDetailsResponse | PurchaseMeterDetailsResponse

Represents MeterDetails

-MeteringType +MeteringType string @@ -702,7 +702,7 @@ The following output properties are available:
-Name +Name string @@ -717,7 +717,7 @@ The following output properties are available:
-Frequency +Frequency string @@ -726,16 +726,16 @@ The following output properties are available:
-MeterDetails +MeterDetails - Pav2MeterDetailsResponse | PurchaseMeterDetailsResponse + Pav2MeterDetailsResponse | PurchaseMeterDetailsResponse

Represents MeterDetails

-MeteringType +MeteringType string @@ -744,7 +744,7 @@ The following output properties are available:
-Name +Name string @@ -759,7 +759,7 @@ The following output properties are available:
-frequency +frequency String @@ -768,16 +768,16 @@ The following output properties are available:
-meterDetails +meterDetails - Pav2MeterDetailsResponse | PurchaseMeterDetailsResponse + Pav2MeterDetailsResponse | PurchaseMeterDetailsResponse

Represents MeterDetails

-meteringType +meteringType String @@ -786,7 +786,7 @@ The following output properties are available:
-name +name String @@ -801,7 +801,7 @@ The following output properties are available:
-frequency +frequency string @@ -810,16 +810,16 @@ The following output properties are available:
-meterDetails +meterDetails - Pav2MeterDetailsResponse | PurchaseMeterDetailsResponse + Pav2MeterDetailsResponse | PurchaseMeterDetailsResponse

Represents MeterDetails

-meteringType +meteringType string @@ -828,7 +828,7 @@ The following output properties are available:
-name +name string @@ -843,7 +843,7 @@ The following output properties are available:
-frequency +frequency str @@ -852,16 +852,16 @@ The following output properties are available:
-meter_details +meter_details - Pav2MeterDetailsResponse | PurchaseMeterDetailsResponse + Pav2MeterDetailsResponse | PurchaseMeterDetailsResponse

Represents MeterDetails

-metering_type +metering_type str @@ -870,7 +870,7 @@ The following output properties are available:
-name +name str @@ -885,7 +885,7 @@ The following output properties are available:
-frequency +frequency String @@ -894,16 +894,16 @@ The following output properties are available:
-meterDetails +meterDetails - Property Map | Property Map + Property Map | Property Map

Represents MeterDetails

-meteringType +meteringType String @@ -912,7 +912,7 @@ The following output properties are available:
-name +name String @@ -931,19 +931,19 @@ The following output properties are available:
-HierarchyInformation +HierarchyInformation - HierarchyInformation + HierarchyInformation

Product hierarchy information

-FilterableProperty +FilterableProperty - List<FilterableProperty> + List<FilterableProperty>

Filters specific to product

@@ -955,19 +955,19 @@ The following output properties are available:
-HierarchyInformation +HierarchyInformation - HierarchyInformation + HierarchyInformation

Product hierarchy information

-FilterableProperty +FilterableProperty - []FilterableProperty + []FilterableProperty

Filters specific to product

@@ -979,19 +979,19 @@ The following output properties are available:
-hierarchyInformation +hierarchyInformation - HierarchyInformation + HierarchyInformation

Product hierarchy information

-filterableProperty +filterableProperty - List<FilterableProperty> + List<FilterableProperty>

Filters specific to product

@@ -1003,19 +1003,19 @@ The following output properties are available:
-hierarchyInformation +hierarchyInformation - HierarchyInformation + HierarchyInformation

Product hierarchy information

-filterableProperty +filterableProperty - FilterableProperty[] + FilterableProperty[]

Filters specific to product

@@ -1027,19 +1027,19 @@ The following output properties are available:
-hierarchy_information +hierarchy_information - HierarchyInformation + HierarchyInformation

Product hierarchy information

-filterable_property +filterable_property - Sequence[FilterableProperty] + Sequence[FilterableProperty]

Filters specific to product

@@ -1051,19 +1051,19 @@ The following output properties are available:
-hierarchyInformation +hierarchyInformation - Property Map + Property Map

Product hierarchy information

-filterableProperty +filterableProperty - List<Property Map> + List<Property Map>

Filters specific to product

@@ -1079,43 +1079,43 @@ The following output properties are available:
-AvailabilityInformation +AvailabilityInformation - AvailabilityInformationResponse + AvailabilityInformationResponse

Availability information of the product system.

-CostInformation +CostInformation - CostInformationResponse + CostInformationResponse

Cost information for the product system.

-Description +Description - DescriptionResponse + DescriptionResponse

Description related to the product system.

-Dimensions +Dimensions - DimensionsResponse + DimensionsResponse

Dimensions of the configuration

-DisplayName +DisplayName string @@ -1124,37 +1124,37 @@ The following output properties are available:
-FilterableProperties +FilterableProperties - List<FilterablePropertyResponse> + List<FilterablePropertyResponse>

list of filters supported for a product

-HierarchyInformation +HierarchyInformation - HierarchyInformationResponse + HierarchyInformationResponse

Hierarchy information of a product.

-ImageInformation +ImageInformation - List<ImageInformationResponse> + List<ImageInformationResponse>

Image information for the product system.

-Specifications +Specifications - List<SpecificationResponse> + List<SpecificationResponse>

Specifications of the configuration

@@ -1166,43 +1166,43 @@ The following output properties are available:
-AvailabilityInformation +AvailabilityInformation - AvailabilityInformationResponse + AvailabilityInformationResponse

Availability information of the product system.

-CostInformation +CostInformation - CostInformationResponse + CostInformationResponse

Cost information for the product system.

-Description +Description - DescriptionResponse + DescriptionResponse

Description related to the product system.

-Dimensions +Dimensions - DimensionsResponse + DimensionsResponse

Dimensions of the configuration

-DisplayName +DisplayName string @@ -1211,37 +1211,37 @@ The following output properties are available:
-FilterableProperties +FilterableProperties - []FilterablePropertyResponse + []FilterablePropertyResponse

list of filters supported for a product

-HierarchyInformation +HierarchyInformation - HierarchyInformationResponse + HierarchyInformationResponse

Hierarchy information of a product.

-ImageInformation +ImageInformation - []ImageInformationResponse + []ImageInformationResponse

Image information for the product system.

-Specifications +Specifications - []SpecificationResponse + []SpecificationResponse

Specifications of the configuration

@@ -1253,43 +1253,43 @@ The following output properties are available:
-availabilityInformation +availabilityInformation - AvailabilityInformationResponse + AvailabilityInformationResponse

Availability information of the product system.

-costInformation +costInformation - CostInformationResponse + CostInformationResponse

Cost information for the product system.

-description +description - DescriptionResponse + DescriptionResponse

Description related to the product system.

-dimensions +dimensions - DimensionsResponse + DimensionsResponse

Dimensions of the configuration

-displayName +displayName String @@ -1298,37 +1298,37 @@ The following output properties are available:
-filterableProperties +filterableProperties - List<FilterablePropertyResponse> + List<FilterablePropertyResponse>

list of filters supported for a product

-hierarchyInformation +hierarchyInformation - HierarchyInformationResponse + HierarchyInformationResponse

Hierarchy information of a product.

-imageInformation +imageInformation - List<ImageInformationResponse> + List<ImageInformationResponse>

Image information for the product system.

-specifications +specifications - List<SpecificationResponse> + List<SpecificationResponse>

Specifications of the configuration

@@ -1340,43 +1340,43 @@ The following output properties are available:
-availabilityInformation +availabilityInformation - AvailabilityInformationResponse + AvailabilityInformationResponse

Availability information of the product system.

-costInformation +costInformation - CostInformationResponse + CostInformationResponse

Cost information for the product system.

-description +description - DescriptionResponse + DescriptionResponse

Description related to the product system.

-dimensions +dimensions - DimensionsResponse + DimensionsResponse

Dimensions of the configuration

-displayName +displayName string @@ -1385,37 +1385,37 @@ The following output properties are available:
-filterableProperties +filterableProperties - FilterablePropertyResponse[] + FilterablePropertyResponse[]

list of filters supported for a product

-hierarchyInformation +hierarchyInformation - HierarchyInformationResponse + HierarchyInformationResponse

Hierarchy information of a product.

-imageInformation +imageInformation - ImageInformationResponse[] + ImageInformationResponse[]

Image information for the product system.

-specifications +specifications - SpecificationResponse[] + SpecificationResponse[]

Specifications of the configuration

@@ -1427,43 +1427,43 @@ The following output properties are available:
-availability_information +availability_information - AvailabilityInformationResponse + AvailabilityInformationResponse

Availability information of the product system.

-cost_information +cost_information - CostInformationResponse + CostInformationResponse

Cost information for the product system.

-description +description - DescriptionResponse + DescriptionResponse

Description related to the product system.

-dimensions +dimensions - DimensionsResponse + DimensionsResponse

Dimensions of the configuration

-display_name +display_name str @@ -1472,37 +1472,37 @@ The following output properties are available:
-filterable_properties +filterable_properties - Sequence[FilterablePropertyResponse] + Sequence[FilterablePropertyResponse]

list of filters supported for a product

-hierarchy_information +hierarchy_information - HierarchyInformationResponse + HierarchyInformationResponse

Hierarchy information of a product.

-image_information +image_information - Sequence[ImageInformationResponse] + Sequence[ImageInformationResponse]

Image information for the product system.

-specifications +specifications - Sequence[SpecificationResponse] + Sequence[SpecificationResponse]

Specifications of the configuration

@@ -1514,43 +1514,43 @@ The following output properties are available:
-availabilityInformation +availabilityInformation - Property Map + Property Map

Availability information of the product system.

-costInformation +costInformation - Property Map + Property Map

Cost information for the product system.

-description +description - Property Map + Property Map

Description related to the product system.

-dimensions +dimensions - Property Map + Property Map

Dimensions of the configuration

-displayName +displayName String @@ -1559,37 +1559,37 @@ The following output properties are available:
-filterableProperties +filterableProperties - List<Property Map> + List<Property Map>

list of filters supported for a product

-hierarchyInformation +hierarchyInformation - Property Map + Property Map

Hierarchy information of a product.

-imageInformation +imageInformation - List<Property Map> + List<Property Map>

Image information for the product system.

-specifications +specifications - List<Property Map> + List<Property Map>

Specifications of the configuration

@@ -1605,7 +1605,7 @@ The following output properties are available:
-BillingInfoUrl +BillingInfoUrl string @@ -1614,10 +1614,10 @@ The following output properties are available:
-BillingMeterDetails +BillingMeterDetails - List<BillingMeterDetailsResponse> + List<BillingMeterDetailsResponse>

Details on the various billing aspects for the product system.

@@ -1629,7 +1629,7 @@ The following output properties are available:
-BillingInfoUrl +BillingInfoUrl string @@ -1638,10 +1638,10 @@ The following output properties are available:
-BillingMeterDetails +BillingMeterDetails - []BillingMeterDetailsResponse + []BillingMeterDetailsResponse

Details on the various billing aspects for the product system.

@@ -1653,7 +1653,7 @@ The following output properties are available:
-billingInfoUrl +billingInfoUrl String @@ -1662,10 +1662,10 @@ The following output properties are available:
-billingMeterDetails +billingMeterDetails - List<BillingMeterDetailsResponse> + List<BillingMeterDetailsResponse>

Details on the various billing aspects for the product system.

@@ -1677,7 +1677,7 @@ The following output properties are available:
-billingInfoUrl +billingInfoUrl string @@ -1686,10 +1686,10 @@ The following output properties are available:
-billingMeterDetails +billingMeterDetails - BillingMeterDetailsResponse[] + BillingMeterDetailsResponse[]

Details on the various billing aspects for the product system.

@@ -1701,7 +1701,7 @@ The following output properties are available:
-billing_info_url +billing_info_url str @@ -1710,10 +1710,10 @@ The following output properties are available:
-billing_meter_details +billing_meter_details - Sequence[BillingMeterDetailsResponse] + Sequence[BillingMeterDetailsResponse]

Details on the various billing aspects for the product system.

@@ -1725,7 +1725,7 @@ The following output properties are available:
-billingInfoUrl +billingInfoUrl String @@ -1734,10 +1734,10 @@ The following output properties are available:
-billingMeterDetails +billingMeterDetails - List<Property Map> + List<Property Map>

Details on the various billing aspects for the product system.

@@ -1753,7 +1753,7 @@ The following output properties are available:
-QuotaId +QuotaId string @@ -1762,7 +1762,7 @@ The following output properties are available:
-LocationPlacementId +LocationPlacementId string @@ -1771,10 +1771,10 @@ The following output properties are available:
-RegisteredFeatures +RegisteredFeatures - List<CustomerSubscriptionRegisteredFeatures> + List<CustomerSubscriptionRegisteredFeatures>

List of registered feature flags for subscription

@@ -1786,7 +1786,7 @@ The following output properties are available:
-QuotaId +QuotaId string @@ -1795,7 +1795,7 @@ The following output properties are available:
-LocationPlacementId +LocationPlacementId string @@ -1804,10 +1804,10 @@ The following output properties are available:
-RegisteredFeatures +RegisteredFeatures - []CustomerSubscriptionRegisteredFeatures + []CustomerSubscriptionRegisteredFeatures

List of registered feature flags for subscription

@@ -1819,7 +1819,7 @@ The following output properties are available:
-quotaId +quotaId String @@ -1828,7 +1828,7 @@ The following output properties are available:
-locationPlacementId +locationPlacementId String @@ -1837,10 +1837,10 @@ The following output properties are available:
-registeredFeatures +registeredFeatures - List<CustomerSubscriptionRegisteredFeatures> + List<CustomerSubscriptionRegisteredFeatures>

List of registered feature flags for subscription

@@ -1852,7 +1852,7 @@ The following output properties are available:
-quotaId +quotaId string @@ -1861,7 +1861,7 @@ The following output properties are available:
-locationPlacementId +locationPlacementId string @@ -1870,10 +1870,10 @@ The following output properties are available:
-registeredFeatures +registeredFeatures - CustomerSubscriptionRegisteredFeatures[] + CustomerSubscriptionRegisteredFeatures[]

List of registered feature flags for subscription

@@ -1885,7 +1885,7 @@ The following output properties are available:
-quota_id +quota_id str @@ -1894,7 +1894,7 @@ The following output properties are available:
-location_placement_id +location_placement_id str @@ -1903,10 +1903,10 @@ The following output properties are available:
-registered_features +registered_features - Sequence[CustomerSubscriptionRegisteredFeatures] + Sequence[CustomerSubscriptionRegisteredFeatures]

List of registered feature flags for subscription

@@ -1918,7 +1918,7 @@ The following output properties are available:
-quotaId +quotaId String @@ -1927,7 +1927,7 @@ The following output properties are available:
-locationPlacementId +locationPlacementId String @@ -1936,10 +1936,10 @@ The following output properties are available:
-registeredFeatures +registeredFeatures - List<Property Map> + List<Property Map>

List of registered feature flags for subscription

@@ -1955,7 +1955,7 @@ The following output properties are available:
-Name +Name string @@ -1964,7 +1964,7 @@ The following output properties are available:
-State +State string @@ -1979,7 +1979,7 @@ The following output properties are available:
-Name +Name string @@ -1988,7 +1988,7 @@ The following output properties are available:
-State +State string @@ -2003,7 +2003,7 @@ The following output properties are available:
-name +name String @@ -2012,7 +2012,7 @@ The following output properties are available:
-state +state String @@ -2027,7 +2027,7 @@ The following output properties are available:
-name +name string @@ -2036,7 +2036,7 @@ The following output properties are available:
-state +state string @@ -2051,7 +2051,7 @@ The following output properties are available:
-name +name str @@ -2060,7 +2060,7 @@ The following output properties are available:
-state +state str @@ -2075,7 +2075,7 @@ The following output properties are available:
-name +name String @@ -2084,7 +2084,7 @@ The following output properties are available:
-state +state String @@ -2103,7 +2103,7 @@ The following output properties are available:
-Attributes +Attributes List<string> @@ -2112,7 +2112,7 @@ The following output properties are available:
-DescriptionType +DescriptionType string @@ -2121,7 +2121,7 @@ The following output properties are available:
-Keywords +Keywords List<string> @@ -2130,16 +2130,16 @@ The following output properties are available:
-Links +Links - List<LinkResponse> + List<LinkResponse>

Links for the product system.

-LongDescription +LongDescription string @@ -2148,7 +2148,7 @@ The following output properties are available:
-ShortDescription +ShortDescription string @@ -2163,7 +2163,7 @@ The following output properties are available:
-Attributes +Attributes []string @@ -2172,7 +2172,7 @@ The following output properties are available:
-DescriptionType +DescriptionType string @@ -2181,7 +2181,7 @@ The following output properties are available:
-Keywords +Keywords []string @@ -2190,16 +2190,16 @@ The following output properties are available:
-Links +Links - []LinkResponse + []LinkResponse

Links for the product system.

-LongDescription +LongDescription string @@ -2208,7 +2208,7 @@ The following output properties are available:
-ShortDescription +ShortDescription string @@ -2223,7 +2223,7 @@ The following output properties are available:
-attributes +attributes List<String> @@ -2232,7 +2232,7 @@ The following output properties are available:
-descriptionType +descriptionType String @@ -2241,7 +2241,7 @@ The following output properties are available:
-keywords +keywords List<String> @@ -2250,16 +2250,16 @@ The following output properties are available:
-links +links - List<LinkResponse> + List<LinkResponse>

Links for the product system.

-longDescription +longDescription String @@ -2268,7 +2268,7 @@ The following output properties are available:
-shortDescription +shortDescription String @@ -2283,7 +2283,7 @@ The following output properties are available:
-attributes +attributes string[] @@ -2292,7 +2292,7 @@ The following output properties are available:
-descriptionType +descriptionType string @@ -2301,7 +2301,7 @@ The following output properties are available:
-keywords +keywords string[] @@ -2310,16 +2310,16 @@ The following output properties are available:
-links +links - LinkResponse[] + LinkResponse[]

Links for the product system.

-longDescription +longDescription string @@ -2328,7 +2328,7 @@ The following output properties are available:
-shortDescription +shortDescription string @@ -2343,7 +2343,7 @@ The following output properties are available:
-attributes +attributes Sequence[str] @@ -2352,7 +2352,7 @@ The following output properties are available:
-description_type +description_type str @@ -2361,7 +2361,7 @@ The following output properties are available:
-keywords +keywords Sequence[str] @@ -2370,16 +2370,16 @@ The following output properties are available:
-links +links - Sequence[LinkResponse] + Sequence[LinkResponse]

Links for the product system.

-long_description +long_description str @@ -2388,7 +2388,7 @@ The following output properties are available:
-short_description +short_description str @@ -2403,7 +2403,7 @@ The following output properties are available:
-attributes +attributes List<String> @@ -2412,7 +2412,7 @@ The following output properties are available:
-descriptionType +descriptionType String @@ -2421,7 +2421,7 @@ The following output properties are available:
-keywords +keywords List<String> @@ -2430,16 +2430,16 @@ The following output properties are available:
-links +links - List<Property Map> + List<Property Map>

Links for the product system.

-longDescription +longDescription String @@ -2448,7 +2448,7 @@ The following output properties are available:
-shortDescription +shortDescription String @@ -2467,7 +2467,7 @@ The following output properties are available:
-Depth +Depth double @@ -2476,7 +2476,7 @@ The following output properties are available:
-Height +Height double @@ -2485,7 +2485,7 @@ The following output properties are available:
-Length +Length double @@ -2494,7 +2494,7 @@ The following output properties are available:
-LengthHeightUnit +LengthHeightUnit string @@ -2503,7 +2503,7 @@ The following output properties are available:
-Weight +Weight double @@ -2512,7 +2512,7 @@ The following output properties are available:
-WeightUnit +WeightUnit string @@ -2521,7 +2521,7 @@ The following output properties are available:
-Width +Width double @@ -2536,7 +2536,7 @@ The following output properties are available:
-Depth +Depth float64 @@ -2545,7 +2545,7 @@ The following output properties are available:
-Height +Height float64 @@ -2554,7 +2554,7 @@ The following output properties are available:
-Length +Length float64 @@ -2563,7 +2563,7 @@ The following output properties are available:
-LengthHeightUnit +LengthHeightUnit string @@ -2572,7 +2572,7 @@ The following output properties are available:
-Weight +Weight float64 @@ -2581,7 +2581,7 @@ The following output properties are available:
-WeightUnit +WeightUnit string @@ -2590,7 +2590,7 @@ The following output properties are available:
-Width +Width float64 @@ -2605,7 +2605,7 @@ The following output properties are available:
-depth +depth Double @@ -2614,7 +2614,7 @@ The following output properties are available:
-height +height Double @@ -2623,7 +2623,7 @@ The following output properties are available:
-length +length Double @@ -2632,7 +2632,7 @@ The following output properties are available:
-lengthHeightUnit +lengthHeightUnit String @@ -2641,7 +2641,7 @@ The following output properties are available:
-weight +weight Double @@ -2650,7 +2650,7 @@ The following output properties are available:
-weightUnit +weightUnit String @@ -2659,7 +2659,7 @@ The following output properties are available:
-width +width Double @@ -2674,7 +2674,7 @@ The following output properties are available:
-depth +depth number @@ -2683,7 +2683,7 @@ The following output properties are available:
-height +height number @@ -2692,7 +2692,7 @@ The following output properties are available:
-length +length number @@ -2701,7 +2701,7 @@ The following output properties are available:
-lengthHeightUnit +lengthHeightUnit string @@ -2710,7 +2710,7 @@ The following output properties are available:
-weight +weight number @@ -2719,7 +2719,7 @@ The following output properties are available:
-weightUnit +weightUnit string @@ -2728,7 +2728,7 @@ The following output properties are available:
-width +width number @@ -2743,7 +2743,7 @@ The following output properties are available:
-depth +depth float @@ -2752,7 +2752,7 @@ The following output properties are available:
-height +height float @@ -2761,7 +2761,7 @@ The following output properties are available:
-length +length float @@ -2770,7 +2770,7 @@ The following output properties are available:
-length_height_unit +length_height_unit str @@ -2779,7 +2779,7 @@ The following output properties are available:
-weight +weight float @@ -2788,7 +2788,7 @@ The following output properties are available:
-weight_unit +weight_unit str @@ -2797,7 +2797,7 @@ The following output properties are available:
-width +width float @@ -2812,7 +2812,7 @@ The following output properties are available:
-depth +depth Number @@ -2821,7 +2821,7 @@ The following output properties are available:
-height +height Number @@ -2830,7 +2830,7 @@ The following output properties are available:
-length +length Number @@ -2839,7 +2839,7 @@ The following output properties are available:
-lengthHeightUnit +lengthHeightUnit String @@ -2848,7 +2848,7 @@ The following output properties are available:
-weight +weight Number @@ -2857,7 +2857,7 @@ The following output properties are available:
-weightUnit +weightUnit String @@ -2866,7 +2866,7 @@ The following output properties are available:
-width +width Number @@ -2885,7 +2885,7 @@ The following output properties are available:
-SupportedValues +SupportedValues List<string> @@ -2894,10 +2894,10 @@ The following output properties are available:
-Type +Type - string | Pulumi.Myedgeorder.SupportedFilterTypes + string | Pulumi.Myedgeorder.SupportedFilterTypes

Type of product filter.

@@ -2909,7 +2909,7 @@ The following output properties are available:
-SupportedValues +SupportedValues []string @@ -2918,10 +2918,10 @@ The following output properties are available:
-Type +Type - string | SupportedFilterTypes + string | SupportedFilterTypes

Type of product filter.

@@ -2933,7 +2933,7 @@ The following output properties are available:
-supportedValues +supportedValues List<String> @@ -2942,10 +2942,10 @@ The following output properties are available:
-type +type - String | SupportedFilterTypes + String | SupportedFilterTypes

Type of product filter.

@@ -2957,7 +2957,7 @@ The following output properties are available:
-supportedValues +supportedValues string[] @@ -2966,10 +2966,10 @@ The following output properties are available:
-type +type - string | SupportedFilterTypes + string | SupportedFilterTypes

Type of product filter.

@@ -2981,7 +2981,7 @@ The following output properties are available:
-supported_values +supported_values Sequence[str] @@ -2990,10 +2990,10 @@ The following output properties are available:
-type +type - str | SupportedFilterTypes + str | SupportedFilterTypes

Type of product filter.

@@ -3005,7 +3005,7 @@ The following output properties are available:
-supportedValues +supportedValues List<String> @@ -3014,10 +3014,10 @@ The following output properties are available:
-type +type - String | "ShipToCountries" | "DoubleEncryptionStatus" + String | "ShipToCountries" | "DoubleEncryptionStatus"

Type of product filter.

@@ -3033,7 +3033,7 @@ The following output properties are available:
-SupportedValues +SupportedValues List<string> @@ -3042,7 +3042,7 @@ The following output properties are available:
-Type +Type string @@ -3057,7 +3057,7 @@ The following output properties are available:
-SupportedValues +SupportedValues []string @@ -3066,7 +3066,7 @@ The following output properties are available:
-Type +Type string @@ -3081,7 +3081,7 @@ The following output properties are available:
-supportedValues +supportedValues List<String> @@ -3090,7 +3090,7 @@ The following output properties are available:
-type +type String @@ -3105,7 +3105,7 @@ The following output properties are available:
-supportedValues +supportedValues string[] @@ -3114,7 +3114,7 @@ The following output properties are available:
-type +type string @@ -3129,7 +3129,7 @@ The following output properties are available:
-supported_values +supported_values Sequence[str] @@ -3138,7 +3138,7 @@ The following output properties are available:
-type +type str @@ -3153,7 +3153,7 @@ The following output properties are available:
-supportedValues +supportedValues List<String> @@ -3162,7 +3162,7 @@ The following output properties are available:
-type +type String @@ -3181,7 +3181,7 @@ The following output properties are available:
-ConfigurationName +ConfigurationName string @@ -3190,7 +3190,7 @@ The following output properties are available:
-ProductFamilyName +ProductFamilyName string @@ -3199,7 +3199,7 @@ The following output properties are available:
-ProductLineName +ProductLineName string @@ -3208,7 +3208,7 @@ The following output properties are available:
-ProductName +ProductName string @@ -3223,7 +3223,7 @@ The following output properties are available:
-ConfigurationName +ConfigurationName string @@ -3232,7 +3232,7 @@ The following output properties are available:
-ProductFamilyName +ProductFamilyName string @@ -3241,7 +3241,7 @@ The following output properties are available:
-ProductLineName +ProductLineName string @@ -3250,7 +3250,7 @@ The following output properties are available:
-ProductName +ProductName string @@ -3265,7 +3265,7 @@ The following output properties are available:
-configurationName +configurationName String @@ -3274,7 +3274,7 @@ The following output properties are available:
-productFamilyName +productFamilyName String @@ -3283,7 +3283,7 @@ The following output properties are available:
-productLineName +productLineName String @@ -3292,7 +3292,7 @@ The following output properties are available:
-productName +productName String @@ -3307,7 +3307,7 @@ The following output properties are available:
-configurationName +configurationName string @@ -3316,7 +3316,7 @@ The following output properties are available:
-productFamilyName +productFamilyName string @@ -3325,7 +3325,7 @@ The following output properties are available:
-productLineName +productLineName string @@ -3334,7 +3334,7 @@ The following output properties are available:
-productName +productName string @@ -3349,7 +3349,7 @@ The following output properties are available:
-configuration_name +configuration_name str @@ -3358,7 +3358,7 @@ The following output properties are available:
-product_family_name +product_family_name str @@ -3367,7 +3367,7 @@ The following output properties are available:
-product_line_name +product_line_name str @@ -3376,7 +3376,7 @@ The following output properties are available:
-product_name +product_name str @@ -3391,7 +3391,7 @@ The following output properties are available:
-configurationName +configurationName String @@ -3400,7 +3400,7 @@ The following output properties are available:
-productFamilyName +productFamilyName String @@ -3409,7 +3409,7 @@ The following output properties are available:
-productLineName +productLineName String @@ -3418,7 +3418,7 @@ The following output properties are available:
-productName +productName String @@ -3437,7 +3437,7 @@ The following output properties are available:
-ConfigurationName +ConfigurationName string @@ -3446,7 +3446,7 @@ The following output properties are available:
-ProductFamilyName +ProductFamilyName string @@ -3455,7 +3455,7 @@ The following output properties are available:
-ProductLineName +ProductLineName string @@ -3464,7 +3464,7 @@ The following output properties are available:
-ProductName +ProductName string @@ -3479,7 +3479,7 @@ The following output properties are available:
-ConfigurationName +ConfigurationName string @@ -3488,7 +3488,7 @@ The following output properties are available:
-ProductFamilyName +ProductFamilyName string @@ -3497,7 +3497,7 @@ The following output properties are available:
-ProductLineName +ProductLineName string @@ -3506,7 +3506,7 @@ The following output properties are available:
-ProductName +ProductName string @@ -3521,7 +3521,7 @@ The following output properties are available:
-configurationName +configurationName String @@ -3530,7 +3530,7 @@ The following output properties are available:
-productFamilyName +productFamilyName String @@ -3539,7 +3539,7 @@ The following output properties are available:
-productLineName +productLineName String @@ -3548,7 +3548,7 @@ The following output properties are available:
-productName +productName String @@ -3563,7 +3563,7 @@ The following output properties are available:
-configurationName +configurationName string @@ -3572,7 +3572,7 @@ The following output properties are available:
-productFamilyName +productFamilyName string @@ -3581,7 +3581,7 @@ The following output properties are available:
-productLineName +productLineName string @@ -3590,7 +3590,7 @@ The following output properties are available:
-productName +productName string @@ -3605,7 +3605,7 @@ The following output properties are available:
-configuration_name +configuration_name str @@ -3614,7 +3614,7 @@ The following output properties are available:
-product_family_name +product_family_name str @@ -3623,7 +3623,7 @@ The following output properties are available:
-product_line_name +product_line_name str @@ -3632,7 +3632,7 @@ The following output properties are available:
-product_name +product_name str @@ -3647,7 +3647,7 @@ The following output properties are available:
-configurationName +configurationName String @@ -3656,7 +3656,7 @@ The following output properties are available:
-productFamilyName +productFamilyName String @@ -3665,7 +3665,7 @@ The following output properties are available:
-productLineName +productLineName String @@ -3674,7 +3674,7 @@ The following output properties are available:
-productName +productName String @@ -3693,7 +3693,7 @@ The following output properties are available:
-ImageType +ImageType string @@ -3702,7 +3702,7 @@ The following output properties are available:
-ImageUrl +ImageUrl string @@ -3717,7 +3717,7 @@ The following output properties are available:
-ImageType +ImageType string @@ -3726,7 +3726,7 @@ The following output properties are available:
-ImageUrl +ImageUrl string @@ -3741,7 +3741,7 @@ The following output properties are available:
-imageType +imageType String @@ -3750,7 +3750,7 @@ The following output properties are available:
-imageUrl +imageUrl String @@ -3765,7 +3765,7 @@ The following output properties are available:
-imageType +imageType string @@ -3774,7 +3774,7 @@ The following output properties are available:
-imageUrl +imageUrl string @@ -3789,7 +3789,7 @@ The following output properties are available:
-image_type +image_type str @@ -3798,7 +3798,7 @@ The following output properties are available:
-image_url +image_url str @@ -3813,7 +3813,7 @@ The following output properties are available:
-imageType +imageType String @@ -3822,7 +3822,7 @@ The following output properties are available:
-imageUrl +imageUrl String @@ -3841,7 +3841,7 @@ The following output properties are available:
-LinkType +LinkType string @@ -3850,7 +3850,7 @@ The following output properties are available:
-LinkUrl +LinkUrl string @@ -3865,7 +3865,7 @@ The following output properties are available:
-LinkType +LinkType string @@ -3874,7 +3874,7 @@ The following output properties are available:
-LinkUrl +LinkUrl string @@ -3889,7 +3889,7 @@ The following output properties are available:
-linkType +linkType String @@ -3898,7 +3898,7 @@ The following output properties are available:
-linkUrl +linkUrl String @@ -3913,7 +3913,7 @@ The following output properties are available:
-linkType +linkType string @@ -3922,7 +3922,7 @@ The following output properties are available:
-linkUrl +linkUrl string @@ -3937,7 +3937,7 @@ The following output properties are available:
-link_type +link_type str @@ -3946,7 +3946,7 @@ The following output properties are available:
-link_url +link_url str @@ -3961,7 +3961,7 @@ The following output properties are available:
-linkType +linkType String @@ -3970,7 +3970,7 @@ The following output properties are available:
-linkUrl +linkUrl String @@ -3989,7 +3989,7 @@ The following output properties are available:
-ChargingType +ChargingType string @@ -3998,7 +3998,7 @@ The following output properties are available:
-MeterGuid +MeterGuid string @@ -4007,7 +4007,7 @@ The following output properties are available:
-Multiplier +Multiplier double @@ -4022,7 +4022,7 @@ The following output properties are available:
-ChargingType +ChargingType string @@ -4031,7 +4031,7 @@ The following output properties are available:
-MeterGuid +MeterGuid string @@ -4040,7 +4040,7 @@ The following output properties are available:
-Multiplier +Multiplier float64 @@ -4055,7 +4055,7 @@ The following output properties are available:
-chargingType +chargingType String @@ -4064,7 +4064,7 @@ The following output properties are available:
-meterGuid +meterGuid String @@ -4073,7 +4073,7 @@ The following output properties are available:
-multiplier +multiplier Double @@ -4088,7 +4088,7 @@ The following output properties are available:
-chargingType +chargingType string @@ -4097,7 +4097,7 @@ The following output properties are available:
-meterGuid +meterGuid string @@ -4106,7 +4106,7 @@ The following output properties are available:
-multiplier +multiplier number @@ -4121,7 +4121,7 @@ The following output properties are available:
-charging_type +charging_type str @@ -4130,7 +4130,7 @@ The following output properties are available:
-meter_guid +meter_guid str @@ -4139,7 +4139,7 @@ The following output properties are available:
-multiplier +multiplier float @@ -4154,7 +4154,7 @@ The following output properties are available:
-chargingType +chargingType String @@ -4163,7 +4163,7 @@ The following output properties are available:
-meterGuid +meterGuid String @@ -4172,7 +4172,7 @@ The following output properties are available:
-multiplier +multiplier Number @@ -4191,7 +4191,7 @@ The following output properties are available:
-ChargingType +ChargingType string @@ -4200,7 +4200,7 @@ The following output properties are available:
-Multiplier +Multiplier double @@ -4209,7 +4209,7 @@ The following output properties are available:
-ProductId +ProductId string @@ -4218,7 +4218,7 @@ The following output properties are available:
-SkuId +SkuId string @@ -4227,7 +4227,7 @@ The following output properties are available:
-TermId +TermId string @@ -4242,7 +4242,7 @@ The following output properties are available:
-ChargingType +ChargingType string @@ -4251,7 +4251,7 @@ The following output properties are available:
-Multiplier +Multiplier float64 @@ -4260,7 +4260,7 @@ The following output properties are available:
-ProductId +ProductId string @@ -4269,7 +4269,7 @@ The following output properties are available:
-SkuId +SkuId string @@ -4278,7 +4278,7 @@ The following output properties are available:
-TermId +TermId string @@ -4293,7 +4293,7 @@ The following output properties are available:
-chargingType +chargingType String @@ -4302,7 +4302,7 @@ The following output properties are available:
-multiplier +multiplier Double @@ -4311,7 +4311,7 @@ The following output properties are available:
-productId +productId String @@ -4320,7 +4320,7 @@ The following output properties are available:
-skuId +skuId String @@ -4329,7 +4329,7 @@ The following output properties are available:
-termId +termId String @@ -4344,7 +4344,7 @@ The following output properties are available:
-chargingType +chargingType string @@ -4353,7 +4353,7 @@ The following output properties are available:
-multiplier +multiplier number @@ -4362,7 +4362,7 @@ The following output properties are available:
-productId +productId string @@ -4371,7 +4371,7 @@ The following output properties are available:
-skuId +skuId string @@ -4380,7 +4380,7 @@ The following output properties are available:
-termId +termId string @@ -4395,7 +4395,7 @@ The following output properties are available:
-charging_type +charging_type str @@ -4404,7 +4404,7 @@ The following output properties are available:
-multiplier +multiplier float @@ -4413,7 +4413,7 @@ The following output properties are available:
-product_id +product_id str @@ -4422,7 +4422,7 @@ The following output properties are available:
-sku_id +sku_id str @@ -4431,7 +4431,7 @@ The following output properties are available:
-term_id +term_id str @@ -4446,7 +4446,7 @@ The following output properties are available:
-chargingType +chargingType String @@ -4455,7 +4455,7 @@ The following output properties are available:
-multiplier +multiplier Number @@ -4464,7 +4464,7 @@ The following output properties are available:
-productId +productId String @@ -4473,7 +4473,7 @@ The following output properties are available:
-skuId +skuId String @@ -4482,7 +4482,7 @@ The following output properties are available:
-termId +termId String @@ -4501,7 +4501,7 @@ The following output properties are available:
-Name +Name string @@ -4510,7 +4510,7 @@ The following output properties are available:
-Value +Value string @@ -4525,7 +4525,7 @@ The following output properties are available:
-Name +Name string @@ -4534,7 +4534,7 @@ The following output properties are available:
-Value +Value string @@ -4549,7 +4549,7 @@ The following output properties are available:
-name +name String @@ -4558,7 +4558,7 @@ The following output properties are available:
-value +value String @@ -4573,7 +4573,7 @@ The following output properties are available:
-name +name string @@ -4582,7 +4582,7 @@ The following output properties are available:
-value +value string @@ -4597,7 +4597,7 @@ The following output properties are available:
-name +name str @@ -4606,7 +4606,7 @@ The following output properties are available:
-value +value str @@ -4621,7 +4621,7 @@ The following output properties are available:
-name +name String @@ -4630,7 +4630,7 @@ The following output properties are available:
-value +value String diff --git a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/docs/listproductfamilies/_index.md b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/docs/listproductfamilies/_index.md index 614aa176274b..391bb4c2092b 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/docs/listproductfamilies/_index.md +++ b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/docs/listproductfamilies/_index.md @@ -114,7 +114,7 @@ The following arguments are supported:
-FilterableProperties +FilterableProperties Dictionary<string, ImmutableArray<FilterableProperty>> @@ -123,16 +123,16 @@ The following arguments are supported:
-CustomerSubscriptionDetails +CustomerSubscriptionDetails - CustomerSubscriptionDetails + CustomerSubscriptionDetails

Customer subscription properties. Clients can display available products to unregistered customers by explicitly passing subscription details

-Expand +Expand string @@ -141,7 +141,7 @@ The following arguments are supported:
-SkipToken +SkipToken string @@ -156,7 +156,7 @@ The following arguments are supported:
-FilterableProperties +FilterableProperties map[string][]FilterableProperty @@ -165,16 +165,16 @@ The following arguments are supported:
-CustomerSubscriptionDetails +CustomerSubscriptionDetails - CustomerSubscriptionDetails + CustomerSubscriptionDetails

Customer subscription properties. Clients can display available products to unregistered customers by explicitly passing subscription details

-Expand +Expand string @@ -183,7 +183,7 @@ The following arguments are supported:
-SkipToken +SkipToken string @@ -198,7 +198,7 @@ The following arguments are supported:
-filterableProperties +filterableProperties Map<String,List<FilterableProperty>> @@ -207,16 +207,16 @@ The following arguments are supported:
-customerSubscriptionDetails +customerSubscriptionDetails - CustomerSubscriptionDetails + CustomerSubscriptionDetails

Customer subscription properties. Clients can display available products to unregistered customers by explicitly passing subscription details

-expand +expand String @@ -225,7 +225,7 @@ The following arguments are supported:
-skipToken +skipToken String @@ -240,7 +240,7 @@ The following arguments are supported:
-filterableProperties +filterableProperties {[key: string]: FilterableProperty[]} @@ -249,16 +249,16 @@ The following arguments are supported:
-customerSubscriptionDetails +customerSubscriptionDetails - CustomerSubscriptionDetails + CustomerSubscriptionDetails

Customer subscription properties. Clients can display available products to unregistered customers by explicitly passing subscription details

-expand +expand string @@ -267,7 +267,7 @@ The following arguments are supported:
-skipToken +skipToken string @@ -282,7 +282,7 @@ The following arguments are supported:
-filterable_properties +filterable_properties Mapping[str, Sequence[FilterableProperty]] @@ -291,16 +291,16 @@ The following arguments are supported:
-customer_subscription_details +customer_subscription_details - CustomerSubscriptionDetails + CustomerSubscriptionDetails

Customer subscription properties. Clients can display available products to unregistered customers by explicitly passing subscription details

-expand +expand str @@ -309,7 +309,7 @@ The following arguments are supported:
-skip_token +skip_token str @@ -324,7 +324,7 @@ The following arguments are supported:
-filterableProperties +filterableProperties Map<List<Property Map>> @@ -333,16 +333,16 @@ The following arguments are supported:
-customerSubscriptionDetails +customerSubscriptionDetails - Property Map + Property Map

Customer subscription properties. Clients can display available products to unregistered customers by explicitly passing subscription details

-expand +expand String @@ -351,7 +351,7 @@ The following arguments are supported:
-skipToken +skipToken String @@ -375,16 +375,16 @@ The following output properties are available:
-Value +Value - List<ProductFamilyResponse> + List<ProductFamilyResponse>

List of product families.

-NextLink +NextLink string @@ -399,16 +399,16 @@ The following output properties are available:
-Value +Value - []ProductFamilyResponse + []ProductFamilyResponse

List of product families.

-NextLink +NextLink string @@ -423,16 +423,16 @@ The following output properties are available:
-value +value - List<ProductFamilyResponse> + List<ProductFamilyResponse>

List of product families.

-nextLink +nextLink String @@ -447,16 +447,16 @@ The following output properties are available:
-value +value - ProductFamilyResponse[] + ProductFamilyResponse[]

List of product families.

-nextLink +nextLink string @@ -471,16 +471,16 @@ The following output properties are available:
-value +value - Sequence[ProductFamilyResponse] + Sequence[ProductFamilyResponse]

List of product families.

-next_link +next_link str @@ -495,16 +495,16 @@ The following output properties are available:
-value +value - List<Property Map> + List<Property Map>

List of product families.

-nextLink +nextLink String @@ -529,7 +529,7 @@ The following output properties are available:
-AvailabilityStage +AvailabilityStage string @@ -538,7 +538,7 @@ The following output properties are available:
-DisabledReason +DisabledReason string @@ -547,7 +547,7 @@ The following output properties are available:
-DisabledReasonMessage +DisabledReasonMessage string @@ -562,7 +562,7 @@ The following output properties are available:
-AvailabilityStage +AvailabilityStage string @@ -571,7 +571,7 @@ The following output properties are available:
-DisabledReason +DisabledReason string @@ -580,7 +580,7 @@ The following output properties are available:
-DisabledReasonMessage +DisabledReasonMessage string @@ -595,7 +595,7 @@ The following output properties are available:
-availabilityStage +availabilityStage String @@ -604,7 +604,7 @@ The following output properties are available:
-disabledReason +disabledReason String @@ -613,7 +613,7 @@ The following output properties are available:
-disabledReasonMessage +disabledReasonMessage String @@ -628,7 +628,7 @@ The following output properties are available:
-availabilityStage +availabilityStage string @@ -637,7 +637,7 @@ The following output properties are available:
-disabledReason +disabledReason string @@ -646,7 +646,7 @@ The following output properties are available:
-disabledReasonMessage +disabledReasonMessage string @@ -661,7 +661,7 @@ The following output properties are available:
-availability_stage +availability_stage str @@ -670,7 +670,7 @@ The following output properties are available:
-disabled_reason +disabled_reason str @@ -679,7 +679,7 @@ The following output properties are available:
-disabled_reason_message +disabled_reason_message str @@ -694,7 +694,7 @@ The following output properties are available:
-availabilityStage +availabilityStage String @@ -703,7 +703,7 @@ The following output properties are available:
-disabledReason +disabledReason String @@ -712,7 +712,7 @@ The following output properties are available:
-disabledReasonMessage +disabledReasonMessage String @@ -731,7 +731,7 @@ The following output properties are available:
-Frequency +Frequency string @@ -740,16 +740,16 @@ The following output properties are available:
-MeterDetails +MeterDetails - Pav2MeterDetailsResponse | PurchaseMeterDetailsResponse + Pav2MeterDetailsResponse | PurchaseMeterDetailsResponse

Represents MeterDetails

-MeteringType +MeteringType string @@ -758,7 +758,7 @@ The following output properties are available:
-Name +Name string @@ -773,7 +773,7 @@ The following output properties are available:
-Frequency +Frequency string @@ -782,16 +782,16 @@ The following output properties are available:
-MeterDetails +MeterDetails - Pav2MeterDetailsResponse | PurchaseMeterDetailsResponse + Pav2MeterDetailsResponse | PurchaseMeterDetailsResponse

Represents MeterDetails

-MeteringType +MeteringType string @@ -800,7 +800,7 @@ The following output properties are available:
-Name +Name string @@ -815,7 +815,7 @@ The following output properties are available:
-frequency +frequency String @@ -824,16 +824,16 @@ The following output properties are available:
-meterDetails +meterDetails - Pav2MeterDetailsResponse | PurchaseMeterDetailsResponse + Pav2MeterDetailsResponse | PurchaseMeterDetailsResponse

Represents MeterDetails

-meteringType +meteringType String @@ -842,7 +842,7 @@ The following output properties are available:
-name +name String @@ -857,7 +857,7 @@ The following output properties are available:
-frequency +frequency string @@ -866,16 +866,16 @@ The following output properties are available:
-meterDetails +meterDetails - Pav2MeterDetailsResponse | PurchaseMeterDetailsResponse + Pav2MeterDetailsResponse | PurchaseMeterDetailsResponse

Represents MeterDetails

-meteringType +meteringType string @@ -884,7 +884,7 @@ The following output properties are available:
-name +name string @@ -899,7 +899,7 @@ The following output properties are available:
-frequency +frequency str @@ -908,16 +908,16 @@ The following output properties are available:
-meter_details +meter_details - Pav2MeterDetailsResponse | PurchaseMeterDetailsResponse + Pav2MeterDetailsResponse | PurchaseMeterDetailsResponse

Represents MeterDetails

-metering_type +metering_type str @@ -926,7 +926,7 @@ The following output properties are available:
-name +name str @@ -941,7 +941,7 @@ The following output properties are available:
-frequency +frequency String @@ -950,16 +950,16 @@ The following output properties are available:
-meterDetails +meterDetails - Property Map | Property Map + Property Map | Property Map

Represents MeterDetails

-meteringType +meteringType String @@ -968,7 +968,7 @@ The following output properties are available:
-name +name String @@ -987,43 +987,43 @@ The following output properties are available:
-AvailabilityInformation +AvailabilityInformation - AvailabilityInformationResponse + AvailabilityInformationResponse

Availability information of the product system.

-CostInformation +CostInformation - CostInformationResponse + CostInformationResponse

Cost information for the product system.

-Description +Description - DescriptionResponse + DescriptionResponse

Description related to the product system.

-Dimensions +Dimensions - DimensionsResponse + DimensionsResponse

Dimensions of the configuration

-DisplayName +DisplayName string @@ -1032,37 +1032,37 @@ The following output properties are available:
-FilterableProperties +FilterableProperties - List<FilterablePropertyResponse> + List<FilterablePropertyResponse>

list of filters supported for a product

-HierarchyInformation +HierarchyInformation - HierarchyInformationResponse + HierarchyInformationResponse

Hierarchy information of a product.

-ImageInformation +ImageInformation - List<ImageInformationResponse> + List<ImageInformationResponse>

Image information for the product system.

-Specifications +Specifications - List<SpecificationResponse> + List<SpecificationResponse>

Specifications of the configuration

@@ -1074,43 +1074,43 @@ The following output properties are available:
-AvailabilityInformation +AvailabilityInformation - AvailabilityInformationResponse + AvailabilityInformationResponse

Availability information of the product system.

-CostInformation +CostInformation - CostInformationResponse + CostInformationResponse

Cost information for the product system.

-Description +Description - DescriptionResponse + DescriptionResponse

Description related to the product system.

-Dimensions +Dimensions - DimensionsResponse + DimensionsResponse

Dimensions of the configuration

-DisplayName +DisplayName string @@ -1119,37 +1119,37 @@ The following output properties are available:
-FilterableProperties +FilterableProperties - []FilterablePropertyResponse + []FilterablePropertyResponse

list of filters supported for a product

-HierarchyInformation +HierarchyInformation - HierarchyInformationResponse + HierarchyInformationResponse

Hierarchy information of a product.

-ImageInformation +ImageInformation - []ImageInformationResponse + []ImageInformationResponse

Image information for the product system.

-Specifications +Specifications - []SpecificationResponse + []SpecificationResponse

Specifications of the configuration

@@ -1161,43 +1161,43 @@ The following output properties are available:
-availabilityInformation +availabilityInformation - AvailabilityInformationResponse + AvailabilityInformationResponse

Availability information of the product system.

-costInformation +costInformation - CostInformationResponse + CostInformationResponse

Cost information for the product system.

-description +description - DescriptionResponse + DescriptionResponse

Description related to the product system.

-dimensions +dimensions - DimensionsResponse + DimensionsResponse

Dimensions of the configuration

-displayName +displayName String @@ -1206,37 +1206,37 @@ The following output properties are available:
-filterableProperties +filterableProperties - List<FilterablePropertyResponse> + List<FilterablePropertyResponse>

list of filters supported for a product

-hierarchyInformation +hierarchyInformation - HierarchyInformationResponse + HierarchyInformationResponse

Hierarchy information of a product.

-imageInformation +imageInformation - List<ImageInformationResponse> + List<ImageInformationResponse>

Image information for the product system.

-specifications +specifications - List<SpecificationResponse> + List<SpecificationResponse>

Specifications of the configuration

@@ -1248,43 +1248,43 @@ The following output properties are available:
-availabilityInformation +availabilityInformation - AvailabilityInformationResponse + AvailabilityInformationResponse

Availability information of the product system.

-costInformation +costInformation - CostInformationResponse + CostInformationResponse

Cost information for the product system.

-description +description - DescriptionResponse + DescriptionResponse

Description related to the product system.

-dimensions +dimensions - DimensionsResponse + DimensionsResponse

Dimensions of the configuration

-displayName +displayName string @@ -1293,37 +1293,37 @@ The following output properties are available:
-filterableProperties +filterableProperties - FilterablePropertyResponse[] + FilterablePropertyResponse[]

list of filters supported for a product

-hierarchyInformation +hierarchyInformation - HierarchyInformationResponse + HierarchyInformationResponse

Hierarchy information of a product.

-imageInformation +imageInformation - ImageInformationResponse[] + ImageInformationResponse[]

Image information for the product system.

-specifications +specifications - SpecificationResponse[] + SpecificationResponse[]

Specifications of the configuration

@@ -1335,43 +1335,43 @@ The following output properties are available:
-availability_information +availability_information - AvailabilityInformationResponse + AvailabilityInformationResponse

Availability information of the product system.

-cost_information +cost_information - CostInformationResponse + CostInformationResponse

Cost information for the product system.

-description +description - DescriptionResponse + DescriptionResponse

Description related to the product system.

-dimensions +dimensions - DimensionsResponse + DimensionsResponse

Dimensions of the configuration

-display_name +display_name str @@ -1380,37 +1380,37 @@ The following output properties are available:
-filterable_properties +filterable_properties - Sequence[FilterablePropertyResponse] + Sequence[FilterablePropertyResponse]

list of filters supported for a product

-hierarchy_information +hierarchy_information - HierarchyInformationResponse + HierarchyInformationResponse

Hierarchy information of a product.

-image_information +image_information - Sequence[ImageInformationResponse] + Sequence[ImageInformationResponse]

Image information for the product system.

-specifications +specifications - Sequence[SpecificationResponse] + Sequence[SpecificationResponse]

Specifications of the configuration

@@ -1422,43 +1422,43 @@ The following output properties are available:
-availabilityInformation +availabilityInformation - Property Map + Property Map

Availability information of the product system.

-costInformation +costInformation - Property Map + Property Map

Cost information for the product system.

-description +description - Property Map + Property Map

Description related to the product system.

-dimensions +dimensions - Property Map + Property Map

Dimensions of the configuration

-displayName +displayName String @@ -1467,37 +1467,37 @@ The following output properties are available:
-filterableProperties +filterableProperties - List<Property Map> + List<Property Map>

list of filters supported for a product

-hierarchyInformation +hierarchyInformation - Property Map + Property Map

Hierarchy information of a product.

-imageInformation +imageInformation - List<Property Map> + List<Property Map>

Image information for the product system.

-specifications +specifications - List<Property Map> + List<Property Map>

Specifications of the configuration

@@ -1513,7 +1513,7 @@ The following output properties are available:
-BillingInfoUrl +BillingInfoUrl string @@ -1522,10 +1522,10 @@ The following output properties are available:
-BillingMeterDetails +BillingMeterDetails - List<BillingMeterDetailsResponse> + List<BillingMeterDetailsResponse>

Details on the various billing aspects for the product system.

@@ -1537,7 +1537,7 @@ The following output properties are available:
-BillingInfoUrl +BillingInfoUrl string @@ -1546,10 +1546,10 @@ The following output properties are available:
-BillingMeterDetails +BillingMeterDetails - []BillingMeterDetailsResponse + []BillingMeterDetailsResponse

Details on the various billing aspects for the product system.

@@ -1561,7 +1561,7 @@ The following output properties are available:
-billingInfoUrl +billingInfoUrl String @@ -1570,10 +1570,10 @@ The following output properties are available:
-billingMeterDetails +billingMeterDetails - List<BillingMeterDetailsResponse> + List<BillingMeterDetailsResponse>

Details on the various billing aspects for the product system.

@@ -1585,7 +1585,7 @@ The following output properties are available:
-billingInfoUrl +billingInfoUrl string @@ -1594,10 +1594,10 @@ The following output properties are available:
-billingMeterDetails +billingMeterDetails - BillingMeterDetailsResponse[] + BillingMeterDetailsResponse[]

Details on the various billing aspects for the product system.

@@ -1609,7 +1609,7 @@ The following output properties are available:
-billing_info_url +billing_info_url str @@ -1618,10 +1618,10 @@ The following output properties are available:
-billing_meter_details +billing_meter_details - Sequence[BillingMeterDetailsResponse] + Sequence[BillingMeterDetailsResponse]

Details on the various billing aspects for the product system.

@@ -1633,7 +1633,7 @@ The following output properties are available:
-billingInfoUrl +billingInfoUrl String @@ -1642,10 +1642,10 @@ The following output properties are available:
-billingMeterDetails +billingMeterDetails - List<Property Map> + List<Property Map>

Details on the various billing aspects for the product system.

@@ -1661,7 +1661,7 @@ The following output properties are available:
-QuotaId +QuotaId string @@ -1670,7 +1670,7 @@ The following output properties are available:
-LocationPlacementId +LocationPlacementId string @@ -1679,10 +1679,10 @@ The following output properties are available:
-RegisteredFeatures +RegisteredFeatures - List<CustomerSubscriptionRegisteredFeatures> + List<CustomerSubscriptionRegisteredFeatures>

List of registered feature flags for subscription

@@ -1694,7 +1694,7 @@ The following output properties are available:
-QuotaId +QuotaId string @@ -1703,7 +1703,7 @@ The following output properties are available:
-LocationPlacementId +LocationPlacementId string @@ -1712,10 +1712,10 @@ The following output properties are available:
-RegisteredFeatures +RegisteredFeatures - []CustomerSubscriptionRegisteredFeatures + []CustomerSubscriptionRegisteredFeatures

List of registered feature flags for subscription

@@ -1727,7 +1727,7 @@ The following output properties are available:
-quotaId +quotaId String @@ -1736,7 +1736,7 @@ The following output properties are available:
-locationPlacementId +locationPlacementId String @@ -1745,10 +1745,10 @@ The following output properties are available:
-registeredFeatures +registeredFeatures - List<CustomerSubscriptionRegisteredFeatures> + List<CustomerSubscriptionRegisteredFeatures>

List of registered feature flags for subscription

@@ -1760,7 +1760,7 @@ The following output properties are available:
-quotaId +quotaId string @@ -1769,7 +1769,7 @@ The following output properties are available:
-locationPlacementId +locationPlacementId string @@ -1778,10 +1778,10 @@ The following output properties are available:
-registeredFeatures +registeredFeatures - CustomerSubscriptionRegisteredFeatures[] + CustomerSubscriptionRegisteredFeatures[]

List of registered feature flags for subscription

@@ -1793,7 +1793,7 @@ The following output properties are available:
-quota_id +quota_id str @@ -1802,7 +1802,7 @@ The following output properties are available:
-location_placement_id +location_placement_id str @@ -1811,10 +1811,10 @@ The following output properties are available:
-registered_features +registered_features - Sequence[CustomerSubscriptionRegisteredFeatures] + Sequence[CustomerSubscriptionRegisteredFeatures]

List of registered feature flags for subscription

@@ -1826,7 +1826,7 @@ The following output properties are available:
-quotaId +quotaId String @@ -1835,7 +1835,7 @@ The following output properties are available:
-locationPlacementId +locationPlacementId String @@ -1844,10 +1844,10 @@ The following output properties are available:
-registeredFeatures +registeredFeatures - List<Property Map> + List<Property Map>

List of registered feature flags for subscription

@@ -1863,7 +1863,7 @@ The following output properties are available:
-Name +Name string @@ -1872,7 +1872,7 @@ The following output properties are available:
-State +State string @@ -1887,7 +1887,7 @@ The following output properties are available:
-Name +Name string @@ -1896,7 +1896,7 @@ The following output properties are available:
-State +State string @@ -1911,7 +1911,7 @@ The following output properties are available:
-name +name String @@ -1920,7 +1920,7 @@ The following output properties are available:
-state +state String @@ -1935,7 +1935,7 @@ The following output properties are available:
-name +name string @@ -1944,7 +1944,7 @@ The following output properties are available:
-state +state string @@ -1959,7 +1959,7 @@ The following output properties are available:
-name +name str @@ -1968,7 +1968,7 @@ The following output properties are available:
-state +state str @@ -1983,7 +1983,7 @@ The following output properties are available:
-name +name String @@ -1992,7 +1992,7 @@ The following output properties are available:
-state +state String @@ -2011,7 +2011,7 @@ The following output properties are available:
-Attributes +Attributes List<string> @@ -2020,7 +2020,7 @@ The following output properties are available:
-DescriptionType +DescriptionType string @@ -2029,7 +2029,7 @@ The following output properties are available:
-Keywords +Keywords List<string> @@ -2038,16 +2038,16 @@ The following output properties are available:
-Links +Links - List<LinkResponse> + List<LinkResponse>

Links for the product system.

-LongDescription +LongDescription string @@ -2056,7 +2056,7 @@ The following output properties are available:
-ShortDescription +ShortDescription string @@ -2071,7 +2071,7 @@ The following output properties are available:
-Attributes +Attributes []string @@ -2080,7 +2080,7 @@ The following output properties are available:
-DescriptionType +DescriptionType string @@ -2089,7 +2089,7 @@ The following output properties are available:
-Keywords +Keywords []string @@ -2098,16 +2098,16 @@ The following output properties are available:
-Links +Links - []LinkResponse + []LinkResponse

Links for the product system.

-LongDescription +LongDescription string @@ -2116,7 +2116,7 @@ The following output properties are available:
-ShortDescription +ShortDescription string @@ -2131,7 +2131,7 @@ The following output properties are available:
-attributes +attributes List<String> @@ -2140,7 +2140,7 @@ The following output properties are available:
-descriptionType +descriptionType String @@ -2149,7 +2149,7 @@ The following output properties are available:
-keywords +keywords List<String> @@ -2158,16 +2158,16 @@ The following output properties are available:
-links +links - List<LinkResponse> + List<LinkResponse>

Links for the product system.

-longDescription +longDescription String @@ -2176,7 +2176,7 @@ The following output properties are available:
-shortDescription +shortDescription String @@ -2191,7 +2191,7 @@ The following output properties are available:
-attributes +attributes string[] @@ -2200,7 +2200,7 @@ The following output properties are available:
-descriptionType +descriptionType string @@ -2209,7 +2209,7 @@ The following output properties are available:
-keywords +keywords string[] @@ -2218,16 +2218,16 @@ The following output properties are available:
-links +links - LinkResponse[] + LinkResponse[]

Links for the product system.

-longDescription +longDescription string @@ -2236,7 +2236,7 @@ The following output properties are available:
-shortDescription +shortDescription string @@ -2251,7 +2251,7 @@ The following output properties are available:
-attributes +attributes Sequence[str] @@ -2260,7 +2260,7 @@ The following output properties are available:
-description_type +description_type str @@ -2269,7 +2269,7 @@ The following output properties are available:
-keywords +keywords Sequence[str] @@ -2278,16 +2278,16 @@ The following output properties are available:
-links +links - Sequence[LinkResponse] + Sequence[LinkResponse]

Links for the product system.

-long_description +long_description str @@ -2296,7 +2296,7 @@ The following output properties are available:
-short_description +short_description str @@ -2311,7 +2311,7 @@ The following output properties are available:
-attributes +attributes List<String> @@ -2320,7 +2320,7 @@ The following output properties are available:
-descriptionType +descriptionType String @@ -2329,7 +2329,7 @@ The following output properties are available:
-keywords +keywords List<String> @@ -2338,16 +2338,16 @@ The following output properties are available:
-links +links - List<Property Map> + List<Property Map>

Links for the product system.

-longDescription +longDescription String @@ -2356,7 +2356,7 @@ The following output properties are available:
-shortDescription +shortDescription String @@ -2375,7 +2375,7 @@ The following output properties are available:
-Depth +Depth double @@ -2384,7 +2384,7 @@ The following output properties are available:
-Height +Height double @@ -2393,7 +2393,7 @@ The following output properties are available:
-Length +Length double @@ -2402,7 +2402,7 @@ The following output properties are available:
-LengthHeightUnit +LengthHeightUnit string @@ -2411,7 +2411,7 @@ The following output properties are available:
-Weight +Weight double @@ -2420,7 +2420,7 @@ The following output properties are available:
-WeightUnit +WeightUnit string @@ -2429,7 +2429,7 @@ The following output properties are available:
-Width +Width double @@ -2444,7 +2444,7 @@ The following output properties are available:
-Depth +Depth float64 @@ -2453,7 +2453,7 @@ The following output properties are available:
-Height +Height float64 @@ -2462,7 +2462,7 @@ The following output properties are available:
-Length +Length float64 @@ -2471,7 +2471,7 @@ The following output properties are available:
-LengthHeightUnit +LengthHeightUnit string @@ -2480,7 +2480,7 @@ The following output properties are available:
-Weight +Weight float64 @@ -2489,7 +2489,7 @@ The following output properties are available:
-WeightUnit +WeightUnit string @@ -2498,7 +2498,7 @@ The following output properties are available:
-Width +Width float64 @@ -2513,7 +2513,7 @@ The following output properties are available:
-depth +depth Double @@ -2522,7 +2522,7 @@ The following output properties are available:
-height +height Double @@ -2531,7 +2531,7 @@ The following output properties are available:
-length +length Double @@ -2540,7 +2540,7 @@ The following output properties are available:
-lengthHeightUnit +lengthHeightUnit String @@ -2549,7 +2549,7 @@ The following output properties are available:
-weight +weight Double @@ -2558,7 +2558,7 @@ The following output properties are available:
-weightUnit +weightUnit String @@ -2567,7 +2567,7 @@ The following output properties are available:
-width +width Double @@ -2582,7 +2582,7 @@ The following output properties are available:
-depth +depth number @@ -2591,7 +2591,7 @@ The following output properties are available:
-height +height number @@ -2600,7 +2600,7 @@ The following output properties are available:
-length +length number @@ -2609,7 +2609,7 @@ The following output properties are available:
-lengthHeightUnit +lengthHeightUnit string @@ -2618,7 +2618,7 @@ The following output properties are available:
-weight +weight number @@ -2627,7 +2627,7 @@ The following output properties are available:
-weightUnit +weightUnit string @@ -2636,7 +2636,7 @@ The following output properties are available:
-width +width number @@ -2651,7 +2651,7 @@ The following output properties are available:
-depth +depth float @@ -2660,7 +2660,7 @@ The following output properties are available:
-height +height float @@ -2669,7 +2669,7 @@ The following output properties are available:
-length +length float @@ -2678,7 +2678,7 @@ The following output properties are available:
-length_height_unit +length_height_unit str @@ -2687,7 +2687,7 @@ The following output properties are available:
-weight +weight float @@ -2696,7 +2696,7 @@ The following output properties are available:
-weight_unit +weight_unit str @@ -2705,7 +2705,7 @@ The following output properties are available:
-width +width float @@ -2720,7 +2720,7 @@ The following output properties are available:
-depth +depth Number @@ -2729,7 +2729,7 @@ The following output properties are available:
-height +height Number @@ -2738,7 +2738,7 @@ The following output properties are available:
-length +length Number @@ -2747,7 +2747,7 @@ The following output properties are available:
-lengthHeightUnit +lengthHeightUnit String @@ -2756,7 +2756,7 @@ The following output properties are available:
-weight +weight Number @@ -2765,7 +2765,7 @@ The following output properties are available:
-weightUnit +weightUnit String @@ -2774,7 +2774,7 @@ The following output properties are available:
-width +width Number @@ -2793,7 +2793,7 @@ The following output properties are available:
-SupportedValues +SupportedValues List<string> @@ -2802,10 +2802,10 @@ The following output properties are available:
-Type +Type - string | Pulumi.Myedgeorder.SupportedFilterTypes + string | Pulumi.Myedgeorder.SupportedFilterTypes

Type of product filter.

@@ -2817,7 +2817,7 @@ The following output properties are available:
-SupportedValues +SupportedValues []string @@ -2826,10 +2826,10 @@ The following output properties are available:
-Type +Type - string | SupportedFilterTypes + string | SupportedFilterTypes

Type of product filter.

@@ -2841,7 +2841,7 @@ The following output properties are available:
-supportedValues +supportedValues List<String> @@ -2850,10 +2850,10 @@ The following output properties are available:
-type +type - String | SupportedFilterTypes + String | SupportedFilterTypes

Type of product filter.

@@ -2865,7 +2865,7 @@ The following output properties are available:
-supportedValues +supportedValues string[] @@ -2874,10 +2874,10 @@ The following output properties are available:
-type +type - string | SupportedFilterTypes + string | SupportedFilterTypes

Type of product filter.

@@ -2889,7 +2889,7 @@ The following output properties are available:
-supported_values +supported_values Sequence[str] @@ -2898,10 +2898,10 @@ The following output properties are available:
-type +type - str | SupportedFilterTypes + str | SupportedFilterTypes

Type of product filter.

@@ -2913,7 +2913,7 @@ The following output properties are available:
-supportedValues +supportedValues List<String> @@ -2922,10 +2922,10 @@ The following output properties are available:
-type +type - String | "ShipToCountries" | "DoubleEncryptionStatus" + String | "ShipToCountries" | "DoubleEncryptionStatus"

Type of product filter.

@@ -2941,7 +2941,7 @@ The following output properties are available:
-SupportedValues +SupportedValues List<string> @@ -2950,7 +2950,7 @@ The following output properties are available:
-Type +Type string @@ -2965,7 +2965,7 @@ The following output properties are available:
-SupportedValues +SupportedValues []string @@ -2974,7 +2974,7 @@ The following output properties are available:
-Type +Type string @@ -2989,7 +2989,7 @@ The following output properties are available:
-supportedValues +supportedValues List<String> @@ -2998,7 +2998,7 @@ The following output properties are available:
-type +type String @@ -3013,7 +3013,7 @@ The following output properties are available:
-supportedValues +supportedValues string[] @@ -3022,7 +3022,7 @@ The following output properties are available:
-type +type string @@ -3037,7 +3037,7 @@ The following output properties are available:
-supported_values +supported_values Sequence[str] @@ -3046,7 +3046,7 @@ The following output properties are available:
-type +type str @@ -3061,7 +3061,7 @@ The following output properties are available:
-supportedValues +supportedValues List<String> @@ -3070,7 +3070,7 @@ The following output properties are available:
-type +type String @@ -3089,7 +3089,7 @@ The following output properties are available:
-ConfigurationName +ConfigurationName string @@ -3098,7 +3098,7 @@ The following output properties are available:
-ProductFamilyName +ProductFamilyName string @@ -3107,7 +3107,7 @@ The following output properties are available:
-ProductLineName +ProductLineName string @@ -3116,7 +3116,7 @@ The following output properties are available:
-ProductName +ProductName string @@ -3131,7 +3131,7 @@ The following output properties are available:
-ConfigurationName +ConfigurationName string @@ -3140,7 +3140,7 @@ The following output properties are available:
-ProductFamilyName +ProductFamilyName string @@ -3149,7 +3149,7 @@ The following output properties are available:
-ProductLineName +ProductLineName string @@ -3158,7 +3158,7 @@ The following output properties are available:
-ProductName +ProductName string @@ -3173,7 +3173,7 @@ The following output properties are available:
-configurationName +configurationName String @@ -3182,7 +3182,7 @@ The following output properties are available:
-productFamilyName +productFamilyName String @@ -3191,7 +3191,7 @@ The following output properties are available:
-productLineName +productLineName String @@ -3200,7 +3200,7 @@ The following output properties are available:
-productName +productName String @@ -3215,7 +3215,7 @@ The following output properties are available:
-configurationName +configurationName string @@ -3224,7 +3224,7 @@ The following output properties are available:
-productFamilyName +productFamilyName string @@ -3233,7 +3233,7 @@ The following output properties are available:
-productLineName +productLineName string @@ -3242,7 +3242,7 @@ The following output properties are available:
-productName +productName string @@ -3257,7 +3257,7 @@ The following output properties are available:
-configuration_name +configuration_name str @@ -3266,7 +3266,7 @@ The following output properties are available:
-product_family_name +product_family_name str @@ -3275,7 +3275,7 @@ The following output properties are available:
-product_line_name +product_line_name str @@ -3284,7 +3284,7 @@ The following output properties are available:
-product_name +product_name str @@ -3299,7 +3299,7 @@ The following output properties are available:
-configurationName +configurationName String @@ -3308,7 +3308,7 @@ The following output properties are available:
-productFamilyName +productFamilyName String @@ -3317,7 +3317,7 @@ The following output properties are available:
-productLineName +productLineName String @@ -3326,7 +3326,7 @@ The following output properties are available:
-productName +productName String @@ -3345,7 +3345,7 @@ The following output properties are available:
-ImageType +ImageType string @@ -3354,7 +3354,7 @@ The following output properties are available:
-ImageUrl +ImageUrl string @@ -3369,7 +3369,7 @@ The following output properties are available:
-ImageType +ImageType string @@ -3378,7 +3378,7 @@ The following output properties are available:
-ImageUrl +ImageUrl string @@ -3393,7 +3393,7 @@ The following output properties are available:
-imageType +imageType String @@ -3402,7 +3402,7 @@ The following output properties are available:
-imageUrl +imageUrl String @@ -3417,7 +3417,7 @@ The following output properties are available:
-imageType +imageType string @@ -3426,7 +3426,7 @@ The following output properties are available:
-imageUrl +imageUrl string @@ -3441,7 +3441,7 @@ The following output properties are available:
-image_type +image_type str @@ -3450,7 +3450,7 @@ The following output properties are available:
-image_url +image_url str @@ -3465,7 +3465,7 @@ The following output properties are available:
-imageType +imageType String @@ -3474,7 +3474,7 @@ The following output properties are available:
-imageUrl +imageUrl String @@ -3493,7 +3493,7 @@ The following output properties are available:
-LinkType +LinkType string @@ -3502,7 +3502,7 @@ The following output properties are available:
-LinkUrl +LinkUrl string @@ -3517,7 +3517,7 @@ The following output properties are available:
-LinkType +LinkType string @@ -3526,7 +3526,7 @@ The following output properties are available:
-LinkUrl +LinkUrl string @@ -3541,7 +3541,7 @@ The following output properties are available:
-linkType +linkType String @@ -3550,7 +3550,7 @@ The following output properties are available:
-linkUrl +linkUrl String @@ -3565,7 +3565,7 @@ The following output properties are available:
-linkType +linkType string @@ -3574,7 +3574,7 @@ The following output properties are available:
-linkUrl +linkUrl string @@ -3589,7 +3589,7 @@ The following output properties are available:
-link_type +link_type str @@ -3598,7 +3598,7 @@ The following output properties are available:
-link_url +link_url str @@ -3613,7 +3613,7 @@ The following output properties are available:
-linkType +linkType String @@ -3622,7 +3622,7 @@ The following output properties are available:
-linkUrl +linkUrl String @@ -3641,7 +3641,7 @@ The following output properties are available:
-ChargingType +ChargingType string @@ -3650,7 +3650,7 @@ The following output properties are available:
-MeterGuid +MeterGuid string @@ -3659,7 +3659,7 @@ The following output properties are available:
-Multiplier +Multiplier double @@ -3674,7 +3674,7 @@ The following output properties are available:
-ChargingType +ChargingType string @@ -3683,7 +3683,7 @@ The following output properties are available:
-MeterGuid +MeterGuid string @@ -3692,7 +3692,7 @@ The following output properties are available:
-Multiplier +Multiplier float64 @@ -3707,7 +3707,7 @@ The following output properties are available:
-chargingType +chargingType String @@ -3716,7 +3716,7 @@ The following output properties are available:
-meterGuid +meterGuid String @@ -3725,7 +3725,7 @@ The following output properties are available:
-multiplier +multiplier Double @@ -3740,7 +3740,7 @@ The following output properties are available:
-chargingType +chargingType string @@ -3749,7 +3749,7 @@ The following output properties are available:
-meterGuid +meterGuid string @@ -3758,7 +3758,7 @@ The following output properties are available:
-multiplier +multiplier number @@ -3773,7 +3773,7 @@ The following output properties are available:
-charging_type +charging_type str @@ -3782,7 +3782,7 @@ The following output properties are available:
-meter_guid +meter_guid str @@ -3791,7 +3791,7 @@ The following output properties are available:
-multiplier +multiplier float @@ -3806,7 +3806,7 @@ The following output properties are available:
-chargingType +chargingType String @@ -3815,7 +3815,7 @@ The following output properties are available:
-meterGuid +meterGuid String @@ -3824,7 +3824,7 @@ The following output properties are available:
-multiplier +multiplier Number @@ -3843,34 +3843,34 @@ The following output properties are available:
-AvailabilityInformation +AvailabilityInformation - AvailabilityInformationResponse + AvailabilityInformationResponse

Availability information of the product system.

-CostInformation +CostInformation - CostInformationResponse + CostInformationResponse

Cost information for the product system.

-Description +Description - DescriptionResponse + DescriptionResponse

Description related to the product system.

-DisplayName +DisplayName string @@ -3879,37 +3879,37 @@ The following output properties are available:
-FilterableProperties +FilterableProperties - List<FilterablePropertyResponse> + List<FilterablePropertyResponse>

list of filters supported for a product

-HierarchyInformation +HierarchyInformation - HierarchyInformationResponse + HierarchyInformationResponse

Hierarchy information of a product.

-ImageInformation +ImageInformation - List<ImageInformationResponse> + List<ImageInformationResponse>

Image information for the product system.

-ProductLines +ProductLines - List<ProductLineResponse> + List<ProductLineResponse>

List of product lines supported in the product family

@@ -3921,34 +3921,34 @@ The following output properties are available:
-AvailabilityInformation +AvailabilityInformation - AvailabilityInformationResponse + AvailabilityInformationResponse

Availability information of the product system.

-CostInformation +CostInformation - CostInformationResponse + CostInformationResponse

Cost information for the product system.

-Description +Description - DescriptionResponse + DescriptionResponse

Description related to the product system.

-DisplayName +DisplayName string @@ -3957,37 +3957,37 @@ The following output properties are available:
-FilterableProperties +FilterableProperties - []FilterablePropertyResponse + []FilterablePropertyResponse

list of filters supported for a product

-HierarchyInformation +HierarchyInformation - HierarchyInformationResponse + HierarchyInformationResponse

Hierarchy information of a product.

-ImageInformation +ImageInformation - []ImageInformationResponse + []ImageInformationResponse

Image information for the product system.

-ProductLines +ProductLines - []ProductLineResponse + []ProductLineResponse

List of product lines supported in the product family

@@ -3999,34 +3999,34 @@ The following output properties are available:
-availabilityInformation +availabilityInformation - AvailabilityInformationResponse + AvailabilityInformationResponse

Availability information of the product system.

-costInformation +costInformation - CostInformationResponse + CostInformationResponse

Cost information for the product system.

-description +description - DescriptionResponse + DescriptionResponse

Description related to the product system.

-displayName +displayName String @@ -4035,37 +4035,37 @@ The following output properties are available:
-filterableProperties +filterableProperties - List<FilterablePropertyResponse> + List<FilterablePropertyResponse>

list of filters supported for a product

-hierarchyInformation +hierarchyInformation - HierarchyInformationResponse + HierarchyInformationResponse

Hierarchy information of a product.

-imageInformation +imageInformation - List<ImageInformationResponse> + List<ImageInformationResponse>

Image information for the product system.

-productLines +productLines - List<ProductLineResponse> + List<ProductLineResponse>

List of product lines supported in the product family

@@ -4077,34 +4077,34 @@ The following output properties are available:
-availabilityInformation +availabilityInformation - AvailabilityInformationResponse + AvailabilityInformationResponse

Availability information of the product system.

-costInformation +costInformation - CostInformationResponse + CostInformationResponse

Cost information for the product system.

-description +description - DescriptionResponse + DescriptionResponse

Description related to the product system.

-displayName +displayName string @@ -4113,37 +4113,37 @@ The following output properties are available:
-filterableProperties +filterableProperties - FilterablePropertyResponse[] + FilterablePropertyResponse[]

list of filters supported for a product

-hierarchyInformation +hierarchyInformation - HierarchyInformationResponse + HierarchyInformationResponse

Hierarchy information of a product.

-imageInformation +imageInformation - ImageInformationResponse[] + ImageInformationResponse[]

Image information for the product system.

-productLines +productLines - ProductLineResponse[] + ProductLineResponse[]

List of product lines supported in the product family

@@ -4155,34 +4155,34 @@ The following output properties are available:
-availability_information +availability_information - AvailabilityInformationResponse + AvailabilityInformationResponse

Availability information of the product system.

-cost_information +cost_information - CostInformationResponse + CostInformationResponse

Cost information for the product system.

-description +description - DescriptionResponse + DescriptionResponse

Description related to the product system.

-display_name +display_name str @@ -4191,37 +4191,37 @@ The following output properties are available:
-filterable_properties +filterable_properties - Sequence[FilterablePropertyResponse] + Sequence[FilterablePropertyResponse]

list of filters supported for a product

-hierarchy_information +hierarchy_information - HierarchyInformationResponse + HierarchyInformationResponse

Hierarchy information of a product.

-image_information +image_information - Sequence[ImageInformationResponse] + Sequence[ImageInformationResponse]

Image information for the product system.

-product_lines +product_lines - Sequence[ProductLineResponse] + Sequence[ProductLineResponse]

List of product lines supported in the product family

@@ -4233,34 +4233,34 @@ The following output properties are available:
-availabilityInformation +availabilityInformation - Property Map + Property Map

Availability information of the product system.

-costInformation +costInformation - Property Map + Property Map

Cost information for the product system.

-description +description - Property Map + Property Map

Description related to the product system.

-displayName +displayName String @@ -4269,37 +4269,37 @@ The following output properties are available:
-filterableProperties +filterableProperties - List<Property Map> + List<Property Map>

list of filters supported for a product

-hierarchyInformation +hierarchyInformation - Property Map + Property Map

Hierarchy information of a product.

-imageInformation +imageInformation - List<Property Map> + List<Property Map>

Image information for the product system.

-productLines +productLines - List<Property Map> + List<Property Map>

List of product lines supported in the product family

@@ -4315,34 +4315,34 @@ The following output properties are available:
-AvailabilityInformation +AvailabilityInformation - AvailabilityInformationResponse + AvailabilityInformationResponse

Availability information of the product system.

-CostInformation +CostInformation - CostInformationResponse + CostInformationResponse

Cost information for the product system.

-Description +Description - DescriptionResponse + DescriptionResponse

Description related to the product system.

-DisplayName +DisplayName string @@ -4351,37 +4351,37 @@ The following output properties are available:
-FilterableProperties +FilterableProperties - List<FilterablePropertyResponse> + List<FilterablePropertyResponse>

list of filters supported for a product

-HierarchyInformation +HierarchyInformation - HierarchyInformationResponse + HierarchyInformationResponse

Hierarchy information of a product.

-ImageInformation +ImageInformation - List<ImageInformationResponse> + List<ImageInformationResponse>

Image information for the product system.

-Products +Products - List<ProductResponse> + List<ProductResponse>

List of products in the product line

@@ -4393,34 +4393,34 @@ The following output properties are available:
-AvailabilityInformation +AvailabilityInformation - AvailabilityInformationResponse + AvailabilityInformationResponse

Availability information of the product system.

-CostInformation +CostInformation - CostInformationResponse + CostInformationResponse

Cost information for the product system.

-Description +Description - DescriptionResponse + DescriptionResponse

Description related to the product system.

-DisplayName +DisplayName string @@ -4429,37 +4429,37 @@ The following output properties are available:
-FilterableProperties +FilterableProperties - []FilterablePropertyResponse + []FilterablePropertyResponse

list of filters supported for a product

-HierarchyInformation +HierarchyInformation - HierarchyInformationResponse + HierarchyInformationResponse

Hierarchy information of a product.

-ImageInformation +ImageInformation - []ImageInformationResponse + []ImageInformationResponse

Image information for the product system.

-Products +Products - []ProductResponse + []ProductResponse

List of products in the product line

@@ -4471,34 +4471,34 @@ The following output properties are available:
-availabilityInformation +availabilityInformation - AvailabilityInformationResponse + AvailabilityInformationResponse

Availability information of the product system.

-costInformation +costInformation - CostInformationResponse + CostInformationResponse

Cost information for the product system.

-description +description - DescriptionResponse + DescriptionResponse

Description related to the product system.

-displayName +displayName String @@ -4507,37 +4507,37 @@ The following output properties are available:
-filterableProperties +filterableProperties - List<FilterablePropertyResponse> + List<FilterablePropertyResponse>

list of filters supported for a product

-hierarchyInformation +hierarchyInformation - HierarchyInformationResponse + HierarchyInformationResponse

Hierarchy information of a product.

-imageInformation +imageInformation - List<ImageInformationResponse> + List<ImageInformationResponse>

Image information for the product system.

-products +products - List<ProductResponse> + List<ProductResponse>

List of products in the product line

@@ -4549,34 +4549,34 @@ The following output properties are available:
-availabilityInformation +availabilityInformation - AvailabilityInformationResponse + AvailabilityInformationResponse

Availability information of the product system.

-costInformation +costInformation - CostInformationResponse + CostInformationResponse

Cost information for the product system.

-description +description - DescriptionResponse + DescriptionResponse

Description related to the product system.

-displayName +displayName string @@ -4585,37 +4585,37 @@ The following output properties are available:
-filterableProperties +filterableProperties - FilterablePropertyResponse[] + FilterablePropertyResponse[]

list of filters supported for a product

-hierarchyInformation +hierarchyInformation - HierarchyInformationResponse + HierarchyInformationResponse

Hierarchy information of a product.

-imageInformation +imageInformation - ImageInformationResponse[] + ImageInformationResponse[]

Image information for the product system.

-products +products - ProductResponse[] + ProductResponse[]

List of products in the product line

@@ -4627,34 +4627,34 @@ The following output properties are available:
-availability_information +availability_information - AvailabilityInformationResponse + AvailabilityInformationResponse

Availability information of the product system.

-cost_information +cost_information - CostInformationResponse + CostInformationResponse

Cost information for the product system.

-description +description - DescriptionResponse + DescriptionResponse

Description related to the product system.

-display_name +display_name str @@ -4663,37 +4663,37 @@ The following output properties are available:
-filterable_properties +filterable_properties - Sequence[FilterablePropertyResponse] + Sequence[FilterablePropertyResponse]

list of filters supported for a product

-hierarchy_information +hierarchy_information - HierarchyInformationResponse + HierarchyInformationResponse

Hierarchy information of a product.

-image_information +image_information - Sequence[ImageInformationResponse] + Sequence[ImageInformationResponse]

Image information for the product system.

-products +products - Sequence[ProductResponse] + Sequence[ProductResponse]

List of products in the product line

@@ -4705,34 +4705,34 @@ The following output properties are available:
-availabilityInformation +availabilityInformation - Property Map + Property Map

Availability information of the product system.

-costInformation +costInformation - Property Map + Property Map

Cost information for the product system.

-description +description - Property Map + Property Map

Description related to the product system.

-displayName +displayName String @@ -4741,37 +4741,37 @@ The following output properties are available:
-filterableProperties +filterableProperties - List<Property Map> + List<Property Map>

list of filters supported for a product

-hierarchyInformation +hierarchyInformation - Property Map + Property Map

Hierarchy information of a product.

-imageInformation +imageInformation - List<Property Map> + List<Property Map>

Image information for the product system.

-products +products - List<Property Map> + List<Property Map>

List of products in the product line

@@ -4787,43 +4787,43 @@ The following output properties are available:
-AvailabilityInformation +AvailabilityInformation - AvailabilityInformationResponse + AvailabilityInformationResponse

Availability information of the product system.

-Configurations +Configurations - List<ConfigurationResponse> + List<ConfigurationResponse>

List of configurations for the product

-CostInformation +CostInformation - CostInformationResponse + CostInformationResponse

Cost information for the product system.

-Description +Description - DescriptionResponse + DescriptionResponse

Description related to the product system.

-DisplayName +DisplayName string @@ -4832,28 +4832,28 @@ The following output properties are available:
-FilterableProperties +FilterableProperties - List<FilterablePropertyResponse> + List<FilterablePropertyResponse>

list of filters supported for a product

-HierarchyInformation +HierarchyInformation - HierarchyInformationResponse + HierarchyInformationResponse

Hierarchy information of a product.

-ImageInformation +ImageInformation - List<ImageInformationResponse> + List<ImageInformationResponse>

Image information for the product system.

@@ -4865,43 +4865,43 @@ The following output properties are available:
-AvailabilityInformation +AvailabilityInformation - AvailabilityInformationResponse + AvailabilityInformationResponse

Availability information of the product system.

-Configurations +Configurations - []ConfigurationResponse + []ConfigurationResponse

List of configurations for the product

-CostInformation +CostInformation - CostInformationResponse + CostInformationResponse

Cost information for the product system.

-Description +Description - DescriptionResponse + DescriptionResponse

Description related to the product system.

-DisplayName +DisplayName string @@ -4910,28 +4910,28 @@ The following output properties are available:
-FilterableProperties +FilterableProperties - []FilterablePropertyResponse + []FilterablePropertyResponse

list of filters supported for a product

-HierarchyInformation +HierarchyInformation - HierarchyInformationResponse + HierarchyInformationResponse

Hierarchy information of a product.

-ImageInformation +ImageInformation - []ImageInformationResponse + []ImageInformationResponse

Image information for the product system.

@@ -4943,43 +4943,43 @@ The following output properties are available:
-availabilityInformation +availabilityInformation - AvailabilityInformationResponse + AvailabilityInformationResponse

Availability information of the product system.

-configurations +configurations - List<ConfigurationResponse> + List<ConfigurationResponse>

List of configurations for the product

-costInformation +costInformation - CostInformationResponse + CostInformationResponse

Cost information for the product system.

-description +description - DescriptionResponse + DescriptionResponse

Description related to the product system.

-displayName +displayName String @@ -4988,28 +4988,28 @@ The following output properties are available:
-filterableProperties +filterableProperties - List<FilterablePropertyResponse> + List<FilterablePropertyResponse>

list of filters supported for a product

-hierarchyInformation +hierarchyInformation - HierarchyInformationResponse + HierarchyInformationResponse

Hierarchy information of a product.

-imageInformation +imageInformation - List<ImageInformationResponse> + List<ImageInformationResponse>

Image information for the product system.

@@ -5021,43 +5021,43 @@ The following output properties are available:
-availabilityInformation +availabilityInformation - AvailabilityInformationResponse + AvailabilityInformationResponse

Availability information of the product system.

-configurations +configurations - ConfigurationResponse[] + ConfigurationResponse[]

List of configurations for the product

-costInformation +costInformation - CostInformationResponse + CostInformationResponse

Cost information for the product system.

-description +description - DescriptionResponse + DescriptionResponse

Description related to the product system.

-displayName +displayName string @@ -5066,28 +5066,28 @@ The following output properties are available:
-filterableProperties +filterableProperties - FilterablePropertyResponse[] + FilterablePropertyResponse[]

list of filters supported for a product

-hierarchyInformation +hierarchyInformation - HierarchyInformationResponse + HierarchyInformationResponse

Hierarchy information of a product.

-imageInformation +imageInformation - ImageInformationResponse[] + ImageInformationResponse[]

Image information for the product system.

@@ -5099,43 +5099,43 @@ The following output properties are available:
-availability_information +availability_information - AvailabilityInformationResponse + AvailabilityInformationResponse

Availability information of the product system.

-configurations +configurations - Sequence[ConfigurationResponse] + Sequence[ConfigurationResponse]

List of configurations for the product

-cost_information +cost_information - CostInformationResponse + CostInformationResponse

Cost information for the product system.

-description +description - DescriptionResponse + DescriptionResponse

Description related to the product system.

-display_name +display_name str @@ -5144,28 +5144,28 @@ The following output properties are available:
-filterable_properties +filterable_properties - Sequence[FilterablePropertyResponse] + Sequence[FilterablePropertyResponse]

list of filters supported for a product

-hierarchy_information +hierarchy_information - HierarchyInformationResponse + HierarchyInformationResponse

Hierarchy information of a product.

-image_information +image_information - Sequence[ImageInformationResponse] + Sequence[ImageInformationResponse]

Image information for the product system.

@@ -5177,43 +5177,43 @@ The following output properties are available:
-availabilityInformation +availabilityInformation - Property Map + Property Map

Availability information of the product system.

-configurations +configurations - List<Property Map> + List<Property Map>

List of configurations for the product

-costInformation +costInformation - Property Map + Property Map

Cost information for the product system.

-description +description - Property Map + Property Map

Description related to the product system.

-displayName +displayName String @@ -5222,28 +5222,28 @@ The following output properties are available:
-filterableProperties +filterableProperties - List<Property Map> + List<Property Map>

list of filters supported for a product

-hierarchyInformation +hierarchyInformation - Property Map + Property Map

Hierarchy information of a product.

-imageInformation +imageInformation - List<Property Map> + List<Property Map>

Image information for the product system.

@@ -5259,7 +5259,7 @@ The following output properties are available:
-ChargingType +ChargingType string @@ -5268,7 +5268,7 @@ The following output properties are available:
-Multiplier +Multiplier double @@ -5277,7 +5277,7 @@ The following output properties are available:
-ProductId +ProductId string @@ -5286,7 +5286,7 @@ The following output properties are available:
-SkuId +SkuId string @@ -5295,7 +5295,7 @@ The following output properties are available:
-TermId +TermId string @@ -5310,7 +5310,7 @@ The following output properties are available:
-ChargingType +ChargingType string @@ -5319,7 +5319,7 @@ The following output properties are available:
-Multiplier +Multiplier float64 @@ -5328,7 +5328,7 @@ The following output properties are available:
-ProductId +ProductId string @@ -5337,7 +5337,7 @@ The following output properties are available:
-SkuId +SkuId string @@ -5346,7 +5346,7 @@ The following output properties are available:
-TermId +TermId string @@ -5361,7 +5361,7 @@ The following output properties are available:
-chargingType +chargingType String @@ -5370,7 +5370,7 @@ The following output properties are available:
-multiplier +multiplier Double @@ -5379,7 +5379,7 @@ The following output properties are available:
-productId +productId String @@ -5388,7 +5388,7 @@ The following output properties are available:
-skuId +skuId String @@ -5397,7 +5397,7 @@ The following output properties are available:
-termId +termId String @@ -5412,7 +5412,7 @@ The following output properties are available:
-chargingType +chargingType string @@ -5421,7 +5421,7 @@ The following output properties are available:
-multiplier +multiplier number @@ -5430,7 +5430,7 @@ The following output properties are available:
-productId +productId string @@ -5439,7 +5439,7 @@ The following output properties are available:
-skuId +skuId string @@ -5448,7 +5448,7 @@ The following output properties are available:
-termId +termId string @@ -5463,7 +5463,7 @@ The following output properties are available:
-charging_type +charging_type str @@ -5472,7 +5472,7 @@ The following output properties are available:
-multiplier +multiplier float @@ -5481,7 +5481,7 @@ The following output properties are available:
-product_id +product_id str @@ -5490,7 +5490,7 @@ The following output properties are available:
-sku_id +sku_id str @@ -5499,7 +5499,7 @@ The following output properties are available:
-term_id +term_id str @@ -5514,7 +5514,7 @@ The following output properties are available:
-chargingType +chargingType String @@ -5523,7 +5523,7 @@ The following output properties are available:
-multiplier +multiplier Number @@ -5532,7 +5532,7 @@ The following output properties are available:
-productId +productId String @@ -5541,7 +5541,7 @@ The following output properties are available:
-skuId +skuId String @@ -5550,7 +5550,7 @@ The following output properties are available:
-termId +termId String @@ -5569,7 +5569,7 @@ The following output properties are available:
-Name +Name string @@ -5578,7 +5578,7 @@ The following output properties are available:
-Value +Value string @@ -5593,7 +5593,7 @@ The following output properties are available:
-Name +Name string @@ -5602,7 +5602,7 @@ The following output properties are available:
-Value +Value string @@ -5617,7 +5617,7 @@ The following output properties are available:
-name +name String @@ -5626,7 +5626,7 @@ The following output properties are available:
-value +value String @@ -5641,7 +5641,7 @@ The following output properties are available:
-name +name string @@ -5650,7 +5650,7 @@ The following output properties are available:
-value +value string @@ -5665,7 +5665,7 @@ The following output properties are available:
-name +name str @@ -5674,7 +5674,7 @@ The following output properties are available:
-value +value str @@ -5689,7 +5689,7 @@ The following output properties are available:
-name +name String @@ -5698,7 +5698,7 @@ The following output properties are available:
-value +value String diff --git a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/docs/provider/_index.md index 3269e708c74c..45e5c93aa34b 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -34,28 +34,28 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/docs/getamiids/_index.md b/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/docs/getamiids/_index.md index 4f8bfac5e0d3..e7e99769b5d9 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/docs/getamiids/_index.md +++ b/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/docs/getamiids/_index.md @@ -117,7 +117,7 @@ The following arguments are supported:
-Owners +Owners List<string> @@ -126,7 +126,7 @@ The following arguments are supported:
-ExecutableUsers +ExecutableUsers List<string> @@ -136,10 +136,10 @@ permission on the image. Valid items are the numeric account ID or self
-Filters +Filters - List<GetAmiIdsFilter> + List<GetAmiIdsFilter>

One or more name/value pairs to filter off of. There are several valid keys, for a full reference, check out @@ -147,7 +147,7 @@ are several valid keys, for a full reference, check out

-NameRegex +NameRegex string @@ -160,7 +160,7 @@ options to narrow down the list AWS returns.

-SortAscending +SortAscending bool @@ -175,7 +175,7 @@ options to narrow down the list AWS returns.

-Owners +Owners []string @@ -184,7 +184,7 @@ options to narrow down the list AWS returns.

-ExecutableUsers +ExecutableUsers []string @@ -194,10 +194,10 @@ permission on the image. Valid items are the numeric account ID or self
-Filters +Filters - []GetAmiIdsFilter + []GetAmiIdsFilter

One or more name/value pairs to filter off of. There are several valid keys, for a full reference, check out @@ -205,7 +205,7 @@ are several valid keys, for a full reference, check out

-NameRegex +NameRegex string @@ -218,7 +218,7 @@ options to narrow down the list AWS returns.

-SortAscending +SortAscending bool @@ -233,7 +233,7 @@ options to narrow down the list AWS returns.

-owners +owners List<String> @@ -242,7 +242,7 @@ options to narrow down the list AWS returns.

-executableUsers +executableUsers List<String> @@ -252,10 +252,10 @@ permission on the image. Valid items are the numeric account ID or self
-filters +filters - List<GetAmiIdsFilter> + List<GetAmiIdsFilter>

One or more name/value pairs to filter off of. There are several valid keys, for a full reference, check out @@ -263,7 +263,7 @@ are several valid keys, for a full reference, check out

-nameRegex +nameRegex String @@ -276,7 +276,7 @@ options to narrow down the list AWS returns.

-sortAscending +sortAscending Boolean @@ -291,7 +291,7 @@ options to narrow down the list AWS returns.

-owners +owners string[] @@ -300,7 +300,7 @@ options to narrow down the list AWS returns.

-executableUsers +executableUsers string[] @@ -310,10 +310,10 @@ permission on the image. Valid items are the numeric account ID or self
-filters +filters - GetAmiIdsFilter[] + GetAmiIdsFilter[]

One or more name/value pairs to filter off of. There are several valid keys, for a full reference, check out @@ -321,7 +321,7 @@ are several valid keys, for a full reference, check out

-nameRegex +nameRegex string @@ -334,7 +334,7 @@ options to narrow down the list AWS returns.

-sortAscending +sortAscending boolean @@ -349,7 +349,7 @@ options to narrow down the list AWS returns.

-owners +owners Sequence[str] @@ -358,7 +358,7 @@ options to narrow down the list AWS returns.

-executable_users +executable_users Sequence[str] @@ -368,10 +368,10 @@ permission on the image. Valid items are the numeric account ID or self
-filters +filters - Sequence[GetAmiIdsFilter] + Sequence[GetAmiIdsFilter]

One or more name/value pairs to filter off of. There are several valid keys, for a full reference, check out @@ -379,7 +379,7 @@ are several valid keys, for a full reference, check out

-name_regex +name_regex str @@ -392,7 +392,7 @@ options to narrow down the list AWS returns.

-sort_ascending +sort_ascending bool @@ -407,7 +407,7 @@ options to narrow down the list AWS returns.

-owners +owners List<String> @@ -416,7 +416,7 @@ options to narrow down the list AWS returns.

-executableUsers +executableUsers List<String> @@ -426,10 +426,10 @@ permission on the image. Valid items are the numeric account ID or self
-filters +filters - List<Property Map> + List<Property Map>

One or more name/value pairs to filter off of. There are several valid keys, for a full reference, check out @@ -437,7 +437,7 @@ are several valid keys, for a full reference, check out

-nameRegex +nameRegex String @@ -450,7 +450,7 @@ options to narrow down the list AWS returns.

-sortAscending +sortAscending Boolean @@ -474,7 +474,7 @@ The following output properties are available:
-Id +Id string @@ -483,7 +483,7 @@ The following output properties are available:
-Ids +Ids List<string> @@ -491,7 +491,7 @@ The following output properties are available:
-Owners +Owners List<string> @@ -499,7 +499,7 @@ The following output properties are available:
-ExecutableUsers +ExecutableUsers List<string> @@ -507,15 +507,15 @@ The following output properties are available:
-Filters +Filters - List<GetAmiIdsFilter> + List<GetAmiIdsFilter>
-NameRegex +NameRegex string @@ -523,7 +523,7 @@ The following output properties are available:
-SortAscending +SortAscending bool @@ -537,7 +537,7 @@ The following output properties are available:
-Id +Id string @@ -546,7 +546,7 @@ The following output properties are available:
-Ids +Ids []string @@ -554,7 +554,7 @@ The following output properties are available:
-Owners +Owners []string @@ -562,7 +562,7 @@ The following output properties are available:
-ExecutableUsers +ExecutableUsers []string @@ -570,15 +570,15 @@ The following output properties are available:
-Filters +Filters - []GetAmiIdsFilter + []GetAmiIdsFilter
-NameRegex +NameRegex string @@ -586,7 +586,7 @@ The following output properties are available:
-SortAscending +SortAscending bool @@ -600,7 +600,7 @@ The following output properties are available:
-id +id String @@ -609,7 +609,7 @@ The following output properties are available:
-ids +ids List<String> @@ -617,7 +617,7 @@ The following output properties are available:
-owners +owners List<String> @@ -625,7 +625,7 @@ The following output properties are available:
-executableUsers +executableUsers List<String> @@ -633,15 +633,15 @@ The following output properties are available:
-filters +filters - List<GetAmiIdsFilter> + List<GetAmiIdsFilter>
-nameRegex +nameRegex String @@ -649,7 +649,7 @@ The following output properties are available:
-sortAscending +sortAscending Boolean @@ -663,7 +663,7 @@ The following output properties are available:
-id +id string @@ -672,7 +672,7 @@ The following output properties are available:
-ids +ids string[] @@ -680,7 +680,7 @@ The following output properties are available:
-owners +owners string[] @@ -688,7 +688,7 @@ The following output properties are available:
-executableUsers +executableUsers string[] @@ -696,15 +696,15 @@ The following output properties are available:
-filters +filters - GetAmiIdsFilter[] + GetAmiIdsFilter[]
-nameRegex +nameRegex string @@ -712,7 +712,7 @@ The following output properties are available:
-sortAscending +sortAscending boolean @@ -726,7 +726,7 @@ The following output properties are available:
-id +id str @@ -735,7 +735,7 @@ The following output properties are available:
-ids +ids Sequence[str] @@ -743,7 +743,7 @@ The following output properties are available:
-owners +owners Sequence[str] @@ -751,7 +751,7 @@ The following output properties are available:
-executable_users +executable_users Sequence[str] @@ -759,15 +759,15 @@ The following output properties are available:
-filters +filters - Sequence[GetAmiIdsFilter] + Sequence[GetAmiIdsFilter]
-name_regex +name_regex str @@ -775,7 +775,7 @@ The following output properties are available:
-sort_ascending +sort_ascending bool @@ -789,7 +789,7 @@ The following output properties are available:
-id +id String @@ -798,7 +798,7 @@ The following output properties are available:
-ids +ids List<String> @@ -806,7 +806,7 @@ The following output properties are available:
-owners +owners List<String> @@ -814,7 +814,7 @@ The following output properties are available:
-executableUsers +executableUsers List<String> @@ -822,15 +822,15 @@ The following output properties are available:
-filters +filters - List<Property Map> + List<Property Map>
-nameRegex +nameRegex String @@ -838,7 +838,7 @@ The following output properties are available:
-sortAscending +sortAscending Boolean @@ -862,7 +862,7 @@ The following output properties are available:
-Name +Name string @@ -870,7 +870,7 @@ The following output properties are available:
-Values +Values List<string> @@ -884,7 +884,7 @@ The following output properties are available:
-Name +Name string @@ -892,7 +892,7 @@ The following output properties are available:
-Values +Values []string @@ -906,7 +906,7 @@ The following output properties are available:
-name +name String @@ -914,7 +914,7 @@ The following output properties are available:
-values +values List<String> @@ -928,7 +928,7 @@ The following output properties are available:
-name +name string @@ -936,7 +936,7 @@ The following output properties are available:
-values +values string[] @@ -950,7 +950,7 @@ The following output properties are available:
-name +name str @@ -958,7 +958,7 @@ The following output properties are available:
-values +values Sequence[str] @@ -972,7 +972,7 @@ The following output properties are available:
-name +name String @@ -980,7 +980,7 @@ The following output properties are available:
-values +values List<String> diff --git a/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/docs/liststorageaccountkeys/_index.md b/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/docs/liststorageaccountkeys/_index.md index 7c82ec202640..d56d8369bcda 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/docs/liststorageaccountkeys/_index.md +++ b/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/docs/liststorageaccountkeys/_index.md @@ -112,7 +112,7 @@ The following arguments are supported:
-AccountName +AccountName string @@ -121,7 +121,7 @@ The following arguments are supported:
-ResourceGroupName +ResourceGroupName string @@ -130,7 +130,7 @@ The following arguments are supported:
-Expand +Expand string @@ -145,7 +145,7 @@ The following arguments are supported:
-AccountName +AccountName string @@ -154,7 +154,7 @@ The following arguments are supported:
-ResourceGroupName +ResourceGroupName string @@ -163,7 +163,7 @@ The following arguments are supported:
-Expand +Expand string @@ -178,7 +178,7 @@ The following arguments are supported:
-accountName +accountName String @@ -187,7 +187,7 @@ The following arguments are supported:
-resourceGroupName +resourceGroupName String @@ -196,7 +196,7 @@ The following arguments are supported:
-expand +expand String @@ -211,7 +211,7 @@ The following arguments are supported:
-accountName +accountName string @@ -220,7 +220,7 @@ The following arguments are supported:
-resourceGroupName +resourceGroupName string @@ -229,7 +229,7 @@ The following arguments are supported:
-expand +expand string @@ -244,7 +244,7 @@ The following arguments are supported:
-account_name +account_name str @@ -253,7 +253,7 @@ The following arguments are supported:
-resource_group_name +resource_group_name str @@ -262,7 +262,7 @@ The following arguments are supported:
-expand +expand str @@ -277,7 +277,7 @@ The following arguments are supported:
-accountName +accountName String @@ -286,7 +286,7 @@ The following arguments are supported:
-resourceGroupName +resourceGroupName String @@ -295,7 +295,7 @@ The following arguments are supported:
-expand +expand String @@ -319,10 +319,10 @@ The following output properties are available:
-Keys +Keys - List<StorageAccountKeyResponse> + List<StorageAccountKeyResponse>

Gets the list of storage account keys and their properties for the specified storage account.

@@ -334,10 +334,10 @@ The following output properties are available:
-Keys +Keys - []StorageAccountKeyResponse + []StorageAccountKeyResponse

Gets the list of storage account keys and their properties for the specified storage account.

@@ -349,10 +349,10 @@ The following output properties are available:
-keys +keys - List<StorageAccountKeyResponse> + List<StorageAccountKeyResponse>

Gets the list of storage account keys and their properties for the specified storage account.

@@ -364,10 +364,10 @@ The following output properties are available:
-keys +keys - StorageAccountKeyResponse[] + StorageAccountKeyResponse[]

Gets the list of storage account keys and their properties for the specified storage account.

@@ -379,10 +379,10 @@ The following output properties are available:
-keys +keys - Sequence[StorageAccountKeyResponse] + Sequence[StorageAccountKeyResponse]

Gets the list of storage account keys and their properties for the specified storage account.

@@ -394,10 +394,10 @@ The following output properties are available:
-keys +keys - List<Property Map> + List<Property Map>

Gets the list of storage account keys and their properties for the specified storage account.

@@ -419,7 +419,7 @@ The following output properties are available:
-CreationTime +CreationTime string @@ -428,7 +428,7 @@ The following output properties are available:
-KeyName +KeyName string @@ -437,7 +437,7 @@ The following output properties are available:
-Permissions +Permissions string @@ -446,7 +446,7 @@ The following output properties are available:
-Value +Value string @@ -461,7 +461,7 @@ The following output properties are available:
-CreationTime +CreationTime string @@ -470,7 +470,7 @@ The following output properties are available:
-KeyName +KeyName string @@ -479,7 +479,7 @@ The following output properties are available:
-Permissions +Permissions string @@ -488,7 +488,7 @@ The following output properties are available:
-Value +Value string @@ -503,7 +503,7 @@ The following output properties are available:
-creationTime +creationTime String @@ -512,7 +512,7 @@ The following output properties are available:
-keyName +keyName String @@ -521,7 +521,7 @@ The following output properties are available:
-permissions +permissions String @@ -530,7 +530,7 @@ The following output properties are available:
-value +value String @@ -545,7 +545,7 @@ The following output properties are available:
-creationTime +creationTime string @@ -554,7 +554,7 @@ The following output properties are available:
-keyName +keyName string @@ -563,7 +563,7 @@ The following output properties are available:
-permissions +permissions string @@ -572,7 +572,7 @@ The following output properties are available:
-value +value string @@ -587,7 +587,7 @@ The following output properties are available:
-creation_time +creation_time str @@ -596,7 +596,7 @@ The following output properties are available:
-key_name +key_name str @@ -605,7 +605,7 @@ The following output properties are available:
-permissions +permissions str @@ -614,7 +614,7 @@ The following output properties are available:
-value +value str @@ -629,7 +629,7 @@ The following output properties are available:
-creationTime +creationTime String @@ -638,7 +638,7 @@ The following output properties are available:
-keyName +keyName String @@ -647,7 +647,7 @@ The following output properties are available:
-permissions +permissions String @@ -656,7 +656,7 @@ The following output properties are available:
-value +value String diff --git a/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/docs/provider/_index.md index 2ccdad9b46ac..5e2162082093 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -34,28 +34,28 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/output-funcs/docs/funcwithalloptionalinputs/_index.md b/pkg/codegen/testing/test/testdata/output-funcs/docs/funcwithalloptionalinputs/_index.md index c433f5349956..8f6a4cc0c991 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/docs/funcwithalloptionalinputs/_index.md +++ b/pkg/codegen/testing/test/testdata/output-funcs/docs/funcwithalloptionalinputs/_index.md @@ -109,7 +109,7 @@ The following arguments are supported:
-A +A string @@ -118,7 +118,7 @@ The following arguments are supported:
-B +B string @@ -133,7 +133,7 @@ The following arguments are supported:
-A +A string @@ -142,7 +142,7 @@ The following arguments are supported:
-B +B string @@ -157,7 +157,7 @@ The following arguments are supported:
-a +a String @@ -166,7 +166,7 @@ The following arguments are supported:
-b +b String @@ -181,7 +181,7 @@ The following arguments are supported:
-a +a string @@ -190,7 +190,7 @@ The following arguments are supported:
-b +b string @@ -205,7 +205,7 @@ The following arguments are supported:
-a +a str @@ -214,7 +214,7 @@ The following arguments are supported:
-b +b str @@ -229,7 +229,7 @@ The following arguments are supported:
-a +a String @@ -238,7 +238,7 @@ The following arguments are supported:
-b +b String @@ -262,7 +262,7 @@ The following output properties are available:
-R +R string @@ -276,7 +276,7 @@ The following output properties are available:
-R +R string @@ -290,7 +290,7 @@ The following output properties are available:
-r +r String @@ -304,7 +304,7 @@ The following output properties are available:
-r +r string @@ -318,7 +318,7 @@ The following output properties are available:
-r +r str @@ -332,7 +332,7 @@ The following output properties are available:
-r +r String diff --git a/pkg/codegen/testing/test/testdata/output-funcs/docs/funcwithdefaultvalue/_index.md b/pkg/codegen/testing/test/testdata/output-funcs/docs/funcwithdefaultvalue/_index.md index d1ad8c003700..7a062bc6c9a6 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/docs/funcwithdefaultvalue/_index.md +++ b/pkg/codegen/testing/test/testdata/output-funcs/docs/funcwithdefaultvalue/_index.md @@ -109,7 +109,7 @@ The following arguments are supported:
-A +A string @@ -117,7 +117,7 @@ The following arguments are supported:
-B +B string @@ -131,7 +131,7 @@ The following arguments are supported:
-A +A string @@ -139,7 +139,7 @@ The following arguments are supported:
-B +B string @@ -153,7 +153,7 @@ The following arguments are supported:
-a +a String @@ -161,7 +161,7 @@ The following arguments are supported:
-b +b String @@ -175,7 +175,7 @@ The following arguments are supported:
-a +a string @@ -183,7 +183,7 @@ The following arguments are supported:
-b +b string @@ -197,7 +197,7 @@ The following arguments are supported:
-a +a str @@ -205,7 +205,7 @@ The following arguments are supported:
-b +b str @@ -219,7 +219,7 @@ The following arguments are supported:
-a +a String @@ -227,7 +227,7 @@ The following arguments are supported:
-b +b String @@ -250,7 +250,7 @@ The following output properties are available:
-R +R string @@ -264,7 +264,7 @@ The following output properties are available:
-R +R string @@ -278,7 +278,7 @@ The following output properties are available:
-r +r String @@ -292,7 +292,7 @@ The following output properties are available:
-r +r string @@ -306,7 +306,7 @@ The following output properties are available:
-r +r str @@ -320,7 +320,7 @@ The following output properties are available:
-r +r String diff --git a/pkg/codegen/testing/test/testdata/output-funcs/docs/funcwithdictparam/_index.md b/pkg/codegen/testing/test/testdata/output-funcs/docs/funcwithdictparam/_index.md index 57402d2d17a7..c08ddda018e0 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/docs/funcwithdictparam/_index.md +++ b/pkg/codegen/testing/test/testdata/output-funcs/docs/funcwithdictparam/_index.md @@ -109,7 +109,7 @@ The following arguments are supported:
-A +A Dictionary<string, string> @@ -117,7 +117,7 @@ The following arguments are supported:
-B +B string @@ -131,7 +131,7 @@ The following arguments are supported:
-A +A map[string]string @@ -139,7 +139,7 @@ The following arguments are supported:
-B +B string @@ -153,7 +153,7 @@ The following arguments are supported:
-a +a Map<String,String> @@ -161,7 +161,7 @@ The following arguments are supported:
-b +b String @@ -175,7 +175,7 @@ The following arguments are supported:
-a +a {[key: string]: string} @@ -183,7 +183,7 @@ The following arguments are supported:
-b +b string @@ -197,7 +197,7 @@ The following arguments are supported:
-a +a Mapping[str, str] @@ -205,7 +205,7 @@ The following arguments are supported:
-b +b str @@ -219,7 +219,7 @@ The following arguments are supported:
-a +a Map<String> @@ -227,7 +227,7 @@ The following arguments are supported:
-b +b String @@ -250,7 +250,7 @@ The following output properties are available:
-R +R string @@ -264,7 +264,7 @@ The following output properties are available:
-R +R string @@ -278,7 +278,7 @@ The following output properties are available:
-r +r String @@ -292,7 +292,7 @@ The following output properties are available:
-r +r string @@ -306,7 +306,7 @@ The following output properties are available:
-r +r str @@ -320,7 +320,7 @@ The following output properties are available:
-r +r String diff --git a/pkg/codegen/testing/test/testdata/output-funcs/docs/funcwithemptyoutputs/_index.md b/pkg/codegen/testing/test/testdata/output-funcs/docs/funcwithemptyoutputs/_index.md index 2a5d49eb072e..58d6c6102acf 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/docs/funcwithemptyoutputs/_index.md +++ b/pkg/codegen/testing/test/testdata/output-funcs/docs/funcwithemptyoutputs/_index.md @@ -107,7 +107,7 @@ The following arguments are supported:
-Name +Name string @@ -122,7 +122,7 @@ The following arguments are supported:
-Name +Name string @@ -137,7 +137,7 @@ The following arguments are supported:
-name +name String @@ -152,7 +152,7 @@ The following arguments are supported:
-name +name string @@ -167,7 +167,7 @@ The following arguments are supported:
-name +name str @@ -182,7 +182,7 @@ The following arguments are supported:
-name +name String diff --git a/pkg/codegen/testing/test/testdata/output-funcs/docs/funcwithlistparam/_index.md b/pkg/codegen/testing/test/testdata/output-funcs/docs/funcwithlistparam/_index.md index 240a2d46ac03..e3ed6692c877 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/docs/funcwithlistparam/_index.md +++ b/pkg/codegen/testing/test/testdata/output-funcs/docs/funcwithlistparam/_index.md @@ -109,7 +109,7 @@ The following arguments are supported:
-A +A List<string> @@ -117,7 +117,7 @@ The following arguments are supported:
-B +B string @@ -131,7 +131,7 @@ The following arguments are supported:
-A +A []string @@ -139,7 +139,7 @@ The following arguments are supported:
-B +B string @@ -153,7 +153,7 @@ The following arguments are supported:
-a +a List<String> @@ -161,7 +161,7 @@ The following arguments are supported:
-b +b String @@ -175,7 +175,7 @@ The following arguments are supported:
-a +a string[] @@ -183,7 +183,7 @@ The following arguments are supported:
-b +b string @@ -197,7 +197,7 @@ The following arguments are supported:
-a +a Sequence[str] @@ -205,7 +205,7 @@ The following arguments are supported:
-b +b str @@ -219,7 +219,7 @@ The following arguments are supported:
-a +a List<String> @@ -227,7 +227,7 @@ The following arguments are supported:
-b +b String @@ -250,7 +250,7 @@ The following output properties are available:
-R +R string @@ -264,7 +264,7 @@ The following output properties are available:
-R +R string @@ -278,7 +278,7 @@ The following output properties are available:
-r +r String @@ -292,7 +292,7 @@ The following output properties are available:
-r +r string @@ -306,7 +306,7 @@ The following output properties are available:
-r +r str @@ -320,7 +320,7 @@ The following output properties are available:
-r +r String diff --git a/pkg/codegen/testing/test/testdata/output-funcs/docs/getbastionshareablelink/_index.md b/pkg/codegen/testing/test/testdata/output-funcs/docs/getbastionshareablelink/_index.md index b0059c4e6d92..d434a009cd81 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/docs/getbastionshareablelink/_index.md +++ b/pkg/codegen/testing/test/testdata/output-funcs/docs/getbastionshareablelink/_index.md @@ -112,7 +112,7 @@ The following arguments are supported:
-BastionHostName +BastionHostName string @@ -121,7 +121,7 @@ The following arguments are supported:
-ResourceGroupName +ResourceGroupName string @@ -130,10 +130,10 @@ The following arguments are supported:
-Vms +Vms - List<BastionShareableLink> + List<BastionShareableLink>

List of VM references.

@@ -145,7 +145,7 @@ The following arguments are supported:
-BastionHostName +BastionHostName string @@ -154,7 +154,7 @@ The following arguments are supported:
-ResourceGroupName +ResourceGroupName string @@ -163,10 +163,10 @@ The following arguments are supported:
-Vms +Vms - []BastionShareableLink + []BastionShareableLink

List of VM references.

@@ -178,7 +178,7 @@ The following arguments are supported:
-bastionHostName +bastionHostName String @@ -187,7 +187,7 @@ The following arguments are supported:
-resourceGroupName +resourceGroupName String @@ -196,10 +196,10 @@ The following arguments are supported:
-vms +vms - List<BastionShareableLink> + List<BastionShareableLink>

List of VM references.

@@ -211,7 +211,7 @@ The following arguments are supported:
-bastionHostName +bastionHostName string @@ -220,7 +220,7 @@ The following arguments are supported:
-resourceGroupName +resourceGroupName string @@ -229,10 +229,10 @@ The following arguments are supported:
-vms +vms - BastionShareableLink[] + BastionShareableLink[]

List of VM references.

@@ -244,7 +244,7 @@ The following arguments are supported:
-bastion_host_name +bastion_host_name str @@ -253,7 +253,7 @@ The following arguments are supported:
-resource_group_name +resource_group_name str @@ -262,10 +262,10 @@ The following arguments are supported:
-vms +vms - Sequence[BastionShareableLink] + Sequence[BastionShareableLink]

List of VM references.

@@ -277,7 +277,7 @@ The following arguments are supported:
-bastionHostName +bastionHostName String @@ -286,7 +286,7 @@ The following arguments are supported:
-resourceGroupName +resourceGroupName String @@ -295,10 +295,10 @@ The following arguments are supported:
-vms +vms - List<Property Map> + List<Property Map>

List of VM references.

@@ -319,7 +319,7 @@ The following output properties are available:
-NextLink +NextLink string @@ -334,7 +334,7 @@ The following output properties are available:
-NextLink +NextLink string @@ -349,7 +349,7 @@ The following output properties are available:
-nextLink +nextLink String @@ -364,7 +364,7 @@ The following output properties are available:
-nextLink +nextLink string @@ -379,7 +379,7 @@ The following output properties are available:
-next_link +next_link str @@ -394,7 +394,7 @@ The following output properties are available:
-nextLink +nextLink String @@ -419,7 +419,7 @@ The following output properties are available:
-Vm +Vm string @@ -434,7 +434,7 @@ The following output properties are available:
-Vm +Vm string @@ -449,7 +449,7 @@ The following output properties are available:
-vm +vm String @@ -464,7 +464,7 @@ The following output properties are available:
-vm +vm string @@ -479,7 +479,7 @@ The following output properties are available:
-vm +vm str @@ -494,7 +494,7 @@ The following output properties are available:
-vm +vm String diff --git a/pkg/codegen/testing/test/testdata/output-funcs/docs/getclientconfig/_index.md b/pkg/codegen/testing/test/testdata/output-funcs/docs/getclientconfig/_index.md index 766b38808daa..566461ca144c 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/docs/getclientconfig/_index.md +++ b/pkg/codegen/testing/test/testdata/output-funcs/docs/getclientconfig/_index.md @@ -97,7 +97,7 @@ The following output properties are available:
-ClientId +ClientId string @@ -106,7 +106,7 @@ The following output properties are available:
-ObjectId +ObjectId string @@ -115,7 +115,7 @@ The following output properties are available:
-SubscriptionId +SubscriptionId string @@ -124,7 +124,7 @@ The following output properties are available:
-TenantId +TenantId string @@ -139,7 +139,7 @@ The following output properties are available:
-ClientId +ClientId string @@ -148,7 +148,7 @@ The following output properties are available:
-ObjectId +ObjectId string @@ -157,7 +157,7 @@ The following output properties are available:
-SubscriptionId +SubscriptionId string @@ -166,7 +166,7 @@ The following output properties are available:
-TenantId +TenantId string @@ -181,7 +181,7 @@ The following output properties are available:
-clientId +clientId String @@ -190,7 +190,7 @@ The following output properties are available:
-objectId +objectId String @@ -199,7 +199,7 @@ The following output properties are available:
-subscriptionId +subscriptionId String @@ -208,7 +208,7 @@ The following output properties are available:
-tenantId +tenantId String @@ -223,7 +223,7 @@ The following output properties are available:
-clientId +clientId string @@ -232,7 +232,7 @@ The following output properties are available:
-objectId +objectId string @@ -241,7 +241,7 @@ The following output properties are available:
-subscriptionId +subscriptionId string @@ -250,7 +250,7 @@ The following output properties are available:
-tenantId +tenantId string @@ -265,7 +265,7 @@ The following output properties are available:
-client_id +client_id str @@ -274,7 +274,7 @@ The following output properties are available:
-object_id +object_id str @@ -283,7 +283,7 @@ The following output properties are available:
-subscription_id +subscription_id str @@ -292,7 +292,7 @@ The following output properties are available:
-tenant_id +tenant_id str @@ -307,7 +307,7 @@ The following output properties are available:
-clientId +clientId String @@ -316,7 +316,7 @@ The following output properties are available:
-objectId +objectId String @@ -325,7 +325,7 @@ The following output properties are available:
-subscriptionId +subscriptionId String @@ -334,7 +334,7 @@ The following output properties are available:
-tenantId +tenantId String diff --git a/pkg/codegen/testing/test/testdata/output-funcs/docs/getintegrationruntimeobjectmetadatum/_index.md b/pkg/codegen/testing/test/testdata/output-funcs/docs/getintegrationruntimeobjectmetadatum/_index.md index 8db0e6a579d0..c9ccd194eec0 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/docs/getintegrationruntimeobjectmetadatum/_index.md +++ b/pkg/codegen/testing/test/testdata/output-funcs/docs/getintegrationruntimeobjectmetadatum/_index.md @@ -114,7 +114,7 @@ The following arguments are supported:
-FactoryName +FactoryName string @@ -123,7 +123,7 @@ The following arguments are supported:
-IntegrationRuntimeName +IntegrationRuntimeName string @@ -132,7 +132,7 @@ The following arguments are supported:
-ResourceGroupName +ResourceGroupName string @@ -141,7 +141,7 @@ The following arguments are supported:
-MetadataPath +MetadataPath string @@ -156,7 +156,7 @@ The following arguments are supported:
-FactoryName +FactoryName string @@ -165,7 +165,7 @@ The following arguments are supported:
-IntegrationRuntimeName +IntegrationRuntimeName string @@ -174,7 +174,7 @@ The following arguments are supported:
-ResourceGroupName +ResourceGroupName string @@ -183,7 +183,7 @@ The following arguments are supported:
-MetadataPath +MetadataPath string @@ -198,7 +198,7 @@ The following arguments are supported:
-factoryName +factoryName String @@ -207,7 +207,7 @@ The following arguments are supported:
-integrationRuntimeName +integrationRuntimeName String @@ -216,7 +216,7 @@ The following arguments are supported:
-resourceGroupName +resourceGroupName String @@ -225,7 +225,7 @@ The following arguments are supported:
-metadataPath +metadataPath String @@ -240,7 +240,7 @@ The following arguments are supported:
-factoryName +factoryName string @@ -249,7 +249,7 @@ The following arguments are supported:
-integrationRuntimeName +integrationRuntimeName string @@ -258,7 +258,7 @@ The following arguments are supported:
-resourceGroupName +resourceGroupName string @@ -267,7 +267,7 @@ The following arguments are supported:
-metadataPath +metadataPath string @@ -282,7 +282,7 @@ The following arguments are supported:
-factory_name +factory_name str @@ -291,7 +291,7 @@ The following arguments are supported:
-integration_runtime_name +integration_runtime_name str @@ -300,7 +300,7 @@ The following arguments are supported:
-resource_group_name +resource_group_name str @@ -309,7 +309,7 @@ The following arguments are supported:
-metadata_path +metadata_path str @@ -324,7 +324,7 @@ The following arguments are supported:
-factoryName +factoryName String @@ -333,7 +333,7 @@ The following arguments are supported:
-integrationRuntimeName +integrationRuntimeName String @@ -342,7 +342,7 @@ The following arguments are supported:
-resourceGroupName +resourceGroupName String @@ -351,7 +351,7 @@ The following arguments are supported:
-metadataPath +metadataPath String @@ -375,7 +375,7 @@ The following output properties are available:
-NextLink +NextLink string @@ -384,7 +384,7 @@ The following output properties are available:
-Value +Value List<object> @@ -399,7 +399,7 @@ The following output properties are available:
-NextLink +NextLink string @@ -408,7 +408,7 @@ The following output properties are available:
-Value +Value []interface{} @@ -423,7 +423,7 @@ The following output properties are available:
-nextLink +nextLink String @@ -432,7 +432,7 @@ The following output properties are available:
-value +value List<Object> @@ -447,7 +447,7 @@ The following output properties are available:
-nextLink +nextLink string @@ -456,7 +456,7 @@ The following output properties are available:
-value +value (SsisEnvironmentResponse | SsisFolderResponse | SsisPackageResponse | SsisProjectResponse)[] @@ -471,7 +471,7 @@ The following output properties are available:
-next_link +next_link str @@ -480,7 +480,7 @@ The following output properties are available:
-value +value Sequence[Any] @@ -495,7 +495,7 @@ The following output properties are available:
-nextLink +nextLink String @@ -504,7 +504,7 @@ The following output properties are available:
-value +value List<Property Map | Property Map | Property Map | Property Map> @@ -529,7 +529,7 @@ The following output properties are available:
-EnvironmentFolderName +EnvironmentFolderName string @@ -538,7 +538,7 @@ The following output properties are available:
-EnvironmentName +EnvironmentName string @@ -547,7 +547,7 @@ The following output properties are available:
-Id +Id double @@ -556,7 +556,7 @@ The following output properties are available:
-ReferenceType +ReferenceType string @@ -571,7 +571,7 @@ The following output properties are available:
-EnvironmentFolderName +EnvironmentFolderName string @@ -580,7 +580,7 @@ The following output properties are available:
-EnvironmentName +EnvironmentName string @@ -589,7 +589,7 @@ The following output properties are available:
-Id +Id float64 @@ -598,7 +598,7 @@ The following output properties are available:
-ReferenceType +ReferenceType string @@ -613,7 +613,7 @@ The following output properties are available:
-environmentFolderName +environmentFolderName String @@ -622,7 +622,7 @@ The following output properties are available:
-environmentName +environmentName String @@ -631,7 +631,7 @@ The following output properties are available:
-id +id Double @@ -640,7 +640,7 @@ The following output properties are available:
-referenceType +referenceType String @@ -655,7 +655,7 @@ The following output properties are available:
-environmentFolderName +environmentFolderName string @@ -664,7 +664,7 @@ The following output properties are available:
-environmentName +environmentName string @@ -673,7 +673,7 @@ The following output properties are available:
-id +id number @@ -682,7 +682,7 @@ The following output properties are available:
-referenceType +referenceType string @@ -697,7 +697,7 @@ The following output properties are available:
-environment_folder_name +environment_folder_name str @@ -706,7 +706,7 @@ The following output properties are available:
-environment_name +environment_name str @@ -715,7 +715,7 @@ The following output properties are available:
-id +id float @@ -724,7 +724,7 @@ The following output properties are available:
-reference_type +reference_type str @@ -739,7 +739,7 @@ The following output properties are available:
-environmentFolderName +environmentFolderName String @@ -748,7 +748,7 @@ The following output properties are available:
-environmentName +environmentName String @@ -757,7 +757,7 @@ The following output properties are available:
-id +id Number @@ -766,7 +766,7 @@ The following output properties are available:
-referenceType +referenceType String @@ -785,7 +785,7 @@ The following output properties are available:
-Description +Description string @@ -794,7 +794,7 @@ The following output properties are available:
-FolderId +FolderId double @@ -803,7 +803,7 @@ The following output properties are available:
-Id +Id double @@ -812,7 +812,7 @@ The following output properties are available:
-Name +Name string @@ -821,10 +821,10 @@ The following output properties are available:
-Variables +Variables - List<SsisVariableResponse> + List<SsisVariableResponse>

Variable in environment

@@ -836,7 +836,7 @@ The following output properties are available:
-Description +Description string @@ -845,7 +845,7 @@ The following output properties are available:
-FolderId +FolderId float64 @@ -854,7 +854,7 @@ The following output properties are available:
-Id +Id float64 @@ -863,7 +863,7 @@ The following output properties are available:
-Name +Name string @@ -872,10 +872,10 @@ The following output properties are available:
-Variables +Variables - []SsisVariableResponse + []SsisVariableResponse

Variable in environment

@@ -887,7 +887,7 @@ The following output properties are available:
-description +description String @@ -896,7 +896,7 @@ The following output properties are available:
-folderId +folderId Double @@ -905,7 +905,7 @@ The following output properties are available:
-id +id Double @@ -914,7 +914,7 @@ The following output properties are available:
-name +name String @@ -923,10 +923,10 @@ The following output properties are available:
-variables +variables - List<SsisVariableResponse> + List<SsisVariableResponse>

Variable in environment

@@ -938,7 +938,7 @@ The following output properties are available:
-description +description string @@ -947,7 +947,7 @@ The following output properties are available:
-folderId +folderId number @@ -956,7 +956,7 @@ The following output properties are available:
-id +id number @@ -965,7 +965,7 @@ The following output properties are available:
-name +name string @@ -974,10 +974,10 @@ The following output properties are available:
-variables +variables - SsisVariableResponse[] + SsisVariableResponse[]

Variable in environment

@@ -989,7 +989,7 @@ The following output properties are available:
-description +description str @@ -998,7 +998,7 @@ The following output properties are available:
-folder_id +folder_id float @@ -1007,7 +1007,7 @@ The following output properties are available:
-id +id float @@ -1016,7 +1016,7 @@ The following output properties are available:
-name +name str @@ -1025,10 +1025,10 @@ The following output properties are available:
-variables +variables - Sequence[SsisVariableResponse] + Sequence[SsisVariableResponse]

Variable in environment

@@ -1040,7 +1040,7 @@ The following output properties are available:
-description +description String @@ -1049,7 +1049,7 @@ The following output properties are available:
-folderId +folderId Number @@ -1058,7 +1058,7 @@ The following output properties are available:
-id +id Number @@ -1067,7 +1067,7 @@ The following output properties are available:
-name +name String @@ -1076,10 +1076,10 @@ The following output properties are available:
-variables +variables - List<Property Map> + List<Property Map>

Variable in environment

@@ -1095,7 +1095,7 @@ The following output properties are available:
-Description +Description string @@ -1104,7 +1104,7 @@ The following output properties are available:
-Id +Id double @@ -1113,7 +1113,7 @@ The following output properties are available:
-Name +Name string @@ -1128,7 +1128,7 @@ The following output properties are available:
-Description +Description string @@ -1137,7 +1137,7 @@ The following output properties are available:
-Id +Id float64 @@ -1146,7 +1146,7 @@ The following output properties are available:
-Name +Name string @@ -1161,7 +1161,7 @@ The following output properties are available:
-description +description String @@ -1170,7 +1170,7 @@ The following output properties are available:
-id +id Double @@ -1179,7 +1179,7 @@ The following output properties are available:
-name +name String @@ -1194,7 +1194,7 @@ The following output properties are available:
-description +description string @@ -1203,7 +1203,7 @@ The following output properties are available:
-id +id number @@ -1212,7 +1212,7 @@ The following output properties are available:
-name +name string @@ -1227,7 +1227,7 @@ The following output properties are available:
-description +description str @@ -1236,7 +1236,7 @@ The following output properties are available:
-id +id float @@ -1245,7 +1245,7 @@ The following output properties are available:
-name +name str @@ -1260,7 +1260,7 @@ The following output properties are available:
-description +description String @@ -1269,7 +1269,7 @@ The following output properties are available:
-id +id Number @@ -1278,7 +1278,7 @@ The following output properties are available:
-name +name String @@ -1297,7 +1297,7 @@ The following output properties are available:
-Description +Description string @@ -1306,7 +1306,7 @@ The following output properties are available:
-FolderId +FolderId double @@ -1315,7 +1315,7 @@ The following output properties are available:
-Id +Id double @@ -1324,7 +1324,7 @@ The following output properties are available:
-Name +Name string @@ -1333,16 +1333,16 @@ The following output properties are available:
-Parameters +Parameters - List<SsisParameterResponse> + List<SsisParameterResponse>

Parameters in package

-ProjectId +ProjectId double @@ -1351,7 +1351,7 @@ The following output properties are available:
-ProjectVersion +ProjectVersion double @@ -1366,7 +1366,7 @@ The following output properties are available:
-Description +Description string @@ -1375,7 +1375,7 @@ The following output properties are available:
-FolderId +FolderId float64 @@ -1384,7 +1384,7 @@ The following output properties are available:
-Id +Id float64 @@ -1393,7 +1393,7 @@ The following output properties are available:
-Name +Name string @@ -1402,16 +1402,16 @@ The following output properties are available:
-Parameters +Parameters - []SsisParameterResponse + []SsisParameterResponse

Parameters in package

-ProjectId +ProjectId float64 @@ -1420,7 +1420,7 @@ The following output properties are available:
-ProjectVersion +ProjectVersion float64 @@ -1435,7 +1435,7 @@ The following output properties are available:
-description +description String @@ -1444,7 +1444,7 @@ The following output properties are available:
-folderId +folderId Double @@ -1453,7 +1453,7 @@ The following output properties are available:
-id +id Double @@ -1462,7 +1462,7 @@ The following output properties are available:
-name +name String @@ -1471,16 +1471,16 @@ The following output properties are available:
-parameters +parameters - List<SsisParameterResponse> + List<SsisParameterResponse>

Parameters in package

-projectId +projectId Double @@ -1489,7 +1489,7 @@ The following output properties are available:
-projectVersion +projectVersion Double @@ -1504,7 +1504,7 @@ The following output properties are available:
-description +description string @@ -1513,7 +1513,7 @@ The following output properties are available:
-folderId +folderId number @@ -1522,7 +1522,7 @@ The following output properties are available:
-id +id number @@ -1531,7 +1531,7 @@ The following output properties are available:
-name +name string @@ -1540,16 +1540,16 @@ The following output properties are available:
-parameters +parameters - SsisParameterResponse[] + SsisParameterResponse[]

Parameters in package

-projectId +projectId number @@ -1558,7 +1558,7 @@ The following output properties are available:
-projectVersion +projectVersion number @@ -1573,7 +1573,7 @@ The following output properties are available:
-description +description str @@ -1582,7 +1582,7 @@ The following output properties are available:
-folder_id +folder_id float @@ -1591,7 +1591,7 @@ The following output properties are available:
-id +id float @@ -1600,7 +1600,7 @@ The following output properties are available:
-name +name str @@ -1609,16 +1609,16 @@ The following output properties are available:
-parameters +parameters - Sequence[SsisParameterResponse] + Sequence[SsisParameterResponse]

Parameters in package

-project_id +project_id float @@ -1627,7 +1627,7 @@ The following output properties are available:
-project_version +project_version float @@ -1642,7 +1642,7 @@ The following output properties are available:
-description +description String @@ -1651,7 +1651,7 @@ The following output properties are available:
-folderId +folderId Number @@ -1660,7 +1660,7 @@ The following output properties are available:
-id +id Number @@ -1669,7 +1669,7 @@ The following output properties are available:
-name +name String @@ -1678,16 +1678,16 @@ The following output properties are available:
-parameters +parameters - List<Property Map> + List<Property Map>

Parameters in package

-projectId +projectId Number @@ -1696,7 +1696,7 @@ The following output properties are available:
-projectVersion +projectVersion Number @@ -1715,7 +1715,7 @@ The following output properties are available:
-DataType +DataType string @@ -1724,7 +1724,7 @@ The following output properties are available:
-DefaultValue +DefaultValue string @@ -1733,7 +1733,7 @@ The following output properties are available:
-Description +Description string @@ -1742,7 +1742,7 @@ The following output properties are available:
-DesignDefaultValue +DesignDefaultValue string @@ -1751,7 +1751,7 @@ The following output properties are available:
-Id +Id double @@ -1760,7 +1760,7 @@ The following output properties are available:
-Name +Name string @@ -1769,7 +1769,7 @@ The following output properties are available:
-Required +Required bool @@ -1778,7 +1778,7 @@ The following output properties are available:
-Sensitive +Sensitive bool @@ -1787,7 +1787,7 @@ The following output properties are available:
-SensitiveDefaultValue +SensitiveDefaultValue string @@ -1796,7 +1796,7 @@ The following output properties are available:
-ValueSet +ValueSet bool @@ -1805,7 +1805,7 @@ The following output properties are available:
-ValueType +ValueType string @@ -1814,7 +1814,7 @@ The following output properties are available:
-Variable +Variable string @@ -1829,7 +1829,7 @@ The following output properties are available:
-DataType +DataType string @@ -1838,7 +1838,7 @@ The following output properties are available:
-DefaultValue +DefaultValue string @@ -1847,7 +1847,7 @@ The following output properties are available:
-Description +Description string @@ -1856,7 +1856,7 @@ The following output properties are available:
-DesignDefaultValue +DesignDefaultValue string @@ -1865,7 +1865,7 @@ The following output properties are available:
-Id +Id float64 @@ -1874,7 +1874,7 @@ The following output properties are available:
-Name +Name string @@ -1883,7 +1883,7 @@ The following output properties are available:
-Required +Required bool @@ -1892,7 +1892,7 @@ The following output properties are available:
-Sensitive +Sensitive bool @@ -1901,7 +1901,7 @@ The following output properties are available:
-SensitiveDefaultValue +SensitiveDefaultValue string @@ -1910,7 +1910,7 @@ The following output properties are available:
-ValueSet +ValueSet bool @@ -1919,7 +1919,7 @@ The following output properties are available:
-ValueType +ValueType string @@ -1928,7 +1928,7 @@ The following output properties are available:
-Variable +Variable string @@ -1943,7 +1943,7 @@ The following output properties are available:
-dataType +dataType String @@ -1952,7 +1952,7 @@ The following output properties are available:
-defaultValue +defaultValue String @@ -1961,7 +1961,7 @@ The following output properties are available:
-description +description String @@ -1970,7 +1970,7 @@ The following output properties are available:
-designDefaultValue +designDefaultValue String @@ -1979,7 +1979,7 @@ The following output properties are available:
-id +id Double @@ -1988,7 +1988,7 @@ The following output properties are available:
-name +name String @@ -1997,7 +1997,7 @@ The following output properties are available:
-required +required Boolean @@ -2006,7 +2006,7 @@ The following output properties are available:
-sensitive +sensitive Boolean @@ -2015,7 +2015,7 @@ The following output properties are available:
-sensitiveDefaultValue +sensitiveDefaultValue String @@ -2024,7 +2024,7 @@ The following output properties are available:
-valueSet +valueSet Boolean @@ -2033,7 +2033,7 @@ The following output properties are available:
-valueType +valueType String @@ -2042,7 +2042,7 @@ The following output properties are available:
-variable +variable String @@ -2057,7 +2057,7 @@ The following output properties are available:
-dataType +dataType string @@ -2066,7 +2066,7 @@ The following output properties are available:
-defaultValue +defaultValue string @@ -2075,7 +2075,7 @@ The following output properties are available:
-description +description string @@ -2084,7 +2084,7 @@ The following output properties are available:
-designDefaultValue +designDefaultValue string @@ -2093,7 +2093,7 @@ The following output properties are available:
-id +id number @@ -2102,7 +2102,7 @@ The following output properties are available:
-name +name string @@ -2111,7 +2111,7 @@ The following output properties are available:
-required +required boolean @@ -2120,7 +2120,7 @@ The following output properties are available:
-sensitive +sensitive boolean @@ -2129,7 +2129,7 @@ The following output properties are available:
-sensitiveDefaultValue +sensitiveDefaultValue string @@ -2138,7 +2138,7 @@ The following output properties are available:
-valueSet +valueSet boolean @@ -2147,7 +2147,7 @@ The following output properties are available:
-valueType +valueType string @@ -2156,7 +2156,7 @@ The following output properties are available:
-variable +variable string @@ -2171,7 +2171,7 @@ The following output properties are available:
-data_type +data_type str @@ -2180,7 +2180,7 @@ The following output properties are available:
-default_value +default_value str @@ -2189,7 +2189,7 @@ The following output properties are available:
-description +description str @@ -2198,7 +2198,7 @@ The following output properties are available:
-design_default_value +design_default_value str @@ -2207,7 +2207,7 @@ The following output properties are available:
-id +id float @@ -2216,7 +2216,7 @@ The following output properties are available:
-name +name str @@ -2225,7 +2225,7 @@ The following output properties are available:
-required +required bool @@ -2234,7 +2234,7 @@ The following output properties are available:
-sensitive +sensitive bool @@ -2243,7 +2243,7 @@ The following output properties are available:
-sensitive_default_value +sensitive_default_value str @@ -2252,7 +2252,7 @@ The following output properties are available:
-value_set +value_set bool @@ -2261,7 +2261,7 @@ The following output properties are available:
-value_type +value_type str @@ -2270,7 +2270,7 @@ The following output properties are available:
-variable +variable str @@ -2285,7 +2285,7 @@ The following output properties are available:
-dataType +dataType String @@ -2294,7 +2294,7 @@ The following output properties are available:
-defaultValue +defaultValue String @@ -2303,7 +2303,7 @@ The following output properties are available:
-description +description String @@ -2312,7 +2312,7 @@ The following output properties are available:
-designDefaultValue +designDefaultValue String @@ -2321,7 +2321,7 @@ The following output properties are available:
-id +id Number @@ -2330,7 +2330,7 @@ The following output properties are available:
-name +name String @@ -2339,7 +2339,7 @@ The following output properties are available:
-required +required Boolean @@ -2348,7 +2348,7 @@ The following output properties are available:
-sensitive +sensitive Boolean @@ -2357,7 +2357,7 @@ The following output properties are available:
-sensitiveDefaultValue +sensitiveDefaultValue String @@ -2366,7 +2366,7 @@ The following output properties are available:
-valueSet +valueSet Boolean @@ -2375,7 +2375,7 @@ The following output properties are available:
-valueType +valueType String @@ -2384,7 +2384,7 @@ The following output properties are available:
-variable +variable String @@ -2403,7 +2403,7 @@ The following output properties are available:
-Description +Description string @@ -2412,16 +2412,16 @@ The following output properties are available:
-EnvironmentRefs +EnvironmentRefs - List<SsisEnvironmentReferenceResponse> + List<SsisEnvironmentReferenceResponse>

Environment reference in project

-FolderId +FolderId double @@ -2430,7 +2430,7 @@ The following output properties are available:
-Id +Id double @@ -2439,7 +2439,7 @@ The following output properties are available:
-Name +Name string @@ -2448,16 +2448,16 @@ The following output properties are available:
-Parameters +Parameters - List<SsisParameterResponse> + List<SsisParameterResponse>

Parameters in project

-Version +Version double @@ -2472,7 +2472,7 @@ The following output properties are available:
-Description +Description string @@ -2481,16 +2481,16 @@ The following output properties are available:
-EnvironmentRefs +EnvironmentRefs - []SsisEnvironmentReferenceResponse + []SsisEnvironmentReferenceResponse

Environment reference in project

-FolderId +FolderId float64 @@ -2499,7 +2499,7 @@ The following output properties are available:
-Id +Id float64 @@ -2508,7 +2508,7 @@ The following output properties are available:
-Name +Name string @@ -2517,16 +2517,16 @@ The following output properties are available:
-Parameters +Parameters - []SsisParameterResponse + []SsisParameterResponse

Parameters in project

-Version +Version float64 @@ -2541,7 +2541,7 @@ The following output properties are available:
-description +description String @@ -2550,16 +2550,16 @@ The following output properties are available:
-environmentRefs +environmentRefs - List<SsisEnvironmentReferenceResponse> + List<SsisEnvironmentReferenceResponse>

Environment reference in project

-folderId +folderId Double @@ -2568,7 +2568,7 @@ The following output properties are available:
-id +id Double @@ -2577,7 +2577,7 @@ The following output properties are available:
-name +name String @@ -2586,16 +2586,16 @@ The following output properties are available:
-parameters +parameters - List<SsisParameterResponse> + List<SsisParameterResponse>

Parameters in project

-version +version Double @@ -2610,7 +2610,7 @@ The following output properties are available:
-description +description string @@ -2619,16 +2619,16 @@ The following output properties are available:
-environmentRefs +environmentRefs - SsisEnvironmentReferenceResponse[] + SsisEnvironmentReferenceResponse[]

Environment reference in project

-folderId +folderId number @@ -2637,7 +2637,7 @@ The following output properties are available:
-id +id number @@ -2646,7 +2646,7 @@ The following output properties are available:
-name +name string @@ -2655,16 +2655,16 @@ The following output properties are available:
-parameters +parameters - SsisParameterResponse[] + SsisParameterResponse[]

Parameters in project

-version +version number @@ -2679,7 +2679,7 @@ The following output properties are available:
-description +description str @@ -2688,16 +2688,16 @@ The following output properties are available:
-environment_refs +environment_refs - Sequence[SsisEnvironmentReferenceResponse] + Sequence[SsisEnvironmentReferenceResponse]

Environment reference in project

-folder_id +folder_id float @@ -2706,7 +2706,7 @@ The following output properties are available:
-id +id float @@ -2715,7 +2715,7 @@ The following output properties are available:
-name +name str @@ -2724,16 +2724,16 @@ The following output properties are available:
-parameters +parameters - Sequence[SsisParameterResponse] + Sequence[SsisParameterResponse]

Parameters in project

-version +version float @@ -2748,7 +2748,7 @@ The following output properties are available:
-description +description String @@ -2757,16 +2757,16 @@ The following output properties are available:
-environmentRefs +environmentRefs - List<Property Map> + List<Property Map>

Environment reference in project

-folderId +folderId Number @@ -2775,7 +2775,7 @@ The following output properties are available:
-id +id Number @@ -2784,7 +2784,7 @@ The following output properties are available:
-name +name String @@ -2793,16 +2793,16 @@ The following output properties are available:
-parameters +parameters - List<Property Map> + List<Property Map>

Parameters in project

-version +version Number @@ -2821,7 +2821,7 @@ The following output properties are available:
-DataType +DataType string @@ -2830,7 +2830,7 @@ The following output properties are available:
-Description +Description string @@ -2839,7 +2839,7 @@ The following output properties are available:
-Id +Id double @@ -2848,7 +2848,7 @@ The following output properties are available:
-Name +Name string @@ -2857,7 +2857,7 @@ The following output properties are available:
-Sensitive +Sensitive bool @@ -2866,7 +2866,7 @@ The following output properties are available:
-SensitiveValue +SensitiveValue string @@ -2875,7 +2875,7 @@ The following output properties are available:
-Value +Value string @@ -2890,7 +2890,7 @@ The following output properties are available:
-DataType +DataType string @@ -2899,7 +2899,7 @@ The following output properties are available:
-Description +Description string @@ -2908,7 +2908,7 @@ The following output properties are available:
-Id +Id float64 @@ -2917,7 +2917,7 @@ The following output properties are available:
-Name +Name string @@ -2926,7 +2926,7 @@ The following output properties are available:
-Sensitive +Sensitive bool @@ -2935,7 +2935,7 @@ The following output properties are available:
-SensitiveValue +SensitiveValue string @@ -2944,7 +2944,7 @@ The following output properties are available:
-Value +Value string @@ -2959,7 +2959,7 @@ The following output properties are available:
-dataType +dataType String @@ -2968,7 +2968,7 @@ The following output properties are available:
-description +description String @@ -2977,7 +2977,7 @@ The following output properties are available:
-id +id Double @@ -2986,7 +2986,7 @@ The following output properties are available:
-name +name String @@ -2995,7 +2995,7 @@ The following output properties are available:
-sensitive +sensitive Boolean @@ -3004,7 +3004,7 @@ The following output properties are available:
-sensitiveValue +sensitiveValue String @@ -3013,7 +3013,7 @@ The following output properties are available:
-value +value String @@ -3028,7 +3028,7 @@ The following output properties are available:
-dataType +dataType string @@ -3037,7 +3037,7 @@ The following output properties are available:
-description +description string @@ -3046,7 +3046,7 @@ The following output properties are available:
-id +id number @@ -3055,7 +3055,7 @@ The following output properties are available:
-name +name string @@ -3064,7 +3064,7 @@ The following output properties are available:
-sensitive +sensitive boolean @@ -3073,7 +3073,7 @@ The following output properties are available:
-sensitiveValue +sensitiveValue string @@ -3082,7 +3082,7 @@ The following output properties are available:
-value +value string @@ -3097,7 +3097,7 @@ The following output properties are available:
-data_type +data_type str @@ -3106,7 +3106,7 @@ The following output properties are available:
-description +description str @@ -3115,7 +3115,7 @@ The following output properties are available:
-id +id float @@ -3124,7 +3124,7 @@ The following output properties are available:
-name +name str @@ -3133,7 +3133,7 @@ The following output properties are available:
-sensitive +sensitive bool @@ -3142,7 +3142,7 @@ The following output properties are available:
-sensitive_value +sensitive_value str @@ -3151,7 +3151,7 @@ The following output properties are available:
-value +value str @@ -3166,7 +3166,7 @@ The following output properties are available:
-dataType +dataType String @@ -3175,7 +3175,7 @@ The following output properties are available:
-description +description String @@ -3184,7 +3184,7 @@ The following output properties are available:
-id +id Number @@ -3193,7 +3193,7 @@ The following output properties are available:
-name +name String @@ -3202,7 +3202,7 @@ The following output properties are available:
-sensitive +sensitive Boolean @@ -3211,7 +3211,7 @@ The following output properties are available:
-sensitiveValue +sensitiveValue String @@ -3220,7 +3220,7 @@ The following output properties are available:
-value +value String diff --git a/pkg/codegen/testing/test/testdata/output-funcs/docs/liststorageaccountkeys/_index.md b/pkg/codegen/testing/test/testdata/output-funcs/docs/liststorageaccountkeys/_index.md index 7c82ec202640..d56d8369bcda 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/docs/liststorageaccountkeys/_index.md +++ b/pkg/codegen/testing/test/testdata/output-funcs/docs/liststorageaccountkeys/_index.md @@ -112,7 +112,7 @@ The following arguments are supported:
-AccountName +AccountName string @@ -121,7 +121,7 @@ The following arguments are supported:
-ResourceGroupName +ResourceGroupName string @@ -130,7 +130,7 @@ The following arguments are supported:
-Expand +Expand string @@ -145,7 +145,7 @@ The following arguments are supported:
-AccountName +AccountName string @@ -154,7 +154,7 @@ The following arguments are supported:
-ResourceGroupName +ResourceGroupName string @@ -163,7 +163,7 @@ The following arguments are supported:
-Expand +Expand string @@ -178,7 +178,7 @@ The following arguments are supported:
-accountName +accountName String @@ -187,7 +187,7 @@ The following arguments are supported:
-resourceGroupName +resourceGroupName String @@ -196,7 +196,7 @@ The following arguments are supported:
-expand +expand String @@ -211,7 +211,7 @@ The following arguments are supported:
-accountName +accountName string @@ -220,7 +220,7 @@ The following arguments are supported:
-resourceGroupName +resourceGroupName string @@ -229,7 +229,7 @@ The following arguments are supported:
-expand +expand string @@ -244,7 +244,7 @@ The following arguments are supported:
-account_name +account_name str @@ -253,7 +253,7 @@ The following arguments are supported:
-resource_group_name +resource_group_name str @@ -262,7 +262,7 @@ The following arguments are supported:
-expand +expand str @@ -277,7 +277,7 @@ The following arguments are supported:
-accountName +accountName String @@ -286,7 +286,7 @@ The following arguments are supported:
-resourceGroupName +resourceGroupName String @@ -295,7 +295,7 @@ The following arguments are supported:
-expand +expand String @@ -319,10 +319,10 @@ The following output properties are available:
-Keys +Keys - List<StorageAccountKeyResponse> + List<StorageAccountKeyResponse>

Gets the list of storage account keys and their properties for the specified storage account.

@@ -334,10 +334,10 @@ The following output properties are available:
-Keys +Keys - []StorageAccountKeyResponse + []StorageAccountKeyResponse

Gets the list of storage account keys and their properties for the specified storage account.

@@ -349,10 +349,10 @@ The following output properties are available:
-keys +keys - List<StorageAccountKeyResponse> + List<StorageAccountKeyResponse>

Gets the list of storage account keys and their properties for the specified storage account.

@@ -364,10 +364,10 @@ The following output properties are available:
-keys +keys - StorageAccountKeyResponse[] + StorageAccountKeyResponse[]

Gets the list of storage account keys and their properties for the specified storage account.

@@ -379,10 +379,10 @@ The following output properties are available:
-keys +keys - Sequence[StorageAccountKeyResponse] + Sequence[StorageAccountKeyResponse]

Gets the list of storage account keys and their properties for the specified storage account.

@@ -394,10 +394,10 @@ The following output properties are available:
-keys +keys - List<Property Map> + List<Property Map>

Gets the list of storage account keys and their properties for the specified storage account.

@@ -419,7 +419,7 @@ The following output properties are available:
-CreationTime +CreationTime string @@ -428,7 +428,7 @@ The following output properties are available:
-KeyName +KeyName string @@ -437,7 +437,7 @@ The following output properties are available:
-Permissions +Permissions string @@ -446,7 +446,7 @@ The following output properties are available:
-Value +Value string @@ -461,7 +461,7 @@ The following output properties are available:
-CreationTime +CreationTime string @@ -470,7 +470,7 @@ The following output properties are available:
-KeyName +KeyName string @@ -479,7 +479,7 @@ The following output properties are available:
-Permissions +Permissions string @@ -488,7 +488,7 @@ The following output properties are available:
-Value +Value string @@ -503,7 +503,7 @@ The following output properties are available:
-creationTime +creationTime String @@ -512,7 +512,7 @@ The following output properties are available:
-keyName +keyName String @@ -521,7 +521,7 @@ The following output properties are available:
-permissions +permissions String @@ -530,7 +530,7 @@ The following output properties are available:
-value +value String @@ -545,7 +545,7 @@ The following output properties are available:
-creationTime +creationTime string @@ -554,7 +554,7 @@ The following output properties are available:
-keyName +keyName string @@ -563,7 +563,7 @@ The following output properties are available:
-permissions +permissions string @@ -572,7 +572,7 @@ The following output properties are available:
-value +value string @@ -587,7 +587,7 @@ The following output properties are available:
-creation_time +creation_time str @@ -596,7 +596,7 @@ The following output properties are available:
-key_name +key_name str @@ -605,7 +605,7 @@ The following output properties are available:
-permissions +permissions str @@ -614,7 +614,7 @@ The following output properties are available:
-value +value str @@ -629,7 +629,7 @@ The following output properties are available:
-creationTime +creationTime String @@ -638,7 +638,7 @@ The following output properties are available:
-keyName +keyName String @@ -647,7 +647,7 @@ The following output properties are available:
-permissions +permissions String @@ -656,7 +656,7 @@ The following output properties are available:
-value +value String diff --git a/pkg/codegen/testing/test/testdata/output-funcs/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/output-funcs/docs/provider/_index.md index 2ccdad9b46ac..5e2162082093 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/output-funcs/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -34,28 +34,28 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/plain-and-default/docs/moduleresource/_index.md b/pkg/codegen/testing/test/testdata/plain-and-default/docs/moduleresource/_index.md index 2e54927b3e3c..d72ad203dd39 100644 --- a/pkg/codegen/testing/test/testdata/plain-and-default/docs/moduleresource/_index.md +++ b/pkg/codegen/testing/test/testdata/plain-and-default/docs/moduleresource/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new ModuleResource(name: string, args: ModuleResourceArgs, opts?: CustomResourceOptions);
+
new ModuleResource(name: string, args: ModuleResourceArgs, opts?: CustomResourceOptions);
@@ -48,28 +48,28 @@ no_edit_this_page: true required_string: Optional[str] = None) @overload def ModuleResource(resource_name: str, - args: ModuleResourceArgs, + args: ModuleResourceArgs, opts: Optional[ResourceOptions] = None)
-
func NewModuleResource(ctx *Context, name string, args ModuleResourceArgs, opts ...ResourceOption) (*ModuleResource, error)
+
func NewModuleResource(ctx *Context, name string, args ModuleResourceArgs, opts ...ResourceOption) (*ModuleResource, error)
-
public ModuleResource(string name, ModuleResourceArgs args, CustomResourceOptions? opts = null)
+
public ModuleResource(string name, ModuleResourceArgs args, CustomResourceOptions? opts = null)
-public ModuleResource(String name, ModuleResourceArgs args)
-public ModuleResource(String name, ModuleResourceArgs args, CustomResourceOptions options)
+public ModuleResource(String name, ModuleResourceArgs args)
+public ModuleResource(String name, ModuleResourceArgs args, CustomResourceOptions options)
 
@@ -97,7 +97,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ModuleResourceArgs + ModuleResourceArgs
The arguments to resource properties.
@@ -123,7 +123,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ModuleResourceArgs + ModuleResourceArgs
The arguments to resource properties.
@@ -155,7 +155,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ModuleResourceArgs + ModuleResourceArgs
The arguments to resource properties.
@@ -181,7 +181,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ModuleResourceArgs + ModuleResourceArgs
The arguments to resource properties.
@@ -207,7 +207,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ModuleResourceArgs + ModuleResourceArgs
The arguments to resource properties.
@@ -235,7 +235,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-Plain_required_bool +Plain_required_bool bool @@ -243,7 +243,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-Plain_required_number +Plain_required_number double @@ -251,7 +251,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-Plain_required_string +Plain_required_string string @@ -259,7 +259,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-Required_bool +Required_bool bool @@ -267,15 +267,15 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-Required_enum +Required_enum - Pulumi.FooBar.EnumThing + Pulumi.FooBar.EnumThing
-Required_number +Required_number double @@ -283,7 +283,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-Required_string +Required_string string @@ -291,7 +291,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-Optional_bool +Optional_bool bool @@ -299,15 +299,15 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-Optional_enum +Optional_enum - Pulumi.FooBar.EnumThing + Pulumi.FooBar.EnumThing
-Optional_number +Optional_number double @@ -315,7 +315,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-Optional_string +Optional_string string @@ -323,7 +323,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-Plain_optional_bool +Plain_optional_bool bool @@ -331,7 +331,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-Plain_optional_number +Plain_optional_number double @@ -339,7 +339,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-Plain_optional_string +Plain_optional_string string @@ -353,7 +353,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-Plain_required_bool +Plain_required_bool bool @@ -361,7 +361,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-Plain_required_number +Plain_required_number float64 @@ -369,7 +369,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-Plain_required_string +Plain_required_string string @@ -377,7 +377,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-Required_bool +Required_bool bool @@ -385,15 +385,15 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-Required_enum +Required_enum - EnumThing + EnumThing
-Required_number +Required_number float64 @@ -401,7 +401,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-Required_string +Required_string string @@ -409,7 +409,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-Optional_bool +Optional_bool bool @@ -417,15 +417,15 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-Optional_enum +Optional_enum - EnumThing + EnumThing
-Optional_number +Optional_number float64 @@ -433,7 +433,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-Optional_string +Optional_string string @@ -441,7 +441,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-Plain_optional_bool +Plain_optional_bool bool @@ -449,7 +449,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-Plain_optional_number +Plain_optional_number float64 @@ -457,7 +457,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-Plain_optional_string +Plain_optional_string string @@ -471,7 +471,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-plain_required_bool +plain_required_bool Boolean @@ -479,7 +479,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-plain_required_number +plain_required_number Double @@ -487,7 +487,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-plain_required_string +plain_required_string String @@ -495,7 +495,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-required_bool +required_bool Boolean @@ -503,15 +503,15 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-required_enum +required_enum - EnumThing + EnumThing
-required_number +required_number Double @@ -519,7 +519,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-required_string +required_string String @@ -527,7 +527,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-optional_bool +optional_bool Boolean @@ -535,15 +535,15 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-optional_enum +optional_enum - EnumThing + EnumThing
-optional_number +optional_number Double @@ -551,7 +551,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-optional_string +optional_string String @@ -559,7 +559,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-plain_optional_bool +plain_optional_bool Boolean @@ -567,7 +567,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-plain_optional_number +plain_optional_number Double @@ -575,7 +575,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-plain_optional_string +plain_optional_string String @@ -589,7 +589,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-plain_required_bool +plain_required_bool boolean @@ -597,7 +597,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-plain_required_number +plain_required_number number @@ -605,7 +605,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-plain_required_string +plain_required_string string @@ -613,7 +613,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-required_bool +required_bool boolean @@ -621,15 +621,15 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-required_enum +required_enum - EnumThing + EnumThing
-required_number +required_number number @@ -637,7 +637,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-required_string +required_string string @@ -645,7 +645,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-optional_bool +optional_bool boolean @@ -653,15 +653,15 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-optional_enum +optional_enum - EnumThing + EnumThing
-optional_number +optional_number number @@ -669,7 +669,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-optional_string +optional_string string @@ -677,7 +677,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-plain_optional_bool +plain_optional_bool boolean @@ -685,7 +685,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-plain_optional_number +plain_optional_number number @@ -693,7 +693,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-plain_optional_string +plain_optional_string string @@ -707,7 +707,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-plain_required_bool +plain_required_bool bool @@ -715,7 +715,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-plain_required_number +plain_required_number float @@ -723,7 +723,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-plain_required_string +plain_required_string str @@ -731,7 +731,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-required_bool +required_bool bool @@ -739,15 +739,15 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-required_enum +required_enum - EnumThing + EnumThing
-required_number +required_number float @@ -755,7 +755,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-required_string +required_string str @@ -763,7 +763,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-optional_bool +optional_bool bool @@ -771,15 +771,15 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-optional_enum +optional_enum - EnumThing + EnumThing
-optional_number +optional_number float @@ -787,7 +787,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-optional_string +optional_string str @@ -795,7 +795,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-plain_optional_bool +plain_optional_bool bool @@ -803,7 +803,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-plain_optional_number +plain_optional_number float @@ -811,7 +811,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-plain_optional_string +plain_optional_string str @@ -825,7 +825,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-plain_required_bool +plain_required_bool Boolean @@ -833,7 +833,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-plain_required_number +plain_required_number Number @@ -841,7 +841,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-plain_required_string +plain_required_string String @@ -849,7 +849,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-required_bool +required_bool Boolean @@ -857,15 +857,15 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-required_enum +required_enum - 4 | 6 | 8 + 4 | 6 | 8
-required_number +required_number Number @@ -873,7 +873,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-required_string +required_string String @@ -881,7 +881,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-optional_bool +optional_bool Boolean @@ -889,15 +889,15 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-optional_enum +optional_enum - 4 | 6 | 8 + 4 | 6 | 8
-optional_number +optional_number Number @@ -905,7 +905,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-optional_string +optional_string String @@ -913,7 +913,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-plain_optional_bool +plain_optional_bool Boolean @@ -921,7 +921,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-plain_optional_number +plain_optional_number Number @@ -929,7 +929,7 @@ The ModuleResource resource accepts the following [input](/docs/intro/concepts/i
-plain_optional_string +plain_optional_string String @@ -950,7 +950,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -965,7 +965,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -980,7 +980,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -995,7 +995,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -1010,7 +1010,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -1025,7 +1025,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/plain-and-default/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/plain-and-default/docs/provider/_index.md index 4d421ca51c49..2fc501cc273b 100644 --- a/pkg/codegen/testing/test/testdata/plain-and-default/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/plain-and-default/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -34,28 +34,28 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/foo/_index.md b/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/foo/_index.md index bf46f3c1e664..31ce0d52dad8 100644 --- a/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/foo/_index.md +++ b/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/foo/_index.md @@ -25,7 +25,7 @@ test new feature with resoruces
-
new Foo(name: string, args: FooArgs, opts?: CustomResourceOptions);
+
new Foo(name: string, args: FooArgs, opts?: CustomResourceOptions);
@@ -40,28 +40,28 @@ test new feature with resoruces settings: Optional[LayeredTypeArgs] = None) @overload def Foo(resource_name: str, - args: FooArgs, + args: FooArgs, opts: Optional[ResourceOptions] = None)
-
func NewFoo(ctx *Context, name string, args FooArgs, opts ...ResourceOption) (*Foo, error)
+
func NewFoo(ctx *Context, name string, args FooArgs, opts ...ResourceOption) (*Foo, error)
-
public Foo(string name, FooArgs args, CustomResourceOptions? opts = null)
+
public Foo(string name, FooArgs args, CustomResourceOptions? opts = null)
-public Foo(String name, FooArgs args)
-public Foo(String name, FooArgs args, CustomResourceOptions options)
+public Foo(String name, FooArgs args)
+public Foo(String name, FooArgs args, CustomResourceOptions options)
 
@@ -89,7 +89,7 @@ test new feature with resoruces class="property-required" title="Required"> args - FooArgs + FooArgs
The arguments to resource properties.
@@ -115,7 +115,7 @@ test new feature with resoruces class="property-required" title="Required"> args - FooArgs + FooArgs
The arguments to resource properties.
@@ -147,7 +147,7 @@ test new feature with resoruces class="property-required" title="Required"> args - FooArgs + FooArgs
The arguments to resource properties.
@@ -173,7 +173,7 @@ test new feature with resoruces class="property-required" title="Required"> args - FooArgs + FooArgs
The arguments to resource properties.
@@ -199,7 +199,7 @@ test new feature with resoruces class="property-required" title="Required"> args - FooArgs + FooArgs
The arguments to resource properties.
@@ -227,16 +227,16 @@ The Foo resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-BackupKubeClientSettings +BackupKubeClientSettings - KubeClientSettingsArgs + KubeClientSettingsArgs

Options for tuning the Kubernetes client used by a Provider.

-Argument +Argument string @@ -244,19 +244,19 @@ The Foo resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-KubeClientSettings +KubeClientSettings - KubeClientSettingsArgs + KubeClientSettingsArgs

Options for tuning the Kubernetes client used by a Provider.

-Settings +Settings - LayeredTypeArgs + LayeredTypeArgs

describing things

@@ -268,16 +268,16 @@ The Foo resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-BackupKubeClientSettings +BackupKubeClientSettings - KubeClientSettingsArgs + KubeClientSettingsArgs

Options for tuning the Kubernetes client used by a Provider.

-Argument +Argument string @@ -285,19 +285,19 @@ The Foo resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-KubeClientSettings +KubeClientSettings - KubeClientSettingsArgs + KubeClientSettingsArgs

Options for tuning the Kubernetes client used by a Provider.

-Settings +Settings - LayeredTypeArgs + LayeredTypeArgs

describing things

@@ -309,16 +309,16 @@ The Foo resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-backupKubeClientSettings +backupKubeClientSettings - KubeClientSettingsArgs + KubeClientSettingsArgs

Options for tuning the Kubernetes client used by a Provider.

-argument +argument String @@ -326,19 +326,19 @@ The Foo resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-kubeClientSettings +kubeClientSettings - KubeClientSettingsArgs + KubeClientSettingsArgs

Options for tuning the Kubernetes client used by a Provider.

-settings +settings - LayeredTypeArgs + LayeredTypeArgs

describing things

@@ -350,16 +350,16 @@ The Foo resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-backupKubeClientSettings +backupKubeClientSettings - KubeClientSettingsArgs + KubeClientSettingsArgs

Options for tuning the Kubernetes client used by a Provider.

-argument +argument string @@ -367,19 +367,19 @@ The Foo resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-kubeClientSettings +kubeClientSettings - KubeClientSettingsArgs + KubeClientSettingsArgs

Options for tuning the Kubernetes client used by a Provider.

-settings +settings - LayeredTypeArgs + LayeredTypeArgs

describing things

@@ -391,16 +391,16 @@ The Foo resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-backup_kube_client_settings +backup_kube_client_settings - KubeClientSettingsArgs + KubeClientSettingsArgs

Options for tuning the Kubernetes client used by a Provider.

-argument +argument str @@ -408,19 +408,19 @@ The Foo resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-kube_client_settings +kube_client_settings - KubeClientSettingsArgs + KubeClientSettingsArgs

Options for tuning the Kubernetes client used by a Provider.

-settings +settings - LayeredTypeArgs + LayeredTypeArgs

describing things

@@ -432,16 +432,16 @@ The Foo resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-backupKubeClientSettings +backupKubeClientSettings - Property Map + Property Map

Options for tuning the Kubernetes client used by a Provider.

-argument +argument String @@ -449,19 +449,19 @@ The Foo resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-kubeClientSettings +kubeClientSettings - Property Map + Property Map

Options for tuning the Kubernetes client used by a Provider.

-settings +settings - Property Map + Property Map

describing things

@@ -480,7 +480,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -489,10 +489,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-DefaultKubeClientSettings +DefaultKubeClientSettings - KubeClientSettings + KubeClientSettings

A test for plain types

@@ -504,7 +504,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -513,10 +513,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-DefaultKubeClientSettings +DefaultKubeClientSettings - KubeClientSettings + KubeClientSettings

A test for plain types

@@ -528,7 +528,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -537,10 +537,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-defaultKubeClientSettings +defaultKubeClientSettings - KubeClientSettings + KubeClientSettings

A test for plain types

@@ -552,7 +552,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -561,10 +561,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-defaultKubeClientSettings +defaultKubeClientSettings - KubeClientSettings + KubeClientSettings

A test for plain types

@@ -576,7 +576,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -585,10 +585,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-default_kube_client_settings +default_kube_client_settings - KubeClientSettings + KubeClientSettings

A test for plain types

@@ -600,7 +600,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -609,10 +609,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-defaultKubeClientSettings +defaultKubeClientSettings - Property Map + Property Map

A test for plain types

@@ -636,7 +636,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-RequiredArg +RequiredArg string @@ -645,7 +645,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Driver +Driver string @@ -654,7 +654,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-PluginsPath +PluginsPath string @@ -669,7 +669,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-RequiredArg +RequiredArg string @@ -678,7 +678,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Driver +Driver string @@ -687,7 +687,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-PluginsPath +PluginsPath string @@ -702,7 +702,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-requiredArg +requiredArg String @@ -711,7 +711,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-driver +driver String @@ -720,7 +720,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-pluginsPath +pluginsPath String @@ -735,7 +735,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-requiredArg +requiredArg string @@ -744,7 +744,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-driver +driver string @@ -753,7 +753,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-pluginsPath +pluginsPath string @@ -768,7 +768,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-required_arg +required_arg str @@ -777,7 +777,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-driver +driver str @@ -786,7 +786,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-plugins_path +plugins_path str @@ -801,7 +801,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-requiredArg +requiredArg String @@ -810,7 +810,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-driver +driver String @@ -819,7 +819,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-pluginsPath +pluginsPath String @@ -836,7 +836,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Burst +Burst int @@ -845,7 +845,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Qps +Qps double @@ -854,10 +854,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-RecTest +RecTest - KubeClientSettings + KubeClientSettings
@@ -868,7 +868,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Burst +Burst int @@ -877,7 +877,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Qps +Qps float64 @@ -886,10 +886,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-RecTest +RecTest - KubeClientSettings + KubeClientSettings
@@ -900,7 +900,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-burst +burst Integer @@ -909,7 +909,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-qps +qps Double @@ -918,10 +918,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-recTest +recTest - KubeClientSettings + KubeClientSettings
@@ -932,7 +932,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-burst +burst number @@ -941,7 +941,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-qps +qps number @@ -950,10 +950,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-recTest +recTest - KubeClientSettings + KubeClientSettings
@@ -964,7 +964,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-burst +burst int @@ -973,7 +973,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-qps +qps float @@ -982,10 +982,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-rec_test +rec_test - KubeClientSettings + KubeClientSettings
@@ -996,7 +996,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-burst +burst Number @@ -1005,7 +1005,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-qps +qps Number @@ -1014,10 +1014,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-recTest +recTest - Property Map + Property Map
@@ -1030,15 +1030,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Other +Other - HelmReleaseSettings + HelmReleaseSettings
-Thinker +Thinker string @@ -1047,7 +1047,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Answer +Answer double @@ -1056,16 +1056,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-PlainOther +PlainOther - HelmReleaseSettings + HelmReleaseSettings

Test how plain types interact

-Question +Question string @@ -1074,10 +1074,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Recursive +Recursive - LayeredType + LayeredType
@@ -1088,15 +1088,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Other +Other - HelmReleaseSettings + HelmReleaseSettings
-Thinker +Thinker string @@ -1105,7 +1105,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Answer +Answer float64 @@ -1114,16 +1114,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-PlainOther +PlainOther - HelmReleaseSettings + HelmReleaseSettings

Test how plain types interact

-Question +Question string @@ -1132,10 +1132,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Recursive +Recursive - LayeredType + LayeredType
@@ -1146,15 +1146,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-other +other - HelmReleaseSettings + HelmReleaseSettings
-thinker +thinker String @@ -1163,7 +1163,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-answer +answer Double @@ -1172,16 +1172,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-plainOther +plainOther - HelmReleaseSettings + HelmReleaseSettings

Test how plain types interact

-question +question String @@ -1190,10 +1190,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-recursive +recursive - LayeredType + LayeredType
@@ -1204,15 +1204,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-other +other - HelmReleaseSettings + HelmReleaseSettings
-thinker +thinker string @@ -1221,7 +1221,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-answer +answer number @@ -1230,16 +1230,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-plainOther +plainOther - HelmReleaseSettings + HelmReleaseSettings

Test how plain types interact

-question +question string @@ -1248,10 +1248,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-recursive +recursive - LayeredType + LayeredType
@@ -1262,15 +1262,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-other +other - HelmReleaseSettings + HelmReleaseSettings
-thinker +thinker str @@ -1279,7 +1279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-answer +answer float @@ -1288,16 +1288,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-plain_other +plain_other - HelmReleaseSettings + HelmReleaseSettings

Test how plain types interact

-question +question str @@ -1306,10 +1306,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-recursive +recursive - LayeredType + LayeredType
@@ -1320,15 +1320,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-other +other - Property Map + Property Map
-thinker +thinker String @@ -1337,7 +1337,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-answer +answer Number @@ -1346,16 +1346,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-plainOther +plainOther - Property Map + Property Map

Test how plain types interact

-question +question String @@ -1364,10 +1364,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-recursive +recursive - Property Map + Property Map
diff --git a/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/funcwithalloptionalinputs/_index.md b/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/funcwithalloptionalinputs/_index.md index 3a563532fb69..1bca923e0b4c 100644 --- a/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/funcwithalloptionalinputs/_index.md +++ b/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/funcwithalloptionalinputs/_index.md @@ -109,16 +109,16 @@ The following arguments are supported:
-A +A - HelmReleaseSettings + HelmReleaseSettings

Property A

-B +B string @@ -133,16 +133,16 @@ The following arguments are supported:
-A +A - HelmReleaseSettings + HelmReleaseSettings

Property A

-B +B string @@ -157,16 +157,16 @@ The following arguments are supported:
-a +a - HelmReleaseSettings + HelmReleaseSettings

Property A

-b +b String @@ -181,16 +181,16 @@ The following arguments are supported:
-a +a - HelmReleaseSettings + HelmReleaseSettings

Property A

-b +b string @@ -205,16 +205,16 @@ The following arguments are supported:
-a +a - HelmReleaseSettings + HelmReleaseSettings

Property A

-b +b str @@ -229,16 +229,16 @@ The following arguments are supported:
-a +a - Property Map + Property Map

Property A

-b +b String @@ -262,7 +262,7 @@ The following output properties are available:
-R +R string @@ -276,7 +276,7 @@ The following output properties are available:
-R +R string @@ -290,7 +290,7 @@ The following output properties are available:
-r +r String @@ -304,7 +304,7 @@ The following output properties are available:
-r +r string @@ -318,7 +318,7 @@ The following output properties are available:
-r +r str @@ -332,7 +332,7 @@ The following output properties are available:
-r +r String @@ -356,7 +356,7 @@ The following output properties are available:
-RequiredArg +RequiredArg string @@ -365,7 +365,7 @@ The following output properties are available:
-Driver +Driver string @@ -374,7 +374,7 @@ The following output properties are available:
-PluginsPath +PluginsPath string @@ -389,7 +389,7 @@ The following output properties are available:
-RequiredArg +RequiredArg string @@ -398,7 +398,7 @@ The following output properties are available:
-Driver +Driver string @@ -407,7 +407,7 @@ The following output properties are available:
-PluginsPath +PluginsPath string @@ -422,7 +422,7 @@ The following output properties are available:
-requiredArg +requiredArg String @@ -431,7 +431,7 @@ The following output properties are available:
-driver +driver String @@ -440,7 +440,7 @@ The following output properties are available:
-pluginsPath +pluginsPath String @@ -455,7 +455,7 @@ The following output properties are available:
-requiredArg +requiredArg string @@ -464,7 +464,7 @@ The following output properties are available:
-driver +driver string @@ -473,7 +473,7 @@ The following output properties are available:
-pluginsPath +pluginsPath string @@ -488,7 +488,7 @@ The following output properties are available:
-required_arg +required_arg str @@ -497,7 +497,7 @@ The following output properties are available:
-driver +driver str @@ -506,7 +506,7 @@ The following output properties are available:
-plugins_path +plugins_path str @@ -521,7 +521,7 @@ The following output properties are available:
-requiredArg +requiredArg String @@ -530,7 +530,7 @@ The following output properties are available:
-driver +driver String @@ -539,7 +539,7 @@ The following output properties are available:
-pluginsPath +pluginsPath String diff --git a/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/moduletest/_index.md b/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/moduletest/_index.md index 6d50f4977291..c9c3445e9b27 100644 --- a/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/moduletest/_index.md +++ b/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/moduletest/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new ModuleTest(name: string, args?: ModuleTestArgs, opts?: CustomResourceOptions);
+
new ModuleTest(name: string, args?: ModuleTestArgs, opts?: CustomResourceOptions);
@@ -36,28 +36,28 @@ no_edit_this_page: true val: Optional[TypArgs] = None) @overload def ModuleTest(resource_name: str, - args: Optional[ModuleTestArgs] = None, + args: Optional[ModuleTestArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewModuleTest(ctx *Context, name string, args *ModuleTestArgs, opts ...ResourceOption) (*ModuleTest, error)
+
func NewModuleTest(ctx *Context, name string, args *ModuleTestArgs, opts ...ResourceOption) (*ModuleTest, error)
-
public ModuleTest(string name, ModuleTestArgs? args = null, CustomResourceOptions? opts = null)
+
public ModuleTest(string name, ModuleTestArgs? args = null, CustomResourceOptions? opts = null)
-public ModuleTest(String name, ModuleTestArgs args)
-public ModuleTest(String name, ModuleTestArgs args, CustomResourceOptions options)
+public ModuleTest(String name, ModuleTestArgs args)
+public ModuleTest(String name, ModuleTestArgs args, CustomResourceOptions options)
 
@@ -85,7 +85,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ModuleTestArgs + ModuleTestArgs
The arguments to resource properties.
@@ -111,7 +111,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ModuleTestArgs + ModuleTestArgs
The arguments to resource properties.
@@ -143,7 +143,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ModuleTestArgs + ModuleTestArgs
The arguments to resource properties.
@@ -169,7 +169,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ModuleTestArgs + ModuleTestArgs
The arguments to resource properties.
@@ -195,7 +195,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ModuleTestArgs + ModuleTestArgs
The arguments to resource properties.
@@ -223,18 +223,18 @@ The ModuleTest resource accepts the following [input](/docs/intro/concepts/input
-Mod1 +Mod1 - Pulumi.Example.Mod1.Inputs.TypArgs + Pulumi.Example.Mod1.Inputs.TypArgs
-Val +Val - TypArgs + TypArgs
@@ -245,18 +245,18 @@ The ModuleTest resource accepts the following [input](/docs/intro/concepts/input
-Mod1 +Mod1 - TypArgs + TypArgs
-Val +Val - TypArgs + TypArgs
@@ -267,18 +267,18 @@ The ModuleTest resource accepts the following [input](/docs/intro/concepts/input
-mod1 +mod1 - TypArgs + TypArgs
-val +val - TypArgs + TypArgs
@@ -289,18 +289,18 @@ The ModuleTest resource accepts the following [input](/docs/intro/concepts/input
-mod1 +mod1 - mod1TypArgs + mod1TypArgs
-val +val - TypArgs + TypArgs
@@ -311,18 +311,18 @@ The ModuleTest resource accepts the following [input](/docs/intro/concepts/input
-mod1 +mod1 - TypArgs + TypArgs
-val +val - TypArgs + TypArgs
@@ -333,18 +333,18 @@ The ModuleTest resource accepts the following [input](/docs/intro/concepts/input
-mod1 +mod1 - Property Map + Property Map
-val +val - Property Map + Property Map
@@ -362,7 +362,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -377,7 +377,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -392,7 +392,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -407,7 +407,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -422,7 +422,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -437,7 +437,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -464,23 +464,23 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Mod1 +Mod1 - Pulumi.Example.Mod1.Inputs.Typ + Pulumi.Example.Mod1.Inputs.Typ
-Mod2 +Mod2 - Pulumi.Example.Mod2.Inputs.Typ + Pulumi.Example.Mod2.Inputs.Typ
-Val +Val string @@ -494,23 +494,23 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Mod1 +Mod1 - Typ + Typ
-Mod2 +Mod2 - Typ + Typ
-Val +Val string @@ -524,23 +524,23 @@ All [input](#inputs) properties are implicitly available as output properties. A
-mod1 +mod1 - Typ + Typ
-mod2 +mod2 - Typ + Typ
-val +val String @@ -554,23 +554,23 @@ All [input](#inputs) properties are implicitly available as output properties. A
-mod1 +mod1 - mod1Typ + mod1Typ
-mod2 +mod2 - mod2Typ + mod2Typ
-val +val string @@ -584,23 +584,23 @@ All [input](#inputs) properties are implicitly available as output properties. A
-mod1 +mod1 - Typ + Typ
-mod2 +mod2 - Typ + Typ
-val +val str @@ -614,23 +614,23 @@ All [input](#inputs) properties are implicitly available as output properties. A
-mod1 +mod1 - Property Map + Property Map
-mod2 +mod2 - Property Map + Property Map
-val +val String @@ -646,7 +646,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Val +Val string @@ -660,7 +660,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Val +Val string @@ -674,7 +674,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-val +val String @@ -688,7 +688,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-val +val string @@ -702,7 +702,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-val +val str @@ -716,7 +716,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-val +val String @@ -732,15 +732,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Mod1 +Mod1 - Pulumi.Example.Mod1.Inputs.Typ + Pulumi.Example.Mod1.Inputs.Typ
-Val +Val string @@ -754,15 +754,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Mod1 +Mod1 - Typ + Typ
-Val +Val string @@ -776,15 +776,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-mod1 +mod1 - Typ + Typ
-val +val String @@ -798,15 +798,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-mod1 +mod1 - mod1Typ + mod1Typ
-val +val string @@ -820,15 +820,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-mod1 +mod1 - Typ + Typ
-val +val str @@ -842,15 +842,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-mod1 +mod1 - Property Map + Property Map
-val +val String diff --git a/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/provider/_index.md index 925087317489..e4c5fb9c867a 100644 --- a/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/provider/_index.md @@ -25,7 +25,7 @@ The provider type for the kubernetes package.
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -37,28 +37,28 @@ The provider type for the kubernetes package. helm_release_settings: Optional[HelmReleaseSettingsArgs] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -86,7 +86,7 @@ The provider type for the kubernetes package. class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -112,7 +112,7 @@ The provider type for the kubernetes package. class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -144,7 +144,7 @@ The provider type for the kubernetes package. class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -170,7 +170,7 @@ The provider type for the kubernetes package. class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -196,7 +196,7 @@ The provider type for the kubernetes package. class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -224,10 +224,10 @@ The Provider resource accepts the following [input](/docs/intro/concepts/inputs-
-HelmReleaseSettings +HelmReleaseSettings - HelmReleaseSettingsArgs + HelmReleaseSettingsArgs

BETA FEATURE - Options to configure the Helm Release resource.

@@ -239,10 +239,10 @@ The Provider resource accepts the following [input](/docs/intro/concepts/inputs-
-HelmReleaseSettings +HelmReleaseSettings - HelmReleaseSettingsArgs + HelmReleaseSettingsArgs

BETA FEATURE - Options to configure the Helm Release resource.

@@ -254,10 +254,10 @@ The Provider resource accepts the following [input](/docs/intro/concepts/inputs-
-helmReleaseSettings +helmReleaseSettings - HelmReleaseSettingsArgs + HelmReleaseSettingsArgs

BETA FEATURE - Options to configure the Helm Release resource.

@@ -269,10 +269,10 @@ The Provider resource accepts the following [input](/docs/intro/concepts/inputs-
-helmReleaseSettings +helmReleaseSettings - HelmReleaseSettingsArgs + HelmReleaseSettingsArgs

BETA FEATURE - Options to configure the Helm Release resource.

@@ -284,10 +284,10 @@ The Provider resource accepts the following [input](/docs/intro/concepts/inputs-
-helm_release_settings +helm_release_settings - HelmReleaseSettingsArgs + HelmReleaseSettingsArgs

BETA FEATURE - Options to configure the Helm Release resource.

@@ -299,10 +299,10 @@ The Provider resource accepts the following [input](/docs/intro/concepts/inputs-
-helmReleaseSettings +helmReleaseSettings - Property Map + Property Map

BETA FEATURE - Options to configure the Helm Release resource.

@@ -321,7 +321,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -336,7 +336,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -351,7 +351,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -366,7 +366,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -381,7 +381,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -396,7 +396,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -423,7 +423,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-RequiredArg +RequiredArg string @@ -432,7 +432,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Driver +Driver string @@ -441,7 +441,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-PluginsPath +PluginsPath string @@ -456,7 +456,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-RequiredArg +RequiredArg string @@ -465,7 +465,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Driver +Driver string @@ -474,7 +474,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-PluginsPath +PluginsPath string @@ -489,7 +489,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-requiredArg +requiredArg String @@ -498,7 +498,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-driver +driver String @@ -507,7 +507,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-pluginsPath +pluginsPath String @@ -522,7 +522,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-requiredArg +requiredArg string @@ -531,7 +531,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-driver +driver string @@ -540,7 +540,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-pluginsPath +pluginsPath string @@ -555,7 +555,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-required_arg +required_arg str @@ -564,7 +564,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-driver +driver str @@ -573,7 +573,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-plugins_path +plugins_path str @@ -588,7 +588,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-requiredArg +requiredArg String @@ -597,7 +597,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-driver +driver String @@ -606,7 +606,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-pluginsPath +pluginsPath String diff --git a/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/foo/_index.md b/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/foo/_index.md index bf46f3c1e664..31ce0d52dad8 100644 --- a/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/foo/_index.md +++ b/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/foo/_index.md @@ -25,7 +25,7 @@ test new feature with resoruces
-
new Foo(name: string, args: FooArgs, opts?: CustomResourceOptions);
+
new Foo(name: string, args: FooArgs, opts?: CustomResourceOptions);
@@ -40,28 +40,28 @@ test new feature with resoruces settings: Optional[LayeredTypeArgs] = None) @overload def Foo(resource_name: str, - args: FooArgs, + args: FooArgs, opts: Optional[ResourceOptions] = None)
-
func NewFoo(ctx *Context, name string, args FooArgs, opts ...ResourceOption) (*Foo, error)
+
func NewFoo(ctx *Context, name string, args FooArgs, opts ...ResourceOption) (*Foo, error)
-
public Foo(string name, FooArgs args, CustomResourceOptions? opts = null)
+
public Foo(string name, FooArgs args, CustomResourceOptions? opts = null)
-public Foo(String name, FooArgs args)
-public Foo(String name, FooArgs args, CustomResourceOptions options)
+public Foo(String name, FooArgs args)
+public Foo(String name, FooArgs args, CustomResourceOptions options)
 
@@ -89,7 +89,7 @@ test new feature with resoruces class="property-required" title="Required"> args - FooArgs + FooArgs
The arguments to resource properties.
@@ -115,7 +115,7 @@ test new feature with resoruces class="property-required" title="Required"> args - FooArgs + FooArgs
The arguments to resource properties.
@@ -147,7 +147,7 @@ test new feature with resoruces class="property-required" title="Required"> args - FooArgs + FooArgs
The arguments to resource properties.
@@ -173,7 +173,7 @@ test new feature with resoruces class="property-required" title="Required"> args - FooArgs + FooArgs
The arguments to resource properties.
@@ -199,7 +199,7 @@ test new feature with resoruces class="property-required" title="Required"> args - FooArgs + FooArgs
The arguments to resource properties.
@@ -227,16 +227,16 @@ The Foo resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-BackupKubeClientSettings +BackupKubeClientSettings - KubeClientSettingsArgs + KubeClientSettingsArgs

Options for tuning the Kubernetes client used by a Provider.

-Argument +Argument string @@ -244,19 +244,19 @@ The Foo resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-KubeClientSettings +KubeClientSettings - KubeClientSettingsArgs + KubeClientSettingsArgs

Options for tuning the Kubernetes client used by a Provider.

-Settings +Settings - LayeredTypeArgs + LayeredTypeArgs

describing things

@@ -268,16 +268,16 @@ The Foo resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-BackupKubeClientSettings +BackupKubeClientSettings - KubeClientSettingsArgs + KubeClientSettingsArgs

Options for tuning the Kubernetes client used by a Provider.

-Argument +Argument string @@ -285,19 +285,19 @@ The Foo resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-KubeClientSettings +KubeClientSettings - KubeClientSettingsArgs + KubeClientSettingsArgs

Options for tuning the Kubernetes client used by a Provider.

-Settings +Settings - LayeredTypeArgs + LayeredTypeArgs

describing things

@@ -309,16 +309,16 @@ The Foo resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-backupKubeClientSettings +backupKubeClientSettings - KubeClientSettingsArgs + KubeClientSettingsArgs

Options for tuning the Kubernetes client used by a Provider.

-argument +argument String @@ -326,19 +326,19 @@ The Foo resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-kubeClientSettings +kubeClientSettings - KubeClientSettingsArgs + KubeClientSettingsArgs

Options for tuning the Kubernetes client used by a Provider.

-settings +settings - LayeredTypeArgs + LayeredTypeArgs

describing things

@@ -350,16 +350,16 @@ The Foo resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-backupKubeClientSettings +backupKubeClientSettings - KubeClientSettingsArgs + KubeClientSettingsArgs

Options for tuning the Kubernetes client used by a Provider.

-argument +argument string @@ -367,19 +367,19 @@ The Foo resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-kubeClientSettings +kubeClientSettings - KubeClientSettingsArgs + KubeClientSettingsArgs

Options for tuning the Kubernetes client used by a Provider.

-settings +settings - LayeredTypeArgs + LayeredTypeArgs

describing things

@@ -391,16 +391,16 @@ The Foo resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-backup_kube_client_settings +backup_kube_client_settings - KubeClientSettingsArgs + KubeClientSettingsArgs

Options for tuning the Kubernetes client used by a Provider.

-argument +argument str @@ -408,19 +408,19 @@ The Foo resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-kube_client_settings +kube_client_settings - KubeClientSettingsArgs + KubeClientSettingsArgs

Options for tuning the Kubernetes client used by a Provider.

-settings +settings - LayeredTypeArgs + LayeredTypeArgs

describing things

@@ -432,16 +432,16 @@ The Foo resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-backupKubeClientSettings +backupKubeClientSettings - Property Map + Property Map

Options for tuning the Kubernetes client used by a Provider.

-argument +argument String @@ -449,19 +449,19 @@ The Foo resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-kubeClientSettings +kubeClientSettings - Property Map + Property Map

Options for tuning the Kubernetes client used by a Provider.

-settings +settings - Property Map + Property Map

describing things

@@ -480,7 +480,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -489,10 +489,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-DefaultKubeClientSettings +DefaultKubeClientSettings - KubeClientSettings + KubeClientSettings

A test for plain types

@@ -504,7 +504,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -513,10 +513,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-DefaultKubeClientSettings +DefaultKubeClientSettings - KubeClientSettings + KubeClientSettings

A test for plain types

@@ -528,7 +528,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -537,10 +537,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-defaultKubeClientSettings +defaultKubeClientSettings - KubeClientSettings + KubeClientSettings

A test for plain types

@@ -552,7 +552,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -561,10 +561,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-defaultKubeClientSettings +defaultKubeClientSettings - KubeClientSettings + KubeClientSettings

A test for plain types

@@ -576,7 +576,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -585,10 +585,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-default_kube_client_settings +default_kube_client_settings - KubeClientSettings + KubeClientSettings

A test for plain types

@@ -600,7 +600,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -609,10 +609,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-defaultKubeClientSettings +defaultKubeClientSettings - Property Map + Property Map

A test for plain types

@@ -636,7 +636,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-RequiredArg +RequiredArg string @@ -645,7 +645,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Driver +Driver string @@ -654,7 +654,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-PluginsPath +PluginsPath string @@ -669,7 +669,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-RequiredArg +RequiredArg string @@ -678,7 +678,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Driver +Driver string @@ -687,7 +687,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-PluginsPath +PluginsPath string @@ -702,7 +702,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-requiredArg +requiredArg String @@ -711,7 +711,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-driver +driver String @@ -720,7 +720,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-pluginsPath +pluginsPath String @@ -735,7 +735,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-requiredArg +requiredArg string @@ -744,7 +744,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-driver +driver string @@ -753,7 +753,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-pluginsPath +pluginsPath string @@ -768,7 +768,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-required_arg +required_arg str @@ -777,7 +777,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-driver +driver str @@ -786,7 +786,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-plugins_path +plugins_path str @@ -801,7 +801,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-requiredArg +requiredArg String @@ -810,7 +810,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-driver +driver String @@ -819,7 +819,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-pluginsPath +pluginsPath String @@ -836,7 +836,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Burst +Burst int @@ -845,7 +845,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Qps +Qps double @@ -854,10 +854,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-RecTest +RecTest - KubeClientSettings + KubeClientSettings
@@ -868,7 +868,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Burst +Burst int @@ -877,7 +877,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Qps +Qps float64 @@ -886,10 +886,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-RecTest +RecTest - KubeClientSettings + KubeClientSettings
@@ -900,7 +900,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-burst +burst Integer @@ -909,7 +909,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-qps +qps Double @@ -918,10 +918,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-recTest +recTest - KubeClientSettings + KubeClientSettings
@@ -932,7 +932,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-burst +burst number @@ -941,7 +941,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-qps +qps number @@ -950,10 +950,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-recTest +recTest - KubeClientSettings + KubeClientSettings
@@ -964,7 +964,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-burst +burst int @@ -973,7 +973,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-qps +qps float @@ -982,10 +982,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-rec_test +rec_test - KubeClientSettings + KubeClientSettings
@@ -996,7 +996,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-burst +burst Number @@ -1005,7 +1005,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-qps +qps Number @@ -1014,10 +1014,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-recTest +recTest - Property Map + Property Map
@@ -1030,15 +1030,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Other +Other - HelmReleaseSettings + HelmReleaseSettings
-Thinker +Thinker string @@ -1047,7 +1047,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Answer +Answer double @@ -1056,16 +1056,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-PlainOther +PlainOther - HelmReleaseSettings + HelmReleaseSettings

Test how plain types interact

-Question +Question string @@ -1074,10 +1074,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Recursive +Recursive - LayeredType + LayeredType
@@ -1088,15 +1088,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Other +Other - HelmReleaseSettings + HelmReleaseSettings
-Thinker +Thinker string @@ -1105,7 +1105,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Answer +Answer float64 @@ -1114,16 +1114,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-PlainOther +PlainOther - HelmReleaseSettings + HelmReleaseSettings

Test how plain types interact

-Question +Question string @@ -1132,10 +1132,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Recursive +Recursive - LayeredType + LayeredType
@@ -1146,15 +1146,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-other +other - HelmReleaseSettings + HelmReleaseSettings
-thinker +thinker String @@ -1163,7 +1163,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-answer +answer Double @@ -1172,16 +1172,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-plainOther +plainOther - HelmReleaseSettings + HelmReleaseSettings

Test how plain types interact

-question +question String @@ -1190,10 +1190,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-recursive +recursive - LayeredType + LayeredType
@@ -1204,15 +1204,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-other +other - HelmReleaseSettings + HelmReleaseSettings
-thinker +thinker string @@ -1221,7 +1221,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-answer +answer number @@ -1230,16 +1230,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-plainOther +plainOther - HelmReleaseSettings + HelmReleaseSettings

Test how plain types interact

-question +question string @@ -1248,10 +1248,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-recursive +recursive - LayeredType + LayeredType
@@ -1262,15 +1262,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-other +other - HelmReleaseSettings + HelmReleaseSettings
-thinker +thinker str @@ -1279,7 +1279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-answer +answer float @@ -1288,16 +1288,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-plain_other +plain_other - HelmReleaseSettings + HelmReleaseSettings

Test how plain types interact

-question +question str @@ -1306,10 +1306,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-recursive +recursive - LayeredType + LayeredType
@@ -1320,15 +1320,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-other +other - Property Map + Property Map
-thinker +thinker String @@ -1337,7 +1337,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-answer +answer Number @@ -1346,16 +1346,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-plainOther +plainOther - Property Map + Property Map

Test how plain types interact

-question +question String @@ -1364,10 +1364,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-recursive +recursive - Property Map + Property Map
diff --git a/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/funcwithalloptionalinputs/_index.md b/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/funcwithalloptionalinputs/_index.md index fd97b73dd418..3345b1b26661 100644 --- a/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/funcwithalloptionalinputs/_index.md +++ b/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/funcwithalloptionalinputs/_index.md @@ -109,16 +109,16 @@ The following arguments are supported:
-A +A - HelmReleaseSettings + HelmReleaseSettings

Property A

-B +B string @@ -133,16 +133,16 @@ The following arguments are supported:
-A +A - HelmReleaseSettings + HelmReleaseSettings

Property A

-B +B string @@ -157,16 +157,16 @@ The following arguments are supported:
-a +a - HelmReleaseSettings + HelmReleaseSettings

Property A

-b +b String @@ -181,16 +181,16 @@ The following arguments are supported:
-a +a - HelmReleaseSettings + HelmReleaseSettings

Property A

-b +b string @@ -205,16 +205,16 @@ The following arguments are supported:
-a +a - HelmReleaseSettings + HelmReleaseSettings

Property A

-b +b str @@ -229,16 +229,16 @@ The following arguments are supported:
-a +a - Property Map + Property Map

Property A

-b +b String @@ -262,7 +262,7 @@ The following output properties are available:
-R +R string @@ -276,7 +276,7 @@ The following output properties are available:
-R +R string @@ -290,7 +290,7 @@ The following output properties are available:
-r +r String @@ -304,7 +304,7 @@ The following output properties are available:
-r +r string @@ -318,7 +318,7 @@ The following output properties are available:
-r +r str @@ -332,7 +332,7 @@ The following output properties are available:
-r +r String @@ -356,7 +356,7 @@ The following output properties are available:
-RequiredArg +RequiredArg string @@ -365,7 +365,7 @@ The following output properties are available:
-Driver +Driver string @@ -374,7 +374,7 @@ The following output properties are available:
-PluginsPath +PluginsPath string @@ -389,7 +389,7 @@ The following output properties are available:
-RequiredArg +RequiredArg string @@ -398,7 +398,7 @@ The following output properties are available:
-Driver +Driver string @@ -407,7 +407,7 @@ The following output properties are available:
-PluginsPath +PluginsPath string @@ -422,7 +422,7 @@ The following output properties are available:
-requiredArg +requiredArg String @@ -431,7 +431,7 @@ The following output properties are available:
-driver +driver String @@ -440,7 +440,7 @@ The following output properties are available:
-pluginsPath +pluginsPath String @@ -455,7 +455,7 @@ The following output properties are available:
-requiredArg +requiredArg string @@ -464,7 +464,7 @@ The following output properties are available:
-driver +driver string @@ -473,7 +473,7 @@ The following output properties are available:
-pluginsPath +pluginsPath string @@ -488,7 +488,7 @@ The following output properties are available:
-required_arg +required_arg str @@ -497,7 +497,7 @@ The following output properties are available:
-driver +driver str @@ -506,7 +506,7 @@ The following output properties are available:
-plugins_path +plugins_path str @@ -521,7 +521,7 @@ The following output properties are available:
-requiredArg +requiredArg String @@ -530,7 +530,7 @@ The following output properties are available:
-driver +driver String @@ -539,7 +539,7 @@ The following output properties are available:
-pluginsPath +pluginsPath String diff --git a/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/moduletest/_index.md b/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/moduletest/_index.md index 6d50f4977291..c9c3445e9b27 100644 --- a/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/moduletest/_index.md +++ b/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/moduletest/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new ModuleTest(name: string, args?: ModuleTestArgs, opts?: CustomResourceOptions);
+
new ModuleTest(name: string, args?: ModuleTestArgs, opts?: CustomResourceOptions);
@@ -36,28 +36,28 @@ no_edit_this_page: true val: Optional[TypArgs] = None) @overload def ModuleTest(resource_name: str, - args: Optional[ModuleTestArgs] = None, + args: Optional[ModuleTestArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewModuleTest(ctx *Context, name string, args *ModuleTestArgs, opts ...ResourceOption) (*ModuleTest, error)
+
func NewModuleTest(ctx *Context, name string, args *ModuleTestArgs, opts ...ResourceOption) (*ModuleTest, error)
-
public ModuleTest(string name, ModuleTestArgs? args = null, CustomResourceOptions? opts = null)
+
public ModuleTest(string name, ModuleTestArgs? args = null, CustomResourceOptions? opts = null)
-public ModuleTest(String name, ModuleTestArgs args)
-public ModuleTest(String name, ModuleTestArgs args, CustomResourceOptions options)
+public ModuleTest(String name, ModuleTestArgs args)
+public ModuleTest(String name, ModuleTestArgs args, CustomResourceOptions options)
 
@@ -85,7 +85,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ModuleTestArgs + ModuleTestArgs
The arguments to resource properties.
@@ -111,7 +111,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ModuleTestArgs + ModuleTestArgs
The arguments to resource properties.
@@ -143,7 +143,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ModuleTestArgs + ModuleTestArgs
The arguments to resource properties.
@@ -169,7 +169,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ModuleTestArgs + ModuleTestArgs
The arguments to resource properties.
@@ -195,7 +195,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ModuleTestArgs + ModuleTestArgs
The arguments to resource properties.
@@ -223,18 +223,18 @@ The ModuleTest resource accepts the following [input](/docs/intro/concepts/input
-Mod1 +Mod1 - Pulumi.Example.Mod1.Inputs.TypArgs + Pulumi.Example.Mod1.Inputs.TypArgs
-Val +Val - TypArgs + TypArgs
@@ -245,18 +245,18 @@ The ModuleTest resource accepts the following [input](/docs/intro/concepts/input
-Mod1 +Mod1 - TypArgs + TypArgs
-Val +Val - TypArgs + TypArgs
@@ -267,18 +267,18 @@ The ModuleTest resource accepts the following [input](/docs/intro/concepts/input
-mod1 +mod1 - TypArgs + TypArgs
-val +val - TypArgs + TypArgs
@@ -289,18 +289,18 @@ The ModuleTest resource accepts the following [input](/docs/intro/concepts/input
-mod1 +mod1 - mod1TypArgs + mod1TypArgs
-val +val - TypArgs + TypArgs
@@ -311,18 +311,18 @@ The ModuleTest resource accepts the following [input](/docs/intro/concepts/input
-mod1 +mod1 - TypArgs + TypArgs
-val +val - TypArgs + TypArgs
@@ -333,18 +333,18 @@ The ModuleTest resource accepts the following [input](/docs/intro/concepts/input
-mod1 +mod1 - Property Map + Property Map
-val +val - Property Map + Property Map
@@ -362,7 +362,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -377,7 +377,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -392,7 +392,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -407,7 +407,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -422,7 +422,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -437,7 +437,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -464,23 +464,23 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Mod1 +Mod1 - Pulumi.Example.Mod1.Inputs.Typ + Pulumi.Example.Mod1.Inputs.Typ
-Mod2 +Mod2 - Pulumi.Example.Mod2.Inputs.Typ + Pulumi.Example.Mod2.Inputs.Typ
-Val +Val string @@ -494,23 +494,23 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Mod1 +Mod1 - Typ + Typ
-Mod2 +Mod2 - Typ + Typ
-Val +Val string @@ -524,23 +524,23 @@ All [input](#inputs) properties are implicitly available as output properties. A
-mod1 +mod1 - Typ + Typ
-mod2 +mod2 - Typ + Typ
-val +val String @@ -554,23 +554,23 @@ All [input](#inputs) properties are implicitly available as output properties. A
-mod1 +mod1 - mod1Typ + mod1Typ
-mod2 +mod2 - mod2Typ + mod2Typ
-val +val string @@ -584,23 +584,23 @@ All [input](#inputs) properties are implicitly available as output properties. A
-mod1 +mod1 - Typ + Typ
-mod2 +mod2 - Typ + Typ
-val +val str @@ -614,23 +614,23 @@ All [input](#inputs) properties are implicitly available as output properties. A
-mod1 +mod1 - Property Map + Property Map
-mod2 +mod2 - Property Map + Property Map
-val +val String @@ -646,7 +646,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Val +Val string @@ -660,7 +660,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Val +Val string @@ -674,7 +674,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-val +val String @@ -688,7 +688,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-val +val string @@ -702,7 +702,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-val +val str @@ -716,7 +716,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-val +val String @@ -732,15 +732,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Mod1 +Mod1 - Pulumi.Example.Mod1.Inputs.Typ + Pulumi.Example.Mod1.Inputs.Typ
-Val +Val string @@ -754,15 +754,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Mod1 +Mod1 - Typ + Typ
-Val +Val string @@ -776,15 +776,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-mod1 +mod1 - Typ + Typ
-val +val String @@ -798,15 +798,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-mod1 +mod1 - mod1Typ + mod1Typ
-val +val string @@ -820,15 +820,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-mod1 +mod1 - Typ + Typ
-val +val str @@ -842,15 +842,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-mod1 +mod1 - Property Map + Property Map
-val +val String diff --git a/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/provider/_index.md index 925087317489..e4c5fb9c867a 100644 --- a/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/provider/_index.md @@ -25,7 +25,7 @@ The provider type for the kubernetes package.
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -37,28 +37,28 @@ The provider type for the kubernetes package. helm_release_settings: Optional[HelmReleaseSettingsArgs] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -86,7 +86,7 @@ The provider type for the kubernetes package. class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -112,7 +112,7 @@ The provider type for the kubernetes package. class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -144,7 +144,7 @@ The provider type for the kubernetes package. class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -170,7 +170,7 @@ The provider type for the kubernetes package. class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -196,7 +196,7 @@ The provider type for the kubernetes package. class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -224,10 +224,10 @@ The Provider resource accepts the following [input](/docs/intro/concepts/inputs-
-HelmReleaseSettings +HelmReleaseSettings - HelmReleaseSettingsArgs + HelmReleaseSettingsArgs

BETA FEATURE - Options to configure the Helm Release resource.

@@ -239,10 +239,10 @@ The Provider resource accepts the following [input](/docs/intro/concepts/inputs-
-HelmReleaseSettings +HelmReleaseSettings - HelmReleaseSettingsArgs + HelmReleaseSettingsArgs

BETA FEATURE - Options to configure the Helm Release resource.

@@ -254,10 +254,10 @@ The Provider resource accepts the following [input](/docs/intro/concepts/inputs-
-helmReleaseSettings +helmReleaseSettings - HelmReleaseSettingsArgs + HelmReleaseSettingsArgs

BETA FEATURE - Options to configure the Helm Release resource.

@@ -269,10 +269,10 @@ The Provider resource accepts the following [input](/docs/intro/concepts/inputs-
-helmReleaseSettings +helmReleaseSettings - HelmReleaseSettingsArgs + HelmReleaseSettingsArgs

BETA FEATURE - Options to configure the Helm Release resource.

@@ -284,10 +284,10 @@ The Provider resource accepts the following [input](/docs/intro/concepts/inputs-
-helm_release_settings +helm_release_settings - HelmReleaseSettingsArgs + HelmReleaseSettingsArgs

BETA FEATURE - Options to configure the Helm Release resource.

@@ -299,10 +299,10 @@ The Provider resource accepts the following [input](/docs/intro/concepts/inputs-
-helmReleaseSettings +helmReleaseSettings - Property Map + Property Map

BETA FEATURE - Options to configure the Helm Release resource.

@@ -321,7 +321,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -336,7 +336,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -351,7 +351,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -366,7 +366,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -381,7 +381,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -396,7 +396,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -423,7 +423,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-RequiredArg +RequiredArg string @@ -432,7 +432,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Driver +Driver string @@ -441,7 +441,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-PluginsPath +PluginsPath string @@ -456,7 +456,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-RequiredArg +RequiredArg string @@ -465,7 +465,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Driver +Driver string @@ -474,7 +474,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-PluginsPath +PluginsPath string @@ -489,7 +489,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-requiredArg +requiredArg String @@ -498,7 +498,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-driver +driver String @@ -507,7 +507,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-pluginsPath +pluginsPath String @@ -522,7 +522,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-requiredArg +requiredArg string @@ -531,7 +531,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-driver +driver string @@ -540,7 +540,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-pluginsPath +pluginsPath string @@ -555,7 +555,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-required_arg +required_arg str @@ -564,7 +564,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-driver +driver str @@ -573,7 +573,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-plugins_path +plugins_path str @@ -588,7 +588,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-requiredArg +requiredArg String @@ -597,7 +597,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-driver +driver String @@ -606,7 +606,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-pluginsPath +pluginsPath String diff --git a/pkg/codegen/testing/test/testdata/plain-schema-gh6957/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/plain-schema-gh6957/docs/provider/_index.md index a10893cb85cd..de6630a50089 100644 --- a/pkg/codegen/testing/test/testdata/plain-schema-gh6957/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/plain-schema-gh6957/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -34,28 +34,28 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String 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 eb64b6a79fa1..52c79245a56f 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 @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new StaticPage(name: string, args: StaticPageArgs, opts?: CustomResourceOptions);
+
new StaticPage(name: string, args: StaticPageArgs, opts?: CustomResourceOptions);
@@ -36,28 +36,28 @@ no_edit_this_page: true index_content: Optional[str] = None) @overload def StaticPage(resource_name: str, - args: StaticPageArgs, + args: StaticPageArgs, opts: Optional[ResourceOptions] = None)
-
func NewStaticPage(ctx *Context, name string, args StaticPageArgs, opts ...ResourceOption) (*StaticPage, error)
+
func NewStaticPage(ctx *Context, name string, args StaticPageArgs, opts ...ResourceOption) (*StaticPage, error)
-
public StaticPage(string name, StaticPageArgs args, CustomResourceOptions? opts = null)
+
public StaticPage(string name, StaticPageArgs args, CustomResourceOptions? opts = null)
-public StaticPage(String name, StaticPageArgs args)
-public StaticPage(String name, StaticPageArgs args, CustomResourceOptions options)
+public StaticPage(String name, StaticPageArgs args)
+public StaticPage(String name, StaticPageArgs args, CustomResourceOptions options)
 
@@ -85,7 +85,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - StaticPageArgs + StaticPageArgs
The arguments to resource properties.
@@ -111,7 +111,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - StaticPageArgs + StaticPageArgs
The arguments to resource properties.
@@ -143,7 +143,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - StaticPageArgs + StaticPageArgs
The arguments to resource properties.
@@ -169,7 +169,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - StaticPageArgs + StaticPageArgs
The arguments to resource properties.
@@ -195,7 +195,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - StaticPageArgs + StaticPageArgs
The arguments to resource properties.
@@ -223,7 +223,7 @@ The StaticPage resource accepts the following [input](/docs/intro/concepts/input
-IndexContent +IndexContent string @@ -232,10 +232,10 @@ The StaticPage resource accepts the following [input](/docs/intro/concepts/input
-Foo +Foo - FooArgs + FooArgs
@@ -246,7 +246,7 @@ The StaticPage resource accepts the following [input](/docs/intro/concepts/input
-IndexContent +IndexContent string @@ -255,10 +255,10 @@ The StaticPage resource accepts the following [input](/docs/intro/concepts/input
-Foo +Foo - FooArgs + FooArgs
@@ -269,7 +269,7 @@ The StaticPage resource accepts the following [input](/docs/intro/concepts/input
-indexContent +indexContent String @@ -278,10 +278,10 @@ The StaticPage resource accepts the following [input](/docs/intro/concepts/input
-foo +foo - FooArgs + FooArgs
@@ -292,7 +292,7 @@ The StaticPage resource accepts the following [input](/docs/intro/concepts/input
-indexContent +indexContent string @@ -301,10 +301,10 @@ The StaticPage resource accepts the following [input](/docs/intro/concepts/input
-foo +foo - FooArgs + FooArgs
@@ -315,7 +315,7 @@ The StaticPage resource accepts the following [input](/docs/intro/concepts/input
-index_content +index_content str @@ -324,10 +324,10 @@ The StaticPage resource accepts the following [input](/docs/intro/concepts/input
-foo +foo - FooArgs + FooArgs
@@ -338,7 +338,7 @@ The StaticPage resource accepts the following [input](/docs/intro/concepts/input
-indexContent +indexContent String @@ -347,10 +347,10 @@ The StaticPage resource accepts the following [input](/docs/intro/concepts/input
-foo +foo - Property Map + Property Map
@@ -368,7 +368,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Bucket +Bucket Pulumi.Aws.S3.Bucket @@ -377,7 +377,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-WebsiteUrl +WebsiteUrl string @@ -392,7 +392,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Bucket +Bucket Bucket @@ -401,7 +401,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-WebsiteUrl +WebsiteUrl string @@ -416,7 +416,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bucket +bucket Bucket @@ -425,7 +425,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-websiteUrl +websiteUrl String @@ -440,7 +440,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bucket +bucket pulumiAwss3Bucket @@ -449,7 +449,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-websiteUrl +websiteUrl string @@ -464,7 +464,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bucket +bucket Bucket @@ -473,7 +473,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-website_url +website_url str @@ -488,7 +488,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bucket +bucket aws:s3:Bucket @@ -497,7 +497,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-websiteUrl +websiteUrl String @@ -524,7 +524,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-A +A bool @@ -538,7 +538,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-A +A bool @@ -552,7 +552,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-a +a Boolean @@ -566,7 +566,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-a +a boolean @@ -580,7 +580,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-a +a bool @@ -594,7 +594,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-a +a Boolean diff --git a/pkg/codegen/testing/test/testdata/provider-config-schema/docs/funcwithalloptionalinputs/_index.md b/pkg/codegen/testing/test/testdata/provider-config-schema/docs/funcwithalloptionalinputs/_index.md index 60d04d0df384..8147383d3782 100644 --- a/pkg/codegen/testing/test/testdata/provider-config-schema/docs/funcwithalloptionalinputs/_index.md +++ b/pkg/codegen/testing/test/testdata/provider-config-schema/docs/funcwithalloptionalinputs/_index.md @@ -109,7 +109,7 @@ The following arguments are supported:
-A +A string @@ -118,7 +118,7 @@ The following arguments are supported:
-B +B string @@ -133,7 +133,7 @@ The following arguments are supported:
-A +A string @@ -142,7 +142,7 @@ The following arguments are supported:
-B +B string @@ -157,7 +157,7 @@ The following arguments are supported:
-a +a String @@ -166,7 +166,7 @@ The following arguments are supported:
-b +b String @@ -181,7 +181,7 @@ The following arguments are supported:
-a +a string @@ -190,7 +190,7 @@ The following arguments are supported:
-b +b string @@ -205,7 +205,7 @@ The following arguments are supported:
-a +a str @@ -214,7 +214,7 @@ The following arguments are supported:
-b +b str @@ -229,7 +229,7 @@ The following arguments are supported:
-a +a String @@ -238,7 +238,7 @@ The following arguments are supported:
-b +b String @@ -262,7 +262,7 @@ The following output properties are available:
-R +R string @@ -276,7 +276,7 @@ The following output properties are available:
-R +R string @@ -290,7 +290,7 @@ The following output properties are available:
-r +r String @@ -304,7 +304,7 @@ The following output properties are available:
-r +r string @@ -318,7 +318,7 @@ The following output properties are available:
-r +r str @@ -332,7 +332,7 @@ The following output properties are available:
-r +r String diff --git a/pkg/codegen/testing/test/testdata/provider-config-schema/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/provider-config-schema/docs/provider/_index.md index 66ce888664f5..fc67d8c5c912 100644 --- a/pkg/codegen/testing/test/testdata/provider-config-schema/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/provider-config-schema/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -35,28 +35,28 @@ no_edit_this_page: true favorite_color: Optional[Union[str, Color]] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -84,7 +84,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -110,7 +110,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -142,7 +142,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -168,7 +168,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -194,7 +194,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -222,10 +222,10 @@ The Provider resource accepts the following [input](/docs/intro/concepts/inputs-
-FavoriteColor +FavoriteColor - string | Configstation.Pulumi.Configstation.Color + string | Configstation.Pulumi.Configstation.Color

this is a relaxed string enum which can also be set via env var It can also be sourced from the following environment variable: FAVE_COLOR

@@ -237,10 +237,10 @@ The Provider resource accepts the following [input](/docs/intro/concepts/inputs-
-FavoriteColor +FavoriteColor - string | Color + string | Color

this is a relaxed string enum which can also be set via env var It can also be sourced from the following environment variable: FAVE_COLOR

@@ -252,10 +252,10 @@ The Provider resource accepts the following [input](/docs/intro/concepts/inputs-
-favoriteColor +favoriteColor - String | Color + String | Color

this is a relaxed string enum which can also be set via env var It can also be sourced from the following environment variable: FAVE_COLOR

@@ -267,10 +267,10 @@ The Provider resource accepts the following [input](/docs/intro/concepts/inputs-
-favoriteColor +favoriteColor - string | Color + string | Color

this is a relaxed string enum which can also be set via env var It can also be sourced from the following environment variable: FAVE_COLOR

@@ -282,10 +282,10 @@ The Provider resource accepts the following [input](/docs/intro/concepts/inputs-
-favorite_color +favorite_color - str | Color + str | Color

this is a relaxed string enum which can also be set via env var It can also be sourced from the following environment variable: FAVE_COLOR

@@ -297,10 +297,10 @@ The Provider resource accepts the following [input](/docs/intro/concepts/inputs-
-favoriteColor +favoriteColor - String | "blue" | "red" + String | "blue" | "red"

this is a relaxed string enum which can also be set via env var It can also be sourced from the following environment variable: FAVE_COLOR

@@ -319,7 +319,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -334,7 +334,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -349,7 +349,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -364,7 +364,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -379,7 +379,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -394,7 +394,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/regress-8403/docs/getcustomdbroles/_index.md b/pkg/codegen/testing/test/testdata/regress-8403/docs/getcustomdbroles/_index.md index 7a78568e11e5..468025e595c8 100644 --- a/pkg/codegen/testing/test/testdata/regress-8403/docs/getcustomdbroles/_index.md +++ b/pkg/codegen/testing/test/testdata/regress-8403/docs/getcustomdbroles/_index.md @@ -136,10 +136,10 @@ The following output properties are available:
-Result +Result - GetCustomDbRolesResult + GetCustomDbRolesResult
@@ -150,10 +150,10 @@ The following output properties are available:
-Result +Result - GetCustomDbRolesResult + GetCustomDbRolesResult
@@ -164,10 +164,10 @@ The following output properties are available:
-result +result - GetCustomDbRolesResult + GetCustomDbRolesResult
@@ -178,10 +178,10 @@ The following output properties are available:
-result +result - GetCustomDbRolesResult + GetCustomDbRolesResult
@@ -192,10 +192,10 @@ The following output properties are available:
-result +result - GetCustomDbRolesResult + GetCustomDbRolesResult
@@ -206,10 +206,10 @@ The following output properties are available:
-result +result - Property Map + Property Map
diff --git a/pkg/codegen/testing/test/testdata/regress-8403/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/regress-8403/docs/provider/_index.md index 0b79aec27293..e809af76b56b 100644 --- a/pkg/codegen/testing/test/testdata/regress-8403/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/regress-8403/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -34,28 +34,28 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/regress-node-8110/docs/examplefunc/_index.md b/pkg/codegen/testing/test/testdata/regress-node-8110/docs/examplefunc/_index.md index b33ada3c6883..7049117d77b9 100644 --- a/pkg/codegen/testing/test/testdata/regress-node-8110/docs/examplefunc/_index.md +++ b/pkg/codegen/testing/test/testdata/regress-node-8110/docs/examplefunc/_index.md @@ -92,7 +92,7 @@ The following arguments are supported:
-Enums +Enums List<Union<string, Pulumi.My8110.MyEnum>> @@ -106,7 +106,7 @@ The following arguments are supported:
-Enums +Enums []string @@ -120,7 +120,7 @@ The following arguments are supported:
-enums +enums List<Either<String,MyEnum>> @@ -134,7 +134,7 @@ The following arguments are supported:
-enums +enums (string | MyEnum)[] @@ -148,7 +148,7 @@ The following arguments are supported:
-enums +enums Sequence[Union[str, MyEnum]] @@ -162,7 +162,7 @@ The following arguments are supported:
-enums +enums List<String | "one" | "two"> diff --git a/pkg/codegen/testing/test/testdata/regress-node-8110/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/regress-node-8110/docs/provider/_index.md index 751cb7565512..5b7abd5f64d1 100644 --- a/pkg/codegen/testing/test/testdata/regress-node-8110/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/regress-node-8110/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -34,28 +34,28 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/replace-on-change/docs/cat/_index.md b/pkg/codegen/testing/test/testdata/replace-on-change/docs/cat/_index.md index fa0ddd363db4..2f455291f543 100644 --- a/pkg/codegen/testing/test/testdata/replace-on-change/docs/cat/_index.md +++ b/pkg/codegen/testing/test/testdata/replace-on-change/docs/cat/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Cat(name: string, args?: CatArgs, opts?: CustomResourceOptions);
+
new Cat(name: string, args?: CatArgs, opts?: CustomResourceOptions);
@@ -34,28 +34,28 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Cat(resource_name: str, - args: Optional[CatArgs] = None, + args: Optional[CatArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewCat(ctx *Context, name string, args *CatArgs, opts ...ResourceOption) (*Cat, error)
+
func NewCat(ctx *Context, name string, args *CatArgs, opts ...ResourceOption) (*Cat, error)
-
public Cat(string name, CatArgs? args = null, CustomResourceOptions? opts = null)
+
public Cat(string name, CatArgs? args = null, CustomResourceOptions? opts = null)
-public Cat(String name, CatArgs args)
-public Cat(String name, CatArgs args, CustomResourceOptions options)
+public Cat(String name, CatArgs args)
+public Cat(String name, CatArgs args, CustomResourceOptions options)
 
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - CatArgs + CatArgs
The arguments to resource properties.
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - CatArgs + CatArgs
The arguments to resource properties.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - CatArgs + CatArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - CatArgs + CatArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - CatArgs + CatArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -273,7 +273,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Foes +Foes Dictionary<string, Toy> @@ -281,15 +281,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Friends +Friends - List<Toy> + List<Toy>
-Name +Name string @@ -297,7 +297,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Other +Other Pulumi.Example.God @@ -305,10 +305,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Toy +Toy - Toy + Toy
@@ -319,7 +319,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -328,7 +328,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Foes +Foes map[string]Toy @@ -336,15 +336,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Friends +Friends - []Toy + []Toy
-Name +Name string @@ -352,7 +352,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Other +Other God @@ -360,10 +360,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Toy +Toy - Toy + Toy
@@ -374,7 +374,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -383,7 +383,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-foes +foes Map<String,Toy> @@ -391,15 +391,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-friends +friends - List<Toy> + List<Toy>
-name +name String @@ -407,7 +407,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-other +other God @@ -415,10 +415,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-toy +toy - Toy + Toy
@@ -429,7 +429,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -438,7 +438,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-foes +foes {[key: string]: Toy} @@ -446,15 +446,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-friends +friends - Toy[] + Toy[]
-name +name string @@ -462,7 +462,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-other +other God @@ -470,10 +470,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-toy +toy - Toy + Toy
@@ -484,7 +484,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -493,7 +493,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-foes +foes Mapping[str, Toy] @@ -501,15 +501,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-friends +friends - Sequence[Toy] + Sequence[Toy]
-name +name str @@ -517,7 +517,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-other +other God @@ -525,10 +525,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-toy +toy - Toy + Toy
@@ -539,7 +539,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -548,7 +548,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-foes +foes Map<Property Map> @@ -556,15 +556,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-friends +friends - List<Property Map> + List<Property Map>
-name +name String @@ -572,7 +572,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-other +other example:God @@ -580,10 +580,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-toy +toy - Property Map + Property Map
@@ -606,15 +606,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Associated +Associated - Toy + Toy
-Color +Color string @@ -622,7 +622,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Wear +Wear double @@ -636,15 +636,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Associated +Associated - Toy + Toy
-Color +Color string @@ -652,7 +652,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Wear +Wear float64 @@ -666,15 +666,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-associated +associated - Toy + Toy
-color +color String @@ -682,7 +682,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-wear +wear Double @@ -696,15 +696,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-associated +associated - Toy + Toy
-color +color string @@ -712,7 +712,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-wear +wear number @@ -726,15 +726,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-associated +associated - Toy + Toy
-color +color str @@ -742,7 +742,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-wear +wear float @@ -756,15 +756,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-associated +associated - Property Map + Property Map
-color +color String @@ -772,7 +772,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-wear +wear Number diff --git a/pkg/codegen/testing/test/testdata/replace-on-change/docs/dog/_index.md b/pkg/codegen/testing/test/testdata/replace-on-change/docs/dog/_index.md index 386dd0920bea..fd89ad0681ea 100644 --- a/pkg/codegen/testing/test/testdata/replace-on-change/docs/dog/_index.md +++ b/pkg/codegen/testing/test/testdata/replace-on-change/docs/dog/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Dog(name: string, args?: DogArgs, opts?: CustomResourceOptions);
+
new Dog(name: string, args?: DogArgs, opts?: CustomResourceOptions);
@@ -34,28 +34,28 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Dog(resource_name: str, - args: Optional[DogArgs] = None, + args: Optional[DogArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewDog(ctx *Context, name string, args *DogArgs, opts ...ResourceOption) (*Dog, error)
+
func NewDog(ctx *Context, name string, args *DogArgs, opts ...ResourceOption) (*Dog, error)
-
public Dog(string name, DogArgs? args = null, CustomResourceOptions? opts = null)
+
public Dog(string name, DogArgs? args = null, CustomResourceOptions? opts = null)
-public Dog(String name, DogArgs args)
-public Dog(String name, DogArgs args, CustomResourceOptions options)
+public Dog(String name, DogArgs args)
+public Dog(String name, DogArgs args, CustomResourceOptions options)
 
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - DogArgs + DogArgs
The arguments to resource properties.
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - DogArgs + DogArgs
The arguments to resource properties.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - DogArgs + DogArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - DogArgs + DogArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - DogArgs + DogArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -273,7 +273,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Bone +Bone string @@ -287,7 +287,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -296,7 +296,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Bone +Bone string @@ -310,7 +310,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -319,7 +319,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bone +bone String @@ -333,7 +333,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -342,7 +342,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bone +bone string @@ -356,7 +356,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -365,7 +365,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bone +bone str @@ -379,7 +379,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -388,7 +388,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bone +bone String diff --git a/pkg/codegen/testing/test/testdata/replace-on-change/docs/god/_index.md b/pkg/codegen/testing/test/testdata/replace-on-change/docs/god/_index.md index 9f4139403734..b771e7747494 100644 --- a/pkg/codegen/testing/test/testdata/replace-on-change/docs/god/_index.md +++ b/pkg/codegen/testing/test/testdata/replace-on-change/docs/god/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new God(name: string, args?: GodArgs, opts?: CustomResourceOptions);
+
new God(name: string, args?: GodArgs, opts?: CustomResourceOptions);
@@ -34,28 +34,28 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def God(resource_name: str, - args: Optional[GodArgs] = None, + args: Optional[GodArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewGod(ctx *Context, name string, args *GodArgs, opts ...ResourceOption) (*God, error)
+
func NewGod(ctx *Context, name string, args *GodArgs, opts ...ResourceOption) (*God, error)
-
public God(string name, GodArgs? args = null, CustomResourceOptions? opts = null)
+
public God(string name, GodArgs? args = null, CustomResourceOptions? opts = null)
-public God(String name, GodArgs args)
-public God(String name, GodArgs args, CustomResourceOptions options)
+public God(String name, GodArgs args)
+public God(String name, GodArgs args, CustomResourceOptions options)
 
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - GodArgs + GodArgs
The arguments to resource properties.
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - GodArgs + GodArgs
The arguments to resource properties.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - GodArgs + GodArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - GodArgs + GodArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - GodArgs + GodArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -273,7 +273,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Backwards +Backwards Pulumi.Example.Dog @@ -287,7 +287,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -296,7 +296,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Backwards +Backwards Dog @@ -310,7 +310,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -319,7 +319,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-backwards +backwards Dog @@ -333,7 +333,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -342,7 +342,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-backwards +backwards Dog @@ -356,7 +356,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -365,7 +365,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-backwards +backwards Dog @@ -379,7 +379,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -388,7 +388,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-backwards +backwards example:Dog diff --git a/pkg/codegen/testing/test/testdata/replace-on-change/docs/norecursive/_index.md b/pkg/codegen/testing/test/testdata/replace-on-change/docs/norecursive/_index.md index b453f6597385..5d352214e5e6 100644 --- a/pkg/codegen/testing/test/testdata/replace-on-change/docs/norecursive/_index.md +++ b/pkg/codegen/testing/test/testdata/replace-on-change/docs/norecursive/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new NoRecursive(name: string, args?: NoRecursiveArgs, opts?: CustomResourceOptions);
+
new NoRecursive(name: string, args?: NoRecursiveArgs, opts?: CustomResourceOptions);
@@ -34,28 +34,28 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def NoRecursive(resource_name: str, - args: Optional[NoRecursiveArgs] = None, + args: Optional[NoRecursiveArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewNoRecursive(ctx *Context, name string, args *NoRecursiveArgs, opts ...ResourceOption) (*NoRecursive, error)
+
func NewNoRecursive(ctx *Context, name string, args *NoRecursiveArgs, opts ...ResourceOption) (*NoRecursive, error)
-
public NoRecursive(string name, NoRecursiveArgs? args = null, CustomResourceOptions? opts = null)
+
public NoRecursive(string name, NoRecursiveArgs? args = null, CustomResourceOptions? opts = null)
-public NoRecursive(String name, NoRecursiveArgs args)
-public NoRecursive(String name, NoRecursiveArgs args, CustomResourceOptions options)
+public NoRecursive(String name, NoRecursiveArgs args)
+public NoRecursive(String name, NoRecursiveArgs args, CustomResourceOptions options)
 
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - NoRecursiveArgs + NoRecursiveArgs
The arguments to resource properties.
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - NoRecursiveArgs + NoRecursiveArgs
The arguments to resource properties.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - NoRecursiveArgs + NoRecursiveArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - NoRecursiveArgs + NoRecursiveArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - NoRecursiveArgs + NoRecursiveArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -273,15 +273,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Rec +Rec - Rec + Rec
-Replace +Replace string @@ -295,7 +295,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -304,15 +304,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Rec +Rec - Rec + Rec
-Replace +Replace string @@ -326,7 +326,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -335,15 +335,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-rec +rec - Rec + Rec
-replace +replace String @@ -357,7 +357,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -366,15 +366,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-rec +rec - Rec + Rec
-replace +replace string @@ -388,7 +388,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -397,15 +397,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-rec +rec - Rec + Rec
-replace +replace str @@ -419,7 +419,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -428,15 +428,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-rec +rec - Property Map + Property Map
-replace +replace String @@ -462,10 +462,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Rec1 +Rec1 - Rec + Rec
@@ -476,10 +476,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Rec1 +Rec1 - Rec + Rec
@@ -490,10 +490,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-rec1 +rec1 - Rec + Rec
@@ -504,10 +504,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-rec1 +rec1 - Rec + Rec
@@ -518,10 +518,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-rec1 +rec1 - Rec + Rec
@@ -532,10 +532,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-rec1 +rec1 - Property Map + Property Map
diff --git a/pkg/codegen/testing/test/testdata/replace-on-change/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/replace-on-change/docs/provider/_index.md index 432bfcd884b1..32b1ee1cb169 100644 --- a/pkg/codegen/testing/test/testdata/replace-on-change/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/replace-on-change/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -34,28 +34,28 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/replace-on-change/docs/toystore/_index.md b/pkg/codegen/testing/test/testdata/replace-on-change/docs/toystore/_index.md index 7cb7980ef3f4..fa4e816d7d0f 100644 --- a/pkg/codegen/testing/test/testdata/replace-on-change/docs/toystore/_index.md +++ b/pkg/codegen/testing/test/testdata/replace-on-change/docs/toystore/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new ToyStore(name: string, args?: ToyStoreArgs, opts?: CustomResourceOptions);
+
new ToyStore(name: string, args?: ToyStoreArgs, opts?: CustomResourceOptions);
@@ -34,28 +34,28 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def ToyStore(resource_name: str, - args: Optional[ToyStoreArgs] = None, + args: Optional[ToyStoreArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewToyStore(ctx *Context, name string, args *ToyStoreArgs, opts ...ResourceOption) (*ToyStore, error)
+
func NewToyStore(ctx *Context, name string, args *ToyStoreArgs, opts ...ResourceOption) (*ToyStore, error)
-
public ToyStore(string name, ToyStoreArgs? args = null, CustomResourceOptions? opts = null)
+
public ToyStore(string name, ToyStoreArgs? args = null, CustomResourceOptions? opts = null)
-public ToyStore(String name, ToyStoreArgs args)
-public ToyStore(String name, ToyStoreArgs args, CustomResourceOptions options)
+public ToyStore(String name, ToyStoreArgs args)
+public ToyStore(String name, ToyStoreArgs args, CustomResourceOptions options)
 
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ToyStoreArgs + ToyStoreArgs
The arguments to resource properties.
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ToyStoreArgs + ToyStoreArgs
The arguments to resource properties.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ToyStoreArgs + ToyStoreArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ToyStoreArgs + ToyStoreArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ToyStoreArgs + ToyStoreArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -273,34 +273,34 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Chew +Chew - Chew + Chew
-Laser +Laser - Laser + Laser
-Stuff +Stuff - List<Toy> + List<Toy>
-Wanted +Wanted - List<Toy> + List<Toy>
@@ -311,7 +311,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -320,34 +320,34 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Chew +Chew - Chew + Chew
-Laser +Laser - Laser + Laser
-Stuff +Stuff - []Toy + []Toy
-Wanted +Wanted - []Toy + []Toy
@@ -358,7 +358,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -367,34 +367,34 @@ All [input](#inputs) properties are implicitly available as output properties. A
-chew +chew - Chew + Chew
-laser +laser - Laser + Laser
-stuff +stuff - List<Toy> + List<Toy>
-wanted +wanted - List<Toy> + List<Toy>
@@ -405,7 +405,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -414,34 +414,34 @@ All [input](#inputs) properties are implicitly available as output properties. A
-chew +chew - Chew + Chew
-laser +laser - Laser + Laser
-stuff +stuff - Toy[] + Toy[]
-wanted +wanted - Toy[] + Toy[]
@@ -452,7 +452,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -461,34 +461,34 @@ All [input](#inputs) properties are implicitly available as output properties. A
-chew +chew - Chew + Chew
-laser +laser - Laser + Laser
-stuff +stuff - Sequence[Toy] + Sequence[Toy]
-wanted +wanted - Sequence[Toy] + Sequence[Toy]
@@ -499,7 +499,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -508,34 +508,34 @@ All [input](#inputs) properties are implicitly available as output properties. A
-chew +chew - Property Map + Property Map
-laser +laser - Property Map + Property Map
-stuff +stuff - List<Property Map> + List<Property Map>
-wanted +wanted - List<Property Map> + List<Property Map>
@@ -558,7 +558,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Owner +Owner Pulumi.Example.Dog @@ -572,7 +572,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Owner +Owner Dog @@ -586,7 +586,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-owner +owner Dog @@ -600,7 +600,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-owner +owner Dog @@ -614,7 +614,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-owner +owner Dog @@ -628,7 +628,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-owner +owner example:Dog @@ -644,7 +644,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Animal +Animal Pulumi.Example.Cat @@ -652,7 +652,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Batteries +Batteries bool @@ -660,7 +660,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Light +Light double @@ -674,7 +674,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Animal +Animal Cat @@ -682,7 +682,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Batteries +Batteries bool @@ -690,7 +690,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Light +Light float64 @@ -704,7 +704,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-animal +animal Cat @@ -712,7 +712,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-batteries +batteries Boolean @@ -720,7 +720,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-light +light Double @@ -734,7 +734,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-animal +animal Cat @@ -742,7 +742,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-batteries +batteries boolean @@ -750,7 +750,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-light +light number @@ -764,7 +764,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-animal +animal Cat @@ -772,7 +772,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-batteries +batteries bool @@ -780,7 +780,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-light +light float @@ -794,7 +794,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-animal +animal example:Cat @@ -802,7 +802,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-batteries +batteries Boolean @@ -810,7 +810,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-light +light Number @@ -826,15 +826,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Associated +Associated - Toy + Toy
-Color +Color string @@ -842,7 +842,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Wear +Wear double @@ -856,15 +856,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Associated +Associated - Toy + Toy
-Color +Color string @@ -872,7 +872,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Wear +Wear float64 @@ -886,15 +886,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-associated +associated - Toy + Toy
-color +color String @@ -902,7 +902,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-wear +wear Double @@ -916,15 +916,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-associated +associated - Toy + Toy
-color +color string @@ -932,7 +932,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-wear +wear number @@ -946,15 +946,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-associated +associated - Toy + Toy
-color +color str @@ -962,7 +962,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-wear +wear float @@ -976,15 +976,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-associated +associated - Property Map + Property Map
-color +color String @@ -992,7 +992,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-wear +wear Number diff --git a/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/person/_index.md b/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/person/_index.md index 0d7f31557f01..61a95bd00b91 100644 --- a/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/person/_index.md +++ b/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/person/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Person(name: string, args?: PersonArgs, opts?: CustomResourceOptions);
+
new Person(name: string, args?: PersonArgs, opts?: CustomResourceOptions);
@@ -36,28 +36,28 @@ no_edit_this_page: true pets: Optional[Sequence[PetArgs]] = None) @overload def Person(resource_name: str, - args: Optional[PersonArgs] = None, + args: Optional[PersonArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewPerson(ctx *Context, name string, args *PersonArgs, opts ...ResourceOption) (*Person, error)
+
func NewPerson(ctx *Context, name string, args *PersonArgs, opts ...ResourceOption) (*Person, error)
-
public Person(string name, PersonArgs? args = null, CustomResourceOptions? opts = null)
+
public Person(string name, PersonArgs? args = null, CustomResourceOptions? opts = null)
-public Person(String name, PersonArgs args)
-public Person(String name, PersonArgs args, CustomResourceOptions options)
+public Person(String name, PersonArgs args)
+public Person(String name, PersonArgs args, CustomResourceOptions options)
 
@@ -85,7 +85,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - PersonArgs + PersonArgs
The arguments to resource properties.
@@ -111,7 +111,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - PersonArgs + PersonArgs
The arguments to resource properties.
@@ -143,7 +143,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - PersonArgs + PersonArgs
The arguments to resource properties.
@@ -169,7 +169,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - PersonArgs + PersonArgs
The arguments to resource properties.
@@ -195,7 +195,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - PersonArgs + PersonArgs
The arguments to resource properties.
@@ -223,7 +223,7 @@ The Person resource accepts the following [input](/docs/intro/concepts/inputs-ou
-Name +Name string @@ -231,10 +231,10 @@ The Person resource accepts the following [input](/docs/intro/concepts/inputs-ou
-Pets +Pets - List<PetArgs> + List<PetArgs>
@@ -245,7 +245,7 @@ The Person resource accepts the following [input](/docs/intro/concepts/inputs-ou
-Name +Name string @@ -253,10 +253,10 @@ The Person resource accepts the following [input](/docs/intro/concepts/inputs-ou
-Pets +Pets - []PetTypeArgs + []PetTypeArgs
@@ -267,7 +267,7 @@ The Person resource accepts the following [input](/docs/intro/concepts/inputs-ou
-name +name String @@ -275,10 +275,10 @@ The Person resource accepts the following [input](/docs/intro/concepts/inputs-ou
-pets +pets - List<PetArgs> + List<PetArgs>
@@ -289,7 +289,7 @@ The Person resource accepts the following [input](/docs/intro/concepts/inputs-ou
-name +name string @@ -297,10 +297,10 @@ The Person resource accepts the following [input](/docs/intro/concepts/inputs-ou
-pets +pets - PetArgs[] + PetArgs[]
@@ -311,7 +311,7 @@ The Person resource accepts the following [input](/docs/intro/concepts/inputs-ou
-name +name str @@ -319,10 +319,10 @@ The Person resource accepts the following [input](/docs/intro/concepts/inputs-ou
-pets +pets - Sequence[PetArgs] + Sequence[PetArgs]
@@ -333,7 +333,7 @@ The Person resource accepts the following [input](/docs/intro/concepts/inputs-ou
-name +name String @@ -341,10 +341,10 @@ The Person resource accepts the following [input](/docs/intro/concepts/inputs-ou
-pets +pets - List<Property Map> + List<Property Map>
@@ -362,7 +362,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -377,7 +377,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -392,7 +392,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -407,7 +407,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -422,7 +422,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -437,7 +437,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -464,7 +464,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Name +Name string @@ -478,7 +478,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Name +Name string @@ -492,7 +492,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-name +name String @@ -506,7 +506,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-name +name string @@ -520,7 +520,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-name +name str @@ -534,7 +534,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-name +name String diff --git a/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/pet/_index.md b/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/pet/_index.md index 088a7c4b8550..3525a968528c 100644 --- a/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/pet/_index.md +++ b/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/pet/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Pet(name: string, args?: PetArgs, opts?: CustomResourceOptions);
+
new Pet(name: string, args?: PetArgs, opts?: CustomResourceOptions);
@@ -35,28 +35,28 @@ no_edit_this_page: true name: Optional[str] = None) @overload def Pet(resource_name: str, - args: Optional[PetInitArgs] = None, + args: Optional[PetInitArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewPet(ctx *Context, name string, args *PetArgs, opts ...ResourceOption) (*Pet, error)
+
func NewPet(ctx *Context, name string, args *PetArgs, opts ...ResourceOption) (*Pet, error)
-
public Pet(string name, PetArgs? args = null, CustomResourceOptions? opts = null)
+
public Pet(string name, PetArgs? args = null, CustomResourceOptions? opts = null)
-public Pet(String name, PetArgs args)
-public Pet(String name, PetArgs args, CustomResourceOptions options)
+public Pet(String name, PetArgs args)
+public Pet(String name, PetArgs args, CustomResourceOptions options)
 
@@ -84,7 +84,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - PetArgs + PetArgs
The arguments to resource properties.
@@ -110,7 +110,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - PetInitArgs + PetInitArgs
The arguments to resource properties.
@@ -142,7 +142,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - PetArgs + PetArgs
The arguments to resource properties.
@@ -168,7 +168,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - PetArgs + PetArgs
The arguments to resource properties.
@@ -194,7 +194,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - PetArgs + PetArgs
The arguments to resource properties.
@@ -222,7 +222,7 @@ The Pet resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-Name +Name string @@ -236,7 +236,7 @@ The Pet resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-Name +Name string @@ -250,7 +250,7 @@ The Pet resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-name +name String @@ -264,7 +264,7 @@ The Pet resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-name +name string @@ -278,7 +278,7 @@ The Pet resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-name +name str @@ -292,7 +292,7 @@ The Pet resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-name +name String @@ -313,7 +313,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -328,7 +328,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -343,7 +343,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -358,7 +358,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -373,7 +373,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -388,7 +388,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/provider/_index.md index 432bfcd884b1..32b1ee1cb169 100644 --- a/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -34,28 +34,28 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/resource-args-python/docs/person/_index.md b/pkg/codegen/testing/test/testdata/resource-args-python/docs/person/_index.md index 0d7f31557f01..61a95bd00b91 100644 --- a/pkg/codegen/testing/test/testdata/resource-args-python/docs/person/_index.md +++ b/pkg/codegen/testing/test/testdata/resource-args-python/docs/person/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Person(name: string, args?: PersonArgs, opts?: CustomResourceOptions);
+
new Person(name: string, args?: PersonArgs, opts?: CustomResourceOptions);
@@ -36,28 +36,28 @@ no_edit_this_page: true pets: Optional[Sequence[PetArgs]] = None) @overload def Person(resource_name: str, - args: Optional[PersonArgs] = None, + args: Optional[PersonArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewPerson(ctx *Context, name string, args *PersonArgs, opts ...ResourceOption) (*Person, error)
+
func NewPerson(ctx *Context, name string, args *PersonArgs, opts ...ResourceOption) (*Person, error)
-
public Person(string name, PersonArgs? args = null, CustomResourceOptions? opts = null)
+
public Person(string name, PersonArgs? args = null, CustomResourceOptions? opts = null)
-public Person(String name, PersonArgs args)
-public Person(String name, PersonArgs args, CustomResourceOptions options)
+public Person(String name, PersonArgs args)
+public Person(String name, PersonArgs args, CustomResourceOptions options)
 
@@ -85,7 +85,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - PersonArgs + PersonArgs
The arguments to resource properties.
@@ -111,7 +111,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - PersonArgs + PersonArgs
The arguments to resource properties.
@@ -143,7 +143,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - PersonArgs + PersonArgs
The arguments to resource properties.
@@ -169,7 +169,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - PersonArgs + PersonArgs
The arguments to resource properties.
@@ -195,7 +195,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - PersonArgs + PersonArgs
The arguments to resource properties.
@@ -223,7 +223,7 @@ The Person resource accepts the following [input](/docs/intro/concepts/inputs-ou
-Name +Name string @@ -231,10 +231,10 @@ The Person resource accepts the following [input](/docs/intro/concepts/inputs-ou
-Pets +Pets - List<PetArgs> + List<PetArgs>
@@ -245,7 +245,7 @@ The Person resource accepts the following [input](/docs/intro/concepts/inputs-ou
-Name +Name string @@ -253,10 +253,10 @@ The Person resource accepts the following [input](/docs/intro/concepts/inputs-ou
-Pets +Pets - []PetTypeArgs + []PetTypeArgs
@@ -267,7 +267,7 @@ The Person resource accepts the following [input](/docs/intro/concepts/inputs-ou
-name +name String @@ -275,10 +275,10 @@ The Person resource accepts the following [input](/docs/intro/concepts/inputs-ou
-pets +pets - List<PetArgs> + List<PetArgs>
@@ -289,7 +289,7 @@ The Person resource accepts the following [input](/docs/intro/concepts/inputs-ou
-name +name string @@ -297,10 +297,10 @@ The Person resource accepts the following [input](/docs/intro/concepts/inputs-ou
-pets +pets - PetArgs[] + PetArgs[]
@@ -311,7 +311,7 @@ The Person resource accepts the following [input](/docs/intro/concepts/inputs-ou
-name +name str @@ -319,10 +319,10 @@ The Person resource accepts the following [input](/docs/intro/concepts/inputs-ou
-pets +pets - Sequence[PetArgs] + Sequence[PetArgs]
@@ -333,7 +333,7 @@ The Person resource accepts the following [input](/docs/intro/concepts/inputs-ou
-name +name String @@ -341,10 +341,10 @@ The Person resource accepts the following [input](/docs/intro/concepts/inputs-ou
-pets +pets - List<Property Map> + List<Property Map>
@@ -362,7 +362,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -377,7 +377,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -392,7 +392,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -407,7 +407,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -422,7 +422,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -437,7 +437,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -464,7 +464,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Name +Name string @@ -478,7 +478,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Name +Name string @@ -492,7 +492,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-name +name String @@ -506,7 +506,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-name +name string @@ -520,7 +520,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-name +name str @@ -534,7 +534,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-name +name String diff --git a/pkg/codegen/testing/test/testdata/resource-args-python/docs/pet/_index.md b/pkg/codegen/testing/test/testdata/resource-args-python/docs/pet/_index.md index 088a7c4b8550..3525a968528c 100644 --- a/pkg/codegen/testing/test/testdata/resource-args-python/docs/pet/_index.md +++ b/pkg/codegen/testing/test/testdata/resource-args-python/docs/pet/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Pet(name: string, args?: PetArgs, opts?: CustomResourceOptions);
+
new Pet(name: string, args?: PetArgs, opts?: CustomResourceOptions);
@@ -35,28 +35,28 @@ no_edit_this_page: true name: Optional[str] = None) @overload def Pet(resource_name: str, - args: Optional[PetInitArgs] = None, + args: Optional[PetInitArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewPet(ctx *Context, name string, args *PetArgs, opts ...ResourceOption) (*Pet, error)
+
func NewPet(ctx *Context, name string, args *PetArgs, opts ...ResourceOption) (*Pet, error)
-
public Pet(string name, PetArgs? args = null, CustomResourceOptions? opts = null)
+
public Pet(string name, PetArgs? args = null, CustomResourceOptions? opts = null)
-public Pet(String name, PetArgs args)
-public Pet(String name, PetArgs args, CustomResourceOptions options)
+public Pet(String name, PetArgs args)
+public Pet(String name, PetArgs args, CustomResourceOptions options)
 
@@ -84,7 +84,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - PetArgs + PetArgs
The arguments to resource properties.
@@ -110,7 +110,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - PetInitArgs + PetInitArgs
The arguments to resource properties.
@@ -142,7 +142,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - PetArgs + PetArgs
The arguments to resource properties.
@@ -168,7 +168,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - PetArgs + PetArgs
The arguments to resource properties.
@@ -194,7 +194,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - PetArgs + PetArgs
The arguments to resource properties.
@@ -222,7 +222,7 @@ The Pet resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-Name +Name string @@ -236,7 +236,7 @@ The Pet resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-Name +Name string @@ -250,7 +250,7 @@ The Pet resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-name +name String @@ -264,7 +264,7 @@ The Pet resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-name +name string @@ -278,7 +278,7 @@ The Pet resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-name +name str @@ -292,7 +292,7 @@ The Pet resource accepts the following [input](/docs/intro/concepts/inputs-outpu
-name +name String @@ -313,7 +313,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -328,7 +328,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -343,7 +343,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -358,7 +358,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -373,7 +373,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -388,7 +388,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/resource-args-python/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/resource-args-python/docs/provider/_index.md index 432bfcd884b1..32b1ee1cb169 100644 --- a/pkg/codegen/testing/test/testdata/resource-args-python/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/resource-args-python/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -34,28 +34,28 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/resource-property-overlap/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/resource-property-overlap/docs/provider/_index.md index 432bfcd884b1..32b1ee1cb169 100644 --- a/pkg/codegen/testing/test/testdata/resource-property-overlap/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/resource-property-overlap/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -34,28 +34,28 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/resource-property-overlap/docs/rec/_index.md b/pkg/codegen/testing/test/testdata/resource-property-overlap/docs/rec/_index.md index ce3b420207c9..8472e6a9adf2 100644 --- a/pkg/codegen/testing/test/testdata/resource-property-overlap/docs/rec/_index.md +++ b/pkg/codegen/testing/test/testdata/resource-property-overlap/docs/rec/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Rec(name: string, args?: RecArgs, opts?: CustomResourceOptions);
+
new Rec(name: string, args?: RecArgs, opts?: CustomResourceOptions);
@@ -34,28 +34,28 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Rec(resource_name: str, - args: Optional[RecArgs] = None, + args: Optional[RecArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewRec(ctx *Context, name string, args *RecArgs, opts ...ResourceOption) (*Rec, error)
+
func NewRec(ctx *Context, name string, args *RecArgs, opts ...ResourceOption) (*Rec, error)
-
public Rec(string name, RecArgs? args = null, CustomResourceOptions? opts = null)
+
public Rec(string name, RecArgs? args = null, CustomResourceOptions? opts = null)
-public Rec(String name, RecArgs args)
-public Rec(String name, RecArgs args, CustomResourceOptions options)
+public Rec(String name, RecArgs args)
+public Rec(String name, RecArgs args, CustomResourceOptions options)
 
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - RecArgs + RecArgs
The arguments to resource properties.
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - RecArgs + RecArgs
The arguments to resource properties.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - RecArgs + RecArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - RecArgs + RecArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - RecArgs + RecArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -273,7 +273,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Rec +Rec Pulumi.Example.Rec @@ -287,7 +287,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -296,7 +296,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Rec +Rec Rec @@ -310,7 +310,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -319,7 +319,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-rec +rec Rec @@ -333,7 +333,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -342,7 +342,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-rec +rec Rec @@ -356,7 +356,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -365,7 +365,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-rec +rec Rec @@ -379,7 +379,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -388,7 +388,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-rec +rec example:Rec diff --git a/pkg/codegen/testing/test/testdata/secrets/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/secrets/docs/provider/_index.md index 2ccdad9b46ac..5e2162082093 100644 --- a/pkg/codegen/testing/test/testdata/secrets/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/secrets/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -34,28 +34,28 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/secrets/docs/resource/_index.md b/pkg/codegen/testing/test/testdata/secrets/docs/resource/_index.md index aba127243f09..f6a16c353485 100644 --- a/pkg/codegen/testing/test/testdata/secrets/docs/resource/_index.md +++ b/pkg/codegen/testing/test/testdata/secrets/docs/resource/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Resource(name: string, args: ResourceArgs, opts?: CustomResourceOptions);
+
new Resource(name: string, args: ResourceArgs, opts?: CustomResourceOptions);
@@ -40,28 +40,28 @@ no_edit_this_page: true foo_map: Optional[Mapping[str, str]] = None) @overload def Resource(resource_name: str, - args: ResourceArgs, + args: ResourceArgs, opts: Optional[ResourceOptions] = None)
-
func NewResource(ctx *Context, name string, args ResourceArgs, opts ...ResourceOption) (*Resource, error)
+
func NewResource(ctx *Context, name string, args ResourceArgs, opts ...ResourceOption) (*Resource, error)
-
public Resource(string name, ResourceArgs args, CustomResourceOptions? opts = null)
+
public Resource(string name, ResourceArgs args, CustomResourceOptions? opts = null)
-public Resource(String name, ResourceArgs args)
-public Resource(String name, ResourceArgs args, CustomResourceOptions options)
+public Resource(String name, ResourceArgs args)
+public Resource(String name, ResourceArgs args, CustomResourceOptions options)
 
@@ -89,7 +89,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -147,7 +147,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -173,7 +173,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -199,7 +199,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -227,23 +227,23 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-Config +Config - ConfigArgs + ConfigArgs
-ConfigArray +ConfigArray - List<ConfigArgs> + List<ConfigArgs>
-ConfigMap +ConfigMap Dictionary<string, ConfigArgs> @@ -251,7 +251,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-Foo +Foo string @@ -259,7 +259,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-FooArray +FooArray List<string> @@ -267,7 +267,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-FooMap +FooMap Dictionary<string, string> @@ -281,23 +281,23 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-Config +Config - ConfigArgs + ConfigArgs
-ConfigArray +ConfigArray - []ConfigArgs + []ConfigArgs
-ConfigMap +ConfigMap map[string]ConfigArgs @@ -305,7 +305,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-Foo +Foo string @@ -313,7 +313,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-FooArray +FooArray []string @@ -321,7 +321,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-FooMap +FooMap map[string]string @@ -335,23 +335,23 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-config +config - ConfigArgs + ConfigArgs
-configArray +configArray - List<ConfigArgs> + List<ConfigArgs>
-configMap +configMap Map<String,ConfigArgs> @@ -359,7 +359,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-foo +foo String @@ -367,7 +367,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-fooArray +fooArray List<String> @@ -375,7 +375,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-fooMap +fooMap Map<String,String> @@ -389,23 +389,23 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-config +config - ConfigArgs + ConfigArgs
-configArray +configArray - ConfigArgs[] + ConfigArgs[]
-configMap +configMap {[key: string]: ConfigArgs} @@ -413,7 +413,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-foo +foo string @@ -421,7 +421,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-fooArray +fooArray string[] @@ -429,7 +429,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-fooMap +fooMap {[key: string]: string} @@ -443,23 +443,23 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-config +config - ConfigArgs + ConfigArgs
-config_array +config_array - Sequence[ConfigArgs] + Sequence[ConfigArgs]
-config_map +config_map Mapping[str, ConfigArgs] @@ -467,7 +467,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-foo +foo str @@ -475,7 +475,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-foo_array +foo_array Sequence[str] @@ -483,7 +483,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-foo_map +foo_map Mapping[str, str] @@ -497,23 +497,23 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-config +config - Property Map + Property Map
-configArray +configArray - List<Property Map> + List<Property Map>
-configMap +configMap Map<Property Map> @@ -521,7 +521,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-foo +foo String @@ -529,7 +529,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-fooArray +fooArray List<String> @@ -537,7 +537,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-fooMap +fooMap Map<String> @@ -558,7 +558,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -573,7 +573,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -588,7 +588,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -603,7 +603,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -618,7 +618,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -633,7 +633,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -660,7 +660,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Foo +Foo string @@ -674,7 +674,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Foo +Foo string @@ -688,7 +688,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-foo +foo String @@ -702,7 +702,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-foo +foo string @@ -716,7 +716,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-foo +foo str @@ -730,7 +730,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-foo +foo String diff --git a/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/provider/_index.md index 6c01bf3a697f..8fc0a9996f86 100644 --- a/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -34,28 +34,28 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/tree/v1/nursery/_index.md b/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/tree/v1/nursery/_index.md index c333b5bb1542..9fe48fcd6edc 100644 --- a/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/tree/v1/nursery/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/tree/v1/nursery/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Nursery(name: string, args: NurseryArgs, opts?: CustomResourceOptions);
+
new Nursery(name: string, args: NurseryArgs, opts?: CustomResourceOptions);
@@ -36,28 +36,28 @@ no_edit_this_page: true varieties: Optional[Sequence[RubberTreeVariety]] = None) @overload def Nursery(resource_name: str, - args: NurseryArgs, + args: NurseryArgs, opts: Optional[ResourceOptions] = None)
-
func NewNursery(ctx *Context, name string, args NurseryArgs, opts ...ResourceOption) (*Nursery, error)
+
func NewNursery(ctx *Context, name string, args NurseryArgs, opts ...ResourceOption) (*Nursery, error)
-
public Nursery(string name, NurseryArgs args, CustomResourceOptions? opts = null)
+
public Nursery(string name, NurseryArgs args, CustomResourceOptions? opts = null)
-public Nursery(String name, NurseryArgs args)
-public Nursery(String name, NurseryArgs args, CustomResourceOptions options)
+public Nursery(String name, NurseryArgs args)
+public Nursery(String name, NurseryArgs args, CustomResourceOptions options)
 
@@ -85,7 +85,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - NurseryArgs + NurseryArgs
The arguments to resource properties.
@@ -111,7 +111,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - NurseryArgs + NurseryArgs
The arguments to resource properties.
@@ -143,7 +143,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - NurseryArgs + NurseryArgs
The arguments to resource properties.
@@ -169,7 +169,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - NurseryArgs + NurseryArgs
The arguments to resource properties.
@@ -195,7 +195,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - NurseryArgs + NurseryArgs
The arguments to resource properties.
@@ -223,16 +223,16 @@ The Nursery resource accepts the following [input](/docs/intro/concepts/inputs-o
-Varieties +Varieties - List<Pulumi.Plant.Tree.V1.RubberTreeVariety> + List<Pulumi.Plant.Tree.V1.RubberTreeVariety>

The varieties available

-Sizes +Sizes Dictionary<string, Pulumi.Plant.Tree.V1.TreeSize> @@ -247,16 +247,16 @@ The Nursery resource accepts the following [input](/docs/intro/concepts/inputs-o
-Varieties +Varieties - []RubberTreeVariety + []RubberTreeVariety

The varieties available

-Sizes +Sizes map[string]TreeSize @@ -271,16 +271,16 @@ The Nursery resource accepts the following [input](/docs/intro/concepts/inputs-o
-varieties +varieties - List<RubberTreeVariety> + List<RubberTreeVariety>

The varieties available

-sizes +sizes Map<String,TreeSize> @@ -295,16 +295,16 @@ The Nursery resource accepts the following [input](/docs/intro/concepts/inputs-o
-varieties +varieties - RubberTreeVariety[] + RubberTreeVariety[]

The varieties available

-sizes +sizes {[key: string]: TreeSize} @@ -319,16 +319,16 @@ The Nursery resource accepts the following [input](/docs/intro/concepts/inputs-o
-varieties +varieties - Sequence[RubberTreeVariety] + Sequence[RubberTreeVariety]

The varieties available

-sizes +sizes Mapping[str, TreeSize] @@ -343,16 +343,16 @@ The Nursery resource accepts the following [input](/docs/intro/concepts/inputs-o
-varieties +varieties - List<"Burgundy" | "Ruby" | "Tineke"> + List<"Burgundy" | "Ruby" | "Tineke">

The varieties available

-sizes +sizes Map<"small" | "medium" | "large"> @@ -374,7 +374,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -389,7 +389,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -404,7 +404,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -419,7 +419,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -434,7 +434,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -449,7 +449,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/tree/v1/rubbertree/_index.md b/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/tree/v1/rubbertree/_index.md index 049817ff0d47..40d394bf4a96 100644 --- a/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/tree/v1/rubbertree/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/tree/v1/rubbertree/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new RubberTree(name: string, args: RubberTreeArgs, opts?: CustomResourceOptions);
+
new RubberTree(name: string, args: RubberTreeArgs, opts?: CustomResourceOptions);
@@ -39,28 +39,28 @@ no_edit_this_page: true type: Optional[RubberTreeVariety] = None) @overload def RubberTree(resource_name: str, - args: RubberTreeArgs, + args: RubberTreeArgs, opts: Optional[ResourceOptions] = None)
-
func NewRubberTree(ctx *Context, name string, args RubberTreeArgs, opts ...ResourceOption) (*RubberTree, error)
+
func NewRubberTree(ctx *Context, name string, args RubberTreeArgs, opts ...ResourceOption) (*RubberTree, error)
-
public RubberTree(string name, RubberTreeArgs args, CustomResourceOptions? opts = null)
+
public RubberTree(string name, RubberTreeArgs args, CustomResourceOptions? opts = null)
-public RubberTree(String name, RubberTreeArgs args)
-public RubberTree(String name, RubberTreeArgs args, CustomResourceOptions options)
+public RubberTree(String name, RubberTreeArgs args)
+public RubberTree(String name, RubberTreeArgs args, CustomResourceOptions options)
 
@@ -88,7 +88,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - RubberTreeArgs + RubberTreeArgs
The arguments to resource properties.
@@ -114,7 +114,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - RubberTreeArgs + RubberTreeArgs
The arguments to resource properties.
@@ -146,7 +146,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - RubberTreeArgs + RubberTreeArgs
The arguments to resource properties.
@@ -172,7 +172,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - RubberTreeArgs + RubberTreeArgs
The arguments to resource properties.
@@ -198,7 +198,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - RubberTreeArgs + RubberTreeArgs
The arguments to resource properties.
@@ -226,42 +226,42 @@ The RubberTree resource accepts the following [input](/docs/intro/concepts/input
-Diameter +Diameter - Pulumi.Plant.Tree.V1.Diameter + Pulumi.Plant.Tree.V1.Diameter
-Type +Type - Pulumi.Plant.Tree.V1.RubberTreeVariety + Pulumi.Plant.Tree.V1.RubberTreeVariety
-Container +Container - Pulumi.Plant.Inputs.ContainerArgs + Pulumi.Plant.Inputs.ContainerArgs
-Farm +Farm - Pulumi.Plant.Tree.V1.Farm | string + Pulumi.Plant.Tree.V1.Farm | string
-Size +Size - Pulumi.Plant.Tree.V1.TreeSize + Pulumi.Plant.Tree.V1.TreeSize
@@ -272,42 +272,42 @@ The RubberTree resource accepts the following [input](/docs/intro/concepts/input
-Diameter +Diameter - Diameter + Diameter
-Type +Type - RubberTreeVariety + RubberTreeVariety
-Container +Container - ContainerArgs + ContainerArgs
-Farm +Farm - Farm | string + Farm | string
-Size +Size - TreeSize + TreeSize
@@ -318,42 +318,42 @@ The RubberTree resource accepts the following [input](/docs/intro/concepts/input
-diameter +diameter - Diameter + Diameter
-type +type - RubberTreeVariety + RubberTreeVariety
-container +container - ContainerArgs + ContainerArgs
-farm +farm - Farm | String + Farm | String
-size +size - TreeSize + TreeSize
@@ -364,42 +364,42 @@ The RubberTree resource accepts the following [input](/docs/intro/concepts/input
-diameter +diameter - Diameter + Diameter
-type +type - RubberTreeVariety + RubberTreeVariety
-container +container - ContainerArgs + ContainerArgs
-farm +farm - Farm | string + Farm | string
-size +size - TreeSize + TreeSize
@@ -410,42 +410,42 @@ The RubberTree resource accepts the following [input](/docs/intro/concepts/input
-diameter +diameter - Diameter + Diameter
-type +type - RubberTreeVariety + RubberTreeVariety
-container +container - ContainerArgs + ContainerArgs
-farm +farm - Farm | str + Farm | str
-size +size - TreeSize + TreeSize
@@ -456,42 +456,42 @@ The RubberTree resource accepts the following [input](/docs/intro/concepts/input
-diameter +diameter - 6 | 12 + 6 | 12
-type +type - "Burgundy" | "Ruby" | "Tineke" + "Burgundy" | "Ruby" | "Tineke"
-container +container - Property Map + Property Map
-farm +farm - "Pulumi Planters Inc." | "Plants'R'Us" | String + "Pulumi Planters Inc." | "Plants'R'Us" | String
-size +size - "small" | "medium" | "large" + "small" | "medium" | "large"
@@ -509,7 +509,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -524,7 +524,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -539,7 +539,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -554,7 +554,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -569,7 +569,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -584,7 +584,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -786,10 +786,10 @@ The following state arguments are supported:
-Farm +Farm - Pulumi.Plant.Tree.V1.Farm | string + Pulumi.Plant.Tree.V1.Farm | string
@@ -800,10 +800,10 @@ The following state arguments are supported:
-Farm +Farm - Farm | string + Farm | string
@@ -814,10 +814,10 @@ The following state arguments are supported:
-farm +farm - Farm | String + Farm | String
@@ -828,10 +828,10 @@ The following state arguments are supported:
-farm +farm - Farm | string + Farm | string
@@ -842,10 +842,10 @@ The following state arguments are supported:
-farm +farm - Farm | str + Farm | str
@@ -856,10 +856,10 @@ The following state arguments are supported:
-farm +farm - "Pulumi Planters Inc." | "Plants'R'Us" | String + "Pulumi Planters Inc." | "Plants'R'Us" | String
@@ -883,31 +883,31 @@ The following state arguments are supported:
-Size +Size - Pulumi.Plant.ContainerSize + Pulumi.Plant.ContainerSize
-Brightness +Brightness - Pulumi.Plant.ContainerBrightness + Pulumi.Plant.ContainerBrightness
-Color +Color - Pulumi.Plant.ContainerColor | string + Pulumi.Plant.ContainerColor | string
-Material +Material string @@ -921,31 +921,31 @@ The following state arguments are supported:
-Size +Size - ContainerSize + ContainerSize
-Brightness +Brightness - ContainerBrightness + ContainerBrightness
-Color +Color - ContainerColor | string + ContainerColor | string
-Material +Material string @@ -959,31 +959,31 @@ The following state arguments are supported:
-size +size - ContainerSize + ContainerSize
-brightness +brightness - ContainerBrightness + ContainerBrightness
-color +color - ContainerColor | String + ContainerColor | String
-material +material String @@ -997,31 +997,31 @@ The following state arguments are supported:
-size +size - ContainerSize + ContainerSize
-brightness +brightness - ContainerBrightness + ContainerBrightness
-color +color - ContainerColor | string + ContainerColor | string
-material +material string @@ -1035,31 +1035,31 @@ The following state arguments are supported:
-size +size - ContainerSize + ContainerSize
-brightness +brightness - ContainerBrightness + ContainerBrightness
-color +color - ContainerColor | str + ContainerColor | str
-material +material str @@ -1073,31 +1073,31 @@ The following state arguments are supported:
-size +size - 4 | 6 | 8 + 4 | 6 | 8
-brightness +brightness - 0.1 | 1 + 0.1 | 1
-color +color - "red" | "blue" | "yellow" | String + "red" | "blue" | "yellow" | String
-material +material String 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 8987ecd688e5..3103ca9f5e70 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 @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Foo(name: string, args?: FooArgs, opts?: CustomResourceOptions);
+
new Foo(name: string, args?: FooArgs, opts?: CustomResourceOptions);
@@ -34,28 +34,28 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Foo(resource_name: str, - args: Optional[FooArgs] = None, + args: Optional[FooArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewFoo(ctx *Context, name string, args *FooArgs, opts ...ResourceOption) (*Foo, error)
+
func NewFoo(ctx *Context, name string, args *FooArgs, opts ...ResourceOption) (*Foo, error)
-
public Foo(string name, FooArgs? args = null, CustomResourceOptions? opts = null)
+
public Foo(string name, FooArgs? args = null, CustomResourceOptions? opts = null)
-public Foo(String name, FooArgs args)
-public Foo(String name, FooArgs args, CustomResourceOptions options)
+public Foo(String name, FooArgs args)
+public Foo(String name, FooArgs args, CustomResourceOptions options)
 
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - FooArgs + FooArgs
The arguments to resource properties.
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - FooArgs + FooArgs
The arguments to resource properties.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - FooArgs + FooArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - FooArgs + FooArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - FooArgs + FooArgs
The arguments to resource properties.
@@ -349,7 +349,7 @@ The following arguments are supported:
-ProfileName +ProfileName string @@ -357,7 +357,7 @@ The following arguments are supported:
-RoleArn +RoleArn string @@ -371,7 +371,7 @@ The following arguments are supported:
-ProfileName +ProfileName string @@ -379,7 +379,7 @@ The following arguments are supported:
-RoleArn +RoleArn string @@ -393,7 +393,7 @@ The following arguments are supported:
-profileName +profileName String @@ -401,7 +401,7 @@ The following arguments are supported:
-roleArn +roleArn String @@ -415,7 +415,7 @@ The following arguments are supported:
-profileName +profileName string @@ -423,7 +423,7 @@ The following arguments are supported:
-roleArn +roleArn string @@ -437,7 +437,7 @@ The following arguments are supported:
-profile_name +profile_name str @@ -445,7 +445,7 @@ The following arguments are supported:
-role_arn +role_arn str @@ -459,7 +459,7 @@ The following arguments are supported:
-profileName +profileName String @@ -467,7 +467,7 @@ The following arguments are supported:
-roleArn +roleArn String @@ -486,7 +486,7 @@ The following arguments are supported:
-Kubeconfig +Kubeconfig string @@ -500,7 +500,7 @@ The following arguments are supported:
-Kubeconfig +Kubeconfig string @@ -514,7 +514,7 @@ The following arguments are supported:
-kubeconfig +kubeconfig String @@ -528,7 +528,7 @@ The following arguments are supported:
-kubeconfig +kubeconfig string @@ -542,7 +542,7 @@ The following arguments are supported:
-kubeconfig +kubeconfig str @@ -556,7 +556,7 @@ The following arguments are supported:
-kubeconfig +kubeconfig String diff --git a/pkg/codegen/testing/test/testdata/simple-methods-schema-single-value-returns/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/simple-methods-schema-single-value-returns/docs/provider/_index.md index 432bfcd884b1..32b1ee1cb169 100644 --- a/pkg/codegen/testing/test/testdata/simple-methods-schema-single-value-returns/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-methods-schema-single-value-returns/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -34,28 +34,28 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String 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 fe24e68d1992..cddb75df3e1b 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 @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Foo(name: string, args?: FooArgs, opts?: CustomResourceOptions);
+
new Foo(name: string, args?: FooArgs, opts?: CustomResourceOptions);
@@ -34,28 +34,28 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Foo(resource_name: str, - args: Optional[FooArgs] = None, + args: Optional[FooArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewFoo(ctx *Context, name string, args *FooArgs, opts ...ResourceOption) (*Foo, error)
+
func NewFoo(ctx *Context, name string, args *FooArgs, opts ...ResourceOption) (*Foo, error)
-
public Foo(string name, FooArgs? args = null, CustomResourceOptions? opts = null)
+
public Foo(string name, FooArgs? args = null, CustomResourceOptions? opts = null)
-public Foo(String name, FooArgs args)
-public Foo(String name, FooArgs args, CustomResourceOptions options)
+public Foo(String name, FooArgs args)
+public Foo(String name, FooArgs args, CustomResourceOptions options)
 
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - FooArgs + FooArgs
The arguments to resource properties.
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - FooArgs + FooArgs
The arguments to resource properties.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - FooArgs + FooArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - FooArgs + FooArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - FooArgs + FooArgs
The arguments to resource properties.
@@ -361,15 +361,15 @@ The following arguments are supported:
-BazRequired +BazRequired - Pulumi.Example.Nested.Inputs.Baz + Pulumi.Example.Nested.Inputs.Baz
-BoolValueRequired +BoolValueRequired bool @@ -377,7 +377,7 @@ The following arguments are supported:
-NameRequired +NameRequired Pulumi.Random.RandomPet @@ -385,7 +385,7 @@ The following arguments are supported:
-StringValueRequired +StringValueRequired string @@ -393,23 +393,23 @@ The following arguments are supported:
-Baz +Baz - Pulumi.Example.Nested.Inputs.Baz + Pulumi.Example.Nested.Inputs.Baz
-BazPlain +BazPlain - Pulumi.Example.Nested.Inputs.Baz + Pulumi.Example.Nested.Inputs.Baz
-BoolValue +BoolValue bool @@ -417,7 +417,7 @@ The following arguments are supported:
-BoolValuePlain +BoolValuePlain bool @@ -425,7 +425,7 @@ The following arguments are supported:
-Name +Name Pulumi.Random.RandomPet @@ -433,7 +433,7 @@ The following arguments are supported:
-NamePlain +NamePlain Pulumi.Random.RandomPet @@ -441,7 +441,7 @@ The following arguments are supported:
-StringValue +StringValue string @@ -449,7 +449,7 @@ The following arguments are supported:
-StringValuePlain +StringValuePlain string @@ -463,15 +463,15 @@ The following arguments are supported:
-BazRequired +BazRequired - Baz + Baz
-BoolValueRequired +BoolValueRequired bool @@ -479,7 +479,7 @@ The following arguments are supported:
-NameRequired +NameRequired RandomPet @@ -487,7 +487,7 @@ The following arguments are supported:
-StringValueRequired +StringValueRequired string @@ -495,23 +495,23 @@ The following arguments are supported:
-Baz +Baz - Baz + Baz
-BazPlain +BazPlain - Baz + Baz
-BoolValue +BoolValue bool @@ -519,7 +519,7 @@ The following arguments are supported:
-BoolValuePlain +BoolValuePlain bool @@ -527,7 +527,7 @@ The following arguments are supported:
-Name +Name RandomPet @@ -535,7 +535,7 @@ The following arguments are supported:
-NamePlain +NamePlain RandomPet @@ -543,7 +543,7 @@ The following arguments are supported:
-StringValue +StringValue string @@ -551,7 +551,7 @@ The following arguments are supported:
-StringValuePlain +StringValuePlain string @@ -565,15 +565,15 @@ The following arguments are supported:
-bazRequired +bazRequired - Baz + Baz
-boolValueRequired +boolValueRequired Boolean @@ -581,7 +581,7 @@ The following arguments are supported:
-nameRequired +nameRequired RandomPet @@ -589,7 +589,7 @@ The following arguments are supported:
-stringValueRequired +stringValueRequired String @@ -597,23 +597,23 @@ The following arguments are supported:
-baz +baz - Baz + Baz
-bazPlain +bazPlain - Baz + Baz
-boolValue +boolValue Boolean @@ -621,7 +621,7 @@ The following arguments are supported:
-boolValuePlain +boolValuePlain Boolean @@ -629,7 +629,7 @@ The following arguments are supported:
-name +name RandomPet @@ -637,7 +637,7 @@ The following arguments are supported:
-namePlain +namePlain RandomPet @@ -645,7 +645,7 @@ The following arguments are supported:
-stringValue +stringValue String @@ -653,7 +653,7 @@ The following arguments are supported:
-stringValuePlain +stringValuePlain String @@ -667,15 +667,15 @@ The following arguments are supported:
-bazRequired +bazRequired - nestedBaz + nestedBaz
-boolValueRequired +boolValueRequired boolean @@ -683,7 +683,7 @@ The following arguments are supported:
-nameRequired +nameRequired pulumiRandomRandomPet @@ -691,7 +691,7 @@ The following arguments are supported:
-stringValueRequired +stringValueRequired string @@ -699,23 +699,23 @@ The following arguments are supported:
-baz +baz - nestedBaz + nestedBaz
-bazPlain +bazPlain - nestedBaz + nestedBaz
-boolValue +boolValue boolean @@ -723,7 +723,7 @@ The following arguments are supported:
-boolValuePlain +boolValuePlain boolean @@ -731,7 +731,7 @@ The following arguments are supported:
-name +name pulumiRandomRandomPet @@ -739,7 +739,7 @@ The following arguments are supported:
-namePlain +namePlain pulumiRandomRandomPet @@ -747,7 +747,7 @@ The following arguments are supported:
-stringValue +stringValue string @@ -755,7 +755,7 @@ The following arguments are supported:
-stringValuePlain +stringValuePlain string @@ -769,15 +769,15 @@ The following arguments are supported:
-baz_required +baz_required - Baz + Baz
-bool_value_required +bool_value_required bool @@ -785,7 +785,7 @@ The following arguments are supported:
-name_required +name_required RandomPet @@ -793,7 +793,7 @@ The following arguments are supported:
-string_value_required +string_value_required str @@ -801,23 +801,23 @@ The following arguments are supported:
-baz +baz - Baz + Baz
-baz_plain +baz_plain - Baz + Baz
-bool_value +bool_value bool @@ -825,7 +825,7 @@ The following arguments are supported:
-bool_value_plain +bool_value_plain bool @@ -833,7 +833,7 @@ The following arguments are supported:
-name +name RandomPet @@ -841,7 +841,7 @@ The following arguments are supported:
-name_plain +name_plain RandomPet @@ -849,7 +849,7 @@ The following arguments are supported:
-string_value +string_value str @@ -857,7 +857,7 @@ The following arguments are supported:
-string_value_plain +string_value_plain str @@ -871,15 +871,15 @@ The following arguments are supported:
-bazRequired +bazRequired - Property Map + Property Map
-boolValueRequired +boolValueRequired Boolean @@ -887,7 +887,7 @@ The following arguments are supported:
-nameRequired +nameRequired random:RandomPet @@ -895,7 +895,7 @@ The following arguments are supported:
-stringValueRequired +stringValueRequired String @@ -903,23 +903,23 @@ The following arguments are supported:
-baz +baz - Property Map + Property Map
-bazPlain +bazPlain - Property Map + Property Map
-boolValue +boolValue Boolean @@ -927,7 +927,7 @@ The following arguments are supported:
-boolValuePlain +boolValuePlain Boolean @@ -935,7 +935,7 @@ The following arguments are supported:
-name +name random:RandomPet @@ -943,7 +943,7 @@ The following arguments are supported:
-namePlain +namePlain random:RandomPet @@ -951,7 +951,7 @@ The following arguments are supported:
-stringValue +stringValue String @@ -959,7 +959,7 @@ The following arguments are supported:
-stringValuePlain +stringValuePlain String @@ -978,7 +978,7 @@ The following arguments are supported:
-SomeValue +SomeValue string @@ -992,7 +992,7 @@ The following arguments are supported:
-SomeValue +SomeValue string @@ -1006,7 +1006,7 @@ The following arguments are supported:
-someValue +someValue String @@ -1020,7 +1020,7 @@ The following arguments are supported:
-someValue +someValue string @@ -1034,7 +1034,7 @@ The following arguments are supported:
-some_value +some_value str @@ -1048,7 +1048,7 @@ The following arguments are supported:
-someValue +someValue String @@ -1153,7 +1153,7 @@ The following arguments are supported:
-BoolValue +BoolValue bool @@ -1167,7 +1167,7 @@ The following arguments are supported:
-BoolValue +BoolValue bool @@ -1181,7 +1181,7 @@ The following arguments are supported:
-boolValue +boolValue Boolean @@ -1195,7 +1195,7 @@ The following arguments are supported:
-boolValue +boolValue boolean @@ -1209,7 +1209,7 @@ The following arguments are supported:
-bool_value +bool_value bool @@ -1223,7 +1223,7 @@ The following arguments are supported:
-boolValue +boolValue Boolean @@ -1242,7 +1242,7 @@ The following arguments are supported:
-Kubeconfig +Kubeconfig string @@ -1256,7 +1256,7 @@ The following arguments are supported:
-Kubeconfig +Kubeconfig string @@ -1270,7 +1270,7 @@ The following arguments are supported:
-kubeconfig +kubeconfig String @@ -1284,7 +1284,7 @@ The following arguments are supported:
-kubeconfig +kubeconfig string @@ -1298,7 +1298,7 @@ The following arguments are supported:
-kubeconfig +kubeconfig str @@ -1312,7 +1312,7 @@ The following arguments are supported:
-kubeconfig +kubeconfig String @@ -1339,7 +1339,7 @@ The following arguments are supported:
-Hello +Hello string @@ -1347,7 +1347,7 @@ The following arguments are supported:
-World +World string @@ -1361,7 +1361,7 @@ The following arguments are supported:
-Hello +Hello string @@ -1369,7 +1369,7 @@ The following arguments are supported:
-World +World string @@ -1383,7 +1383,7 @@ The following arguments are supported:
-hello +hello String @@ -1391,7 +1391,7 @@ The following arguments are supported:
-world +world String @@ -1405,7 +1405,7 @@ The following arguments are supported:
-hello +hello string @@ -1413,7 +1413,7 @@ The following arguments are supported:
-world +world string @@ -1427,7 +1427,7 @@ The following arguments are supported:
-hello +hello str @@ -1435,7 +1435,7 @@ The following arguments are supported:
-world +world str @@ -1449,7 +1449,7 @@ The following arguments are supported:
-hello +hello String @@ -1457,7 +1457,7 @@ The following arguments are supported:
-world +world String diff --git a/pkg/codegen/testing/test/testdata/simple-methods-schema/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/simple-methods-schema/docs/provider/_index.md index 432bfcd884b1..32b1ee1cb169 100644 --- a/pkg/codegen/testing/test/testdata/simple-methods-schema/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-methods-schema/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -34,28 +34,28 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String 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 6324642f85f4..a0689b30c97b 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 @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Component(name: string, args: ComponentArgs, opts?: CustomResourceOptions);
+
new Component(name: string, args: ComponentArgs, opts?: CustomResourceOptions);
@@ -43,28 +43,28 @@ no_edit_this_page: true foo: Optional[FooArgs] = None) @overload def Component(resource_name: str, - args: ComponentArgs, + args: ComponentArgs, opts: Optional[ResourceOptions] = None)
-
func NewComponent(ctx *Context, name string, args ComponentArgs, opts ...ResourceOption) (*Component, error)
+
func NewComponent(ctx *Context, name string, args ComponentArgs, opts ...ResourceOption) (*Component, error)
-
public Component(string name, ComponentArgs args, CustomResourceOptions? opts = null)
+
public Component(string name, ComponentArgs args, CustomResourceOptions? opts = null)
-public Component(String name, ComponentArgs args)
-public Component(String name, ComponentArgs args, CustomResourceOptions options)
+public Component(String name, ComponentArgs args)
+public Component(String name, ComponentArgs args, CustomResourceOptions options)
 
@@ -92,7 +92,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ComponentArgs + ComponentArgs
The arguments to resource properties.
@@ -118,7 +118,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ComponentArgs + ComponentArgs
The arguments to resource properties.
@@ -150,7 +150,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ComponentArgs + ComponentArgs
The arguments to resource properties.
@@ -176,7 +176,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ComponentArgs + ComponentArgs
The arguments to resource properties.
@@ -202,7 +202,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ComponentArgs + ComponentArgs
The arguments to resource properties.
@@ -230,7 +230,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-A +A bool @@ -238,7 +238,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-C +C int @@ -246,7 +246,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-E +E string @@ -254,7 +254,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-B +B bool @@ -262,23 +262,23 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-Bar +Bar - FooArgs + FooArgs
-Baz +Baz - List<FooArgs> + List<FooArgs>
-D +D int @@ -286,7 +286,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-F +F string @@ -294,10 +294,10 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-Foo +Foo - FooArgs + FooArgs
@@ -308,7 +308,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-A +A bool @@ -316,7 +316,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-C +C int @@ -324,7 +324,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-E +E string @@ -332,7 +332,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-B +B bool @@ -340,23 +340,23 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-Bar +Bar - FooArgs + FooArgs
-Baz +Baz - []FooArgs + []FooArgs
-D +D int @@ -364,7 +364,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-F +F string @@ -372,10 +372,10 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-Foo +Foo - FooArgs + FooArgs
@@ -386,7 +386,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-a +a Boolean @@ -394,7 +394,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-c +c Integer @@ -402,7 +402,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-e +e String @@ -410,7 +410,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-b +b Boolean @@ -418,23 +418,23 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-bar +bar - FooArgs + FooArgs
-baz +baz - List<FooArgs> + List<FooArgs>
-d +d Integer @@ -442,7 +442,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-f +f String @@ -450,10 +450,10 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-foo +foo - FooArgs + FooArgs
@@ -464,7 +464,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-a +a boolean @@ -472,7 +472,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-c +c number @@ -480,7 +480,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-e +e string @@ -488,7 +488,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-b +b boolean @@ -496,23 +496,23 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-bar +bar - FooArgs + FooArgs
-baz +baz - FooArgs[] + FooArgs[]
-d +d number @@ -520,7 +520,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-f +f string @@ -528,10 +528,10 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-foo +foo - FooArgs + FooArgs
@@ -542,7 +542,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-a +a bool @@ -550,7 +550,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-c +c int @@ -558,7 +558,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-e +e str @@ -566,7 +566,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-b +b bool @@ -574,23 +574,23 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-bar +bar - FooArgs + FooArgs
-baz +baz - Sequence[FooArgs] + Sequence[FooArgs]
-d +d int @@ -598,7 +598,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-f +f str @@ -606,10 +606,10 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-foo +foo - FooArgs + FooArgs
@@ -620,7 +620,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-a +a Boolean @@ -628,7 +628,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-c +c Number @@ -636,7 +636,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-e +e String @@ -644,7 +644,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-b +b Boolean @@ -652,23 +652,23 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-bar +bar - Property Map + Property Map
-baz +baz - List<Property Map> + List<Property Map>
-d +d Number @@ -676,7 +676,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-f +f String @@ -684,10 +684,10 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-foo +foo - Property Map + Property Map
@@ -753,7 +753,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-A +A bool @@ -761,7 +761,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-C +C int @@ -769,7 +769,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-E +E string @@ -777,7 +777,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-B +B bool @@ -785,7 +785,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-D +D int @@ -793,7 +793,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-F +F string @@ -807,7 +807,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-A +A bool @@ -815,7 +815,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-C +C int @@ -823,7 +823,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-E +E string @@ -831,7 +831,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-B +B bool @@ -839,7 +839,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-D +D int @@ -847,7 +847,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-F +F string @@ -861,7 +861,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-a +a Boolean @@ -869,7 +869,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-c +c Integer @@ -877,7 +877,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-e +e String @@ -885,7 +885,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-b +b Boolean @@ -893,7 +893,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-d +d Integer @@ -901,7 +901,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-f +f String @@ -915,7 +915,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-a +a boolean @@ -923,7 +923,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-c +c number @@ -931,7 +931,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-e +e string @@ -939,7 +939,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-b +b boolean @@ -947,7 +947,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-d +d number @@ -955,7 +955,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-f +f string @@ -969,7 +969,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-a +a bool @@ -977,7 +977,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-c +c int @@ -985,7 +985,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-e +e str @@ -993,7 +993,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-b +b bool @@ -1001,7 +1001,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-d +d int @@ -1009,7 +1009,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-f +f str @@ -1023,7 +1023,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-a +a Boolean @@ -1031,7 +1031,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-c +c Number @@ -1039,7 +1039,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-e +e String @@ -1047,7 +1047,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-b +b Boolean @@ -1055,7 +1055,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-d +d Number @@ -1063,7 +1063,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-f +f String diff --git a/pkg/codegen/testing/test/testdata/simple-plain-schema-with-root-package/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/simple-plain-schema-with-root-package/docs/provider/_index.md index 432bfcd884b1..32b1ee1cb169 100644 --- a/pkg/codegen/testing/test/testdata/simple-plain-schema-with-root-package/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-plain-schema-with-root-package/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -34,28 +34,28 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String 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 e35ca941d36a..823fff99bc53 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 @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Component(name: string, args: ComponentArgs, opts?: CustomResourceOptions);
+
new Component(name: string, args: ComponentArgs, opts?: CustomResourceOptions);
@@ -44,28 +44,28 @@ no_edit_this_page: true foo: Optional[FooArgs] = None) @overload def Component(resource_name: str, - args: ComponentArgs, + args: ComponentArgs, opts: Optional[ResourceOptions] = None)
-
func NewComponent(ctx *Context, name string, args ComponentArgs, opts ...ResourceOption) (*Component, error)
+
func NewComponent(ctx *Context, name string, args ComponentArgs, opts ...ResourceOption) (*Component, error)
-
public Component(string name, ComponentArgs args, CustomResourceOptions? opts = null)
+
public Component(string name, ComponentArgs args, CustomResourceOptions? opts = null)
-public Component(String name, ComponentArgs args)
-public Component(String name, ComponentArgs args, CustomResourceOptions options)
+public Component(String name, ComponentArgs args)
+public Component(String name, ComponentArgs args, CustomResourceOptions options)
 
@@ -93,7 +93,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ComponentArgs + ComponentArgs
The arguments to resource properties.
@@ -119,7 +119,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ComponentArgs + ComponentArgs
The arguments to resource properties.
@@ -151,7 +151,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ComponentArgs + ComponentArgs
The arguments to resource properties.
@@ -177,7 +177,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ComponentArgs + ComponentArgs
The arguments to resource properties.
@@ -203,7 +203,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ComponentArgs + ComponentArgs
The arguments to resource properties.
@@ -231,7 +231,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-A +A bool @@ -239,7 +239,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-C +C int @@ -247,7 +247,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-E +E string @@ -255,7 +255,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-B +B bool @@ -263,23 +263,23 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-Bar +Bar - FooArgs + FooArgs
-Baz +Baz - List<FooArgs> + List<FooArgs>
-BazMap +BazMap Dictionary<string, FooArgs> @@ -287,7 +287,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-D +D int @@ -295,7 +295,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-F +F string @@ -303,10 +303,10 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-Foo +Foo - FooArgs + FooArgs
@@ -317,7 +317,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-A +A bool @@ -325,7 +325,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-C +C int @@ -333,7 +333,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-E +E string @@ -341,7 +341,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-B +B bool @@ -349,23 +349,23 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-Bar +Bar - FooArgs + FooArgs
-Baz +Baz - []FooArgs + []FooArgs
-BazMap +BazMap map[string]FooArgs @@ -373,7 +373,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-D +D int @@ -381,7 +381,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-F +F string @@ -389,10 +389,10 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-Foo +Foo - FooArgs + FooArgs
@@ -403,7 +403,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-a +a Boolean @@ -411,7 +411,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-c +c Integer @@ -419,7 +419,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-e +e String @@ -427,7 +427,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-b +b Boolean @@ -435,23 +435,23 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-bar +bar - FooArgs + FooArgs
-baz +baz - List<FooArgs> + List<FooArgs>
-bazMap +bazMap Map<String,FooArgs> @@ -459,7 +459,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-d +d Integer @@ -467,7 +467,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-f +f String @@ -475,10 +475,10 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-foo +foo - FooArgs + FooArgs
@@ -489,7 +489,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-a +a boolean @@ -497,7 +497,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-c +c number @@ -505,7 +505,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-e +e string @@ -513,7 +513,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-b +b boolean @@ -521,23 +521,23 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-bar +bar - FooArgs + FooArgs
-baz +baz - FooArgs[] + FooArgs[]
-bazMap +bazMap {[key: string]: FooArgs} @@ -545,7 +545,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-d +d number @@ -553,7 +553,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-f +f string @@ -561,10 +561,10 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-foo +foo - FooArgs + FooArgs
@@ -575,7 +575,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-a +a bool @@ -583,7 +583,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-c +c int @@ -591,7 +591,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-e +e str @@ -599,7 +599,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-b +b bool @@ -607,23 +607,23 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-bar +bar - FooArgs + FooArgs
-baz +baz - Sequence[FooArgs] + Sequence[FooArgs]
-baz_map +baz_map Mapping[str, FooArgs] @@ -631,7 +631,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-d +d int @@ -639,7 +639,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-f +f str @@ -647,10 +647,10 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-foo +foo - FooArgs + FooArgs
@@ -661,7 +661,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-a +a Boolean @@ -669,7 +669,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-c +c Number @@ -677,7 +677,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-e +e String @@ -685,7 +685,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-b +b Boolean @@ -693,23 +693,23 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-bar +bar - Property Map + Property Map
-baz +baz - List<Property Map> + List<Property Map>
-bazMap +bazMap Map<Property Map> @@ -717,7 +717,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-d +d Number @@ -725,7 +725,7 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-f +f String @@ -733,10 +733,10 @@ The Component resource accepts the following [input](/docs/intro/concepts/inputs
-foo +foo - Property Map + Property Map
@@ -802,7 +802,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-A +A bool @@ -810,7 +810,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-C +C int @@ -818,7 +818,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-E +E string @@ -826,7 +826,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-B +B bool @@ -834,7 +834,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-D +D int @@ -842,7 +842,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-F +F string @@ -856,7 +856,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-A +A bool @@ -864,7 +864,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-C +C int @@ -872,7 +872,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-E +E string @@ -880,7 +880,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-B +B bool @@ -888,7 +888,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-D +D int @@ -896,7 +896,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-F +F string @@ -910,7 +910,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-a +a Boolean @@ -918,7 +918,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-c +c Integer @@ -926,7 +926,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-e +e String @@ -934,7 +934,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-b +b Boolean @@ -942,7 +942,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-d +d Integer @@ -950,7 +950,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-f +f String @@ -964,7 +964,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-a +a boolean @@ -972,7 +972,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-c +c number @@ -980,7 +980,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-e +e string @@ -988,7 +988,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-b +b boolean @@ -996,7 +996,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-d +d number @@ -1004,7 +1004,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-f +f string @@ -1018,7 +1018,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-a +a bool @@ -1026,7 +1026,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-c +c int @@ -1034,7 +1034,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-e +e str @@ -1042,7 +1042,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-b +b bool @@ -1050,7 +1050,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-d +d int @@ -1058,7 +1058,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-f +f str @@ -1072,7 +1072,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-a +a Boolean @@ -1080,7 +1080,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-c +c Number @@ -1088,7 +1088,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-e +e String @@ -1096,7 +1096,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-b +b Boolean @@ -1104,7 +1104,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-d +d Number @@ -1112,7 +1112,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-f +f String diff --git a/pkg/codegen/testing/test/testdata/simple-plain-schema/docs/dofoo/_index.md b/pkg/codegen/testing/test/testdata/simple-plain-schema/docs/dofoo/_index.md index 41ac88bf0878..2df4cd4b01a1 100644 --- a/pkg/codegen/testing/test/testdata/simple-plain-schema/docs/dofoo/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-plain-schema/docs/dofoo/_index.md @@ -92,10 +92,10 @@ The following arguments are supported:
-Foo +Foo - Foo + Foo
@@ -106,10 +106,10 @@ The following arguments are supported:
-Foo +Foo - Foo + Foo
@@ -120,10 +120,10 @@ The following arguments are supported:
-foo +foo - Foo + Foo
@@ -134,10 +134,10 @@ The following arguments are supported:
-foo +foo - Foo + Foo
@@ -148,10 +148,10 @@ The following arguments are supported:
-foo +foo - Foo + Foo
@@ -162,10 +162,10 @@ The following arguments are supported:
-foo +foo - Property Map + Property Map
@@ -195,7 +195,7 @@ The following output properties are available:
-A +A bool @@ -203,7 +203,7 @@ The following output properties are available:
-C +C int @@ -211,7 +211,7 @@ The following output properties are available:
-E +E string @@ -219,7 +219,7 @@ The following output properties are available:
-B +B bool @@ -227,7 +227,7 @@ The following output properties are available:
-D +D int @@ -235,7 +235,7 @@ The following output properties are available:
-F +F string @@ -249,7 +249,7 @@ The following output properties are available:
-A +A bool @@ -257,7 +257,7 @@ The following output properties are available:
-C +C int @@ -265,7 +265,7 @@ The following output properties are available:
-E +E string @@ -273,7 +273,7 @@ The following output properties are available:
-B +B bool @@ -281,7 +281,7 @@ The following output properties are available:
-D +D int @@ -289,7 +289,7 @@ The following output properties are available:
-F +F string @@ -303,7 +303,7 @@ The following output properties are available:
-a +a Boolean @@ -311,7 +311,7 @@ The following output properties are available:
-c +c Integer @@ -319,7 +319,7 @@ The following output properties are available:
-e +e String @@ -327,7 +327,7 @@ The following output properties are available:
-b +b Boolean @@ -335,7 +335,7 @@ The following output properties are available:
-d +d Integer @@ -343,7 +343,7 @@ The following output properties are available:
-f +f String @@ -357,7 +357,7 @@ The following output properties are available:
-a +a boolean @@ -365,7 +365,7 @@ The following output properties are available:
-c +c number @@ -373,7 +373,7 @@ The following output properties are available:
-e +e string @@ -381,7 +381,7 @@ The following output properties are available:
-b +b boolean @@ -389,7 +389,7 @@ The following output properties are available:
-d +d number @@ -397,7 +397,7 @@ The following output properties are available:
-f +f string @@ -411,7 +411,7 @@ The following output properties are available:
-a +a bool @@ -419,7 +419,7 @@ The following output properties are available:
-c +c int @@ -427,7 +427,7 @@ The following output properties are available:
-e +e str @@ -435,7 +435,7 @@ The following output properties are available:
-b +b bool @@ -443,7 +443,7 @@ The following output properties are available:
-d +d int @@ -451,7 +451,7 @@ The following output properties are available:
-f +f str @@ -465,7 +465,7 @@ The following output properties are available:
-a +a Boolean @@ -473,7 +473,7 @@ The following output properties are available:
-c +c Number @@ -481,7 +481,7 @@ The following output properties are available:
-e +e String @@ -489,7 +489,7 @@ The following output properties are available:
-b +b Boolean @@ -497,7 +497,7 @@ The following output properties are available:
-d +d Number @@ -505,7 +505,7 @@ The following output properties are available:
-f +f String diff --git a/pkg/codegen/testing/test/testdata/simple-plain-schema/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/simple-plain-schema/docs/provider/_index.md index 432bfcd884b1..32b1ee1cb169 100644 --- a/pkg/codegen/testing/test/testdata/simple-plain-schema/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-plain-schema/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -34,28 +34,28 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/docs/argfunction/_index.md b/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/docs/argfunction/_index.md index 6c0b4d68cb6d..2217c4428573 100644 --- a/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/docs/argfunction/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/docs/argfunction/_index.md @@ -105,7 +105,7 @@ The following arguments are supported:
-Arg1 +Arg1 Pulumi.Example.Resource @@ -119,7 +119,7 @@ The following arguments are supported:
-Arg1 +Arg1 Resource @@ -133,7 +133,7 @@ The following arguments are supported:
-arg1 +arg1 Resource @@ -147,7 +147,7 @@ The following arguments are supported:
-arg1 +arg1 Resource @@ -161,7 +161,7 @@ The following arguments are supported:
-arg1 +arg1 Resource @@ -175,7 +175,7 @@ The following arguments are supported:
-arg1 +arg1 example:Resource @@ -198,7 +198,7 @@ The following output properties are available:
-Result +Result Pulumi.Example.Resource @@ -212,7 +212,7 @@ The following output properties are available:
-Result +Result Resource @@ -226,7 +226,7 @@ The following output properties are available:
-result +result Resource @@ -240,7 +240,7 @@ The following output properties are available:
-result +result Resource @@ -254,7 +254,7 @@ The following output properties are available:
-result +result Resource @@ -268,7 +268,7 @@ The following output properties are available:
-result +result example: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 86420f62befa..7b6bb1fe8b54 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 @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new OtherResource(name: string, args?: OtherResourceArgs, opts?: CustomResourceOptions);
+
new OtherResource(name: string, args?: OtherResourceArgs, opts?: CustomResourceOptions);
@@ -35,28 +35,28 @@ no_edit_this_page: true foo: Optional[Resource] = None) @overload def OtherResource(resource_name: str, - args: Optional[OtherResourceArgs] = None, + args: Optional[OtherResourceArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewOtherResource(ctx *Context, name string, args *OtherResourceArgs, opts ...ResourceOption) (*OtherResource, error)
+
func NewOtherResource(ctx *Context, name string, args *OtherResourceArgs, opts ...ResourceOption) (*OtherResource, error)
-
public OtherResource(string name, OtherResourceArgs? args = null, CustomResourceOptions? opts = null)
+
public OtherResource(string name, OtherResourceArgs? args = null, CustomResourceOptions? opts = null)
-public OtherResource(String name, OtherResourceArgs args)
-public OtherResource(String name, OtherResourceArgs args, CustomResourceOptions options)
+public OtherResource(String name, OtherResourceArgs args)
+public OtherResource(String name, OtherResourceArgs args, CustomResourceOptions options)
 
@@ -84,7 +84,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - OtherResourceArgs + OtherResourceArgs
The arguments to resource properties.
@@ -110,7 +110,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - OtherResourceArgs + OtherResourceArgs
The arguments to resource properties.
@@ -142,7 +142,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - OtherResourceArgs + OtherResourceArgs
The arguments to resource properties.
@@ -168,7 +168,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - OtherResourceArgs + OtherResourceArgs
The arguments to resource properties.
@@ -194,7 +194,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - OtherResourceArgs + OtherResourceArgs
The arguments to resource properties.
@@ -222,7 +222,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-Foo +Foo Pulumi.Example.Resource @@ -236,7 +236,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-Foo +Foo Resource @@ -250,7 +250,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-foo +foo Resource @@ -264,7 +264,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-foo +foo Resource @@ -278,7 +278,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-foo +foo Resource @@ -292,7 +292,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-foo +foo example:Resource diff --git a/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/docs/provider/_index.md index 432bfcd884b1..32b1ee1cb169 100644 --- a/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -34,28 +34,28 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/docs/resource/_index.md b/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/docs/resource/_index.md index db67dccdc5a6..0816a84a19a0 100644 --- a/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/docs/resource/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/docs/resource/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Resource(name: string, args?: ResourceArgs, opts?: CustomResourceOptions);
+
new Resource(name: string, args?: ResourceArgs, opts?: CustomResourceOptions);
@@ -35,28 +35,28 @@ no_edit_this_page: true bar: Optional[str] = None) @overload def Resource(resource_name: str, - args: Optional[ResourceArgs] = None, + args: Optional[ResourceArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewResource(ctx *Context, name string, args *ResourceArgs, opts ...ResourceOption) (*Resource, error)
+
func NewResource(ctx *Context, name string, args *ResourceArgs, opts ...ResourceOption) (*Resource, error)
-
public Resource(string name, ResourceArgs? args = null, CustomResourceOptions? opts = null)
+
public Resource(string name, ResourceArgs? args = null, CustomResourceOptions? opts = null)
-public Resource(String name, ResourceArgs args)
-public Resource(String name, ResourceArgs args, CustomResourceOptions options)
+public Resource(String name, ResourceArgs args)
+public Resource(String name, ResourceArgs args, CustomResourceOptions options)
 
@@ -84,7 +84,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -110,7 +110,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -142,7 +142,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -168,7 +168,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -194,7 +194,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -222,7 +222,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-Bar +Bar string @@ -236,7 +236,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-Bar +Bar string @@ -250,7 +250,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar String @@ -264,7 +264,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar string @@ -278,7 +278,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar str @@ -292,7 +292,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar String @@ -313,7 +313,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -328,7 +328,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -343,7 +343,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -358,7 +358,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -373,7 +373,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -388,7 +388,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/argfunction/_index.md b/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/argfunction/_index.md index 6c0b4d68cb6d..2217c4428573 100644 --- a/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/argfunction/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/argfunction/_index.md @@ -105,7 +105,7 @@ The following arguments are supported:
-Arg1 +Arg1 Pulumi.Example.Resource @@ -119,7 +119,7 @@ The following arguments are supported:
-Arg1 +Arg1 Resource @@ -133,7 +133,7 @@ The following arguments are supported:
-arg1 +arg1 Resource @@ -147,7 +147,7 @@ The following arguments are supported:
-arg1 +arg1 Resource @@ -161,7 +161,7 @@ The following arguments are supported:
-arg1 +arg1 Resource @@ -175,7 +175,7 @@ The following arguments are supported:
-arg1 +arg1 example:Resource @@ -198,7 +198,7 @@ The following output properties are available:
-Result +Result Pulumi.Example.Resource @@ -212,7 +212,7 @@ The following output properties are available:
-Result +Result Resource @@ -226,7 +226,7 @@ The following output properties are available:
-result +result Resource @@ -240,7 +240,7 @@ The following output properties are available:
-result +result Resource @@ -254,7 +254,7 @@ The following output properties are available:
-result +result Resource @@ -268,7 +268,7 @@ The following output properties are available:
-result +result example: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 c1eab71de33e..e62de3bd8fff 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 @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new BarResource(name: string, args?: BarResourceArgs, opts?: CustomResourceOptions);
+
new BarResource(name: string, args?: BarResourceArgs, opts?: CustomResourceOptions);
@@ -35,28 +35,28 @@ no_edit_this_page: true foo: Optional[Resource] = None) @overload def BarResource(resource_name: str, - args: Optional[BarResourceArgs] = None, + args: Optional[BarResourceArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewBarResource(ctx *Context, name string, args *BarResourceArgs, opts ...ResourceOption) (*BarResource, error)
+
func NewBarResource(ctx *Context, name string, args *BarResourceArgs, opts ...ResourceOption) (*BarResource, error)
-
public BarResource(string name, BarResourceArgs? args = null, CustomResourceOptions? opts = null)
+
public BarResource(string name, BarResourceArgs? args = null, CustomResourceOptions? opts = null)
-public BarResource(String name, BarResourceArgs args)
-public BarResource(String name, BarResourceArgs args, CustomResourceOptions options)
+public BarResource(String name, BarResourceArgs args)
+public BarResource(String name, BarResourceArgs args, CustomResourceOptions options)
 
@@ -84,7 +84,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - BarResourceArgs + BarResourceArgs
The arguments to resource properties.
@@ -110,7 +110,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - BarResourceArgs + BarResourceArgs
The arguments to resource properties.
@@ -142,7 +142,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - BarResourceArgs + BarResourceArgs
The arguments to resource properties.
@@ -168,7 +168,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - BarResourceArgs + BarResourceArgs
The arguments to resource properties.
@@ -194,7 +194,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - BarResourceArgs + BarResourceArgs
The arguments to resource properties.
@@ -222,7 +222,7 @@ The BarResource resource accepts the following [input](/docs/intro/concepts/inpu
-Foo +Foo Pulumi.Example.Resource @@ -236,7 +236,7 @@ The BarResource resource accepts the following [input](/docs/intro/concepts/inpu
-Foo +Foo Resource @@ -250,7 +250,7 @@ The BarResource resource accepts the following [input](/docs/intro/concepts/inpu
-foo +foo Resource @@ -264,7 +264,7 @@ The BarResource resource accepts the following [input](/docs/intro/concepts/inpu
-foo +foo Resource @@ -278,7 +278,7 @@ The BarResource resource accepts the following [input](/docs/intro/concepts/inpu
-foo +foo Resource @@ -292,7 +292,7 @@ The BarResource resource accepts the following [input](/docs/intro/concepts/inpu
-foo +foo example: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 56efc3664130..37b03b43dbd2 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 @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new FooResource(name: string, args?: FooResourceArgs, opts?: CustomResourceOptions);
+
new FooResource(name: string, args?: FooResourceArgs, opts?: CustomResourceOptions);
@@ -35,28 +35,28 @@ no_edit_this_page: true foo: Optional[Resource] = None) @overload def FooResource(resource_name: str, - args: Optional[FooResourceArgs] = None, + args: Optional[FooResourceArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewFooResource(ctx *Context, name string, args *FooResourceArgs, opts ...ResourceOption) (*FooResource, error)
+
func NewFooResource(ctx *Context, name string, args *FooResourceArgs, opts ...ResourceOption) (*FooResource, error)
-
public FooResource(string name, FooResourceArgs? args = null, CustomResourceOptions? opts = null)
+
public FooResource(string name, FooResourceArgs? args = null, CustomResourceOptions? opts = null)
-public FooResource(String name, FooResourceArgs args)
-public FooResource(String name, FooResourceArgs args, CustomResourceOptions options)
+public FooResource(String name, FooResourceArgs args)
+public FooResource(String name, FooResourceArgs args, CustomResourceOptions options)
 
@@ -84,7 +84,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - FooResourceArgs + FooResourceArgs
The arguments to resource properties.
@@ -110,7 +110,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - FooResourceArgs + FooResourceArgs
The arguments to resource properties.
@@ -142,7 +142,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - FooResourceArgs + FooResourceArgs
The arguments to resource properties.
@@ -168,7 +168,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - FooResourceArgs + FooResourceArgs
The arguments to resource properties.
@@ -194,7 +194,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - FooResourceArgs + FooResourceArgs
The arguments to resource properties.
@@ -222,7 +222,7 @@ The FooResource resource accepts the following [input](/docs/intro/concepts/inpu
-Foo +Foo Pulumi.Example.Resource @@ -236,7 +236,7 @@ The FooResource resource accepts the following [input](/docs/intro/concepts/inpu
-Foo +Foo Resource @@ -250,7 +250,7 @@ The FooResource resource accepts the following [input](/docs/intro/concepts/inpu
-foo +foo Resource @@ -264,7 +264,7 @@ The FooResource resource accepts the following [input](/docs/intro/concepts/inpu
-foo +foo Resource @@ -278,7 +278,7 @@ The FooResource resource accepts the following [input](/docs/intro/concepts/inpu
-foo +foo Resource @@ -292,7 +292,7 @@ The FooResource resource accepts the following [input](/docs/intro/concepts/inpu
-foo +foo example: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 86420f62befa..7b6bb1fe8b54 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 @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new OtherResource(name: string, args?: OtherResourceArgs, opts?: CustomResourceOptions);
+
new OtherResource(name: string, args?: OtherResourceArgs, opts?: CustomResourceOptions);
@@ -35,28 +35,28 @@ no_edit_this_page: true foo: Optional[Resource] = None) @overload def OtherResource(resource_name: str, - args: Optional[OtherResourceArgs] = None, + args: Optional[OtherResourceArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewOtherResource(ctx *Context, name string, args *OtherResourceArgs, opts ...ResourceOption) (*OtherResource, error)
+
func NewOtherResource(ctx *Context, name string, args *OtherResourceArgs, opts ...ResourceOption) (*OtherResource, error)
-
public OtherResource(string name, OtherResourceArgs? args = null, CustomResourceOptions? opts = null)
+
public OtherResource(string name, OtherResourceArgs? args = null, CustomResourceOptions? opts = null)
-public OtherResource(String name, OtherResourceArgs args)
-public OtherResource(String name, OtherResourceArgs args, CustomResourceOptions options)
+public OtherResource(String name, OtherResourceArgs args)
+public OtherResource(String name, OtherResourceArgs args, CustomResourceOptions options)
 
@@ -84,7 +84,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - OtherResourceArgs + OtherResourceArgs
The arguments to resource properties.
@@ -110,7 +110,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - OtherResourceArgs + OtherResourceArgs
The arguments to resource properties.
@@ -142,7 +142,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - OtherResourceArgs + OtherResourceArgs
The arguments to resource properties.
@@ -168,7 +168,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - OtherResourceArgs + OtherResourceArgs
The arguments to resource properties.
@@ -194,7 +194,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - OtherResourceArgs + OtherResourceArgs
The arguments to resource properties.
@@ -222,7 +222,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-Foo +Foo Pulumi.Example.Resource @@ -236,7 +236,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-Foo +Foo Resource @@ -250,7 +250,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-foo +foo Resource @@ -264,7 +264,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-foo +foo Resource @@ -278,7 +278,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-foo +foo Resource @@ -292,7 +292,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-foo +foo example:Resource diff --git a/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/overlayfunction/_index.md b/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/overlayfunction/_index.md index 7a2f06f64ac8..b7040a8e2289 100644 --- a/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/overlayfunction/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/overlayfunction/_index.md @@ -105,7 +105,7 @@ The following arguments are supported:
-Arg1 +Arg1 Pulumi.Example.Resource @@ -119,7 +119,7 @@ The following arguments are supported:
-Arg1 +Arg1 Resource @@ -133,7 +133,7 @@ The following arguments are supported:
-arg1 +arg1 Resource @@ -147,7 +147,7 @@ The following arguments are supported:
-arg1 +arg1 Resource @@ -161,7 +161,7 @@ The following arguments are supported:
-arg1 +arg1 Resource @@ -175,7 +175,7 @@ The following arguments are supported:
-arg1 +arg1 example:Resource @@ -198,7 +198,7 @@ The following output properties are available:
-Result +Result Pulumi.Example.Resource @@ -212,7 +212,7 @@ The following output properties are available:
-Result +Result Resource @@ -226,7 +226,7 @@ The following output properties are available:
-result +result Resource @@ -240,7 +240,7 @@ The following output properties are available:
-result +result Resource @@ -254,7 +254,7 @@ The following output properties are available:
-result +result Resource @@ -268,7 +268,7 @@ The following output properties are available:
-result +result example:Resource diff --git a/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/overlayresource/_index.md b/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/overlayresource/_index.md index de1362e73ae3..88a344c05057 100644 --- a/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/overlayresource/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/overlayresource/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new OverlayResource(name: string, args?: OverlayResourceArgs, opts?: CustomResourceOptions);
+
new OverlayResource(name: string, args?: OverlayResourceArgs, opts?: CustomResourceOptions);
@@ -36,28 +36,28 @@ no_edit_this_page: true foo: Optional[ConfigMapOverlayArgs] = None) @overload def OverlayResource(resource_name: str, - args: Optional[OverlayResourceArgs] = None, + args: Optional[OverlayResourceArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewOverlayResource(ctx *Context, name string, args *OverlayResourceArgs, opts ...ResourceOption) (*OverlayResource, error)
+
func NewOverlayResource(ctx *Context, name string, args *OverlayResourceArgs, opts ...ResourceOption) (*OverlayResource, error)
-
public OverlayResource(string name, OverlayResourceArgs? args = null, CustomResourceOptions? opts = null)
+
public OverlayResource(string name, OverlayResourceArgs? args = null, CustomResourceOptions? opts = null)
-public OverlayResource(String name, OverlayResourceArgs args)
-public OverlayResource(String name, OverlayResourceArgs args, CustomResourceOptions options)
+public OverlayResource(String name, OverlayResourceArgs args)
+public OverlayResource(String name, OverlayResourceArgs args, CustomResourceOptions options)
 
@@ -85,7 +85,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - OverlayResourceArgs + OverlayResourceArgs
The arguments to resource properties.
@@ -111,7 +111,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - OverlayResourceArgs + OverlayResourceArgs
The arguments to resource properties.
@@ -143,7 +143,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - OverlayResourceArgs + OverlayResourceArgs
The arguments to resource properties.
@@ -169,7 +169,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - OverlayResourceArgs + OverlayResourceArgs
The arguments to resource properties.
@@ -195,7 +195,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - OverlayResourceArgs + OverlayResourceArgs
The arguments to resource properties.
@@ -223,18 +223,18 @@ The OverlayResource resource accepts the following [input](/docs/intro/concepts/
-Bar +Bar - Pulumi.Example.EnumOverlay + Pulumi.Example.EnumOverlay
-Foo +Foo - ConfigMapOverlayArgs + ConfigMapOverlayArgs
@@ -245,18 +245,18 @@ The OverlayResource resource accepts the following [input](/docs/intro/concepts/
-Bar +Bar - EnumOverlay + EnumOverlay
-Foo +Foo - ConfigMapOverlayArgs + ConfigMapOverlayArgs
@@ -267,18 +267,18 @@ The OverlayResource resource accepts the following [input](/docs/intro/concepts/
-bar +bar - EnumOverlay + EnumOverlay
-foo +foo - ConfigMapOverlayArgs + ConfigMapOverlayArgs
@@ -289,18 +289,18 @@ The OverlayResource resource accepts the following [input](/docs/intro/concepts/
-bar +bar - EnumOverlay + EnumOverlay
-foo +foo - ConfigMapOverlayArgs + ConfigMapOverlayArgs
@@ -311,18 +311,18 @@ The OverlayResource resource accepts the following [input](/docs/intro/concepts/
-bar +bar - EnumOverlay + EnumOverlay
-foo +foo - ConfigMapOverlayArgs + ConfigMapOverlayArgs
@@ -333,18 +333,18 @@ The OverlayResource resource accepts the following [input](/docs/intro/concepts/
-bar +bar - "SOME_ENUM_VALUE" + "SOME_ENUM_VALUE"
-foo +foo - Property Map + Property Map
@@ -362,7 +362,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -377,7 +377,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -392,7 +392,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -407,7 +407,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -422,7 +422,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -437,7 +437,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -464,7 +464,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Config +Config string @@ -478,7 +478,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Config +Config string @@ -492,7 +492,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-config +config String @@ -506,7 +506,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-config +config string @@ -520,7 +520,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-config +config str @@ -534,7 +534,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-config +config String diff --git a/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/provider/_index.md index 432bfcd884b1..32b1ee1cb169 100644 --- a/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -34,28 +34,28 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/resource/_index.md b/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/resource/_index.md index 8e5508963bba..f296f39d5826 100644 --- a/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/resource/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/resource/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Resource(name: string, args?: ResourceArgs, opts?: CustomResourceOptions);
+
new Resource(name: string, args?: ResourceArgs, opts?: CustomResourceOptions);
@@ -35,28 +35,28 @@ no_edit_this_page: true bar: Optional[str] = None) @overload def Resource(resource_name: str, - args: Optional[ResourceArgs] = None, + args: Optional[ResourceArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewResource(ctx *Context, name string, args *ResourceArgs, opts ...ResourceOption) (*Resource, error)
+
func NewResource(ctx *Context, name string, args *ResourceArgs, opts ...ResourceOption) (*Resource, error)
-
public Resource(string name, ResourceArgs? args = null, CustomResourceOptions? opts = null)
+
public Resource(string name, ResourceArgs? args = null, CustomResourceOptions? opts = null)
-public Resource(String name, ResourceArgs args)
-public Resource(String name, ResourceArgs args, CustomResourceOptions options)
+public Resource(String name, ResourceArgs args)
+public Resource(String name, ResourceArgs args, CustomResourceOptions options)
 
@@ -84,7 +84,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -110,7 +110,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -142,7 +142,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -168,7 +168,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -194,7 +194,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -222,7 +222,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-Bar +Bar string @@ -236,7 +236,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-Bar +Bar string @@ -250,7 +250,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar String @@ -264,7 +264,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar string @@ -278,7 +278,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar str @@ -292,7 +292,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar String @@ -313,7 +313,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -322,7 +322,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Baz +Baz string @@ -336,7 +336,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -345,7 +345,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Baz +Baz string @@ -359,7 +359,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -368,7 +368,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-baz +baz String @@ -382,7 +382,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -391,7 +391,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-baz +baz string @@ -405,7 +405,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -414,7 +414,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-baz +baz str @@ -428,7 +428,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -437,7 +437,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-baz +baz String diff --git a/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/typeuses/_index.md b/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/typeuses/_index.md index e70b56d417aa..602e51b6e6e1 100644 --- a/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/typeuses/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/typeuses/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new TypeUses(name: string, args?: TypeUsesArgs, opts?: CustomResourceOptions);
+
new TypeUses(name: string, args?: TypeUsesArgs, opts?: CustomResourceOptions);
@@ -37,28 +37,28 @@ no_edit_this_page: true foo: Optional[ObjectArgs] = None) @overload def TypeUses(resource_name: str, - args: Optional[TypeUsesArgs] = None, + args: Optional[TypeUsesArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewTypeUses(ctx *Context, name string, args *TypeUsesArgs, opts ...ResourceOption) (*TypeUses, error)
+
func NewTypeUses(ctx *Context, name string, args *TypeUsesArgs, opts ...ResourceOption) (*TypeUses, error)
-
public TypeUses(string name, TypeUsesArgs? args = null, CustomResourceOptions? opts = null)
+
public TypeUses(string name, TypeUsesArgs? args = null, CustomResourceOptions? opts = null)
-public TypeUses(String name, TypeUsesArgs args)
-public TypeUses(String name, TypeUsesArgs args, CustomResourceOptions options)
+public TypeUses(String name, TypeUsesArgs args)
+public TypeUses(String name, TypeUsesArgs args, CustomResourceOptions options)
 
@@ -86,7 +86,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - TypeUsesArgs + TypeUsesArgs
The arguments to resource properties.
@@ -112,7 +112,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - TypeUsesArgs + TypeUsesArgs
The arguments to resource properties.
@@ -144,7 +144,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - TypeUsesArgs + TypeUsesArgs
The arguments to resource properties.
@@ -170,7 +170,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - TypeUsesArgs + TypeUsesArgs
The arguments to resource properties.
@@ -196,7 +196,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - TypeUsesArgs + TypeUsesArgs
The arguments to resource properties.
@@ -224,26 +224,26 @@ The TypeUses resource accepts the following [input](/docs/intro/concepts/inputs-
-Bar +Bar - SomeOtherObjectArgs + SomeOtherObjectArgs
-Baz +Baz - ObjectWithNodeOptionalInputsArgs + ObjectWithNodeOptionalInputsArgs
-Foo +Foo - ObjectArgs + ObjectArgs
@@ -254,26 +254,26 @@ The TypeUses resource accepts the following [input](/docs/intro/concepts/inputs-
-Bar +Bar - SomeOtherObjectArgs + SomeOtherObjectArgs
-Baz +Baz - ObjectWithNodeOptionalInputsArgs + ObjectWithNodeOptionalInputsArgs
-Foo +Foo - ObjectArgs + ObjectArgs
@@ -284,26 +284,26 @@ The TypeUses resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar - SomeOtherObjectArgs + SomeOtherObjectArgs
-baz +baz - ObjectWithNodeOptionalInputsArgs + ObjectWithNodeOptionalInputsArgs
-foo +foo - ObjectArgs + ObjectArgs
@@ -314,26 +314,26 @@ The TypeUses resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar - SomeOtherObjectArgs + SomeOtherObjectArgs
-baz +baz - ObjectWithNodeOptionalInputsArgs + ObjectWithNodeOptionalInputsArgs
-foo +foo - ObjectArgs + ObjectArgs
@@ -344,26 +344,26 @@ The TypeUses resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar - SomeOtherObjectArgs + SomeOtherObjectArgs
-baz +baz - ObjectWithNodeOptionalInputsArgs + ObjectWithNodeOptionalInputsArgs
-foo +foo - ObjectArgs + ObjectArgs
@@ -374,26 +374,26 @@ The TypeUses resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar - Property Map + Property Map
-baz +baz - Property Map + Property Map
-foo +foo - Property Map + Property Map
@@ -411,7 +411,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -426,7 +426,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -441,7 +441,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -456,7 +456,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -471,7 +471,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -486,7 +486,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -513,7 +513,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Config +Config string @@ -527,7 +527,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Config +Config string @@ -541,7 +541,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-config +config String @@ -555,7 +555,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-config +config string @@ -569,7 +569,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-config +config str @@ -583,7 +583,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-config +config String @@ -599,7 +599,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Bar +Bar string @@ -607,15 +607,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Configs +Configs - List<ConfigMap> + List<ConfigMap>
-Foo +Foo Pulumi.Example.Resource @@ -623,16 +623,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Others +Others - List<ImmutableArray<SomeOtherObject>> + List<ImmutableArray<SomeOtherObject>>

List of lists of other objects

-StillOthers +StillOthers Dictionary<string, ImmutableArray<SomeOtherObject>> @@ -647,7 +647,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Bar +Bar string @@ -655,15 +655,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Configs +Configs - []ConfigMap + []ConfigMap
-Foo +Foo Resource @@ -671,16 +671,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Others +Others - [][]SomeOtherObject + [][]SomeOtherObject

List of lists of other objects

-StillOthers +StillOthers map[string][]SomeOtherObject @@ -695,7 +695,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar String @@ -703,15 +703,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-configs +configs - List<ConfigMap> + List<ConfigMap>
-foo +foo Resource @@ -719,16 +719,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-others +others - List<List<SomeOtherObject>> + List<List<SomeOtherObject>>

List of lists of other objects

-stillOthers +stillOthers Map<String,List<SomeOtherObject>> @@ -743,7 +743,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar string @@ -751,15 +751,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-configs +configs - ConfigMap[] + ConfigMap[]
-foo +foo Resource @@ -767,16 +767,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-others +others - SomeOtherObject[][] + SomeOtherObject[][]

List of lists of other objects

-stillOthers +stillOthers {[key: string]: SomeOtherObject[]} @@ -791,7 +791,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar str @@ -799,15 +799,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-configs +configs - Sequence[ConfigMap] + Sequence[ConfigMap]
-foo +foo Resource @@ -815,16 +815,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-others +others - Sequence[Sequence[SomeOtherObject]] + Sequence[Sequence[SomeOtherObject]]

List of lists of other objects

-still_others +still_others Mapping[str, Sequence[SomeOtherObject]] @@ -839,7 +839,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar String @@ -847,15 +847,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-configs +configs - List<Property Map> + List<Property Map>
-foo +foo example:Resource @@ -863,16 +863,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-others +others - List<List<Property Map>> + List<List<Property Map>>

List of lists of other objects

-stillOthers +stillOthers Map<List<Property Map>> @@ -889,7 +889,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Foo +Foo string @@ -897,7 +897,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Bar +Bar int @@ -911,7 +911,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Foo +Foo string @@ -919,7 +919,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Bar +Bar int @@ -933,7 +933,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-foo +foo String @@ -941,7 +941,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar Integer @@ -955,7 +955,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-foo +foo string @@ -963,7 +963,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar number @@ -977,7 +977,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-foo +foo str @@ -985,7 +985,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar int @@ -999,7 +999,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-foo +foo String @@ -1007,7 +1007,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar Number @@ -1023,7 +1023,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Baz +Baz string @@ -1037,7 +1037,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Baz +Baz string @@ -1051,7 +1051,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-baz +baz String @@ -1065,7 +1065,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-baz +baz string @@ -1079,7 +1079,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-baz +baz str @@ -1093,7 +1093,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-baz +baz String diff --git a/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/argfunction/_index.md b/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/argfunction/_index.md index bcab87ef65cd..d381399700e0 100644 --- a/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/argfunction/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/argfunction/_index.md @@ -103,7 +103,7 @@ The following arguments are supported:
-Arg1 +Arg1 Pulumi.Example.Resource @@ -117,7 +117,7 @@ The following arguments are supported:
-Arg1 +Arg1 Resource @@ -131,7 +131,7 @@ The following arguments are supported:
-arg1 +arg1 Resource @@ -145,7 +145,7 @@ The following arguments are supported:
-arg1 +arg1 Resource @@ -159,7 +159,7 @@ The following arguments are supported:
-arg1 +arg1 Resource @@ -173,7 +173,7 @@ The following arguments are supported:
-arg1 +arg1 example:Resource @@ -196,7 +196,7 @@ The following output properties are available:
-Result +Result Pulumi.Example.Resource @@ -210,7 +210,7 @@ The following output properties are available:
-Result +Result Resource @@ -224,7 +224,7 @@ The following output properties are available:
-result +result Resource @@ -238,7 +238,7 @@ The following output properties are available:
-result +result Resource @@ -252,7 +252,7 @@ The following output properties are available:
-result +result Resource @@ -266,7 +266,7 @@ The following output properties are available:
-result +result example: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 57daa1528a92..a92556289d66 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 @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new OtherResource(name: string, args?: OtherResourceArgs, opts?: CustomResourceOptions);
+
new OtherResource(name: string, args?: OtherResourceArgs, opts?: CustomResourceOptions);
@@ -36,28 +36,28 @@ no_edit_this_page: true foo: Optional[Resource] = None) @overload def OtherResource(resource_name: str, - args: Optional[OtherResourceArgs] = None, + args: Optional[OtherResourceArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewOtherResource(ctx *Context, name string, args *OtherResourceArgs, opts ...ResourceOption) (*OtherResource, error)
+
func NewOtherResource(ctx *Context, name string, args *OtherResourceArgs, opts ...ResourceOption) (*OtherResource, error)
-
public OtherResource(string name, OtherResourceArgs? args = null, CustomResourceOptions? opts = null)
+
public OtherResource(string name, OtherResourceArgs? args = null, CustomResourceOptions? opts = null)
-public OtherResource(String name, OtherResourceArgs args)
-public OtherResource(String name, OtherResourceArgs args, CustomResourceOptions options)
+public OtherResource(String name, OtherResourceArgs args)
+public OtherResource(String name, OtherResourceArgs args, CustomResourceOptions options)
 
@@ -85,7 +85,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - OtherResourceArgs + OtherResourceArgs
The arguments to resource properties.
@@ -111,7 +111,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - OtherResourceArgs + OtherResourceArgs
The arguments to resource properties.
@@ -143,7 +143,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - OtherResourceArgs + OtherResourceArgs
The arguments to resource properties.
@@ -169,7 +169,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - OtherResourceArgs + OtherResourceArgs
The arguments to resource properties.
@@ -195,7 +195,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - OtherResourceArgs + OtherResourceArgs
The arguments to resource properties.
@@ -223,7 +223,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-Bar +Bar List<string> @@ -231,7 +231,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-Foo +Foo Pulumi.Example.Resource @@ -245,7 +245,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-Bar +Bar []string @@ -253,7 +253,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-Foo +Foo Resource @@ -267,7 +267,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-bar +bar List<String> @@ -275,7 +275,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-foo +foo Resource @@ -289,7 +289,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-bar +bar string[] @@ -297,7 +297,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-foo +foo Resource @@ -311,7 +311,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-bar +bar Sequence[str] @@ -319,7 +319,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-foo +foo Resource @@ -333,7 +333,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-bar +bar List<String> @@ -341,7 +341,7 @@ The OtherResource resource accepts the following [input](/docs/intro/concepts/in
-foo +foo example:Resource diff --git a/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/provider/_index.md index 432bfcd884b1..32b1ee1cb169 100644 --- a/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/provider/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
+
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);
@@ -34,28 +34,28 @@ no_edit_this_page: true opts: Optional[ResourceOptions] = None) @overload def Provider(resource_name: str, - args: Optional[ProviderArgs] = None, + args: Optional[ProviderArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
+
func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)
-
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
+
public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
-public Provider(String name, ProviderArgs args)
-public Provider(String name, ProviderArgs args, CustomResourceOptions options)
+public Provider(String name, ProviderArgs args)
+public Provider(String name, ProviderArgs args, CustomResourceOptions options)
 
@@ -83,7 +83,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -109,7 +109,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -141,7 +141,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -167,7 +167,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -193,7 +193,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ProviderArgs + ProviderArgs
The arguments to resource properties.
@@ -264,7 +264,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -279,7 +279,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -294,7 +294,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -309,7 +309,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -324,7 +324,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -339,7 +339,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/resource/_index.md b/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/resource/_index.md index db67dccdc5a6..0816a84a19a0 100644 --- a/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/resource/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/resource/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new Resource(name: string, args?: ResourceArgs, opts?: CustomResourceOptions);
+
new Resource(name: string, args?: ResourceArgs, opts?: CustomResourceOptions);
@@ -35,28 +35,28 @@ no_edit_this_page: true bar: Optional[str] = None) @overload def Resource(resource_name: str, - args: Optional[ResourceArgs] = None, + args: Optional[ResourceArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewResource(ctx *Context, name string, args *ResourceArgs, opts ...ResourceOption) (*Resource, error)
+
func NewResource(ctx *Context, name string, args *ResourceArgs, opts ...ResourceOption) (*Resource, error)
-
public Resource(string name, ResourceArgs? args = null, CustomResourceOptions? opts = null)
+
public Resource(string name, ResourceArgs? args = null, CustomResourceOptions? opts = null)
-public Resource(String name, ResourceArgs args)
-public Resource(String name, ResourceArgs args, CustomResourceOptions options)
+public Resource(String name, ResourceArgs args)
+public Resource(String name, ResourceArgs args, CustomResourceOptions options)
 
@@ -84,7 +84,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -110,7 +110,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -142,7 +142,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -168,7 +168,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -194,7 +194,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - ResourceArgs + ResourceArgs
The arguments to resource properties.
@@ -222,7 +222,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-Bar +Bar string @@ -236,7 +236,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-Bar +Bar string @@ -250,7 +250,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar String @@ -264,7 +264,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar string @@ -278,7 +278,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar str @@ -292,7 +292,7 @@ The Resource resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar String @@ -313,7 +313,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -328,7 +328,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -343,7 +343,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -358,7 +358,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -373,7 +373,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -388,7 +388,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String diff --git a/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/typeuses/_index.md b/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/typeuses/_index.md index 0aab9c5f05f5..261fa457b6c6 100644 --- a/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/typeuses/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/typeuses/_index.md @@ -23,7 +23,7 @@ no_edit_this_page: true
-
new TypeUses(name: string, args?: TypeUsesArgs, opts?: CustomResourceOptions);
+
new TypeUses(name: string, args?: TypeUsesArgs, opts?: CustomResourceOptions);
@@ -38,28 +38,28 @@ no_edit_this_page: true qux: Optional[RubberTreeVariety] = None) @overload def TypeUses(resource_name: str, - args: Optional[TypeUsesArgs] = None, + args: Optional[TypeUsesArgs] = None, opts: Optional[ResourceOptions] = None)
-
func NewTypeUses(ctx *Context, name string, args *TypeUsesArgs, opts ...ResourceOption) (*TypeUses, error)
+
func NewTypeUses(ctx *Context, name string, args *TypeUsesArgs, opts ...ResourceOption) (*TypeUses, error)
-
public TypeUses(string name, TypeUsesArgs? args = null, CustomResourceOptions? opts = null)
+
public TypeUses(string name, TypeUsesArgs? args = null, CustomResourceOptions? opts = null)
-public TypeUses(String name, TypeUsesArgs args)
-public TypeUses(String name, TypeUsesArgs args, CustomResourceOptions options)
+public TypeUses(String name, TypeUsesArgs args)
+public TypeUses(String name, TypeUsesArgs args, CustomResourceOptions options)
 
@@ -87,7 +87,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - TypeUsesArgs + TypeUsesArgs
The arguments to resource properties.
@@ -113,7 +113,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - TypeUsesArgs + TypeUsesArgs
The arguments to resource properties.
@@ -145,7 +145,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - TypeUsesArgs + TypeUsesArgs
The arguments to resource properties.
@@ -171,7 +171,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> args - TypeUsesArgs + TypeUsesArgs
The arguments to resource properties.
@@ -197,7 +197,7 @@ no_edit_this_page: true class="property-required" title="Required"> args - TypeUsesArgs + TypeUsesArgs
The arguments to resource properties.
@@ -225,34 +225,34 @@ The TypeUses resource accepts the following [input](/docs/intro/concepts/inputs-
-Bar +Bar - SomeOtherObjectArgs + SomeOtherObjectArgs
-Baz +Baz - ObjectWithNodeOptionalInputsArgs + ObjectWithNodeOptionalInputsArgs
-Foo +Foo - ObjectArgs + ObjectArgs
-Qux +Qux - Pulumi.Example.RubberTreeVariety + Pulumi.Example.RubberTreeVariety
@@ -263,34 +263,34 @@ The TypeUses resource accepts the following [input](/docs/intro/concepts/inputs-
-Bar +Bar - SomeOtherObjectArgs + SomeOtherObjectArgs
-Baz +Baz - ObjectWithNodeOptionalInputsArgs + ObjectWithNodeOptionalInputsArgs
-Foo +Foo - ObjectArgs + ObjectArgs
-Qux +Qux - RubberTreeVariety + RubberTreeVariety
@@ -301,34 +301,34 @@ The TypeUses resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar - SomeOtherObjectArgs + SomeOtherObjectArgs
-baz +baz - ObjectWithNodeOptionalInputsArgs + ObjectWithNodeOptionalInputsArgs
-foo +foo - ObjectArgs + ObjectArgs
-qux +qux - RubberTreeVariety + RubberTreeVariety
@@ -339,34 +339,34 @@ The TypeUses resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar - SomeOtherObjectArgs + SomeOtherObjectArgs
-baz +baz - ObjectWithNodeOptionalInputsArgs + ObjectWithNodeOptionalInputsArgs
-foo +foo - ObjectArgs + ObjectArgs
-qux +qux - RubberTreeVariety + RubberTreeVariety
@@ -377,34 +377,34 @@ The TypeUses resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar - SomeOtherObjectArgs + SomeOtherObjectArgs
-baz +baz - ObjectWithNodeOptionalInputsArgs + ObjectWithNodeOptionalInputsArgs
-foo +foo - ObjectArgs + ObjectArgs
-qux +qux - RubberTreeVariety + RubberTreeVariety
@@ -415,34 +415,34 @@ The TypeUses resource accepts the following [input](/docs/intro/concepts/inputs-
-bar +bar - Property Map + Property Map
-baz +baz - Property Map + Property Map
-foo +foo - Property Map + Property Map
-qux +qux - "Burgundy" | "Ruby" | "Tineke" + "Burgundy" | "Ruby" | "Tineke"
@@ -460,7 +460,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -469,23 +469,23 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Alpha +Alpha - Pulumi.Example.OutputOnlyEnumType + Pulumi.Example.OutputOnlyEnumType
-Beta +Beta - List<OutputOnlyObjectType> + List<OutputOnlyObjectType>
-Gamma +Gamma Dictionary<string, Pulumi.Example.OutputOnlyEnumType> @@ -493,10 +493,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Zed +Zed - OutputOnlyObjectType + OutputOnlyObjectType
@@ -507,7 +507,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Id +Id string @@ -516,23 +516,23 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Alpha +Alpha - OutputOnlyEnumType + OutputOnlyEnumType
-Beta +Beta - []OutputOnlyObjectType + []OutputOnlyObjectType
-Gamma +Gamma map[string]OutputOnlyEnumType @@ -540,10 +540,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Zed +Zed - OutputOnlyObjectType + OutputOnlyObjectType
@@ -554,7 +554,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -563,23 +563,23 @@ All [input](#inputs) properties are implicitly available as output properties. A
-alpha +alpha - OutputOnlyEnumType + OutputOnlyEnumType
-beta +beta - List<OutputOnlyObjectType> + List<OutputOnlyObjectType>
-gamma +gamma Map<String,OutputOnlyEnumType> @@ -587,10 +587,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-zed +zed - OutputOnlyObjectType + OutputOnlyObjectType
@@ -601,7 +601,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id string @@ -610,23 +610,23 @@ All [input](#inputs) properties are implicitly available as output properties. A
-alpha +alpha - OutputOnlyEnumType + OutputOnlyEnumType
-beta +beta - OutputOnlyObjectType[] + OutputOnlyObjectType[]
-gamma +gamma {[key: string]: OutputOnlyEnumType} @@ -634,10 +634,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-zed +zed - OutputOnlyObjectType + OutputOnlyObjectType
@@ -648,7 +648,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id str @@ -657,23 +657,23 @@ All [input](#inputs) properties are implicitly available as output properties. A
-alpha +alpha - OutputOnlyEnumType + OutputOnlyEnumType
-beta +beta - Sequence[OutputOnlyObjectType] + Sequence[OutputOnlyObjectType]
-gamma +gamma Mapping[str, OutputOnlyEnumType] @@ -681,10 +681,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-zed +zed - OutputOnlyObjectType + OutputOnlyObjectType
@@ -695,7 +695,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-id +id String @@ -704,23 +704,23 @@ All [input](#inputs) properties are implicitly available as output properties. A
-alpha +alpha - "foo" | "bar" + "foo" | "bar"
-beta +beta - List<Property Map> + List<Property Map>
-gamma +gamma Map<"foo" | "bar"> @@ -728,10 +728,10 @@ All [input](#inputs) properties are implicitly available as output properties. A
-zed +zed - Property Map + Property Map
@@ -754,7 +754,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Config +Config string @@ -768,7 +768,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Config +Config string @@ -782,7 +782,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-config +config String @@ -796,7 +796,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-config +config string @@ -810,7 +810,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-config +config str @@ -824,7 +824,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-config +config String @@ -840,7 +840,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Bar +Bar string @@ -848,15 +848,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Configs +Configs - List<ConfigMap> + List<ConfigMap>
-Foo +Foo Pulumi.Example.Resource @@ -864,16 +864,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Others +Others - List<ImmutableArray<SomeOtherObject>> + List<ImmutableArray<SomeOtherObject>>

List of lists of other objects

-StillOthers +StillOthers Dictionary<string, ImmutableArray<SomeOtherObject>> @@ -888,7 +888,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Bar +Bar string @@ -896,15 +896,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Configs +Configs - []ConfigMap + []ConfigMap
-Foo +Foo Resource @@ -912,16 +912,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Others +Others - [][]SomeOtherObject + [][]SomeOtherObject

List of lists of other objects

-StillOthers +StillOthers map[string][]SomeOtherObject @@ -936,7 +936,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar String @@ -944,15 +944,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-configs +configs - List<ConfigMap> + List<ConfigMap>
-foo +foo Resource @@ -960,16 +960,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-others +others - List<List<SomeOtherObject>> + List<List<SomeOtherObject>>

List of lists of other objects

-stillOthers +stillOthers Map<String,List<SomeOtherObject>> @@ -984,7 +984,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar string @@ -992,15 +992,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-configs +configs - ConfigMap[] + ConfigMap[]
-foo +foo Resource @@ -1008,16 +1008,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-others +others - SomeOtherObject[][] + SomeOtherObject[][]

List of lists of other objects

-stillOthers +stillOthers {[key: string]: SomeOtherObject[]} @@ -1032,7 +1032,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar str @@ -1040,15 +1040,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-configs +configs - Sequence[ConfigMap] + Sequence[ConfigMap]
-foo +foo Resource @@ -1056,16 +1056,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-others +others - Sequence[Sequence[SomeOtherObject]] + Sequence[Sequence[SomeOtherObject]]

List of lists of other objects

-still_others +still_others Mapping[str, Sequence[SomeOtherObject]] @@ -1080,7 +1080,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar String @@ -1088,15 +1088,15 @@ All [input](#inputs) properties are implicitly available as output properties. A
-configs +configs - List<Property Map> + List<Property Map>
-foo +foo example:Resource @@ -1104,16 +1104,16 @@ All [input](#inputs) properties are implicitly available as output properties. A
-others +others - List<List<Property Map>> + List<List<Property Map>>

List of lists of other objects

-stillOthers +stillOthers Map<List<Property Map>> @@ -1130,7 +1130,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Foo +Foo string @@ -1138,7 +1138,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Bar +Bar int @@ -1152,7 +1152,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Foo +Foo string @@ -1160,7 +1160,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Bar +Bar int @@ -1174,7 +1174,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-foo +foo String @@ -1182,7 +1182,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar Integer @@ -1196,7 +1196,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-foo +foo string @@ -1204,7 +1204,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar number @@ -1218,7 +1218,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-foo +foo str @@ -1226,7 +1226,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar int @@ -1240,7 +1240,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-foo +foo String @@ -1248,7 +1248,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-bar +bar Number @@ -1314,7 +1314,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Foo +Foo string @@ -1328,7 +1328,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Foo +Foo string @@ -1342,7 +1342,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-foo +foo String @@ -1356,7 +1356,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-foo +foo string @@ -1370,7 +1370,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-foo +foo str @@ -1384,7 +1384,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-foo +foo String @@ -1474,7 +1474,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Baz +Baz string @@ -1488,7 +1488,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-Baz +Baz string @@ -1502,7 +1502,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-baz +baz String @@ -1516,7 +1516,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-baz +baz string @@ -1530,7 +1530,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-baz +baz str @@ -1544,7 +1544,7 @@ All [input](#inputs) properties are implicitly available as output properties. A
-baz +baz String From 0d336e5fa996b7a279c3654af92452fec553fd98 Mon Sep 17 00:00:00 2001 From: susanev Date: Wed, 7 Dec 2022 10:43:26 -0800 Subject: [PATCH 14/36] remove slash from resource options anchors Signed-off-by: susanev --- pkg/codegen/docs/gen.go | 2 +- .../docs/documentdb/sqlresourcesqlcontainer/_index.md | 6 +++--- .../azure-native-nested-types/docs/provider/_index.md | 6 +++--- .../test/testdata/cyclic-types/docs/provider/_index.md | 6 +++--- .../test/testdata/dash-named-schema/docs/provider/_index.md | 6 +++--- .../docs/submodule1/fooencryptedbarclass/_index.md | 6 +++--- .../docs/submodule1/moduleresource/_index.md | 6 +++--- .../testdata/dashed-import-schema/docs/provider/_index.md | 6 +++--- .../dashed-import-schema/docs/tree/v1/nursery/_index.md | 6 +++--- .../dashed-import-schema/docs/tree/v1/rubbertree/_index.md | 6 +++--- .../test/testdata/different-enum/docs/provider/_index.md | 6 +++--- .../testdata/different-enum/docs/tree/v1/nursery/_index.md | 6 +++--- .../different-enum/docs/tree/v1/rubbertree/_index.md | 6 +++--- .../enum-reference/docs/myModule/iamresource/_index.md | 6 +++--- .../test/testdata/enum-reference/docs/provider/_index.md | 6 +++--- .../test/testdata/external-enum/docs/component/_index.md | 6 +++--- .../test/testdata/external-enum/docs/provider/_index.md | 6 +++--- .../testdata/external-resource-schema/docs/cat/_index.md | 6 +++--- .../external-resource-schema/docs/component/_index.md | 6 +++--- .../external-resource-schema/docs/provider/_index.md | 6 +++--- .../external-resource-schema/docs/workload/_index.md | 6 +++--- .../test/testdata/functions-secrets/docs/provider/_index.md | 6 +++--- .../test/testdata/hyphen-url/docs/provider/_index.md | 6 +++--- .../hyphen-url/docs/registrygeoreplication/_index.md | 6 +++--- .../test/testdata/naming-collisions/docs/provider/_index.md | 6 +++--- .../test/testdata/naming-collisions/docs/resource/_index.md | 6 +++--- .../testdata/naming-collisions/docs/resourceinput/_index.md | 6 +++--- .../docs/deeply/nested/module/resource/_index.md | 6 +++--- .../nested-module-thirdparty/docs/provider/_index.md | 6 +++--- .../nested-module/docs/nested/module/resource/_index.md | 6 +++--- .../test/testdata/nested-module/docs/provider/_index.md | 6 +++--- .../test/testdata/other-owned/docs/barresource/_index.md | 6 +++--- .../test/testdata/other-owned/docs/fooresource/_index.md | 6 +++--- .../test/testdata/other-owned/docs/otherresource/_index.md | 6 +++--- .../testdata/other-owned/docs/overlayresource/_index.md | 6 +++--- .../test/testdata/other-owned/docs/provider/_index.md | 6 +++--- .../test/testdata/other-owned/docs/resource/_index.md | 6 +++--- .../test/testdata/other-owned/docs/typeuses/_index.md | 6 +++--- .../testdata/output-funcs-edgeorder/docs/provider/_index.md | 6 +++--- .../output-funcs-tfbridge20/docs/provider/_index.md | 6 +++--- .../test/testdata/output-funcs/docs/provider/_index.md | 6 +++--- .../plain-and-default/docs/moduleresource/_index.md | 6 +++--- .../test/testdata/plain-and-default/docs/provider/_index.md | 6 +++--- .../test/testdata/plain-object-defaults/docs/foo/_index.md | 6 +++--- .../plain-object-defaults/docs/moduletest/_index.md | 6 +++--- .../testdata/plain-object-defaults/docs/provider/_index.md | 6 +++--- .../plain-object-disable-defaults/docs/foo/_index.md | 6 +++--- .../plain-object-disable-defaults/docs/moduletest/_index.md | 6 +++--- .../plain-object-disable-defaults/docs/provider/_index.md | 6 +++--- .../testdata/plain-schema-gh6957/docs/provider/_index.md | 6 +++--- .../testdata/plain-schema-gh6957/docs/staticpage/_index.md | 6 +++--- .../testdata/provider-config-schema/docs/provider/_index.md | 6 +++--- .../test/testdata/regress-8403/docs/provider/_index.md | 6 +++--- .../test/testdata/regress-node-8110/docs/provider/_index.md | 6 +++--- .../test/testdata/replace-on-change/docs/cat/_index.md | 6 +++--- .../test/testdata/replace-on-change/docs/dog/_index.md | 6 +++--- .../test/testdata/replace-on-change/docs/god/_index.md | 6 +++--- .../testdata/replace-on-change/docs/norecursive/_index.md | 6 +++--- .../test/testdata/replace-on-change/docs/provider/_index.md | 6 +++--- .../test/testdata/replace-on-change/docs/toystore/_index.md | 6 +++--- .../docs/person/_index.md | 6 +++--- .../docs/pet/_index.md | 6 +++--- .../docs/provider/_index.md | 6 +++--- .../testdata/resource-args-python/docs/person/_index.md | 6 +++--- .../test/testdata/resource-args-python/docs/pet/_index.md | 6 +++--- .../testdata/resource-args-python/docs/provider/_index.md | 6 +++--- .../resource-property-overlap/docs/provider/_index.md | 6 +++--- .../testdata/resource-property-overlap/docs/rec/_index.md | 6 +++--- .../testing/test/testdata/secrets/docs/provider/_index.md | 6 +++--- .../testing/test/testdata/secrets/docs/resource/_index.md | 6 +++--- .../testdata/simple-enum-schema/docs/provider/_index.md | 6 +++--- .../simple-enum-schema/docs/tree/v1/nursery/_index.md | 6 +++--- .../simple-enum-schema/docs/tree/v1/rubbertree/_index.md | 6 +++--- .../docs/foo/_index.md | 6 +++--- .../docs/provider/_index.md | 6 +++--- .../test/testdata/simple-methods-schema/docs/foo/_index.md | 6 +++--- .../testdata/simple-methods-schema/docs/provider/_index.md | 6 +++--- .../docs/component/_index.md | 6 +++--- .../docs/provider/_index.md | 6 +++--- .../testdata/simple-plain-schema/docs/component/_index.md | 6 +++--- .../testdata/simple-plain-schema/docs/provider/_index.md | 6 +++--- .../docs/otherresource/_index.md | 6 +++--- .../docs/provider/_index.md | 6 +++--- .../docs/resource/_index.md | 6 +++--- .../simple-resource-schema/docs/barresource/_index.md | 6 +++--- .../simple-resource-schema/docs/fooresource/_index.md | 6 +++--- .../simple-resource-schema/docs/otherresource/_index.md | 6 +++--- .../simple-resource-schema/docs/overlayresource/_index.md | 6 +++--- .../testdata/simple-resource-schema/docs/provider/_index.md | 6 +++--- .../testdata/simple-resource-schema/docs/resource/_index.md | 6 +++--- .../testdata/simple-resource-schema/docs/typeuses/_index.md | 6 +++--- .../simple-yaml-schema/docs/otherresource/_index.md | 6 +++--- .../testdata/simple-yaml-schema/docs/provider/_index.md | 6 +++--- .../testdata/simple-yaml-schema/docs/resource/_index.md | 6 +++--- .../testdata/simple-yaml-schema/docs/typeuses/_index.md | 6 +++--- 95 files changed, 283 insertions(+), 283 deletions(-) diff --git a/pkg/codegen/docs/gen.go b/pkg/codegen/docs/gen.go index dd8b1286958e..01188591cb32 100644 --- a/pkg/codegen/docs/gen.go +++ b/pkg/codegen/docs/gen.go @@ -927,7 +927,7 @@ func (mod *modContext) genConstructorPython(r *schema.Resource, argsOptional, ar Type: propertyType{ Name: "Optional[ResourceOptions]", DescriptionName: "ResourceOptions", - Link: "/docs/reference/pkg/python/pulumi/#pulumi.ResourceOptions/", + Link: "/docs/reference/pkg/python/pulumi/#pulumi.ResourceOptions", }, Comment: ctorOptsArgComment, }) diff --git a/pkg/codegen/testing/test/testdata/azure-native-nested-types/docs/documentdb/sqlresourcesqlcontainer/_index.md b/pkg/codegen/testing/test/testdata/azure-native-nested-types/docs/documentdb/sqlresourcesqlcontainer/_index.md index 5b4423957cdc..6c8abbb7064e 100644 --- a/pkg/codegen/testing/test/testdata/azure-native-nested-types/docs/documentdb/sqlresourcesqlcontainer/_index.md +++ b/pkg/codegen/testing/test/testdata/azure-native-nested-types/docs/documentdb/sqlresourcesqlcontainer/_index.md @@ -363,11 +363,11 @@ Coming soon!
@overload
 def SqlResourceSqlContainer(resource_name: str,
-                            opts: Optional[ResourceOptions] = None)
+                            opts: Optional[ResourceOptions] = None)
 @overload
 def SqlResourceSqlContainer(resource_name: str,
                             args: Optional[SqlResourceSqlContainerArgs] = None,
-                            opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -447,7 +447,7 @@ Coming soon! class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/azure-native-nested-types/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/azure-native-nested-types/docs/provider/_index.md index 5dae1bdc35ba..c607ffcbff78 100644 --- a/pkg/codegen/testing/test/testdata/azure-native-nested-types/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/azure-native-nested-types/docs/provider/_index.md @@ -31,11 +31,11 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/cyclic-types/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/cyclic-types/docs/provider/_index.md index 32b1ee1cb169..2990f2ed2094 100644 --- a/pkg/codegen/testing/test/testdata/cyclic-types/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/cyclic-types/docs/provider/_index.md @@ -31,11 +31,11 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/dash-named-schema/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/dash-named-schema/docs/provider/_index.md index 26fdd75b0ac9..9d7842e5475b 100644 --- a/pkg/codegen/testing/test/testdata/dash-named-schema/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/dash-named-schema/docs/provider/_index.md @@ -31,11 +31,11 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/dash-named-schema/docs/submodule1/fooencryptedbarclass/_index.md b/pkg/codegen/testing/test/testdata/dash-named-schema/docs/submodule1/fooencryptedbarclass/_index.md index 659bd566eb0f..4600faf68c58 100644 --- a/pkg/codegen/testing/test/testdata/dash-named-schema/docs/submodule1/fooencryptedbarclass/_index.md +++ b/pkg/codegen/testing/test/testdata/dash-named-schema/docs/submodule1/fooencryptedbarclass/_index.md @@ -31,11 +31,11 @@ no_edit_this_page: true
@overload
 def FOOEncryptedBarClass(resource_name: str,
-                         opts: Optional[ResourceOptions] = None)
+                         opts: Optional[ResourceOptions] = None)
 @overload
 def FOOEncryptedBarClass(resource_name: str,
                          args: Optional[FOOEncryptedBarClassArgs] = None,
-                         opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/dash-named-schema/docs/submodule1/moduleresource/_index.md b/pkg/codegen/testing/test/testdata/dash-named-schema/docs/submodule1/moduleresource/_index.md index f0ca8b294242..81ccdfd22ab4 100644 --- a/pkg/codegen/testing/test/testdata/dash-named-schema/docs/submodule1/moduleresource/_index.md +++ b/pkg/codegen/testing/test/testdata/dash-named-schema/docs/submodule1/moduleresource/_index.md @@ -31,12 +31,12 @@ no_edit_this_page: true
@overload
 def ModuleResource(resource_name: str,
-                   opts: Optional[ResourceOptions] = None,
+                   opts: Optional[ResourceOptions] = None,
                    thing: Optional[_root_inputs.TopLevelArgs] = None)
 @overload
 def ModuleResource(resource_name: str,
                    args: Optional[ModuleResourceArgs] = None,
-                   opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -116,7 +116,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/provider/_index.md index 8fc0a9996f86..e7ade2ef35a8 100644 --- a/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/provider/_index.md @@ -31,11 +31,11 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/tree/v1/nursery/_index.md b/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/tree/v1/nursery/_index.md index 9fe48fcd6edc..a55b11f73a80 100644 --- a/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/tree/v1/nursery/_index.md +++ b/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/tree/v1/nursery/_index.md @@ -31,13 +31,13 @@ no_edit_this_page: true
@overload
 def Nursery(resource_name: str,
-            opts: Optional[ResourceOptions] = None,
+            opts: Optional[ResourceOptions] = None,
             sizes: Optional[Mapping[str, TreeSize]] = None,
             varieties: Optional[Sequence[RubberTreeVariety]] = None)
 @overload
 def Nursery(resource_name: str,
             args: NurseryArgs,
-            opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -117,7 +117,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/tree/v1/rubbertree/_index.md b/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/tree/v1/rubbertree/_index.md index 40d394bf4a96..a0db290b69f7 100644 --- a/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/tree/v1/rubbertree/_index.md +++ b/pkg/codegen/testing/test/testdata/dashed-import-schema/docs/tree/v1/rubbertree/_index.md @@ -31,7 +31,7 @@ no_edit_this_page: true
@overload
 def RubberTree(resource_name: str,
-               opts: Optional[ResourceOptions] = None,
+               opts: Optional[ResourceOptions] = None,
                container: Optional[_root_inputs.ContainerArgs] = None,
                diameter: Optional[Diameter] = None,
                farm: Optional[Union[Farm, str]] = None,
@@ -40,7 +40,7 @@ no_edit_this_page: true
 @overload
 def RubberTree(resource_name: str,
                args: RubberTreeArgs,
-               opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -120,7 +120,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/different-enum/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/different-enum/docs/provider/_index.md index 8fc0a9996f86..e7ade2ef35a8 100644 --- a/pkg/codegen/testing/test/testdata/different-enum/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/different-enum/docs/provider/_index.md @@ -31,11 +31,11 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/different-enum/docs/tree/v1/nursery/_index.md b/pkg/codegen/testing/test/testdata/different-enum/docs/tree/v1/nursery/_index.md index 9fe48fcd6edc..a55b11f73a80 100644 --- a/pkg/codegen/testing/test/testdata/different-enum/docs/tree/v1/nursery/_index.md +++ b/pkg/codegen/testing/test/testdata/different-enum/docs/tree/v1/nursery/_index.md @@ -31,13 +31,13 @@ no_edit_this_page: true
@overload
 def Nursery(resource_name: str,
-            opts: Optional[ResourceOptions] = None,
+            opts: Optional[ResourceOptions] = None,
             sizes: Optional[Mapping[str, TreeSize]] = None,
             varieties: Optional[Sequence[RubberTreeVariety]] = None)
 @overload
 def Nursery(resource_name: str,
             args: NurseryArgs,
-            opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -117,7 +117,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/different-enum/docs/tree/v1/rubbertree/_index.md b/pkg/codegen/testing/test/testdata/different-enum/docs/tree/v1/rubbertree/_index.md index 1f356d210e98..b9c58110b12f 100644 --- a/pkg/codegen/testing/test/testdata/different-enum/docs/tree/v1/rubbertree/_index.md +++ b/pkg/codegen/testing/test/testdata/different-enum/docs/tree/v1/rubbertree/_index.md @@ -31,7 +31,7 @@ no_edit_this_page: true
@overload
 def RubberTree(resource_name: str,
-               opts: Optional[ResourceOptions] = None,
+               opts: Optional[ResourceOptions] = None,
                container: Optional[_root_inputs.ContainerArgs] = None,
                diameter: Optional[Diameter] = None,
                farm: Optional[Union[Farm, str]] = None,
@@ -40,7 +40,7 @@ no_edit_this_page: true
 @overload
 def RubberTree(resource_name: str,
                args: RubberTreeArgs,
-               opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -120,7 +120,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
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 2f1406921aea..89a93c738392 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 @@ -31,12 +31,12 @@ no_edit_this_page: true
@overload
 def IamResource(resource_name: str,
-                opts: Optional[ResourceOptions] = None,
+                opts: Optional[ResourceOptions] = None,
                 config: Optional[pulumi_google_native.iam.v1.AuditConfigArgs] = None)
 @overload
 def IamResource(resource_name: str,
                 args: Optional[IamResourceArgs] = None,
-                opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -116,7 +116,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/enum-reference/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/enum-reference/docs/provider/_index.md index 32b1ee1cb169..2990f2ed2094 100644 --- a/pkg/codegen/testing/test/testdata/enum-reference/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/enum-reference/docs/provider/_index.md @@ -31,11 +31,11 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/external-enum/docs/component/_index.md b/pkg/codegen/testing/test/testdata/external-enum/docs/component/_index.md index 142b4a63329f..6ebdaff4c49f 100644 --- a/pkg/codegen/testing/test/testdata/external-enum/docs/component/_index.md +++ b/pkg/codegen/testing/test/testdata/external-enum/docs/component/_index.md @@ -31,13 +31,13 @@ no_edit_this_page: true
@overload
 def Component(resource_name: str,
-              opts: Optional[ResourceOptions] = None,
+              opts: Optional[ResourceOptions] = None,
               local_enum: Optional[_local.MyEnum] = None,
               remote_enum: Optional[_accesscontextmanager.v1.DevicePolicyAllowedDeviceManagementLevelsItem] = None)
 @overload
 def Component(resource_name: str,
               args: Optional[ComponentArgs] = None,
-              opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -117,7 +117,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/external-enum/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/external-enum/docs/provider/_index.md index 32b1ee1cb169..2990f2ed2094 100644 --- a/pkg/codegen/testing/test/testdata/external-enum/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/external-enum/docs/provider/_index.md @@ -31,11 +31,11 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/external-resource-schema/docs/cat/_index.md b/pkg/codegen/testing/test/testdata/external-resource-schema/docs/cat/_index.md index 9d934bdc6488..82d5eba1ffed 100644 --- a/pkg/codegen/testing/test/testdata/external-resource-schema/docs/cat/_index.md +++ b/pkg/codegen/testing/test/testdata/external-resource-schema/docs/cat/_index.md @@ -31,13 +31,13 @@ no_edit_this_page: true
@overload
 def Cat(resource_name: str,
-        opts: Optional[ResourceOptions] = None,
+        opts: Optional[ResourceOptions] = None,
         age: Optional[int] = None,
         pet: Optional[PetArgs] = None)
 @overload
 def Cat(resource_name: str,
         args: Optional[CatArgs] = None,
-        opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -117,7 +117,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/external-resource-schema/docs/component/_index.md b/pkg/codegen/testing/test/testdata/external-resource-schema/docs/component/_index.md index 86b3bfd5cb21..948a0ed7ba9d 100644 --- a/pkg/codegen/testing/test/testdata/external-resource-schema/docs/component/_index.md +++ b/pkg/codegen/testing/test/testdata/external-resource-schema/docs/component/_index.md @@ -31,7 +31,7 @@ no_edit_this_page: true
@overload
 def Component(resource_name: str,
-              opts: Optional[ResourceOptions] = None,
+              opts: Optional[ResourceOptions] = None,
               metadata: Optional[pulumi_kubernetes.meta.v1.ObjectMetaArgs] = None,
               metadata_array: Optional[Sequence[pulumi_kubernetes.meta.v1.ObjectMetaArgs]] = None,
               metadata_map: Optional[Mapping[str, pulumi_kubernetes.meta.v1.ObjectMetaArgs]] = None,
@@ -41,7 +41,7 @@ no_edit_this_page: true
 @overload
 def Component(resource_name: str,
               args: ComponentArgs,
-              opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -121,7 +121,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/external-resource-schema/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/external-resource-schema/docs/provider/_index.md index 32b1ee1cb169..2990f2ed2094 100644 --- a/pkg/codegen/testing/test/testdata/external-resource-schema/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/external-resource-schema/docs/provider/_index.md @@ -31,11 +31,11 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/external-resource-schema/docs/workload/_index.md b/pkg/codegen/testing/test/testdata/external-resource-schema/docs/workload/_index.md index b874e1a8e75f..573e603a7d39 100644 --- a/pkg/codegen/testing/test/testdata/external-resource-schema/docs/workload/_index.md +++ b/pkg/codegen/testing/test/testdata/external-resource-schema/docs/workload/_index.md @@ -31,11 +31,11 @@ no_edit_this_page: true
@overload
 def Workload(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Workload(resource_name: str,
              args: Optional[WorkloadArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/functions-secrets/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/functions-secrets/docs/provider/_index.md index 5e2162082093..a276d97980ab 100644 --- a/pkg/codegen/testing/test/testdata/functions-secrets/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/functions-secrets/docs/provider/_index.md @@ -31,11 +31,11 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/hyphen-url/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/hyphen-url/docs/provider/_index.md index a8fcf8f5263f..ed42e04825d8 100644 --- a/pkg/codegen/testing/test/testdata/hyphen-url/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/hyphen-url/docs/provider/_index.md @@ -31,11 +31,11 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
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 ba5163c02a08..128a9fa578c4 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 @@ -31,12 +31,12 @@ no_edit_this_page: true
@overload
 def RegistryGeoReplication(resource_name: str,
-                           opts: Optional[ResourceOptions] = None,
+                           opts: Optional[ResourceOptions] = None,
                            resource_group: Optional[pulumi_azure_native.resources.ResourceGroup] = None)
 @overload
 def RegistryGeoReplication(resource_name: str,
                            args: RegistryGeoReplicationArgs,
-                           opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -116,7 +116,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/naming-collisions/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/naming-collisions/docs/provider/_index.md index 32b1ee1cb169..2990f2ed2094 100644 --- a/pkg/codegen/testing/test/testdata/naming-collisions/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/naming-collisions/docs/provider/_index.md @@ -31,11 +31,11 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/naming-collisions/docs/resource/_index.md b/pkg/codegen/testing/test/testdata/naming-collisions/docs/resource/_index.md index 4bcf7d1f15d2..75b32a9522f8 100644 --- a/pkg/codegen/testing/test/testdata/naming-collisions/docs/resource/_index.md +++ b/pkg/codegen/testing/test/testdata/naming-collisions/docs/resource/_index.md @@ -31,11 +31,11 @@ no_edit_this_page: true
@overload
 def Resource(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Resource(resource_name: str,
              args: Optional[ResourceArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/naming-collisions/docs/resourceinput/_index.md b/pkg/codegen/testing/test/testdata/naming-collisions/docs/resourceinput/_index.md index 260f17fa14fa..f8424d156a17 100644 --- a/pkg/codegen/testing/test/testdata/naming-collisions/docs/resourceinput/_index.md +++ b/pkg/codegen/testing/test/testdata/naming-collisions/docs/resourceinput/_index.md @@ -31,11 +31,11 @@ no_edit_this_page: true
@overload
 def ResourceInput(resource_name: str,
-                  opts: Optional[ResourceOptions] = None)
+                  opts: Optional[ResourceOptions] = None)
 @overload
 def ResourceInput(resource_name: str,
                   args: Optional[ResourceInputArgs] = None,
-                  opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/deeply/nested/module/resource/_index.md b/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/deeply/nested/module/resource/_index.md index e33b1019e51a..a0aafc3a1555 100644 --- a/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/deeply/nested/module/resource/_index.md +++ b/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/deeply/nested/module/resource/_index.md @@ -31,12 +31,12 @@ no_edit_this_page: true
@overload
 def Resource(resource_name: str,
-             opts: Optional[ResourceOptions] = None,
+             opts: Optional[ResourceOptions] = None,
              baz: Optional[str] = None)
 @overload
 def Resource(resource_name: str,
              args: Optional[ResourceArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -116,7 +116,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/provider/_index.md index 26fdd75b0ac9..9d7842e5475b 100644 --- a/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/nested-module-thirdparty/docs/provider/_index.md @@ -31,11 +31,11 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/nested-module/docs/nested/module/resource/_index.md b/pkg/codegen/testing/test/testdata/nested-module/docs/nested/module/resource/_index.md index 95143dcc0d70..8646d52b7fd7 100644 --- a/pkg/codegen/testing/test/testdata/nested-module/docs/nested/module/resource/_index.md +++ b/pkg/codegen/testing/test/testdata/nested-module/docs/nested/module/resource/_index.md @@ -31,12 +31,12 @@ no_edit_this_page: true
@overload
 def Resource(resource_name: str,
-             opts: Optional[ResourceOptions] = None,
+             opts: Optional[ResourceOptions] = None,
              bar: Optional[str] = None)
 @overload
 def Resource(resource_name: str,
              args: Optional[ResourceArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -116,7 +116,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/nested-module/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/nested-module/docs/provider/_index.md index 01de1fabe9f2..22661802da79 100644 --- a/pkg/codegen/testing/test/testdata/nested-module/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/nested-module/docs/provider/_index.md @@ -31,11 +31,11 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
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 91d4b04dcc33..c00dfd186723 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 @@ -31,12 +31,12 @@ no_edit_this_page: true
@overload
 def BarResource(resource_name: str,
-                opts: Optional[ResourceOptions] = None,
+                opts: Optional[ResourceOptions] = None,
                 foo: Optional[Resource] = None)
 @overload
 def BarResource(resource_name: str,
                 args: Optional[BarResourceArgs] = None,
-                opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -116,7 +116,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
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 78b574ca5eda..f31715f17b6d 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 @@ -31,12 +31,12 @@ no_edit_this_page: true
@overload
 def FooResource(resource_name: str,
-                opts: Optional[ResourceOptions] = None,
+                opts: Optional[ResourceOptions] = None,
                 foo: Optional[Resource] = None)
 @overload
 def FooResource(resource_name: str,
                 args: Optional[FooResourceArgs] = None,
-                opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -116,7 +116,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
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 cd936e2e9c66..01a95c4fa06c 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 @@ -31,12 +31,12 @@ no_edit_this_page: true
@overload
 def OtherResource(resource_name: str,
-                  opts: Optional[ResourceOptions] = None,
+                  opts: Optional[ResourceOptions] = None,
                   foo: Optional[Resource] = None)
 @overload
 def OtherResource(resource_name: str,
                   args: Optional[OtherResourceArgs] = None,
-                  opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -116,7 +116,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/other-owned/docs/overlayresource/_index.md b/pkg/codegen/testing/test/testdata/other-owned/docs/overlayresource/_index.md index fbfabca7dc92..b1077037f985 100644 --- a/pkg/codegen/testing/test/testdata/other-owned/docs/overlayresource/_index.md +++ b/pkg/codegen/testing/test/testdata/other-owned/docs/overlayresource/_index.md @@ -31,13 +31,13 @@ no_edit_this_page: true
@overload
 def OverlayResource(resource_name: str,
-                    opts: Optional[ResourceOptions] = None,
+                    opts: Optional[ResourceOptions] = None,
                     bar: Optional[EnumOverlay] = None,
                     foo: Optional[ConfigMapOverlayArgs] = None)
 @overload
 def OverlayResource(resource_name: str,
                     args: Optional[OverlayResourceArgs] = None,
-                    opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -117,7 +117,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/other-owned/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/other-owned/docs/provider/_index.md index 32b1ee1cb169..2990f2ed2094 100644 --- a/pkg/codegen/testing/test/testdata/other-owned/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/other-owned/docs/provider/_index.md @@ -31,11 +31,11 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/other-owned/docs/resource/_index.md b/pkg/codegen/testing/test/testdata/other-owned/docs/resource/_index.md index 0816a84a19a0..0bdf7fff0091 100644 --- a/pkg/codegen/testing/test/testdata/other-owned/docs/resource/_index.md +++ b/pkg/codegen/testing/test/testdata/other-owned/docs/resource/_index.md @@ -31,12 +31,12 @@ no_edit_this_page: true
@overload
 def Resource(resource_name: str,
-             opts: Optional[ResourceOptions] = None,
+             opts: Optional[ResourceOptions] = None,
              bar: Optional[str] = None)
 @overload
 def Resource(resource_name: str,
              args: Optional[ResourceArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -116,7 +116,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/other-owned/docs/typeuses/_index.md b/pkg/codegen/testing/test/testdata/other-owned/docs/typeuses/_index.md index e4a366e2ca55..e38781332ba3 100644 --- a/pkg/codegen/testing/test/testdata/other-owned/docs/typeuses/_index.md +++ b/pkg/codegen/testing/test/testdata/other-owned/docs/typeuses/_index.md @@ -31,14 +31,14 @@ no_edit_this_page: true
@overload
 def TypeUses(resource_name: str,
-             opts: Optional[ResourceOptions] = None,
+             opts: Optional[ResourceOptions] = None,
              bar: Optional[SomeOtherObjectArgs] = None,
              baz: Optional[ObjectWithNodeOptionalInputsArgs] = None,
              foo: Optional[ObjectArgs] = None)
 @overload
 def TypeUses(resource_name: str,
              args: Optional[TypeUsesArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -118,7 +118,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/docs/provider/_index.md index 45e5c93aa34b..91cc306db924 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/output-funcs-edgeorder/docs/provider/_index.md @@ -31,11 +31,11 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/docs/provider/_index.md index 5e2162082093..a276d97980ab 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/output-funcs-tfbridge20/docs/provider/_index.md @@ -31,11 +31,11 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/output-funcs/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/output-funcs/docs/provider/_index.md index 5e2162082093..a276d97980ab 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/output-funcs/docs/provider/_index.md @@ -31,11 +31,11 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/plain-and-default/docs/moduleresource/_index.md b/pkg/codegen/testing/test/testdata/plain-and-default/docs/moduleresource/_index.md index d72ad203dd39..8bf3f7daa81e 100644 --- a/pkg/codegen/testing/test/testdata/plain-and-default/docs/moduleresource/_index.md +++ b/pkg/codegen/testing/test/testdata/plain-and-default/docs/moduleresource/_index.md @@ -31,7 +31,7 @@ no_edit_this_page: true
@overload
 def ModuleResource(resource_name: str,
-                   opts: Optional[ResourceOptions] = None,
+                   opts: Optional[ResourceOptions] = None,
                    optional_bool: Optional[bool] = None,
                    optional_enum: Optional[EnumThing] = None,
                    optional_number: Optional[float] = None,
@@ -49,7 +49,7 @@ no_edit_this_page: true
 @overload
 def ModuleResource(resource_name: str,
                    args: ModuleResourceArgs,
-                   opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -129,7 +129,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/plain-and-default/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/plain-and-default/docs/provider/_index.md index 2fc501cc273b..1dbcdd7c6428 100644 --- a/pkg/codegen/testing/test/testdata/plain-and-default/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/plain-and-default/docs/provider/_index.md @@ -31,11 +31,11 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/foo/_index.md b/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/foo/_index.md index 31ce0d52dad8..54ba4e4c99c6 100644 --- a/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/foo/_index.md +++ b/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/foo/_index.md @@ -33,7 +33,7 @@ test new feature with resoruces
@overload
 def Foo(resource_name: str,
-        opts: Optional[ResourceOptions] = None,
+        opts: Optional[ResourceOptions] = None,
         argument: Optional[str] = None,
         backup_kube_client_settings: Optional[KubeClientSettingsArgs] = None,
         kube_client_settings: Optional[KubeClientSettingsArgs] = None,
@@ -41,7 +41,7 @@ test new feature with resoruces
 @overload
 def Foo(resource_name: str,
         args: FooArgs,
-        opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -121,7 +121,7 @@ test new feature with resoruces class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/moduletest/_index.md b/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/moduletest/_index.md index c9c3445e9b27..52a2f275a3ac 100644 --- a/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/moduletest/_index.md +++ b/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/moduletest/_index.md @@ -31,13 +31,13 @@ no_edit_this_page: true
@overload
 def ModuleTest(resource_name: str,
-               opts: Optional[ResourceOptions] = None,
+               opts: Optional[ResourceOptions] = None,
                mod1: Optional[_mod1.TypArgs] = None,
                val: Optional[TypArgs] = None)
 @overload
 def ModuleTest(resource_name: str,
                args: Optional[ModuleTestArgs] = None,
-               opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -117,7 +117,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/provider/_index.md index e4c5fb9c867a..05dfc8e41729 100644 --- a/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/plain-object-defaults/docs/provider/_index.md @@ -33,12 +33,12 @@ The provider type for the kubernetes package.
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None,
+             opts: Optional[ResourceOptions] = None,
              helm_release_settings: Optional[HelmReleaseSettingsArgs] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -118,7 +118,7 @@ The provider type for the kubernetes package. class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/foo/_index.md b/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/foo/_index.md index 31ce0d52dad8..54ba4e4c99c6 100644 --- a/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/foo/_index.md +++ b/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/foo/_index.md @@ -33,7 +33,7 @@ test new feature with resoruces
@overload
 def Foo(resource_name: str,
-        opts: Optional[ResourceOptions] = None,
+        opts: Optional[ResourceOptions] = None,
         argument: Optional[str] = None,
         backup_kube_client_settings: Optional[KubeClientSettingsArgs] = None,
         kube_client_settings: Optional[KubeClientSettingsArgs] = None,
@@ -41,7 +41,7 @@ test new feature with resoruces
 @overload
 def Foo(resource_name: str,
         args: FooArgs,
-        opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -121,7 +121,7 @@ test new feature with resoruces class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/moduletest/_index.md b/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/moduletest/_index.md index c9c3445e9b27..52a2f275a3ac 100644 --- a/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/moduletest/_index.md +++ b/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/moduletest/_index.md @@ -31,13 +31,13 @@ no_edit_this_page: true
@overload
 def ModuleTest(resource_name: str,
-               opts: Optional[ResourceOptions] = None,
+               opts: Optional[ResourceOptions] = None,
                mod1: Optional[_mod1.TypArgs] = None,
                val: Optional[TypArgs] = None)
 @overload
 def ModuleTest(resource_name: str,
                args: Optional[ModuleTestArgs] = None,
-               opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -117,7 +117,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/provider/_index.md index e4c5fb9c867a..05dfc8e41729 100644 --- a/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/plain-object-disable-defaults/docs/provider/_index.md @@ -33,12 +33,12 @@ The provider type for the kubernetes package.
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None,
+             opts: Optional[ResourceOptions] = None,
              helm_release_settings: Optional[HelmReleaseSettingsArgs] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -118,7 +118,7 @@ The provider type for the kubernetes package. class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/plain-schema-gh6957/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/plain-schema-gh6957/docs/provider/_index.md index de6630a50089..343d2534ec69 100644 --- a/pkg/codegen/testing/test/testdata/plain-schema-gh6957/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/plain-schema-gh6957/docs/provider/_index.md @@ -31,11 +31,11 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
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 52c79245a56f..3dd33dc646b8 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 @@ -31,13 +31,13 @@ no_edit_this_page: true
@overload
 def StaticPage(resource_name: str,
-               opts: Optional[ResourceOptions] = None,
+               opts: Optional[ResourceOptions] = None,
                foo: Optional[FooArgs] = None,
                index_content: Optional[str] = None)
 @overload
 def StaticPage(resource_name: str,
                args: StaticPageArgs,
-               opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -117,7 +117,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/provider-config-schema/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/provider-config-schema/docs/provider/_index.md index fc67d8c5c912..29b28485a2f4 100644 --- a/pkg/codegen/testing/test/testdata/provider-config-schema/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/provider-config-schema/docs/provider/_index.md @@ -31,12 +31,12 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None,
+             opts: Optional[ResourceOptions] = None,
              favorite_color: Optional[Union[str, Color]] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -116,7 +116,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/regress-8403/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/regress-8403/docs/provider/_index.md index e809af76b56b..31ecbf300a15 100644 --- a/pkg/codegen/testing/test/testdata/regress-8403/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/regress-8403/docs/provider/_index.md @@ -31,11 +31,11 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/regress-node-8110/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/regress-node-8110/docs/provider/_index.md index 5b7abd5f64d1..0bf5db97e94b 100644 --- a/pkg/codegen/testing/test/testdata/regress-node-8110/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/regress-node-8110/docs/provider/_index.md @@ -31,11 +31,11 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/replace-on-change/docs/cat/_index.md b/pkg/codegen/testing/test/testdata/replace-on-change/docs/cat/_index.md index 2f455291f543..7d30d005b030 100644 --- a/pkg/codegen/testing/test/testdata/replace-on-change/docs/cat/_index.md +++ b/pkg/codegen/testing/test/testdata/replace-on-change/docs/cat/_index.md @@ -31,11 +31,11 @@ no_edit_this_page: true
@overload
 def Cat(resource_name: str,
-        opts: Optional[ResourceOptions] = None)
+        opts: Optional[ResourceOptions] = None)
 @overload
 def Cat(resource_name: str,
         args: Optional[CatArgs] = None,
-        opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/replace-on-change/docs/dog/_index.md b/pkg/codegen/testing/test/testdata/replace-on-change/docs/dog/_index.md index fd89ad0681ea..5b04450745ee 100644 --- a/pkg/codegen/testing/test/testdata/replace-on-change/docs/dog/_index.md +++ b/pkg/codegen/testing/test/testdata/replace-on-change/docs/dog/_index.md @@ -31,11 +31,11 @@ no_edit_this_page: true
@overload
 def Dog(resource_name: str,
-        opts: Optional[ResourceOptions] = None)
+        opts: Optional[ResourceOptions] = None)
 @overload
 def Dog(resource_name: str,
         args: Optional[DogArgs] = None,
-        opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/replace-on-change/docs/god/_index.md b/pkg/codegen/testing/test/testdata/replace-on-change/docs/god/_index.md index b771e7747494..5d628aea8be8 100644 --- a/pkg/codegen/testing/test/testdata/replace-on-change/docs/god/_index.md +++ b/pkg/codegen/testing/test/testdata/replace-on-change/docs/god/_index.md @@ -31,11 +31,11 @@ no_edit_this_page: true
@overload
 def God(resource_name: str,
-        opts: Optional[ResourceOptions] = None)
+        opts: Optional[ResourceOptions] = None)
 @overload
 def God(resource_name: str,
         args: Optional[GodArgs] = None,
-        opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/replace-on-change/docs/norecursive/_index.md b/pkg/codegen/testing/test/testdata/replace-on-change/docs/norecursive/_index.md index 5d352214e5e6..1af24732d42b 100644 --- a/pkg/codegen/testing/test/testdata/replace-on-change/docs/norecursive/_index.md +++ b/pkg/codegen/testing/test/testdata/replace-on-change/docs/norecursive/_index.md @@ -31,11 +31,11 @@ no_edit_this_page: true
@overload
 def NoRecursive(resource_name: str,
-                opts: Optional[ResourceOptions] = None)
+                opts: Optional[ResourceOptions] = None)
 @overload
 def NoRecursive(resource_name: str,
                 args: Optional[NoRecursiveArgs] = None,
-                opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/replace-on-change/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/replace-on-change/docs/provider/_index.md index 32b1ee1cb169..2990f2ed2094 100644 --- a/pkg/codegen/testing/test/testdata/replace-on-change/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/replace-on-change/docs/provider/_index.md @@ -31,11 +31,11 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/replace-on-change/docs/toystore/_index.md b/pkg/codegen/testing/test/testdata/replace-on-change/docs/toystore/_index.md index fa4e816d7d0f..f64526fd462e 100644 --- a/pkg/codegen/testing/test/testdata/replace-on-change/docs/toystore/_index.md +++ b/pkg/codegen/testing/test/testdata/replace-on-change/docs/toystore/_index.md @@ -31,11 +31,11 @@ no_edit_this_page: true
@overload
 def ToyStore(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def ToyStore(resource_name: str,
              args: Optional[ToyStoreArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/person/_index.md b/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/person/_index.md index 61a95bd00b91..c95fe3e1cdc9 100644 --- a/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/person/_index.md +++ b/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/person/_index.md @@ -31,13 +31,13 @@ no_edit_this_page: true
@overload
 def Person(resource_name: str,
-           opts: Optional[ResourceOptions] = None,
+           opts: Optional[ResourceOptions] = None,
            name: Optional[str] = None,
            pets: Optional[Sequence[PetArgs]] = None)
 @overload
 def Person(resource_name: str,
            args: Optional[PersonArgs] = None,
-           opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -117,7 +117,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/pet/_index.md b/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/pet/_index.md index 3525a968528c..004e3a59b7f3 100644 --- a/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/pet/_index.md +++ b/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/pet/_index.md @@ -31,12 +31,12 @@ no_edit_this_page: true
@overload
 def Pet(resource_name: str,
-        opts: Optional[ResourceOptions] = None,
+        opts: Optional[ResourceOptions] = None,
         name: Optional[str] = None)
 @overload
 def Pet(resource_name: str,
         args: Optional[PetInitArgs] = None,
-        opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -116,7 +116,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/provider/_index.md index 32b1ee1cb169..2990f2ed2094 100644 --- a/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/resource-args-python-case-insensitive/docs/provider/_index.md @@ -31,11 +31,11 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/resource-args-python/docs/person/_index.md b/pkg/codegen/testing/test/testdata/resource-args-python/docs/person/_index.md index 61a95bd00b91..c95fe3e1cdc9 100644 --- a/pkg/codegen/testing/test/testdata/resource-args-python/docs/person/_index.md +++ b/pkg/codegen/testing/test/testdata/resource-args-python/docs/person/_index.md @@ -31,13 +31,13 @@ no_edit_this_page: true
@overload
 def Person(resource_name: str,
-           opts: Optional[ResourceOptions] = None,
+           opts: Optional[ResourceOptions] = None,
            name: Optional[str] = None,
            pets: Optional[Sequence[PetArgs]] = None)
 @overload
 def Person(resource_name: str,
            args: Optional[PersonArgs] = None,
-           opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -117,7 +117,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/resource-args-python/docs/pet/_index.md b/pkg/codegen/testing/test/testdata/resource-args-python/docs/pet/_index.md index 3525a968528c..004e3a59b7f3 100644 --- a/pkg/codegen/testing/test/testdata/resource-args-python/docs/pet/_index.md +++ b/pkg/codegen/testing/test/testdata/resource-args-python/docs/pet/_index.md @@ -31,12 +31,12 @@ no_edit_this_page: true
@overload
 def Pet(resource_name: str,
-        opts: Optional[ResourceOptions] = None,
+        opts: Optional[ResourceOptions] = None,
         name: Optional[str] = None)
 @overload
 def Pet(resource_name: str,
         args: Optional[PetInitArgs] = None,
-        opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -116,7 +116,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/resource-args-python/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/resource-args-python/docs/provider/_index.md index 32b1ee1cb169..2990f2ed2094 100644 --- a/pkg/codegen/testing/test/testdata/resource-args-python/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/resource-args-python/docs/provider/_index.md @@ -31,11 +31,11 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/resource-property-overlap/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/resource-property-overlap/docs/provider/_index.md index 32b1ee1cb169..2990f2ed2094 100644 --- a/pkg/codegen/testing/test/testdata/resource-property-overlap/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/resource-property-overlap/docs/provider/_index.md @@ -31,11 +31,11 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/resource-property-overlap/docs/rec/_index.md b/pkg/codegen/testing/test/testdata/resource-property-overlap/docs/rec/_index.md index 8472e6a9adf2..54af64b4ff7f 100644 --- a/pkg/codegen/testing/test/testdata/resource-property-overlap/docs/rec/_index.md +++ b/pkg/codegen/testing/test/testdata/resource-property-overlap/docs/rec/_index.md @@ -31,11 +31,11 @@ no_edit_this_page: true
@overload
 def Rec(resource_name: str,
-        opts: Optional[ResourceOptions] = None)
+        opts: Optional[ResourceOptions] = None)
 @overload
 def Rec(resource_name: str,
         args: Optional[RecArgs] = None,
-        opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/secrets/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/secrets/docs/provider/_index.md index 5e2162082093..a276d97980ab 100644 --- a/pkg/codegen/testing/test/testdata/secrets/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/secrets/docs/provider/_index.md @@ -31,11 +31,11 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/secrets/docs/resource/_index.md b/pkg/codegen/testing/test/testdata/secrets/docs/resource/_index.md index f6a16c353485..29c7729d4f11 100644 --- a/pkg/codegen/testing/test/testdata/secrets/docs/resource/_index.md +++ b/pkg/codegen/testing/test/testdata/secrets/docs/resource/_index.md @@ -31,7 +31,7 @@ no_edit_this_page: true
@overload
 def Resource(resource_name: str,
-             opts: Optional[ResourceOptions] = None,
+             opts: Optional[ResourceOptions] = None,
              config: Optional[ConfigArgs] = None,
              config_array: Optional[Sequence[ConfigArgs]] = None,
              config_map: Optional[Mapping[str, ConfigArgs]] = None,
@@ -41,7 +41,7 @@ no_edit_this_page: true
 @overload
 def Resource(resource_name: str,
              args: ResourceArgs,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -121,7 +121,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/provider/_index.md index 8fc0a9996f86..e7ade2ef35a8 100644 --- a/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/provider/_index.md @@ -31,11 +31,11 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/tree/v1/nursery/_index.md b/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/tree/v1/nursery/_index.md index 9fe48fcd6edc..a55b11f73a80 100644 --- a/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/tree/v1/nursery/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/tree/v1/nursery/_index.md @@ -31,13 +31,13 @@ no_edit_this_page: true
@overload
 def Nursery(resource_name: str,
-            opts: Optional[ResourceOptions] = None,
+            opts: Optional[ResourceOptions] = None,
             sizes: Optional[Mapping[str, TreeSize]] = None,
             varieties: Optional[Sequence[RubberTreeVariety]] = None)
 @overload
 def Nursery(resource_name: str,
             args: NurseryArgs,
-            opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -117,7 +117,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/tree/v1/rubbertree/_index.md b/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/tree/v1/rubbertree/_index.md index 40d394bf4a96..a0db290b69f7 100644 --- a/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/tree/v1/rubbertree/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-enum-schema/docs/tree/v1/rubbertree/_index.md @@ -31,7 +31,7 @@ no_edit_this_page: true
@overload
 def RubberTree(resource_name: str,
-               opts: Optional[ResourceOptions] = None,
+               opts: Optional[ResourceOptions] = None,
                container: Optional[_root_inputs.ContainerArgs] = None,
                diameter: Optional[Diameter] = None,
                farm: Optional[Union[Farm, str]] = None,
@@ -40,7 +40,7 @@ no_edit_this_page: true
 @overload
 def RubberTree(resource_name: str,
                args: RubberTreeArgs,
-               opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -120,7 +120,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
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 3103ca9f5e70..1b464672ef35 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 @@ -31,11 +31,11 @@ no_edit_this_page: true
@overload
 def Foo(resource_name: str,
-        opts: Optional[ResourceOptions] = None)
+        opts: Optional[ResourceOptions] = None)
 @overload
 def Foo(resource_name: str,
         args: Optional[FooArgs] = None,
-        opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/simple-methods-schema-single-value-returns/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/simple-methods-schema-single-value-returns/docs/provider/_index.md index 32b1ee1cb169..2990f2ed2094 100644 --- a/pkg/codegen/testing/test/testdata/simple-methods-schema-single-value-returns/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-methods-schema-single-value-returns/docs/provider/_index.md @@ -31,11 +31,11 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
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 cddb75df3e1b..2b8c439c704c 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 @@ -31,11 +31,11 @@ no_edit_this_page: true
@overload
 def Foo(resource_name: str,
-        opts: Optional[ResourceOptions] = None)
+        opts: Optional[ResourceOptions] = None)
 @overload
 def Foo(resource_name: str,
         args: Optional[FooArgs] = None,
-        opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/simple-methods-schema/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/simple-methods-schema/docs/provider/_index.md index 32b1ee1cb169..2990f2ed2094 100644 --- a/pkg/codegen/testing/test/testdata/simple-methods-schema/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-methods-schema/docs/provider/_index.md @@ -31,11 +31,11 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
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 a0689b30c97b..b019a3facf21 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 @@ -31,7 +31,7 @@ no_edit_this_page: true
@overload
 def Component(resource_name: str,
-              opts: Optional[ResourceOptions] = None,
+              opts: Optional[ResourceOptions] = None,
               a: Optional[bool] = None,
               b: Optional[bool] = None,
               bar: Optional[FooArgs] = None,
@@ -44,7 +44,7 @@ no_edit_this_page: true
 @overload
 def Component(resource_name: str,
               args: ComponentArgs,
-              opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -124,7 +124,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/simple-plain-schema-with-root-package/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/simple-plain-schema-with-root-package/docs/provider/_index.md index 32b1ee1cb169..2990f2ed2094 100644 --- a/pkg/codegen/testing/test/testdata/simple-plain-schema-with-root-package/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-plain-schema-with-root-package/docs/provider/_index.md @@ -31,11 +31,11 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
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 823fff99bc53..bec164f5086e 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 @@ -31,7 +31,7 @@ no_edit_this_page: true
@overload
 def Component(resource_name: str,
-              opts: Optional[ResourceOptions] = None,
+              opts: Optional[ResourceOptions] = None,
               a: Optional[bool] = None,
               b: Optional[bool] = None,
               bar: Optional[FooArgs] = None,
@@ -45,7 +45,7 @@ no_edit_this_page: true
 @overload
 def Component(resource_name: str,
               args: ComponentArgs,
-              opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -125,7 +125,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/simple-plain-schema/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/simple-plain-schema/docs/provider/_index.md index 32b1ee1cb169..2990f2ed2094 100644 --- a/pkg/codegen/testing/test/testdata/simple-plain-schema/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-plain-schema/docs/provider/_index.md @@ -31,11 +31,11 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
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 7b6bb1fe8b54..fb5ed5c3c336 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 @@ -31,12 +31,12 @@ no_edit_this_page: true
@overload
 def OtherResource(resource_name: str,
-                  opts: Optional[ResourceOptions] = None,
+                  opts: Optional[ResourceOptions] = None,
                   foo: Optional[Resource] = None)
 @overload
 def OtherResource(resource_name: str,
                   args: Optional[OtherResourceArgs] = None,
-                  opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -116,7 +116,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/docs/provider/_index.md index 32b1ee1cb169..2990f2ed2094 100644 --- a/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/docs/provider/_index.md @@ -31,11 +31,11 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/docs/resource/_index.md b/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/docs/resource/_index.md index 0816a84a19a0..0bdf7fff0091 100644 --- a/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/docs/resource/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-resource-schema-custom-pypackage-name/docs/resource/_index.md @@ -31,12 +31,12 @@ no_edit_this_page: true
@overload
 def Resource(resource_name: str,
-             opts: Optional[ResourceOptions] = None,
+             opts: Optional[ResourceOptions] = None,
              bar: Optional[str] = None)
 @overload
 def Resource(resource_name: str,
              args: Optional[ResourceArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -116,7 +116,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
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 e62de3bd8fff..e6664316b577 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 @@ -31,12 +31,12 @@ no_edit_this_page: true
@overload
 def BarResource(resource_name: str,
-                opts: Optional[ResourceOptions] = None,
+                opts: Optional[ResourceOptions] = None,
                 foo: Optional[Resource] = None)
 @overload
 def BarResource(resource_name: str,
                 args: Optional[BarResourceArgs] = None,
-                opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -116,7 +116,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
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 37b03b43dbd2..c4f4ddb88655 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 @@ -31,12 +31,12 @@ no_edit_this_page: true
@overload
 def FooResource(resource_name: str,
-                opts: Optional[ResourceOptions] = None,
+                opts: Optional[ResourceOptions] = None,
                 foo: Optional[Resource] = None)
 @overload
 def FooResource(resource_name: str,
                 args: Optional[FooResourceArgs] = None,
-                opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -116,7 +116,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
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 7b6bb1fe8b54..fb5ed5c3c336 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 @@ -31,12 +31,12 @@ no_edit_this_page: true
@overload
 def OtherResource(resource_name: str,
-                  opts: Optional[ResourceOptions] = None,
+                  opts: Optional[ResourceOptions] = None,
                   foo: Optional[Resource] = None)
 @overload
 def OtherResource(resource_name: str,
                   args: Optional[OtherResourceArgs] = None,
-                  opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -116,7 +116,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/overlayresource/_index.md b/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/overlayresource/_index.md index 88a344c05057..78cea700a551 100644 --- a/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/overlayresource/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/overlayresource/_index.md @@ -31,13 +31,13 @@ no_edit_this_page: true
@overload
 def OverlayResource(resource_name: str,
-                    opts: Optional[ResourceOptions] = None,
+                    opts: Optional[ResourceOptions] = None,
                     bar: Optional[EnumOverlay] = None,
                     foo: Optional[ConfigMapOverlayArgs] = None)
 @overload
 def OverlayResource(resource_name: str,
                     args: Optional[OverlayResourceArgs] = None,
-                    opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -117,7 +117,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/provider/_index.md index 32b1ee1cb169..2990f2ed2094 100644 --- a/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/provider/_index.md @@ -31,11 +31,11 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/resource/_index.md b/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/resource/_index.md index f296f39d5826..637abde9785b 100644 --- a/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/resource/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/resource/_index.md @@ -31,12 +31,12 @@ no_edit_this_page: true
@overload
 def Resource(resource_name: str,
-             opts: Optional[ResourceOptions] = None,
+             opts: Optional[ResourceOptions] = None,
              bar: Optional[str] = None)
 @overload
 def Resource(resource_name: str,
              args: Optional[ResourceArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -116,7 +116,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/typeuses/_index.md b/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/typeuses/_index.md index 602e51b6e6e1..18902f3a70d1 100644 --- a/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/typeuses/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-resource-schema/docs/typeuses/_index.md @@ -31,14 +31,14 @@ no_edit_this_page: true
@overload
 def TypeUses(resource_name: str,
-             opts: Optional[ResourceOptions] = None,
+             opts: Optional[ResourceOptions] = None,
              bar: Optional[SomeOtherObjectArgs] = None,
              baz: Optional[ObjectWithNodeOptionalInputsArgs] = None,
              foo: Optional[ObjectArgs] = None)
 @overload
 def TypeUses(resource_name: str,
              args: Optional[TypeUsesArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -118,7 +118,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
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 a92556289d66..44fa10303933 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 @@ -31,13 +31,13 @@ no_edit_this_page: true
@overload
 def OtherResource(resource_name: str,
-                  opts: Optional[ResourceOptions] = None,
+                  opts: Optional[ResourceOptions] = None,
                   bar: Optional[Sequence[str]] = None,
                   foo: Optional[Resource] = None)
 @overload
 def OtherResource(resource_name: str,
                   args: Optional[OtherResourceArgs] = None,
-                  opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -117,7 +117,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/provider/_index.md b/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/provider/_index.md index 32b1ee1cb169..2990f2ed2094 100644 --- a/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/provider/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/provider/_index.md @@ -31,11 +31,11 @@ no_edit_this_page: true
@overload
 def Provider(resource_name: str,
-             opts: Optional[ResourceOptions] = None)
+             opts: Optional[ResourceOptions] = None)
 @overload
 def Provider(resource_name: str,
              args: Optional[ProviderArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -115,7 +115,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/resource/_index.md b/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/resource/_index.md index 0816a84a19a0..0bdf7fff0091 100644 --- a/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/resource/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/resource/_index.md @@ -31,12 +31,12 @@ no_edit_this_page: true
@overload
 def Resource(resource_name: str,
-             opts: Optional[ResourceOptions] = None,
+             opts: Optional[ResourceOptions] = None,
              bar: Optional[str] = None)
 @overload
 def Resource(resource_name: str,
              args: Optional[ResourceArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -116,7 +116,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
diff --git a/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/typeuses/_index.md b/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/typeuses/_index.md index 261fa457b6c6..ef7e9e7dc1e1 100644 --- a/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/typeuses/_index.md +++ b/pkg/codegen/testing/test/testdata/simple-yaml-schema/docs/typeuses/_index.md @@ -31,7 +31,7 @@ no_edit_this_page: true
@overload
 def TypeUses(resource_name: str,
-             opts: Optional[ResourceOptions] = None,
+             opts: Optional[ResourceOptions] = None,
              bar: Optional[SomeOtherObjectArgs] = None,
              baz: Optional[ObjectWithNodeOptionalInputsArgs] = None,
              foo: Optional[ObjectArgs] = None,
@@ -39,7 +39,7 @@ no_edit_this_page: true
 @overload
 def TypeUses(resource_name: str,
              args: Optional[TypeUsesArgs] = None,
-             opts: Optional[ResourceOptions] = None)
+ opts: Optional[ResourceOptions] = None)
@@ -119,7 +119,7 @@ no_edit_this_page: true class="property-optional" title="Optional"> opts - ResourceOptions + ResourceOptions
Bag of options to control resource's behavior.
From 72cba44bcf9c18d85a013c1c78da641e2b4f01c8 Mon Sep 17 00:00:00 2001 From: Aaron Friel Date: Wed, 7 Dec 2022 18:42:42 -0800 Subject: [PATCH 15/36] ci: Fix extraneous alpha draft releases --- .github/workflows/on-pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/on-pr.yml b/.github/workflows/on-pr.yml index 5c6647b2ff99..804c332fcb48 100644 --- a/.github/workflows/on-pr.yml +++ b/.github/workflows/on-pr.yml @@ -71,7 +71,7 @@ jobs: prepare-release: name: prepare - if: | + if: >- # No newlines or trailing newline. ${{ github.event.pull_request.head.repo.full_name == github.repository && contains(github.event.pull_request.labels.*.name, 'ci/test') From 19330602f630a9d1e2299c6976de849da713f066 Mon Sep 17 00:00:00 2001 From: Fraser Waters Date: Fri, 2 Dec 2022 14:42:20 +0000 Subject: [PATCH 16/36] Escape `${` & `%{` in string literals --- pkg/codegen/hcl2/model/expression.go | 31 +++++++++++++++++++++--- pkg/codegen/hcl2/model/print_test.go | 21 +++++++++++++++- pkg/codegen/importer/hcl2_test.go | 10 +++++--- pkg/codegen/importer/language.go | 2 +- pkg/codegen/importer/testdata/cases.json | 2 +- 5 files changed, 57 insertions(+), 9 deletions(-) diff --git a/pkg/codegen/hcl2/model/expression.go b/pkg/codegen/hcl2/model/expression.go index 62b31800442a..58ed16503cad 100644 --- a/pkg/codegen/hcl2/model/expression.go +++ b/pkg/codegen/hcl2/model/expression.go @@ -1281,9 +1281,9 @@ func literalText(value cty.Value, rawBytes []byte, escaped, quoted bool) string if !escaped { return value.AsString() } - s := strconv.Quote(value.AsString()) - if !quoted { - return s[1 : len(s)-1] + s := escapeString(value.AsString()) + if quoted { + return fmt.Sprintf(`"%s"`, s) } return s default: @@ -1291,6 +1291,31 @@ func literalText(value cty.Value, rawBytes []byte, escaped, quoted bool) string } } +func escapeString(s string) string { + // escape special characters + s = strconv.Quote(s) + s = s[1 : len(s)-1] // Remove surrounding double quote (`"`) + + // Escape `${` + runes := []rune(s) + out := make([]rune, 0, len(runes)) + for i, r := range runes { + next := func() rune { + if i >= len(runes)-1 { + return 0 + } + return runes[i+1] + } + if r == '$' && next() == '{' { + out = append(out, '$') + } else if r == '%' && next() == '{' { + out = append(out, '%') + } + out = append(out, r) + } + return string(out) +} + // LiteralValueExpression represents a semantically-analyzed literal value expression. type LiteralValueExpression struct { // The syntax node associated with the literal value expression. diff --git a/pkg/codegen/hcl2/model/print_test.go b/pkg/codegen/hcl2/model/print_test.go index 172ee1a6f1a6..8615887b407b 100644 --- a/pkg/codegen/hcl2/model/print_test.go +++ b/pkg/codegen/hcl2/model/print_test.go @@ -20,9 +20,28 @@ func TestPrintNoTokens(t *testing.T) { Value: cty.True, }, }, + &Attribute{ + Name: "literal", + Value: &TemplateExpression{ + Parts: []Expression{ + &LiteralValueExpression{ + Value: cty.StringVal("foo${bar} %{"), + }, + &LiteralValueExpression{ + Value: cty.StringVal("$"), + }, + &LiteralValueExpression{ + Value: cty.StringVal("%{"), + }, + }, + }, + }, }, }, } - expected := "block {\n attribute = true\n}" + expected := `block { + attribute = true + literal = "foo$${bar} %%{$%%{" +}` assert.Equal(t, expected, fmt.Sprintf("%v", b)) } diff --git a/pkg/codegen/importer/hcl2_test.go b/pkg/codegen/importer/hcl2_test.go index a6fd817265cb..79a5fae48a31 100644 --- a/pkg/codegen/importer/hcl2_test.go +++ b/pkg/codegen/importer/hcl2_test.go @@ -89,10 +89,14 @@ func renderLiteralValue(t *testing.T, x *model.LiteralValueExpression) resource. } func renderTemplate(t *testing.T, x *model.TemplateExpression) resource.PropertyValue { - if !assert.Len(t, x.Parts, 1) { - return resource.NewStringProperty("") + if len(x.Parts) == 1 { + return renderLiteralValue(t, x.Parts[0].(*model.LiteralValueExpression)) } - return renderLiteralValue(t, x.Parts[0].(*model.LiteralValueExpression)) + b := "" + for _, p := range x.Parts { + b += p.(*model.LiteralValueExpression).Value.AsString() + } + return resource.NewStringProperty(b) } func renderObjectCons(t *testing.T, x *model.ObjectConsExpression) resource.PropertyValue { diff --git a/pkg/codegen/importer/language.go b/pkg/codegen/importer/language.go index 90fb8c953a85..0e838e8c42a3 100644 --- a/pkg/codegen/importer/language.go +++ b/pkg/codegen/importer/language.go @@ -80,7 +80,7 @@ func GenerateLanguageDefinitions(w io.Writer, loader schema.Loader, gen Language } parser := syntax.NewParser() - if err := parser.ParseFile(&hcl2Text, string("anonymous.pp")); err != nil { + if err := parser.ParseFile(&hcl2Text, "anonymous.pp"); err != nil { return err } if parser.Diagnostics.HasErrors() { diff --git a/pkg/codegen/importer/testdata/cases.json b/pkg/codegen/importer/testdata/cases.json index 05965f277808..aa301b908e71 100644 --- a/pkg/codegen/importer/testdata/cases.json +++ b/pkg/codegen/importer/testdata/cases.json @@ -1556,7 +1556,7 @@ "type": "random:index/randomId:RandomId", "inputs": { "byteLength": 42, - "prefix": "foobar" + "prefix": "f${oo}ba%{}r" } } ] From 8e99749c1a40b2df0b0e16b07ef3314d10350a28 Mon Sep 17 00:00:00 2001 From: Ian Wahbe Date: Thu, 8 Dec 2022 16:00:17 +0100 Subject: [PATCH 17/36] Interpret schema.Asset as pcl.AssetOrArchive --- ...amgen--interpret-schema-asset-as-pcl-assetorarchive.yaml | 4 ++++ pkg/codegen/pcl/binder_schema.go | 6 +++++- pkg/codegen/testing/test/program_driver.go | 1 - 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 changelog/pending/20221208--programgen--interpret-schema-asset-as-pcl-assetorarchive.yaml diff --git a/changelog/pending/20221208--programgen--interpret-schema-asset-as-pcl-assetorarchive.yaml b/changelog/pending/20221208--programgen--interpret-schema-asset-as-pcl-assetorarchive.yaml new file mode 100644 index 000000000000..15e4e15c697d --- /dev/null +++ b/changelog/pending/20221208--programgen--interpret-schema-asset-as-pcl-assetorarchive.yaml @@ -0,0 +1,4 @@ +changes: +- type: fix + scope: programgen + description: Interpret schema.Asset as pcl.AssetOrArchive. diff --git a/pkg/codegen/pcl/binder_schema.go b/pkg/codegen/pcl/binder_schema.go index 5c88a4e01eda..8ed904939bd1 100644 --- a/pkg/codegen/pcl/binder_schema.go +++ b/pkg/codegen/pcl/binder_schema.go @@ -389,7 +389,11 @@ func (b *binder) schemaTypeToType(src schema.Type) model.Type { case schema.ArchiveType: return ArchiveType case schema.AssetType: - return AssetType + // Generated SDK code accepts assets or archives when schema.AssetType is + // specified. In an effort to keep PCL type checking in sync with our + // generated SDKs, we match the SDKs behavior when translating schema types to + // PCL types. + return AssetOrArchiveType case schema.JSONType: fallthrough case schema.AnyType: diff --git a/pkg/codegen/testing/test/program_driver.go b/pkg/codegen/testing/test/program_driver.go index 28356c74114c..e97a64e8374d 100644 --- a/pkg/codegen/testing/test/program_driver.go +++ b/pkg/codegen/testing/test/program_driver.go @@ -249,7 +249,6 @@ var PulumiPulumiYAMLProgramTests = []ProgramTest{ Directory: transpiled("azure-app-service"), Description: "Azure App Service", Skip: codegen.NewStringSet("go", "dotnet"), - BindOptions: []pcl.BindOption{pcl.SkipResourceTypechecking}, }, { Directory: transpiled("azure-container-apps"), From 5e9bda092a891fb26770174cbc6f5cc1351003bf Mon Sep 17 00:00:00 2001 From: Ian Wahbe Date: Thu, 8 Dec 2022 14:36:44 +0100 Subject: [PATCH 18/36] Don't use *schema.Package in nodejs codegen --- pkg/codegen/nodejs/doc.go | 4 +- pkg/codegen/nodejs/gen.go | 103 +++++++++++------- pkg/codegen/nodejs/gen_program.go | 26 +++-- pkg/codegen/nodejs/gen_program_expressions.go | 8 +- 4 files changed, 89 insertions(+), 52 deletions(-) diff --git a/pkg/codegen/nodejs/doc.go b/pkg/codegen/nodejs/doc.go index 4f60bbab14d7..f346105c41a1 100644 --- a/pkg/codegen/nodejs/doc.go +++ b/pkg/codegen/nodejs/doc.go @@ -77,7 +77,7 @@ func (d DocLanguageHelper) GetLanguageTypeString(pkg *schema.Package, moduleName } modCtx := &modContext{ - pkg: pkg, + pkg: pkg.Reference(), mod: moduleName, } typeName := modCtx.typeString(t, input, nil) @@ -114,7 +114,7 @@ func (d DocLanguageHelper) GetMethodResultName(pkg *schema.Package, modName stri if info, ok := pkg.Language["nodejs"].(NodePackageInfo); ok { if info.LiftSingleValueMethodReturns && m.Function.Outputs != nil && len(m.Function.Outputs.Properties) == 1 { modCtx := &modContext{ - pkg: pkg, + pkg: pkg.Reference(), mod: modName, } return modCtx.typeString(m.Function.Outputs.Properties[0].Type, false, nil) diff --git a/pkg/codegen/nodejs/gen.go b/pkg/codegen/nodejs/gen.go index 40241014db09..23adc5882478 100644 --- a/pkg/codegen/nodejs/gen.go +++ b/pkg/codegen/nodejs/gen.go @@ -128,7 +128,7 @@ func externalModuleName(s string) string { } type modContext struct { - pkg *schema.Package + pkg schema.PackageReference mod string types []*schema.ObjectType enums []*schema.EnumType @@ -180,15 +180,17 @@ func (mod *modContext) tokenToModName(tok string) string { return modName } -func (mod *modContext) namingContext(pkg *schema.Package) (namingCtx *modContext, pkgName string, external bool) { +func (mod *modContext) namingContext(pkg schema.PackageReference) (namingCtx *modContext, pkgName string, external bool) { namingCtx = mod - if pkg != nil && pkg != mod.pkg { + if pkg != nil && !codegen.PkgEquals(pkg, mod.pkg) { external = true - pkgName = pkg.Name + "." + pkgName = pkg.Name() + "." var info NodePackageInfo - contract.AssertNoError(pkg.ImportLanguages(map[string]schema.Language{"nodejs": Importer})) - if v, ok := pkg.Language["nodejs"].(NodePackageInfo); ok { + def, err := pkg.Definition() + contract.AssertNoError(err) + contract.AssertNoError(def.ImportLanguages(map[string]schema.Language{"nodejs": Importer})) + if v, ok := def.Language["nodejs"].(NodePackageInfo); ok { info = v } namingCtx = &modContext{ @@ -200,7 +202,7 @@ func (mod *modContext) namingContext(pkg *schema.Package) (namingCtx *modContext return } -func (mod *modContext) objectType(pkg *schema.Package, details *typeDetails, tok string, input, args, enum bool) string { +func (mod *modContext) objectType(pkg schema.PackageReference, details *typeDetails, tok string, input, args, enum bool) string { root := "outputs." if input { @@ -238,7 +240,7 @@ func (mod *modContext) objectType(pkg *schema.Package, details *typeDetails, tok func (mod *modContext) resourceType(r *schema.ResourceType) string { if strings.HasPrefix(r.Token, "pulumi:providers:") { pkgName := strings.TrimPrefix(r.Token, "pulumi:providers:") - if pkgName != mod.pkg.Name { + if pkgName != mod.pkg.Name() { pkgName = externalModuleName(pkgName) } @@ -247,7 +249,7 @@ func (mod *modContext) resourceType(r *schema.ResourceType) string { pkg := mod.pkg if r.Resource != nil { - pkg = r.Resource.Package + pkg = r.Resource.PackageReference } namingCtx, pkgName, external := mod.namingContext(pkg) if external { @@ -298,14 +300,14 @@ func (mod *modContext) typeAst(t schema.Type, input bool, constValue interface{} } return tstypes.Identifier(fmt.Sprintf("pulumi.Input<%s>", typ)) case *schema.EnumType: - return tstypes.Identifier(mod.objectType(t.Package, nil, t.Token, input, false, true)) + return tstypes.Identifier(mod.objectType(t.PackageReference, nil, t.Token, input, false, true)) case *schema.ArrayType: return tstypes.Array(mod.typeAst(t.ElementType, input, constValue)) case *schema.MapType: return tstypes.StringMap(mod.typeAst(t.ElementType, input, constValue)) case *schema.ObjectType: details := mod.details(t) - return tstypes.Identifier(mod.objectType(t.Package, details, t.Token, input, t.IsInputShape(), false)) + return tstypes.Identifier(mod.objectType(t.PackageReference, details, t.Token, input, t.IsInputShape(), false)) case *schema.ResourceType: return tstypes.Identifier(mod.resourceType(t)) case *schema.TokenType: @@ -670,7 +672,7 @@ func (mod *modContext) genResource(w io.Writer, r *schema.Resource) (resourceFil pulumiType := r.Token if r.IsProvider { - pulumiType = mod.pkg.Name + pulumiType = mod.pkg.Name() } fmt.Fprintf(w, " /** @internal */\n") @@ -1314,7 +1316,9 @@ func (mod *modContext) getTypeImportsForResource(t schema.Type, recurse bool, ex } var nodePackageInfo NodePackageInfo - if languageInfo, hasLanguageInfo := mod.pkg.Language["nodejs"]; hasLanguageInfo { + def, err := mod.pkg.Definition() + contract.AssertNoError(err) + if languageInfo, hasLanguageInfo := def.Language["nodejs"]; hasLanguageInfo { nodePackageInfo = languageInfo.(NodePackageInfo) } @@ -1337,16 +1341,16 @@ func (mod *modContext) getTypeImportsForResource(t schema.Type, recurse bool, ex return mod.getTypeImports(t.ElementType, recurse, externalImports, imports, seen) case *schema.EnumType: // If the enum is from another package, add an import for the external package. - if t.Package != nil && t.Package != mod.pkg { - pkg := t.Package.Name + if t.PackageReference != nil && !codegen.PkgEquals(t.PackageReference, mod.pkg) { + pkg := t.PackageReference.Name() writeImports(pkg) return false } return true case *schema.ObjectType: // If it's from another package, add an import for the external package. - if t.Package != nil && t.Package != mod.pkg { - pkg := t.Package.Name + if t.PackageReference != nil && !codegen.PkgEquals(t.PackageReference, mod.pkg) { + pkg := t.PackageReference.Name() writeImports(pkg) return false } @@ -1357,8 +1361,8 @@ func (mod *modContext) getTypeImportsForResource(t schema.Type, recurse bool, ex return true case *schema.ResourceType: // If it's from another package, add an import for the external package. - if t.Resource != nil && t.Resource.Package != mod.pkg { - pkg := t.Resource.Package.Name + if t.Resource != nil && !codegen.PkgEquals(t.Resource.PackageReference, mod.pkg) { + pkg := t.Resource.PackageReference.Name() writeImports(pkg) return false } @@ -1510,7 +1514,7 @@ func (mod *modContext) genConfig(w io.Writer, variables []*schema.Property) erro fmt.Fprintf(w, "declare var exports: any;\n") // Create a config bag for the variables to pull from. - fmt.Fprintf(w, "const __config = new pulumi.Config(\"%v\");\n", mod.pkg.Name) + fmt.Fprintf(w, "const __config = new pulumi.Config(\"%v\");\n", mod.pkg.Name()) fmt.Fprintf(w, "\n") // Emit an entry for all config variables. @@ -1561,9 +1565,11 @@ func (mod *modContext) sdkImports(nested, utilities bool) []string { fmt.Sprintf(`import * as outputs from "%s/types/output";`, relRoot), }...) - if mod.pkg.Language["nodejs"].(NodePackageInfo).ContainsEnums { + def, err := mod.pkg.Definition() + contract.AssertNoError(err) + if def.Language["nodejs"].(NodePackageInfo).ContainsEnums { code := `import * as enums from "%s/types/enums";` - if lookupNodePackageInfo(mod.pkg).UseTypeOnlyReferences { + if lookupNodePackageInfo(def).UseTypeOnlyReferences { code = `import type * as enums from "%s/types/enums";` } imports = append(imports, fmt.Sprintf(code, relRoot)) @@ -1754,7 +1760,9 @@ func (mod *modContext) isReservedSourceFileName(name string) bool { case "utilities.ts": return mod.mod == "" case "vars.ts": - return len(mod.pkg.Config) > 0 + config, err := mod.pkg.Config() + contract.AssertNoError(err) + return len(config) > 0 default: return false } @@ -1800,26 +1808,34 @@ func (mod *modContext) gen(fs codegen.Fs) error { fs.Add(p, []byte(contents)) } + def, err := mod.pkg.Definition() + if err != nil { + return err + } + // Utilities, config, readme switch mod.mod { case "": buffer := &bytes.Buffer{} mod.genHeader(buffer, nil, nil, nil) - mod.genUtilitiesFile(buffer) + err := mod.genUtilitiesFile(buffer) + if err != nil { + return err + } fs.Add(path.Join(modDir, "utilities.ts"), buffer.Bytes()) // Ensure that the top-level (provider) module directory contains a README.md file. - readme := mod.pkg.Language["nodejs"].(NodePackageInfo).Readme + readme := def.Language["nodejs"].(NodePackageInfo).Readme if readme == "" { - readme = mod.pkg.Description + readme = def.Description if readme != "" && readme[len(readme)-1] != '\n' { readme += "\n" } - if mod.pkg.Attribution != "" { + if def.Attribution != "" { if len(readme) != 0 { readme += "\n" } - readme += mod.pkg.Attribution + readme += def.Attribution } } if readme != "" && readme[len(readme)-1] != '\n' { @@ -1827,9 +1843,9 @@ func (mod *modContext) gen(fs codegen.Fs) error { } fs.Add(path.Join(modDir, "README.md"), []byte(readme)) case "config": - if len(mod.pkg.Config) > 0 { + if len(def.Config) > 0 { buffer := &bytes.Buffer{} - if err := mod.genConfig(buffer, mod.pkg.Config); err != nil { + if err := mod.genConfig(buffer, def.Config); err != nil { return err } addFile(otherFileType, "vars.ts", buffer.String()) @@ -1904,7 +1920,7 @@ func (mod *modContext) gen(fs codegen.Fs) error { // Nested types // Importing enums always imports inputs and outputs, so if we have enums we generate inputs and outputs - if len(mod.types) > 0 || (mod.pkg.Language["nodejs"].(NodePackageInfo).ContainsEnums && mod.mod == "types") { + if len(mod.types) > 0 || (def.Language["nodejs"].(NodePackageInfo).ContainsEnums && mod.mod == "types") { input, output, err := mod.genTypes() if err != nil { return err @@ -1975,7 +1991,10 @@ func (mod *modContext) genIndex(exports []fileInfo) string { } } - info, _ := mod.pkg.Language["nodejs"].(NodePackageInfo) + def, err := mod.pkg.Definition() + contract.AssertNoError(err) + + info, _ := def.Language["nodejs"].(NodePackageInfo) if info.ContainsEnums { if mod.mod == "types" { children.Add("enums") @@ -2050,7 +2069,7 @@ func (mod *modContext) genResourceModule(w io.Writer) { continue } - registrations.Add(mod.pkg.TokenToRuntimeModule(r.Token)) + registrations.Add(schema.TokenToRuntimeModule(r.Token)) } fmt.Fprintf(w, "\nconst _module = {\n") @@ -2078,12 +2097,12 @@ func (mod *modContext) genResourceModule(w io.Writer) { fmt.Fprintf(w, " },\n") fmt.Fprintf(w, "};\n") for _, name := range registrations.SortedValues() { - fmt.Fprintf(w, "pulumi.runtime.registerResourceModule(\"%v\", \"%v\", _module)\n", mod.pkg.Name, name) + fmt.Fprintf(w, "pulumi.runtime.registerResourceModule(\"%v\", \"%v\", _module)\n", mod.pkg.Name(), name) } } if provider != nil { - fmt.Fprintf(w, "pulumi.runtime.registerResourcePackage(\"%v\", {\n", mod.pkg.Name) + fmt.Fprintf(w, "pulumi.runtime.registerResourcePackage(\"%v\", {\n", mod.pkg.Name()) fmt.Fprintf(w, " version: utilities.getVersion(),\n") fmt.Fprintf(w, " constructProvider: (name: string, type: string, urn: string): pulumi.ProviderResource => {\n") fmt.Fprintf(w, " if (type !== \"%v\") {\n", provider.Token) @@ -2352,7 +2371,7 @@ func generateModuleContextMap(tool string, pkg *schema.Package, extraFiles map[s mod, ok := modules[modName] if !ok { mod = &modContext{ - pkg: pkg, + pkg: pkg.Reference(), mod: modName, tool: tool, compatibility: info.Compatibility, @@ -2571,7 +2590,7 @@ func GeneratePackage(tool string, pkg *schema.Package, extraFiles map[string][]b return files, nil } -func (mod *modContext) genUtilitiesFile(w io.Writer) { +func (mod *modContext) genUtilitiesFile(w io.Writer) error { const body = ` export function getEnv(...vars: string[]): string | undefined { for (const v of vars) { @@ -2636,12 +2655,16 @@ export function lazyLoad(exports: any, props: string[], loadModule: any) { } } ` + def, err := mod.pkg.Definition() + if err != nil { + return err + } var pluginDownloadURL string - if url := mod.pkg.PluginDownloadURL; url != "" { + if url := def.PluginDownloadURL; url != "" { pluginDownloadURL = fmt.Sprintf(", pluginDownloadURL: %q", url) } - _, err := fmt.Fprintf(w, body, pluginDownloadURL) - contract.AssertNoError(err) + _, err = fmt.Fprintf(w, body, pluginDownloadURL) + return err } func genInstallScript(pluginDownloadURL string) string { diff --git a/pkg/codegen/nodejs/gen_program.go b/pkg/codegen/nodejs/gen_program.go index e8caac5626ee..ec2dae39ff2b 100644 --- a/pkg/codegen/nodejs/gen_program.go +++ b/pkg/codegen/nodejs/gen_program.go @@ -73,7 +73,10 @@ func GenerateProgram(program *pcl.Program) (map[string][]byte, hcl.Diagnostics, } var index bytes.Buffer - g.genPreamble(&index, program, preambleHelperMethods) + err = g.genPreamble(&index, program, preambleHelperMethods) + if err != nil { + return nil, nil, err + } for _, n := range nodes { if g.asyncMain { break @@ -281,7 +284,7 @@ func (g *generator) genComment(w io.Writer, comment syntax.Comment) { } } -func (g *generator) genPreamble(w io.Writer, program *pcl.Program, preambleHelperMethods codegen.StringSet) { +func (g *generator) genPreamble(w io.Writer, program *pcl.Program, preambleHelperMethods codegen.StringSet) error { // Print the @pulumi/pulumi import at the top. g.Fprintln(w, `import * as pulumi from "@pulumi/pulumi";`) @@ -296,8 +299,12 @@ func (g *generator) genPreamble(w io.Writer, program *pcl.Program, preambleHelpe continue } pkgName := "@pulumi/" + pkg - if r.Schema != nil && r.Schema.Package != nil { - if info, ok := r.Schema.Package.Language["nodejs"].(NodePackageInfo); ok && info.PackageName != "" { + if r.Schema != nil && r.Schema.PackageReference != nil { + def, err := r.Schema.PackageReference.Definition() + if err != nil { + return err + } + if info, ok := def.Language["nodejs"].(NodePackageInfo); ok && info.PackageName != "" { pkgName = info.PackageName } npmToPuPkgName[pkgName] = pkg @@ -345,6 +352,7 @@ func (g *generator) genPreamble(w io.Writer, program *pcl.Program, preambleHelpe for _, preambleHelperMethodBody := range preambleHelperMethods.SortedValues() { g.Fprintf(w, "%s\n\n", preambleHelperMethodBody) } + return nil } func (g *generator) genNode(w io.Writer, n pcl.Node) { @@ -384,18 +392,20 @@ func resourceTypeName(r *pcl.Resource) (string, string, string, hcl.Diagnostics) pkg, module, member, diagnostics := r.DecomposeToken() if r.Schema != nil { - module = moduleName(module, r.Schema.Package) + module = moduleName(module, r.Schema.PackageReference) } return makeValidIdentifier(pkg), module, title(member), diagnostics } -func moduleName(module string, pkg *schema.Package) string { +func moduleName(module string, pkg schema.PackageReference) string { // Normalize module. if pkg != nil { - err := pkg.ImportLanguages(map[string]schema.Language{"nodejs": Importer}) + def, err := pkg.Definition() + contract.AssertNoError(err) + err = def.ImportLanguages(map[string]schema.Language{"nodejs": Importer}) contract.AssertNoError(err) - if lang, ok := pkg.Language["nodejs"]; ok { + if lang, ok := def.Language["nodejs"]; ok { pkgInfo := lang.(NodePackageInfo) if m, ok := pkgInfo.ModuleToPackage[module]; ok { module = m diff --git a/pkg/codegen/nodejs/gen_program_expressions.go b/pkg/codegen/nodejs/gen_program_expressions.go index c4b142f6c195..c5daeb8bd5eb 100644 --- a/pkg/codegen/nodejs/gen_program_expressions.go +++ b/pkg/codegen/nodejs/gen_program_expressions.go @@ -309,11 +309,15 @@ func enumName(enum *model.EnumType) (string, error) { if !ok { return "", fmt.Errorf("Could not get associated enum") } - if name := e.(*schema.EnumType).Package.Language["nodejs"].(NodePackageInfo).PackageName; name != "" { + def, err := e.(*schema.EnumType).PackageReference.Definition() + if err != nil { + return "", err + } + if name := def.Language["nodejs"].(NodePackageInfo).PackageName; name != "" { pkg = name } if mod := components[1]; mod != "" && mod != "index" { - if pkg := e.(*schema.EnumType).Package; pkg != nil { + if pkg := e.(*schema.EnumType).PackageReference; pkg != nil { mod = moduleName(mod, pkg) } pkg += "." + mod From 6ff61ae1ae7b5ee6ef8b56297156e3dfdb049ae2 Mon Sep 17 00:00:00 2001 From: Ian Wahbe Date: Thu, 8 Dec 2022 15:23:07 +0100 Subject: [PATCH 19/36] Don't use `*schema.Package` in .NET codegen --- pkg/codegen/dotnet/doc.go | 4 +- pkg/codegen/dotnet/gen.go | 105 ++++++++++-------- pkg/codegen/dotnet/gen_program.go | 6 +- pkg/codegen/dotnet/gen_program_expressions.go | 4 +- 4 files changed, 70 insertions(+), 49 deletions(-) diff --git a/pkg/codegen/dotnet/doc.go b/pkg/codegen/dotnet/doc.go index 77749ed1dd44..6ac2ce29e426 100644 --- a/pkg/codegen/dotnet/doc.go +++ b/pkg/codegen/dotnet/doc.go @@ -79,7 +79,7 @@ func (d DocLanguageHelper) GetLanguageTypeString(pkg *schema.Package, moduleName } typeDetails := map[*schema.ObjectType]*typeDetails{} mod := &modContext{ - pkg: pkg, + pkg: pkg.Reference(), mod: moduleName, typeDetails: typeDetails, namespaces: d.Namespaces, @@ -114,7 +114,7 @@ func (d DocLanguageHelper) GetMethodResultName(pkg *schema.Package, modName stri if info.LiftSingleValueMethodReturns && m.Function.Outputs != nil && len(m.Function.Outputs.Properties) == 1 { typeDetails := map[*schema.ObjectType]*typeDetails{} mod := &modContext{ - pkg: pkg, + pkg: pkg.Reference(), mod: modName, typeDetails: typeDetails, namespaces: d.Namespaces, diff --git a/pkg/codegen/dotnet/gen.go b/pkg/codegen/dotnet/gen.go index 21f09f3391bd..e2ab8dd01fce 100644 --- a/pkg/codegen/dotnet/gen.go +++ b/pkg/codegen/dotnet/gen.go @@ -125,7 +125,7 @@ func namespaceName(namespaces map[string]string, name string) string { } type modContext struct { - pkg *schema.Package + pkg schema.PackageReference mod string propertyNames map[*schema.Property]string types []*schema.ObjectType @@ -372,13 +372,15 @@ func (mod *modContext) typeString(t schema.Type, qualifier string, input, state, return fmt.Sprintf("%v", mapType, mod.typeString(t.ElementType, qualifier, input, state, false)) case *schema.ObjectType: namingCtx := mod - if t.Package != mod.pkg { + if !codegen.PkgEquals(t.PackageReference, mod.pkg) { // If object type belongs to another package, we apply naming conventions from that package, // including namespace naming and compatibility mode. - extPkg := t.Package + extPkg := t.PackageReference var info CSharpPackageInfo - contract.AssertNoError(extPkg.ImportLanguages(map[string]schema.Language{"csharp": Importer})) - if v, ok := t.Package.Language["csharp"].(CSharpPackageInfo); ok { + def, err := extPkg.Definition() + contract.AssertNoError(err) + contract.AssertNoError(def.ImportLanguages(map[string]schema.Language{"csharp": Importer})) + if v, ok := def.Language["csharp"].(CSharpPackageInfo); ok { info = v } namingCtx = &modContext{ @@ -406,13 +408,15 @@ func (mod *modContext) typeString(t schema.Type, qualifier string, input, state, } namingCtx := mod - if t.Resource != nil && t.Resource.Package != mod.pkg { + if t.Resource != nil && !codegen.PkgEquals(t.Resource.PackageReference, mod.pkg) { // If resource type belongs to another package, we apply naming conventions from that package, // including namespace naming and compatibility mode. - extPkg := t.Resource.Package + extPkg := t.Resource.PackageReference var info CSharpPackageInfo - contract.AssertNoError(extPkg.ImportLanguages(map[string]schema.Language{"csharp": Importer})) - if v, ok := t.Resource.Package.Language["csharp"].(CSharpPackageInfo); ok { + def, err := extPkg.Definition() + contract.AssertNoError(err) + contract.AssertNoError(def.ImportLanguages(map[string]schema.Language{"csharp": Importer})) + if v, ok := def.Language["csharp"].(CSharpPackageInfo); ok { info = v } namingCtx = &modContext{ @@ -906,7 +910,7 @@ func (mod *modContext) genResource(w io.Writer, r *schema.Resource) error { if r.DeprecationMessage != "" { fmt.Fprintf(w, " [Obsolete(@\"%s\")]\n", strings.Replace(r.DeprecationMessage, `"`, `""`, -1)) } - fmt.Fprintf(w, " [%sResourceType(\"%s\")]\n", namespaceName(mod.namespaces, mod.pkg.Name), r.Token) + fmt.Fprintf(w, " [%sResourceType(\"%s\")]\n", namespaceName(mod.namespaces, mod.pkg.Name()), r.Token) fmt.Fprintf(w, " public partial class %s : %s\n", className, baseType) fmt.Fprintf(w, " {\n") @@ -967,7 +971,7 @@ func (mod *modContext) genResource(w io.Writer, r *schema.Resource) error { tok := r.Token if r.IsProvider { - tok = mod.pkg.Name + tok = mod.pkg.Name() } argsOverride := fmt.Sprintf("args ?? new %sArgs()", className) @@ -1046,7 +1050,11 @@ func (mod *modContext) genResource(w io.Writer, r *schema.Resource) error { fmt.Fprintf(w, " var defaultOptions = new %s\n", optionsType) fmt.Fprintf(w, " {\n") fmt.Fprintf(w, " Version = Utilities.Version,\n") - if url := mod.pkg.PluginDownloadURL; url != "" { + def, err := mod.pkg.Definition() + if err != nil { + return err + } + if url := def.PluginDownloadURL; url != "" { fmt.Fprintf(w, " PluginDownloadURL = %q,\n", url) } @@ -1702,7 +1710,7 @@ func (mod *modContext) getTypeImportsForResource(t schema.Type, recurse bool, im case *schema.ResourceType: // If it's an external resource, we'll be using fully-qualified type names, so there's no need // for an import. - if t.Resource != nil && t.Resource.Package != mod.pkg { + if t.Resource != nil && !codegen.PkgEquals(t.Resource.PackageReference, mod.pkg) { return } @@ -1875,7 +1883,7 @@ func (mod *modContext) genConfig(variables []*schema.Property) (string, error) { fmt.Fprintf(w, "\n") // Create a config bag for the variables to pull from. - fmt.Fprintf(w, " private static readonly global::Pulumi.Config __config = new global::Pulumi.Config(\"%v\");\n", mod.pkg.Name) + fmt.Fprintf(w, " private static readonly global::Pulumi.Config __config = new global::Pulumi.Config(\"%v\");\n", mod.pkg.Name()) fmt.Fprintf(w, "\n") // Emit an entry for all config variables. @@ -1953,12 +1961,16 @@ func (mod *modContext) genConfig(variables []*schema.Property) (string, error) { func (mod *modContext) genUtilities() (string, error) { // Strip any 'v' off of the version. w := &bytes.Buffer{} - err := csharpUtilitiesTemplate.Execute(w, csharpUtilitiesTemplateContext{ - Name: namespaceName(mod.namespaces, mod.pkg.Name), + def, err := mod.pkg.Definition() + if err != nil { + return "", err + } + err = csharpUtilitiesTemplate.Execute(w, csharpUtilitiesTemplateContext{ + Name: namespaceName(mod.namespaces, mod.pkg.Name()), Namespace: mod.namespaceName, ClassName: "Utilities", Tool: mod.tool, - PluginDownloadURL: mod.pkg.PluginDownloadURL, + PluginDownloadURL: def.PluginDownloadURL, }) if err != nil { return "", err @@ -1997,7 +2009,7 @@ func (mod *modContext) gen(fs codegen.Fs) error { } // Ensure that the target module directory contains a README.md file. - readme := mod.pkg.Description + readme := mod.pkg.Description() if readme != "" && readme[len(readme)-1] != '\n' { readme += "\n" } @@ -2012,8 +2024,12 @@ func (mod *modContext) gen(fs codegen.Fs) error { } fs.Add("Utilities.cs", []byte(utilities)) case "config": - if len(mod.pkg.Config) > 0 { - config, err := mod.genConfig(mod.pkg.Config) + config, err := mod.pkg.Config() + if err != nil { + return err + } + if len(config) > 0 { + config, err := mod.genConfig(config) if err != nil { return err } @@ -2252,19 +2268,20 @@ type LanguageResource struct { func generateModuleContextMap(tool string, pkg *schema.Package) (map[string]*modContext, *CSharpPackageInfo, error) { // Decode .NET-specific info for each package as we discover them. infos := map[*schema.Package]*CSharpPackageInfo{} - var getPackageInfo = func(p *schema.Package) *CSharpPackageInfo { - info, ok := infos[p] + var getPackageInfo = func(p schema.PackageReference) *CSharpPackageInfo { + def, err := p.Definition() + contract.AssertNoError(err) + info, ok := infos[def] if !ok { - if err := p.ImportLanguages(map[string]schema.Language{"csharp": Importer}); err != nil { - panic(err) - } + err := def.ImportLanguages(map[string]schema.Language{"csharp": Importer}) + contract.AssertNoError(err) csharpInfo, _ := pkg.Language["csharp"].(CSharpPackageInfo) info = &csharpInfo - infos[p] = info + infos[def] = info } return info } - infos[pkg] = getPackageInfo(pkg) + infos[pkg] = getPackageInfo(pkg.Reference()) propertyNames := map[*schema.Property]string{} computePropertyNames(pkg.Config, propertyNames) @@ -2304,8 +2321,8 @@ func generateModuleContextMap(tool string, pkg *schema.Package) (map[string]*mod modules := map[string]*modContext{} details := map[*schema.ObjectType]*typeDetails{} - var getMod func(modName string, p *schema.Package) *modContext - getMod = func(modName string, p *schema.Package) *modContext { + var getMod func(modName string, p schema.PackageReference) *modContext + getMod = func(modName string, p schema.PackageReference) *modContext { mod, ok := modules[modName] if !ok { info := getPackageInfo(p) @@ -2338,41 +2355,41 @@ func generateModuleContextMap(tool string, pkg *schema.Package) (map[string]*mod // Save the module only if it's for the current package. // This way, modules for external packages are not saved. - if p == pkg { + if codegen.PkgEquals(p, pkg.Reference()) { modules[modName] = mod } } return mod } - getModFromToken := func(token string, p *schema.Package) *modContext { + getModFromToken := func(token string, p schema.PackageReference) *modContext { return getMod(p.TokenToModule(token), p) } // Create the config module if necessary. if len(pkg.Config) > 0 { - cfg := getMod("config", pkg) + cfg := getMod("config", pkg.Reference()) cfg.namespaceName = fmt.Sprintf("%s.%s", cfg.RootNamespace(), namespaceName(infos[pkg].Namespaces, pkg.Name)) } visitObjectTypes(pkg.Config, func(t *schema.ObjectType) { - getModFromToken(t.Token, pkg).details(t).outputType = true + getModFromToken(t.Token, pkg.Reference()).details(t).outputType = true }) // Find input and output types referenced by resources. scanResource := func(r *schema.Resource) { - mod := getModFromToken(r.Token, pkg) + mod := getModFromToken(r.Token, pkg.Reference()) mod.resources = append(mod.resources, r) visitObjectTypes(r.Properties, func(t *schema.ObjectType) { - getModFromToken(t.Token, t.Package).details(t).outputType = true + getModFromToken(t.Token, t.PackageReference).details(t).outputType = true }) visitObjectTypes(r.InputProperties, func(t *schema.ObjectType) { - getModFromToken(t.Token, t.Package).details(t).inputType = true + getModFromToken(t.Token, t.PackageReference).details(t).inputType = true }) if r.StateInputs != nil { visitObjectTypes(r.StateInputs.Properties, func(t *schema.ObjectType) { - getModFromToken(t.Token, t.Package).details(t).inputType = true - getModFromToken(t.Token, t.Package).details(t).stateType = true + getModFromToken(t.Token, t.PackageReference).details(t).inputType = true + getModFromToken(t.Token, t.PackageReference).details(t).stateType = true }) } } @@ -2389,19 +2406,19 @@ func generateModuleContextMap(tool string, pkg *schema.Package) (map[string]*mod continue } - mod := getModFromToken(f.Token, pkg) + mod := getModFromToken(f.Token, pkg.Reference()) if !f.IsMethod { mod.functions = append(mod.functions, f) } if f.Inputs != nil { visitObjectTypes(f.Inputs.Properties, func(t *schema.ObjectType) { - details := getModFromToken(t.Token, t.Package).details(t) + details := getModFromToken(t.Token, t.PackageReference).details(t) details.inputType = true details.plainType = true }) if f.NeedsOutputVersion() { visitObjectTypes(f.Inputs.InputShape.Properties, func(t *schema.ObjectType) { - details := getModFromToken(t.Token, t.Package).details(t) + details := getModFromToken(t.Token, t.PackageReference).details(t) details.inputType = true details.usedInFunctionOutputVersionInputs = true }) @@ -2409,7 +2426,7 @@ func generateModuleContextMap(tool string, pkg *schema.Package) (map[string]*mod } if f.Outputs != nil { visitObjectTypes(f.Outputs.Properties, func(t *schema.ObjectType) { - details := getModFromToken(t.Token, t.Package).details(t) + details := getModFromToken(t.Token, t.PackageReference).details(t) details.outputType = true details.plainType = true }) @@ -2420,11 +2437,11 @@ func generateModuleContextMap(tool string, pkg *schema.Package) (map[string]*mod for _, t := range pkg.Types { switch typ := t.(type) { case *schema.ObjectType: - mod := getModFromToken(typ.Token, pkg) + mod := getModFromToken(typ.Token, pkg.Reference()) mod.types = append(mod.types, typ) case *schema.EnumType: if !typ.IsOverlay { - mod := getModFromToken(typ.Token, pkg) + mod := getModFromToken(typ.Token, pkg.Reference()) mod.enums = append(mod.enums, typ) } default: diff --git a/pkg/codegen/dotnet/gen_program.go b/pkg/codegen/dotnet/gen_program.go index cac2587b0ba3..e5e6f832989e 100644 --- a/pkg/codegen/dotnet/gen_program.go +++ b/pkg/codegen/dotnet/gen_program.go @@ -316,8 +316,10 @@ func (g *generator) genPreamble(w io.Writer, program *pcl.Program) { if pkg != pulumiPackage { namespace := namespaceName(g.namespaces[pkg], pkg) var info CSharpPackageInfo - if r.Schema != nil && r.Schema.Package != nil { - if csharpinfo, ok := r.Schema.Package.Language["csharp"].(CSharpPackageInfo); ok { + if r.Schema != nil && r.Schema.PackageReference != nil { + def, err := r.Schema.PackageReference.Definition() + contract.AssertNoError(err) + if csharpinfo, ok := def.Language["csharp"].(CSharpPackageInfo); ok { info = csharpinfo } } diff --git a/pkg/codegen/dotnet/gen_program_expressions.go b/pkg/codegen/dotnet/gen_program_expressions.go index 4f9f88cdb081..2d9c0a3b3a48 100644 --- a/pkg/codegen/dotnet/gen_program_expressions.go +++ b/pkg/codegen/dotnet/gen_program_expressions.go @@ -301,7 +301,9 @@ func enumName(enum *model.EnumType) (string, string) { if !ok { return "", "" } - namespaceMap := e.(*schema.EnumType).Package.Language["csharp"].(CSharpPackageInfo).Namespaces + def, err := e.(*schema.EnumType).PackageReference.Definition() + contract.AssertNoError(err) + namespaceMap := def.Language["csharp"].(CSharpPackageInfo).Namespaces namespace := namespaceName(namespaceMap, components[0]) if components[1] != "" && components[1] != "index" { namespace += "." + namespaceName(namespaceMap, components[1]) From 7ae9c181d05f255a8c06490844bdcdb66ea623e4 Mon Sep 17 00:00:00 2001 From: Ian Wahbe Date: Thu, 8 Dec 2022 11:45:46 +0100 Subject: [PATCH 20/36] Don't use *schema.Package in go codegen --- pkg/codegen/go/doc.go | 5 +- pkg/codegen/go/gen.go | 214 ++++++++++++++-------- pkg/codegen/go/gen_crd2pulumi.go | 5 +- pkg/codegen/go/gen_program.go | 3 +- pkg/codegen/go/gen_program_expressions.go | 11 +- pkg/codegen/go/gen_test.go | 17 +- 6 files changed, 165 insertions(+), 90 deletions(-) diff --git a/pkg/codegen/go/doc.go b/pkg/codegen/go/doc.go index ca641a1dc74a..8f4dda888aa3 100644 --- a/pkg/codegen/go/doc.go +++ b/pkg/codegen/go/doc.go @@ -26,6 +26,7 @@ import ( "github.com/golang/glog" "github.com/pulumi/pulumi/pkg/v3/codegen" "github.com/pulumi/pulumi/pkg/v3/codegen/schema" + "github.com/pulumi/pulumi/sdk/v3/go/common/util/contract" ) const pulumiSDKVersion = "v3" @@ -98,7 +99,9 @@ func (d DocLanguageHelper) GetLanguageTypeString(pkg *schema.Package, moduleName // GeneratePackagesMap generates a map of Go packages for resources, functions and types. func (d *DocLanguageHelper) GeneratePackagesMap(pkg *schema.Package, tool string, goInfo GoPackageInfo) { - d.packages = generatePackageContextMap(tool, pkg, goInfo, nil) + var err error + d.packages, err = generatePackageContextMap(tool, pkg.Reference(), goInfo, nil) + contract.AssertNoError(err) } // GetPropertyName returns the property name specific to Go. diff --git a/pkg/codegen/go/gen.go b/pkg/codegen/go/gen.go index 298b0b8a82c1..f8e26cc9fdfd 100644 --- a/pkg/codegen/go/gen.go +++ b/pkg/codegen/go/gen.go @@ -103,7 +103,7 @@ func Title(s string) string { return s } -func tokenToPackage(pkg *schema.Package, overrides map[string]string, tok string) string { +func tokenToPackage(pkg schema.PackageReference, overrides map[string]string, tok string) string { mod := pkg.TokenToModule(tok) if override, ok := overrides[mod]; ok { mod = override @@ -140,7 +140,7 @@ func (c *Cache) setContextMap(pkg *schema.Package, m map[string]*pkgContext) { } type pkgContext struct { - pkg *schema.Package + pkg schema.PackageReference mod string importBasePath string rootPackageName string @@ -226,7 +226,9 @@ func (pkg *pkgContext) tokenToType(tok string) string { return name } if mod == "" { - mod = packageRoot(pkg.pkg) + var err error + mod, err = packageRoot(pkg.pkg) + contract.AssertNoError(err) } var importPath string @@ -624,30 +626,26 @@ func (pkg *pkgContext) isExternalReference(t schema.Type) bool { // Return if `t` is external to `pkg`. If so, the associated foreign schema.Package is returned. func (pkg *pkgContext) isExternalReferenceWithPackage(t schema.Type) ( - isExternal bool, extPkg *schema.Package, token string) { - var err error + isExternal bool, extPkg schema.PackageReference, token string) { switch typ := t.(type) { case *schema.ObjectType: - isExternal = typ.Package != nil && pkg.pkg != nil && typ.Package != pkg.pkg + isExternal = typ.PackageReference != nil && !codegen.PkgEquals(typ.PackageReference, pkg.pkg) if isExternal { - extPkg, err = typ.PackageReference.Definition() - contract.AssertNoError(err) + extPkg = typ.PackageReference token = typ.Token } return case *schema.ResourceType: - isExternal = typ.Resource != nil && pkg.pkg != nil && typ.Resource.Package != pkg.pkg + isExternal = typ.Resource != nil && pkg.pkg != nil && !codegen.PkgEquals(typ.Resource.PackageReference, pkg.pkg) if isExternal { - extPkg, err = typ.Resource.PackageReference.Definition() - contract.AssertNoError(err) + extPkg = typ.Resource.PackageReference token = typ.Token } return case *schema.EnumType: - isExternal = pkg.pkg != nil && typ.Package != pkg.pkg + isExternal = pkg.pkg != nil && !codegen.PkgEquals(typ.PackageReference, pkg.pkg) if isExternal { - extPkg, err = typ.PackageReference.Definition() - contract.AssertNoError(err) + extPkg = typ.PackageReference token = typ.Token } return @@ -666,7 +664,7 @@ func (pkg *pkgContext) resolveResourceType(t *schema.ResourceType) string { extPkgCtx, _ := pkg.contextForExternalReference(t) resType := extPkgCtx.tokenToResource(t.Token) if !strings.Contains(resType, ".") { - resType = fmt.Sprintf("%s.%s", extPkgCtx.pkg.Name, resType) + resType = fmt.Sprintf("%s.%s", extPkgCtx.pkg.Name(), resType) } return resType } @@ -694,8 +692,10 @@ func (pkg *pkgContext) contextForExternalReference(t schema.Type) (*pkgContext, contract.Assert(isExternal) var goInfo GoPackageInfo - contract.AssertNoError(extPkg.ImportLanguages(map[string]schema.Language{"go": Importer})) - if info, ok := extPkg.Language["go"].(GoPackageInfo); ok { + extDef, err := extPkg.Definition() + contract.AssertNoError(err) + contract.AssertNoError(extDef.ImportLanguages(map[string]schema.Language{"go": Importer})) + if info, ok := extDef.Language["go"].(GoPackageInfo); ok { goInfo = info } else { goInfo.ImportBasePath = extractImportBasePath(extPkg) @@ -705,7 +705,9 @@ func (pkg *pkgContext) contextForExternalReference(t schema.Type) (*pkgContext, // Ensure that any package import aliases we have specified locally take precedence over those // specified in the remote package. - if ourPkgGoInfoI, has := pkg.pkg.Language["go"]; has { + def, err := pkg.pkg.Definition() + contract.AssertNoError(err) + if ourPkgGoInfoI, has := def.Language["go"]; has { ourPkgGoInfo := ourPkgGoInfoI.(GoPackageInfo) if len(ourPkgGoInfo.PackageImportAliases) > 0 { pkgImportAliases = make(map[string]string) @@ -722,11 +724,12 @@ func (pkg *pkgContext) contextForExternalReference(t schema.Type) (*pkgContext, var maps map[string]*pkgContext - if extMap, ok := pkg.externalPackages.lookupContextMap(extPkg); ok { + if extMap, ok := pkg.externalPackages.lookupContextMap(extDef); ok { maps = extMap } else { - maps = generatePackageContextMap(pkg.tool, extPkg, goInfo, pkg.externalPackages) - pkg.externalPackages.setContextMap(extPkg, maps) + maps, err = generatePackageContextMap(pkg.tool, extPkg, goInfo, pkg.externalPackages) + contract.AssertNoError(err) + pkg.externalPackages.setContextMap(extDef, maps) } extPkgCtx := maps[""] extPkgCtx.pkgImportAliases = pkgImportAliases @@ -1792,7 +1795,10 @@ func (pkg *pkgContext) genResource(w io.Writer, r *schema.Resource, generateReso fmt.Fprint(w, "\topts = append(opts, replaceOnChanges)\n") } - pkg.GenPkgDefaultsOptsCall(w, false /*invoke*/) + err := pkg.GenPkgDefaultsOptsCall(w, false /*invoke*/) + if err != nil { + return err + } // Finally make the call to registration. fmt.Fprintf(w, "\tvar resource %s\n", name) @@ -2129,7 +2135,10 @@ func (pkg *pkgContext) genFunction(w io.Writer, f *schema.Function) error { outputsType = name + "Result" } - pkg.GenPkgDefaultsOptsCall(w, true /*invoke*/) + err := pkg.GenPkgDefaultsOptsCall(w, true /*invoke*/) + if err != nil { + return err + } fmt.Fprintf(w, "\tvar rv %s\n", outputsType) fmt.Fprintf(w, "\terr := ctx.Invoke(\"%s\", %s, &rv, opts...)\n", f.Token, inputsVar) @@ -2735,13 +2744,13 @@ func (pkg *pkgContext) getTypeImports(t schema.Type, recurse bool, importsAndAli } } -func extractImportBasePath(extPkg *schema.Package) string { - version := extPkg.Version.Major +func extractImportBasePath(extPkg schema.PackageReference) string { + version := extPkg.Version().Major var vPath string if version > 1 { vPath = fmt.Sprintf("/v%d", version) } - return fmt.Sprintf("github.com/pulumi/pulumi-%s/sdk%s/go/%s", extPkg.Name, vPath, extPkg.Name) + return fmt.Sprintf("github.com/pulumi/pulumi-%s/sdk%s/go/%s", extPkg.Name(), vPath, extPkg.Name()) } func (pkg *pkgContext) getImports(member interface{}, importsAndAliases map[string]string) { @@ -2799,7 +2808,9 @@ func (pkg *pkgContext) genHeader(w io.Writer, goImports []string, importsAndAlia var pkgName string if pkg.mod == "" { - pkgName = packageName(pkg.pkg) + def, err := pkg.pkg.Definition() + contract.AssertNoError(err) + pkgName = packageName(def) } else { pkgName = path.Base(pkg.mod) } @@ -2869,7 +2880,7 @@ func (pkg *pkgContext) genConfig(w io.Writer, variables []*schema.Property) erro } printCommentWithDeprecationMessage(w, p.Comment, p.DeprecationMessage, false) - configKey := fmt.Sprintf("\"%s:%s\"", pkg.pkg.Name, cgstrings.Camel(p.Name)) + configKey := fmt.Sprintf("\"%s:%s\"", pkg.pkg.Name(), cgstrings.Camel(p.Name)) fmt.Fprintf(w, "func Get%s(ctx *pulumi.Context) %s {\n", Title(p.Name), getType) if p.DefaultValue != nil { @@ -2896,7 +2907,7 @@ func (pkg *pkgContext) genConfig(w io.Writer, variables []*schema.Property) erro // Pulumi runtime. The generated ResourceModule supports the deserialization of resource references into fully- // hydrated Resource instances. If this is the root module, this function also generates a ResourcePackage // definition and its registration to support rehydrating providers. -func (pkg *pkgContext) genResourceModule(w io.Writer) { +func (pkg *pkgContext) genResourceModule(w io.Writer) error { contract.Assert(len(pkg.resources) != 0) allResourcesAreOverlays := true for _, r := range pkg.resources { @@ -2907,7 +2918,7 @@ func (pkg *pkgContext) genResourceModule(w io.Writer) { } if allResourcesAreOverlays { // If all resources in this module are overlays, skip further code generation. - return + return nil } basePath := pkg.importBasePath @@ -2928,7 +2939,11 @@ func (pkg *pkgContext) genResourceModule(w io.Writer) { // If there are any internal dependencies, include them as blank imports. if topLevelModule { - if goInfo, ok := pkg.pkg.Language["go"].(GoPackageInfo); ok { + def, err := pkg.pkg.Definition() + if err != nil { + return err + } + if goInfo, ok := def.Language["go"].(GoPackageInfo); ok { for _, dep := range goInfo.InternalDependencies { imports[dep] = "_" } @@ -2985,7 +3000,7 @@ func (pkg *pkgContext) genResourceModule(w io.Writer) { fmt.Fprintf(w, "}\n\n") fmt.Fprintf(w, "func (p *pkg) ConstructProvider(ctx *pulumi.Context, name, typ, urn string) (pulumi.ProviderResource, error) {\n") - fmt.Fprintf(w, "\tif typ != \"pulumi:providers:%s\" {\n", pkg.pkg.Name) + fmt.Fprintf(w, "\tif typ != \"pulumi:providers:%s\" {\n", pkg.pkg.Name()) fmt.Fprintf(w, "\t\treturn nil, fmt.Errorf(\"unknown provider type: %%s\", typ)\n") fmt.Fprintf(w, "\t}\n\n") fmt.Fprintf(w, "\tr := &Provider{}\n") @@ -3017,7 +3032,7 @@ func (pkg *pkgContext) genResourceModule(w io.Writer) { if len(registrations) > 0 { for _, mod := range registrations.SortedValues() { fmt.Fprintf(w, "\tpulumi.RegisterResourceModule(\n") - fmt.Fprintf(w, "\t\t%q,\n", pkg.pkg.Name) + fmt.Fprintf(w, "\t\t%q,\n", pkg.pkg.Name()) fmt.Fprintf(w, "\t\t%q,\n", mod) fmt.Fprintf(w, "\t\t&module{version},\n") fmt.Fprintf(w, "\t)\n") @@ -3025,15 +3040,16 @@ func (pkg *pkgContext) genResourceModule(w io.Writer) { } if provider != nil { fmt.Fprintf(w, "\tpulumi.RegisterResourcePackage(\n") - fmt.Fprintf(w, "\t\t%q,\n", pkg.pkg.Name) + fmt.Fprintf(w, "\t\t%q,\n", pkg.pkg.Name()) fmt.Fprintf(w, "\t\t&pkg{version},\n") fmt.Fprintf(w, "\t)\n") } - fmt.Fprintf(w, "}\n") + _, err := fmt.Fprintf(w, "}\n") + return err } // generatePackageContextMap groups resources, types, and functions into Go packages. -func generatePackageContextMap(tool string, pkg *schema.Package, goInfo GoPackageInfo, externalPkgs *Cache) map[string]*pkgContext { +func generatePackageContextMap(tool string, pkg schema.PackageReference, goInfo GoPackageInfo, externalPkgs *Cache) (map[string]*pkgContext, error) { packages := map[string]*pkgContext{} // Share the cache @@ -3085,7 +3101,11 @@ func generatePackageContextMap(tool string, pkg *schema.Package, goInfo GoPackag } } - if len(pkg.Config) > 0 { + config, err := pkg.Config() + if err != nil { + return nil, err + } + if len(config) > 0 { _ = getPkg("config") } @@ -3176,13 +3196,17 @@ func generatePackageContextMap(tool string, pkg *schema.Package, goInfo GoPackag } // Rewrite cyclic types. See the docs on rewriteCyclicFields for the motivation. - rewriteCyclicObjectFields(pkg) + def, err := pkg.Definition() + if err != nil { + return nil, err + } + rewriteCyclicObjectFields(def) // Use a string set to track object types that have already been processed. // This avoids recursively processing the same type. For example, in the // Kubernetes package, JSONSchemaProps have properties whose type is itself. seenMap := codegen.NewStringSet() - for _, t := range pkg.Types { + for _, t := range def.Types { switch typ := t.(type) { case *schema.ArrayType: details := getPkgFromType(typ.ElementType).detailsForType(codegen.UnwrapType(typ.ElementType)) @@ -3293,8 +3317,8 @@ func generatePackageContextMap(tool string, pkg *schema.Package, goInfo GoPackag } } - scanResource(pkg.Provider) - for _, r := range pkg.Resources { + scanResource(def.Provider) + for _, r := range def.Resources { scanResource(r) } @@ -3402,7 +3426,7 @@ func generatePackageContextMap(tool string, pkg *schema.Package, goInfo GoPackag } } - for _, t := range pkg.Types { + for _, t := range def.Types { scanType(t) } @@ -3410,7 +3434,7 @@ func generatePackageContextMap(tool string, pkg *schema.Package, goInfo GoPackag // input or output property type metadata, in case they have // types used in array or pointer element positions. if !goInfo.DisableFunctionOutputVersions || goInfo.GenerateExtraInputTypes { - for _, f := range pkg.Functions { + for _, f := range def.Functions { if f.NeedsOutputVersion() || goInfo.GenerateExtraInputTypes { optional := false if f.Inputs != nil { @@ -3423,7 +3447,7 @@ func generatePackageContextMap(tool string, pkg *schema.Package, goInfo GoPackag } } - for _, f := range pkg.Functions { + for _, f := range def.Functions { if f.IsMethod { continue } @@ -3454,7 +3478,7 @@ func generatePackageContextMap(tool string, pkg *schema.Package, goInfo GoPackag } } - return packages + return packages, nil } // LanguageResource is derived from the schema and can be used by downstream codegen. @@ -3479,7 +3503,10 @@ func LanguageResources(tool string, pkg *schema.Package) (map[string]LanguageRes if goInfo, ok := pkg.Language["go"].(GoPackageInfo); ok { goPkgInfo = goInfo } - packages := generatePackageContextMap(tool, pkg, goPkgInfo, globalCache) + packages, err := generatePackageContextMap(tool, pkg.Reference(), goPkgInfo, globalCache) + if err != nil { + return nil, err + } // emit each package var pkgMods []string @@ -3517,19 +3544,23 @@ func LanguageResources(tool string, pkg *schema.Package) (map[string]LanguageRes // source file should be under this root. For example: // // root = aws => sdk/go/aws/*.go -func packageRoot(pkg *schema.Package) string { +func packageRoot(pkg schema.PackageReference) (string, error) { + def, err := pkg.Definition() + if err != nil { + return "", err + } var info GoPackageInfo - if goInfo, ok := pkg.Language["go"].(GoPackageInfo); ok { + if goInfo, ok := def.Language["go"].(GoPackageInfo); ok { info = goInfo } if info.RootPackageName != "" { // package structure is flat - return "" + return "", nil } if info.ImportBasePath != "" { - return path.Base(info.ImportBasePath) + return path.Base(info.ImportBasePath), nil } - return goPackage(pkg.Name) + return goPackage(pkg.Name()), nil } // packageName is the go package name for the generated package. @@ -3541,7 +3572,9 @@ func packageName(pkg *schema.Package) string { if info.RootPackageName != "" { return info.RootPackageName } - return goPackage(packageRoot(pkg)) + root, err := packageRoot(pkg.Reference()) + contract.AssertNoErrorf(err, "We generated the ref from a pkg, so we know its a valid ref") + return goPackage(root) } func GeneratePackage(tool string, pkg *schema.Package) (map[string][]byte, error) { @@ -3553,7 +3586,10 @@ func GeneratePackage(tool string, pkg *schema.Package) (map[string][]byte, error if goInfo, ok := pkg.Language["go"].(GoPackageInfo); ok { goPkgInfo = goInfo } - packages := generatePackageContextMap(tool, pkg, goPkgInfo, NewCache()) + packages, err := generatePackageContextMap(tool, pkg.Reference(), goPkgInfo, NewCache()) + if err != nil { + return nil, err + } // emit each package var pkgMods []string @@ -3563,7 +3599,10 @@ func GeneratePackage(tool string, pkg *schema.Package) (map[string][]byte, error sort.Strings(pkgMods) name := packageName(pkg) - pathPrefix := packageRoot(pkg) + pathPrefix, err := packageRoot(pkg.Reference()) + if err != nil { + return nil, err + } files := codegen.Fs{} @@ -3602,8 +3641,8 @@ func GeneratePackage(tool string, pkg *schema.Package) (map[string][]byte, error switch mod { case "": buffer := &bytes.Buffer{} - if pkg.pkg.Description != "" { - printComment(buffer, pkg.pkg.Description, false) + if pkg.pkg.Description() != "" { + printComment(buffer, pkg.pkg.Description(), false) } else { fmt.Fprintf(buffer, "// Package %[1]s exports types, functions, subpackages for provisioning %[1]s resources.\n", name) } @@ -3612,9 +3651,13 @@ func GeneratePackage(tool string, pkg *schema.Package) (map[string][]byte, error setFile(path.Join(mod, "doc.go"), buffer.String()) case "config": - if len(pkg.pkg.Config) > 0 { + config, err := pkg.pkg.Config() + if err != nil { + return nil, err + } + if len(config) > 0 { buffer := &bytes.Buffer{} - if err := pkg.genConfig(buffer, pkg.pkg.Config); err != nil { + if err := pkg.genConfig(buffer, config); err != nil { return nil, err } @@ -3729,12 +3772,15 @@ func GeneratePackage(tool string, pkg *schema.Package) (map[string][]byte, error } pkg.genHeader(buffer, []string{"fmt", "os", "reflect", "regexp", "strconv", "strings"}, importsAndAliases) - packageRegex := fmt.Sprintf("^.*/pulumi-%s/sdk(/v\\d+)?", pkg.pkg.Name) + packageRegex := fmt.Sprintf("^.*/pulumi-%s/sdk(/v\\d+)?", pkg.pkg.Name()) if pkg.rootPackageName != "" { packageRegex = fmt.Sprintf("^%s(/v\\d+)?", pkg.importBasePath) } - pkg.GenUtilitiesFile(buffer, packageRegex) + err := pkg.GenUtilitiesFile(buffer, packageRegex) + if err != nil { + return nil, err + } setFile(path.Join(mod, "pulumiUtilities.go"), buffer.String()) } @@ -3742,7 +3788,10 @@ func GeneratePackage(tool string, pkg *schema.Package) (map[string][]byte, error // If there are resources in this module, register the module with the runtime. if len(pkg.resources) != 0 && !allResourcesAreOverlays(pkg.resources) { buffer := &bytes.Buffer{} - pkg.genResourceModule(buffer) + err := pkg.genResourceModule(buffer) + if err != nil { + return nil, err + } setFile(path.Join(mod, "init.go"), buffer.String()) } @@ -3802,7 +3851,7 @@ func goPackage(name string) string { return strings.ReplaceAll(name, "-", "") } -func (pkg *pkgContext) GenUtilitiesFile(w io.Writer, packageRegex string) { +func (pkg *pkgContext) GenUtilitiesFile(w io.Writer, packageRegex string) error { const utilitiesFile = ` type envParser func(v string) interface{} @@ -3876,14 +3925,20 @@ func isZero(v interface{}) bool { } ` _, err := fmt.Fprintf(w, utilitiesFile, packageRegex) - contract.AssertNoError(err) - pkg.GenPkgDefaultOpts(w) + if err != nil { + return err + } + return pkg.GenPkgDefaultOpts(w) } -func (pkg *pkgContext) GenPkgDefaultOpts(w io.Writer) { - url := pkg.pkg.PluginDownloadURL +func (pkg *pkgContext) GenPkgDefaultOpts(w io.Writer) error { + p, err := pkg.pkg.Definition() + if err != nil { + return err + } + url := p.PluginDownloadURL if url == "" { - return + return nil } const template string = ` // pkg%[1]sDefaultOpts provides package level defaults to pulumi.Option%[1]s. @@ -3895,28 +3950,35 @@ func pkg%[1]sDefaultOpts(opts []pulumi.%[1]sOption) []pulumi.%[1]sOption { ` pluginDownloadURL := fmt.Sprintf("pulumi.PluginDownloadURL(%q)", url) version := "" - if info := pkg.pkg.Language["go"]; info != nil { - if info.(GoPackageInfo).RespectSchemaVersion && pkg.pkg.Version != nil { - version = fmt.Sprintf(", pulumi.Version(%q)", pkg.pkg.Version.String()) + if info := p.Language["go"]; info != nil { + if info.(GoPackageInfo).RespectSchemaVersion && pkg.pkg.Version() != nil { + version = fmt.Sprintf(", pulumi.Version(%q)", p.Version.String()) } } for _, typ := range []string{"Resource", "Invoke"} { _, err := fmt.Fprintf(w, template, typ, pluginDownloadURL, version) - contract.AssertNoError(err) + if err != nil { + return err + } } + return nil } // GenPkgDefaultsOptsCall generates a call to Pkg{TYPE}DefaultsOpts. -func (pkg *pkgContext) GenPkgDefaultsOptsCall(w io.Writer, invoke bool) { +func (pkg *pkgContext) GenPkgDefaultsOptsCall(w io.Writer, invoke bool) error { // The `pkg%sDefaultOpts` call won't do anything, so we don't insert it. - if pkg.pkg.PluginDownloadURL == "" { - return + p, err := pkg.pkg.Definition() + if err != nil { + return err + } + if p.PluginDownloadURL == "" { + return nil } pkg.needsUtils = true typ := "Resource" if invoke { typ = "Invoke" } - _, err := fmt.Fprintf(w, "\topts = pkg%sDefaultOpts(opts)\n", typ) - contract.AssertNoError(err) + _, err = fmt.Fprintf(w, "\topts = pkg%sDefaultOpts(opts)\n", typ) + return err } diff --git a/pkg/codegen/go/gen_crd2pulumi.go b/pkg/codegen/go/gen_crd2pulumi.go index cd4c86e90df4..28808c867556 100644 --- a/pkg/codegen/go/gen_crd2pulumi.go +++ b/pkg/codegen/go/gen_crd2pulumi.go @@ -18,7 +18,10 @@ func CRDTypes(tool string, pkg *schema.Package) (map[string]*bytes.Buffer, error if goInfo, ok := pkg.Language["go"].(GoPackageInfo); ok { goPkgInfo = goInfo } - packages := generatePackageContextMap(tool, pkg, goPkgInfo, nil) + packages, err := generatePackageContextMap(tool, pkg.Reference(), goPkgInfo, nil) + if err != nil { + return nil, err + } var pkgMods []string for mod := range packages { diff --git a/pkg/codegen/go/gen_program.go b/pkg/codegen/go/gen_program.go index edbbec1d1cf8..fb6fd53b738b 100644 --- a/pkg/codegen/go/gen_program.go +++ b/pkg/codegen/go/gen_program.go @@ -272,7 +272,8 @@ func getPackages(tool string, pkg *schema.Package, cache *Cache) map[string]*pkg if goInfo, ok := pkg.Language["go"].(GoPackageInfo); ok { goPkgInfo = goInfo } - v := generatePackageContextMap(tool, pkg, goPkgInfo, cache) + v, err := generatePackageContextMap(tool, pkg.Reference(), goPkgInfo, cache) + contract.AssertNoError(err) packageContexts.Store(pkg, v) return v } diff --git a/pkg/codegen/go/gen_program_expressions.go b/pkg/codegen/go/gen_program_expressions.go index 6660137df39d..03ade930cdb1 100644 --- a/pkg/codegen/go/gen_program_expressions.go +++ b/pkg/codegen/go/gen_program_expressions.go @@ -371,7 +371,10 @@ func outputVersionFunctionArgTypeName(t model.Type, cache *Cache) (string, error return "", fmt.Errorf("Expected a schema.ObjectType, got %s", schemaType.String()) } - pkg := &pkgContext{pkg: &schema.Package{Name: "main"}, externalPackages: cache} + pkg := &pkgContext{ + pkg: (&schema.Package{Name: "main"}).Reference(), + externalPackages: cache, + } var ty string if pkg.isExternalReference(objType) { @@ -781,8 +784,10 @@ func (g *generator) argumentTypeName(expr model.Expression, destType model.Type, } if schemaType, ok := pcl.GetSchemaForType(destType); ok { - pkg := &pkgContext{pkg: &schema.Package{Name: "main"}, externalPackages: g.externalCache} - return pkg.argsType(schemaType) + return (&pkgContext{ + pkg: (&schema.Package{Name: "main"}).Reference(), + externalPackages: g.externalCache, + }).argsType(schemaType) } switch destType := destType.(type) { diff --git a/pkg/codegen/go/gen_test.go b/pkg/codegen/go/gen_test.go index 3f94022ab2d1..2acecde4d190 100644 --- a/pkg/codegen/go/gen_test.go +++ b/pkg/codegen/go/gen_test.go @@ -135,7 +135,8 @@ func TestGenerateTypeNames(t *testing.T) { if goInfo, ok := pkg.Language["go"].(GoPackageInfo); ok { goPkgInfo = goInfo } - packages := generatePackageContextMap("test", pkg, goPkgInfo, nil) + packages, err := generatePackageContextMap("test", pkg.Reference(), goPkgInfo, nil) + require.NoError(t, err) root, ok := packages[""] require.True(t, ok) @@ -252,7 +253,7 @@ func TestTokenToType(t *testing.T) { }{ { pkg: &pkgContext{ - pkg: importSpec(t, awsSpec), + pkg: importSpec(t, awsSpec).Reference(), importBasePath: awsImportBasePath, }, token: "aws:s3/BucketWebsite:BucketWebsite", @@ -260,7 +261,7 @@ func TestTokenToType(t *testing.T) { }, { pkg: &pkgContext{ - pkg: importSpec(t, awsSpec), + pkg: importSpec(t, awsSpec).Reference(), importBasePath: awsImportBasePath, pkgImportAliases: map[string]string{ "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/s3": "awss3", @@ -271,7 +272,7 @@ func TestTokenToType(t *testing.T) { }, { pkg: &pkgContext{ - pkg: importSpec(t, googleNativeSpec), + pkg: importSpec(t, googleNativeSpec).Reference(), importBasePath: googleNativeImportBasePath, pkgImportAliases: map[string]string{ "github.com/pulumi/pulumi-google-native/sdk/go/google/dns/v1": "dns", @@ -316,7 +317,7 @@ func TestTokenToResource(t *testing.T) { }{ { pkg: &pkgContext{ - pkg: importSpec(t, awsSpec), + pkg: importSpec(t, awsSpec).Reference(), importBasePath: awsImportBasePath, }, token: "aws:s3/Bucket:Bucket", @@ -324,7 +325,7 @@ func TestTokenToResource(t *testing.T) { }, { pkg: &pkgContext{ - pkg: importSpec(t, awsSpec), + pkg: importSpec(t, awsSpec).Reference(), importBasePath: awsImportBasePath, pkgImportAliases: map[string]string{ "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/s3": "awss3", @@ -335,7 +336,7 @@ func TestTokenToResource(t *testing.T) { }, { pkg: &pkgContext{ - pkg: importSpec(t, googleNativeSpec), + pkg: importSpec(t, googleNativeSpec).Reference(), importBasePath: googleNativeImportBasePath, pkgImportAliases: map[string]string{ "github.com/pulumi/pulumi-google-native/sdk/go/google/dns/v1": "dns", @@ -368,7 +369,7 @@ func TestGenHeader(t *testing.T) { pkg := &pkgContext{ tool: "a tool", - pkg: &schema.Package{Name: "test-pkg"}, + pkg: (&schema.Package{Name: "test-pkg"}).Reference(), } s := func() string { From 0b7360bd1630cbd1af0bb635e113265f5609a378 Mon Sep 17 00:00:00 2001 From: Justin Van Patten Date: Thu, 8 Dec 2022 16:34:50 -0500 Subject: [PATCH 21/36] Prepare for next release --- .version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.version b/.version index ffa235181eba..549b777ead80 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -3.48.1 +3.49.0 From 796166a99a5789ea9bbd92866cfd174a090fc9ec Mon Sep 17 00:00:00 2001 From: Justin Van Patten Date: Thu, 8 Dec 2022 17:16:47 -0500 Subject: [PATCH 22/36] ci: Freeze v3.49.0 for release --- .version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.version b/.version index 549b777ead80..04da28a74b0c 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -3.49.0 +3.49.1 From c39d099fe1178fbeed19762dd6ccf1224354afce Mon Sep 17 00:00:00 2001 From: github-actions Date: Thu, 8 Dec 2022 22:55:26 +0000 Subject: [PATCH 23/36] chore: changelog for v3.49.0 --- CHANGELOG.md | 62 +++++++++++++++++++ ...mment-and-package-statement-in-doc-go.yaml | 4 -- ...qualified-stack-name-to-current-stack.yaml | 4 -- ...nto-bandwidth-optimized-diff-protocol.yaml | 4 -- ...tput-property-for-component-resources.yaml | 4 -- ...8--programgen-nodejs--add-between-and.yaml | 4 -- ...zation-when-generating-fs-readdirsync.yaml | 4 -- ...ng-replaced-but-also-pending-deletion.yaml | 4 -- ...iate-invokes-to-ouputs-when-necessary.yaml | 4 -- ...invalid-enum-values-on-pulumi-convert.yaml | 4 -- ...sion-when-passing-a-provider-to-a-mlc.yaml | 4 -- ...ned-invokes-and-use-explicit-any-type.yaml | 4 -- ...nally-caches-python-venvs-for-testing.yaml | 4 -- ...pes-to-corresponding-pulumi-ptr-types.yaml | 4 -- ...ixes-codegen-python-nonstring-secrets.yaml | 4 -- ...le-variants-to-dotnet-and-nodejs-sdks.yaml | 4 -- ...for-duplicate-output-values-in-python.yaml | 4 -- ...20221207--yaml--updates-yaml-to-1-0-4.yaml | 6 -- ...et-schema-asset-as-pcl-assetorarchive.yaml | 4 -- 19 files changed, 62 insertions(+), 74 deletions(-) delete mode 100644 changelog/pending/20221111--sdkgen-go--fixes-superfluous-newline-being-added-between-documentation-comment-and-package-statement-in-doc-go.yaml delete mode 100644 changelog/pending/20221118--cli-about--add-fully-qualified-stack-name-to-current-stack.yaml delete mode 100644 changelog/pending/20221121--backend-service--allows-the-service-to-opt-into-bandwidth-optimized-diff-protocol.yaml delete mode 100644 changelog/pending/20221125--docs--exclude-id-output-property-for-component-resources.yaml delete mode 100644 changelog/pending/20221128--programgen-nodejs--add-between-and.yaml delete mode 100644 changelog/pending/20221128--programgen-nodejs--fix-capitalization-when-generating-fs-readdirsync.yaml delete mode 100644 changelog/pending/20221129--engine--fix-an-assert-for-resources-being-replaced-but-also-pending-deletion.yaml delete mode 100644 changelog/pending/20221129--programgen-go--convert-the-result-of-immediate-invokes-to-ouputs-when-necessary.yaml delete mode 100644 changelog/pending/20221201--programgen--improve-error-message-for-invalid-enum-values-on-pulumi-convert.yaml delete mode 100644 changelog/pending/20221201--sdk-nodejs--fix-regression-when-passing-a-provider-to-a-mlc.yaml delete mode 100644 changelog/pending/20221202--sdkgen-nodejs--generate-js-doc-comments-for-output-versioned-invokes-and-use-explicit-any-type.yaml delete mode 100644 changelog/pending/20221205--pkg-testing--optionally-caches-python-venvs-for-testing.yaml delete mode 100644 changelog/pending/20221205--sdk--add-methods-to-cast-pointer-types-to-corresponding-pulumi-ptr-types.yaml delete mode 100644 changelog/pending/20221206--pkg--fixes-codegen-python-nonstring-secrets.yaml delete mode 100644 changelog/pending/20221206--sdk-dotnet-nodejs--add-inokesingle-variants-to-dotnet-and-nodejs-sdks.yaml delete mode 100644 changelog/pending/20221206--sdk-python--allows-for-duplicate-output-values-in-python.yaml delete mode 100644 changelog/pending/20221207--yaml--updates-yaml-to-1-0-4.yaml delete mode 100644 changelog/pending/20221208--programgen--interpret-schema-asset-as-pcl-assetorarchive.yaml diff --git a/CHANGELOG.md b/CHANGELOG.md index abfa2904bd37..5f7f0cc2268a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,67 @@ # Changelog +## 3.49.0 (2022-12-08) + + +### Features + +- [sdk] Add methods to cast pointer types to corresponding Pulumi Ptr types + [#11539](https://github.com/pulumi/pulumi/pull/11539) + +- [yaml] [Updates Pulumi YAML to v1.0.4](https://github.com/pulumi/pulumi-yaml/releases/tag/v1.0.4) unblocking Docker Image resource support in a future Docker provider release. + [#11583](https://github.com/pulumi/pulumi/pull/11583) + +- [backend/service] Allows the service to opt into a bandwidth-optimized DIFF protocol for storing checkpoints. Previously this required setting the PULUMI_OPTIMIZED_CHECKPOINT_PATCH env variable on the client. This env variable is now deprecated. + [#11421](https://github.com/pulumi/pulumi/pull/11421) + +- [cli/about] Add fully qualified stack name to current stack. + [#11387](https://github.com/pulumi/pulumi/pull/11387) + +- [sdk/{dotnet,nodejs}] Add InvokeSingle variants to dotnet and nodejs SDKs + [#11564](https://github.com/pulumi/pulumi/pull/11564) + + +### Bug Fixes + +- [docs] Exclude id output property for component resources + [#11469](https://github.com/pulumi/pulumi/pull/11469) + +- [engine] Fix an assert for resources being replaced but also pending deletion. + [#11475](https://github.com/pulumi/pulumi/pull/11475) + +- [pkg] Fixes codegen/python generation of non-string secrets in provider properties + [#11494](https://github.com/pulumi/pulumi/pull/11494) + +- [pkg/testing] Optionally caches python venvs for testing + [#11532](https://github.com/pulumi/pulumi/pull/11532) + +- [programgen] Improve error message for invalid enum values on `pulumi convert`. + [#11019](https://github.com/pulumi/pulumi/pull/11019) + +- [programgen] Interpret schema.Asset as pcl.AssetOrArchive. + [#11593](https://github.com/pulumi/pulumi/pull/11593) + +- [programgen/go] Convert the result of immediate invokes to ouputs when necessary. + [#11480](https://github.com/pulumi/pulumi/pull/11480) + +- [programgen/nodejs] Add `.` between `?` and `[`. + [#11477](https://github.com/pulumi/pulumi/pull/11477) + +- [programgen/nodejs] Fix capitalization when generating `fs.readdirSync`. + [#11478](https://github.com/pulumi/pulumi/pull/11478) + +- [sdk/nodejs] Fix regression when passing a provider to a MLC + [#11509](https://github.com/pulumi/pulumi/pull/11509) + +- [sdk/python] Allows for duplicate output values in python + [#11559](https://github.com/pulumi/pulumi/pull/11559) + +- [sdkgen/go] Fixes superfluous newline being added between documentation comment and package statement in doc.go + [#11492](https://github.com/pulumi/pulumi/pull/11492) + +- [sdkgen/nodejs] Generate JS doc comments for output-versioned invokes and use explicit any type. + [#11511](https://github.com/pulumi/pulumi/pull/11511) + ## 3.48.0 (2022-11-23) diff --git a/changelog/pending/20221111--sdkgen-go--fixes-superfluous-newline-being-added-between-documentation-comment-and-package-statement-in-doc-go.yaml b/changelog/pending/20221111--sdkgen-go--fixes-superfluous-newline-being-added-between-documentation-comment-and-package-statement-in-doc-go.yaml deleted file mode 100644 index 928e08367fa5..000000000000 --- a/changelog/pending/20221111--sdkgen-go--fixes-superfluous-newline-being-added-between-documentation-comment-and-package-statement-in-doc-go.yaml +++ /dev/null @@ -1,4 +0,0 @@ -changes: -- type: fix - scope: sdkgen/go - description: Fixes superfluous newline being added between documentation comment and package statement in doc.go diff --git a/changelog/pending/20221118--cli-about--add-fully-qualified-stack-name-to-current-stack.yaml b/changelog/pending/20221118--cli-about--add-fully-qualified-stack-name-to-current-stack.yaml deleted file mode 100644 index 0eb5cbba99a0..000000000000 --- a/changelog/pending/20221118--cli-about--add-fully-qualified-stack-name-to-current-stack.yaml +++ /dev/null @@ -1,4 +0,0 @@ -changes: -- type: feat - scope: cli/about - description: Add fully qualified stack name to current stack. diff --git a/changelog/pending/20221121--backend-service--allows-the-service-to-opt-into-bandwidth-optimized-diff-protocol.yaml b/changelog/pending/20221121--backend-service--allows-the-service-to-opt-into-bandwidth-optimized-diff-protocol.yaml deleted file mode 100644 index f929c8632edf..000000000000 --- a/changelog/pending/20221121--backend-service--allows-the-service-to-opt-into-bandwidth-optimized-diff-protocol.yaml +++ /dev/null @@ -1,4 +0,0 @@ -changes: -- type: feat - scope: backend/service - description: Allows the service to opt into a bandwidth-optimized DIFF protocol for storing checkpoints. Previously this required setting the PULUMI_OPTIMIZED_CHECKPOINT_PATCH env variable on the client. This env variable is now deprecated. diff --git a/changelog/pending/20221125--docs--exclude-id-output-property-for-component-resources.yaml b/changelog/pending/20221125--docs--exclude-id-output-property-for-component-resources.yaml deleted file mode 100644 index 21406387e3c7..000000000000 --- a/changelog/pending/20221125--docs--exclude-id-output-property-for-component-resources.yaml +++ /dev/null @@ -1,4 +0,0 @@ -changes: -- type: fix - scope: docs - description: Exclude id output property for component resources diff --git a/changelog/pending/20221128--programgen-nodejs--add-between-and.yaml b/changelog/pending/20221128--programgen-nodejs--add-between-and.yaml deleted file mode 100644 index 912903f06b7a..000000000000 --- a/changelog/pending/20221128--programgen-nodejs--add-between-and.yaml +++ /dev/null @@ -1,4 +0,0 @@ -changes: -- type: fix - scope: programgen/nodejs - description: Add `.` between `?` and `[`. diff --git a/changelog/pending/20221128--programgen-nodejs--fix-capitalization-when-generating-fs-readdirsync.yaml b/changelog/pending/20221128--programgen-nodejs--fix-capitalization-when-generating-fs-readdirsync.yaml deleted file mode 100644 index 94dafdbf717c..000000000000 --- a/changelog/pending/20221128--programgen-nodejs--fix-capitalization-when-generating-fs-readdirsync.yaml +++ /dev/null @@ -1,4 +0,0 @@ -changes: -- type: fix - scope: programgen/nodejs - description: Fix capitalization when generating `fs.readdirSync`. diff --git a/changelog/pending/20221129--engine--fix-an-assert-for-resources-being-replaced-but-also-pending-deletion.yaml b/changelog/pending/20221129--engine--fix-an-assert-for-resources-being-replaced-but-also-pending-deletion.yaml deleted file mode 100644 index fc9b0531a32f..000000000000 --- a/changelog/pending/20221129--engine--fix-an-assert-for-resources-being-replaced-but-also-pending-deletion.yaml +++ /dev/null @@ -1,4 +0,0 @@ -changes: -- type: fix - scope: engine - description: Fix an assert for resources being replaced but also pending deletion. diff --git a/changelog/pending/20221129--programgen-go--convert-the-result-of-immediate-invokes-to-ouputs-when-necessary.yaml b/changelog/pending/20221129--programgen-go--convert-the-result-of-immediate-invokes-to-ouputs-when-necessary.yaml deleted file mode 100644 index 9985d3106368..000000000000 --- a/changelog/pending/20221129--programgen-go--convert-the-result-of-immediate-invokes-to-ouputs-when-necessary.yaml +++ /dev/null @@ -1,4 +0,0 @@ -changes: -- type: fix - scope: programgen/go - description: Convert the result of immediate invokes to ouputs when necessary. diff --git a/changelog/pending/20221201--programgen--improve-error-message-for-invalid-enum-values-on-pulumi-convert.yaml b/changelog/pending/20221201--programgen--improve-error-message-for-invalid-enum-values-on-pulumi-convert.yaml deleted file mode 100644 index 1b8b163cc48a..000000000000 --- a/changelog/pending/20221201--programgen--improve-error-message-for-invalid-enum-values-on-pulumi-convert.yaml +++ /dev/null @@ -1,4 +0,0 @@ -changes: -- type: fix - scope: programgen - description: Improve error message for invalid enum values on `pulumi convert`. diff --git a/changelog/pending/20221201--sdk-nodejs--fix-regression-when-passing-a-provider-to-a-mlc.yaml b/changelog/pending/20221201--sdk-nodejs--fix-regression-when-passing-a-provider-to-a-mlc.yaml deleted file mode 100644 index 510d02e39772..000000000000 --- a/changelog/pending/20221201--sdk-nodejs--fix-regression-when-passing-a-provider-to-a-mlc.yaml +++ /dev/null @@ -1,4 +0,0 @@ -changes: -- type: fix - scope: sdk/nodejs - description: Fix regression when passing a provider to a MLC diff --git a/changelog/pending/20221202--sdkgen-nodejs--generate-js-doc-comments-for-output-versioned-invokes-and-use-explicit-any-type.yaml b/changelog/pending/20221202--sdkgen-nodejs--generate-js-doc-comments-for-output-versioned-invokes-and-use-explicit-any-type.yaml deleted file mode 100644 index 1178adfe4c09..000000000000 --- a/changelog/pending/20221202--sdkgen-nodejs--generate-js-doc-comments-for-output-versioned-invokes-and-use-explicit-any-type.yaml +++ /dev/null @@ -1,4 +0,0 @@ -changes: -- type: fix - scope: sdkgen/nodejs - description: Generate JS doc comments for output-versioned invokes and use explicit any type. diff --git a/changelog/pending/20221205--pkg-testing--optionally-caches-python-venvs-for-testing.yaml b/changelog/pending/20221205--pkg-testing--optionally-caches-python-venvs-for-testing.yaml deleted file mode 100644 index 374d3cff10d3..000000000000 --- a/changelog/pending/20221205--pkg-testing--optionally-caches-python-venvs-for-testing.yaml +++ /dev/null @@ -1,4 +0,0 @@ -changes: -- type: fix - scope: pkg/testing - description: Optionally caches python venvs for testing diff --git a/changelog/pending/20221205--sdk--add-methods-to-cast-pointer-types-to-corresponding-pulumi-ptr-types.yaml b/changelog/pending/20221205--sdk--add-methods-to-cast-pointer-types-to-corresponding-pulumi-ptr-types.yaml deleted file mode 100644 index 98064d91c897..000000000000 --- a/changelog/pending/20221205--sdk--add-methods-to-cast-pointer-types-to-corresponding-pulumi-ptr-types.yaml +++ /dev/null @@ -1,4 +0,0 @@ -changes: -- type: feat - scope: sdk - description: Add methods to cast pointer types to corresponding Pulumi Ptr types diff --git a/changelog/pending/20221206--pkg--fixes-codegen-python-nonstring-secrets.yaml b/changelog/pending/20221206--pkg--fixes-codegen-python-nonstring-secrets.yaml deleted file mode 100644 index 2faf39de7052..000000000000 --- a/changelog/pending/20221206--pkg--fixes-codegen-python-nonstring-secrets.yaml +++ /dev/null @@ -1,4 +0,0 @@ -changes: -- type: fix - scope: pkg - description: Fixes codegen/python generation of non-string secrets in provider properties diff --git a/changelog/pending/20221206--sdk-dotnet-nodejs--add-inokesingle-variants-to-dotnet-and-nodejs-sdks.yaml b/changelog/pending/20221206--sdk-dotnet-nodejs--add-inokesingle-variants-to-dotnet-and-nodejs-sdks.yaml deleted file mode 100644 index cb47bcc7621f..000000000000 --- a/changelog/pending/20221206--sdk-dotnet-nodejs--add-inokesingle-variants-to-dotnet-and-nodejs-sdks.yaml +++ /dev/null @@ -1,4 +0,0 @@ -changes: -- type: feat - scope: sdk/dotnet,nodejs - description: Add InvokeSingle variants to dotnet and nodejs SDKs diff --git a/changelog/pending/20221206--sdk-python--allows-for-duplicate-output-values-in-python.yaml b/changelog/pending/20221206--sdk-python--allows-for-duplicate-output-values-in-python.yaml deleted file mode 100644 index a48c6a732b65..000000000000 --- a/changelog/pending/20221206--sdk-python--allows-for-duplicate-output-values-in-python.yaml +++ /dev/null @@ -1,4 +0,0 @@ -changes: -- type: fix - scope: sdk/python - description: Allows for duplicate output values in python diff --git a/changelog/pending/20221207--yaml--updates-yaml-to-1-0-4.yaml b/changelog/pending/20221207--yaml--updates-yaml-to-1-0-4.yaml deleted file mode 100644 index 2dad8f34c03b..000000000000 --- a/changelog/pending/20221207--yaml--updates-yaml-to-1-0-4.yaml +++ /dev/null @@ -1,6 +0,0 @@ -changes: -- type: feat - scope: yaml - description: > - [Updates Pulumi YAML to v1.0.4](https://github.com/pulumi/pulumi-yaml/releases/tag/v1.0.4) - unblocking Docker Image resource support in a future Docker provider release. diff --git a/changelog/pending/20221208--programgen--interpret-schema-asset-as-pcl-assetorarchive.yaml b/changelog/pending/20221208--programgen--interpret-schema-asset-as-pcl-assetorarchive.yaml deleted file mode 100644 index 15e4e15c697d..000000000000 --- a/changelog/pending/20221208--programgen--interpret-schema-asset-as-pcl-assetorarchive.yaml +++ /dev/null @@ -1,4 +0,0 @@ -changes: -- type: fix - scope: programgen - description: Interpret schema.Asset as pcl.AssetOrArchive. From 5cedd3c905423dd0ebe13a9e5f4ba950b558ea9b Mon Sep 17 00:00:00 2001 From: github-actions Date: Thu, 8 Dec 2022 22:56:51 +0000 Subject: [PATCH 24/36] chore: post-release go.mod updates --- pkg/go.mod | 2 +- tests/go.mod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/go.mod b/pkg/go.mod index 18d7290e176c..20403125a8d7 100644 --- a/pkg/go.mod +++ b/pkg/go.mod @@ -36,7 +36,7 @@ require ( github.com/nbutton23/zxcvbn-go v0.0.0-20180912185939-ae427f1e4c1d github.com/opentracing/opentracing-go v1.2.0 github.com/pgavlin/goldmark v1.1.33-0.20200616210433-b5eb04559386 - github.com/pulumi/pulumi/sdk/v3 v3.48.1-0.20221207010559-e812f69ba562 + github.com/pulumi/pulumi/sdk/v3 v3.49.0 github.com/santhosh-tekuri/jsonschema/v5 v5.0.0 github.com/sergi/go-diff v1.2.0 github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966 diff --git a/tests/go.mod b/tests/go.mod index 6b92630d036e..03ab0e248af4 100644 --- a/tests/go.mod +++ b/tests/go.mod @@ -12,7 +12,7 @@ require ( github.com/blang/semver v3.5.1+incompatible github.com/golang/protobuf v1.5.2 github.com/pulumi/pulumi/pkg/v3 v3.34.1 - github.com/pulumi/pulumi/sdk/v3 v3.48.1-0.20221207010559-e812f69ba562 + github.com/pulumi/pulumi/sdk/v3 v3.49.0 github.com/stretchr/testify v1.8.0 google.golang.org/grpc v1.49.0 sourcegraph.com/sourcegraph/appdash v0.0.0-20211028080628-e2786a622600 From 390dd988abbe57b0dbbcb6a76394a362669519da Mon Sep 17 00:00:00 2001 From: Fraser Waters Date: Tue, 6 Dec 2022 14:53:26 +0000 Subject: [PATCH 25/36] Add jsonStringify to nodejs sdk This isn't _quite_ right, because you could possibly end up with an output value being passed to stringify still via a custom replacer or toJson method, and we don't handle that. But I don't think we _can_ handle that as we'd need async in sync to do it. --- ...ut-jsonstringify-using-json-stringify.yaml | 4 ++ sdk/nodejs/output.ts | 9 +++ sdk/nodejs/tests/output.spec.ts | 71 ++++++++++++++++++- 3 files changed, 81 insertions(+), 3 deletions(-) create mode 100644 changelog/pending/20221209--sdk-nodejs--add-output-jsonstringify-using-json-stringify.yaml diff --git a/changelog/pending/20221209--sdk-nodejs--add-output-jsonstringify-using-json-stringify.yaml b/changelog/pending/20221209--sdk-nodejs--add-output-jsonstringify-using-json-stringify.yaml new file mode 100644 index 000000000000..f7feb962f356 --- /dev/null +++ b/changelog/pending/20221209--sdk-nodejs--add-output-jsonstringify-using-json-stringify.yaml @@ -0,0 +1,4 @@ +changes: +- type: feat + scope: sdk/nodejs + description: Add output jsonStringify using JSON.stringify. diff --git a/sdk/nodejs/output.ts b/sdk/nodejs/output.ts index c73540fb5162..622beac80d44 100644 --- a/sdk/nodejs/output.ts +++ b/sdk/nodejs/output.ts @@ -1013,3 +1013,12 @@ export function interpolate(literals: TemplateStringsArray, ...placeholders: Inp return result; }); } + +/** + * [jsonStringify] Uses JSON.stringify to serialize the given Input value into a JSON string. + */ +export function jsonStringify(obj: Input, replacer?: (this: any, key: string, value: any) => any | (number | string)[], space?: string | number): Output { + return output(obj).apply(o => { + return JSON.stringify(o, replacer, space); + }); +} diff --git a/sdk/nodejs/tests/output.spec.ts b/sdk/nodejs/tests/output.spec.ts index d957c17e7f64..a4f32f35e3f1 100644 --- a/sdk/nodejs/tests/output.spec.ts +++ b/sdk/nodejs/tests/output.spec.ts @@ -15,7 +15,7 @@ /* eslint-disable */ import * as assert from "assert"; -import { Output, all, concat, interpolate, output, unknown, secret, unsecret, isSecret } from "../output"; +import { Output, all, concat, interpolate, output, unknown, secret, unsecret, isSecret, jsonStringify } from "../output"; import { Resource } from "../resource"; import * as runtime from "../runtime"; @@ -138,8 +138,7 @@ describe("output", () => { describe("apply", () => { function createOutput(val: T, isKnown: boolean, isSecret: boolean = false): Output { - return new Output(new Set(), Promise.resolve(val), Promise.resolve(isKnown), Promise.resolve(isSecret), - Promise.resolve(new Set())); + return new Output(new Set(), Promise.resolve(val), Promise.resolve(isKnown), Promise.resolve(isSecret), Promise.resolve(new Set())); } it("can run on known value during preview", async () => { @@ -859,6 +858,72 @@ describe("output", () => { }); }); + describe("jsonStringify", () => { + it ("basic", async () => { + const x = output([0, 1]) + const result = jsonStringify(x) + assert.strictEqual(await result.promise(), "[0,1]"); + assert.strictEqual(await result.isKnown, true); + assert.strictEqual(await result.isSecret, false); + }); + + it ("nested", async () => { + const x = output([output(0), output(1)]) + const result = jsonStringify(x) + assert.strictEqual(await result.promise(), "[0,1]"); + assert.strictEqual(await result.isKnown, true); + assert.strictEqual(await result.isSecret, false); + }); + + it ("nested unknowns", async () => { + const x = output([ + new Output(new Set(), Promise.resolve(undefined), Promise.resolve(false), Promise.resolve(false), Promise.resolve(new Set())), + output(1)]) + const result = jsonStringify(x) + assert.strictEqual(await result.isKnown, false); + assert.strictEqual(await result.isSecret, false); + }); + + it ("nested secret", async () => { + const x = output([ + new Output(new Set(), Promise.resolve(0), Promise.resolve(true), Promise.resolve(true), Promise.resolve(new Set())), + output(1)]) + const result = jsonStringify(x) + assert.strictEqual(await result.promise(), "[0,1]"); + assert.strictEqual(await result.isKnown, true); + assert.strictEqual(await result.isSecret, true); + }); + + it ("with options", async () => { + const x = output([0, 1]) + const result = jsonStringify(x, undefined, " ") + assert.strictEqual(await result.promise(), "[\n 0,\n 1\n]"); + assert.strictEqual(await result.isKnown, true); + assert.strictEqual(await result.isSecret, false); + }); + + it ("nested dependencies", async () => { + // Output's don't actually _look_ at the resources, they just need to keep a collection of them + const mockResource : Resource = {} as any + const mockResources : Resource[] = [mockResource] + + const x = output([ + new Output(new Set(mockResources), Promise.resolve(0), Promise.resolve(true), Promise.resolve(true), Promise.resolve(new Set())), + output(1)]) + const result = jsonStringify(x) + assert.strictEqual(await result.promise(), "[0,1]"); + assert.strictEqual(await result.isKnown, true); + assert.strictEqual(await result.isSecret, true); + if (result.allResources === undefined) { + assert.fail("Output.allResources was undefined") + } + const allResources = await result.allResources(); + // We should have just the one mockResource in this set + assert.strictEqual(allResources.size, 1) + assert.ok(allResources.has(mockResource)) + }); + }); + describe("secret operations", () => { it("ensure secret", async () => { const sec = secret("foo"); From 9484c15d2db0452f163d997651813d44a16d6511 Mon Sep 17 00:00:00 2001 From: Fraser Waters Date: Tue, 6 Dec 2022 14:40:37 +0000 Subject: [PATCH 26/36] Add Output.JsonSerialize to dotnet sdk Plan is to add functions like this to _all_ the SDKs. JsonSerialization is _very_ language specific, dotnet for example uses System.Text.Json, go would use JsonMarshal, etc. So it's worth having it built into SDKs and then exposed as a PCL intrinsic (with the caveat that the cross-language result will be _valid_ JSON, but with no commmitment to formatting for example). This is just the first part of this work, to add it to the dotnet SDK (simply because I know that best). --- ...-jsonserialize-using-system-text-json.yaml | 4 + sdk/dotnet/Pulumi.Tests/Core/OutputTests.cs | 135 +++++++++++++++++ sdk/dotnet/Pulumi/Core/Output.cs | 143 +++++++++++++++++- 3 files changed, 281 insertions(+), 1 deletion(-) create mode 100644 changelog/pending/20221206--sdk-dotnet--add-output-jsonserialize-using-system-text-json.yaml diff --git a/changelog/pending/20221206--sdk-dotnet--add-output-jsonserialize-using-system-text-json.yaml b/changelog/pending/20221206--sdk-dotnet--add-output-jsonserialize-using-system-text-json.yaml new file mode 100644 index 000000000000..c4047b5713fb --- /dev/null +++ b/changelog/pending/20221206--sdk-dotnet--add-output-jsonserialize-using-system-text-json.yaml @@ -0,0 +1,4 @@ +changes: +- type: feat + scope: sdk/dotnet + description: Add Output.JsonSerialize using System.Text.Json. diff --git a/sdk/dotnet/Pulumi.Tests/Core/OutputTests.cs b/sdk/dotnet/Pulumi.Tests/Core/OutputTests.cs index cba9f7cefe72..5de66721f0d4 100644 --- a/sdk/dotnet/Pulumi.Tests/Core/OutputTests.cs +++ b/sdk/dotnet/Pulumi.Tests/Core/OutputTests.cs @@ -1,5 +1,6 @@ // Copyright 2016-2019, Pulumi Corporation +using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using System.Threading.Tasks; @@ -9,12 +10,30 @@ namespace Pulumi.Tests.Core { + // Simple struct used for JSON tests + public struct TestStructure { + public int X { get; set;} + + private int y; + + public string Z => (y+1).ToString(); + + public TestStructure(int x, int y) { + X = x; + this.y = y; + } + } + public class OutputTests : PulumiTest { private static Output CreateOutput(T value, bool isKnown, bool isSecret = false) => new Output(Task.FromResult(OutputData.Create( ImmutableHashSet.Empty, value, isKnown, isSecret))); + private static Output CreateOutput(IEnumerable resources, T value, bool isKnown, bool isSecret = false) + => new Output(Task.FromResult(OutputData.Create( + ImmutableHashSet.CreateRange(resources), value, isKnown, isSecret))); + public class PreviewTests { [Fact] @@ -618,6 +637,122 @@ public Task CreateSecretSetsSecret() Assert.True(data.IsSecret); Assert.Equal(0, data.Value); }); + + [Fact] + public Task JsonSerializeBasic() + => RunInNormal(async () => + { + var o1 = CreateOutput(new int[]{ 0, 1} , true); + var o2 = Output.JsonSerialize(o1); + var data = await o2.DataTask.ConfigureAwait(false); + Assert.True(data.IsKnown); + Assert.False(data.IsSecret); + Assert.Equal("[0,1]", data.Value); + }); + + [Fact] + public Task JsonSerializeNested() + => RunInNormal(async () => + { + var o1 = CreateOutput(new Output[] { + CreateOutput(0, true), + CreateOutput(1, true), + }, true); + var o2 = Output.JsonSerialize(o1); + var data = await o2.DataTask.ConfigureAwait(false); + Assert.True(data.IsKnown); + Assert.False(data.IsSecret); + Assert.Equal("[0,1]", data.Value); + }); + + [Fact] + public Task JsonSerializeNestedUnknown() + => RunInNormal(async () => + { + var o1 = CreateOutput(new Output[] { + CreateOutput(default, false), + CreateOutput(1, true), + }, true); + var o2 = Output.JsonSerialize(o1); + var data = await o2.DataTask.ConfigureAwait(false); + Assert.False(data.IsKnown); + Assert.False(data.IsSecret); + }); + + [Fact] + public Task JsonSerializeNestedSecret() + => RunInNormal(async () => + { + var o1 = CreateOutput(new Output[] { + CreateOutput(0, true, true), + CreateOutput(1, true), + }, true); + var o2 = Output.JsonSerialize(o1); + var data = await o2.DataTask.ConfigureAwait(false); + Assert.True(data.IsKnown); + Assert.True(data.IsSecret); + Assert.Equal("[0,1]", data.Value); + }); + + [Fact] + public Task JsonSerializeWithOptions() + => RunInNormal(async () => + { + var v = new System.Collections.Generic.Dictionary(); + v.Add("a", new TestStructure(1, 2)); + v.Add("b", new TestStructure(int.MinValue, int.MaxValue)); + var o1 = CreateOutput(v, true); + var options = new System.Text.Json.JsonSerializerOptions(); + options.WriteIndented = true; + var o2 = Output.JsonSerialize(o1, options); + var data = await o2.DataTask.ConfigureAwait(false); + Assert.True(data.IsKnown); + Assert.False(data.IsSecret); + var expected = @"{ + ""a"": { + ""X"": 1, + ""Z"": ""3"" + }, + ""b"": { + ""X"": -2147483648, + ""Z"": ""-2147483648"" + } +}"; + Assert.Equal(expected, data.Value); + }); + + [Fact] + public async Task JsonSerializeNestedDependencies() { + // We need a custom mock setup for this because new CustomResource will call into the + // deployment to try and register. + var runner = new Moq.Mock(Moq.MockBehavior.Strict); + runner.Setup(r => r.RegisterTask(Moq.It.IsAny(), Moq.It.IsAny())); + + var logger = new Moq.Mock(Moq.MockBehavior.Strict); + logger.Setup(l => l.DebugAsync(Moq.It.IsAny(), Moq.It.IsAny(), Moq.It.IsAny(), Moq.It.IsAny())).Returns(Task.CompletedTask); + + var mock = new Moq.Mock(Moq.MockBehavior.Strict); + mock.Setup(d => d.IsDryRun).Returns(false); + mock.Setup(d => d.Stack).Returns(() => null!); + mock.Setup(d => d.Runner).Returns(runner.Object); + mock.Setup(d => d.Logger).Returns(logger.Object); + mock.Setup(d => d.ReadOrRegisterResource(Moq.It.IsAny(), Moq.It.IsAny(), Moq.It.IsAny>(), Moq.It.IsAny(), Moq.It.IsAny())); + + Deployment.Instance = new DeploymentInstance(mock.Object); + + var resource = new CustomResource("type", "name", null); + + var o1 = CreateOutput(new Output[] { + CreateOutput(new Resource[] { resource}, 0, true, true), + CreateOutput(1, true), + }, true); + var o2 = Output.JsonSerialize(o1); + var data = await o2.DataTask.ConfigureAwait(false); + Assert.True(data.IsKnown); + Assert.True(data.IsSecret); + Assert.Contains(resource, data.Resources); + Assert.Equal("[0,1]", data.Value); + } } } } diff --git a/sdk/dotnet/Pulumi/Core/Output.cs b/sdk/dotnet/Pulumi/Core/Output.cs index 4523a7faa60f..6e7c5cc6899a 100644 --- a/sdk/dotnet/Pulumi/Core/Output.cs +++ b/sdk/dotnet/Pulumi/Core/Output.cs @@ -5,11 +5,88 @@ using System.Collections.Immutable; using System.Diagnostics; using System.Linq; +using System.Text.Json; +using System.Text.Json.Serialization; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi { + /// + /// Internal class used for Output.JsonSerialize. + /// + sealed class OutputJsonConverter : System.Text.Json.Serialization.JsonConverterFactory + { + private sealed class OutputJsonConverterInner : System.Text.Json.Serialization.JsonConverter> + { + readonly OutputJsonConverter Parent; + readonly JsonConverter Converter; + + public OutputJsonConverterInner(OutputJsonConverter parent, JsonSerializerOptions options) { + Parent = parent; + Converter = (JsonConverter)options.GetConverter(typeof(T)); + } + + public override Output Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) + { + throw new NotImplementedException("JsonSerialize only supports writing to JSON"); + } + + public override void Write(Utf8JsonWriter writer, Output value, JsonSerializerOptions options) + { + // Sadly we have to block here as converters aren't async + var result = value.DataTask.Result; + // Add the seen dependencies to the resources set + Parent.Resources.AddRange(result.Resources); + if (!result.IsKnown) + { + // If the result isn't known we can just write a null and flag the parent to reject this whole serialization + writer.WriteNullValue(); + Parent.SeenUnknown = true; + } + else + { + // The result is known we can just serialize the inner value, but flag the parent if we've seen a secret + Converter.Write(writer, result.Value, options); + Parent.SeenSecret |= result.IsSecret; + } + } + } + + public bool SeenUnknown {get; private set;} + public bool SeenSecret {get; private set;} + public ImmutableHashSet SeenResources => Resources.ToImmutableHashSet(); + private readonly HashSet Resources; + + public OutputJsonConverter() + { + Resources = new HashSet(); + } + + public override bool CanConvert(Type typeToConvert) + { + if (typeToConvert.IsGenericType) + { + var genericType = typeToConvert.GetGenericTypeDefinition(); + return genericType == typeof(Output<>); + } + return false; + } + + public override JsonConverter CreateConverter(Type typeToConvert, JsonSerializerOptions options) + { + Type elementType = typeToConvert.GetGenericArguments()[0]; + JsonConverter converter = (JsonConverter)Activator.CreateInstance( + typeof(OutputJsonConverterInner<>).MakeGenericType( + new Type[] { elementType }), + System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.Public, + binder: null, + args: new object[] { this, options }, + culture: null)!; + return converter; + } + } + /// /// Useful static utility methods for both creating and working with s. /// @@ -106,6 +183,70 @@ public static Output Format(FormattableString formattableString) internal static Output> Concat(Output> values1, Output> values2) => Tuple(values1, values2).Apply(tuple => tuple.Item1.AddRange(tuple.Item2)); + + /// + /// Uses to serialize the given value into a JSON string. + /// + public static Output JsonSerialize(Output value, System.Text.Json.JsonSerializerOptions? options = null) + { + if (value == null) { + throw new ArgumentNullException("value"); + } + + async Task> GetData() + { + var result = await value.DataTask; + + if (!result.IsKnown) { + return new OutputData(result.Resources, "", false, result.IsSecret); + } + + var utf8 = new System.IO.MemoryStream(); + // This needs to handle nested potentially secret and unknown Output values, we do this by + // hooking options to handle any seen Output values. + + // TODO: This can be simplified in net6.0 to just new System.Text.Json.JsonSerializerOptions(options); + var internalOptions = new System.Text.Json.JsonSerializerOptions(); + internalOptions.AllowTrailingCommas = options?.AllowTrailingCommas ?? internalOptions.AllowTrailingCommas; + if (options != null) + { + foreach(var converter in options.Converters) + { + internalOptions.Converters.Add(converter); + } + } + internalOptions.DefaultBufferSize = options?.DefaultBufferSize ?? internalOptions.DefaultBufferSize; + internalOptions.DictionaryKeyPolicy = options?.DictionaryKeyPolicy ?? internalOptions.DictionaryKeyPolicy; + internalOptions.Encoder = options?.Encoder ?? internalOptions.Encoder; + internalOptions.IgnoreNullValues = options?.IgnoreNullValues ?? internalOptions.IgnoreNullValues; + internalOptions.IgnoreReadOnlyProperties = options?.IgnoreReadOnlyProperties ?? internalOptions.IgnoreReadOnlyProperties; + internalOptions.MaxDepth = options?.MaxDepth ?? internalOptions.MaxDepth; + internalOptions.PropertyNameCaseInsensitive = options?.PropertyNameCaseInsensitive ?? internalOptions.PropertyNameCaseInsensitive; + internalOptions.PropertyNamingPolicy = options?.PropertyNamingPolicy ?? internalOptions.PropertyNamingPolicy; + internalOptions.ReadCommentHandling = options?.ReadCommentHandling ?? internalOptions.ReadCommentHandling; + internalOptions.WriteIndented = options?.WriteIndented ?? internalOptions.WriteIndented; + + // Add the magic converter to allow us to do nested outputs + var outputConverter = new OutputJsonConverter(); + internalOptions.Converters.Add(outputConverter); + + await System.Text.Json.JsonSerializer.SerializeAsync(utf8, result.Value, internalOptions); + + // Check if the result is valid or not, that is if we saw any nulls we can just throw away the json string made and return unknown + if (outputConverter.SeenUnknown) { + return new OutputData(result.Resources.Union(outputConverter.SeenResources), "", false, result.IsSecret | outputConverter.SeenSecret); + } + + // GetBuffer returns the entire byte array backing the MemoryStream, wrapping a span of the + // correct length around that rather than just calling ToArray() saves an array copy. + var json = System.Text.Encoding.UTF8.GetString(new ReadOnlySpan(utf8.GetBuffer(), 0, (int)utf8.Length)); + + return new OutputData(result.Resources.Union(outputConverter.SeenResources), json, true, result.IsSecret | outputConverter.SeenSecret); + } + + return new Output(GetData()); + } } /// @@ -128,7 +269,7 @@ internal interface IOutput /// s are a key part of how Pulumi tracks dependencies between s. Because the values of outputs are not available until resources are /// created, these are represented using the special s type, which - /// internally represents two things: an eventually available value of the output and + /// internally represents two things: an eventually available value of the output and /// the dependency on the source(s) of the output value. /// In fact, s is quite similar to . /// Additionally, they carry along dependency information. From 7467b16287cc036f29ba2450c1dd2d801244582f Mon Sep 17 00:00:00 2001 From: Ian Wahbe Date: Fri, 9 Dec 2022 13:57:00 +0100 Subject: [PATCH 27/36] Remove .NET type imports and add a test for #11467 Adjust CL for multiple languages. --- ...nt-from-the-same-schema-as-a-property.yaml | 6 +- pkg/codegen/dotnet/gen.go | 137 ------ pkg/codegen/testing/test/sdk_driver.go | 2 +- .../testdata/naming-collisions/docs/_index.md | 8 +- .../docs/codegen-manifest.json | 4 + .../docs/maincomponent/_index.md | 366 ++++++++++++++ .../naming-collisions/docs/mod/_index.md | 29 ++ .../docs/mod/component/_index.md | 464 ++++++++++++++++++ .../docs/mod/component2/_index.md | 366 ++++++++++++++ .../naming-collisions/dotnet/MainComponent.cs | 64 +++ .../naming-collisions/dotnet/Mod/Component.cs | 70 +++ .../dotnet/Mod/Component2.cs | 64 +++ .../naming-collisions/dotnet/Mod/README.md | 0 .../dotnet/codegen-manifest.json | 4 + .../go/codegen-manifest.json | 4 + .../naming-collisions/go/example/init.go | 2 + .../go/example/mainComponent.go | 102 ++++ .../go/example/mod/component.go | 107 ++++ .../go/example/mod/component2.go | 102 ++++ .../naming-collisions/go/example/mod/init.go | 46 ++ .../nodejs/codegen-manifest.json | 4 + .../naming-collisions/nodejs/index.ts | 9 + .../naming-collisions/nodejs/mainComponent.ts | 57 +++ .../naming-collisions/nodejs/mod/component.ts | 64 +++ .../nodejs/mod/component2.ts | 57 +++ .../naming-collisions/nodejs/mod/index.ts | 32 ++ .../naming-collisions/nodejs/tsconfig.json | 4 + .../python/codegen-manifest.json | 4 + .../python/pulumi_example/__init__.py | 19 + .../python/pulumi_example/main_component.py | 89 ++++ .../python/pulumi_example/mod/__init__.py | 9 + .../python/pulumi_example/mod/component.py | 120 +++++ .../python/pulumi_example/mod/component2.py | 89 ++++ .../testdata/naming-collisions/schema.json | 19 +- 34 files changed, 2380 insertions(+), 143 deletions(-) create mode 100644 pkg/codegen/testing/test/testdata/naming-collisions/docs/maincomponent/_index.md create mode 100644 pkg/codegen/testing/test/testdata/naming-collisions/docs/mod/_index.md create mode 100644 pkg/codegen/testing/test/testdata/naming-collisions/docs/mod/component/_index.md create mode 100644 pkg/codegen/testing/test/testdata/naming-collisions/docs/mod/component2/_index.md create mode 100644 pkg/codegen/testing/test/testdata/naming-collisions/dotnet/MainComponent.cs create mode 100644 pkg/codegen/testing/test/testdata/naming-collisions/dotnet/Mod/Component.cs create mode 100644 pkg/codegen/testing/test/testdata/naming-collisions/dotnet/Mod/Component2.cs create mode 100644 pkg/codegen/testing/test/testdata/naming-collisions/dotnet/Mod/README.md create mode 100644 pkg/codegen/testing/test/testdata/naming-collisions/go/example/mainComponent.go create mode 100644 pkg/codegen/testing/test/testdata/naming-collisions/go/example/mod/component.go create mode 100644 pkg/codegen/testing/test/testdata/naming-collisions/go/example/mod/component2.go create mode 100644 pkg/codegen/testing/test/testdata/naming-collisions/go/example/mod/init.go create mode 100644 pkg/codegen/testing/test/testdata/naming-collisions/nodejs/mainComponent.ts create mode 100644 pkg/codegen/testing/test/testdata/naming-collisions/nodejs/mod/component.ts create mode 100644 pkg/codegen/testing/test/testdata/naming-collisions/nodejs/mod/component2.ts create mode 100644 pkg/codegen/testing/test/testdata/naming-collisions/nodejs/mod/index.ts create mode 100644 pkg/codegen/testing/test/testdata/naming-collisions/python/pulumi_example/main_component.py create mode 100644 pkg/codegen/testing/test/testdata/naming-collisions/python/pulumi_example/mod/__init__.py create mode 100644 pkg/codegen/testing/test/testdata/naming-collisions/python/pulumi_example/mod/component.py create mode 100644 pkg/codegen/testing/test/testdata/naming-collisions/python/pulumi_example/mod/component2.py diff --git a/changelog/pending/20221125--sdkgen-nodejs--fix-nodejs-sdk-when-a-component-is-using-another-component-from-the-same-schema-as-a-property.yaml b/changelog/pending/20221125--sdkgen-nodejs--fix-nodejs-sdk-when-a-component-is-using-another-component-from-the-same-schema-as-a-property.yaml index afcaf17d0105..0f9f65a08e99 100644 --- a/changelog/pending/20221125--sdkgen-nodejs--fix-nodejs-sdk-when-a-component-is-using-another-component-from-the-same-schema-as-a-property.yaml +++ b/changelog/pending/20221125--sdkgen-nodejs--fix-nodejs-sdk-when-a-component-is-using-another-component-from-the-same-schema-as-a-property.yaml @@ -1,4 +1,4 @@ changes: -- type: fix - scope: sdkgen/nodejs - description: Fix NodeJS SDK when a component is using another component from the same schema as a property + - type: fix + scope: sdkgen/nodejs,dotnet + description: Fix imports when a component is using another component from the same schema as a property diff --git a/pkg/codegen/dotnet/gen.go b/pkg/codegen/dotnet/gen.go index e2ab8dd01fce..47965fc51296 100644 --- a/pkg/codegen/dotnet/gen.go +++ b/pkg/codegen/dotnet/gen.go @@ -27,7 +27,6 @@ import ( "path" "path/filepath" "reflect" - "sort" "strconv" "strings" "unicode" @@ -1304,8 +1303,6 @@ func (mod *modContext) genResource(w io.Writer, r *schema.Resource) error { } func (mod *modContext) genFunctionFileCode(f *schema.Function) (string, error) { - imports := map[string]codegen.StringSet{} - mod.getImports(f, imports) buffer := &bytes.Buffer{} importStrings := mod.pulumiImports() @@ -1315,9 +1312,6 @@ func (mod *modContext) genFunctionFileCode(f *schema.Function) (string, error) { if nonStandardNamespace { importStrings = append(importStrings, mod.namespaceName) } - for _, i := range imports { - importStrings = append(importStrings, i.SortedValues()...) - } // We need to qualify input types when we are not in the same module as them. if nonStandardNamespace { @@ -1679,128 +1673,6 @@ func (mod *modContext) pulumiImports() []string { return pulumiImports } -func (mod *modContext) getTypeImports(t schema.Type, recurse bool, imports map[string]codegen.StringSet, seen codegen.Set) { - mod.getTypeImportsForResource(t, recurse, imports, seen, nil) -} - -func (mod *modContext) getTypeImportsForResource(t schema.Type, recurse bool, imports map[string]codegen.StringSet, seen codegen.Set, res *schema.Resource) { - if seen.Has(t) { - return - } - seen.Add(t) - - switch t := t.(type) { - case *schema.OptionalType: - mod.getTypeImports(t.ElementType, recurse, imports, seen) - return - case *schema.InputType: - mod.getTypeImports(t.ElementType, recurse, imports, seen) - return - case *schema.ArrayType: - mod.getTypeImports(t.ElementType, recurse, imports, seen) - return - case *schema.MapType: - mod.getTypeImports(t.ElementType, recurse, imports, seen) - return - case *schema.ObjectType: - for _, p := range t.Properties { - mod.getTypeImports(p.Type, recurse, imports, seen) - } - return - case *schema.ResourceType: - // If it's an external resource, we'll be using fully-qualified type names, so there's no need - // for an import. - if t.Resource != nil && !codegen.PkgEquals(t.Resource.PackageReference, mod.pkg) { - return - } - - // Don't import itself. - if t.Resource == res { - return - } - - modName, name, modPath := mod.pkg.TokenToModule(t.Token), tokenToName(t.Token), "" - if modName != mod.mod { - mp, err := filepath.Rel(mod.mod, modName) - contract.Assert(err == nil) - if path.Base(mp) == "." { - mp = path.Dir(mp) - } - modPath = filepath.ToSlash(mp) - } - if len(modPath) == 0 { - return - } - if imports[modPath] == nil { - imports[modPath] = codegen.NewStringSet() - } - imports[modPath].Add(name) - return - case *schema.TokenType: - return - case *schema.UnionType: - for _, e := range t.ElementTypes { - mod.getTypeImports(e, recurse, imports, seen) - } - return - default: - return - } -} - -func (mod *modContext) getImports(member interface{}, imports map[string]codegen.StringSet) { - mod.getImportsForResource(member, imports, nil) -} - -func (mod *modContext) getImportsForResource(member interface{}, imports map[string]codegen.StringSet, res *schema.Resource) { - seen := codegen.Set{} - switch member := member.(type) { - case *schema.ObjectType: - for _, p := range member.Properties { - mod.getTypeImports(p.Type, true, imports, seen) - } - return - case *schema.ResourceType: - mod.getTypeImports(member, true, imports, seen) - return - case *schema.Resource: - for _, p := range member.Properties { - mod.getTypeImportsForResource(p.Type, false, imports, seen, res) - } - for _, p := range member.InputProperties { - mod.getTypeImportsForResource(p.Type, false, imports, seen, res) - } - for _, method := range member.Methods { - if method.Function.Inputs != nil { - for _, p := range method.Function.Inputs.Properties { - mod.getTypeImportsForResource(p.Type, false, imports, seen, res) - } - } - if method.Function.Outputs != nil { - for _, p := range method.Function.Outputs.Properties { - mod.getTypeImportsForResource(p.Type, false, imports, seen, res) - } - } - } - return - case *schema.Function: - if member.Inputs != nil { - mod.getTypeImports(member.Inputs, false, imports, seen) - } - if member.Outputs != nil { - mod.getTypeImports(member.Outputs, false, imports, seen) - } - return - case []*schema.Property: - for _, p := range member { - mod.getTypeImports(p.Type, false, imports, seen) - } - return - default: - return - } -} - func (mod *modContext) genHeader(w io.Writer, using []string) { fmt.Fprintf(w, "// *** WARNING: this file was generated by %v. ***\n", mod.tool) fmt.Fprintf(w, "// *** Do not edit by hand unless you're certain you know what you are doing! ***\n") @@ -2045,17 +1917,8 @@ func (mod *modContext) gen(fs codegen.Fs) error { continue } - imports := map[string]codegen.StringSet{} - mod.getImportsForResource(r, imports, r) - buffer := &bytes.Buffer{} - var additionalImports []string - for _, i := range imports { - additionalImports = append(additionalImports, i.SortedValues()...) - } - sort.Strings(additionalImports) importStrings := mod.pulumiImports() - importStrings = append(importStrings, additionalImports...) mod.genHeader(buffer, importStrings) if err := mod.genResource(buffer, r); err != nil { diff --git a/pkg/codegen/testing/test/sdk_driver.go b/pkg/codegen/testing/test/sdk_driver.go index 398563c5ae96..ee31e0530a40 100644 --- a/pkg/codegen/testing/test/sdk_driver.go +++ b/pkg/codegen/testing/test/sdk_driver.go @@ -84,7 +84,7 @@ var allLanguages = codegen.NewStringSet("python/any", "nodejs/any", "dotnet/any" var PulumiPulumiSDKTests = []*SDKTest{ { Directory: "naming-collisions", - Description: "Schema with types that could potentially produce collisions (go).", + Description: "Schema with types that could potentially produce collisions.", }, { Directory: "dash-named-schema", diff --git a/pkg/codegen/testing/test/testdata/naming-collisions/docs/_index.md b/pkg/codegen/testing/test/testdata/naming-collisions/docs/_index.md index 164eea971dd0..1805a60c7b23 100644 --- a/pkg/codegen/testing/test/testdata/naming-collisions/docs/_index.md +++ b/pkg/codegen/testing/test/testdata/naming-collisions/docs/_index.md @@ -1,6 +1,6 @@ --- title: "example" -title_tag: "example.example" +title_tag: "example Package" meta_desc: "" layout: api no_edit_this_page: true @@ -11,8 +11,14 @@ no_edit_this_page: true +

Modules

+ +

Resources

    +
  • MainComponent
  • Provider
  • Resource
  • ResourceInput
  • diff --git a/pkg/codegen/testing/test/testdata/naming-collisions/docs/codegen-manifest.json b/pkg/codegen/testing/test/testdata/naming-collisions/docs/codegen-manifest.json index 8f38aed747b4..06272297720a 100644 --- a/pkg/codegen/testing/test/testdata/naming-collisions/docs/codegen-manifest.json +++ b/pkg/codegen/testing/test/testdata/naming-collisions/docs/codegen-manifest.json @@ -1,6 +1,10 @@ { "emittedFiles": [ "_index.md", + "maincomponent/_index.md", + "mod/_index.md", + "mod/component/_index.md", + "mod/component2/_index.md", "provider/_index.md", "resource/_index.md", "resourceinput/_index.md" diff --git a/pkg/codegen/testing/test/testdata/naming-collisions/docs/maincomponent/_index.md b/pkg/codegen/testing/test/testdata/naming-collisions/docs/maincomponent/_index.md new file mode 100644 index 000000000000..3db224a80cc0 --- /dev/null +++ b/pkg/codegen/testing/test/testdata/naming-collisions/docs/maincomponent/_index.md @@ -0,0 +1,366 @@ + +--- +title: "MainComponent" +title_tag: "example.MainComponent" +meta_desc: "Documentation for the example.MainComponent resource with examples, input properties, output properties, lookup functions, and supporting types." +layout: api +no_edit_this_page: true +--- + + + + + + + + + +## Create MainComponent Resource {#create} +
    + +
    + + +
    + +
    new MainComponent(name: string, args?: MainComponentArgs, opts?: CustomResourceOptions);
    +
    +
    + +
    + +
    @overload
    +def MainComponent(resource_name: str,
    +                  opts: Optional[ResourceOptions] = None)
    +@overload
    +def MainComponent(resource_name: str,
    +                  args: Optional[MainComponentArgs] = None,
    +                  opts: Optional[ResourceOptions] = None)
    +
    +
    + +
    + +
    func NewMainComponent(ctx *Context, name string, args *MainComponentArgs, opts ...ResourceOption) (*MainComponent, error)
    +
    +
    + +
    + +
    public MainComponent(string name, MainComponentArgs? args = null, CustomResourceOptions? opts = null)
    +
    +
    + +
    + +
    +public MainComponent(String name, MainComponentArgs args)
    +public MainComponent(String name, MainComponentArgs args, CustomResourceOptions options)
    +
    +
    +
    + +
    + +
    type: example:MainComponent
    +properties: # The arguments to resource properties.
    +options: # Bag of options to control resource's behavior.
    +
    +
    +
    +
    + +
    + + +
    + name + + string +
    +
    The unique name of the resource.
    + args + + MainComponentArgs +
    +
    The arguments to resource properties.
    + opts + + CustomResourceOptions +
    +
    Bag of options to control resource's behavior.
    + +
    +
    + +
    + + +
    + resource_name + + str +
    +
    The unique name of the resource.
    + args + + MainComponentArgs +
    +
    The arguments to resource properties.
    + opts + + ResourceOptions +
    +
    Bag of options to control resource's behavior.
    + +
    +
    + +
    + + +
    + ctx + + Context +
    +
    Context object for the current deployment.
    + name + + string +
    +
    The unique name of the resource.
    + args + + MainComponentArgs +
    +
    The arguments to resource properties.
    + opts + + ResourceOption +
    +
    Bag of options to control resource's behavior.
    + +
    +
    + +
    + + +
    + name + + string +
    +
    The unique name of the resource.
    + args + + MainComponentArgs +
    +
    The arguments to resource properties.
    + opts + + CustomResourceOptions +
    +
    Bag of options to control resource's behavior.
    + +
    +
    + +
    + + +
    + name + + String +
    +
    The unique name of the resource.
    + args + + MainComponentArgs +
    +
    The arguments to resource properties.
    + options + + CustomResourceOptions +
    +
    Bag of options to control resource's behavior.
    + +
    +
    + +## MainComponent Resource Properties {#properties} + +To learn more about resource properties and how to use them, see [Inputs and Outputs](/docs/intro/concepts/inputs-outputs) in the Architecture and Concepts docs. + +### Inputs + +The MainComponent resource accepts the following [input](/docs/intro/concepts/inputs-outputs) properties: + + + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + + +### Outputs + +All [input](#inputs) properties are implicitly available as output properties. Additionally, the MainComponent resource produces the following output properties: + + + +
    + +
    + +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.

    +
    +
    +
    + + + + + + + + +

    Package Details

    +
    +
    Repository
    +
    +
    License
    +
    +
    + diff --git a/pkg/codegen/testing/test/testdata/naming-collisions/docs/mod/_index.md b/pkg/codegen/testing/test/testdata/naming-collisions/docs/mod/_index.md new file mode 100644 index 000000000000..8538946db9ea --- /dev/null +++ b/pkg/codegen/testing/test/testdata/naming-collisions/docs/mod/_index.md @@ -0,0 +1,29 @@ +--- +title: "mod" +title_tag: "example.mod" +meta_desc: "Explore the resources and functions of the example.mod module." +layout: api +no_edit_this_page: true +--- + + + + +Explore the resources and functions of the example.mod module. + +

    Resources

    + + +

    Package Details

    +
    +
    Repository
    +
    +
    License
    +
    +
    Version
    +
    0.0.1
    +
    + diff --git a/pkg/codegen/testing/test/testdata/naming-collisions/docs/mod/component/_index.md b/pkg/codegen/testing/test/testdata/naming-collisions/docs/mod/component/_index.md new file mode 100644 index 000000000000..83affe1480d4 --- /dev/null +++ b/pkg/codegen/testing/test/testdata/naming-collisions/docs/mod/component/_index.md @@ -0,0 +1,464 @@ + +--- +title: "Component" +title_tag: "example.mod.Component" +meta_desc: "Documentation for the example.mod.Component resource with examples, input properties, output properties, lookup functions, and supporting types." +layout: api +no_edit_this_page: true +--- + + + + + + + + + +## Create Component Resource {#create} +
    + +
    + + +
    + +
    new Component(name: string, args?: ComponentArgs, opts?: CustomResourceOptions);
    +
    +
    + +
    + +
    @overload
    +def Component(resource_name: str,
    +              opts: Optional[ResourceOptions] = None,
    +              local: Optional[Component2] = None,
    +              main: Optional[MainComponent] = None)
    +@overload
    +def Component(resource_name: str,
    +              args: Optional[ComponentArgs] = None,
    +              opts: Optional[ResourceOptions] = None)
    +
    +
    + +
    + +
    func NewComponent(ctx *Context, name string, args *ComponentArgs, opts ...ResourceOption) (*Component, error)
    +
    +
    + +
    + +
    public Component(string name, ComponentArgs? args = null, CustomResourceOptions? opts = null)
    +
    +
    + +
    + +
    +public Component(String name, ComponentArgs args)
    +public Component(String name, ComponentArgs args, CustomResourceOptions options)
    +
    +
    +
    + +
    + +
    type: example:mod:Component
    +properties: # The arguments to resource properties.
    +options: # Bag of options to control resource's behavior.
    +
    +
    +
    +
    + +
    + + +
    + name + + string +
    +
    The unique name of the resource.
    + args + + ComponentArgs +
    +
    The arguments to resource properties.
    + opts + + CustomResourceOptions +
    +
    Bag of options to control resource's behavior.
    + +
    +
    + +
    + + +
    + resource_name + + str +
    +
    The unique name of the resource.
    + args + + ComponentArgs +
    +
    The arguments to resource properties.
    + opts + + ResourceOptions +
    +
    Bag of options to control resource's behavior.
    + +
    +
    + +
    + + +
    + ctx + + Context +
    +
    Context object for the current deployment.
    + name + + string +
    +
    The unique name of the resource.
    + args + + ComponentArgs +
    +
    The arguments to resource properties.
    + opts + + ResourceOption +
    +
    Bag of options to control resource's behavior.
    + +
    +
    + +
    + + +
    + name + + string +
    +
    The unique name of the resource.
    + args + + ComponentArgs +
    +
    The arguments to resource properties.
    + opts + + CustomResourceOptions +
    +
    Bag of options to control resource's behavior.
    + +
    +
    + +
    + + +
    + name + + String +
    +
    The unique name of the resource.
    + args + + ComponentArgs +
    +
    The arguments to resource properties.
    + options + + CustomResourceOptions +
    +
    Bag of options to control resource's behavior.
    + +
    +
    + +## Component Resource Properties {#properties} + +To learn more about resource properties and how to use them, see [Inputs and Outputs](/docs/intro/concepts/inputs-outputs) in the Architecture and Concepts docs. + +### Inputs + +The Component resource accepts the following [input](/docs/intro/concepts/inputs-outputs) properties: + + + +
    + +
    + +Local + + + Pulumi.Example.Mod.Component2 +
    +
    + +Main + + + Pulumi.Example.MainComponent +
    +
    +
    +
    + +
    + +
    + +Local + + + Component2 +
    +
    + +Main + + + MainComponent +
    +
    +
    +
    + +
    + +
    + +local + + + Component2 +
    +
    + +main + + + MainComponent +
    +
    +
    +
    + +
    + +
    + +local + + + Component2 +
    +
    + +main + + + MainComponent +
    +
    +
    +
    + +
    + +
    + +local + + + Component2 +
    +
    + +main + + + MainComponent +
    +
    +
    +
    + +
    + +
    + +local + + + example::Component2 +
    +
    + +main + + + example:MainComponent +
    +
    +
    +
    + + +### Outputs + +All [input](#inputs) properties are implicitly available as output properties. Additionally, the Component resource produces the following output properties: + + + +
    + +
    + +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.

    +
    +
    +
    + + + + + + + + +

    Package Details

    +
    +
    Repository
    +
    +
    License
    +
    +
    + diff --git a/pkg/codegen/testing/test/testdata/naming-collisions/docs/mod/component2/_index.md b/pkg/codegen/testing/test/testdata/naming-collisions/docs/mod/component2/_index.md new file mode 100644 index 000000000000..dc6ff8de1e9f --- /dev/null +++ b/pkg/codegen/testing/test/testdata/naming-collisions/docs/mod/component2/_index.md @@ -0,0 +1,366 @@ + +--- +title: "Component2" +title_tag: "example.mod.Component2" +meta_desc: "Documentation for the example.mod.Component2 resource with examples, input properties, output properties, lookup functions, and supporting types." +layout: api +no_edit_this_page: true +--- + + + + + + + + + +## Create Component2 Resource {#create} +
    + +
    + + +
    + +
    new Component2(name: string, args?: Component2Args, opts?: CustomResourceOptions);
    +
    +
    + +
    + +
    @overload
    +def Component2(resource_name: str,
    +               opts: Optional[ResourceOptions] = None)
    +@overload
    +def Component2(resource_name: str,
    +               args: Optional[Component2Args] = None,
    +               opts: Optional[ResourceOptions] = None)
    +
    +
    + +
    + +
    func NewComponent2(ctx *Context, name string, args *Component2Args, opts ...ResourceOption) (*Component2, error)
    +
    +
    + +
    + +
    public Component2(string name, Component2Args? args = null, CustomResourceOptions? opts = null)
    +
    +
    + +
    + +
    +public Component2(String name, Component2Args args)
    +public Component2(String name, Component2Args args, CustomResourceOptions options)
    +
    +
    +
    + +
    + +
    type: example:mod:Component2
    +properties: # The arguments to resource properties.
    +options: # Bag of options to control resource's behavior.
    +
    +
    +
    +
    + +
    + + +
    + name + + string +
    +
    The unique name of the resource.
    + args + + Component2Args +
    +
    The arguments to resource properties.
    + opts + + CustomResourceOptions +
    +
    Bag of options to control resource's behavior.
    + +
    +
    + +
    + + +
    + resource_name + + str +
    +
    The unique name of the resource.
    + args + + Component2Args +
    +
    The arguments to resource properties.
    + opts + + ResourceOptions +
    +
    Bag of options to control resource's behavior.
    + +
    +
    + +
    + + +
    + ctx + + Context +
    +
    Context object for the current deployment.
    + name + + string +
    +
    The unique name of the resource.
    + args + + Component2Args +
    +
    The arguments to resource properties.
    + opts + + ResourceOption +
    +
    Bag of options to control resource's behavior.
    + +
    +
    + +
    + + +
    + name + + string +
    +
    The unique name of the resource.
    + args + + Component2Args +
    +
    The arguments to resource properties.
    + opts + + CustomResourceOptions +
    +
    Bag of options to control resource's behavior.
    + +
    +
    + +
    + + +
    + name + + String +
    +
    The unique name of the resource.
    + args + + Component2Args +
    +
    The arguments to resource properties.
    + options + + CustomResourceOptions +
    +
    Bag of options to control resource's behavior.
    + +
    +
    + +## Component2 Resource Properties {#properties} + +To learn more about resource properties and how to use them, see [Inputs and Outputs](/docs/intro/concepts/inputs-outputs) in the Architecture and Concepts docs. + +### Inputs + +The Component2 resource accepts the following [input](/docs/intro/concepts/inputs-outputs) properties: + + + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + + +### Outputs + +All [input](#inputs) properties are implicitly available as output properties. Additionally, the Component2 resource produces the following output properties: + + + +
    + +
    + +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.

    +
    +
    +
    + + + + + + + + +

    Package Details

    +
    +
    Repository
    +
    +
    License
    +
    +
    + diff --git a/pkg/codegen/testing/test/testdata/naming-collisions/dotnet/MainComponent.cs b/pkg/codegen/testing/test/testdata/naming-collisions/dotnet/MainComponent.cs new file mode 100644 index 000000000000..3e8cfe27fec9 --- /dev/null +++ b/pkg/codegen/testing/test/testdata/naming-collisions/dotnet/MainComponent.cs @@ -0,0 +1,64 @@ +// *** WARNING: this file was generated by test. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Example +{ + [ExampleResourceType("example::MainComponent")] + public partial class MainComponent : global::Pulumi.CustomResource + { + /// + /// Create a MainComponent resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public MainComponent(string name, MainComponentArgs? args = null, CustomResourceOptions? options = null) + : base("example::MainComponent", name, args ?? new MainComponentArgs(), MakeResourceOptions(options, "")) + { + } + + private MainComponent(string name, Input id, CustomResourceOptions? options = null) + : base("example::MainComponent", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing MainComponent resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// A bag of options that control this resource's behavior + public static MainComponent Get(string name, Input id, CustomResourceOptions? options = null) + { + return new MainComponent(name, id, options); + } + } + + public sealed class MainComponentArgs : global::Pulumi.ResourceArgs + { + public MainComponentArgs() + { + } + public static new MainComponentArgs Empty => new MainComponentArgs(); + } +} diff --git a/pkg/codegen/testing/test/testdata/naming-collisions/dotnet/Mod/Component.cs b/pkg/codegen/testing/test/testdata/naming-collisions/dotnet/Mod/Component.cs new file mode 100644 index 000000000000..cbc5b0458082 --- /dev/null +++ b/pkg/codegen/testing/test/testdata/naming-collisions/dotnet/Mod/Component.cs @@ -0,0 +1,70 @@ +// *** WARNING: this file was generated by test. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Example.Mod +{ + [ExampleResourceType("example:mod:Component")] + public partial class Component : global::Pulumi.CustomResource + { + /// + /// Create a Component resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public Component(string name, ComponentArgs? args = null, CustomResourceOptions? options = null) + : base("example:mod:Component", name, args ?? new ComponentArgs(), MakeResourceOptions(options, "")) + { + } + + private Component(string name, Input id, CustomResourceOptions? options = null) + : base("example:mod:Component", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing Component resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// A bag of options that control this resource's behavior + public static Component Get(string name, Input id, CustomResourceOptions? options = null) + { + return new Component(name, id, options); + } + } + + public sealed class ComponentArgs : global::Pulumi.ResourceArgs + { + [Input("local")] + public Input? Local { get; set; } + + [Input("main")] + public Input? Main { get; set; } + + public ComponentArgs() + { + } + public static new ComponentArgs Empty => new ComponentArgs(); + } +} diff --git a/pkg/codegen/testing/test/testdata/naming-collisions/dotnet/Mod/Component2.cs b/pkg/codegen/testing/test/testdata/naming-collisions/dotnet/Mod/Component2.cs new file mode 100644 index 000000000000..9eeb2ea30909 --- /dev/null +++ b/pkg/codegen/testing/test/testdata/naming-collisions/dotnet/Mod/Component2.cs @@ -0,0 +1,64 @@ +// *** WARNING: this file was generated by test. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Example.Mod +{ + [ExampleResourceType("example:mod:Component2")] + public partial class Component2 : global::Pulumi.CustomResource + { + /// + /// Create a Component2 resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public Component2(string name, Component2Args? args = null, CustomResourceOptions? options = null) + : base("example:mod:Component2", name, args ?? new Component2Args(), MakeResourceOptions(options, "")) + { + } + + private Component2(string name, Input id, CustomResourceOptions? options = null) + : base("example:mod:Component2", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing Component2 resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// A bag of options that control this resource's behavior + public static Component2 Get(string name, Input id, CustomResourceOptions? options = null) + { + return new Component2(name, id, options); + } + } + + public sealed class Component2Args : global::Pulumi.ResourceArgs + { + public Component2Args() + { + } + public static new Component2Args Empty => new Component2Args(); + } +} diff --git a/pkg/codegen/testing/test/testdata/naming-collisions/dotnet/Mod/README.md b/pkg/codegen/testing/test/testdata/naming-collisions/dotnet/Mod/README.md new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/pkg/codegen/testing/test/testdata/naming-collisions/dotnet/codegen-manifest.json b/pkg/codegen/testing/test/testdata/naming-collisions/dotnet/codegen-manifest.json index 1518ba188758..0a5b5b680de2 100644 --- a/pkg/codegen/testing/test/testdata/naming-collisions/dotnet/codegen-manifest.json +++ b/pkg/codegen/testing/test/testdata/naming-collisions/dotnet/codegen-manifest.json @@ -1,6 +1,10 @@ { "emittedFiles": [ "Enums.cs", + "MainComponent.cs", + "Mod/Component.cs", + "Mod/Component2.cs", + "Mod/README.md", "Provider.cs", "Pulumi.Example.csproj", "README.md", diff --git a/pkg/codegen/testing/test/testdata/naming-collisions/go/codegen-manifest.json b/pkg/codegen/testing/test/testdata/naming-collisions/go/codegen-manifest.json index 265b5ccfe435..b92de6f0e9ab 100644 --- a/pkg/codegen/testing/test/testdata/naming-collisions/go/codegen-manifest.json +++ b/pkg/codegen/testing/test/testdata/naming-collisions/go/codegen-manifest.json @@ -2,6 +2,10 @@ "emittedFiles": [ "example/doc.go", "example/init.go", + "example/mainComponent.go", + "example/mod/component.go", + "example/mod/component2.go", + "example/mod/init.go", "example/provider.go", "example/pulumi-plugin.json", "example/pulumiEnums.go", diff --git a/pkg/codegen/testing/test/testdata/naming-collisions/go/example/init.go b/pkg/codegen/testing/test/testdata/naming-collisions/go/example/init.go index 718b035d0a1f..f2c78c82eb99 100644 --- a/pkg/codegen/testing/test/testdata/naming-collisions/go/example/init.go +++ b/pkg/codegen/testing/test/testdata/naming-collisions/go/example/init.go @@ -20,6 +20,8 @@ func (m *module) Version() semver.Version { func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi.Resource, err error) { switch typ { + case "example::MainComponent": + r = &MainComponent{} case "example::Resource": r = &Resource{} case "example::ResourceInput": diff --git a/pkg/codegen/testing/test/testdata/naming-collisions/go/example/mainComponent.go b/pkg/codegen/testing/test/testdata/naming-collisions/go/example/mainComponent.go new file mode 100644 index 000000000000..08092beb6752 --- /dev/null +++ b/pkg/codegen/testing/test/testdata/naming-collisions/go/example/mainComponent.go @@ -0,0 +1,102 @@ +// Code generated by test DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package example + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type MainComponent struct { + pulumi.CustomResourceState +} + +// NewMainComponent registers a new resource with the given unique name, arguments, and options. +func NewMainComponent(ctx *pulumi.Context, + name string, args *MainComponentArgs, opts ...pulumi.ResourceOption) (*MainComponent, error) { + if args == nil { + args = &MainComponentArgs{} + } + + var resource MainComponent + err := ctx.RegisterResource("example::MainComponent", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetMainComponent gets an existing MainComponent resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetMainComponent(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *MainComponentState, opts ...pulumi.ResourceOption) (*MainComponent, error) { + var resource MainComponent + err := ctx.ReadResource("example::MainComponent", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering MainComponent resources. +type mainComponentState struct { +} + +type MainComponentState struct { +} + +func (MainComponentState) ElementType() reflect.Type { + return reflect.TypeOf((*mainComponentState)(nil)).Elem() +} + +type mainComponentArgs struct { +} + +// The set of arguments for constructing a MainComponent resource. +type MainComponentArgs struct { +} + +func (MainComponentArgs) ElementType() reflect.Type { + return reflect.TypeOf((*mainComponentArgs)(nil)).Elem() +} + +type MainComponentInput interface { + pulumi.Input + + ToMainComponentOutput() MainComponentOutput + ToMainComponentOutputWithContext(ctx context.Context) MainComponentOutput +} + +func (*MainComponent) ElementType() reflect.Type { + return reflect.TypeOf((**MainComponent)(nil)).Elem() +} + +func (i *MainComponent) ToMainComponentOutput() MainComponentOutput { + return i.ToMainComponentOutputWithContext(context.Background()) +} + +func (i *MainComponent) ToMainComponentOutputWithContext(ctx context.Context) MainComponentOutput { + return pulumi.ToOutputWithContext(ctx, i).(MainComponentOutput) +} + +type MainComponentOutput struct{ *pulumi.OutputState } + +func (MainComponentOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MainComponent)(nil)).Elem() +} + +func (o MainComponentOutput) ToMainComponentOutput() MainComponentOutput { + return o +} + +func (o MainComponentOutput) ToMainComponentOutputWithContext(ctx context.Context) MainComponentOutput { + return o +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*MainComponentInput)(nil)).Elem(), &MainComponent{}) + pulumi.RegisterOutputType(MainComponentOutput{}) +} diff --git a/pkg/codegen/testing/test/testdata/naming-collisions/go/example/mod/component.go b/pkg/codegen/testing/test/testdata/naming-collisions/go/example/mod/component.go new file mode 100644 index 000000000000..ad5677ea10e8 --- /dev/null +++ b/pkg/codegen/testing/test/testdata/naming-collisions/go/example/mod/component.go @@ -0,0 +1,107 @@ +// Code generated by test DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package mod + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "naming-collisions/example" +) + +type Component struct { + pulumi.CustomResourceState +} + +// NewComponent registers a new resource with the given unique name, arguments, and options. +func NewComponent(ctx *pulumi.Context, + name string, args *ComponentArgs, opts ...pulumi.ResourceOption) (*Component, error) { + if args == nil { + args = &ComponentArgs{} + } + + var resource Component + err := ctx.RegisterResource("example:mod:Component", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetComponent gets an existing Component resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetComponent(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *ComponentState, opts ...pulumi.ResourceOption) (*Component, error) { + var resource Component + err := ctx.ReadResource("example:mod:Component", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering Component resources. +type componentState struct { +} + +type ComponentState struct { +} + +func (ComponentState) ElementType() reflect.Type { + return reflect.TypeOf((*componentState)(nil)).Elem() +} + +type componentArgs struct { + Local *Component2 `pulumi:"local"` + Main *example.MainComponent `pulumi:"main"` +} + +// The set of arguments for constructing a Component resource. +type ComponentArgs struct { + Local Component2Input + Main example.MainComponentInput +} + +func (ComponentArgs) ElementType() reflect.Type { + return reflect.TypeOf((*componentArgs)(nil)).Elem() +} + +type ComponentInput interface { + pulumi.Input + + ToComponentOutput() ComponentOutput + ToComponentOutputWithContext(ctx context.Context) ComponentOutput +} + +func (*Component) ElementType() reflect.Type { + return reflect.TypeOf((**Component)(nil)).Elem() +} + +func (i *Component) ToComponentOutput() ComponentOutput { + return i.ToComponentOutputWithContext(context.Background()) +} + +func (i *Component) ToComponentOutputWithContext(ctx context.Context) ComponentOutput { + return pulumi.ToOutputWithContext(ctx, i).(ComponentOutput) +} + +type ComponentOutput struct{ *pulumi.OutputState } + +func (ComponentOutput) ElementType() reflect.Type { + return reflect.TypeOf((**Component)(nil)).Elem() +} + +func (o ComponentOutput) ToComponentOutput() ComponentOutput { + return o +} + +func (o ComponentOutput) ToComponentOutputWithContext(ctx context.Context) ComponentOutput { + return o +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*ComponentInput)(nil)).Elem(), &Component{}) + pulumi.RegisterOutputType(ComponentOutput{}) +} diff --git a/pkg/codegen/testing/test/testdata/naming-collisions/go/example/mod/component2.go b/pkg/codegen/testing/test/testdata/naming-collisions/go/example/mod/component2.go new file mode 100644 index 000000000000..d021635682b2 --- /dev/null +++ b/pkg/codegen/testing/test/testdata/naming-collisions/go/example/mod/component2.go @@ -0,0 +1,102 @@ +// Code generated by test DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package mod + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type Component2 struct { + pulumi.CustomResourceState +} + +// NewComponent2 registers a new resource with the given unique name, arguments, and options. +func NewComponent2(ctx *pulumi.Context, + name string, args *Component2Args, opts ...pulumi.ResourceOption) (*Component2, error) { + if args == nil { + args = &Component2Args{} + } + + var resource Component2 + err := ctx.RegisterResource("example:mod:Component2", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetComponent2 gets an existing Component2 resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetComponent2(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *Component2State, opts ...pulumi.ResourceOption) (*Component2, error) { + var resource Component2 + err := ctx.ReadResource("example:mod:Component2", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering Component2 resources. +type component2State struct { +} + +type Component2State struct { +} + +func (Component2State) ElementType() reflect.Type { + return reflect.TypeOf((*component2State)(nil)).Elem() +} + +type component2Args struct { +} + +// The set of arguments for constructing a Component2 resource. +type Component2Args struct { +} + +func (Component2Args) ElementType() reflect.Type { + return reflect.TypeOf((*component2Args)(nil)).Elem() +} + +type Component2Input interface { + pulumi.Input + + ToComponent2Output() Component2Output + ToComponent2OutputWithContext(ctx context.Context) Component2Output +} + +func (*Component2) ElementType() reflect.Type { + return reflect.TypeOf((**Component2)(nil)).Elem() +} + +func (i *Component2) ToComponent2Output() Component2Output { + return i.ToComponent2OutputWithContext(context.Background()) +} + +func (i *Component2) ToComponent2OutputWithContext(ctx context.Context) Component2Output { + return pulumi.ToOutputWithContext(ctx, i).(Component2Output) +} + +type Component2Output struct{ *pulumi.OutputState } + +func (Component2Output) ElementType() reflect.Type { + return reflect.TypeOf((**Component2)(nil)).Elem() +} + +func (o Component2Output) ToComponent2Output() Component2Output { + return o +} + +func (o Component2Output) ToComponent2OutputWithContext(ctx context.Context) Component2Output { + return o +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*Component2Input)(nil)).Elem(), &Component2{}) + pulumi.RegisterOutputType(Component2Output{}) +} diff --git a/pkg/codegen/testing/test/testdata/naming-collisions/go/example/mod/init.go b/pkg/codegen/testing/test/testdata/naming-collisions/go/example/mod/init.go new file mode 100644 index 000000000000..b41a5e52629b --- /dev/null +++ b/pkg/codegen/testing/test/testdata/naming-collisions/go/example/mod/init.go @@ -0,0 +1,46 @@ +// Code generated by test DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package mod + +import ( + "fmt" + + "github.com/blang/semver" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "naming-collisions/example" +) + +type module struct { + version semver.Version +} + +func (m *module) Version() semver.Version { + return m.version +} + +func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi.Resource, err error) { + switch typ { + case "example:mod:Component": + r = &Component{} + case "example:mod:Component2": + r = &Component2{} + default: + return nil, fmt.Errorf("unknown resource type: %s", typ) + } + + err = ctx.RegisterResource(typ, name, nil, r, pulumi.URN_(urn)) + return +} + +func init() { + version, err := example.PkgVersion() + if err != nil { + version = semver.Version{Major: 1} + } + pulumi.RegisterResourceModule( + "example", + "mod", + &module{version}, + ) +} diff --git a/pkg/codegen/testing/test/testdata/naming-collisions/nodejs/codegen-manifest.json b/pkg/codegen/testing/test/testdata/naming-collisions/nodejs/codegen-manifest.json index 8742bace2e66..be6e08fb76b8 100644 --- a/pkg/codegen/testing/test/testdata/naming-collisions/nodejs/codegen-manifest.json +++ b/pkg/codegen/testing/test/testdata/naming-collisions/nodejs/codegen-manifest.json @@ -2,6 +2,10 @@ "emittedFiles": [ "README.md", "index.ts", + "mainComponent.ts", + "mod/component.ts", + "mod/component2.ts", + "mod/index.ts", "package.json", "provider.ts", "resource.ts", diff --git a/pkg/codegen/testing/test/testdata/naming-collisions/nodejs/index.ts b/pkg/codegen/testing/test/testdata/naming-collisions/nodejs/index.ts index 3800243e08d5..649f54b62aaa 100644 --- a/pkg/codegen/testing/test/testdata/naming-collisions/nodejs/index.ts +++ b/pkg/codegen/testing/test/testdata/naming-collisions/nodejs/index.ts @@ -5,6 +5,11 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; // Export members: +export { MainComponentArgs } from "./mainComponent"; +export type MainComponent = import("./mainComponent").MainComponent; +export const MainComponent: typeof import("./mainComponent").MainComponent = null as any; +utilities.lazyLoad(exports, ["MainComponent"], () => require("./mainComponent")); + export { ProviderArgs } from "./provider"; export type Provider = import("./provider").Provider; export const Provider: typeof import("./provider").Provider = null as any; @@ -25,9 +30,11 @@ utilities.lazyLoad(exports, ["ResourceInput"], () => require("./resourceInput")) export * from "./types/enums"; // Export sub-modules: +import * as mod from "./mod"; import * as types from "./types"; export { + mod, types, }; @@ -35,6 +42,8 @@ const _module = { version: utilities.getVersion(), construct: (name: string, type: string, urn: string): pulumi.Resource => { switch (type) { + case "example::MainComponent": + return new MainComponent(name, undefined, { urn }) case "example::Resource": return new Resource(name, undefined, { urn }) case "example::ResourceInput": diff --git a/pkg/codegen/testing/test/testdata/naming-collisions/nodejs/mainComponent.ts b/pkg/codegen/testing/test/testdata/naming-collisions/nodejs/mainComponent.ts new file mode 100644 index 000000000000..857380e01098 --- /dev/null +++ b/pkg/codegen/testing/test/testdata/naming-collisions/nodejs/mainComponent.ts @@ -0,0 +1,57 @@ +// *** WARNING: this file was generated by test. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "./utilities"; + +export class MainComponent extends pulumi.CustomResource { + /** + * Get an existing MainComponent resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): MainComponent { + return new MainComponent(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'example::MainComponent'; + + /** + * Returns true if the given object is an instance of MainComponent. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is MainComponent { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === MainComponent.__pulumiType; + } + + + /** + * Create a MainComponent resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args?: MainComponentArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + } else { + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(MainComponent.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a MainComponent resource. + */ +export interface MainComponentArgs { +} diff --git a/pkg/codegen/testing/test/testdata/naming-collisions/nodejs/mod/component.ts b/pkg/codegen/testing/test/testdata/naming-collisions/nodejs/mod/component.ts new file mode 100644 index 000000000000..b038677d3ddf --- /dev/null +++ b/pkg/codegen/testing/test/testdata/naming-collisions/nodejs/mod/component.ts @@ -0,0 +1,64 @@ +// *** WARNING: this file was generated by test. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "../utilities"; + +import {MainComponent} from ".."; +import {Component2} from "./index"; + +export class Component extends pulumi.CustomResource { + /** + * Get an existing Component resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Component { + return new Component(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'example:mod:Component'; + + /** + * Returns true if the given object is an instance of Component. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is Component { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === Component.__pulumiType; + } + + + /** + * Create a Component resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args?: ComponentArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + resourceInputs["local"] = args ? args.local : undefined; + resourceInputs["main"] = args ? args.main : undefined; + } else { + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(Component.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a Component resource. + */ +export interface ComponentArgs { + local?: pulumi.Input; + main?: pulumi.Input; +} diff --git a/pkg/codegen/testing/test/testdata/naming-collisions/nodejs/mod/component2.ts b/pkg/codegen/testing/test/testdata/naming-collisions/nodejs/mod/component2.ts new file mode 100644 index 000000000000..52746711009b --- /dev/null +++ b/pkg/codegen/testing/test/testdata/naming-collisions/nodejs/mod/component2.ts @@ -0,0 +1,57 @@ +// *** WARNING: this file was generated by test. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "../utilities"; + +export class Component2 extends pulumi.CustomResource { + /** + * Get an existing Component2 resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Component2 { + return new Component2(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'example:mod:Component2'; + + /** + * Returns true if the given object is an instance of Component2. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is Component2 { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === Component2.__pulumiType; + } + + + /** + * Create a Component2 resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args?: Component2Args, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + } else { + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(Component2.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a Component2 resource. + */ +export interface Component2Args { +} diff --git a/pkg/codegen/testing/test/testdata/naming-collisions/nodejs/mod/index.ts b/pkg/codegen/testing/test/testdata/naming-collisions/nodejs/mod/index.ts new file mode 100644 index 000000000000..ef5ee59ad102 --- /dev/null +++ b/pkg/codegen/testing/test/testdata/naming-collisions/nodejs/mod/index.ts @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by test. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "../utilities"; + +// Export members: +export { ComponentArgs } from "./component"; +export type Component = import("./component").Component; +export const Component: typeof import("./component").Component = null as any; +utilities.lazyLoad(exports, ["Component"], () => require("./component")); + +export { Component2Args } from "./component2"; +export type Component2 = import("./component2").Component2; +export const Component2: typeof import("./component2").Component2 = null as any; +utilities.lazyLoad(exports, ["Component2"], () => require("./component2")); + + +const _module = { + version: utilities.getVersion(), + construct: (name: string, type: string, urn: string): pulumi.Resource => { + switch (type) { + case "example:mod:Component": + return new Component(name, undefined, { urn }) + case "example:mod:Component2": + return new Component2(name, undefined, { urn }) + default: + throw new Error(`unknown resource type ${type}`); + } + }, +}; +pulumi.runtime.registerResourceModule("example", "mod", _module) diff --git a/pkg/codegen/testing/test/testdata/naming-collisions/nodejs/tsconfig.json b/pkg/codegen/testing/test/testdata/naming-collisions/nodejs/tsconfig.json index 580c6b03ddba..41516b009096 100644 --- a/pkg/codegen/testing/test/testdata/naming-collisions/nodejs/tsconfig.json +++ b/pkg/codegen/testing/test/testdata/naming-collisions/nodejs/tsconfig.json @@ -14,6 +14,10 @@ }, "files": [ "index.ts", + "mainComponent.ts", + "mod/component.ts", + "mod/component2.ts", + "mod/index.ts", "provider.ts", "resource.ts", "resourceInput.ts", diff --git a/pkg/codegen/testing/test/testdata/naming-collisions/python/codegen-manifest.json b/pkg/codegen/testing/test/testdata/naming-collisions/python/codegen-manifest.json index 128fa05a6af1..c61dc52f7214 100644 --- a/pkg/codegen/testing/test/testdata/naming-collisions/python/codegen-manifest.json +++ b/pkg/codegen/testing/test/testdata/naming-collisions/python/codegen-manifest.json @@ -4,6 +4,10 @@ "pulumi_example/__init__.py", "pulumi_example/_enums.py", "pulumi_example/_utilities.py", + "pulumi_example/main_component.py", + "pulumi_example/mod/__init__.py", + "pulumi_example/mod/component.py", + "pulumi_example/mod/component2.py", "pulumi_example/provider.py", "pulumi_example/pulumi-plugin.json", "pulumi_example/py.typed", diff --git a/pkg/codegen/testing/test/testdata/naming-collisions/python/pulumi_example/__init__.py b/pkg/codegen/testing/test/testdata/naming-collisions/python/pulumi_example/__init__.py index 1ac75b8368a8..159293b6a47c 100644 --- a/pkg/codegen/testing/test/testdata/naming-collisions/python/pulumi_example/__init__.py +++ b/pkg/codegen/testing/test/testdata/naming-collisions/python/pulumi_example/__init__.py @@ -6,9 +6,18 @@ import typing # Export this package's modules as members: from ._enums import * +from .main_component import * from .provider import * from .resource import * from .resource_input import * + +# Make subpackages available: +if typing.TYPE_CHECKING: + import pulumi_example.mod as __mod + mod = __mod +else: + mod = _utilities.lazy_import('pulumi_example.mod') + _utilities.register( resource_modules=""" [ @@ -17,9 +26,19 @@ "mod": "", "fqn": "pulumi_example", "classes": { + "example::MainComponent": "MainComponent", "example::Resource": "Resource", "example::ResourceInput": "ResourceInput" } + }, + { + "pkg": "example", + "mod": "mod", + "fqn": "pulumi_example.mod", + "classes": { + "example:mod:Component": "Component", + "example:mod:Component2": "Component2" + } } ] """, diff --git a/pkg/codegen/testing/test/testdata/naming-collisions/python/pulumi_example/main_component.py b/pkg/codegen/testing/test/testdata/naming-collisions/python/pulumi_example/main_component.py new file mode 100644 index 000000000000..8b043e62a8a7 --- /dev/null +++ b/pkg/codegen/testing/test/testdata/naming-collisions/python/pulumi_example/main_component.py @@ -0,0 +1,89 @@ +# coding=utf-8 +# *** WARNING: this file was generated by test. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities + +__all__ = ['MainComponentArgs', 'MainComponent'] + +@pulumi.input_type +class MainComponentArgs: + def __init__(__self__): + """ + The set of arguments for constructing a MainComponent resource. + """ + pass + + +class MainComponent(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + __props__=None): + """ + Create a MainComponent resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: Optional[MainComponentArgs] = None, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Create a MainComponent resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param MainComponentArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(MainComponentArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = MainComponentArgs.__new__(MainComponentArgs) + + super(MainComponent, __self__).__init__( + 'example::MainComponent', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'MainComponent': + """ + Get an existing MainComponent resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = MainComponentArgs.__new__(MainComponentArgs) + + return MainComponent(resource_name, opts=opts, __props__=__props__) + diff --git a/pkg/codegen/testing/test/testdata/naming-collisions/python/pulumi_example/mod/__init__.py b/pkg/codegen/testing/test/testdata/naming-collisions/python/pulumi_example/mod/__init__.py new file mode 100644 index 000000000000..a5ec9ef89732 --- /dev/null +++ b/pkg/codegen/testing/test/testdata/naming-collisions/python/pulumi_example/mod/__init__.py @@ -0,0 +1,9 @@ +# coding=utf-8 +# *** WARNING: this file was generated by test. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +from .. import _utilities +import typing +# Export this package's modules as members: +from .component import * +from .component2 import * diff --git a/pkg/codegen/testing/test/testdata/naming-collisions/python/pulumi_example/mod/component.py b/pkg/codegen/testing/test/testdata/naming-collisions/python/pulumi_example/mod/component.py new file mode 100644 index 000000000000..4864a4cd76c9 --- /dev/null +++ b/pkg/codegen/testing/test/testdata/naming-collisions/python/pulumi_example/mod/component.py @@ -0,0 +1,120 @@ +# coding=utf-8 +# *** WARNING: this file was generated by test. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from ..component2 import Component2 +from ..main_component import MainComponent + +__all__ = ['ComponentArgs', 'Component'] + +@pulumi.input_type +class ComponentArgs: + def __init__(__self__, *, + local: Optional[pulumi.Input['Component2']] = None, + main: Optional[pulumi.Input['MainComponent']] = None): + """ + The set of arguments for constructing a Component resource. + """ + if local is not None: + pulumi.set(__self__, "local", local) + if main is not None: + pulumi.set(__self__, "main", main) + + @property + @pulumi.getter + def local(self) -> Optional[pulumi.Input['Component2']]: + return pulumi.get(self, "local") + + @local.setter + def local(self, value: Optional[pulumi.Input['Component2']]): + pulumi.set(self, "local", value) + + @property + @pulumi.getter + def main(self) -> Optional[pulumi.Input['MainComponent']]: + return pulumi.get(self, "main") + + @main.setter + def main(self, value: Optional[pulumi.Input['MainComponent']]): + pulumi.set(self, "main", value) + + +class Component(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + local: Optional[pulumi.Input['Component2']] = None, + main: Optional[pulumi.Input['MainComponent']] = None, + __props__=None): + """ + Create a Component resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: Optional[ComponentArgs] = None, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Create a Component resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param ComponentArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(ComponentArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + local: Optional[pulumi.Input['Component2']] = None, + main: Optional[pulumi.Input['MainComponent']] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = ComponentArgs.__new__(ComponentArgs) + + __props__.__dict__["local"] = local + __props__.__dict__["main"] = main + super(Component, __self__).__init__( + 'example:mod:Component', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'Component': + """ + Get an existing Component resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = ComponentArgs.__new__(ComponentArgs) + + return Component(resource_name, opts=opts, __props__=__props__) + diff --git a/pkg/codegen/testing/test/testdata/naming-collisions/python/pulumi_example/mod/component2.py b/pkg/codegen/testing/test/testdata/naming-collisions/python/pulumi_example/mod/component2.py new file mode 100644 index 000000000000..882a51cf1a83 --- /dev/null +++ b/pkg/codegen/testing/test/testdata/naming-collisions/python/pulumi_example/mod/component2.py @@ -0,0 +1,89 @@ +# coding=utf-8 +# *** WARNING: this file was generated by test. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from .. import _utilities + +__all__ = ['Component2Args', 'Component2'] + +@pulumi.input_type +class Component2Args: + def __init__(__self__): + """ + The set of arguments for constructing a Component2 resource. + """ + pass + + +class Component2(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + __props__=None): + """ + Create a Component2 resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: Optional[Component2Args] = None, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Create a Component2 resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param Component2Args args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(Component2Args, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = Component2Args.__new__(Component2Args) + + super(Component2, __self__).__init__( + 'example:mod:Component2', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'Component2': + """ + Get an existing Component2 resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = Component2Args.__new__(Component2Args) + + return Component2(resource_name, opts=opts, __props__=__props__) + diff --git a/pkg/codegen/testing/test/testdata/naming-collisions/schema.json b/pkg/codegen/testing/test/testdata/naming-collisions/schema.json index 7cafda06d866..679f85474b47 100644 --- a/pkg/codegen/testing/test/testdata/naming-collisions/schema.json +++ b/pkg/codegen/testing/test/testdata/naming-collisions/schema.json @@ -56,6 +56,23 @@ } } }, + "example:mod:Component": { + "component": true, + "inputProperties": { + "main": { + "$ref": "#/resources/example::MainComponent" + }, + "local": { + "$ref": "#/resources/example:mod:Component2" + } + } + }, + "example:mod:Component2": { + "component": true + }, + "example::MainComponent": { + "component": true + }, "example::ResourceInput": { "properties": { "bar": { @@ -72,7 +89,7 @@ ] }, "go": { - "importBasePath": "github.com/pulumi/pulumi/pkg/v3/codegen/testing/test/testdata/input-collision/go/example", + "importBasePath": "naming-collisions/example", "generateExtraInputTypes": true }, "nodejs": { From b0b4add2a68f6b21d55f58cc6e5d570981f2b467 Mon Sep 17 00:00:00 2001 From: Zaid Ajaj Date: Fri, 9 Dec 2022 14:36:44 +0100 Subject: [PATCH 28/36] Do not generate Result types for functions with empty outputs --- ...ypes-for-functions-with-empty-outputs.yaml | 4 ++ pkg/codegen/dotnet/gen.go | 4 +- pkg/codegen/go/gen.go | 8 +-- pkg/codegen/nodejs/gen.go | 4 +- pkg/codegen/python/gen.go | 69 +++++++++++++------ pkg/codegen/schema/schema.go | 2 +- .../docs/funcwithemptyoutputs/_index.md | 15 +--- .../dotnet/FuncWithEmptyOutputs.cs | 34 +-------- .../go/mypkg/funcWithEmptyOutputs.go | 55 +-------------- .../nodejs/funcWithEmptyOutputs.ts | 18 +---- .../testdata/output-funcs/nodejs/index.ts | 5 +- .../pulumi_mypkg/func_with_const_input.py | 4 +- .../pulumi_mypkg/func_with_empty_outputs.py | 35 +--------- .../python/pulumi_my8110/example_func.py | 4 +- .../python/pulumi_example/do_foo.py | 4 +- 15 files changed, 79 insertions(+), 186 deletions(-) create mode 100644 changelog/pending/20221208--sdkgen-dotnet-go-nodejs-python--do-not-generate-result-types-for-functions-with-empty-outputs.yaml diff --git a/changelog/pending/20221208--sdkgen-dotnet-go-nodejs-python--do-not-generate-result-types-for-functions-with-empty-outputs.yaml b/changelog/pending/20221208--sdkgen-dotnet-go-nodejs-python--do-not-generate-result-types-for-functions-with-empty-outputs.yaml new file mode 100644 index 000000000000..3478fa51ab5c --- /dev/null +++ b/changelog/pending/20221208--sdkgen-dotnet-go-nodejs-python--do-not-generate-result-types-for-functions-with-empty-outputs.yaml @@ -0,0 +1,4 @@ +changes: +- type: fix + scope: sdkgen/dotnet,go,nodejs,python + description: Do not generate Result types for functions with empty outputs diff --git a/pkg/codegen/dotnet/gen.go b/pkg/codegen/dotnet/gen.go index 21f09f3391bd..24d9b1b06c53 100644 --- a/pkg/codegen/dotnet/gen.go +++ b/pkg/codegen/dotnet/gen.go @@ -1341,7 +1341,7 @@ func (mod *modContext) genFunction(w io.Writer, fun *schema.Function) error { fmt.Fprintf(w, "{\n") var typeParameter string - if fun.Outputs != nil { + if fun.Outputs != nil && len(fun.Outputs.Properties) > 0 { typeParameter = fmt.Sprintf("<%sResult>", className) } @@ -1404,7 +1404,7 @@ func (mod *modContext) genFunction(w io.Writer, fun *schema.Function) error { return err } - if fun.Outputs != nil { + if fun.Outputs != nil && len(fun.Outputs.Properties) > 0 { fmt.Fprintf(w, "\n") res := &plainType{ diff --git a/pkg/codegen/go/gen.go b/pkg/codegen/go/gen.go index 298b0b8a82c1..705ddd3d5d87 100644 --- a/pkg/codegen/go/gen.go +++ b/pkg/codegen/go/gen.go @@ -2104,7 +2104,7 @@ func (pkg *pkgContext) genFunction(w io.Writer, f *schema.Function) error { argsig = fmt.Sprintf("%s, args *%sArgs", argsig, name) } var retty string - if f.Outputs == nil { + if f.Outputs == nil || len(f.Outputs.Properties) == 0 { retty = "error" } else { retty = fmt.Sprintf("(*%sResult, error)", name) @@ -2123,7 +2123,7 @@ func (pkg *pkgContext) genFunction(w io.Writer, f *schema.Function) error { // Now simply invoke the runtime function with the arguments. var outputsType string - if f.Outputs == nil { + if f.Outputs == nil || len(f.Outputs.Properties) == 0 { outputsType = "struct{}" } else { outputsType = name + "Result" @@ -2134,7 +2134,7 @@ func (pkg *pkgContext) genFunction(w io.Writer, f *schema.Function) error { fmt.Fprintf(w, "\tvar rv %s\n", outputsType) fmt.Fprintf(w, "\terr := ctx.Invoke(\"%s\", %s, &rv, opts...)\n", f.Token, inputsVar) - if f.Outputs == nil { + if f.Outputs == nil || len(f.Outputs.Properties) == 0 { fmt.Fprintf(w, "\treturn err\n") } else { // Check the error before proceeding. @@ -2164,7 +2164,7 @@ func (pkg *pkgContext) genFunction(w io.Writer, f *schema.Function) error { } } } - if f.Outputs != nil { + if f.Outputs != nil && len(f.Outputs.Properties) > 0 { fmt.Fprintf(w, "\n") fnOutputsName := pkg.functionResultTypeName(f) pkg.genPlainType(w, fnOutputsName, f.Outputs.Comment, "", f.Outputs.Properties) diff --git a/pkg/codegen/nodejs/gen.go b/pkg/codegen/nodejs/gen.go index 40241014db09..8b24a725d6f8 100644 --- a/pkg/codegen/nodejs/gen.go +++ b/pkg/codegen/nodejs/gen.go @@ -1142,7 +1142,7 @@ func (mod *modContext) genFunction(w io.Writer, fun *schema.Function) (functionF } info.functionArgsInterfaceName = argsInterfaceName } - if fun.Outputs != nil { + if fun.Outputs != nil && len(fun.Outputs.Properties) > 0 { fmt.Fprintf(w, "\n") resultInterfaceName := title(name) + "Result" if err := mod.genPlainType(w, resultInterfaceName, fun.Outputs.Comment, fun.Outputs.Properties, false, true, 0); err != nil { @@ -1166,7 +1166,7 @@ func functionArgsOptional(fun *schema.Function) bool { } func functionReturnType(fun *schema.Function) string { - if fun.Outputs == nil { + if fun.Outputs == nil || len(fun.Outputs.Properties) == 0 { return "void" } return title(tokenToFunctionName(fun.Token)) + "Result" diff --git a/pkg/codegen/python/gen.go b/pkg/codegen/python/gen.go index c5e0d860f826..3ca743c4b76c 100644 --- a/pkg/codegen/python/gen.go +++ b/pkg/codegen/python/gen.go @@ -357,29 +357,54 @@ func genStandardHeader(w io.Writer, tool string) { fmt.Fprintf(w, "# *** Do not edit by hand unless you're certain you know what you are doing! ***\n\n") } +func typingImports() []string { + return []string{ + "Any", + "Mapping", + "Optional", + "Sequence", + "Union", + "overload", + } +} + +func (mod *modContext) generateCommonImports(w io.Writer, imports imports, typingImports []string) { + rel, err := filepath.Rel(mod.mod, "") + contract.Assert(err == nil) + relRoot := path.Dir(rel) + relImport := relPathToRelImport(relRoot) + + fmt.Fprintf(w, "import copy\n") + fmt.Fprintf(w, "import warnings\n") + fmt.Fprintf(w, "import pulumi\n") + fmt.Fprintf(w, "import pulumi.runtime\n") + fmt.Fprintf(w, "from typing import %s\n", strings.Join(typingImports, ", ")) + fmt.Fprintf(w, "from %s import _utilities\n", relImport) + for _, imp := range imports.strings() { + fmt.Fprintf(w, "%s\n", imp) + } + fmt.Fprintf(w, "\n") +} + func (mod *modContext) genHeader(w io.Writer, needsSDK bool, imports imports) { genStandardHeader(w, mod.tool) // If needed, emit the standard Pulumi SDK import statement. if needsSDK { - rel, err := filepath.Rel(mod.mod, "") - contract.Assert(err == nil) - relRoot := path.Dir(rel) - relImport := relPathToRelImport(relRoot) - - fmt.Fprintf(w, "import copy\n") - fmt.Fprintf(w, "import warnings\n") - fmt.Fprintf(w, "import pulumi\n") - fmt.Fprintf(w, "import pulumi.runtime\n") - fmt.Fprintf(w, "from typing import Any, Mapping, Optional, Sequence, Union, overload\n") - fmt.Fprintf(w, "from %s import _utilities\n", relImport) - for _, imp := range imports.strings() { - fmt.Fprintf(w, "%s\n", imp) - } - fmt.Fprintf(w, "\n") + typings := typingImports() + mod.generateCommonImports(w, imports, typings) } } +func (mod *modContext) genFunctionHeader(w io.Writer, function *schema.Function, imports imports) { + genStandardHeader(w, mod.tool) + typings := typingImports() + if function.Outputs == nil || len(function.Outputs.Properties) == 0 { + typings = append(typings, "Awaitable") + } + mod.generateCommonImports(w, imports, typings) +} + func relPathToRelImport(relPath string) string { // Convert relative path to relative import e.g. "../.." -> "..." // https://realpython.com/absolute-vs-relative-python-imports/#relative-imports @@ -1671,17 +1696,17 @@ func (mod *modContext) genFunction(fun *schema.Function) (string, error) { mod.collectImports(fun.Outputs.Properties, imports, false) } - mod.genHeader(w, true /*needsSDK*/, imports) + mod.genFunctionHeader(w, fun, imports) var baseName, awaitableName string - if fun.Outputs != nil { + if fun.Outputs != nil && len(fun.Outputs.Properties) > 0 { baseName, awaitableName = awaitableTypeNames(fun.Outputs.Token) } name := PyName(tokenToName(fun.Token)) // Export only the symbols we want exported. fmt.Fprintf(w, "__all__ = [\n") - if fun.Outputs != nil { + if fun.Outputs != nil && len(fun.Outputs.Properties) > 0 { fmt.Fprintf(w, " '%s',\n", baseName) fmt.Fprintf(w, " '%s',\n", awaitableName) } @@ -1699,9 +1724,11 @@ func (mod *modContext) genFunction(fun *schema.Function) (string, error) { // If there is a return type, emit it. retTypeName := "" var rets []*schema.Property - if fun.Outputs != nil { + if fun.Outputs != nil && len(fun.Outputs.Properties) > 0 { retTypeName, rets = mod.genAwaitableType(w, fun.Outputs), fun.Outputs.Properties fmt.Fprintf(w, "\n\n") + } else { + retTypeName = "Awaitable[None]" } var args []*schema.Property @@ -1725,7 +1752,7 @@ func (mod *modContext) genFunction(fun *schema.Function) (string, error) { // Now simply invoke the runtime function with the arguments. var typ string - if fun.Outputs != nil { + if fun.Outputs != nil && len(fun.Outputs.Properties) > 0 { // Pass along the private output_type we generated, so any nested outputs classes are instantiated by // the call to invoke. typ = fmt.Sprintf(", typ=%s", baseName) @@ -1734,7 +1761,7 @@ func (mod *modContext) genFunction(fun *schema.Function) (string, error) { fmt.Fprintf(w, "\n") // And copy the results to an object, if there are indeed any expected returns. - if fun.Outputs != nil { + if fun.Outputs != nil && len(fun.Outputs.Properties) > 0 { fmt.Fprintf(w, " return %s(", retTypeName) for i, ret := range rets { if i > 0 { diff --git a/pkg/codegen/schema/schema.go b/pkg/codegen/schema/schema.go index b112ae82eb90..e7055f0a4e17 100644 --- a/pkg/codegen/schema/schema.go +++ b/pkg/codegen/schema/schema.go @@ -558,7 +558,7 @@ func (fun *Function) NeedsOutputVersion() bool { // support them and return `Task`, but there are no such // functions in `pulumi-azure-native` or `pulumi-aws` so we // omit to simplify. - if fun.Outputs == nil { + if fun.Outputs == nil || len(fun.Outputs.Properties) == 0 { return false } diff --git a/pkg/codegen/testing/test/testdata/output-funcs/docs/funcwithemptyoutputs/_index.md b/pkg/codegen/testing/test/testdata/output-funcs/docs/funcwithemptyoutputs/_index.md index 58d6c6102acf..f8be5fb64f71 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/docs/funcwithemptyoutputs/_index.md +++ b/pkg/codegen/testing/test/testdata/output-funcs/docs/funcwithemptyoutputs/_index.md @@ -19,11 +19,6 @@ n/a ## Using funcWithEmptyOutputs {#using} -Two invocation forms are available. The direct form accepts plain -arguments and either blocks until the result value is available, or -returns a Promise-wrapped result. The output form accepts -Input-wrapped arguments and returns an Output-wrapped result. -
    @@ -34,8 +29,6 @@ Input-wrapped arguments and returns an Output-wrapped result.
    function funcWithEmptyOutputs(args: FuncWithEmptyOutputsArgs, opts?: InvokeOptions): Promise<FuncWithEmptyOutputsResult>
    -function funcWithEmptyOutputsOutput(args: FuncWithEmptyOutputsOutputArgs, opts?: InvokeOptions): Output<FuncWithEmptyOutputsResult>
    @@ -46,9 +39,6 @@ function funcWithEmptyOutputsOutput(
    def func_with_empty_outputs(name: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> FuncWithEmptyOutputsResult
    -def func_with_empty_outputs_output(name: Optional[pulumi.Input[str]] = None,
    -                            opts: Optional[InvokeOptions] = None) -> Output[FuncWithEmptyOutputsResult]
    @@ -58,8 +48,6 @@ def
    func_with_empty_outputs_output(
    func FuncWithEmptyOutputs(ctx *Context, args *FuncWithEmptyOutputsArgs, opts ...InvokeOption) (*FuncWithEmptyOutputsResult, error)
    -func FuncWithEmptyOutputsOutput(ctx *Context, args *FuncWithEmptyOutputsOutputArgs, opts ...InvokeOption) FuncWithEmptyOutputsResultOutput
    > Note: This function is named `FuncWithEmptyOutputs` in the Go SDK. @@ -72,8 +60,7 @@ func
    FuncWithEmptyOutputsOutput(c
    public static class FuncWithEmptyOutputs 
     {
    -    public static Task<FuncWithEmptyOutputsResult> InvokeAsync(FuncWithEmptyOutputsArgs args, InvokeOptions? opts = null)
    -    public static Output<FuncWithEmptyOutputsResult> Invoke(FuncWithEmptyOutputsInvokeArgs args, InvokeOptions? opts = null)
    +    public static Task<FuncWithEmptyOutputsResult> InvokeAsync(FuncWithEmptyOutputsArgs args, InvokeOptions? opts = null)
     }
    diff --git a/pkg/codegen/testing/test/testdata/output-funcs/dotnet/FuncWithEmptyOutputs.cs b/pkg/codegen/testing/test/testdata/output-funcs/dotnet/FuncWithEmptyOutputs.cs index 54eeb96d6a75..d5fab76b0904 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/dotnet/FuncWithEmptyOutputs.cs +++ b/pkg/codegen/testing/test/testdata/output-funcs/dotnet/FuncWithEmptyOutputs.cs @@ -14,14 +14,8 @@ public static class FuncWithEmptyOutputs /// /// n/a /// - public static Task InvokeAsync(FuncWithEmptyOutputsArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("mypkg::funcWithEmptyOutputs", args ?? new FuncWithEmptyOutputsArgs(), options.WithDefaults()); - - /// - /// n/a - /// - public static Output Invoke(FuncWithEmptyOutputsInvokeArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("mypkg::funcWithEmptyOutputs", args ?? new FuncWithEmptyOutputsInvokeArgs(), options.WithDefaults()); + public static Task InvokeAsync(FuncWithEmptyOutputsArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("mypkg::funcWithEmptyOutputs", args ?? new FuncWithEmptyOutputsArgs(), options.WithDefaults()); } @@ -38,28 +32,4 @@ public FuncWithEmptyOutputsArgs() } public static new FuncWithEmptyOutputsArgs Empty => new FuncWithEmptyOutputsArgs(); } - - public sealed class FuncWithEmptyOutputsInvokeArgs : global::Pulumi.InvokeArgs - { - /// - /// The Name of the FeatureGroup. - /// - [Input("name", required: true)] - public Input Name { get; set; } = null!; - - public FuncWithEmptyOutputsInvokeArgs() - { - } - public static new FuncWithEmptyOutputsInvokeArgs Empty => new FuncWithEmptyOutputsInvokeArgs(); - } - - - [OutputType] - public sealed class FuncWithEmptyOutputsResult - { - [OutputConstructor] - private FuncWithEmptyOutputsResult() - { - } - } } diff --git a/pkg/codegen/testing/test/testdata/output-funcs/go/mypkg/funcWithEmptyOutputs.go b/pkg/codegen/testing/test/testdata/output-funcs/go/mypkg/funcWithEmptyOutputs.go index edf25d7bd3cc..8589fa8e5383 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/go/mypkg/funcWithEmptyOutputs.go +++ b/pkg/codegen/testing/test/testdata/output-funcs/go/mypkg/funcWithEmptyOutputs.go @@ -4,66 +4,17 @@ package mypkg import ( - "context" - "reflect" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) // n/a -func FuncWithEmptyOutputs(ctx *pulumi.Context, args *FuncWithEmptyOutputsArgs, opts ...pulumi.InvokeOption) (*FuncWithEmptyOutputsResult, error) { - var rv FuncWithEmptyOutputsResult +func FuncWithEmptyOutputs(ctx *pulumi.Context, args *FuncWithEmptyOutputsArgs, opts ...pulumi.InvokeOption) error { + var rv struct{} err := ctx.Invoke("mypkg::funcWithEmptyOutputs", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil + return err } type FuncWithEmptyOutputsArgs struct { // The Name of the FeatureGroup. Name string `pulumi:"name"` } - -type FuncWithEmptyOutputsResult struct { -} - -func FuncWithEmptyOutputsOutput(ctx *pulumi.Context, args FuncWithEmptyOutputsOutputArgs, opts ...pulumi.InvokeOption) FuncWithEmptyOutputsResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (FuncWithEmptyOutputsResult, error) { - args := v.(FuncWithEmptyOutputsArgs) - r, err := FuncWithEmptyOutputs(ctx, &args, opts...) - var s FuncWithEmptyOutputsResult - if r != nil { - s = *r - } - return s, err - }).(FuncWithEmptyOutputsResultOutput) -} - -type FuncWithEmptyOutputsOutputArgs struct { - // The Name of the FeatureGroup. - Name pulumi.StringInput `pulumi:"name"` -} - -func (FuncWithEmptyOutputsOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*FuncWithEmptyOutputsArgs)(nil)).Elem() -} - -type FuncWithEmptyOutputsResultOutput struct{ *pulumi.OutputState } - -func (FuncWithEmptyOutputsResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*FuncWithEmptyOutputsResult)(nil)).Elem() -} - -func (o FuncWithEmptyOutputsResultOutput) ToFuncWithEmptyOutputsResultOutput() FuncWithEmptyOutputsResultOutput { - return o -} - -func (o FuncWithEmptyOutputsResultOutput) ToFuncWithEmptyOutputsResultOutputWithContext(ctx context.Context) FuncWithEmptyOutputsResultOutput { - return o -} - -func init() { - pulumi.RegisterOutputType(FuncWithEmptyOutputsResultOutput{}) -} diff --git a/pkg/codegen/testing/test/testdata/output-funcs/nodejs/funcWithEmptyOutputs.ts b/pkg/codegen/testing/test/testdata/output-funcs/nodejs/funcWithEmptyOutputs.ts index 228f98fab6cf..aba76f190603 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/nodejs/funcWithEmptyOutputs.ts +++ b/pkg/codegen/testing/test/testdata/output-funcs/nodejs/funcWithEmptyOutputs.ts @@ -7,7 +7,7 @@ import * as utilities from "./utilities"; /** * n/a */ -export function funcWithEmptyOutputs(args: FuncWithEmptyOutputsArgs, opts?: pulumi.InvokeOptions): Promise { +export function funcWithEmptyOutputs(args: FuncWithEmptyOutputsArgs, opts?: pulumi.InvokeOptions): Promise { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("mypkg::funcWithEmptyOutputs", { @@ -21,19 +21,3 @@ export interface FuncWithEmptyOutputsArgs { */ name: string; } - -export interface FuncWithEmptyOutputsResult { -} -/** - * n/a - */ -export function funcWithEmptyOutputsOutput(args: FuncWithEmptyOutputsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => funcWithEmptyOutputs(a, opts)) -} - -export interface FuncWithEmptyOutputsOutputArgs { - /** - * The Name of the FeatureGroup. - */ - name: pulumi.Input; -} diff --git a/pkg/codegen/testing/test/testdata/output-funcs/nodejs/index.ts b/pkg/codegen/testing/test/testdata/output-funcs/nodejs/index.ts index c4fa16d58047..0eb08e6bd842 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/nodejs/index.ts +++ b/pkg/codegen/testing/test/testdata/output-funcs/nodejs/index.ts @@ -24,10 +24,9 @@ export const funcWithDictParam: typeof import("./funcWithDictParam").funcWithDic export const funcWithDictParamOutput: typeof import("./funcWithDictParam").funcWithDictParamOutput = null as any; utilities.lazyLoad(exports, ["funcWithDictParam","funcWithDictParamOutput"], () => require("./funcWithDictParam")); -export { FuncWithEmptyOutputsArgs, FuncWithEmptyOutputsResult, FuncWithEmptyOutputsOutputArgs } from "./funcWithEmptyOutputs"; +export { FuncWithEmptyOutputsArgs } from "./funcWithEmptyOutputs"; export const funcWithEmptyOutputs: typeof import("./funcWithEmptyOutputs").funcWithEmptyOutputs = null as any; -export const funcWithEmptyOutputsOutput: typeof import("./funcWithEmptyOutputs").funcWithEmptyOutputsOutput = null as any; -utilities.lazyLoad(exports, ["funcWithEmptyOutputs","funcWithEmptyOutputsOutput"], () => require("./funcWithEmptyOutputs")); +utilities.lazyLoad(exports, ["funcWithEmptyOutputs"], () => require("./funcWithEmptyOutputs")); export { FuncWithListParamArgs, FuncWithListParamResult, FuncWithListParamOutputArgs } from "./funcWithListParam"; export const funcWithListParam: typeof import("./funcWithListParam").funcWithListParam = null as any; diff --git a/pkg/codegen/testing/test/testdata/output-funcs/python/pulumi_mypkg/func_with_const_input.py b/pkg/codegen/testing/test/testdata/output-funcs/python/pulumi_mypkg/func_with_const_input.py index e65015b2dd67..730d3c2fb85b 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/python/pulumi_mypkg/func_with_const_input.py +++ b/pkg/codegen/testing/test/testdata/output-funcs/python/pulumi_mypkg/func_with_const_input.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload, Awaitable from . import _utilities __all__ = [ @@ -14,7 +14,7 @@ ] def func_with_const_input(plain_input: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None): + opts: Optional[pulumi.InvokeOptions] = None) -> Awaitable[None]: """ Codegen demo with const inputs """ diff --git a/pkg/codegen/testing/test/testdata/output-funcs/python/pulumi_mypkg/func_with_empty_outputs.py b/pkg/codegen/testing/test/testdata/output-funcs/python/pulumi_mypkg/func_with_empty_outputs.py index f3d101b8290d..9d0d6c81f9c4 100644 --- a/pkg/codegen/testing/test/testdata/output-funcs/python/pulumi_mypkg/func_with_empty_outputs.py +++ b/pkg/codegen/testing/test/testdata/output-funcs/python/pulumi_mypkg/func_with_empty_outputs.py @@ -6,31 +6,15 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload, Awaitable from . import _utilities __all__ = [ - 'FuncWithEmptyOutputsResult', - 'AwaitableFuncWithEmptyOutputsResult', 'func_with_empty_outputs', - 'func_with_empty_outputs_output', ] -@pulumi.output_type -class FuncWithEmptyOutputsResult: - def __init__(__self__): - pass - -class AwaitableFuncWithEmptyOutputsResult(FuncWithEmptyOutputsResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return FuncWithEmptyOutputsResult() - - def func_with_empty_outputs(name: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableFuncWithEmptyOutputsResult: + opts: Optional[pulumi.InvokeOptions] = None) -> Awaitable[None]: """ n/a @@ -40,18 +24,5 @@ def func_with_empty_outputs(name: Optional[str] = None, __args__ = dict() __args__['name'] = name opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('mypkg::funcWithEmptyOutputs', __args__, opts=opts, typ=FuncWithEmptyOutputsResult).value + __ret__ = pulumi.runtime.invoke('mypkg::funcWithEmptyOutputs', __args__, opts=opts).value - return AwaitableFuncWithEmptyOutputsResult() - - -@_utilities.lift_output_func(func_with_empty_outputs) -def func_with_empty_outputs_output(name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[FuncWithEmptyOutputsResult]: - """ - n/a - - - :param str name: The Name of the FeatureGroup. - """ - ... diff --git a/pkg/codegen/testing/test/testdata/regress-node-8110/python/pulumi_my8110/example_func.py b/pkg/codegen/testing/test/testdata/regress-node-8110/python/pulumi_my8110/example_func.py index eb63bf80019c..f7e64ab757f1 100644 --- a/pkg/codegen/testing/test/testdata/regress-node-8110/python/pulumi_my8110/example_func.py +++ b/pkg/codegen/testing/test/testdata/regress-node-8110/python/pulumi_my8110/example_func.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload, Awaitable from . import _utilities from ._enums import * @@ -15,7 +15,7 @@ ] def example_func(enums: Optional[Sequence[Union[str, 'MyEnum']]] = None, - opts: Optional[pulumi.InvokeOptions] = None): + opts: Optional[pulumi.InvokeOptions] = None) -> Awaitable[None]: """ Use this data source to access information about an existing resource. """ diff --git a/pkg/codegen/testing/test/testdata/simple-plain-schema/python/pulumi_example/do_foo.py b/pkg/codegen/testing/test/testdata/simple-plain-schema/python/pulumi_example/do_foo.py index 3635cb794612..17cf22139d81 100644 --- a/pkg/codegen/testing/test/testdata/simple-plain-schema/python/pulumi_example/do_foo.py +++ b/pkg/codegen/testing/test/testdata/simple-plain-schema/python/pulumi_example/do_foo.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload, Awaitable from . import _utilities from ._inputs import * @@ -15,7 +15,7 @@ ] def do_foo(foo: Optional[pulumi.InputType['Foo']] = None, - opts: Optional[pulumi.InvokeOptions] = None): + opts: Optional[pulumi.InvokeOptions] = None) -> Awaitable[None]: """ Use this data source to access information about an existing resource. """ From 9ca46276cca497037641af4780b9eb4ba2939688 Mon Sep 17 00:00:00 2001 From: Fraser Waters Date: Tue, 6 Dec 2022 14:53:26 +0000 Subject: [PATCH 29/36] Add JSONMarshal to go sdk This is not as useful for Go as it is for other languages, but it's consistent and it saves an Apply call. Ideally we would handle nested Output types during marshalling, but to do that correctly we need some way to get access to per-call-to-JSONMarshal flags to note if we see any unknowns, or secrets. Go just (AFAIK) have any way to support doing that. So we do the next best thing which is we at least error that nested Outputs can't be marshalled. Note that the `Output` interface doesn't embed the `Marshal` interface because there _may_ be users who have wrote their own `Output` types and that would be a breaking change. --- ...09--sdk-go--add-jsonmarshal-to-go-sdk.yaml | 4 + .../templates/types_builtins.go.template | 6 + sdk/go/pulumi/types.go | 30 ++ sdk/go/pulumi/types_builtins.go | 305 ++++++++++++++++++ sdk/go/pulumi/types_test.go | 41 +++ 5 files changed, 386 insertions(+) create mode 100644 changelog/pending/20221209--sdk-go--add-jsonmarshal-to-go-sdk.yaml diff --git a/changelog/pending/20221209--sdk-go--add-jsonmarshal-to-go-sdk.yaml b/changelog/pending/20221209--sdk-go--add-jsonmarshal-to-go-sdk.yaml new file mode 100644 index 000000000000..cccb0544fcdb --- /dev/null +++ b/changelog/pending/20221209--sdk-go--add-jsonmarshal-to-go-sdk.yaml @@ -0,0 +1,4 @@ +changes: +- type: feat + scope: sdk/go + description: Add JSONMarshal to go sdk. diff --git a/sdk/go/pulumi/generate/templates/types_builtins.go.template b/sdk/go/pulumi/generate/templates/types_builtins.go.template index 5ac68f4f2a83..925b96e08f2c 100644 --- a/sdk/go/pulumi/generate/templates/types_builtins.go.template +++ b/sdk/go/pulumi/generate/templates/types_builtins.go.template @@ -19,6 +19,7 @@ package pulumi import ( "context" + "fmt" "reflect" ) @@ -55,6 +56,7 @@ func {{.Name}}FromPtr(v *{{.ElemElementType}}) {{.Name}}Input { } {{end}} {{if .DefineInputMethods}} + // ElementType returns the element type of this Input ({{.ElementType}}). func ({{.InputType}}) ElementType() reflect.Type { return {{.Name | Unexported}}Type @@ -92,6 +94,10 @@ func (in {{.InputType}}) To{{.Name}}PtrOutputWithContext(ctx context.Context) {{ // {{.Name}}Output is an Output that returns {{.ElementType}} values. type {{.Name}}Output struct { *OutputState } +func ({{.Name}}Output) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output ({{.ElementType}}). func ({{.Name}}Output) ElementType() reflect.Type { return {{.Name | Unexported}}Type diff --git a/sdk/go/pulumi/types.go b/sdk/go/pulumi/types.go index 2b8ce0a10234..305c76e8b2f5 100644 --- a/sdk/go/pulumi/types.go +++ b/sdk/go/pulumi/types.go @@ -17,6 +17,7 @@ package pulumi import ( "context" + "encoding/json" "errors" "fmt" "reflect" @@ -602,6 +603,23 @@ func AllWithContext(ctx context.Context, inputs ...interface{}) ArrayOutput { return ToOutputWithContext(ctx, inputs).(ArrayOutput) } +// JSONMarshal uses "encoding/json".Marshal to serialize the given Output value into a JSON string. +func JSONMarshal(v interface{}) StringOutput { + return JSONMarshalWithContext(context.Background(), v) +} + +// JSONMarshalWithContext uses "encoding/json".Marshal to serialize the given Output value into a JSON string. +func JSONMarshalWithContext(ctx context.Context, v interface{}) StringOutput { + o := ToOutputWithContext(ctx, v) + return o.ApplyTWithContext(ctx, func(_ context.Context, v interface{}) (string, error) { + json, err := json.Marshal(v) + if err != nil { + return "", err + } + return string(json), nil + }).(StringOutput) +} + func gatherJoins(v interface{}) workGroups { if v == nil { return nil @@ -1065,6 +1083,10 @@ func anyWithContext(ctx context.Context, join *workGroup, v interface{}) AnyOutp type AnyOutput struct{ *OutputState } +func (AnyOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + func (AnyOutput) ElementType() reflect.Type { return anyType } @@ -1129,6 +1151,10 @@ func convert(v interface{}, to reflect.Type) interface{} { // TODO: ResourceOutput and the init() should probably be code generated. type ResourceOutput struct{ *OutputState } +func (ResourceOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output (Resource). func (ResourceOutput) ElementType() reflect.Type { return reflect.TypeOf((*Resource)(nil)).Elem() @@ -1192,6 +1218,10 @@ func (in ResourceArray) ToResourceArrayOutputWithContext(ctx context.Context) Re // ResourceArrayOutput is an Output that returns []Resource values. type ResourceArrayOutput struct{ *OutputState } +func (ResourceArrayOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output ([]Resource). func (ResourceArrayOutput) ElementType() reflect.Type { return resourceArrayType diff --git a/sdk/go/pulumi/types_builtins.go b/sdk/go/pulumi/types_builtins.go index 868c49c4ecbd..86b4a46648d1 100644 --- a/sdk/go/pulumi/types_builtins.go +++ b/sdk/go/pulumi/types_builtins.go @@ -19,6 +19,7 @@ package pulumi import ( "context" + "fmt" "reflect" ) @@ -56,6 +57,10 @@ func (in *archive) ToAssetOrArchiveOutputWithContext(ctx context.Context) AssetO // ArchiveOutput is an Output that returns Archive values. type ArchiveOutput struct{ *OutputState } +func (ArchiveOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output (Archive). func (ArchiveOutput) ElementType() reflect.Type { return archiveType @@ -108,6 +113,10 @@ func (in ArchiveArray) ToArchiveArrayOutputWithContext(ctx context.Context) Arch // ArchiveArrayOutput is an Output that returns []Archive values. type ArchiveArrayOutput struct{ *OutputState } +func (ArchiveArrayOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output ([]Archive). func (ArchiveArrayOutput) ElementType() reflect.Type { return archiveArrayType @@ -180,6 +189,10 @@ func (in ArchiveMap) ToArchiveMapOutputWithContext(ctx context.Context) ArchiveM // ArchiveMapOutput is an Output that returns map[string]Archive values. type ArchiveMapOutput struct{ *OutputState } +func (ArchiveMapOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output (map[string]Archive). func (ArchiveMapOutput) ElementType() reflect.Type { return archiveMapType @@ -245,6 +258,10 @@ func (in ArchiveArrayMap) ToArchiveArrayMapOutputWithContext(ctx context.Context // ArchiveArrayMapOutput is an Output that returns map[string][]Archive values. type ArchiveArrayMapOutput struct{ *OutputState } +func (ArchiveArrayMapOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output (map[string][]Archive). func (ArchiveArrayMapOutput) ElementType() reflect.Type { return archiveArrayMapType @@ -310,6 +327,10 @@ func (in ArchiveMapArray) ToArchiveMapArrayOutputWithContext(ctx context.Context // ArchiveMapArrayOutput is an Output that returns []map[string]Archive values. type ArchiveMapArrayOutput struct{ *OutputState } +func (ArchiveMapArrayOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output ([]map[string]Archive). func (ArchiveMapArrayOutput) ElementType() reflect.Type { return archiveMapArrayType @@ -382,6 +403,10 @@ func (in ArchiveMapMap) ToArchiveMapMapOutputWithContext(ctx context.Context) Ar // ArchiveMapMapOutput is an Output that returns map[string]map[string]Archive values. type ArchiveMapMapOutput struct{ *OutputState } +func (ArchiveMapMapOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output (map[string]map[string]Archive). func (ArchiveMapMapOutput) ElementType() reflect.Type { return archiveMapMapType @@ -447,6 +472,10 @@ func (in ArchiveArrayArray) ToArchiveArrayArrayOutputWithContext(ctx context.Con // ArchiveArrayArrayOutput is an Output that returns [][]Archive values. type ArchiveArrayArrayOutput struct{ *OutputState } +func (ArchiveArrayArrayOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output ([][]Archive). func (ArchiveArrayArrayOutput) ElementType() reflect.Type { return archiveArrayArrayType @@ -524,6 +553,10 @@ func (in *asset) ToAssetOrArchiveOutputWithContext(ctx context.Context) AssetOrA // AssetOutput is an Output that returns Asset values. type AssetOutput struct{ *OutputState } +func (AssetOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output (Asset). func (AssetOutput) ElementType() reflect.Type { return assetType @@ -576,6 +609,10 @@ func (in AssetArray) ToAssetArrayOutputWithContext(ctx context.Context) AssetArr // AssetArrayOutput is an Output that returns []Asset values. type AssetArrayOutput struct{ *OutputState } +func (AssetArrayOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output ([]Asset). func (AssetArrayOutput) ElementType() reflect.Type { return assetArrayType @@ -648,6 +685,10 @@ func (in AssetMap) ToAssetMapOutputWithContext(ctx context.Context) AssetMapOutp // AssetMapOutput is an Output that returns map[string]Asset values. type AssetMapOutput struct{ *OutputState } +func (AssetMapOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output (map[string]Asset). func (AssetMapOutput) ElementType() reflect.Type { return assetMapType @@ -713,6 +754,10 @@ func (in AssetArrayMap) ToAssetArrayMapOutputWithContext(ctx context.Context) As // AssetArrayMapOutput is an Output that returns map[string][]Asset values. type AssetArrayMapOutput struct{ *OutputState } +func (AssetArrayMapOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output (map[string][]Asset). func (AssetArrayMapOutput) ElementType() reflect.Type { return assetArrayMapType @@ -778,6 +823,10 @@ func (in AssetMapArray) ToAssetMapArrayOutputWithContext(ctx context.Context) As // AssetMapArrayOutput is an Output that returns []map[string]Asset values. type AssetMapArrayOutput struct{ *OutputState } +func (AssetMapArrayOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output ([]map[string]Asset). func (AssetMapArrayOutput) ElementType() reflect.Type { return assetMapArrayType @@ -850,6 +899,10 @@ func (in AssetMapMap) ToAssetMapMapOutputWithContext(ctx context.Context) AssetM // AssetMapMapOutput is an Output that returns map[string]map[string]Asset values. type AssetMapMapOutput struct{ *OutputState } +func (AssetMapMapOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output (map[string]map[string]Asset). func (AssetMapMapOutput) ElementType() reflect.Type { return assetMapMapType @@ -915,6 +968,10 @@ func (in AssetArrayArray) ToAssetArrayArrayOutputWithContext(ctx context.Context // AssetArrayArrayOutput is an Output that returns [][]Asset values. type AssetArrayArrayOutput struct{ *OutputState } +func (AssetArrayArrayOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output ([][]Asset). func (AssetArrayArrayOutput) ElementType() reflect.Type { return assetArrayArrayType @@ -971,6 +1028,10 @@ type AssetOrArchiveInput interface { // AssetOrArchiveOutput is an Output that returns AssetOrArchive values. type AssetOrArchiveOutput struct{ *OutputState } +func (AssetOrArchiveOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output (AssetOrArchive). func (AssetOrArchiveOutput) ElementType() reflect.Type { return assetOrArchiveType @@ -1013,6 +1074,10 @@ func (in AssetOrArchiveArray) ToAssetOrArchiveArrayOutputWithContext(ctx context // AssetOrArchiveArrayOutput is an Output that returns []AssetOrArchive values. type AssetOrArchiveArrayOutput struct{ *OutputState } +func (AssetOrArchiveArrayOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output ([]AssetOrArchive). func (AssetOrArchiveArrayOutput) ElementType() reflect.Type { return assetOrArchiveArrayType @@ -1069,6 +1134,10 @@ func (in AssetOrArchiveMap) ToAssetOrArchiveMapOutputWithContext(ctx context.Con // AssetOrArchiveMapOutput is an Output that returns map[string]AssetOrArchive values. type AssetOrArchiveMapOutput struct{ *OutputState } +func (AssetOrArchiveMapOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output (map[string]AssetOrArchive). func (AssetOrArchiveMapOutput) ElementType() reflect.Type { return assetOrArchiveMapType @@ -1118,6 +1187,10 @@ func (in AssetOrArchiveArrayMap) ToAssetOrArchiveArrayMapOutputWithContext(ctx c // AssetOrArchiveArrayMapOutput is an Output that returns map[string][]AssetOrArchive values. type AssetOrArchiveArrayMapOutput struct{ *OutputState } +func (AssetOrArchiveArrayMapOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output (map[string][]AssetOrArchive). func (AssetOrArchiveArrayMapOutput) ElementType() reflect.Type { return assetOrArchiveArrayMapType @@ -1167,6 +1240,10 @@ func (in AssetOrArchiveMapArray) ToAssetOrArchiveMapArrayOutputWithContext(ctx c // AssetOrArchiveMapArrayOutput is an Output that returns []map[string]AssetOrArchive values. type AssetOrArchiveMapArrayOutput struct{ *OutputState } +func (AssetOrArchiveMapArrayOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output ([]map[string]AssetOrArchive). func (AssetOrArchiveMapArrayOutput) ElementType() reflect.Type { return assetOrArchiveMapArrayType @@ -1223,6 +1300,10 @@ func (in AssetOrArchiveMapMap) ToAssetOrArchiveMapMapOutputWithContext(ctx conte // AssetOrArchiveMapMapOutput is an Output that returns map[string]map[string]AssetOrArchive values. type AssetOrArchiveMapMapOutput struct{ *OutputState } +func (AssetOrArchiveMapMapOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output (map[string]map[string]AssetOrArchive). func (AssetOrArchiveMapMapOutput) ElementType() reflect.Type { return assetOrArchiveMapMapType @@ -1272,6 +1353,10 @@ func (in AssetOrArchiveArrayArray) ToAssetOrArchiveArrayArrayOutputWithContext(c // AssetOrArchiveArrayArrayOutput is an Output that returns [][]AssetOrArchive values. type AssetOrArchiveArrayArrayOutput struct{ *OutputState } +func (AssetOrArchiveArrayArrayOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output ([][]AssetOrArchive). func (AssetOrArchiveArrayArrayOutput) ElementType() reflect.Type { return assetOrArchiveArrayArrayType @@ -1339,6 +1424,10 @@ func (in Bool) ToBoolPtrOutputWithContext(ctx context.Context) BoolPtrOutput { // BoolOutput is an Output that returns bool values. type BoolOutput struct{ *OutputState } +func (BoolOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output (bool). func (BoolOutput) ElementType() reflect.Type { return boolType @@ -1401,6 +1490,10 @@ func (in *boolPtr) ToBoolPtrOutputWithContext(ctx context.Context) BoolPtrOutput // BoolPtrOutput is an Output that returns *bool values. type BoolPtrOutput struct{ *OutputState } +func (BoolPtrOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output (*bool). func (BoolPtrOutput) ElementType() reflect.Type { return boolPtrType @@ -1454,6 +1547,10 @@ func (in BoolArray) ToBoolArrayOutputWithContext(ctx context.Context) BoolArrayO // BoolArrayOutput is an Output that returns []bool values. type BoolArrayOutput struct{ *OutputState } +func (BoolArrayOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output ([]bool). func (BoolArrayOutput) ElementType() reflect.Type { return boolArrayType @@ -1526,6 +1623,10 @@ func (in BoolMap) ToBoolMapOutputWithContext(ctx context.Context) BoolMapOutput // BoolMapOutput is an Output that returns map[string]bool values. type BoolMapOutput struct{ *OutputState } +func (BoolMapOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output (map[string]bool). func (BoolMapOutput) ElementType() reflect.Type { return boolMapType @@ -1591,6 +1692,10 @@ func (in BoolArrayMap) ToBoolArrayMapOutputWithContext(ctx context.Context) Bool // BoolArrayMapOutput is an Output that returns map[string][]bool values. type BoolArrayMapOutput struct{ *OutputState } +func (BoolArrayMapOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output (map[string][]bool). func (BoolArrayMapOutput) ElementType() reflect.Type { return boolArrayMapType @@ -1656,6 +1761,10 @@ func (in BoolMapArray) ToBoolMapArrayOutputWithContext(ctx context.Context) Bool // BoolMapArrayOutput is an Output that returns []map[string]bool values. type BoolMapArrayOutput struct{ *OutputState } +func (BoolMapArrayOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output ([]map[string]bool). func (BoolMapArrayOutput) ElementType() reflect.Type { return boolMapArrayType @@ -1728,6 +1837,10 @@ func (in BoolMapMap) ToBoolMapMapOutputWithContext(ctx context.Context) BoolMapM // BoolMapMapOutput is an Output that returns map[string]map[string]bool values. type BoolMapMapOutput struct{ *OutputState } +func (BoolMapMapOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output (map[string]map[string]bool). func (BoolMapMapOutput) ElementType() reflect.Type { return boolMapMapType @@ -1793,6 +1906,10 @@ func (in BoolArrayArray) ToBoolArrayArrayOutputWithContext(ctx context.Context) // BoolArrayArrayOutput is an Output that returns [][]bool values. type BoolArrayArrayOutput struct{ *OutputState } +func (BoolArrayArrayOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output ([][]bool). func (BoolArrayArrayOutput) ElementType() reflect.Type { return boolArrayArrayType @@ -1876,6 +1993,10 @@ func (in Float64) ToFloat64PtrOutputWithContext(ctx context.Context) Float64PtrO // Float64Output is an Output that returns float64 values. type Float64Output struct{ *OutputState } +func (Float64Output) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output (float64). func (Float64Output) ElementType() reflect.Type { return float64Type @@ -1938,6 +2059,10 @@ func (in *float64Ptr) ToFloat64PtrOutputWithContext(ctx context.Context) Float64 // Float64PtrOutput is an Output that returns *float64 values. type Float64PtrOutput struct{ *OutputState } +func (Float64PtrOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output (*float64). func (Float64PtrOutput) ElementType() reflect.Type { return float64PtrType @@ -1991,6 +2116,10 @@ func (in Float64Array) ToFloat64ArrayOutputWithContext(ctx context.Context) Floa // Float64ArrayOutput is an Output that returns []float64 values. type Float64ArrayOutput struct{ *OutputState } +func (Float64ArrayOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output ([]float64). func (Float64ArrayOutput) ElementType() reflect.Type { return float64ArrayType @@ -2063,6 +2192,10 @@ func (in Float64Map) ToFloat64MapOutputWithContext(ctx context.Context) Float64M // Float64MapOutput is an Output that returns map[string]float64 values. type Float64MapOutput struct{ *OutputState } +func (Float64MapOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output (map[string]float64). func (Float64MapOutput) ElementType() reflect.Type { return float64MapType @@ -2128,6 +2261,10 @@ func (in Float64ArrayMap) ToFloat64ArrayMapOutputWithContext(ctx context.Context // Float64ArrayMapOutput is an Output that returns map[string][]float64 values. type Float64ArrayMapOutput struct{ *OutputState } +func (Float64ArrayMapOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output (map[string][]float64). func (Float64ArrayMapOutput) ElementType() reflect.Type { return float64ArrayMapType @@ -2193,6 +2330,10 @@ func (in Float64MapArray) ToFloat64MapArrayOutputWithContext(ctx context.Context // Float64MapArrayOutput is an Output that returns []map[string]float64 values. type Float64MapArrayOutput struct{ *OutputState } +func (Float64MapArrayOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output ([]map[string]float64). func (Float64MapArrayOutput) ElementType() reflect.Type { return float64MapArrayType @@ -2265,6 +2406,10 @@ func (in Float64MapMap) ToFloat64MapMapOutputWithContext(ctx context.Context) Fl // Float64MapMapOutput is an Output that returns map[string]map[string]float64 values. type Float64MapMapOutput struct{ *OutputState } +func (Float64MapMapOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output (map[string]map[string]float64). func (Float64MapMapOutput) ElementType() reflect.Type { return float64MapMapType @@ -2330,6 +2475,10 @@ func (in Float64ArrayArray) ToFloat64ArrayArrayOutputWithContext(ctx context.Con // Float64ArrayArrayOutput is an Output that returns [][]float64 values. type Float64ArrayArrayOutput struct{ *OutputState } +func (Float64ArrayArrayOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output ([][]float64). func (Float64ArrayArrayOutput) ElementType() reflect.Type { return float64ArrayArrayType @@ -2418,6 +2567,10 @@ func (in ID) ToIDPtrOutputWithContext(ctx context.Context) IDPtrOutput { // IDOutput is an Output that returns ID values. type IDOutput struct{ *OutputState } +func (IDOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output (ID). func (IDOutput) ElementType() reflect.Type { return idType @@ -2490,6 +2643,10 @@ func (in *idPtr) ToIDPtrOutputWithContext(ctx context.Context) IDPtrOutput { // IDPtrOutput is an Output that returns *ID values. type IDPtrOutput struct{ *OutputState } +func (IDPtrOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output (*ID). func (IDPtrOutput) ElementType() reflect.Type { return iDPtrType @@ -2543,6 +2700,10 @@ func (in IDArray) ToIDArrayOutputWithContext(ctx context.Context) IDArrayOutput // IDArrayOutput is an Output that returns []ID values. type IDArrayOutput struct{ *OutputState } +func (IDArrayOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output ([]ID). func (IDArrayOutput) ElementType() reflect.Type { return iDArrayType @@ -2615,6 +2776,10 @@ func (in IDMap) ToIDMapOutputWithContext(ctx context.Context) IDMapOutput { // IDMapOutput is an Output that returns map[string]ID values. type IDMapOutput struct{ *OutputState } +func (IDMapOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output (map[string]ID). func (IDMapOutput) ElementType() reflect.Type { return iDMapType @@ -2680,6 +2845,10 @@ func (in IDArrayMap) ToIDArrayMapOutputWithContext(ctx context.Context) IDArrayM // IDArrayMapOutput is an Output that returns map[string][]ID values. type IDArrayMapOutput struct{ *OutputState } +func (IDArrayMapOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output (map[string][]ID). func (IDArrayMapOutput) ElementType() reflect.Type { return iDArrayMapType @@ -2745,6 +2914,10 @@ func (in IDMapArray) ToIDMapArrayOutputWithContext(ctx context.Context) IDMapArr // IDMapArrayOutput is an Output that returns []map[string]ID values. type IDMapArrayOutput struct{ *OutputState } +func (IDMapArrayOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output ([]map[string]ID). func (IDMapArrayOutput) ElementType() reflect.Type { return iDMapArrayType @@ -2817,6 +2990,10 @@ func (in IDMapMap) ToIDMapMapOutputWithContext(ctx context.Context) IDMapMapOutp // IDMapMapOutput is an Output that returns map[string]map[string]ID values. type IDMapMapOutput struct{ *OutputState } +func (IDMapMapOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output (map[string]map[string]ID). func (IDMapMapOutput) ElementType() reflect.Type { return iDMapMapType @@ -2882,6 +3059,10 @@ func (in IDArrayArray) ToIDArrayArrayOutputWithContext(ctx context.Context) IDAr // IDArrayArrayOutput is an Output that returns [][]ID values. type IDArrayArrayOutput struct{ *OutputState } +func (IDArrayArrayOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output ([][]ID). func (IDArrayArrayOutput) ElementType() reflect.Type { return iDArrayArrayType @@ -2954,6 +3135,10 @@ func (in Array) ToArrayOutputWithContext(ctx context.Context) ArrayOutput { // ArrayOutput is an Output that returns []interface{} values. type ArrayOutput struct{ *OutputState } +func (ArrayOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output ([]interface{}). func (ArrayOutput) ElementType() reflect.Type { return arrayType @@ -3026,6 +3211,10 @@ func (in Map) ToMapOutputWithContext(ctx context.Context) MapOutput { // MapOutput is an Output that returns map[string]interface{} values. type MapOutput struct{ *OutputState } +func (MapOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output (map[string]interface{}). func (MapOutput) ElementType() reflect.Type { return mapType @@ -3091,6 +3280,10 @@ func (in ArrayMap) ToArrayMapOutputWithContext(ctx context.Context) ArrayMapOutp // ArrayMapOutput is an Output that returns map[string][]interface{} values. type ArrayMapOutput struct{ *OutputState } +func (ArrayMapOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output (map[string][]interface{}). func (ArrayMapOutput) ElementType() reflect.Type { return arrayMapType @@ -3156,6 +3349,10 @@ func (in MapArray) ToMapArrayOutputWithContext(ctx context.Context) MapArrayOutp // MapArrayOutput is an Output that returns []map[string]interface{} values. type MapArrayOutput struct{ *OutputState } +func (MapArrayOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output ([]map[string]interface{}). func (MapArrayOutput) ElementType() reflect.Type { return mapArrayType @@ -3228,6 +3425,10 @@ func (in MapMap) ToMapMapOutputWithContext(ctx context.Context) MapMapOutput { // MapMapOutput is an Output that returns map[string]map[string]interface{} values. type MapMapOutput struct{ *OutputState } +func (MapMapOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output (map[string]map[string]interface{}). func (MapMapOutput) ElementType() reflect.Type { return mapMapType @@ -3293,6 +3494,10 @@ func (in ArrayArray) ToArrayArrayOutputWithContext(ctx context.Context) ArrayArr // ArrayArrayOutput is an Output that returns [][]interface{} values. type ArrayArrayOutput struct{ *OutputState } +func (ArrayArrayOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output ([][]interface{}). func (ArrayArrayOutput) ElementType() reflect.Type { return arrayArrayType @@ -3365,6 +3570,10 @@ func (in ArrayArrayMap) ToArrayArrayMapOutputWithContext(ctx context.Context) Ar // ArrayArrayMapOutput is an Output that returns map[string][][]interface{} values. type ArrayArrayMapOutput struct{ *OutputState } +func (ArrayArrayMapOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output (map[string][][]interface{}). func (ArrayArrayMapOutput) ElementType() reflect.Type { return arrayArrayMapType @@ -3441,6 +3650,10 @@ func (in Int) ToIntPtrOutputWithContext(ctx context.Context) IntPtrOutput { // IntOutput is an Output that returns int values. type IntOutput struct{ *OutputState } +func (IntOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output (int). func (IntOutput) ElementType() reflect.Type { return intType @@ -3503,6 +3716,10 @@ func (in *intPtr) ToIntPtrOutputWithContext(ctx context.Context) IntPtrOutput { // IntPtrOutput is an Output that returns *int values. type IntPtrOutput struct{ *OutputState } +func (IntPtrOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output (*int). func (IntPtrOutput) ElementType() reflect.Type { return intPtrType @@ -3556,6 +3773,10 @@ func (in IntArray) ToIntArrayOutputWithContext(ctx context.Context) IntArrayOutp // IntArrayOutput is an Output that returns []int values. type IntArrayOutput struct{ *OutputState } +func (IntArrayOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output ([]int). func (IntArrayOutput) ElementType() reflect.Type { return intArrayType @@ -3628,6 +3849,10 @@ func (in IntMap) ToIntMapOutputWithContext(ctx context.Context) IntMapOutput { // IntMapOutput is an Output that returns map[string]int values. type IntMapOutput struct{ *OutputState } +func (IntMapOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output (map[string]int). func (IntMapOutput) ElementType() reflect.Type { return intMapType @@ -3693,6 +3918,10 @@ func (in IntArrayMap) ToIntArrayMapOutputWithContext(ctx context.Context) IntArr // IntArrayMapOutput is an Output that returns map[string][]int values. type IntArrayMapOutput struct{ *OutputState } +func (IntArrayMapOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output (map[string][]int). func (IntArrayMapOutput) ElementType() reflect.Type { return intArrayMapType @@ -3758,6 +3987,10 @@ func (in IntMapArray) ToIntMapArrayOutputWithContext(ctx context.Context) IntMap // IntMapArrayOutput is an Output that returns []map[string]int values. type IntMapArrayOutput struct{ *OutputState } +func (IntMapArrayOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output ([]map[string]int). func (IntMapArrayOutput) ElementType() reflect.Type { return intMapArrayType @@ -3830,6 +4063,10 @@ func (in IntMapMap) ToIntMapMapOutputWithContext(ctx context.Context) IntMapMapO // IntMapMapOutput is an Output that returns map[string]map[string]int values. type IntMapMapOutput struct{ *OutputState } +func (IntMapMapOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output (map[string]map[string]int). func (IntMapMapOutput) ElementType() reflect.Type { return intMapMapType @@ -3895,6 +4132,10 @@ func (in IntArrayArray) ToIntArrayArrayOutputWithContext(ctx context.Context) In // IntArrayArrayOutput is an Output that returns [][]int values. type IntArrayArrayOutput struct{ *OutputState } +func (IntArrayArrayOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output ([][]int). func (IntArrayArrayOutput) ElementType() reflect.Type { return intArrayArrayType @@ -3978,6 +4219,10 @@ func (in String) ToStringPtrOutputWithContext(ctx context.Context) StringPtrOutp // StringOutput is an Output that returns string values. type StringOutput struct{ *OutputState } +func (StringOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output (string). func (StringOutput) ElementType() reflect.Type { return stringType @@ -4040,6 +4285,10 @@ func (in *stringPtr) ToStringPtrOutputWithContext(ctx context.Context) StringPtr // StringPtrOutput is an Output that returns *string values. type StringPtrOutput struct{ *OutputState } +func (StringPtrOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output (*string). func (StringPtrOutput) ElementType() reflect.Type { return stringPtrType @@ -4093,6 +4342,10 @@ func (in StringArray) ToStringArrayOutputWithContext(ctx context.Context) String // StringArrayOutput is an Output that returns []string values. type StringArrayOutput struct{ *OutputState } +func (StringArrayOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output ([]string). func (StringArrayOutput) ElementType() reflect.Type { return stringArrayType @@ -4165,6 +4418,10 @@ func (in StringMap) ToStringMapOutputWithContext(ctx context.Context) StringMapO // StringMapOutput is an Output that returns map[string]string values. type StringMapOutput struct{ *OutputState } +func (StringMapOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output (map[string]string). func (StringMapOutput) ElementType() reflect.Type { return stringMapType @@ -4230,6 +4487,10 @@ func (in StringArrayMap) ToStringArrayMapOutputWithContext(ctx context.Context) // StringArrayMapOutput is an Output that returns map[string][]string values. type StringArrayMapOutput struct{ *OutputState } +func (StringArrayMapOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output (map[string][]string). func (StringArrayMapOutput) ElementType() reflect.Type { return stringArrayMapType @@ -4295,6 +4556,10 @@ func (in StringMapArray) ToStringMapArrayOutputWithContext(ctx context.Context) // StringMapArrayOutput is an Output that returns []map[string]string values. type StringMapArrayOutput struct{ *OutputState } +func (StringMapArrayOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output ([]map[string]string). func (StringMapArrayOutput) ElementType() reflect.Type { return stringMapArrayType @@ -4367,6 +4632,10 @@ func (in StringMapMap) ToStringMapMapOutputWithContext(ctx context.Context) Stri // StringMapMapOutput is an Output that returns map[string]map[string]string values. type StringMapMapOutput struct{ *OutputState } +func (StringMapMapOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output (map[string]map[string]string). func (StringMapMapOutput) ElementType() reflect.Type { return stringMapMapType @@ -4432,6 +4701,10 @@ func (in StringArrayArray) ToStringArrayArrayOutputWithContext(ctx context.Conte // StringArrayArrayOutput is an Output that returns [][]string values. type StringArrayArrayOutput struct{ *OutputState } +func (StringArrayArrayOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output ([][]string). func (StringArrayArrayOutput) ElementType() reflect.Type { return stringArrayArrayType @@ -4520,6 +4793,10 @@ func (in URN) ToURNPtrOutputWithContext(ctx context.Context) URNPtrOutput { // URNOutput is an Output that returns URN values. type URNOutput struct{ *OutputState } +func (URNOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output (URN). func (URNOutput) ElementType() reflect.Type { return urnType @@ -4592,6 +4869,10 @@ func (in *urnPtr) ToURNPtrOutputWithContext(ctx context.Context) URNPtrOutput { // URNPtrOutput is an Output that returns *URN values. type URNPtrOutput struct{ *OutputState } +func (URNPtrOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output (*URN). func (URNPtrOutput) ElementType() reflect.Type { return uRNPtrType @@ -4645,6 +4926,10 @@ func (in URNArray) ToURNArrayOutputWithContext(ctx context.Context) URNArrayOutp // URNArrayOutput is an Output that returns []URN values. type URNArrayOutput struct{ *OutputState } +func (URNArrayOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output ([]URN). func (URNArrayOutput) ElementType() reflect.Type { return uRNArrayType @@ -4717,6 +5002,10 @@ func (in URNMap) ToURNMapOutputWithContext(ctx context.Context) URNMapOutput { // URNMapOutput is an Output that returns map[string]URN values. type URNMapOutput struct{ *OutputState } +func (URNMapOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output (map[string]URN). func (URNMapOutput) ElementType() reflect.Type { return uRNMapType @@ -4782,6 +5071,10 @@ func (in URNArrayMap) ToURNArrayMapOutputWithContext(ctx context.Context) URNArr // URNArrayMapOutput is an Output that returns map[string][]URN values. type URNArrayMapOutput struct{ *OutputState } +func (URNArrayMapOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output (map[string][]URN). func (URNArrayMapOutput) ElementType() reflect.Type { return uRNArrayMapType @@ -4847,6 +5140,10 @@ func (in URNMapArray) ToURNMapArrayOutputWithContext(ctx context.Context) URNMap // URNMapArrayOutput is an Output that returns []map[string]URN values. type URNMapArrayOutput struct{ *OutputState } +func (URNMapArrayOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output ([]map[string]URN). func (URNMapArrayOutput) ElementType() reflect.Type { return uRNMapArrayType @@ -4919,6 +5216,10 @@ func (in URNMapMap) ToURNMapMapOutputWithContext(ctx context.Context) URNMapMapO // URNMapMapOutput is an Output that returns map[string]map[string]URN values. type URNMapMapOutput struct{ *OutputState } +func (URNMapMapOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output (map[string]map[string]URN). func (URNMapMapOutput) ElementType() reflect.Type { return uRNMapMapType @@ -4984,6 +5285,10 @@ func (in URNArrayArray) ToURNArrayArrayOutputWithContext(ctx context.Context) UR // URNArrayArrayOutput is an Output that returns [][]URN values. type URNArrayArrayOutput struct{ *OutputState } +func (URNArrayArrayOutput) MarshalJSON() ([]byte, error) { + return nil, fmt.Errorf("Outputs can not be marshaled to JSON") +} + // ElementType returns the element type of this Output ([][]URN). func (URNArrayArrayOutput) ElementType() reflect.Type { return uRNArrayArrayType diff --git a/sdk/go/pulumi/types_test.go b/sdk/go/pulumi/types_test.go index 43c65771f18d..e7250f13695a 100644 --- a/sdk/go/pulumi/types_test.go +++ b/sdk/go/pulumi/types_test.go @@ -1087,3 +1087,44 @@ func TestTypeCoersion(t *testing.T) { }) } } + +func TestJSONMarshalBasic(t *testing.T) { + t.Parallel() + + out, resolve, _ := NewOutput() + go func() { + resolve([]int{0, 1}) + }() + json := JSONMarshal(out) + v, known, secret, deps, err := await(json) + assert.Nil(t, err) + assert.True(t, known) + assert.False(t, secret) + assert.Nil(t, deps) + assert.NotNil(t, v) + assert.Equal(t, "[0,1]", v.(string)) +} + +func TestJSONMarshalNested(t *testing.T) { + t.Parallel() + + a, resolvea, _ := NewOutput() + go func() { + resolvea(0) + }() + b, resolveb, _ := NewOutput() + go func() { + resolveb(1) + }() + out, resolve, _ := NewOutput() + go func() { + resolve([]Output{a, b}) + }() + json := JSONMarshal(out) + v, known, secret, deps, err := await(json) + assert.Equal(t, "json: error calling MarshalJSON for type pulumi.AnyOutput: Outputs can not be marshaled to JSON", err.Error()) + assert.True(t, known) + assert.False(t, secret) + assert.Nil(t, deps) + assert.Nil(t, v) +} From 809ccaf4cfdaac81ac44e0b5dea22462528741dc Mon Sep 17 00:00:00 2001 From: Fraser Waters Date: Fri, 9 Dec 2022 17:27:51 +0000 Subject: [PATCH 30/36] Fix generate flag for pcl convert --- pkg/cmd/pulumi/convert.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/cmd/pulumi/convert.go b/pkg/cmd/pulumi/convert.go index 7fc2db623601..7345f2432b8b 100644 --- a/pkg/cmd/pulumi/convert.go +++ b/pkg/cmd/pulumi/convert.go @@ -178,6 +178,8 @@ func runConvert( projectGenerator = yamlgen.GenerateProject case "pulumi", "pcl": if cmdutil.IsTruthy(os.Getenv("PULUMI_DEV")) { + // No plugin for PCL to install dependencies with + generateOnly = true projectGenerator = pclGenerateProject break } @@ -214,8 +216,6 @@ func runConvert( } } else if from == "pcl" { if cmdutil.IsTruthy(os.Getenv("PULUMI_DEV")) { - // No plugin for PCL to generate with - generateOnly = true proj, program, err = pclEject(cwd, loader) if err != nil { return result.FromError(fmt.Errorf("could not load pcl program: %w", err)) From 1fb07979be69206aad74386500c34ebd06376eb7 Mon Sep 17 00:00:00 2001 From: aq17 Date: Fri, 9 Dec 2022 12:55:58 -0800 Subject: [PATCH 31/36] Document that `pulumi new` can use a local path for templates --- pkg/cmd/pulumi/new.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/cmd/pulumi/new.go b/pkg/cmd/pulumi/new.go index 4112fe05a0f9..6391a443588b 100644 --- a/pkg/cmd/pulumi/new.go +++ b/pkg/cmd/pulumi/new.go @@ -435,8 +435,9 @@ func newNewCmd() *cobra.Command { Long: "Create a new Pulumi project and stack from a template.\n" + "\n" + "To create a project from a specific template, pass the template name (such as `aws-typescript`\n" + - "or `azure-python`). If no template name is provided, a list of suggested templates will be presented\n" + + "or `azure-python`). If no template name is provided, a list of suggested templates will be presented\n" + "which can be selected interactively.\n" + + "For testing, a path to a local template may be passed instead (such as `~/templates/aws-typescript`)\n" + "\n" + "By default, a stack created using the pulumi.com backend will use the pulumi.com secrets\n" + "provider and a stack created using the local or cloud object storage backend will use the\n" + From b02eb8d83a589f2f70606f69b85931e8135c67ed Mon Sep 17 00:00:00 2001 From: aq17 Date: Fri, 9 Dec 2022 13:31:21 -0800 Subject: [PATCH 32/36] Add `willReplaceOnChanges` to metaschema --- developer-docs/providers/metaschema.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/developer-docs/providers/metaschema.md b/developer-docs/providers/metaschema.md index 8b00d2e17541..fa4744e73e5b 100644 --- a/developer-docs/providers/metaschema.md +++ b/developer-docs/providers/metaschema.md @@ -618,6 +618,14 @@ Specifies whether a change to the property causes its containing resource to be --- +#### `willReplaceOnChanges` + +Indicates that the provider will replace the resource when this property is changed. + +`boolean` + +--- + #### `secret` Specifies whether the property is secret (default false). From a23f3ac9df4e918f3fab138a35a6316ce7b47cfe Mon Sep 17 00:00:00 2001 From: Julien 'Lta' BALLET Date: Thu, 8 Dec 2022 17:28:35 +0100 Subject: [PATCH 33/36] fix: Prevent a deadlock on provider error in py automation api --- sdk/python/lib/pulumi/automation/_server.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/sdk/python/lib/pulumi/automation/_server.py b/sdk/python/lib/pulumi/automation/_server.py index 13c2f6ce8651..ccdd8cd56f6a 100644 --- a/sdk/python/lib/pulumi/automation/_server.py +++ b/sdk/python/lib/pulumi/automation/_server.py @@ -43,6 +43,15 @@ def on_pulumi_exit(): def GetRequiredPlugins(self, request, context): return language_pb2.GetRequiredPluginsResponse() + def _exception_handler(self, loop, context): + # Exception are normally handler deeper in the stack. If this class of + # exception bubble up to here, something is wrong and we should stop + # the event loop + if "exception" in context and isinstance(context["exception"], grpc.RpcError): + loop.stop() + else: + loop.default_exception_handler(context) + def Run(self, request, context): _suppress_unobserved_task_logging() @@ -67,6 +76,7 @@ def Run(self, request, context): result = language_pb2.RunResponse() loop = asyncio.new_event_loop() + loop.set_exception_handler(self._exception_handler) try: loop.run_until_complete(run_in_stack(self.program)) except RunError as exn: From 4e16d53c14576949b3d951750ab1b650f914b972 Mon Sep 17 00:00:00 2001 From: Julien 'Lta' BALLET Date: Thu, 8 Dec 2022 17:37:44 +0100 Subject: [PATCH 34/36] docs: Add changelog entry --- ...a-deadlock-on-provider-side-error-with-automation-api.yaml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 changelog/pending/20221208--sdk-python--fix-a-deadlock-on-provider-side-error-with-automation-api.yaml diff --git a/changelog/pending/20221208--sdk-python--fix-a-deadlock-on-provider-side-error-with-automation-api.yaml b/changelog/pending/20221208--sdk-python--fix-a-deadlock-on-provider-side-error-with-automation-api.yaml new file mode 100644 index 000000000000..94f14ac1dd86 --- /dev/null +++ b/changelog/pending/20221208--sdk-python--fix-a-deadlock-on-provider-side-error-with-automation-api.yaml @@ -0,0 +1,4 @@ +changes: +- type: fix + scope: sdk/python + description: Fix a deadlock on provider-side error with automation api From 6db71fed21e70c71d1e4c67c84fa39b8c18293d9 Mon Sep 17 00:00:00 2001 From: Aaron Friel Date: Fri, 9 Dec 2022 18:00:22 -0800 Subject: [PATCH 35/36] Add forward compatible UnimplementedProvider for bridge --- .../common/resource/plugin/provider_test.go | 3 + .../resource/plugin/provider_unimplemented.go | 85 +++++++++++++++++++ 2 files changed, 88 insertions(+) create mode 100644 sdk/go/common/resource/plugin/provider_unimplemented.go diff --git a/sdk/go/common/resource/plugin/provider_test.go b/sdk/go/common/resource/plugin/provider_test.go index 3626db040564..5f9f38bd7224 100644 --- a/sdk/go/common/resource/plugin/provider_test.go +++ b/sdk/go/common/resource/plugin/provider_test.go @@ -128,3 +128,6 @@ func TestNewDetailedDiff(t *testing.T) { }) } } + +// Assert that UnimplementedProvider implements Provider +var _ = Provider((*UnimplementedProvider)(nil)) diff --git a/sdk/go/common/resource/plugin/provider_unimplemented.go b/sdk/go/common/resource/plugin/provider_unimplemented.go new file mode 100644 index 000000000000..b065046d4002 --- /dev/null +++ b/sdk/go/common/resource/plugin/provider_unimplemented.go @@ -0,0 +1,85 @@ +// Copyright 2016-2022, Pulumi Corporation. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// nolint: lll +package plugin + +import ( + "github.com/pulumi/pulumi/sdk/v3/go/common/resource" + "github.com/pulumi/pulumi/sdk/v3/go/common/tokens" + "github.com/pulumi/pulumi/sdk/v3/go/common/workspace" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/status" +) + +// UnimplementedProvider can be embedded to have forward compatible implementations. +type UnimplementedProvider struct{} + +func (p *UnimplementedProvider) Close() error { + return status.Error(codes.Unimplemented, "Close is not yet implemented") +} +func (p *UnimplementedProvider) SignalCancellation() error { + return status.Error(codes.Unimplemented, "SignalCancellation is not yet implemented") +} +func (p *UnimplementedProvider) Pkg() tokens.Package { + return tokens.Package("") +} +func (p *UnimplementedProvider) GetSchema(version int) ([]byte, error) { + return nil, status.Error(codes.Unimplemented, "GetSchema is not yet implemented") +} +func (p *UnimplementedProvider) CheckConfig(urn resource.URN, olds resource.PropertyMap, news resource.PropertyMap, allowUnknowns bool) (resource.PropertyMap, []CheckFailure, error) { + return resource.PropertyMap{}, nil, status.Error(codes.Unimplemented, "CheckConfig is not yet implemented") +} +func (p *UnimplementedProvider) DiffConfig(urn resource.URN, olds resource.PropertyMap, news resource.PropertyMap, allowUnknowns bool, ignoreChanges []string) (DiffResult, error) { + return DiffResult{}, status.Error(codes.Unimplemented, "DiffConfig is not yet implemented") +} +func (p *UnimplementedProvider) Configure(inputs resource.PropertyMap) error { + return status.Error(codes.Unimplemented, "Configure is not yet implemented") +} +func (p *UnimplementedProvider) Check(urn resource.URN, olds resource.PropertyMap, news resource.PropertyMap, allowUnknowns bool, randomSeed []byte) (resource.PropertyMap, []CheckFailure, error) { + return resource.PropertyMap{}, nil, status.Error(codes.Unimplemented, "Check is not yet implemented") +} +func (p *UnimplementedProvider) Diff(urn resource.URN, id resource.ID, olds resource.PropertyMap, news resource.PropertyMap, allowUnknowns bool, ignoreChanges []string) (DiffResult, error) { + return DiffResult{}, status.Error(codes.Unimplemented, "Diff is not yet implemented") +} +func (p *UnimplementedProvider) Create(urn resource.URN, news resource.PropertyMap, timeout float64, preview bool) (resource.ID, resource.PropertyMap, resource.Status, error) { + return resource.ID(""), resource.PropertyMap{}, resource.StatusUnknown, status.Error(codes.Unimplemented, "Create is not yet implemented") +} +func (p *UnimplementedProvider) Read(urn resource.URN, id resource.ID, inputs resource.PropertyMap, state resource.PropertyMap) (ReadResult, resource.Status, error) { + return ReadResult{}, resource.StatusUnknown, status.Error(codes.Unimplemented, "Read is not yet implemented") +} +func (p *UnimplementedProvider) Update(urn resource.URN, id resource.ID, olds resource.PropertyMap, news resource.PropertyMap, timeout float64, ignoreChanges []string, preview bool) (resource.PropertyMap, resource.Status, error) { + return resource.PropertyMap{}, resource.StatusUnknown, status.Error(codes.Unimplemented, "Update is not yet implemented") +} +func (p *UnimplementedProvider) Delete(urn resource.URN, id resource.ID, props resource.PropertyMap, timeout float64) (resource.Status, error) { + return resource.StatusUnknown, status.Error(codes.Unimplemented, "Delete is not yet implemented") +} +func (p *UnimplementedProvider) Construct(info ConstructInfo, typ tokens.Type, name tokens.QName, parent resource.URN, inputs resource.PropertyMap, options ConstructOptions) (ConstructResult, error) { + return ConstructResult{}, status.Error(codes.Unimplemented, "Construct is not yet implemented") +} +func (p *UnimplementedProvider) Invoke(tok tokens.ModuleMember, args resource.PropertyMap) (resource.PropertyMap, []CheckFailure, error) { + return resource.PropertyMap{}, nil, status.Error(codes.Unimplemented, "Invoke is not yet implemented") +} +func (p *UnimplementedProvider) StreamInvoke(tok tokens.ModuleMember, args resource.PropertyMap, onNext func(resource.PropertyMap) error) ([]CheckFailure, error) { + return nil, status.Error(codes.Unimplemented, "StreamInvoke is not yet implemented") +} +func (p *UnimplementedProvider) Call(tok tokens.ModuleMember, args resource.PropertyMap, info CallInfo, options CallOptions) (CallResult, error) { + return CallResult{}, status.Error(codes.Unimplemented, "Call is not yet implemented") +} +func (p *UnimplementedProvider) GetPluginInfo() (workspace.PluginInfo, error) { + return workspace.PluginInfo{}, status.Error(codes.Unimplemented, "GetPluginInfo is not yet implemented") +} +func (p *UnimplementedProvider) GetMapping(key string) ([]byte, string, error) { + return nil, "", status.Error(codes.Unimplemented, "GetMapping is not yet implemented") +} From f8486ee056743c9cc3ade4758472563e5aaaa278 Mon Sep 17 00:00:00 2001 From: Fraser Waters Date: Tue, 6 Dec 2022 13:02:52 +0000 Subject: [PATCH 36/36] Remove support for old NodeJS versions from function serializer --- ...e-for-out-of-suppport-nodejs-versions.yaml | 4 + sdk/nodejs/runtime/closure/v8.ts | 259 ++++++++++++++++- sdk/nodejs/runtime/closure/v8Hooks.ts | 14 - sdk/nodejs/runtime/closure/v8_v10andLower.ts | 169 ----------- sdk/nodejs/runtime/closure/v8_v11andHigher.ts | 265 ------------------ sdk/nodejs/tsconfig.json | 2 - 6 files changed, 251 insertions(+), 462 deletions(-) create mode 100644 changelog/pending/20221206--sdk-nodejs--remove-function-serialization-code-for-out-of-suppport-nodejs-versions.yaml delete mode 100644 sdk/nodejs/runtime/closure/v8_v10andLower.ts delete mode 100644 sdk/nodejs/runtime/closure/v8_v11andHigher.ts diff --git a/changelog/pending/20221206--sdk-nodejs--remove-function-serialization-code-for-out-of-suppport-nodejs-versions.yaml b/changelog/pending/20221206--sdk-nodejs--remove-function-serialization-code-for-out-of-suppport-nodejs-versions.yaml new file mode 100644 index 000000000000..c5b849eace19 --- /dev/null +++ b/changelog/pending/20221206--sdk-nodejs--remove-function-serialization-code-for-out-of-suppport-nodejs-versions.yaml @@ -0,0 +1,4 @@ +changes: +- type: chore + scope: sdk/nodejs + description: Remove function serialization code for out of suppport NodeJS versions. diff --git a/sdk/nodejs/runtime/closure/v8.ts b/sdk/nodejs/runtime/closure/v8.ts index cb52ac616368..3b5f831c81b0 100644 --- a/sdk/nodejs/runtime/closure/v8.ts +++ b/sdk/nodejs/runtime/closure/v8.ts @@ -22,14 +22,39 @@ import * as v8 from "v8"; v8.setFlagsFromString("--allow-natives-syntax"); +import * as inspector from "inspector"; +import * as util from "util"; +import * as vm from "vm"; import * as v8Hooks from "./v8Hooks"; -import * as v8_v10andLower from "./v8_v10andLower"; -import * as v8_v11andHigher from "./v8_v11andHigher"; +/** + * Given a function, returns the file, line and column number in the file where this function was + * defined. Returns { "", 0, 0 } if the location cannot be found or if the given function has no Script. + * @internal + */ +export async function getFunctionLocationAsync(func: Function) { + // First, find the runtime's internal id for this function. + const functionId = await getRuntimeIdForFunctionAsync(func); + + // Now, query for the internal properties the runtime sets up for it. + const { internalProperties } = await runtimeGetPropertiesAsync(functionId, /*ownProperties:*/ false); -// Node majorly changed their introspection apis between 10.0 and 11.0 (removing outright some -// of the APIs we use). Detect if we're before or after this change and delegate to the -const versionSpecificV8Module = v8Hooks.isNodeAtLeastV11 ? v8_v11andHigher : v8_v10andLower; + // There should normally be an internal property called [[FunctionLocation]]: + // https://chromium.googlesource.com/v8/v8.git/+/3f99afc93c9ba1ba5df19f123b93cc3079893c9b/src/inspector/v8-debugger.cc#793 + const functionLocation = internalProperties.find(p => p.name === "[[FunctionLocation]]"); + if (!functionLocation || !functionLocation.value || !functionLocation.value.value) { + return { file: "", line: 0, column: 0 }; + } + + const value = functionLocation.value.value; + + // Map from the scriptId the value has to a file-url. + const file = v8Hooks.getScriptUrl(value.scriptId) || ""; + const line = value.lineNumber || 0; + const column = value.columnNumber || 0; + + return { file, line, column }; +} /** * Given a function and a free variable name, lookupCapturedVariableValue looks up the value of that free variable @@ -42,11 +67,221 @@ const versionSpecificV8Module = v8Hooks.isNodeAtLeastV11 ? v8_v11andHigher : v8 * @returns The value of the free variable. If `throwOnFailure` is false, returns `undefined` if not found. * @internal */ -export const lookupCapturedVariableValueAsync = versionSpecificV8Module.lookupCapturedVariableValueAsync; +export async function lookupCapturedVariableValueAsync( + func: Function, freeVariable: string, throwOnFailure: boolean): Promise { -/** - * Given a function, returns the file, line and column number in the file where this function was - * defined. Returns { "", 0, 0 } if the location cannot be found or if the given function has no Script. - * @internal - */ -export const getFunctionLocationAsync = versionSpecificV8Module.getFunctionLocationAsync; + // First, find the runtime's internal id for this function. + const functionId = await getRuntimeIdForFunctionAsync(func); + + // Now, query for the internal properties the runtime sets up for it. + const { internalProperties } = await runtimeGetPropertiesAsync(functionId, /*ownProperties:*/ false); + + // There should normally be an internal property called [[Scopes]]: + // https://chromium.googlesource.com/v8/v8.git/+/3f99afc93c9ba1ba5df19f123b93cc3079893c9b/src/inspector/v8-debugger.cc#820 + const scopes = internalProperties.find(p => p.name === "[[Scopes]]"); + if (!scopes) { + throw new Error("Could not find [[Scopes]] property"); + } + + if (!scopes.value) { + throw new Error("[[Scopes]] property did not have [value]"); + } + + if (!scopes.value.objectId) { + throw new Error("[[Scopes]].value have objectId"); + } + + // This is sneaky, but we can actually map back from the [[Scopes]] object to a real in-memory + // v8 array-like value. Note: this isn't actually a real array. For example, it cannot be + // iterated. Nor can any actual methods be called on it. However, we can directly index into + // it, and we can. Similarly, the 'object' type it optionally points at is not a true JS + // object. So we can't call things like .hasOwnProperty on it. However, the values pointed to + // by 'object' are the real in-memory JS objects we are looking for. So we can find and return + // those successfully to our caller. + const scopesArray: { object?: Record }[] = await getValueForObjectId(scopes.value.objectId); + + // scopesArray is ordered from innermost to outermost. + for (let i = 0, n = scopesArray.length; i < n; i++) { + const scope = scopesArray[i]; + if (scope.object) { + if (freeVariable in scope.object) { + const val = scope.object[freeVariable]; + return val; + } + } + } + + if (throwOnFailure) { + throw new Error("Unexpected missing variable in closure environment: " + freeVariable); + } + + return undefined; +} + +// We want to call util.promisify on inspector.Session.post. However, due to all the overloads of +// that method, promisify gets confused. To prevent this, we cast our session object down to an +// interface containing only the single overload we care about. +type PostSession = { + post(method: TMethod, params?: TParams, callback?: (err: Error | null, params: TReturn) => void): void; +}; + +type EvaluationSession = PostSession<"Runtime.evaluate", inspector.Runtime.EvaluateParameterType, inspector.Runtime.EvaluateReturnType>; +type GetPropertiesSession = PostSession<"Runtime.getProperties", inspector.Runtime.GetPropertiesParameterType, inspector.Runtime.GetPropertiesReturnType>; +type CallFunctionSession = PostSession<"Runtime.callFunctionOn", inspector.Runtime.CallFunctionOnParameterType, inspector.Runtime.CallFunctionOnReturnType>; +type ContextSession = { + post(method: "Runtime.disable" | "Runtime.enable", callback?: (err: Error | null) => void): void; + once(event: "Runtime.executionContextCreated", listener: (message: inspector.InspectorNotification) => void): void; +}; + +type InflightContext = { + contextId: number; + functions: Record; + currentFunctionId: number; + calls: Record; + currentCallId: number; +}; +// Isolated singleton context accessible from the inspector. +// Used instead of `global` object to support executions with multiple V8 vm contexts as, e.g., done by Jest. +let inflightContextCache: Promise | undefined; +function inflightContext() { + if (inflightContextCache) { + return inflightContextCache; + } + inflightContextCache = createContext(); + return inflightContextCache; +} +async function createContext(): Promise { + const context: InflightContext = { + contextId: 0, + functions: {}, + currentFunctionId: 0, + calls: {}, + currentCallId: 0, + }; + const session = await v8Hooks.getSessionAsync(); + const post = util.promisify(session.post); + + // Create own context with known context id and functionsContext as `global` + await post.call(session, "Runtime.enable"); + const contextIdAsync = new Promise(resolve => { + session.once("Runtime.executionContextCreated", event => { + resolve(event.params.context.id); + }); + }); + vm.createContext(context); + context.contextId = await contextIdAsync; + await post.call(session, "Runtime.disable"); + + return context; +} + +async function getRuntimeIdForFunctionAsync(func: Function): Promise { + // In order to get information about an object, we need to put it in a well known location so + // that we can call Runtime.evaluate and find it. To do this, we use a special map on the + // 'global' object of a vm context only used for this purpose, and map from a unique-id to that + // object. We then call Runtime.evaluate with an expression that then points to that unique-id + // in that global object. The runtime will then find the object and give us back an internal id + // for it. We can then query for information about the object through that internal id. + // + // Note: the reason for the mapping object and the unique-id we create is so that we don't run + // into any issues when being called asynchronously. We don't want to place the object in a + // location that might be overwritten by another call while we're asynchronously waiting for our + // original call to complete. + + const session = await v8Hooks.getSessionAsync(); + const post = util.promisify(session.post); + + // Place the function in a unique location + const context = await inflightContext(); + const currentFunctionName = "id" + context.currentFunctionId++; + context.functions[currentFunctionName] = func; + const contextId = context.contextId; + const expression = `functions.${currentFunctionName}`; + + try { + const retType = await post.call(session, "Runtime.evaluate", { contextId, expression }); + + if (retType.exceptionDetails) { + throw new Error(`Error calling "Runtime.evaluate(${expression})" on context ${contextId}: ` + retType.exceptionDetails.text); + } + + const remoteObject = retType.result; + if (remoteObject.type !== "function") { + throw new Error("Remote object was not 'function': " + JSON.stringify(remoteObject)); + } + + if (!remoteObject.objectId) { + throw new Error("Remote function does not have 'objectId': " + JSON.stringify(remoteObject)); + } + + return remoteObject.objectId; + } + finally { + delete context.functions[currentFunctionName]; + } +} + +async function runtimeGetPropertiesAsync( + objectId: inspector.Runtime.RemoteObjectId, + ownProperties: boolean | undefined) { + const session = await v8Hooks.getSessionAsync(); + const post = util.promisify(session.post); + + // This cast will become unnecessary when we move to TS 3.1.6 or above. In that version they + // support typesafe '.call' calls. + const retType = await post.call( + session, "Runtime.getProperties", { objectId, ownProperties }); + + if (retType.exceptionDetails) { + throw new Error(`Error calling "Runtime.getProperties(${objectId}, ${ownProperties})": ` + + retType.exceptionDetails.text); + } + + return { internalProperties: retType.internalProperties || [], properties: retType.result }; +} + +async function getValueForObjectId(objectId: inspector.Runtime.RemoteObjectId): Promise { + // In order to get the raw JS value for the *remote wrapper* of the [[Scopes]] array, we use + // Runtime.callFunctionOn on it passing in a fresh function-declaration. The Node runtime will + // then compile that function, invoking it with the 'real' underlying scopes-array value in + // memory as the bound 'this' value. Inside that function declaration, we can then access + // 'this' and assign it to a unique-id in a well known mapping table we have set up. As above, + // the unique-id is to prevent any issues with multiple in-flight asynchronous calls. + + const session = await v8Hooks.getSessionAsync(); + const post = util.promisify(session.post); + const context = await inflightContext(); + + // Get an id for an unused location in the global table. + const tableId = "id" + context.currentCallId++; + + // Now, ask the runtime to call a fictitious method on the scopes-array object. When it + // does, it will get the actual underlying value for the scopes array and bind it to the + // 'this' value inside the function. Inside the function we then just grab 'this' and + // stash it in our global table. After this completes, we'll then have access to it. + + // This cast will become unnecessary when we move to TS 3.1.6 or above. In that version they + // support typesafe '.call' calls. + const retType = await post.call( + session, "Runtime.callFunctionOn", { + objectId, + functionDeclaration: `function () { + calls["${tableId}"] = this; + }`, + }); + + if (retType.exceptionDetails) { + throw new Error(`Error calling "Runtime.callFunction(${objectId})": ` + + retType.exceptionDetails.text); + } + + if (!context.calls.hasOwnProperty(tableId)) { + throw new Error(`Value was not stored into table after calling "Runtime.callFunctionOn(${objectId})"`); + } + + // Extract value and clear our table entry. + const val = context.calls[tableId]; + delete context.calls[tableId]; + + return val; +} diff --git a/sdk/nodejs/runtime/closure/v8Hooks.ts b/sdk/nodejs/runtime/closure/v8Hooks.ts index c7194997e69f..f4c9e5358f49 100644 --- a/sdk/nodejs/runtime/closure/v8Hooks.ts +++ b/sdk/nodejs/runtime/closure/v8Hooks.ts @@ -20,22 +20,12 @@ import * as v8 from "v8"; v8.setFlagsFromString("--allow-natives-syntax"); -import * as semver from "semver"; - -// On node11 and above, create an 'inspector session' that can be used to keep track of what is -// happening through a supported API. Pre-11 we can just call into % intrinsics for the same data. -/** @internal */ -export const isNodeAtLeastV11 = semver.gte(process.version, "11.0.0"); - let session: Promise | undefined = undefined; function getSession() { if (session !== undefined) { return session; } - if (!isNodeAtLeastV11) { - return Promise.resolve(undefined); - } session = createInspectorSessionAsync(); return session; } @@ -69,10 +59,6 @@ async function createInspectorSessionAsync(): Promise; -} - -/** @internal */ -export async function getFunctionLocationAsync(func: Function) { - const script = getScript(func); - const { line, column } = getLineColumn(); - - return { file: script ? script.name : "", line, column }; - - function getLineColumn() { - if (script) { - const pos = getSourcePosition(func); - - try { - if (isNodeAtLeastV10) { - return scriptPositionInfo(script, pos); - } else { - return script.locationFromPosition(pos); - } - } catch (err) { - // Be resilient to native functions not being available. In this case, we just return - // '0,0'. That's not great, but it at least lets us run, and it isn't a terrible - // experience. - // - // Specifically, we only need these locations when we're printing out an error about not - // being able to serialize something. In that case, we still print out the names of the - // functions (as well as the call-tree that got us there), *and* we print out the body - // of the function. With both of these, it is generally not too difficult to find out - // where the code actually lives. - } - } - - return { line: 0, column: 0 }; - } -} - -function getScript(func: Function): V8Script | undefined { - // The use of the Function constructor here and elsewhere in this file is because - // because V8 intrinsics are not valid JavaScript identifiers; they all begin with '%', - // which means that the TypeScript compiler issues errors for them. - const scriptFunc = new Function("func", "return %FunctionGetScript(func);") as any; - return scriptFunc(func); -} - - -// The second intrinsic is `FunctionGetScriptSourcePosition`, which does about what you'd -// expect. It returns a `V8SourcePosition`, which can be passed to `V8Script::locationFromPosition` -// to produce a `V8SourceLocation`. -const getSourcePosition: (func: Function) => V8SourcePosition = - new Function("func", "return %FunctionGetScriptSourcePosition(func);") as any; - -function scriptPositionInfo(script: V8Script, pos: V8SourcePosition): {line: number; column: number} { - if (isNodeAtLeastV10) { - const scriptPositionInfoFunc = - new Function("script", "pos", "return %ScriptPositionInfo(script, pos, false);") as any; - - return scriptPositionInfoFunc(script, pos); - } - - // Should not be called if running on Node<10.0.0. - return undefined; -} - -/** @internal */ -export async function lookupCapturedVariableValueAsync( - func: Function, freeVariable: string, throwOnFailure: boolean): Promise { - - // The implementation of this function is now very straightforward since the intrinsics do all of the - // difficult work. - const count = getFunctionScopeCount(func); - for (let i = 0; i < count; i++) { - const scope = getScopeForFunction(func, i); - if (freeVariable in scope.scopeObject) { - return scope.scopeObject[freeVariable]; - } - } - - if (throwOnFailure) { - throw new Error("Unexpected missing variable in closure environment: " + freeVariable); - } - - return undefined; -} - -// The last two intrinsics are `GetFunctionScopeCount` and `GetFunctionScopeDetails`. -// The former function returns the number of scopes in a given function's scope chain, while -// the latter function returns the i'th entry in a function's scope chain, given a function and -// index i. -function getFunctionScopeDetails(func: Function, index: number): any[] { - const getFunctionScopeDetailsFunc = - new Function("func", "index", "return %GetFunctionScopeDetails(func, index);") as any; - - return getFunctionScopeDetailsFunc(func, index); -} - -function getFunctionScopeCount(func: Function): number { - const getFunctionScopeCountFunc = new Function("func", "return %GetFunctionScopeCount(func);") as any; - return getFunctionScopeCountFunc(func); -} - -// getScopeForFunction extracts a V8ScopeDetails for the index'th element in the scope chain for the -// given function. -function getScopeForFunction(func: Function, index: number): V8ScopeDetails { - const scopeDetails = getFunctionScopeDetails(func, index); - return { - scopeObject: scopeDetails[V8ScopeDetailsFields.kScopeDetailsObjectIndex] as Record, - }; -} - -// All of these functions contain syntax that is not legal TS/JS (i.e. "%Whatever"). As such, -// we cannot serialize them. In case they somehow get captured, just block them from closure -// serialization entirely. -(getScript).doNotCapture = true; -(getSourcePosition).doNotCapture = true; -(getFunctionScopeDetails).doNotCapture = true; -(getFunctionScopeCount).doNotCapture = true; diff --git a/sdk/nodejs/runtime/closure/v8_v11andHigher.ts b/sdk/nodejs/runtime/closure/v8_v11andHigher.ts deleted file mode 100644 index 5da13e4ec818..000000000000 --- a/sdk/nodejs/runtime/closure/v8_v11andHigher.ts +++ /dev/null @@ -1,265 +0,0 @@ -// Copyright 2016-2018, Pulumi Corporation. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -/* eslint-disable max-len */ - -import * as inspector from "inspector"; -import * as util from "util"; -import * as vm from "vm"; -import * as v8Hooks from "./v8Hooks"; - -/** @internal */ -export async function getFunctionLocationAsync(func: Function) { - // First, find the runtime's internal id for this function. - const functionId = await getRuntimeIdForFunctionAsync(func); - - // Now, query for the internal properties the runtime sets up for it. - const { internalProperties } = await runtimeGetPropertiesAsync(functionId, /*ownProperties:*/ false); - - // There should normally be an internal property called [[FunctionLocation]]: - // https://chromium.googlesource.com/v8/v8.git/+/3f99afc93c9ba1ba5df19f123b93cc3079893c9b/src/inspector/v8-debugger.cc#793 - const functionLocation = internalProperties.find(p => p.name === "[[FunctionLocation]]"); - if (!functionLocation || !functionLocation.value || !functionLocation.value.value) { - return { file: "", line: 0, column: 0 }; - } - - const value = functionLocation.value.value; - - // Map from the scriptId the value has to a file-url. - const file = v8Hooks.getScriptUrl(value.scriptId) || ""; - const line = value.lineNumber || 0; - const column = value.columnNumber || 0; - - return { file, line, column }; -} - -/** @internal */ -export async function lookupCapturedVariableValueAsync( - func: Function, freeVariable: string, throwOnFailure: boolean): Promise { - - // First, find the runtime's internal id for this function. - const functionId = await getRuntimeIdForFunctionAsync(func); - - // Now, query for the internal properties the runtime sets up for it. - const { internalProperties } = await runtimeGetPropertiesAsync(functionId, /*ownProperties:*/ false); - - // There should normally be an internal property called [[Scopes]]: - // https://chromium.googlesource.com/v8/v8.git/+/3f99afc93c9ba1ba5df19f123b93cc3079893c9b/src/inspector/v8-debugger.cc#820 - const scopes = internalProperties.find(p => p.name === "[[Scopes]]"); - if (!scopes) { - throw new Error("Could not find [[Scopes]] property"); - } - - if (!scopes.value) { - throw new Error("[[Scopes]] property did not have [value]"); - } - - if (!scopes.value.objectId) { - throw new Error("[[Scopes]].value have objectId"); - } - - // This is sneaky, but we can actually map back from the [[Scopes]] object to a real in-memory - // v8 array-like value. Note: this isn't actually a real array. For example, it cannot be - // iterated. Nor can any actual methods be called on it. However, we can directly index into - // it, and we can. Similarly, the 'object' type it optionally points at is not a true JS - // object. So we can't call things like .hasOwnProperty on it. However, the values pointed to - // by 'object' are the real in-memory JS objects we are looking for. So we can find and return - // those successfully to our caller. - const scopesArray: { object?: Record }[] = await getValueForObjectId(scopes.value.objectId); - - // scopesArray is ordered from innermost to outermost. - for (let i = 0, n = scopesArray.length; i < n; i++) { - const scope = scopesArray[i]; - if (scope.object) { - if (freeVariable in scope.object) { - const val = scope.object[freeVariable]; - return val; - } - } - } - - if (throwOnFailure) { - throw new Error("Unexpected missing variable in closure environment: " + freeVariable); - } - - return undefined; -} - -// We want to call util.promisify on inspector.Session.post. However, due to all the overloads of -// that method, promisify gets confused. To prevent this, we cast our session object down to an -// interface containing only the single overload we care about. -type PostSession = { - post(method: TMethod, params?: TParams, callback?: (err: Error | null, params: TReturn) => void): void; -}; - -type EvaluationSession = PostSession<"Runtime.evaluate", inspector.Runtime.EvaluateParameterType, inspector.Runtime.EvaluateReturnType>; -type GetPropertiesSession = PostSession<"Runtime.getProperties", inspector.Runtime.GetPropertiesParameterType, inspector.Runtime.GetPropertiesReturnType>; -type CallFunctionSession = PostSession<"Runtime.callFunctionOn", inspector.Runtime.CallFunctionOnParameterType, inspector.Runtime.CallFunctionOnReturnType>; -type ContextSession = { - post(method: "Runtime.disable" | "Runtime.enable", callback?: (err: Error | null) => void): void; - once(event: "Runtime.executionContextCreated", listener: (message: inspector.InspectorNotification) => void): void; -}; - -type InflightContext = { - contextId: number; - functions: Record; - currentFunctionId: number; - calls: Record; - currentCallId: number; -}; -// Isolated singleton context accessible from the inspector. -// Used instead of `global` object to support executions with multiple V8 vm contexts as, e.g., done by Jest. -let inflightContextCache: Promise | undefined; -function inflightContext() { - if (inflightContextCache) { - return inflightContextCache; - } - inflightContextCache = createContext(); - return inflightContextCache; -} -async function createContext(): Promise { - const context: InflightContext = { - contextId: 0, - functions: {}, - currentFunctionId: 0, - calls: {}, - currentCallId: 0, - }; - const session = await v8Hooks.getSessionAsync(); - const post = util.promisify(session.post); - - // Create own context with known context id and functionsContext as `global` - await post.call(session, "Runtime.enable"); - const contextIdAsync = new Promise(resolve => { - session.once("Runtime.executionContextCreated", event => { - resolve(event.params.context.id); - }); - }); - vm.createContext(context); - context.contextId = await contextIdAsync; - await post.call(session, "Runtime.disable"); - - return context; -} - -async function getRuntimeIdForFunctionAsync(func: Function): Promise { - // In order to get information about an object, we need to put it in a well known location so - // that we can call Runtime.evaluate and find it. To do this, we use a special map on the - // 'global' object of a vm context only used for this purpose, and map from a unique-id to that - // object. We then call Runtime.evaluate with an expression that then points to that unique-id - // in that global object. The runtime will then find the object and give us back an internal id - // for it. We can then query for information about the object through that internal id. - // - // Note: the reason for the mapping object and the unique-id we create is so that we don't run - // into any issues when being called asynchronously. We don't want to place the object in a - // location that might be overwritten by another call while we're asynchronously waiting for our - // original call to complete. - - const session = await v8Hooks.getSessionAsync(); - const post = util.promisify(session.post); - - // Place the function in a unique location - const context = await inflightContext(); - const currentFunctionName = "id" + context.currentFunctionId++; - context.functions[currentFunctionName] = func; - const contextId = context.contextId; - const expression = `functions.${currentFunctionName}`; - - try { - const retType = await post.call(session, "Runtime.evaluate", { contextId, expression }); - - if (retType.exceptionDetails) { - throw new Error(`Error calling "Runtime.evaluate(${expression})" on context ${contextId}: ` + retType.exceptionDetails.text); - } - - const remoteObject = retType.result; - if (remoteObject.type !== "function") { - throw new Error("Remote object was not 'function': " + JSON.stringify(remoteObject)); - } - - if (!remoteObject.objectId) { - throw new Error("Remote function does not have 'objectId': " + JSON.stringify(remoteObject)); - } - - return remoteObject.objectId; - } - finally { - delete context.functions[currentFunctionName]; - } -} - -async function runtimeGetPropertiesAsync( - objectId: inspector.Runtime.RemoteObjectId, - ownProperties: boolean | undefined) { - const session = await v8Hooks.getSessionAsync(); - const post = util.promisify(session.post); - - // This cast will become unnecessary when we move to TS 3.1.6 or above. In that version they - // support typesafe '.call' calls. - const retType = await post.call( - session, "Runtime.getProperties", { objectId, ownProperties }); - - if (retType.exceptionDetails) { - throw new Error(`Error calling "Runtime.getProperties(${objectId}, ${ownProperties})": ` - + retType.exceptionDetails.text); - } - - return { internalProperties: retType.internalProperties || [], properties: retType.result }; -} - -async function getValueForObjectId(objectId: inspector.Runtime.RemoteObjectId): Promise { - // In order to get the raw JS value for the *remote wrapper* of the [[Scopes]] array, we use - // Runtime.callFunctionOn on it passing in a fresh function-declaration. The Node runtime will - // then compile that function, invoking it with the 'real' underlying scopes-array value in - // memory as the bound 'this' value. Inside that function declaration, we can then access - // 'this' and assign it to a unique-id in a well known mapping table we have set up. As above, - // the unique-id is to prevent any issues with multiple in-flight asynchronous calls. - - const session = await v8Hooks.getSessionAsync(); - const post = util.promisify(session.post); - const context = await inflightContext(); - - // Get an id for an unused location in the global table. - const tableId = "id" + context.currentCallId++; - - // Now, ask the runtime to call a fictitious method on the scopes-array object. When it - // does, it will get the actual underlying value for the scopes array and bind it to the - // 'this' value inside the function. Inside the function we then just grab 'this' and - // stash it in our global table. After this completes, we'll then have access to it. - - // This cast will become unnecessary when we move to TS 3.1.6 or above. In that version they - // support typesafe '.call' calls. - const retType = await post.call( - session, "Runtime.callFunctionOn", { - objectId, - functionDeclaration: `function () { - calls["${tableId}"] = this; - }`, - }); - - if (retType.exceptionDetails) { - throw new Error(`Error calling "Runtime.callFunction(${objectId})": ` - + retType.exceptionDetails.text); - } - - if (!context.calls.hasOwnProperty(tableId)) { - throw new Error(`Value was not stored into table after calling "Runtime.callFunctionOn(${objectId})"`); - } - - // Extract value and clear our table entry. - const val = context.calls[tableId]; - delete context.calls[tableId]; - - return val; -} diff --git a/sdk/nodejs/tsconfig.json b/sdk/nodejs/tsconfig.json index 70aa28fdb76d..6e596411597e 100644 --- a/sdk/nodejs/tsconfig.json +++ b/sdk/nodejs/tsconfig.json @@ -52,8 +52,6 @@ "runtime/closure/serializeClosure.ts", "runtime/closure/utils.ts", "runtime/closure/v8.ts", - "runtime/closure/v8_v10andLower.ts", - "runtime/closure/v8_v11andHigher.ts", "runtime/asyncIterableUtil.ts", "runtime/config.ts",